summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-10-12 16:48:03 -0500
committerGitHub <[email protected]>2025-10-12 16:48:03 -0500
commitfd70b9b057546b7602f49c3541d657f55d83d69f (patch)
tree142746cc334c5bd56a0b8e491fe8a13f500c1307
parentde13ccb757fa8e758fa39c2ec7f69b4c26f71593 (diff)
downloadopencode-fd70b9b057546b7602f49c3541d657f55d83d69f.tar.gz
opencode-fd70b9b057546b7602f49c3541d657f55d83d69f.zip
fix: adjust list tool prompt to handle cwd better (#3115)
-rw-r--r--packages/opencode/src/tool/ls.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/tool/ls.txt b/packages/opencode/src/tool/ls.txt
index 90e489e83..543720d46 100644
--- a/packages/opencode/src/tool/ls.txt
+++ b/packages/opencode/src/tool/ls.txt
@@ -1 +1 @@
-Lists files and directories in a given path. The path parameter must be an absolute path, not a relative path. You can optionally provide an array of glob patterns to ignore with the ignore parameter. You should generally prefer the Glob and Grep tools, if you know which directories to search.
+Lists files and directories in a given path. The path parameter must be absolute; omit it to use the current workspace directory. You can optionally provide an array of glob patterns to ignore with the ignore parameter. You should generally prefer the Glob and Grep tools, if you know which directories to search.