Repository navigation
chore(deps): bump agent-client-protocol from 0.8.0 to 0.12.1 #2664
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ readme = "README.md" | |
| requires-python = ">=3.12" | ||
| classifiers = ["Development Status :: 7 - Inactive"] | ||
| dependencies = [ | ||
| "agent-client-protocol==0.8.0", | ||
| "agent-client-protocol==0.12.1", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 ACP sessions cannot be created Authenticated Learn moreACP 0.12.1 replaced the response Example: A logged-in client completes initialization and calls Recommended fix: Represent model choices as a model-category Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| "aiofiles>=24.0,<26.0", | ||
| "aiohttp==3.13.3", | ||
| "typer==0.21.1", | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 ACP initialization always crashes
Every
kimi acpconnection makesinitializeaccess the removedacp.schema.AuthMethod. The server fails before returning its handshake.Learn more
Version 0.12.1 replaced the old generic authentication model with discriminated models such as
AuthMethodAgentandTerminalAuthMethod. The first initialize request executes that construction, so the failure occurs for every multi-session ACP connection. Later code also reads the old metadata shape when preparing authentication errors.Example: An IDE launches
kimi acpand sendsinitialize.ACPServer.initialize()evaluatesacp.schema.AuthMethod(...), raisesAttributeError, and returns noInitializeResponse.Recommended fix: Migrate
_auth_methodsand its error serialization to the 0.12.1 authentication schema. Use the appropriate discriminated auth model and pass its required fields directly instead of encoding terminal authentication inside_meta.Was this helpful? React with 👍 or 👎 to provide feedback.