core: expose tool arguments in shell hook for plugin visibility

This commit is contained in:
Dax Raad 2026-02-12 09:54:47 -05:00
commit 56ad2db020
2 changed files with 4 additions and 1 deletions

View file

@ -187,7 +187,7 @@ export interface Hooks {
) => Promise<void>
"shell.env"?: (input: { cwd: string }, output: { env: Record<string, string> }) => Promise<void>
"tool.execute.after"?: (
input: { tool: string; sessionID: string; callID: string },
input: { tool: string; sessionID: string; callID: string; args: any },
output: {
title: string
output: string