Skip to content

Commit 8d31e36

Browse files
committed
Move most .agents to agents directory: what will be bundled in our cli. Local .agents is for agents specific to our repo.
1 parent 5b39f40 commit 8d31e36

177 files changed

Lines changed: 1440 additions & 138 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
baseAgentUserInputPrompt,
77
} from './base-prompts'
88

9-
import type { SecretAgentDefinition } from '../types/secret-agent-definition'
9+
import type { SecretAgentDefinition } from '../../agents/types/secret-agent-definition'
1010
import type { ModelName } from 'types/agent-definition'
1111

1212
export const base = (
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 '../../agents/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 '../../agents/types/secret-agent-definition.ts'
55

66
const definition: SecretAgentDefinition = {
77
...baseLite,
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { base } from './base-factory.ts'
2-
import { publisher } from '../constants.ts'
2+
import { publisher } from '../../agents/constants.ts'
33

4-
import type { SecretAgentDefinition } from '../types/secret-agent-definition.ts'
4+
import type { SecretAgentDefinition } from '../../agents/types/secret-agent-definition.ts'
55
import { baseAgentAgentStepPrompt } from './base-prompts.ts'
66

77
const definition: SecretAgentDefinition = {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getToolCallString } from '@codebuff/common/tools/utils'
33
import { buildArray } from '@codebuff/common/util/array'
44
import { closeXml } from '@codebuff/common/util/xml'
55

6-
import { PLACEHOLDER } from '../types/secret-agent-definition'
6+
import { PLACEHOLDER } from '../../agents/types/secret-agent-definition'
77

88
import type { Model } from '@codebuff/common/old-constants'
99

0 commit comments

Comments
 (0)