From 32dd052260847fb3bfdce948d16f9126d9bebc09 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 18 Jan 2026 06:14:05 +0000 Subject: [PATCH] chore: show plugin hooks in plugins info --- src/auto-reply/reply/commands-context-report.ts | 3 ++- src/cli/plugins-cli.ts | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/auto-reply/reply/commands-context-report.ts b/src/auto-reply/reply/commands-context-report.ts index b3cf8001d..874c324eb 100644 --- a/src/auto-reply/reply/commands-context-report.ts +++ b/src/auto-reply/reply/commands-context-report.ts @@ -49,7 +49,8 @@ async function resolveContextReport( const workspaceDir = params.workspaceDir; const bootstrapMaxChars = resolveBootstrapMaxChars(params.cfg); - const { bootstrapFiles, contextFiles: injectedFiles } = await resolveBootstrapContextForRun({ + const { bootstrapFiles: hookAdjustedBootstrapFiles, contextFiles: injectedFiles } = + await resolveBootstrapContextForRun({ workspaceDir, config: params.cfg, sessionKey: params.sessionKey, diff --git a/src/cli/plugins-cli.ts b/src/cli/plugins-cli.ts index 538d7c681..f9443d4e6 100644 --- a/src/cli/plugins-cli.ts +++ b/src/cli/plugins-cli.ts @@ -163,6 +163,9 @@ export function registerPluginsCli(program: Command) { if (plugin.toolNames.length > 0) { lines.push(`Tools: ${plugin.toolNames.join(", ")}`); } + if (plugin.hookNames.length > 0) { + lines.push(`Hooks: ${plugin.hookNames.join(", ")}`); + } if (plugin.gatewayMethods.length > 0) { lines.push(`Gateway methods: ${plugin.gatewayMethods.join(", ")}`); }