chore(deps): bump agent-client-protocol from 0.8.0 to 0.12.1 - #2664
dependabot[bot] wants to merge 1 commit into
Conversation
| classifiers = ["Development Status :: 7 - Inactive"] | ||
| dependencies = [ | ||
| "agent-client-protocol==0.8.0", | ||
| "agent-client-protocol==0.12.1", |
There was a problem hiding this comment.
🔴 ACP initialization always crashes
Every kimi acp connection makes initialize access the removed acp.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 AuthMethodAgent and TerminalAuthMethod. 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 acp and sends initialize. ACPServer.initialize() evaluates acp.schema.AuthMethod(...), raises AttributeError, and returns no InitializeResponse.
Recommended fix: Migrate _auth_methods and 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.
| classifiers = ["Development Status :: 7 - Inactive"] | ||
| dependencies = [ | ||
| "agent-client-protocol==0.8.0", | ||
| "agent-client-protocol==0.12.1", |
There was a problem hiding this comment.
🔴 ACP sessions cannot be created
Authenticated new_session and resume_session access removed SessionModelState and ModelInfo classes. Both requests fail before returning session state.
Learn more
ACP 0.12.1 replaced the response models field with config_options and removed the old model-selection classes. Both new_session and resume_session still build the old response. The existing set_session_model handler is also no longer routed because the SDK now dispatches session/set_config_option.
Example: A logged-in client completes initialization and calls session/new. Session setup succeeds, but response construction looks up acp.schema.SessionModelState, raises AttributeError, and leaves the client without a usable session.
Recommended fix: Represent model choices as a model-category SessionConfigOptionSelect in config_options. Replace set_session_model with set_config_option, validate the model config ID and selected value, and return the new response type.
Was this helpful? React with 👍 or 👎 to provide feedback.
Bumps [agent-client-protocol](https://github.com/agentclientprotocol/python-sdk) from 0.8.0 to 0.12.1. - [Release notes](https://github.com/agentclientprotocol/python-sdk/releases) - [Commits](agentclientprotocol/python-sdk@0.8.0...0.12.1) --- updated-dependencies: - dependency-name: agent-client-protocol dependency-version: 0.12.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
e3bba0e to
55b3d01
Compare
Bumps agent-client-protocol from 0.8.0 to 0.12.1.
Release notes
Sourced from agent-client-protocol's releases.
... (truncated)
Commits
e668ed9fix(version): update agent-client-protocol version to 0.12.1 in pyproject.tom...1647b4afix(client): preserve session update ordering (#129)e8ff5bcchore(deps): bump pymdown-extensions in the uv group across 1 directory (#133)e7e96a7refactor(connection): simplify connection handling and remove unused componen...082c8f0chore(deps): bump h2 in the uv group across 1 directory (#131)40faed9fix(codegen): support datamodel-code-generator 0.71 (#127)750c6eerelease: 0.12.0 (#124)34477bfchore(deps-dev): bump datamodel-code-generator (#123)3ddfa38Initial implementation of ACP web transport, with docs and examples (#118)e0560bafeat(schema): bump ACP schema to v1.19.0 (extensible unions + lenient deseria...