Repository navigation
Labels
Description
Summary
Two linked changes add a way to send an earlier prompt again from a client of the daemon, and neither is documented on the docs site yet.
- Desktop (feat(chat): resend a prompt from its bubble desktop#560): every user bubble in a chat gets a Resend prompt button next to the copy button. Clicking it drops that prompt and everything after it from the conversation, then sends the prompt again. It is what a double Esc restore does in the CLI's TUI. The button is disabled while a run is in progress.
- CLI (feat(conversation): let a daemon client rewind a session to a prompt cli#1824): a new
rewind_conversationpanel frame that daemon clients use for this. The session's worker drops the named prompt and everything after it and answers withconversation_rewound.
Behaviour to document:
- The deletion is permanent and has no confirmation step, as in the TUI.
- A prompt is named by its text and by
occurrence, which counts the times the user sent that text from the newest.1, or none, is the last time. - The frame runs only on the session its
project_dirandidname. A session that is not open answers withRUN_ERROR. - A worker that is running a turn, or has one queued, refuses and leaves the conversation as it was. So does one whose conversation has no such prompt.
- The desktop needs an
inferrelease that has the frame. A session on a remote workspace needs it in its pod too. An olderinfernever answers, and the app reports an error. - A prompt sent with an
@filereference cannot be resent until the chat is reopened, because the worker stores the expanded text. Nothing is deleted in that case.
Frames to show as a code sample:
{"type": "rewind_conversation", "project_dir": "/abs/path/to/project", "id": "<conversation id>", "content": "<the prompt's text>", "occurrence": 1}
{"type": "conversation_rewound", "id": "<conversation id>", "messages": [...]}
{"type": "conversation_rewound", "id": "<conversation id>", "messages": null, "error": "the conversation has no such prompt"}Affected pages:
desktop.md, section "Chat and tool approval": the Resend prompt button and what it deletes.cli.md, the daemon and serve worker sections: therewind_conversationframe next to the other panel frames.opentask.md, if the frame reference lives there alongside the session artifacts frames.
Source: the frame is specified in docs/browser-extension-protocol.md ("Conversation rewind") and docs/conversation-versioning.md in inference-gateway/cli#1824.
Acceptance Criteria
-
desktop.mddescribes the Resend prompt button, that it drops the prompt and everything after it, and that the deletion is permanent -
desktop.mdstates theinferversion the button needs, once feat(conversation): let a daemon client rewind a session to a prompt cli#1824 is released - The
rewind_conversationandconversation_rewoundframes are documented with the JSON sample, theoccurrencerule and the refusal cases - The docs say the frame runs only on the session it names
- The
@filelimitation is noted
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Nov 12, 2026
@claude can you document this?
inference-gateway-maintainer commentedon Nov 12, 2026
Claude finished @edenreich's task in 2m 29s —— View job •
docs/issue-1202-20261112-2220• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1202-20261112-2220?quick_pull=1&title=Issue%20%231202%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231202%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented resending a prompt and the
rewind_conversationframecli.md,desktop.md,opentask.md)desktop.md- new "Resending a prompt" section under Chat and tool approvalopentask.md- new "Conversation rewind" section with the JSON samples,occurrencerule, refusal cases, session scoping,@filelimitation; both frames added to the frame reference tablecli.md-rewind_conversationin the serve worker stdin frames table and the shared event stream app frames tablebun run lint:md,bun run format:check,bun run buildall passOne acceptance criterion left open: the exact
inferversion is not stated, becauseinference-gateway/cli#1824is still open and unreleased - the frame is not indocs/browser-extension-protocol.mdupstream yet. The docs say the button needs "aninferrelease that carries therewind_conversationframe", which should be replaced with the version number once it ships.| Branch
inference-gateway-releaser commentedon Nov 17, 2026
🎉 This issue has been resolved in version 0.9.27 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀