Skip to content

Show plugin hooks in plugin details#19859

Open
abhinav-oai wants to merge 3 commits intodev/abhinav/plugin-hooks-discoveryfrom
abhinav/plugin-hooks-plugin-detail
Open

Show plugin hooks in plugin details#19859
abhinav-oai wants to merge 3 commits intodev/abhinav/plugin-hooks-discoveryfrom
abhinav/plugin-hooks-plugin-detail

Conversation

@abhinav-oai
Copy link
Copy Markdown
Collaborator

@abhinav-oai abhinav-oai commented Apr 27, 2026

Why

PR #19705 adds discovery for hooks bundled with plugins, but /plugins still only shows skills, apps, and MCP servers. This follow-up makes bundled hooks visible in the same plugin detail view so users can inspect the full plugin surface in one place.

What

  • extend plugin/read with PluginHookSummary entries containing each hook event name and handler count
  • summarize bundled plugin hooks while loading plugin details
  • render a Hooks row in the /plugins detail popup
CleanShot 2026-04-27 at 11 45 34@2x

pub struct PluginHookSummary {
pub event_name: HookEventName,
pub handler_count: usize,
}
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will expand with more metadata in the future

@abhinav-oai abhinav-oai marked this pull request as ready for review April 27, 2026 19:13
@abhinav-oai abhinav-oai requested a review from a team as a code owner April 27, 2026 19:13
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