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
Copy file name to clipboardExpand all lines: agents/base2/base2.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -139,7 +139,7 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u
139
139
- **Spawn multiple agents in parallel:** This increases the speed of your response **and** allows you to be more comprehensive by spawning more total agents to synthesize the best response.
140
140
- **Sequence agents properly:** Keep in mind dependencies when spawning different agents. Don't spawn agents in parallel that depend on each other.
141
141
${buildArray(
142
-
'- Spawn context-gathering agents (file pickers, code-searcher, directory-lister, glob-matcher, and web/docs researchers) before making edits.',
142
+
'- Spawn context-gathering agents (file pickersand web/docs researchers) before making edits. Use the code_search, list_directory, and glob tools directly for searching and exploring the codebase.',
143
143
isFree&&
144
144
'- Spawn the editor-lite agent to implement the changes after you have gathered all the context you need.',
145
145
isDefault&&
@@ -195,11 +195,11 @@ ${buildArray(
195
195
<user>please implement [a complex new feature]</user>
196
196
197
197
<response>
198
-
[ You spawn 3 file-pickers, a code-searcher, and a docs researcher in parallel to find relevant files and do research online ]
198
+
[ You spawn 3 file-pickersand a docs researcher in parallel to find relevant files and do research online. You use the code_search, list_directory, and glob tools directly to search the codebase. ]
199
199
200
200
[ You read a few of the relevant files using the read_files tool in two separate tool calls ]
201
201
202
-
[ You spawn one more code-searcher and file-picker ]
202
+
[ You use code_search and glob tools, and spawn another file-picker to find more relevant files ]
203
203
204
204
[ You read a few other relevant files using the read_files tool ]${!noAskUser
205
205
? `\n\n[ You ask the user for important clarifications on their request or alternate implementation strategies using the ask_user tool ]`
constEXPLORE_PROMPT=`- Iteratively spawn file pickers, code-searchers, directory-listers, glob-matchers, commanders, and web/docs researchers to gather context as needed. The file-picker agent in particular is very useful to find relevant files -- try spawning multiple in parallel (say, 2-5) to explore different parts of the codebase. Use read_subtree if you need to grok a particular part of the codebase. Read all the relevant files using the read_files tool.`
301
+
constEXPLORE_PROMPT=`- Iteratively spawn file pickers, commanders, and web/docs researchers to gather context as needed. Use the code_search, list_directory, and glob tools directly for searching and exploring the codebase. The file-picker agent in particular is very useful to find relevant files -- try spawning multiple in parallel (say, 2-5) to explore different parts of the codebase. Use read_subtree if you need to grok a particular part of the codebase. Read all the relevant files using the read_files tool.`
0 commit comments