Repository navigation
Highlights
- Stable ACP v1 bindings now track
schema-v1.35.0.system_promptandconfig_optionsonnew_session,load_session,resume_sessionandfork_session(pluscursor_idon fork andarchivedonlist_sessions) now reach the wire instead of being silently dropped. - New unstable methods:
archive_session,unarchive_session,session_status,session_options,set_session_titleandauth_status, plus theauth_status_updateclient notification. - MCP-over-ACP follows the stateless shape:
mcp/messagecarriesserverId+requestId(and optionalsessionId/toolCallId). - Experimental ACP v2 bindings now track
schema-v2.0.0-alpha.7. - Connection robustness: requests no longer hang after malformed error responses,
send()is serialized so it cannot hang, closing a connection from its own task no longer cancels itself, and stdio writer close/disconnection settles cleanly. - HTTP transport: SSE streams accept CR line endings, and invalid JSON in inline POST responses is propagated as an error.
- Locally built model instances that fail validation now raise instead of being silently dropped from arrays.
- The SDK now logs through module-scoped loggers instead of the root logger.
Upgrading from 1.0.x
These changes affect unstable protocol features removed or reshaped by the upstream schema:
- Next edit suggestions and document notifications are removed:
start_nes,suggest_nes,close_nes,accept_nes,reject_nes,did_open,did_change,did_close,did_save,did_focusand their models. PlanUpdateFileis removed along with the schema'sfileplan update.mcp_messageandnotify_mcptakeserver_idandrequest_id;connect_mcpanddisconnect_mcpare removed.- A malformed entry in
session/new'smcpServersnow raises a validation error instead of being skipped (schema change since 1.33).
pip install --upgrade agent-client-protocol==1.1.0What's Changed
- fix(connection): prevent requests hanging after malformed error responses by @HowieYin in #177
- fix(task): serialize sends with a lock so send() cannot hang by @frostming in #190
- fix: avoid cancelling the task closing its own connection by @anishpentyala in #191
- chore(deps): bump datamodel-code-generator to 0.92.0 by @xelandernt in #192
- ci: add Python 3.15 to the test matrix by @frostming in #196
- refactor: use module-scoped loggers instead of the root logger by @frostming in #195
- chore(deps): bump opentelemetry-api from 1.45.1 to 1.45.2 in the uv group across 1 directory by @dependabot[bot] in #197
- fix(http): accept CR line endings in SSE streams by @Elon-Jiang in #198
- fix(contrib): isolate tracked raw tool payloads by @ningyixi in #176
- fix(examples): return the agent's protocol version from initialize by @andreivince in #205
- fix(schema): raise instead of silently dropping invalid local model instances by @sammyawad in #204
- fix(http): propagate invalid JSON from inline POST responses by @lj1166 in #201
- fix(stdio): settle writer close and disconnection by @Elon-Jiang in #199
- fix: supervise non-coroutine observer Awaitables safely by @anishpentyala in #194
- feat(schema)!: bump ACP v1 schema to 1.35.0 by @raymondfeng in #202
New Contributors
- @HowieYin made their first contribution in #177
- @anishpentyala made their first contribution in #191
- @xelandernt made their first contribution in #192
- @Elon-Jiang made their first contribution in #198
- @andreivince made their first contribution in #205
- @sammyawad made their first contribution in #204
- @lj1166 made their first contribution in #201
- @raymondfeng made their first contribution in #202
Full Changelog: 1.0.0...1.1.0