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 /note to 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
Environment
Using claude-code-telegram v1.3.0 inside a Docker container (linuxserver/code-server) with Claude Code CLI.