Skip to content

refactor: consolidate JsonRpc trait implementations with macros#128

Merged
nikomatsakis merged 1 commit intoagentclientprotocol:mainfrom
nikomatsakis:main
Mar 17, 2026
Merged

refactor: consolidate JsonRpc trait implementations with macros#128
nikomatsakis merged 1 commit intoagentclientprotocol:mainfrom
nikomatsakis:main

Conversation

@nikomatsakis
Copy link
Copy Markdown
Contributor

  • Replace ~890 lines of repetitive trait implementations with concise macros
  • Add impl_jsonrpc_request! and impl_jsonrpc_notification! macros in schema/mod.rs
  • Add feature flags for unstable ACP methods (session_model, session_fork, etc.)
  • All tests pass, no functional changes

- Replace ~890 lines of repetitive trait implementations with concise macros
- Add impl_jsonrpc_request! and impl_jsonrpc_notification! macros in schema/mod.rs
- Add feature flags for unstable ACP methods (session_model, session_fork, etc.)
- All tests pass, no functional changes
@nikomatsakis nikomatsakis merged commit 2998e23 into agentclientprotocol:main Mar 17, 2026
1 check passed
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