feat(plugin): pass sessionID and callID to shell.env hook input (#13662)

This commit is contained in:
Helge Tesdal
2026-02-18 21:14:18 +01:00
committed by GitHub
parent 63dfadaef9
commit 27a5de8ce1
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ export const BashTool = Tool.define("bash", async () => {
})
}
const shellEnv = await Plugin.trigger("shell.env", { cwd }, { env: {} })
const shellEnv = await Plugin.trigger("shell.env", { cwd, sessionID: ctx.sessionID, callID: ctx.callID }, { env: {} })
const proc = spawn(params.command, {
shell,
cwd,