Skip to content

Relax agent-client-protocol pin to >=0.11.0,<1 - #501

Merged
mbektas merged 1 commit into
plmbr:mainfrom
FelipeRamos-neuro:fix/acp-version-floor
Sep 25, 2026
Merged

mbektas merged 1 commit into
plmbr:mainfrom
FelipeRamos-neuro:fix/acp-version-floor

Conversation

@FelipeRamos-neuro

@FelipeRamos-neuro FelipeRamos-neuro commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Relaxes the agent-client-protocol dependency from an exact pin (==0.10.1) to a range (>=0.11.0,<1).
  • Fixes agent-client-protocol==0.10.1 pin blocks coexisting with jupyter-ai in the same environment #500: allows notebook-intelligence and jupyter-ai to coexist in the same environment. jupyter-ai-acp-client>=0.3.0 requires agent-client-protocol>=0.11.0,<0.12.0, which had zero overlap with our old exact pin.
  • Verified 0.11–0.12.1 compatible with acp_agent.py's actual Client/schema usage: the new HTTP/WebSocket transports and elicitation subsystem are unused here, the removed SetSessionModelRequest/SetSessionModelResponse are unused here, and the Agent interface parameter reordering doesn't matter since dispatch always calls handlers via **kwargs.

Test plan

  • Diffed agent-client-protocol 0.10.1 vs 0.11.0/0.12.1 wheels (acp/__init__.py, core.py, interfaces.py, schema.py, exceptions.py) against acp_agent.py's usage surface
  • pytest tests/ -q
  • Install alongside jupyter-ai>=3.2.0 and confirm dependency resolution succeeds

🤖 Generated with Claude Code

Allows coexistence with jupyter-ai in the same environment (fixes plmbr#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 <noreply@anthropic.com>
@mbektas
mbektas requested a review from pjdoland September 24, 2026 02:57
@mbektas
mbektas merged commit 7e6a8e5 into plmbr:main Sep 25, 2026
3 of 6 checks passed
@FelipeRamos-neuro
FelipeRamos-neuro deleted the fix/acp-version-floor branch September 25, 2026 14:47
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.

agent-client-protocol==0.10.1 pin blocks coexisting with jupyter-ai in the same environment

2 participants