From a30696f9bfefc58d640316c6a864c9bb255de690 Mon Sep 17 00:00:00 2001 From: Tyler Gannon Date: Tue, 3 Feb 2026 15:18:41 -0600 Subject: feat(plugin): add shell.env hook for manipulating environment in tools and shell (#12012) --- packages/plugin/src/index.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/plugin/src') diff --git a/packages/plugin/src/index.ts b/packages/plugin/src/index.ts index 86e7ae934..4cc84a5f3 100644 --- a/packages/plugin/src/index.ts +++ b/packages/plugin/src/index.ts @@ -185,6 +185,7 @@ export interface Hooks { input: { tool: string; sessionID: string; callID: string }, output: { args: any }, ) => Promise + "shell.env"?: (input: { cwd: string }, output: { env: Record }) => Promise "tool.execute.after"?: ( input: { tool: string; sessionID: string; callID: string }, output: { -- cgit v1.2.3