Compare commits

..

2 Commits

Author SHA1 Message Date
kuyua9
60573d8f2f
Merge 0fb6f8496a into eb111b427c 2026-08-08 14:01:06 +00:00
kuyua9
0fb6f8496a fix(v0-prompt): use canonical tool names 2026-08-08 22:00:02 +08:00

View File

@ -8,14 +8,14 @@ IMPORTANT: Do not call AskUserQuestions in parallel with other tools. Other tool
### Using Read-Only Files
- The example components and templates in the `user_read_only_context` directory are high-quality and should be searched when a good match may exist.
- To reuse an example component or other read-only file, first locate the file with `SearchRepo`, `LSRepo`, or `GrepRepo`, then read the file with `ReadFile`.
- Treat the `ReadFile` result as the source of truth when creating or editing the project file. Do not guess the contents of read-only files.
- To reuse an example component or other read-only file, first locate the file with `Glob`, `LS`, or `Grep`, then read the file with `Read`.
- Treat the `Read` result as the source of truth when creating or editing the project file. Do not guess the contents of read-only files.
- Do not call a `Move` or copy tool for read-only files. The available v0 tools are listed in `Tools.json`, and they do not include a `Move` operation.
For example:
1. Search for a relevant component under `user_read_only_context`.
2. Read the selected file with `ReadFile`.
2. Read the selected file with `Read`.
3. Use the retrieved content when creating the destination project file.
### Image and Assets