Skip to content

Commit 25039d6

Browse files
committed
docs(readme): move interaction rules to features section
1 parent 9fd7d82 commit 25039d6

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Quick start: `npx @grinev/opencode-telegram-bot`
2727
- **Interactive Q&A** — answer agent questions and approve permissions via inline buttons
2828
- **Voice prompts** — send voice/audio messages, transcribe them via a Whisper-compatible API, then forward recognized text to OpenCode
2929
- **Context control** — compact context when it gets too large, right from the chat
30+
- **Input flow control** — when an interactive flow is active, the bot accepts only relevant input to keep context consistent and avoid accidental actions
3031
- **Security** — strict user ID whitelist; no one else can access your bot, even if they find it
3132
- **Localization** — English and Russian UI (`BOT_LOCALE=en|ru`)
3233

@@ -105,14 +106,6 @@ opencode-telegram config
105106

106107
Any regular text message is sent as a prompt to the coding agent only when no blocking interaction is active. Voice/audio messages are transcribed and then sent as prompts when STT is configured.
107108

108-
### Interaction Rules
109-
110-
- Only one interactive flow can be active at a time (inline menus, permission request, question flow, rename)
111-
- While an interaction is active, the bot accepts only relevant input for that flow and blocks unrelated actions
112-
- Allowed utility commands remain available during active interactions: `/help`, `/status`, `/stop`
113-
- Unknown slash commands return an explicit fallback message instead of being silently ignored
114-
- Interaction flows do not expire automatically and wait until explicit completion (`answer`, `cancel`, `/stop`, or reset/cleanup)
115-
116109
> `/opencode_start` and `/opencode_stop` are intended as emergency commands — for example, if you need to restart a stuck server while away from your computer. Under normal usage, start `opencode serve` yourself before launching the bot.
117110
118111
## Configuration

0 commit comments

Comments
 (0)