Merge b57101b80d607008aa21d6fab4ee844433307c27 into 598f1826d8b2bc969aace2c6459824737667218c

This commit is contained in:
Lucky-Lodhi2004 2026-03-20 20:15:20 -07:00 committed by GitHub
commit 5b896b3827
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -204,7 +204,15 @@ export function createExecTool(
label: "exec",
description:
"Execute shell commands with background continuation. Use yieldMs/background to continue later via process tool. Use pty=true for TTY-required commands (terminal UIs, coding agents).",
parameters: execSchema,
parameters: Type.Object({
...execSchema.properties,
host: Type.Optional(
Type.String({
description: "Exec host (sandbox|gateway|node).",
default: defaults?.host ?? "sandbox",
}),
),
}),
execute: async (_toolCallId, args, signal, onUpdate) => {
const params = args as {
command: string;