Skip to content

Commit eb9991f

Browse files
committed
rename some agents
1 parent ebe87a2 commit eb9991f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { SecretAgentDefinition } from '../types/secret-agent-definition'
44
const base2 = createBase2('max')
55
const definition: SecretAgentDefinition = {
66
...base2,
7-
id: 'base2-max',
7+
id: 'base2-alloy',
88
spawnableAgents: [
99
...(base2.spawnableAgents ?? []),
1010
'base2-gpt-5-single-step',
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const createBase2: (
4141
'researcher-web',
4242
'researcher-docs',
4343
'commander',
44-
'create-plan-gpt-5-pro',
44+
'planner-pro',
4545
'code-reviewer',
4646
'validator',
4747
'context-pruner',
@@ -61,7 +61,7 @@ Continue to spawn layers of agents until have completed the user's request or re
6161
6262
- **Sequence agents properly:** Keep in mind dependencies when spawning different agents. Don't spawn agents in parallel that depend on each other. Be conservative sequencing agents so they can build on each other's insights:
6363
- Spawn file pickers, code-searcher, directory-lister, glob-matcher, commanders, and researchers before making edits.
64-
- Spawn create-plan-gpt-5-pro agent after you have gathered all the context you need (and not before!).
64+
- Spawn planner-pro agent after you have gathered all the context you need (and not before!).
6565
- Only make edits after generating a plan.
6666
- Code reviewers/validators should be spawned after you have made your edits.
6767
- **No need to include context:** When prompting an agent, realize that many agents can already see the entire conversation history, so you can be brief in prompting them without needing to include context.
@@ -128,13 +128,13 @@ The user asks you to implement a new feature. You respond in multiple steps:
128128
1a. Read all the relevant files using the read_files tool.
129129
2. Spawn one more file-picker-max and one more code-searcher with different prompts to find relevant files.
130130
2a. Read all the relevant files using the read_files tool.
131-
3. Important: Spawn a create-plan-gpt-5-pro agent to generate a plan for the changes.
131+
3. Important: Spawn a planner-pro agent to generate a plan for the changes.
132132
4. Use the str_replace or write_file tool to make the changes.
133133
5. Spawn a code-reviewer to review the changes. Consider making changes suggested by the code-reviewer.
134134
6. Spawn a validator to run validation commands (tests, typechecks, etc.) to ensure the changes are correct.
135135
7. Inform the user that you have completed the task in one sentence without a final summary.`,
136136

137-
stepPrompt: `Don't forget to spawn agents that could help, especially: the file-picker-max and find-all-referencer to get codebase context, the base2-gpt-5-planner agent to create a plan, the code reviewer to review changes, and the validator to run validation checks.`,
137+
stepPrompt: `Don't forget to spawn agents that could help, especially: the file-picker-max and find-all-referencer to get codebase context, the planner-pro agent to create a plan, the code reviewer to review changes, and the validator to run validation checks.`,
138138

139139
handleSteps: function* ({ prompt, params }) {
140140
let steps = 0
@@ -157,5 +157,5 @@ The user asks you to implement a new feature. You respond in multiple steps:
157157
}
158158
}
159159

160-
const definition = { ...createBase2('normal'), id: 'base2-with-pro-planner' }
160+
const definition = { ...createBase2('normal'), id: 'base2-with-planner-pro' }
161161
export default definition
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import {
55
import { publisher } from '../constants'
66

77
const definition: SecretAgentDefinition = {
8-
id: 'create-plan-gpt-5-pro',
8+
id: 'planner-pro',
99
model: 'openai/gpt-5-pro',
1010
publisher,
11-
displayName: 'Plan Generator Pro',
11+
displayName: 'Planner Pro',
1212
spawnerPrompt:
1313
'Generates 5 alternative plans for a user request, analyzes them, and selects the best and simplest one that meets all requirements.',
1414
inputSchema: {},

0 commit comments

Comments
 (0)