You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1894b8e
Browse filesBrowse the repository at this point in the historyBrowse files
feat(claude): show SDK prompt suggestions as ghost text in the composer
The Claude Agent SDK can predict the user's next prompt after each turn
(`promptSuggestions: true` emits one `prompt_suggestion` message after
`result`, generated off the turn's prompt cache). The adapter received that
message but dropped it, and never opted in, so the composer sat empty at the
exact moment the user has to decide what to ask next.
Opt in and carry the suggestion over the existing activity channel: the
adapter maps `prompt_suggestion` to a new `turn.prompt-suggestion` runtime
event attributed to the turn that just completed; ingestion stores it as a
`prompt-suggestion` activity, hidden from the work log on web and mobile.
The web composer derives the suggestion for the latest completed turn and
renders it as faded text in the empty editor with a Tab hint. Tab inserts it
into the draft (never sends), typing ignores it, and it clears once a newer
user message or turn exists. Claude only; the user's own Claude settings
(`promptSuggestionEnabled: false`, `CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION`)
still suppress it, so there is no separate T3 toggle.
Claude Fable 5 in Claude Code.
Claude-Session: https://claude.ai/code/session_016YSyurTEFmMXRr9t8vNHTT
0 commit comments