Skip to content

1.1.0

Latest

Choose a tag to compare

@frostming frostming released this 26 Nov 00:49
9aedba3

Highlights

  • Stable ACP v1 bindings now track schema-v1.35.0. system_prompt and config_options on new_session, load_session, resume_session and fork_session (plus cursor_id on fork and archived on list_sessions) now reach the wire instead of being silently dropped.
  • New unstable methods: archive_session, unarchive_session, session_status, session_options, set_session_title and auth_status, plus the auth_status_update client notification.
  • MCP-over-ACP follows the stateless shape: mcp/message carries serverId + requestId (and optional sessionId / 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_focus and their models.
  • PlanUpdateFile is removed along with the schema's file plan update.
  • mcp_message and notify_mcp take server_id and request_id; connect_mcp and disconnect_mcp are removed.
  • A malformed entry in session/new's mcpServers now raises a validation error instead of being skipped (schema change since 1.33).
pip install --upgrade agent-client-protocol==1.1.0

What'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

Full Changelog: 1.0.0...1.1.0