Skip to content

Commit ffc4e41

Browse files
committed
reorganize/delete some base2 variants
1 parent e59852e commit ffc4e41

File tree

11 files changed

+24
-238
lines changed

11 files changed

+24
-238
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createBase2 } from './base2'
1+
import { createBase2 } from '../.agents/base2/base2'
22

33
const base2Fast = createBase2('fast')
44
const definition = {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { createBase2 } from './base2'
2-
import type { SecretAgentDefinition } from '../types/secret-agent-definition'
1+
import { createBase2 } from '../base2'
2+
import type { SecretAgentDefinition } from '../../types/secret-agent-definition'
33

44
const base2 = createBase2('fast')
55
const definition: SecretAgentDefinition = {

.agents/base2/base2-gpt-5-single-step.ts renamed to .agents/base2/alloy/base2-gpt-5-single-step.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { createBase2 } from './base2'
2-
import type { SecretAgentDefinition } from '../types/secret-agent-definition'
1+
import { createBase2 } from '../base2'
2+
import type { SecretAgentDefinition } from '../../types/secret-agent-definition'
33

44
const definition: SecretAgentDefinition = {
55
...createBase2('fast'),

.agents/base2/base2-gpt-5.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
1-
import { buildArray } from '@codebuff/common/util/array'
21
import { createBase2 } from './base2'
32
import type { SecretAgentDefinition } from '../types/secret-agent-definition'
43

5-
const base = createBase2('fast')
4+
const base2 = createBase2('fast')
65

76
const definition: SecretAgentDefinition = {
8-
...base,
7+
...base2,
98
id: 'base2-gpt-5',
109
model: 'openai/gpt-5',
11-
spawnableAgents: buildArray(
12-
'file-picker',
13-
'find-all-referencer',
14-
'researcher-web',
15-
'researcher-docs',
16-
'commander',
17-
'reviewer-gpt-5',
18-
'context-pruner',
19-
),
2010
}
2111

2212
export default definition

.agents/base2/base2-with-task-researcher-full.ts

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

.agents/base2/base2-gpt-5-with-task-researcher.ts renamed to .agents/base2/task-researcher/base2-gpt-5-with-task-researcher.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import { buildArray } from '@codebuff/common/util/array'
22

3-
import { publisher } from '../constants'
3+
import { publisher } from '../../constants'
44
import {
55
PLACEHOLDER,
66
type SecretAgentDefinition,
7-
} from '../types/secret-agent-definition'
8-
import { ToolCall } from 'types/agent-definition'
7+
} from '../../types/secret-agent-definition'
8+
9+
import type { ToolCall } from 'types/agent-definition'
910

1011
export const createBase2WithTaskResearcher: () => Omit<
1112
SecretAgentDefinition,

.agents/base2/base2-with-task-researcher-planner-pro.ts renamed to .agents/base2/task-researcher/base2-with-task-researcher-planner-pro.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import { buildArray } from '@codebuff/common/util/array'
22

3-
import { publisher } from '../constants'
3+
import { publisher } from '../../constants'
44
import {
55
PLACEHOLDER,
66
type SecretAgentDefinition,
7-
} from '../types/secret-agent-definition'
8-
import { ToolCall } from 'types/agent-definition'
7+
} from '../../types/secret-agent-definition'
8+
9+
import type { ToolCall } from 'types/agent-definition'
910

1011
export const createBase2WithTaskResearcher: () => Omit<
1112
SecretAgentDefinition,

.agents/base2/base2-with-task-researcher.ts renamed to .agents/base2/task-researcher/base2-with-task-researcher.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import { buildArray } from '@codebuff/common/util/array'
22

3-
import { publisher } from '../constants'
3+
import { publisher } from '../../constants'
44
import {
55
PLACEHOLDER,
66
type SecretAgentDefinition,
7-
} from '../types/secret-agent-definition'
8-
import { ToolCall } from 'types/agent-definition'
7+
} from '../../types/secret-agent-definition'
8+
9+
import type { ToolCall } from 'types/agent-definition'
910

1011
export const createBase2WithTaskResearcher: () => Omit<
1112
SecretAgentDefinition,

.agents/base2/base2-with-files-input.ts renamed to .agents/orchestrator/iterative-orchestrator/base2-with-files-input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { SecretAgentDefinition } from 'types/secret-agent-definition'
2-
import { createBase2 } from './base2'
2+
import { createBase2 } from '../../base2/base2'
33

44
const definition: SecretAgentDefinition = {
55
...createBase2('fast'),

.agents/base2/base2-implementor-gpt-5.ts renamed to .agents/orchestrator/research-implement-orchestrator/base2-implementor-gpt-5.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { buildArray } from '@codebuff/common/util/array'
22

3-
import { publisher } from '../constants'
3+
import { publisher } from '../../constants'
44
import {
55
PLACEHOLDER,
66
type SecretAgentDefinition,
7-
} from '../types/secret-agent-definition'
7+
} from '../../types/secret-agent-definition'
88

99
export const createBase2Implementor: () => Omit<
1010
SecretAgentDefinition,

0 commit comments

Comments
 (0)