feat: initial wrapper for plugins hooks. - #22
Merged
Conversation
91pavan
reviewed
Apr 24, 2026
Castorche
force-pushed
the
feat/add-wrapper-on-hooks-from-other-plugins
branch
2 times, most recently
from
April 24, 2026 20:40
15e26a9 to
f773337
Compare
Signed-off-by: Jacques Samain <jsamain@cisco.com>
Signed-off-by: Jacques Samain <jsamain@cisco.com>
Castorche
force-pushed
the
feat/add-wrapper-on-hooks-from-other-plugins
branch
from
June 12, 2026 09:00
f773337 to
1861ced
Compare
Signed-off-by: Jacques Samain <jsamain@cisco.com>
Castorche
force-pushed
the
feat/add-wrapper-on-hooks-from-other-plugins
branch
from
June 12, 2026 11:59
113af36 to
05dedc4
Compare
91pavan
approved these changes
Jun 16, 2026
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.
Description
This PR introduces the wrapper for hooks of other plugins.
It currently handles a tool call that is blocked by another plugin, by creating the tool span and setting it in error state, and setting the
error.typeSpanAttribute totool_blocked.Type of Change
Checklist