Skip to content

acp: an agent's writes to an open document are credited to it - #15

Merged
foxnne merged 2 commits into
mainfrom
sdk/repin-0.2.29
Oct 18, 2026
Merged

foxnne merged 2 commits into
mainfrom
sdk/repin-0.2.29

Conversation

@foxnne

@foxnne foxnne commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Update 2026-10-18: main moved to Zig 0.17 and SDK 0.2.30 (#16), merged in here; the repin below is now main's. What this PR adds is crediting the agent's document writes.

Repins chat to fizzy SDK 0.2.29 and adopts its authors (fizzyedit/fizzy#474, fizzyedit/fizzy#475; plans/SHARED_HISTORY_PLAN.md, step 2).

  • fs/write_text_file into an open document runs text.write inside host.act as this chat's agent (plugin = "chat", session = the chat's id), so its undo step is the agent's, not the person's, and the document's title reads " · <title>" while it works.
  • The label is the agent's agentInfo.title (else name) from ACP initialize; "An agent" until it says.
  • What the agent does through fizzy's MCP tools is credited by the agent plugin, per connection (tools: an agent's commands and tapes are credited to its connection agent#22).
  • min_sdk_version 0.2.29; the SDK pinned by its release tarball.

Verified: zig build (sandbox FIZZY_PROFILE), zig build test, zig fmt --check, against the released 0.2.29 SDK. Not run live yet.

🤖 Generated with Claude Code

A file the agent writes into an open document (`fs/write_text_file`,
through `text.write`) is now recorded as that chat's agent's step
(`sdk.Author`, fizzyedit/fizzy#474/#475), labelled with the name the agent
gave in `initialize` (`agentInfo`), rather than as the person's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Takes main's pins (SDK 0.2.30, version 0.1.1), keeping this branch's
crediting of the agent's document writes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@foxnne foxnne changed the title sdk: repin to fizzy SDK 0.2.29, edits credited to the agent acp: an agent's writes to an open document are credited to it Oct 18, 2026
@foxnne
foxnne merged commit c088d30 into main Oct 18, 2026
2 of 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