diff --git a/packages/opencode/src/session/prompt/default.txt b/packages/opencode/src/session/prompt/default.txt index 365663eeef62..cd966cf6754d 100644 --- a/packages/opencode/src/session/prompt/default.txt +++ b/packages/opencode/src/session/prompt/default.txt @@ -39,7 +39,7 @@ assistant: ls user: what command should I run to watch files in the current directory? -assistant: [use the ls tool to list the files in the current directory, then read docs/commands in the relevant file to find out how to watch files] +assistant: Use read to inspect files in the current directory, then read docs/commands in the relevant file to find out how to watch files. npm run dev @@ -50,7 +50,7 @@ assistant: 150000 user: what files are in the directory src/? -assistant: [runs ls and sees foo.c, bar.c, baz.c] +assistant: [tool_call: read for path '/path/to/project/src', reads 'src/' and sees foo.c, bar.c, baz.c] user: which file contains the implementation of foo? assistant: src/foo.c diff --git a/packages/opencode/src/session/prompt/gemini.txt b/packages/opencode/src/session/prompt/gemini.txt index 87fe422bc750..474b3b5f9a09 100644 --- a/packages/opencode/src/session/prompt/gemini.txt +++ b/packages/opencode/src/session/prompt/gemini.txt @@ -74,7 +74,7 @@ model: true user: list files here. -model: [tool_call: ls for path '/path/to/project'] +model: [tool_call: read for path '/path/to/project'] diff --git a/packages/opencode/src/session/prompt/trinity.txt b/packages/opencode/src/session/prompt/trinity.txt index 28ee4c4f2692..237ec60cb9c8 100644 --- a/packages/opencode/src/session/prompt/trinity.txt +++ b/packages/opencode/src/session/prompt/trinity.txt @@ -31,7 +31,7 @@ assistant: ls user: what command should I run to watch files in the current directory? -assistant: [use the ls tool to list the files in the current directory, then read docs/commands in the relevant file to find out how to watch files] +assistant: Use the read tool to inspect files in the current directory, then read docs/commands in the relevant file to find out how to watch files. npm run dev @@ -42,7 +42,7 @@ assistant: 150000 user: what files are in the directory src/? -assistant: [runs ls and sees foo.c, bar.c, baz.c] +assistant: [tool_call: read for path '/path/to/project/src', reads 'src/' and sees foo.c, bar.c, baz.c] user: which file contains the implementation of foo? assistant: src/foo.c