Replies: 2 comments
|
+1, we need a function like that. I've been missing this in Codex since switching over from CC too. Alternative approach with the same result: A function "Settle & start new task" This would simplify this feature to just UI work inside T3, without any provider specific logic, since codex app-server does not have /clear support |
|
Adding a data point that splits this proposal cleanly in two, because on the Claude provider the context half already works and only the transcript half is missing. What happens today with Claude Code as the provider: T3 already receives the signal for it. The Claude Agent SDK emits a // apps/server/src/provider/Layers/ClaudeAdapter.ts
// Composer prompt suggestions have no T3 surface; consumed deliberately.
// `conversation_reset` announces a CLI-side conversation id swap
// (e.g. /clear); T3 keeps its own thread identity and resume cursor.
case "prompt_suggestion":
case "conversation_reset":
return;The comment is right about identity — T3 should keep its own thread id and resume cursor across a CLI-side conversation swap. The gap is that this frame is the only evidence the reset happened, and nothing downstream ever hears about it. Possible fix, following the shape of the paths already there:
That delivers the visible half of the proposal for the Claude provider without touching session lifecycle at all: no new provider session, no resume-cursor change, no thread identity change. The harder half in #7402 (actually resetting Codex and Cursor sessions) stays independent, and when it lands it can emit the same marker rather than inventing a second one. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
There is no way to start over inside a thread. To get a clean context and a clean scrollback I have to settle the thread and create a new one, which means a new title, re-picking model and mode, and losing the place I was working in.
Claude Code in the terminal has
/clear. One command, the transcript is gone, and I am in a fresh conversation in the same working directory. In T3 the same thing takes several UI steps and leaves a pile of settled threads behind.Current behavior
/clearis not a T3 command, so it gets forwarded to the provider as plain text. The model usually replies that the context was cleared, but nothing changed. See #7402, where the event log shows/clearpersisted as an ordinarythread.message-sentfollowed by a normal turn. An assistant that answers "done" while keeping everything is worse than an error.Proposal
Make
/cleara native T3 command, alongside/modeland/plan:/clearand other unsupported reset commands with a visible "not supported" message instead of sending them to the model.Why
Long-lived threads pinned to a worktree are the natural unit of work in T3. Being able to reset context without abandoning the thread keeps the sidebar sane and matches what every provider CLI already offers.
All reactions