Skip to content

feat(schema): upgrade ACP schema from v0.10.8 to v0.11.2#80

Open
Nemtecl wants to merge 1 commit intoagentclientprotocol:mainfrom
Nemtecl:main
Open

feat(schema): upgrade ACP schema from v0.10.8 to v0.11.2#80
Nemtecl wants to merge 1 commit intoagentclientprotocol:mainfrom
Nemtecl:main

Conversation

@Nemtecl
Copy link
Contributor

@Nemtecl Nemtecl commented Mar 16, 2026

Summary

Upgrades the ACP schema from v0.10.8 to v0.11.2, regenerates all derived code, and wires up new protocol features.

Key changes:

  • New stable methods: session/list (previously unstable), session/close (new, unstable)
  • New types: CloseSessionRequest/Response, KillTerminalRequest/Response, FileSystemCapabilities, SetSessionConfigOptionSelectRequest, SetSessionConfigOptionBooleanRequest, AuthMethodEnvVar, AuthMethodTerminal, SessionConfigBoolean
  • Renamed types: KillTerminalCommandRequest/ResponseKillTerminalRequest/Response, FileSystemCapabilityFileSystemCapabilities, SetSessionConfigOptionRequest split into typed select/boolean variants
  • Regenerated schema.py and meta.py via make gen-all

Testing

  • make test passes (all existing tests + new test_list_sessions_stable and test_call_unstable_protocol / test_call_unstable_protocol_warning updated for new stable/unstable routing)
  • make check passes (ruff lint + format)

Docs & screenshots

Example files (examples/client.py, examples/gemini.py) updated to use renamed types.

Checklist

  • Conventional Commit title (e.g. feat:, fix:).
  • Tests cover the change or are not required (explain above).
  • Docs/examples updated when behaviour is user-facing.
  • Schema regenerations (make gen-all) are called out if applicable.

- Regenerate schema bindings and Pydantic models
- Add session/close endpoint and CloseSession request/response types
- Add message_id parameter to PromptRequest
- Add AuthCapabilities, AuthEnvVar, AuthMethodAgent, AuthMethodEnvVar types
- Rename KillTerminalCommandRequest/Response to KillTerminalRequest/Response
- Rename SetSessionConfigOptionRequest to SetSessionConfigOptionSelectRequest
- Promote session/list from unstable to stable
- Update agent/client routers, interfaces, examples, and tests accordingly

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
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.

1 participant