flesh out the Claude prompt UX: options, stepper, collapse
Builds on the in-composer prompt surface (D-78): - Permission prompts (T-175): Allow / Allow-and-don't-ask-again / Deny. "Don't ask again" appears only when the request carries a permission_suggestion and echoes it back as updatedPermissions. An optional note rides Deny as the message, or Allow as a follow-up user message (the protocol has no allow-with-message). - AskUserQuestion picker (T-176): a single question renders bare; 2-4 questions step one at a time (nav shows "N · Header", ✓ when answered) then a review/confirm screen. Each question offers an "Other" free-text choice and a per-choice note; multi-select joins labels. A "chat instead" escape denies the prompt so the user can type freely. On submit the answer is echoed into the log, since the card is ephemeral. - Collapsed tool cards (T-177): multi-line tool_use / tool_result start collapsed behind a one-line summary; one-line output renders inline. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
+10
-5
@@ -18,14 +18,19 @@ heading, and (b) bumping `pubspec.yaml` `version:` in the same commit.
|
||||
|
||||
### Added
|
||||
|
||||
- Native permission & AskUserQuestion prompts (T-166, D-78) — when Claude
|
||||
needs tool approval or asks a question, an inline card appears in the
|
||||
conversation with Allow/Deny or selectable options; the decision is
|
||||
returned over the stream-json control channel. Closes the prompt gap
|
||||
the tmux model couldn't surface.
|
||||
- Native permission & AskUserQuestion prompts (T-166, T-175, T-176, D-78) —
|
||||
when Claude needs tool approval or asks a question, the composer is
|
||||
replaced by a prompt: Allow / Allow-and-don't-ask-again / Deny for
|
||||
permissions (with an optional note), and a single-question or
|
||||
stepped-with-review option picker for AskUserQuestion (with "Other"
|
||||
free-text and per-choice notes). Closes the prompt gap the tmux model
|
||||
couldn't surface.
|
||||
- Conversation message cards (T-173) — every turn in the Claude pane now
|
||||
renders through one card template with a copy button on hover and a
|
||||
collapse/expand caret for tool calls, results, and thinking.
|
||||
- Collapsed-by-default tool cards (T-177) — multi-line tool calls and
|
||||
results start collapsed behind a one-line summary; one-line output stays
|
||||
inline so a caret never hides a single line.
|
||||
- Claude meta sidebar (T-141, T-157) — an always-pickable left-panel tab
|
||||
showing Claude activity (the latest day's messages/sessions/tool-calls
|
||||
plus lifetime totals, from `stats-cache.json`) and, when a tmux team is
|
||||
|
||||
Reference in New Issue
Block a user