Skip to content

Claude Code: serve and delegate A2A tasks#45

Open
dimavrem22 wants to merge 8 commits into
mainfrom
feat/a2a-v1
Open

Claude Code: serve and delegate A2A tasks#45
dimavrem22 wants to merge 8 commits into
mainfrom
feat/a2a-v1

Conversation

@dimavrem22

@dimavrem22 dimavrem22 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Decisions

  • Durability: Write receiver deliveries before acknowledgement and reconcile registry state before paging every submitted task on restart.
  • Session isolation: Serialize inbound work in a2a:{identity}:{context} sessions and expose complete, ask-caller, and fail only through verified turn context.
  • Delegation continuity: Persist outbound message/retry data before SendMessage, promote it to (identity, RPC origin, context) after the server returns, and inject later task updates into the originating Claude session.
  • Compatibility: Keep the base SDK range for non-A2A users, while documenting that A2A requires Inkbox SDK 0.5.6 or newer.

Changes

  • Add A2A call, check/wait, reply, and explicit inbound outcome tools.
  • Subscribe and serve inbound A2A tasks with durable deduplication, context sessions, cancellation, restart recovery, and guarded default completion.
  • Persist caller-side delegation routing and return a2a.sent_task.updated events to the delegating session.
  • Bump the plugin to 0.1.4.

Related pull requests

Merge order

Merge after backend deployment and the SDK 0.5.6 release.

Verification\n\n- Staged rollout remains compatible with an API that does not yet accept A2A webhook event types; legacy identity events continue and full A2A reconciliation retries on the next startup.\n- uv run --with pytest python -m pytest -q: 289 passed, 22 skipped.

@dimavrem22 dimavrem22 changed the title Claude Code: add Inkbox A2A tools Claude Code: serve and delegate A2A tasks Jul 23, 2026
@dimavrem22
dimavrem22 marked this pull request as ready for review July 24, 2026 05:08
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