From 85bd8639141b86644444c3a30f2c20c393496341 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 90e489e83f..543720d46b 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.