Skip to content

Commit 476f7a7

Browse files
committed
Refactor .agents. Delete duplicate or unused agents
1 parent 1a06bdd commit 476f7a7

33 files changed

+111
-261
lines changed

.agents/ask.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

.agents/base-experimental.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

.agents/base.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
askAgentAgentStepPrompt,
55
askAgentSystemPrompt,
66
askAgentUserInputPrompt,
7-
} from '../prompts'
7+
} from './ask-prompts'
88
import {
99
AgentTemplateTypes,
1010
PLACEHOLDER,

.agents/base/ask.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { publisher } from '../constants.ts'
2+
import { ask as askFactory } from './ask-factory.ts'
3+
4+
import type { SecretAgentDefinition } from '../types/secret-agent-definition.ts'
5+
6+
const definition: SecretAgentDefinition = {
7+
id: 'ask',
8+
publisher,
9+
...askFactory('openai/gpt-5'),
10+
}
11+
12+
export default definition

.agents/base/base-experimental.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { publisher } from '../constants'
2+
import { base } from './base-factory'
3+
4+
import type { SecretAgentDefinition } from '../types/secret-agent-definition'
5+
6+
const definition: SecretAgentDefinition = {
7+
id: 'base-experimental',
8+
publisher,
9+
...base('grok-4', 'experimental'),
10+
}
11+
12+
export default definition
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
baseAgentAgentStepPrompt,
55
baseAgentSystemPrompt,
66
baseAgentUserInputPrompt,
7-
} from '../prompts'
7+
} from './base-prompts'
88

99
import type { SecretAgentDefinition } from '../types/secret-agent-definition'
1010
import type { ModelName } from 'types/agent-definition'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { publisher } from './constants.ts'
1+
import { publisher } from '../constants.ts'
22
import baseLite from './base-lite.ts'
33

4-
import type { SecretAgentDefinition } from './types/secret-agent-definition.ts'
4+
import type { SecretAgentDefinition } from '../types/secret-agent-definition.ts'
55

66
const definition: SecretAgentDefinition = {
77
...baseLite,
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { publisher } from './constants'
1+
import { publisher } from '../constants'
22
import {
33
PLACEHOLDER,
44
SecretAgentDefinition,
@@ -13,7 +13,12 @@ const definition: SecretAgentDefinition = {
1313
displayName: 'Base Lite Grok 4 Fast',
1414
publisher,
1515
model: 'x-ai/grok-4-fast',
16-
spawnableAgents: ['researcher-grok-4-fast', 'thinker', 'reviewer-lite', 'context-pruner'],
16+
spawnableAgents: [
17+
'researcher-grok-4-fast',
18+
'thinker',
19+
'reviewer-lite',
20+
'context-pruner',
21+
],
1722
instructionsPrompt:
1823
PLACEHOLDER.KNOWLEDGE_FILES_CONTENTS +
1924
'\n\n<system_instructions>' +

0 commit comments

Comments
 (0)