Skip to content

Commit aa41db4

Browse files
committed
fix a few references to AgentConfig
1 parent 9f1a116 commit aa41db4

35 files changed

+90
-100
lines changed

.agents/ask.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { publisher, version } from './constants'
22

33
import type { AgentDefinition } from './types/agent-definition'
44

5-
const config: AgentDefinition = {
5+
const definition: AgentDefinition = {
66
id: 'ask',
77
version,
88
publisher,
@@ -237,4 +237,4 @@ Reminder: Don't forget to spawn agents that could help: the file picker to get c
237237
</system_instructions>`,
238238
}
239239

240-
export default config
240+
export default definition

.agents/base-experimental.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { publisher, version } from './constants'
22

33
import type { AgentDefinition } from './types/agent-definition'
44

5-
const config: AgentDefinition = {
5+
const definition: AgentDefinition = {
66
id: 'base-experimental',
77
version,
88
publisher,
@@ -337,4 +337,4 @@ User cwd: {CODEBUFF_USER_CWD}
337337
`,
338338
}
339339

340-
export default config
340+
export default definition

.agents/base-lite.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { publisher, version } from './constants'
22

33
import type { AgentDefinition } from './types/agent-definition'
44

5-
const config: AgentDefinition = {
5+
const definition: AgentDefinition = {
66
id: 'base-lite',
77
version,
88
publisher,
@@ -331,4 +331,4 @@ User cwd: {CODEBUFF_USER_CWD}
331331
`,
332332
}
333333

334-
export default config
334+
export default definition

.agents/base-max.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { publisher, version } from './constants'
22

33
import type { AgentDefinition } from './types/agent-definition'
44

5-
const config: AgentDefinition = {
5+
const definition: AgentDefinition = {
66
id: 'base-max',
77
version,
88
publisher,
@@ -327,4 +327,4 @@ User cwd: {CODEBUFF_USER_CWD}
327327
`,
328328
}
329329

330-
export default config
330+
export default definition

.agents/base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { publisher, version } from './constants'
22

33
import type { AgentDefinition } from './types/agent-definition'
44

5-
const config: AgentDefinition = {
5+
const definition: AgentDefinition = {
66
id: 'base',
77
version,
88
publisher,
@@ -327,4 +327,4 @@ User cwd: {CODEBUFF_USER_CWD}
327327
`,
328328
}
329329

330-
export default config
330+
export default definition

.agents/brainstormer.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { publisher, version } from './constants'
22

33
import type { AgentDefinition } from './types/agent-definition'
44

5-
const config: AgentDefinition = {
5+
const definition: AgentDefinition = {
66
id: 'brainstormer',
77
version,
88
publisher,
@@ -19,7 +19,10 @@ const config: AgentDefinition = {
1919
outputMode: 'last_message',
2020

2121
toolNames: ['spawn_agents', 'end_turn'],
22-
spawnableAgents: [`codebuff/thinker@${version}`, `codebuff/researcher@${version}`],
22+
spawnableAgents: [
23+
`codebuff/thinker@${version}`,
24+
`codebuff/researcher@${version}`,
25+
],
2326

2427
parentPrompt:
2528
'Acts as a creative thought partner, generating ideas and exploring alternative viewpoints to help think through problems.',
@@ -60,4 +63,4 @@ Remember: Your goal is to expand thinking, not to provide definitive answers. He
6063
'Act as a creative thought partner. Generate multiple perspectives, challenge assumptions, explore alternatives, and ask probing questions to help think through problems more thoroughly.',
6164
}
6265

63-
export default config
66+
export default definition

.agents/changes-reviewer.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import { publisher, version } from './constants'
22

3-
import type { AgentDefinition, AgentStepContext } from './types/agent-definition'
3+
import type {
4+
AgentDefinition,
5+
AgentStepContext,
6+
} from './types/agent-definition'
47

5-
const config: AgentDefinition = {
8+
const definition: AgentDefinition = {
69
id: 'changes-reviewer',
710
version,
811
publisher,
@@ -104,4 +107,4 @@ Use the following guidelines to review the changes and suggest improvements:
104107
},
105108
}
106109

107-
export default config
110+
export default definition

.agents/charles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import type { AgentDefinition } from './types/agent-definition'
99
* Charles combines scientific expertise with research capabilities to provide
1010
* comprehensive insights into tuna behavior, ecology, and conservation.
1111
*/
12-
const config: AgentDefinition = {
12+
const definition: AgentDefinition = {
1313
id: 'charles',
1414
version,
1515
publisher,
@@ -65,4 +65,4 @@ You approach every research question with scientific rigor, enthusiasm for marin
6565
Provide well-structured, scientifically accurate responses that demonstrate your passion for tuna research and marine conservation.`,
6666
}
6767

68-
export default config
68+
export default definition

.agents/claude4-gemini-thinking.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { publisher, version } from './constants'
22

33
import type { AgentDefinition } from './types/agent-definition'
44

5-
const config: AgentConfig = {
5+
const definition: AgentDefinition = {
66
id: 'claude4-gemini-thinking',
77
version,
88
publisher,
@@ -42,8 +42,6 @@ const config: AgentConfig = {
4242
- **Tone:** Maintain a positive, friendly, and helpful tone. Use clear and encouraging language.
4343
- **Clarity & Conciseness:** Explain your steps clearly but concisely. Say the least you can to get your point across. If you can, answer in one sentence only. Do not summarize changes. End turn early.
4444
45-
46-
const config: AgentDefinition = {
4745
You are working on a project over multiple "iterations," reminiscent of the movie "Memento," aiming to accomplish the user\'s request.
4846
# Agents
4947
@@ -340,4 +338,4 @@ User cwd: {CODEBUFF_USER_CWD}
340338
},
341339
}
342340

343-
export default config
341+
export default definition

.agents/examples/diff-reviewer-1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { AgentDefinition } from '../types/agent-definition'
22

3-
const config: AgentDefinition = {
3+
const definition: AgentDefinition = {
44
id: 'diff-reviewer-1',
55

66
displayName: 'Diff Reviewer (Level 1)',
@@ -15,4 +15,4 @@ const config: AgentDefinition = {
1515
3. Review the changes and suggest improvements`,
1616
}
1717

18-
export default config
18+
export default definition

0 commit comments

Comments
 (0)