You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6f96fbe
Browse filesBrowse the repository at this point in the historyBrowse files
fix: update ACP SDK to 2.2 and align protocol behavior (#710)
## Summary
Upgrade `@agentclientprotocol/sdk` from 2.1.0 to 2.2.0 (schemas v1.28.0
and v2.0.0-alpha.11) and align the adapter with the intervening schema
and protocol-documentation clarifications.
- Remove JSON-RPC batching and release setup publication after
individual response writes.
- Reuse the Codex handshake across repeated ACP initialization and
retain the previous capabilities after a failed repeat.
- Validate absolute workspace paths and reject duplicate MCP server
names, including sanitized-name collisions.
- Reject v2 configuration value types that do not match advertised
options.
- Emit native absolute paths in v2 Git patches while preserving v1/AIR
formatting.
- Preserve arbitrary JSON in accepted v2 MCP form responses and validate
built-in question answers per property.
- Add regression coverage across both ACP versions where applicable.
## Protocol review and follow-ups
This change does not claim full v2 conformance. Active-session teardown,
resume snapshots, subagent directory reporting, authentication/MCP
delegation, and extension/security work remain separately reviewable
follow-ups.
## Validation
- `npm run typecheck` — passed, including examples.
- `npm test` — 2,263 passed, 39 skipped.
- `npm run build` — passed.
- `git diff --check` — passed.
- Real Codex smoke: `npm run codex-test -- -p "Reply with exactly OK. Do
not use tools or modify any files." -o summary` — completed with
`end_turn`.
- Separate integration and opt-in E2E suites were not run.
0 commit comments