Skip to content

feat(studio): tool drill-down, context meter, compaction, typed retry, live delegation cards - #979

Closed
jtenniswood wants to merge 1 commit into
studio/S13from
studio/S14
Closed

feat(studio): tool drill-down, context meter, compaction, typed retry, live delegation cards#979
jtenniswood wants to merge 1 commit into
studio/S13from
studio/S14

Conversation

@jtenniswood

Copy link
Copy Markdown

Stack 14/21 — Studio: tool drill-down, context meter, compaction, typed retry, live delegation cards

Four bounded instrumentation deltas sharing chat-view/use-agent-chat, one commit each:

  1. Tool-activity drill-downtool-call-panel.tsx (+test), tool-call-list reaches its final state (failure counts + row select), the 'toolcall' side-panel arm with live re-resolve, and the durable "Show Tools" preference (useShowToolCalls + its suite).
  2. Context meter + manual compactioncontext-meter.tsx (+test), resolvedModel fetch, capability-gated compact (ADR 0244); compaction reads as a divider in the transcript; refreshTranscript in the hook.
  3. Typed retryretryLast vs resendLast with RetryDisposition (ADR 0239), retry SSE + 409 fallback: a failed turn's Retry now does the right one.
  4. Live delegation cards — the applyDelegationUpdate pure reducer (+tests) over delegation_progress/delegation_end, upgrading PR 7's static badges into live subagent cards.

Capability-gated UI renders nothing against the e2e fixture — no spec change needed.

Demo at this stack point: open a tool call's panel, watch subagent cards fill in live, compact a long chat, retry a failed turn.

Part of the stacked landing of #618.

🤖 Generated with Claude Code

…, live delegation cards

Four bounded instrumentation deltas over the chat core. Tool activity gets a
drill-down panel with failure counts and row select (tool-call-list reaches
its final state) plus the durable global Show-Tools preference. The context
meter reads the resolved model's window with capability-gated manual
compaction (ADR 0244) — compaction renders as a transcript divider, and the
hook gains refreshTranscript. Retry becomes typed (ADR 0239): retryLast vs
resendLast with the retry SSE and a 409 fallback, so a failed turn's Retry
does the right one. Delegation badges upgrade to live subagent cards via the
pure applyDelegationUpdate reducer over delegation_progress/end.

Capability-gated UI renders nothing against the e2e fixture — specs
untouched.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jtenniswood jtenniswood added enhancement New feature or request ux ui WebUI Applies to the WebUI interface labels Sep 2, 2026
@jhrozek jhrozek closed this Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ui ux WebUI Applies to the WebUI interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants