docs(sdk): reference the [subscribe] handler form, not [[interceptor]]#59
Merged
Merged
Conversation
The [[interceptor]] manifest block was replaced by a [subscribe] entry with a handler (astrid#863). Update the interceptors module doc comments to the current form. Doc-only; the SDK never parsed Capsule.toml. (Re-does #52 on current main without its stale contracts-submodule downgrade.)
There was a problem hiding this comment.
Code Review
This pull request updates the documentation in astrid-sdk/src/interceptors.rs and astrid-sdk/src/lib.rs to clarify that auto-subscribed interceptors require both run() and a [subscribe] entry with a handler, replacing the outdated reference to [[interceptor]]. There are no review comments, and the changes look correct, so I have no additional feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
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.
Updates the
interceptorsmodule doc comments (interceptors.rs, lib.rs) from the removed[[interceptor]]manifest block to the current[subscribe]entry with ahandler(astrid#863). Doc-only — the SDK never parsed Capsule.toml.Supersedes #52, which carried a regressive contracts-submodule downgrade to an old wit feat-branch commit; this re-does just the doc fix cleanly on current main.