Skip to content

Commit c1b3bd6

Browse files
committed
Update file-lister to specify file path format & include an example
1 parent 667838e commit c1b3bd6

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.agents/file-explorer/file-lister.ts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,22 @@ const definition: SecretAgentDefinition = {
2525
instructionsPrompt: `Instructions:
2626
- Do not use any tools.
2727
- Do not write any analysis.
28-
- List out the full paths of up to 12 files that are relevant to the prompt, separated by newlines.
28+
- List out the full paths of up to 12 files that are relevant to the prompt, separated by newlines. Each file path is relative to the project root.
29+
30+
<example_output>
31+
packages/core/src/index.ts
32+
packages/core/src/api/server.ts
33+
packages/core/src/api/routes/user.ts
34+
packages/core/src/utils/logger.ts
35+
packages/common/src/util/stringify.ts
36+
packages/common/src/types/user.ts
37+
packages/common/src/constants/index.ts
38+
packages/utils/src/cli/parseArgs.ts
39+
docs/routes/index.md
40+
docs/routes/user.md
41+
package.json
42+
README.md
43+
</example_output>
2944
3045
Do not write an introduction. Do not use any tools. Do not write anything else other than the file paths.
3146
`.trim(),

0 commit comments

Comments
 (0)