-
Notifications
You must be signed in to change notification settings - Fork 228
Open
Description
Feature Request
Problem
When Claude is actively working on a task (reading files, editing code, running commands), the user cannot send additional context, corrections, or notes until the current operation completes.
Claude Code CLI natively supports this — you can type messages while Claude is working and it picks them up. However, the Telegram bot currently blocks input during active tasks, requiring fully sequential interaction.
Proposed Solution
Allow users to send messages while Claude is processing a request. These messages could either:
- Queue & append — Collect follow-up messages and feed them to Claude as additional context when the current turn ends (simplest approach)
- Live inject — Pass the message to the active Claude session in real-time, similar to how the CLI works (ideal but more complex)
- Hybrid — Let short messages queue, but support a prefix like
!or/noteto inject immediately
Use Cases
- User realizes they forgot to mention a constraint → sends "also make sure to handle null values"
- User wants to redirect Claude mid-task → "actually, use TypeScript instead"
- User wants to add context → "the config file is at /etc/app/config.yaml"
- User spots Claude going in wrong direction → "stop, that's the wrong file"
Related PRs
- feat: add /stop command to cancel running Claude calls #116 (
/stopcommand) — covers cancellation but not appending context - feat: add inline Stop button to cancel running Claude requests with native Telegram UI #122 (inline Stop button) — same, cancel only
- feat: stream partial responses via Telegram sendMessageDraft API #123 (streaming responses) — shows progress but no input during task
- Enable concurrent processing of messages across topics #102 (concurrent processing across topics) — parallel topics, not mid-task input
Environment
Using claude-code-telegram v1.3.0 inside a Docker container (linuxserver/code-server) with Claude Code CLI.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels