From 2c531dbdb4677fea77e080aa0d4306f2cef227d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20St=C3=A9ffano?= Date: Wed, 23 Sep 2026 19:54:00 -0300 Subject: [PATCH] Relax agent-client-protocol pin to >=0.11.0,<1 Allows coexistence with jupyter-ai in the same environment (fixes #500); jupyter-ai-acp-client>=0.3.0 requires agent-client-protocol>=0.11.0,<0.12.0, which is unresolvable against the old ==0.10.1 exact pin. Verified 0.11-0.12 compatible with acp_agent.py's Client/schema usage. Co-Authored-By: Claude Sonnet 5 --- pyproject.toml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 579d15fe..3a11f42c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,11 +77,18 @@ dependencies = [ "mcp>=1.28.1,<2", "claude-agent-sdk", # Agent Client Protocol client SDK for ACP agent mode (Codex first, more - # agents as their adapters are validated, #378). Pinned because the - # protocol is pre-1.0 and the Python SDK still ships occasional breaking - # changes; imported lazily (only when ACP mode is used) per the #370 - # lazy-provider-import policy. - "agent-client-protocol==0.10.1", + # agents as their adapters are validated, #378). Capped below 1.0 because + # the protocol is pre-1.0 and the Python SDK still ships occasional + # breaking changes; imported lazily (only when ACP mode is used) per the + # #370 lazy-provider-import policy. Floor raised to 0.11.0: 0.11-0.12 + # verified compatible with acp_agent.py's Client/schema usage (adds HTTP/ + # WebSocket transports and an elicitation subsystem, neither used here; + # drops SetSessionModelRequest/Response, also not used here). This also + # lets notebook-intelligence and jupyter-ai coexist in the same + # environment: jupyter-ai-acp-client>=0.3.0 requires + # agent-client-protocol>=0.11.0,<0.12.0, which was unresolvable against + # our old ==0.10.1 pin. + "agent-client-protocol>=0.11.0,<1", "anthropic>=0.22.1", # Used to tear down an agent subprocess and its descendants (shells, MCP # servers, dev servers) on cancel; see util.terminate_process_tree. Already