From fd70b9b057546b7602f49c3541d657f55d83d69f Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Sun, 12 Oct 2025 16:48:03 -0500 Subject: [PATCH] fix: adjust list tool prompt to handle cwd better (#3115) --- packages/opencode/src/tool/ls.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/tool/ls.txt b/packages/opencode/src/tool/ls.txt index 90e489e8..543720d4 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.