From 2e12a67198afd2e8f4cf4270de8f033bf6677193 Mon Sep 17 00:00:00 2001 From: Hadi Minooei Date: Mon, 15 Sep 2025 13:27:19 -0700 Subject: [PATCH] update shell info (#8489) --- packages/core/src/tools/__snapshots__/shell.test.ts.snap | 4 ++-- packages/core/src/tools/shell.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/tools/__snapshots__/shell.test.ts.snap b/packages/core/src/tools/__snapshots__/shell.test.ts.snap index bd78e8e0e9..1579cb9716 100644 --- a/packages/core/src/tools/__snapshots__/shell.test.ts.snap +++ b/packages/core/src/tools/__snapshots__/shell.test.ts.snap @@ -6,7 +6,7 @@ exports[`ShellTool > getDescription > should return the non-windows description The following information is returned: Command: Executed command. - Directory: Directory (relative to project root) where command was executed, or \`(root)\`. + Directory: Directory where command was executed, or \`(root)\`. Stdout: Output on stdout stream. Can be \`(empty)\` or partial on error and for any unwaited background processes. Stderr: Output on stderr stream. Can be \`(empty)\` or partial on error and for any unwaited background processes. Error: Error or \`(none)\` if no error was reported for the subprocess. @@ -22,7 +22,7 @@ exports[`ShellTool > getDescription > should return the windows description when The following information is returned: Command: Executed command. - Directory: Directory (relative to project root) where command was executed, or \`(root)\`. + Directory: Directory where command was executed, or \`(root)\`. Stdout: Output on stdout stream. Can be \`(empty)\` or partial on error and for any unwaited background processes. Stderr: Output on stderr stream. Can be \`(empty)\` or partial on error and for any unwaited background processes. Error: Error or \`(none)\` if no error was reported for the subprocess. diff --git a/packages/core/src/tools/shell.ts b/packages/core/src/tools/shell.ts index 86eae238d1..5562580d87 100644 --- a/packages/core/src/tools/shell.ts +++ b/packages/core/src/tools/shell.ts @@ -306,7 +306,7 @@ function getShellToolDescription(): string { The following information is returned: Command: Executed command. - Directory: Directory (relative to project root) where command was executed, or \`(root)\`. + Directory: Directory where command was executed, or \`(root)\`. Stdout: Output on stdout stream. Can be \`(empty)\` or partial on error and for any unwaited background processes. Stderr: Output on stderr stream. Can be \`(empty)\` or partial on error and for any unwaited background processes. Error: Error or \`(none)\` if no error was reported for the subprocess.