summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2026-04-02 19:16:40 -0500
committerGitHub <[email protected]>2026-04-03 00:16:40 +0000
commit38014fe4486715554a729ed00b3c540b6b4feb11 (patch)
treeb5869a64f535d65dc1a6e24d4807d0a3403dd4b0
parent8942fc21aacfbd29239962d197fcaa9b8ed3b471 (diff)
downloadopencode-38014fe4486715554a729ed00b3c540b6b4feb11.tar.gz
opencode-38014fe4486715554a729ed00b3c540b6b4feb11.zip
fix: rm dynamic part from bash tool description again to restore cache hits across projects (#20771)
-rw-r--r--packages/opencode/src/tool/bash.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/tool/bash.txt b/packages/opencode/src/tool/bash.txt
index 8d53c90ab..668cea307 100644
--- a/packages/opencode/src/tool/bash.txt
+++ b/packages/opencode/src/tool/bash.txt
@@ -2,7 +2,7 @@ Executes a given bash command in a persistent shell session with optional timeou
Be aware: OS: ${os}, Shell: ${shell}
-All commands run in ${directory} by default. Use the `workdir` parameter if you need to run a command in a different directory. AVOID using `cd <directory> && <command>` patterns - use `workdir` instead.
+All commands run in the current working directory by default. Use the `workdir` parameter if you need to run a command in a different directory. AVOID using `cd <directory> && <command>` patterns - use `workdir` instead.
IMPORTANT: This tool is for terminal operations like git, npm, docker, etc. DO NOT use it for file operations (reading, writing, editing, searching, finding files) - use the specialized tools for this instead.