telecoder 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/.env.example +142 -130
  2. package/CHANGELOG.md +683 -2
  3. package/README.md +36 -32
  4. package/dist/audio/transcribe.js +0 -9
  5. package/dist/bin/mcp-server.js +46 -61
  6. package/dist/bot/bot.js +162 -181
  7. package/dist/bot/command-catalog.js +263 -0
  8. package/dist/bot/deleted-threads.js +103 -0
  9. package/dist/bot/file-access.js +35 -26
  10. package/dist/bot/handlers/album.handler.js +128 -0
  11. package/dist/bot/handlers/{fork.handler.js → branch.handler.js} +267 -280
  12. package/dist/bot/handlers/command/access.js +1 -1
  13. package/dist/bot/handlers/command/admin.js +86 -110
  14. package/dist/bot/handlers/command/all-view.js +33 -0
  15. package/dist/bot/handlers/command/auto-approve.js +3 -3
  16. package/dist/bot/handlers/command/background.js +37 -0
  17. package/dist/bot/handlers/command/botname.js +76 -0
  18. package/dist/bot/handlers/command/btw.js +20 -69
  19. package/dist/bot/handlers/command/cleanup.js +329 -0
  20. package/dist/bot/handlers/command/model.js +40 -119
  21. package/dist/bot/handlers/command/prefs-scope.js +255 -90
  22. package/dist/bot/handlers/command/project.js +31 -109
  23. package/dist/bot/handlers/command/resume.js +8 -4
  24. package/dist/bot/handlers/command/session.js +74 -213
  25. package/dist/bot/handlers/command/settings.js +92 -447
  26. package/dist/bot/handlers/command/shared.js +32 -35
  27. package/dist/bot/handlers/command/tasks.js +263 -95
  28. package/dist/bot/handlers/command/thread.js +128 -0
  29. package/dist/bot/handlers/command/topic-store.js +14 -53
  30. package/dist/bot/handlers/command/topic.js +8 -61
  31. package/dist/bot/handlers/command/{cost.js → usage.js} +32 -59
  32. package/dist/bot/handlers/command-fallback.js +179 -0
  33. package/dist/bot/handlers/command.handler.js +96 -422
  34. package/dist/bot/handlers/{schedule.handler.js → loop.handler.js} +159 -73
  35. package/dist/bot/handlers/media-fallback.js +12 -7
  36. package/dist/bot/handlers/message/replies.js +10 -87
  37. package/dist/bot/handlers/message/shared.js +9 -31
  38. package/dist/bot/handlers/message/turn-notify.js +15 -49
  39. package/dist/bot/handlers/message/turn-runner.js +18 -103
  40. package/dist/bot/handlers/message.handler.js +59 -52
  41. package/dist/bot/handlers/newbot.handler.js +13 -4
  42. package/dist/bot/handlers/photo.handler.js +88 -129
  43. package/dist/bot/handlers/prompts.handler.js +11 -11
  44. package/dist/bot/handlers/running-note.js +2 -2
  45. package/dist/bot/handlers/session-guard.js +4 -4
  46. package/dist/bot/handlers/suggestion.handler.js +2 -2
  47. package/dist/bot/handlers/tree.handler.js +20 -20
  48. package/dist/bot/handlers/voice.handler.js +23 -85
  49. package/dist/bot/kept-threads.js +51 -0
  50. package/dist/bot/middleware/album-collector.js +69 -0
  51. package/dist/bot/middleware/auth.middleware.js +1 -1
  52. package/dist/bot/middleware/group-mention.middleware.js +11 -5
  53. package/dist/bot/middleware/queued-messages.js +143 -32
  54. package/dist/bot/middleware/stale-filter.js +0 -22
  55. package/dist/build-info.json +5 -5
  56. package/dist/claude/ask-user-form.js +517 -0
  57. package/dist/claude/ask-user.js +94 -26
  58. package/dist/claude/auto-topic-haiku.js +17 -0
  59. package/dist/claude/available-commands.js +22 -19
  60. package/dist/claude/background-hint.js +91 -0
  61. package/dist/claude/{fork-tree.js → branch-tree.js} +9 -9
  62. package/dist/claude/carry-over.js +0 -2
  63. package/dist/claude/ccr-shim.js +12 -10
  64. package/dist/claude/claude-auth.js +6 -10
  65. package/dist/claude/command-parser.js +49 -43
  66. package/dist/claude/cost-overlay-scraper.js +7 -2
  67. package/dist/claude/effort-level.js +5 -0
  68. package/dist/claude/enabled-plugins.js +12 -16
  69. package/dist/claude/in-flight-tracker.js +21 -0
  70. package/dist/claude/mcp-bridge.js +86 -58
  71. package/dist/claude/memory-guard.js +400 -0
  72. package/dist/claude/message-offsets.js +5 -5
  73. package/dist/claude/modal-relay.js +401 -34
  74. package/dist/claude/model-catalog.js +20 -3
  75. package/dist/claude/monitor-relay.js +130 -15
  76. package/dist/claude/native-commands.js +40 -0
  77. package/dist/claude/{pending-forks.js → pending-branches.js} +26 -26
  78. package/dist/claude/permission-gate.js +11 -10
  79. package/dist/claude/permission-mode.js +19 -45
  80. package/dist/claude/prewarm.js +70 -0
  81. package/dist/claude/pty-idle-reaper.js +96 -0
  82. package/dist/claude/pty-provider.js +473 -188
  83. package/dist/claude/pty-spawn-config.js +79 -32
  84. package/dist/claude/pty-watch.js +201 -0
  85. package/dist/claude/request-queue.js +7 -35
  86. package/dist/claude/rewind.js +111 -0
  87. package/dist/claude/scheduled-runner.js +1 -3
  88. package/dist/claude/scheduler.js +6 -2
  89. package/dist/claude/scope-guard.js +8 -3
  90. package/dist/claude/screen-marks.js +83 -0
  91. package/dist/claude/screen-render.js +96 -0
  92. package/dist/claude/session-history.js +4 -2
  93. package/dist/claude/session-jsonl.js +162 -15
  94. package/dist/claude/session-manager.js +29 -8
  95. package/dist/claude/session-move.js +70 -0
  96. package/dist/claude/shell-mode-gate.js +60 -0
  97. package/dist/claude/side-question.js +20 -17
  98. package/dist/claude/stage-images.js +5 -5
  99. package/dist/claude/tasks-overlay-scraper.js +143 -20
  100. package/dist/claude/thread-judge-haiku.js +88 -0
  101. package/dist/claude/tip-scraper.js +3 -4
  102. package/dist/claude/tui-modal.js +272 -27
  103. package/dist/claude/tui-state.js +74 -2
  104. package/dist/claude/turn-end.js +15 -1
  105. package/dist/claude/turn-prose.js +1 -1
  106. package/dist/claude/typed-answer.js +104 -0
  107. package/dist/claude/update-banner-relay.js +1 -1
  108. package/dist/cli/commands/doctor.js +48 -15
  109. package/dist/cli/commands/help.js +11 -2
  110. package/dist/cli/commands/init.js +16 -13
  111. package/dist/cli/commands/service.js +40 -8
  112. package/dist/cli/commands/start.js +10 -0
  113. package/dist/cli/commands/watch.js +322 -0
  114. package/dist/cli/dispatch.js +5 -0
  115. package/dist/cli/init/env-file.js +1 -1
  116. package/dist/cli/init/flow.js +114 -47
  117. package/dist/cli/init/prompter.js +8 -0
  118. package/dist/cli/init/telegram.js +35 -9
  119. package/dist/cli/service/render.js +3 -3
  120. package/dist/config.js +156 -131
  121. package/dist/index.js +107 -31
  122. package/dist/launcher.js +34 -7
  123. package/dist/providers/ccr-introspect.js +1 -8
  124. package/dist/providers/ccr-provider.js +19 -20
  125. package/dist/providers/claude-provider.js +4 -57
  126. package/dist/providers/prefs-sync.js +16 -59
  127. package/dist/providers/provider-router.js +24 -23
  128. package/dist/providers/spawn-settings.js +45 -0
  129. package/dist/providers/user-preferences.js +127 -19
  130. package/dist/restart-when-idle.js +27 -7
  131. package/dist/startup/auto-continue.js +2 -2
  132. package/dist/startup/auto-resume.js +3 -15
  133. package/dist/startup/notices.js +1 -1
  134. package/dist/startup/verify-token.js +4 -4
  135. package/dist/telegram/action-logger.js +3 -165
  136. package/dist/telegram/background-activity-card.js +1 -1
  137. package/dist/telegram/botname-settings.js +71 -125
  138. package/dist/telegram/client-options.js +6 -7
  139. package/dist/telegram/force-reply-tracker.js +55 -16
  140. package/dist/telegram/message-sender.js +92 -360
  141. package/dist/telegram/prompt-label.js +11 -5
  142. package/dist/telegram/streaming-turn.js +5 -7
  143. package/dist/telegram/table-lists.js +56 -0
  144. package/dist/telegram/task-list.js +4 -4
  145. package/dist/telegram/task-tracker.js +45 -126
  146. package/dist/telegram/terminal-renderer.js +1 -5
  147. package/dist/telegram/thread-titles.js +74 -2
  148. package/dist/telegram/threads-setup.js +1 -1
  149. package/dist/utils/admins.js +2 -2
  150. package/dist/utils/bot-icon.js +248 -0
  151. package/dist/utils/bot-token.js +8 -5
  152. package/dist/utils/build-info.js +3 -3
  153. package/dist/utils/caffeinate.js +6 -3
  154. package/dist/utils/claude-env.js +0 -1
  155. package/dist/utils/claude-version.js +2 -2
  156. package/dist/utils/config-home.js +3 -3
  157. package/dist/utils/download.js +41 -15
  158. package/dist/utils/exit-codes.js +11 -0
  159. package/dist/utils/format.js +3 -6
  160. package/dist/utils/home-project.js +1 -1
  161. package/dist/utils/idle-restart.js +1 -1
  162. package/dist/utils/install-mode.js +1 -1
  163. package/dist/utils/instance-config.js +1 -1
  164. package/dist/utils/instances.js +1 -1
  165. package/dist/utils/keyed-settings.js +2 -2
  166. package/dist/utils/memory-pressure.js +60 -0
  167. package/dist/utils/npm-version.js +2 -2
  168. package/dist/utils/resolve-claude-bin.js +13 -24
  169. package/dist/utils/respawn-backoff.js +9 -0
  170. package/dist/utils/stale-launcher.js +1 -1
  171. package/dist/utils/systemd.js +8 -8
  172. package/dist/utils/telegram-proxy.js +72 -0
  173. package/dist/utils/uploads-dir.js +27 -0
  174. package/dist/utils/verbosity.js +8 -8
  175. package/dist/utils/version-check.js +5 -5
  176. package/package.json +3 -4
  177. package/dist/bot/handlers/command/media.js +0 -197
  178. package/dist/bot/handlers/command/streaming-mode.js +0 -16
  179. package/dist/bot/handlers/message/throttle.js +0 -49
  180. package/dist/claude/agent-watchdog.js +0 -162
  181. package/dist/claude/agent.js +0 -1458
  182. package/dist/claude/held-query.js +0 -190
  183. package/dist/claude/mcp-tools.js +0 -354
  184. package/dist/claude/sdk-permission-gate.js +0 -77
  185. package/dist/claude/session-cost.js +0 -41
  186. package/dist/claude/system-prompt.js +0 -162
  187. package/dist/providers/sdk-provider.js +0 -37
  188. package/dist/telegram/telegraph-settings.js +0 -31
  189. package/dist/telegram/telegraph.js +0 -453
  190. package/dist/telegram/terminal-settings.js +0 -25
  191. package/dist/tts/tts-settings.js +0 -62
  192. package/dist/tts/tts.js +0 -245
  193. package/dist/tts/voice-reply.js +0 -78
  194. package/dist/utils/debug-agent.js +0 -117
  195. package/dist/utils/debug-watchdog.js +0 -121
  196. package/dist/utils/project-data-dir.js +0 -33
  197. package/dist/utils/reasoning-summary.js +0 -12
package/CHANGELOG.md CHANGED
@@ -5,6 +5,683 @@ reasoning — the commit bodies are the long form, this is the index.
5
5
 
6
6
  ## Unreleased
7
7
 
8
+ ## [1.3.0] — 2026-12-01
9
+
10
+ Upgrading from 1.2.0: several commands have new names, listed under *Changed*,
11
+ and the old names are gone. Every chat now runs Claude Code in a terminal, so
12
+ the SDK settings no longer do anything. A `.env` that still sets a removed
13
+ setting gets a line at startup saying it can go.
14
+
15
+ ### Added
16
+
17
+ - **`/ctrlb` is Claude Code's Ctrl+B.** In a terminal, Ctrl+B moves the shell
18
+ command or subagent a turn is waiting on to the background, so the turn
19
+ carries on while it runs. A chat had no such key: a slow test run held the
20
+ turn until it ended or ran into the ten-minute cap. `/ctrlb` presses the
21
+ key. The status line offers it for as long as Claude Code's own screen
22
+ shows *ctrl+b to run in background*, and the bot presses only then, and the
23
+ key the screen names. The command then shows in `/tasks` like any other
24
+ background task, dated from when it started.
25
+
26
+ - **Dialogs with tabs can be used.** Claude Code's `/permissions` keeps its
27
+ allow, ask and deny rules on a tab each, and `/status`, `/config` and
28
+ `/usage` are tabs of one settings dialog. The relay had no way along the
29
+ tabs, and `/permissions` opened with a single button, Esc. Each tab now has
30
+ a button. Which tab is open is drawn in colour only, so the bot reads how
31
+ the screen is drawn as well as what it says. The footer's `↓ to select`,
32
+ the way from the tabs into the list, is a button too. A tab that names no
33
+ keys at all, like Stats, is read as a dialog by its tabs, which are the way
34
+ back out of it.
35
+
36
+ - **`/cc <command>` runs Claude Code's own command** where the bot has one of
37
+ the same name. The bot's `/model` and `/usage` answer first, and nothing
38
+ could reach Claude Code's: `/cc model`, `/cc usage`. `/projectcommands`
39
+ points to it under the names it shadows.
40
+
41
+ - **`/rewind` works from the chat.** Claude Code's own command to go back to
42
+ an earlier prompt and restore the conversation, the files Claude edited
43
+ since, or both. Its dialog reached the chat before, but could not be used:
44
+ each prompt in its list takes two lines and was read as two rows, so the
45
+ walk to a prompt ended on another one and was refused, and its fifth choice
46
+ was never offered. Both screens are read as drawn now. The bot says what was
47
+ restored, since the command prints nothing, and takes the prompt Claude Code
48
+ hands back out of the input box, where the next message would have been
49
+ typed onto the end of it. Turns taken back no longer show in `/recap` and
50
+ `/prompts`. `/rewind` is in the `/` menu.
51
+
52
+ - **A dialog that takes text takes a message.** The relay only had buttons,
53
+ so `/add-dir` without a path, `/export`'s file name and the search in
54
+ `/config` could be opened and not used. A message sent while such a dialog
55
+ is open is typed into its field, in place of what the field holds, and the
56
+ dialog comes back as it then stands for a tap to commit. At a permission
57
+ prompt a message is the note that goes with No, Claude Code's *No, and tell
58
+ Claude what to do differently*. It never goes to Yes.
59
+
60
+ - **A list that shows a window of its rows can be scrolled.** `/rewind` draws
61
+ five of its six choices and marks the edge with a bare arrow. Such a list
62
+ now gets its edge row and a scroll button that brings in the next one.
63
+
64
+ - **Files sent together reach Claude as one message.** Telegram delivers
65
+ files picked together one message each, with the caption on just one, so
66
+ each became a turn of its own: an answer per file, none knowing about the
67
+ others, and all but one without the caption. The bot now gathers the parts
68
+ of an album and sends them as one prompt, images attached and the rest named
69
+ for Read. A part it can't take, such as a video, is listed and the rest
70
+ still go.
71
+
72
+ - **`telecoder watch` shows the live Claude Code screen behind a chat.** Each
73
+ chat has a real `claude` in a pty, whose screen existed only inside the
74
+ bot. Now the bot serves it read-only on an owner-only socket in
75
+ `~/.telecoder/watch`, and `telecoder watch` shows it in your terminal as it
76
+ changes. `--list` lists the sessions; `PTY_WATCH=false` turns it off.
77
+
78
+ - **Claude Code starts when the conversation is chosen, not on the first
79
+ message.** The first message after `/project`, `/clear` or `/resume` used to
80
+ wait for Claude Code to start, a few seconds and more for a long resumed
81
+ conversation. The bot now starts it as those commands finish, and the
82
+ message finds it ready or waits out only what is left. When memory is under
83
+ the guard's floor the early start is skipped: nothing is ended for it and
84
+ nobody is asked. A new session id is recorded with the first message, as
85
+ before, so an early start nobody uses leaves nothing behind and is ended by
86
+ the idle timeout. `PREWARM_CLAUDE=false` turns it off.
87
+
88
+ - **A new bot gets the TeleCoder icon.** `telecoder init` gives it to a bot
89
+ that has no profile picture yet, without asking, and a bot made with
90
+ `/newbot` starts with it. A plain letter on a coloured disc is hard to tell
91
+ from the next bot's. `--icon` replaces a picture the bot has; `--no-icon`
92
+ leaves it alone. A picture that's already there is never replaced unasked.
93
+
94
+ - **Your own Claude Code setup comes along on a bot without guests.** Claude
95
+ in Telegram knew the project and what the bot handed it, and nothing of the
96
+ account it runs as: no `~/.claude` (`CLAUDE.md`, skills, commands, agents,
97
+ `settings.json`), none of your MCP servers or a project's `.mcp.json`, no
98
+ plugin servers and no claude.ai connectors. `CLAUDE_PLUGINS` and
99
+ `EXTRA_MCP_CONFIG` brought single pieces back. Now the Claude of your
100
+ terminal is the one in Telegram. On a bot with guests the setup stays out
101
+ as before, since a guest would otherwise work with your instructions and
102
+ with connectors signed in as you; admitting a first guest takes it out from
103
+ each conversation's next message. `CLAUDE_USER_SETUP` is `auto` by default,
104
+ and `on` or `off` force it. `CLAUDE_PLUGINS` and `EXTRA_MCP_CONFIG` stay,
105
+ for a bot where the setup stays out or for something only the bot should
106
+ have.
107
+
108
+ - **`/model` and `/effort` reach one thread, new threads, a whole chat, or
109
+ everywhere.** A `/model` in a thread pinned only that thread, and "apply to
110
+ all bots" set a chat-wide value that every thread with a pin of its own kept
111
+ shadowing, so switching back meant `/model opus` in each of them. A choice
112
+ now has four levels, as a word at the end or a button on the confirmation:
113
+ nothing for this thread only, `new` for this thread and new threads in the
114
+ chat, `chat` for every thread in the chat, and `all` for every chat on every
115
+ bot (admins only). A wider level clears the narrower choices under it. A
116
+ thread with a conversation open switches on its next message, and one in
117
+ the middle of a reply when the reply is done. A bare `/model fable` sets
118
+ only the thread it is typed in, in the All view too, where Telegram opens a
119
+ new thread for it. The picker and `/status` say where the value comes from.
120
+
121
+ - **A set-aside message can be sent sooner.** The notice under a message set
122
+ aside with `/later`, or with Ask me after, had only Take back, so changing
123
+ your mind before the question came meant taking it back and typing it again.
124
+ It now has ⚡ Interrupt & send while a turn runs, which stops the turn and
125
+ sends the message in its place as `/steer` does, and 📤 Send now while
126
+ nothing runs.
127
+
128
+ - **A memory guard before a message starts a new `claude`.** Every chat keeps
129
+ its own `claude`, a few hundred MB each, and on a machine already in swap
130
+ the one that starts next can take it down. A message that would start a new
131
+ one now reads the kernel's available memory first. Under the floor
132
+ (`MEMORY_GUARD_MIN_AVAILABLE_MB`), claudes idle for five minutes
133
+ (`MEMORY_GUARD_REAP_IDLE_MS`) are ended, which costs their chats a few
134
+ seconds of resume. Only when that still leaves too little is the chat
135
+ asked: start anyway, end the longest-idle claude first, or drop the
136
+ message. A message to a running claude never asks, and `0` turns the guard
137
+ off. `/botstatus` shows the machine's available memory and swap, and how
138
+ many claudes are running.
139
+
140
+ - **`/commands <words>` searches the commands, and a mistyped command gets
141
+ "did you mean" buttons.** Telegram's `/` menu only matches the start of a
142
+ name, so `/kill` found nothing and neither did `/task`. `/commands kill`
143
+ searches names and descriptions. A slash command the bot doesn't have used
144
+ to go to Claude as a prompt; now, when it is a typo or a prefix of a bot
145
+ command and Claude Code's own command list doesn't know it either, the
146
+ likely commands come back as buttons, and a tap runs the one you meant with
147
+ the arguments as typed.
148
+
149
+ - **`/tasks` shows a background task's output.** Claude Code's `/tasks` lets
150
+ you open a task and read what it has printed so far; TeleCoder's showed
151
+ only its details. A task now has 📄 Output, which opens that view in the
152
+ chat's Claude Code and relays its status, runtime, command and output. The
153
+ 🔎 Ask claude list has a button per row that does the same, so work the bot
154
+ never saw start (a shell Claude backgrounded itself, anything from before a
155
+ restart) can be read too.
156
+
157
+ - **Several questions arrive as one form.** Each question Claude asked through
158
+ `telecoder_ask_user` was a message of its own, and a tap on it was final.
159
+ Related questions (two to four) now come as one message, as Claude Code's
160
+ own question dialog does it: a tap records the answer and moves to the next
161
+ question, a numbered row goes back to any of them to change it, and nothing
162
+ reaches Claude until you tap Submit.
163
+
164
+ - **`/deletethread`, and threads deleted by hand are let go.** Telegram tells
165
+ a bot nothing when a thread is deleted, so a deleted thread's session lived
166
+ on: its `claude` ran until the next restart, and a turn still working sent
167
+ its replies nowhere. `/deletethread` deletes the thread it's sent in with
168
+ all its messages and ends its session, mid-turn too; the conversation stays
169
+ in `/resume`. A thread deleted from Telegram's own menu is let go the first
170
+ time a send into it fails. One deleted while idle sends nothing, so an idle
171
+ `claude` is now ended after an hour (`CLAUDE_PTY_IDLE_TIMEOUT_MS`) and
172
+ resumes on the next message, never while a turn, background task or
173
+ background shell runs.
174
+
175
+ ### Changed
176
+
177
+ - **Claude Code's interactive-only commands get past the typo fallback.**
178
+ The fallback took a name for a typo when Claude Code's headless command list
179
+ lacked it, and that list leaves out interactive-only commands and every
180
+ alias: `/export` got "did you mean /effort", `/hooks` `/loops`, `/theme`
181
+ `/tree`, `/skills` `/shells`, `/rc` `/cc`. The bot now knows Claude Code's
182
+ own command names and lets them through, and the "did you mean" reply has a
183
+ last button that sends the command to Claude Code as typed, for a name it
184
+ doesn't know yet.
185
+
186
+ - **Claude Code's `/cd` works from the chat, and the bot follows it.** `/cd`
187
+ moves the conversation to another directory, transcript and all. The bot
188
+ kept the old one: the typo fallback took `/cd` for `/cc`, and after a move
189
+ `/branch`, `/history`, `/tree` and `/resend` read the transcript where it
190
+ no longer was, and the next restart of Claude resumed in the old directory.
191
+ Now `/cd` reaches Claude Code, and its CwdChanged hook moves the bot's
192
+ record of the conversation, the live Claude's, the background relay's and
193
+ the thread's name with it, once the transcript is in its new place.
194
+
195
+ - **`/schedule` is `/loop`, Claude Code's name for it**, and reads its input the
196
+ way Claude Code's `/loop` does: `/loop 5m <prompt>` or `/loop <prompt> every
197
+ 20m`, run once at once and then on the interval. Times of day and raw cron
198
+ still work and wait until due. `/loops` lists the loops with a button to
199
+ stop each, in place of `/schedules` and `/unschedule`; `/proactive` is
200
+ Claude Code's alias. A `/loop` without an interval, where Claude Code lets
201
+ Claude pick when to run again, says how to give one: that runs on a tool
202
+ the bot blocks, since its runs fire inside `claude` and never reach the
203
+ chat.
204
+
205
+ - **`/clear` starts the new conversation at once**, as Claude Code's does,
206
+ instead of asking first and warning that it can't be undone: the previous
207
+ conversation stays in `/resume`, and the ↩️ button under the reply goes back
208
+ to it. `/clear <name>` starts it under that topic, as Claude Code's
209
+ `/clear <name>` names the new session, and `/branch <name>` names a branch
210
+ the same way. `-y` is accepted and ignored.
211
+
212
+ - **Claude Code's aliases reach the bot's command too**, as `/cost` already
213
+ did for `/usage`: `/stats` is `/usage`, `/reset` and `/new` are `/clear`,
214
+ `/continue` is `/resume`, `/undo` and `/checkpoint` are `/rewind`, and
215
+ `/bashes` is `/tasks`. Before, they went to Claude Code past the bot, so
216
+ `/new` skipped what the bot's `/clear` does: the topic, the thread's name
217
+ and the ↩️ button back.
218
+
219
+ - **The line under each reply is the footer**, in the bot's words as in its
220
+ command: its `/footer` menu, the agent's topic tool and the docs no longer
221
+ call it the status line, which is Claude Code's name for something else.
222
+ The live message during a turn is the live status message.
223
+
224
+ - **Commands were renamed, so that a Claude Code name means in the chat what
225
+ it means in Claude Code.** Ten bot commands had a name Claude Code uses for
226
+ something else, which kept Claude Code's own out of reach except through
227
+ `/cc`. They have new names: `/status` is `/info`, `/permissions` is `/gate`,
228
+ `/fork` is `/branch`, `/schedule` is `/loop`, `/project` is `/dir`, `/recap`
229
+ is `/history`, `/statusline` is `/footer`, `/version` is `/botversion`,
230
+ `/update` is `/botupdate`, and `/stop` is gone as an alias of `/cancel`. The
231
+ bot keeps a Claude Code name only where its command does the same thing, as
232
+ `/model`, `/clear`, `/resume` and `/tasks` do. `/usage` is one of those now,
233
+ beside `/cost`, which is Claude Code's alias for it. The old names are
234
+ Claude Code's now: `/status` opens its settings dialog, and a habitual
235
+ `/fork` or `/schedule` starts an agent there.
236
+
237
+ - **Related commands start alike**, so that Telegram's `/` menu, which filters
238
+ on the start of a name, lists a family at once: `/botrestart`, `/botrebuild`,
239
+ `/botversion` and `/botupdate` join `/botstatus` and `/botname`;
240
+ `/threaddelete`, `/threadcleanup` and `/threadkeep`; `/loop` and `/loops`;
241
+ `/branch`, `/branchaccept` and `/branchdecline`. `/sync`
242
+ is `/resend`, and `/ping` is no longer an alias of `/botstatus`. The old
243
+ names are gone: `/restartbot`, `/rebuildbot`, `/deletethread`, `/cleanup`,
244
+ `/keep`, `/accept`, `/decline`, `/schedules`, `/unschedule`, `/sync` and
245
+ `/ping`. Entries below this one use the names of their time.
246
+
247
+ - **A copy of a conversation is a branch, not a fork.** Claude Code calls it
248
+ that, and its `/fork` now starts a background agent. The button under every
249
+ reply is `🌱 Branch`, a waiting message has `🌱 Ask in a branch`, and the
250
+ bot's messages, the docs and the guide (now *Threads and branches*) say
251
+ branch throughout. New branch threads are named with 🌱 in front; threads
252
+ made before keep their 🍴.
253
+
254
+ - **Buttons from before the renaming no longer work.** What a button sends
255
+ back was still named after the old commands (`fork:`, `statusline:`,
256
+ `restartbot:`…), so that buttons already in a chat kept working. It follows
257
+ the commands now, and so do the code and its file names. A button on a
258
+ message from before this build that belongs to a renamed command (Branch
259
+ under an old reply, Ask in a branch, an open `/footer`, `/dir`,
260
+ `/botrestart`, `/botrebuild`, `/botupdate`, `/threaddelete` or
261
+ `/threadcleanup` menu) answers *This button is from before an update and no
262
+ longer works*, as does any button nothing recognises, which used to leave
263
+ the tap spinning. A branch sent to another bot and not accepted yet has to
264
+ be sent again. Two paths kept only for older buttons went with it: the
265
+ thread choice of branch pickers from before threads were the default, and
266
+ the single *apply to all bots* button of early model and effort messages.
267
+
268
+ - **`/teleport` is `/terminal` now.** Claude Code has a `/teleport` of its
269
+ own (alias `/tp`): send the session to the cloud, or resume one from
270
+ claude.ai. The bot's command of that name is older, a Claudegram one, and
271
+ does something else: it gives the `claude --resume … --fork-session` line
272
+ to carry on in a terminal. A bot command wins over Claude Code's of the
273
+ same name, so Claude Code's could not be reached from a chat. The bot's is
274
+ now `/terminal`, still admin-only, and `/teleport` goes to Claude Code like
275
+ any other of its commands.
276
+
277
+ - **`/context` is Claude Code's own.** It used to be a report the bot built
278
+ itself, a Claudegram feature: token counts and dollars from the last reply,
279
+ or, with none cached, a second `claude -p /context` on a fork of the
280
+ session, without the chat's MCP tools or settings, whose output the bot no
281
+ longer parsed. Now `/context` goes to the chat's Claude Code like `/compact`
282
+ does, and the reply is the report it gives in a terminal: what fills the
283
+ context window by category (system prompt, tools, MCP, memory files,
284
+ skills, messages, free space), then the MCP tools and skills, each table
285
+ one line per row. Like any prompt it waits for a running turn; the status
286
+ line under every reply still shows how full the context is.
287
+
288
+ - **`TERMINAL_UI_VERBOSE` is now `FULL_TOOL_INPUTS`.** The old name dates from
289
+ `/terminalui`, which is gone; what the setting still does is show a tool's
290
+ full input (the whole Bash command, the full path) in the live status
291
+ message. The old name keeps working, and a startup line says to rename it.
292
+ `.env.example` no longer claims it lengthens session-restore previews, which
293
+ it hasn't done for a while.
294
+
295
+ - **`/ping` is `/botstatus` now.** Claudegram's `/ping` answered "🏓 Pong!" and
296
+ an uptime, which `/botstatus` already shows next to the version, memory and
297
+ Claude processes, and both answer mid-turn.
298
+
299
+ - **On macOS the screen can sleep while the bot runs.** The bot ran
300
+ `caffeinate -di` from its first day, a habit from running Claudegram on a
301
+ laptop: `-i` keeps the Mac from idle-sleeping, which the bot needs, and
302
+ `-d` kept the display lit as well for as long as the bot ran, which it
303
+ doesn't. It now runs `caffeinate -i -w <pid>`, so caffeinate also ends with
304
+ the bot rather than outliving a crash.
305
+
306
+ - **The wizard says what the background service will be before asking.** The
307
+ question at the end of `telecoder init` used to name only the command. It now
308
+ says what `telecoder service install` would set up on this machine first: a
309
+ systemd user service, and that it will ask about lingering (or that lingering
310
+ is already on), or a LaunchAgent on macOS. Where it can't install one, on a
311
+ platform without systemd or launchd or where `systemctl --user` can't be
312
+ reached, it says why instead of asking a question that would end in an error.
313
+
314
+ - **A voice note without a Groq key says how to turn transcription on.**
315
+ Declining voice in `telecoder init` is the common answer. A voice note or
316
+ `/transcribe` then got a "Transcribing..." ack followed by a raw
317
+ "GROQ_API_KEY not configured" error. Now it says where to get a key and
318
+ how to add it: run `telecoder init` again, which keeps the other answers,
319
+ or put it in the .env file and `/restartbot`. The wizard's voice question
320
+ is worded as optional and says it can be turned on later.
321
+
322
+ - **Files you send are saved under `~/.telecoder/uploads/`, not in the project.**
323
+ A photo sent in a chat used to land in `<project>/.telecoder/uploads/`, leaving
324
+ a folder in every project someone had sent a picture to, with a `.gitignore`
325
+ of its own to keep the pictures out of commits. They now go to
326
+ `~/.telecoder/uploads/<project name>/`, and Claude gets the path as before.
327
+ It is the one part of `~/.telecoder` the scope guard lets Claude read without
328
+ asking, since what's in it is yours, not the bot's. Nothing is written to a
329
+ project any more.
330
+
331
+ - **The memory guard's question can wait for room.** When memory is tight and
332
+ reaping the idle claudes isn't enough, the chat used to have three answers:
333
+ start anyway, end the longest-idle claude, or drop the message — and letting
334
+ it sit dropped it. Two more now: **Check again** reaps and reads the machine
335
+ again, and re-asks over the same message with the fresh numbers when it still
336
+ doesn't fit; **Wait for room** does that every 30 s and starts Claude the
337
+ moment it fits, with start anyway and drop still under the message meanwhile.
338
+ What a wait is really waiting for is the other claudes to cross the reap
339
+ window, so a claude that was busy when the question went up is ended as soon
340
+ as it has sat idle long enough. A wait that runs out asks again instead of
341
+ dropping: the chat said it wanted that message.
342
+
343
+ - **The memory guard counts the claude it just let through.** A new `claude`
344
+ takes its memory over its first seconds, and MemAvailable doesn't move until
345
+ it does, so two threads started together both read the same figure and both
346
+ passed. Every spawn the guard lets through now counts as a few hundred MB
347
+ spent for half a minute. The floor is `auto` by default, a quarter of RAM
348
+ with a 1 GB minimum: with 1 GB left, an 8 GB box is usually deep in swap
349
+ already. `MEMORY_GUARD_MAX_SWAP_USED_MB` can make heavy swap use a trigger
350
+ too; it's off by default because swap stays full long after the squeeze.
351
+
352
+ - **CCR runs in the pty.** A chat on Claude Code Router took the Agent SDK
353
+ path whatever its `/method`, so the PTY-only features stayed behind on it.
354
+ The pty now spawns CCR's wrapper around the same `claude`, so everything
355
+ carries over. A session still never crosses backends: the pty refuses to
356
+ resume one the other backend minted and starts fresh.
357
+
358
+ - **The status line is on by default**, with its topic line. Project, effort,
359
+ model, context and cost show nowhere else in Telegram, and a new user
360
+ doesn't know `/statusline`. It's sent silently now: the reply above it
361
+ already rang the phone. `STATUS_LINE_DEFAULT=false` restores the old
362
+ default; the last-prompts and `claude --resume` lines stay opt-in.
363
+
364
+ - **`/status` shows what a Telegram user acts on**: bot, project, topic,
365
+ effort, model, provider, context, cost and last activity. The
366
+ session id is one tap away under `/statusline`'s "Show session", and the
367
+ bot's uptime is `/botstatus`'s. Created, Working Directory and Uptime are
368
+ gone from it.
369
+
370
+ - **`/status` names the effort and model that served the last reply, and who
371
+ picked them.** "Effort: Default" and "Model: Claude Code default" said only
372
+ that the chat had set neither, not what the reply ran with. Both are now
373
+ read from the session log, so `/status` says "High (Claude Code's default)"
374
+ or credits `/effort` and `/model` when the chat chose. Before the first
375
+ reply it says the pair is known after it. The model no longer shows as a
376
+ placeholder after a bot restart, and the status line under each reply shows
377
+ the logged effort in place of "Auto".
378
+
379
+ - **`/botname` renames the bot, and the name no longer follows the project.**
380
+ The display name used to be rebuilt as "name — project" on every project
381
+ switch, resume and topic reset. Telegram throttles renames so hard that one
382
+ could be refused and dropped, leaving the wrong project showing for hours,
383
+ and the project is in the status line and the thread names anyway.
384
+ `/botname <name>` (admins only) now sets a fixed name, kept per bot, that
385
+ wins over `BOT_NAME`. A rename Telegram refuses is reported with the
386
+ cooldown left and sent again when it ends. `/botname reset` goes back to
387
+ `BOT_NAME`, and `/botname` alone shows the name Telegram has.
388
+ `DYNAMIC_BOT_NAME` is gone.
389
+
390
+ - **The turn log says a backgrounded shell is running.** A command Claude
391
+ started in the background returns at once with no output, and the live log
392
+ drops an empty result, so it looked like a command that finished with
393
+ nothing to say. One moved to the background at the foreground time limit
394
+ looked finished with whatever it had printed so far. Both now get the line
395
+ Claude Code's own tool row shows, "Running in the background", pointing at
396
+ `/tasks` for the output so far.
397
+
398
+ - **`/rebuildbot idle` also waits for background shells, topic naming and
399
+ thread renames.** Its idea of "nothing left to finish" was turns, queued
400
+ messages, self-started turns and background tasks. A shell command Claude
401
+ left running, the Haiku call naming a turn's topic and a thread rename
402
+ waiting out Telegram's cooldown slipped past it, and a restart over the
403
+ last two left the thread under its old name. Each now holds the restart and
404
+ is named in the tally.
405
+
406
+ - **An answer to a ForceReply prompt is routed by the prompt's id**, not by
407
+ phrases in its text ("Set Project Directory", "Download File", "Transcribe
408
+ Audio") that had to stay in step with the handlers. The tracker that already
409
+ knew which messages were prompts, for the group mention gate, now also knows
410
+ which flow each opened. An answer to a prompt from before a restart goes to
411
+ Claude as a message; re-open the prompt.
412
+
413
+ ### Removed
414
+
415
+ - **`/provider`.** It opened a picker of backends, from Claudegram's days of
416
+ several. Two are left, Claude and CCR, and `/ccr` already switches a chat
417
+ between them in one tap, with the same confirmation before a live session is
418
+ left behind and the same summary carried over. `/ccr` is now the one switch,
419
+ and `/status` shows which backend a chat is on. Without `CCR_ENABLED` a typed
420
+ `/provider` used to be dropped without a reply; it now goes to Claude Code
421
+ like any other command the bot doesn't own.
422
+
423
+ - **`CANCEL_ON_NEW_MESSAGE`.** Claudegram's switch to have every new message
424
+ stop the running turn. In Claude Code a message sent mid-turn waits its
425
+ turn, and TeleCoder already has the per-message choice: `/steer`, or
426
+ ⚡ Interrupt & send on a waiting message. A `.env` that still turns it on
427
+ gets a line at startup.
428
+
429
+ - **Settings that did nothing.** `AGENT_WATCHDOG_ENABLED`,
430
+ `AGENT_WATCHDOG_WARN_SECONDS`, `AGENT_WATCHDOG_LOG_SECONDS`,
431
+ `AGENT_QUERY_TIMEOUT_MS`, `AGENT_SILENCE_TIMEOUT_MS`,
432
+ `AGENT_STALE_TOOL_TIMEOUT_MS` and `CLAUDE_REASONING_SUMMARY` were read only
433
+ by the SDK transport, and `STREAMING_DEBOUNCE_MS` by nothing since February,
434
+ yet all of them were still parsed and still in `.env.example`. A startup
435
+ line names any that are still set. Gone with them is the step that cut a
436
+ trailing "Reasoning Summary" off every reply: only Claudegram's SDK prompt
437
+ asked for one, so all it could still do was cut a reply that really ended
438
+ with that heading.
439
+
440
+ - **Spoken replies (`/tts`) and `/transcribe`.** Both came from Claudegram
441
+ and stand in for nothing Claude Code does: `/tts` read each reply aloud
442
+ through Groq Orpheus or OpenAI, and `/transcribe` turned audio into text
443
+ without Claude ever seeing it. Voice notes still become prompts, which is
444
+ the phone's way of typing. An audio file now gets a reply saying to record
445
+ a voice note instead. Gone with them: the `openai` dependency, `ffmpeg` on
446
+ the service's `PATH`, `TTS_ENABLED` and the other `TTS_*` settings,
447
+ `OPENAI_API_KEY` and `TRANSCRIBE_FILE_THRESHOLD_CHARS` (a startup line says
448
+ so while they are still in `.env`).
449
+
450
+ - **`/handoff`.** It wrote the conversation to a markdown file in the project and
451
+ sent it as a document. Claude Code's own `/export` does the same from the pty,
452
+ `/terminal` carries a session to a terminal, and `/fork` and `/spinoff` carry
453
+ it to another chat. It was also the last thing that wrote to a project's
454
+ `.telecoder/` folder.
455
+
456
+ - **The SDK transport.** Every chat runs Claude Code in a pty now: the real
457
+ `claude` CLI, on your own login, with your `CLAUDE.md`, skills, plugins and
458
+ slash commands. The Agent SDK path was Claudegram's custom agent with a
459
+ system prompt of its own, it lagged the pty on every feature (`/shells`,
460
+ task output, `/btw` without a running turn, scheduled prompts, the live
461
+ screen), and Anthropic's SDK terms do not allow third-party products to
462
+ offer claude.ai login on it. The SDK stays only for the one-shot Haiku
463
+ side calls. Gone with it: `/method`, `telecoder init`'s transport question
464
+ and `--transport`, `CLAUDE_METHOD_DEFAULT`, `CLAUDE_SDK_LOG_LEVEL` and
465
+ `CLAUDE_SDK_LOAD_USER_SETTINGS` (a startup line says so while they are
466
+ still in `.env`), `/cost`'s per-turn tally (the live session's totals
467
+ replace it), and the one-tap "switch to CCR and retry" offer on a Max
468
+ throttle with `CCR_AUTO_PROMPT_ON_THROTTLE` — it read the error off the
469
+ SDK's result, which the pty never sees; `/ccr` is the switch. `/mode`'s
470
+ default is `auto` everywhere, Claude Code's own.
471
+
472
+ - **The `/file` prompt.** Sent bare, `/file` posted a "Download File" card
473
+ with eight guessed-at files and waited for a reply. Nobody browses a project
474
+ that way when Claude can send the file by name; `/file <path>` stays, for a
475
+ file you know while Claude is busy, and bare `/file` says how to use it.
476
+
477
+ - **`/terminalui` and `TERMINAL_UI_DEFAULT`.** The "classic" mode it switched
478
+ to was Claudegram's: a bare "Thinking…" bubble and Telegram's "typing…"
479
+ indicator, with no sign of what Claude was doing. Every turn now has the
480
+ live status line, and `/verbosity` sets how much it shows. The typing
481
+ indicator, which Telegram Desktop animates on the CPU for the whole turn, is
482
+ gone with it. `TERMINAL_UI_VERBOSE` stays: it is a verbosity override.
483
+
484
+ - **`/newproject`.** Making a folder under the workspace is file management,
485
+ not Claude Code: ask Claude to create the project, or `mkdir` it, and open it
486
+ with `/project`. `/newbot` says so too for a project folder that isn't there.
487
+
488
+ - **Claudegram's agent modes, session list and process controls.** TeleCoder
489
+ is for the real Claude Code experience in Telegram, and these came over from
490
+ the fork it started as, each standing in for something Claude Code now does
491
+ itself. `/plan`, `/explore` and `/loop` wrapped the prompt — a pasted
492
+ "PLAN MODE — STRICT" directive, an "Explore the codebase and answer:"
493
+ prefix, a re-prompt until Claude said "DONE" (`MAX_LOOP_ITERATIONS`) — where
494
+ `/mode plan` is Claude Code's own plan mode and Claude Code works until a
495
+ task is done; its `/loop` skill reaches it now that the bot no longer
496
+ shadows the name. `/sessions` and `/continue` listed and resumed the bot's
497
+ own session history, which `/resume` covers with Claude Code's real list; the
498
+ ▶️ Continue button under a restart notice still works. `/streaming` and
499
+ `STREAMING_MODE=wait` held a whole reply back until the turn ended, which the
500
+ status line and the action log were never written for: replies stream.
501
+ `DANGEROUS_MODE`, Claudegram's auto-approve-all, only ever moved the SDK
502
+ transport's default; `/mode` and `/autoapprove` are the controls, and
503
+ `/status` and `/botstatus` lose the rows that reported these. `BOT_MODE` and
504
+ `scripts/telecoder-botctl.sh` were its dev/prod process control: a checkout
505
+ runs under pm2 or systemd, which restart the bot when it exits, and
506
+ `/restartbot` in a terminal says so instead. A `.env` that still sets one
507
+ of the settings gets one line at startup.
508
+
509
+ - **Telegraph.** With `TELEGRAPH_ENABLED=true`, every reply over 2,500
510
+ characters, every `/handoff` note and every closed action log was also
511
+ published to telegra.ph as a public, undeletable Instant View page, and
512
+ Claude was told to write for Telegraph's renderer. The idea came over from
513
+ Claudegram; it was off by default since 1.2.0, and the reply it duplicated
514
+ already arrives in the chat in full. The `/telegraph` command and its
515
+ per-chat toggle, `/telegraph <path>`, the `telecoder_publish_telegraph`
516
+ agent tool, the `--telegraph` init flags and the setting are gone. The
517
+ action log stays in the chat, drawn one last time when the turn ends. A
518
+ `.env` that still sets `TELEGRAPH_ENABLED` gets one line at startup saying
519
+ so.
520
+
521
+ ### Fixed
522
+
523
+ - **A row past the first in `/config` can be tapped.** The dialog opens with
524
+ its keys in the search box and the list's cursor resting, drawn grey, and
525
+ the first ↓ moves to the list without moving down it. The walk to a row was
526
+ counted from the cursor and stopped one short, so every row but the first
527
+ was refused. The bot now sees that the list is resting and gives it the keys
528
+ first.
529
+
530
+ - **A search typed into `/config` after a row was picked is typed into the
531
+ search box.** Picking a row leaves the keys on the list, where Space means
532
+ "change this setting". The bot presses `/` first, as the footer says to.
533
+
534
+ - **`/memory` offers all four of its rows.** It draws a cursor on its
535
+ Auto-memory switch and another on its list, one of them grey, and read as
536
+ text that was two cursors: one row was offered.
537
+
538
+ - **A command sent by its alias goes through.** `/allowed-tools`, `/undo`,
539
+ `/routines` and the like were refused with "Claude Code's input box didn't
540
+ take your message". The menu under the box shows the command's own name,
541
+ `/permissions (allowed-tools)`, and its marked row was read as the box.
542
+
543
+ - **`/config` can be sent again, and so can any command with a long menu of
544
+ matches.** While a slash command is typed, Claude Code draws the commands it
545
+ could mean under the input box, in the footer's place. With plugins that
546
+ add commands of similar names the menu ran to ten rows, which put the box
547
+ above the rows the bot reads to check its text arrived. Every attempt was
548
+ reported as "Claude Code's input box didn't take your message". The box is
549
+ now found above a menu of that shape, and above nothing else.
550
+
551
+ - **A turn Claude seemed to have started itself no longer holds a bot up for
552
+ good.** Such a turn opens on a record in the session log and only a record
553
+ closes it, so one opened by mistake stayed open until the bot restarted:
554
+ `/rebuildbot idle` waited on it ("answering a background task"), the idle
555
+ reaper kept its claude running, and a message could wait behind it. Once
556
+ Claude has sat at its prompt for two minutes, doing nothing and with its
557
+ log still, the turn now counts as over, and anything it wrote goes out.
558
+
559
+ - **A bot starting up during a Telegram outage is no longer killed over and
560
+ over.** Under the launcher, a bot only began telling it "still alive" once
561
+ it had finished starting, and on Telegram errors startup can take longer
562
+ than the 90 seconds the launcher waits. The launcher then took the bot for
563
+ stuck and force-stopped it, every two minutes until Telegram recovered,
564
+ each time cutting off its Claude sessions. Bots now send that signal from
565
+ their first second, and a restart asked for during startup is a clean exit.
566
+
567
+ - **A pause in the middle of a reply no longer ends the turn.** Claude can
568
+ stop for a second or two while writing an answer, with no spinner on
569
+ screen, and the bot took that for the end. It sent an empty "Done" a
570
+ moment before Claude finished, and the answer never reached the chat.
571
+ Without Claude's Stop signal, a turn now ends only once the session log
572
+ shows it over, or after 15 seconds of quiet when that signal was lost.
573
+
574
+ - **A task's details in `/tasks` no longer say "Status: running" and
575
+ "Backgrounded: yes".** The list holds the tasks still running in the
576
+ background and nothing else, so both lines said the same for every task.
577
+ The view starts with when the task began.
578
+
579
+ - **`telecoder init` and `telecoder doctor --live` reach Telegram through the
580
+ proxy.** Both asked Telegram about the bot token directly, whatever
581
+ `TELEGRAM_PROXY_URL` or `HTTPS_PROXY` said. On a network that blocks
582
+ Telegram, which is what the proxy is for, the wizard stopped at the token
583
+ and the check reported Telegram as unreachable. Both now go through the
584
+ proxy the bot would use, and say so. A proxy the wizard finds in your
585
+ shell's environment is written to the `.env` as `TELEGRAM_PROXY_URL`,
586
+ because a service starts the bot without that environment. Without a proxy,
587
+ a failure to reach Telegram now names the setting.
588
+
589
+ - **Files sent to the bot come through the proxy too.** With
590
+ `TELEGRAM_PROXY_URL` set, or `HTTPS_PROXY` in the environment, the bot
591
+ reached Telegram's API through the proxy but downloaded a photo, a document
592
+ or a voice note directly. On a network that blocks Telegram, which is what
593
+ the proxy is for, every upload failed. The download now goes through the
594
+ same proxy.
595
+
596
+ - **The `/` menu and `/verbosity` no longer speak of a second transport.**
597
+ `/shells` was listed as "(PTY mode)" and the debug tier as reserved for
598
+ "SDK internals", from when a chat could run on the Agent SDK instead of in
599
+ a pty. Every chat runs in a pty now, so both are gone. So are "the terminal
600
+ mode" in what `telecoder doctor` says when node-pty doesn't load, and "PTY
601
+ chat" in the configuration reference and `.env.example`.
602
+
603
+ - **The "Context Compacted" notice no longer suggests `/handoff`.** The
604
+ command was removed, but the notice sent when Claude Code compacts a
605
+ conversation by itself still ended with a tip to run it first.
606
+
607
+ - **The proxy hint no longer suggests a SOCKS proxy.** When the bot can't
608
+ reach Telegram at startup it suggests `TELEGRAM_PROXY_URL`, and gave
609
+ `socks5://127.0.0.1:1080` as the example. The bot connects through an HTTP
610
+ or HTTPS proxy only, so that value could never work. The hint now names an
611
+ HTTP proxy, and the setting is in the configuration reference.
612
+
613
+ - **The status line no longer ends in `💰 $0.00`.** The cost in the status
614
+ line, in the verbose usage footer and on a "Session Cost" line in `/status`
615
+ was a figure the SDK transport read off each reply. Claude Code writes no
616
+ pricing into the session log, so with every chat in a pty there was nothing
617
+ to fill it: the status line showed `$0.00` under every reply, the footer
618
+ `$0.0000`, and the `/status` line never appeared. All three are gone.
619
+ `/cost` is where Claude Code says what a conversation cost.
620
+
621
+ - **A `!command` runs, and the permission gate checks it.** A message that
622
+ starts with `!` is Claude Code's shell mode: the rest runs as a shell
623
+ command, with no tool call. Through the bot it mostly didn't run, and ended
624
+ in "Claude Code's input box didn't take your message", because the bot
625
+ didn't recognise the input box in shell mode. And what did run skipped the
626
+ permission gate and the scope guard, which are tool hooks: on a shared bot a
627
+ guest's `!sudo …` ran where Claude's own would wait for an approver. Such a
628
+ message now goes through the same gate before it is typed, and one that is
629
+ denied or left unanswered never runs. Telegram still gets Claude's reply to
630
+ the command, not the command's own output.
631
+
632
+ - **Claude no longer asks before a destructive command when the mode says not
633
+ to.** The note the bot adds to Claude's system prompt told it to confirm
634
+ anything irreversible (`rm -rf`, `sudo`, a force-push, `DROP TABLE`) with a
635
+ question first, whatever the permission mode. In bypass mode that overruled
636
+ what the chat had picked with `/mode`. The line is gone: how much Claude
637
+ asks is `/mode`'s to say, and on a shared bot the permission gate still
638
+ holds those commands for an approver.
639
+
640
+ - **`/terminal` (`/teleport` until this release) forks the session, as it
641
+ said it did.** Its message promised that Telegram and the terminal could
642
+ each carry on, but the command it gave
643
+ was a plain `claude --resume`, which reopens the same session the chat's own
644
+ Claude Code still has open, with both of them writing to one log. It now
645
+ adds `--fork-session`: the terminal gets the conversation under a new id.
646
+
647
+ - **The 🍴 Fork button is under the reply, every time.** A turn that asked a
648
+ question and had nothing to add after the answer put the button on the
649
+ "✅ Done" bubble above the question, where it read as a stray button rather
650
+ than the reply's fork point. It is now under the prose that went out ahead
651
+ of the question. And a turn Claude started itself, when a background task
652
+ reported back, got no button at all; its reply forks like any other now.
653
+
654
+ - **Claude's send-file tool follows the same rules as `/file`.** It checked
655
+ only that the path was under the workspace or `/tmp`, and the scope guard
656
+ that prompts for a credential path watches Read and Bash, not MCP tools. So
657
+ a guest who asked Claude for `~/.ssh/id_rsa` got it, unless Claude happened
658
+ to read it first. Both routes now refuse credential and bot-state paths
659
+ for everyone and confine a guest to the chat's project, as `/file` has.
660
+
661
+ - **The wizard's typed answer stays next to its question.** After a question
662
+ long enough to wrap, `telecoder init` parked the cursor at the right edge of
663
+ the screen, and the `y` or `n` typed there sat a line's width away from its
664
+ `[Y/n]`. readline was never told the terminal's width.
665
+
666
+ - **A background task claude stopped no longer shows as running forever.**
667
+ Claude writes no task-notification for a task it ends with TaskStop, and
668
+ that notification was the only thing that retired a task, so "🔄 Running in
669
+ background" stayed under every later reply until the bot restarted, and the
670
+ idle restart waited for it. A Bash call's response now records claude's own
671
+ id for the task, and TaskStop on that id retires it as stopped.
672
+
673
+ - **`TTS_ENABLED=false` turns spoken replies off.** The setting was read
674
+ but never checked, so a chat with `/tts` on kept getting voice replies.
675
+ Now it stops them for every chat, `/tts` says they're off, and the
676
+ command leaves the `/` menu.
677
+
678
+ - **`TRANSCRIBE_ENABLED=false` turns off voice notes too**, not only
679
+ `/transcribe`. A voice note was still downloaded and transcribed.
680
+
681
+ - **`telecoder help <command>` lists the command's options.** It showed only
682
+ the one-line summary, though the install docs pointed to it for the
683
+ flags. `<command> --help` shows the same.
684
+
8
685
  ## [1.2.0] — 2026-11-14
9
686
 
10
687
  ### Install
@@ -259,6 +936,12 @@ reasoning — the commit bodies are the long form, this is the index.
259
936
 
260
937
  ### Agent
261
938
 
939
+ - **`/steer` and `⚡ Interrupt & send`** — a correction no longer has to
940
+ wait for the turn it corrects. `/steer <text>` stops the running turn and
941
+ sends the text in its place; Claude keeps the stopped prompt and what it did
942
+ so far, so the text can refer to it. The same button sits on a `⏳ Queued`
943
+ notice, for a message already waiting
944
+ ([7cb7197](https://github.com/telecoderbot/telecoder/commit/7cb7197)).
262
945
  - **The status line turns amber, then red, as the context grows** — the
263
946
  `📊 34%` stat looked the same at 15% as at 80%, and with the 1M window even
264
947
  80% is far past the point where turns get slower, costlier and less sharp.
@@ -1046,8 +1729,6 @@ reasoning — the commit bodies are the long form, this is the index.
1046
1729
  out: it concatenates several turns, and the single-turn comparison would
1047
1730
  either no-op or duplicate the last iteration.
1048
1731
 
1049
- ### Reliability
1050
-
1051
1732
  - **`/restartbot` no longer kills a systemd-managed bot for good** — the restart
1052
1733
  ran `botctl recover` as a detached child, but `detached: true` escapes the
1053
1734
  process group and not the cgroup. Under systemd the helper was reaped along