Skip to content

feat(playbook): agent panel fixes, zoom/pan, export and project checkpoints - #96

Merged
elasticdotventures merged 5 commits into
mainfrom
feat/agent-panel-fixes
Oct 7, 2026
Merged

elasticdotventures merged 5 commits into
mainfrom
feat/agent-panel-fixes

Conversation

@elasticdotventures

Copy link
Copy Markdown
Member

Agent panel

  • Back button: each tab is a history entry (#/agent ...); the Agent tab is kept alive so Back/leaving a tab no longer loses the transcript, panels and revisions.
  • Starting point: editable, Render in place, 'Use my edit' as a revision, open in editor, download.
  • Tool calls: arguments, result, real success/failure (held-back and failed calls are no longer shown as ok), link to the revision a call produced.
  • Revision timeline: diff vs parent, snapshot, compare, non-destructive restore, fork, download code. Restoring no longer wipes the evidence panels.
  • The agent now starts every request from the CURRENT revision (it used to keep the original editor handoff, and the prompt told it to 'review' every time).
  • 'Clear panels' did nothing (assigned to a ref) - fixed and renamed Hide panels; 'Clear' is Clear chat; a Context panel lists what the agent receives.
  • Server: panels carry toolCallId.

Zoom / pan / export / checkpoint

  • ZoomPan viewer (drag, Ctrl+wheel/pinch, +/-, Fit, 100%, keys, larger area) used by the editor output, agent panels, timeline snapshots, starting point.
  • Download code / image in the editor; download code in the agent panel.
  • Save to project: commits the diagram into a local project (new or existing); recover from Projects -> History -> Restore.

Verified

vitest 243/243, agent unit tests 83/83, and in a real browser against a preview build: Back/Forward through tabs, starting point edit+render+apply, an agent run with tool calls and timeline, restore keeping panels, a 60-node chain zoomed/fit (273x10228 at 100%, fits at 4%), downloads, checkpoint appears in Projects.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GgXQRGsprSZc2oXGNj9n8X

elasticdotventures and others added 5 commits October 7, 2026 01:33
…ool-call detail, revision timeline

- each tab is a history entry (Back no longer leaves kr0ki); the agent tab is kept alive
- starting point: edit, render in place, apply as a revision, open in editor, download
- tool calls show arguments, result and a real success/failure, and link to the revision they produced
- revision timeline: diff vs parent, snapshot, compare, restore (non-destructive), fork, download
- the agent now starts every request from the CURRENT revision (it used to keep the original handoff)
- 'Clear panels' actually clears (and is renamed Hide panels); 'Clear' is Clear chat; Context panel lists what the agent receives
- server: panels carry toolCallId; the diagram-context prompt no longer tells the model to 'review' every time

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GgXQRGsprSZc2oXGNj9n8X
…, save-to-project checkpoints

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GgXQRGsprSZc2oXGNj9n8X
… minimum zoom for very large diagrams

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GgXQRGsprSZc2oXGNj9n8X
…and how to read the validator's joined-token message

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GgXQRGsprSZc2oXGNj9n8X
@elasticdotventures
elasticdotventures merged commit 5080617 into main Oct 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant