feat(studio): session modes, mid-chat model switch, and debug-with-AI - #983
Closed
jtenniswood wants to merge 1 commit into
Closed
feat(studio): session modes, mid-chat model switch, and debug-with-AI#983jtenniswood wants to merge 1 commit into
jtenniswood wants to merge 1 commit into
Conversation
use-session-mode drives the composer's permission-mode selector with live echo-adopt and rollback (a draft reads its pending mode at mint). The model/ effort selector switches models mid-conversation by forking the session onto the new model, keeping the transcript (ThreadSourceBusyError surfaces honestly). Debug-with-AI (ADR 0254) lands behind the session_debug capability: an explicit consent dialog, the sidebar debug badge and action, and title-provenance rendering — over the debug transport landed with the harness tier. server-proxy.ts takes its second and final allowlisted re-touch: requiresEmptyWorkspace — no-fs/debug sessions skip workspace injection — and reaches its final state. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack 18/21 — Studio: session modes, mid-chat model switch, debug-with-AI
use-session-mode): live echo-adopt + rollback; a draft reads its pending mode at mint; the composer gains the ModeSelector.handleSwitchModel— switching models mid-conversation forks the session onto the new model, keeping the transcript.session_debugcapability — explicit consent dialog, sidebar debug badge, title-provenance rendering (debug.tslanded tested in PR 5).server-proxy.tsre-touch:requiresEmptyWorkspace(+15 lines) — no-fs/debug sessions skip workspace injection. The proxy reaches its final state;create-body.test.ts(PR 5) already pins the debug body shape.Demo at this stack point: switch permission mode mid-chat, fork onto another model, spawn a consented debug session from a chat's menu.
Part of the stacked landing of #618.
🤖 Generated with Claude Code