Repository navigation
tools: an agent's commands and tapes are credited to its connection - #22
Merged
Merged
Conversation
Each command an agent runs, and each tape it plays, now records its steps as that connection's (`sdk.Author`, fizzy#474/#475): `agentCall` acts as the connection around `callCommand`, and `tape.play` and a run's tape go through `playAs`. The bridge says the MCP client's name with `hello`, so the person reads "Claude" beside its steps rather than "An agent". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Seen live on macOS: fizzy |
Takes main's pins (SDK 0.2.30, version 0.1.1) and its 0.17 spellings (dupeSentinel, @backingInt), keeping this branch's authors: the session label from the client's name, and tapes played as the connection. Co-Authored-By: Claude Opus 5.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.
Update 2026-10-18: main moved to Zig 0.17 and SDK 0.2.30 (#23), and that is merged in here; the repin below is now main's. What this PR adds is crediting the agent's steps.
Part of fizzyedit/plans#8
What changes
fizzy_actandfizzy_rungain astrokestep, so an agent can draw through a plugin's own tools (press, carry, release) and look at the result before its next mark:{"stroke": {"tag": "pixi.canvas:/p/a.pixi", "ms": 60, "points": [ {"fx": 0.39, "fy": 0.20}, {"fx": 0.33, "fy": 0.20, "ms": 70}]}}tagon the stroke is every point's that names none; each point'smsis the pen's time from the last.fx/fy, then nudged byx/y. With pixi'spixi.canvas:<path>anchor (the whole image's rect), pixel (x, y) of a w×h sprite is((x + .5) / w, (y + .5) / h).Needs fizzyedit/fizzy#431 (
Script.stroke), so this builds only with--fork=<fizzy>/sdkuntil the next SDK release. Draft until then.Verified
--forkagainst that change into a sandbox profile; drew a 32×32 sprite in pixi with strokes (outline, box-select-and-delete, bucket fills, shading), checking each pass withpixi.readandfizzy_capture.zig fmt --check.Found on the way (not fixed here)
pixi.setTool {"tool": "pencil"}fails with "expected enum literal" even throughfizzy_call.🤖 Generated with Claude Code