chore(claude): move to @col/a2a-claude@0.2.1-beta.7 - #12
Merged
Conversation
The wrapper now drives the Claude Agent SDK through a streaming input session, so a Task whose turn ends with background work still running is held open in `working` and reports back over several rounds instead of completing at the first result. Nothing to configure: both new features default on in the wrapper and Throng sets no `features` block. The build.ts note records the one edge that our `timeouts.prompt: 0` inherits — cancellation is the only release for a Task whose background set never empties. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01My4JH7AAyLhe9Hb5626Gdv
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.
Moves
throng-agent-claudeto@col/a2a-claude@0.2.1-beta.7(pulls@anthropic-ai/claude-agent-sdk0.3.202→0.3.235).What the new wrapper version changes
It drives the Claude Agent SDK through a streaming input session rather than a one-shot prompt, so a single A2A Task can span several SDK rounds:
workingand publishes a non-finalresponseartifact per round. The Task only reaches a terminal state on a round that ends with nothing running.metadata.backgroundTaskson their status update, and the live set is published as atrace.background_tasksartifact.agent_started/agent_finishedare now deduplicated per Task instead of per SDK turn.Throng-side changes
None needed. Both behaviours are on by the wrapper's own defaults (
features.holdTaskForBackgroundWork,features.emitBackgroundTaskEvents) and Throng sends nofeaturesblock, so the generated config is byte-identical.The only edit beyond the version bump is a comment in
config/build.tsrecording the edge ourtimeouts.prompt: 0inherits: with the timeout off and the Task held for background work,tasks/cancelis the only release if the background set never empties — and a held Task blocks later turns on the samecontextId.Also worth knowing for manifest authors:
agent.max_turnsnow spans every round of a held-open Task rather than resetting per round.Verification
npm run build,npm run typecheck,npm test— all green (115 tests).🤖 Generated with Claude Code
https://claude.ai/code/session_01My4JH7AAyLhe9Hb5626Gdv