refactor: register extension index via exthttp.RegisterRevisionedHandler - #100
Merged
Conversation
Replace the hand-rolled startedAt + IfNoneMatchHandler index wiring with exthttp.RegisterRevisionedHandler, so the index ETag is centralized in the SDK and reflects registration state instead of process start. Bumps extension-kit to v1.11.0 and the SDK kits to the releases that bump the revision on register/clear.
joshiste
enabled auto-merge (squash)
July 10, 2026 22:08
|
Claude finished @joshiste's task in 2m 48s —— View job Claude's PR Review
Summary: This is a clean, small refactor. I verified the new SDK behavior directly against the tagged sources:
No bugs, race conditions, or security concerns found in this diff. No unresolved prior review threads exist on this PR to reconcile. |
|
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.



Replaces the hand-rolled
startedAt+IfNoneMatchHandlerindex wiring withexthttp.RegisterRevisionedHandler, so the index ETag is centralized in the SDK and reflects registration state instead of process start.Bumps
extension-kitto v1.11.0 and the SDK kits it uses to the releases that bump the revision on register/clear. Behavior is unchanged for existing agents; the ETag value stays an unquoted string that round-trips as before.