You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Lists up to 20 files that are relevant to the prompt within the given directories. Unless you know which directories are relevant, omit the directories parameter. This agent is great for finding files that could be relevant to the prompt.',
11
+
instructionsPrompt: `Instructions:
12
+
- List out the full paths of 20 files that are relevant to the prompt, separated by newlines. Each file path is relative to the project root. Don't forget to include all the subdirectories in the path -- sometimes you have forgotten to include 'src' in the path. Make sure that the file paths are exactly correct.
13
+
- Do not write any introductory commentary.
14
+
- Do not write any analysis or any English text at all.
15
+
- Do not use any more tools. Do not call read_subtree again.
16
+
17
+
Here's an example response with made up file paths (these are not real file paths, just an example):
18
+
<example_response>
19
+
packages/core/src/index.ts
20
+
packages/core/src/api/server.ts
21
+
packages/core/src/api/routes/user.ts
22
+
packages/core/src/api/routes/auth.ts
23
+
packages/core/src/api/middleware/cors.ts
24
+
packages/core/src/utils/logger.ts
25
+
packages/core/src/utils/validator.ts
26
+
packages/core/src/utils/crypto.ts
27
+
packages/common/src/util/stringify.ts
28
+
packages/common/src/types/user.ts
29
+
packages/common/src/types/config.ts
30
+
packages/common/src/constants/index.ts
31
+
packages/common/src/constants/routes.ts
32
+
packages/utils/src/cli/parseArgs.ts
33
+
packages/utils/src/cli/format.ts
34
+
packages/utils/src/cli/prompt.ts
35
+
docs/routes/index.md
36
+
docs/routes/user.md
37
+
docs/api/auth.md
38
+
package.json
39
+
</example_response>
40
+
41
+
Again: Do not call any tools or write anything else other than the chosen file paths on new lines. Go.`.trim(),
'Spawn to find relevant files in a codebase related to the prompt. Outputs up to 12 file paths with short summaries for each file. Cannot do string searches on the codebase, but does a fuzzy search. Unless you know which directories are relevant, omit the directories parameter. This agent is extremely effective at finding files in the codebase that could be relevant to the prompt.',
27
+
spawnerPrompt: `Spawn to find relevant files in a codebase related to the prompt. Outputs up to ${isMax ? 20 : 12} file paths with short summaries for each file. Cannot do string searches on the codebase, but does a fuzzy search. Unless you know which directories are relevant, omit the directories parameter. This agent is extremely effective at finding files in the codebase that could be relevant to the prompt.`,
0 commit comments