Repository navigation
feat(v2): align extension methods with v1 and declare protocol hooks - #215
Merged
Merged
Conversation
PsiACE
marked this pull request as draft
November 28, 2026 17:11
PsiACE
force-pushed
the
feat/v2-protocol-lifecycle-and-extension-hooks
branch
from
November 29, 2026 03:19
486b814 to
2040be1
Compare
PsiACE
force-pushed
the
feat/v2-protocol-lifecycle-and-extension-hooks
branch
from
November 29, 2026 03:58
2040be1 to
184130d
Compare
PsiACE
marked this pull request as ready for review
November 29, 2026 03:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aligns ACP v2 extension methods with v1 naming and declares lifecycle/extension hooks on v2 protocols.
Summary
send_extension_request/send_extension_notification) and router handlers (handle_extension_request/handle_extension_notification) toext_methodandext_notification, matching v1.ext_method,ext_notification, andon_connectat the bottom ofv2.Agentandv2.Clientprotocols; inherited stubs continue to return-32601for requests and ignore notifications.docs/experimental-v2.md.Verification
make gen-checkmake checkmake test(683 passed, 1 skipped, 0 warnings)NO_MKDOCS_2_WARNING=true make docs-test