Skip to content

Commit 52ac82a

Browse files
committed
sdk index: Import ToolName from proper file
1 parent 8a2bb28 commit 52ac82a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

sdk/src/index.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,19 @@ export type * from '../../common/src/types/print-mode'
55
export type * from './run'
66
// Agent type exports
77
export type { AgentDefinition } from '../../common/src/templates/initial-agents-dir/types/agent-definition'
8+
export type { ToolName } from '../../common/src/templates/initial-agents-dir/types/tools'
9+
810
// Re-export code analysis functionality
911
export * from '../../packages/code-map/src/index'
1012

11-
export type { ClientToolCall, ClientToolName, CodebuffToolOutput } from '../../common/src/tools/list'
13+
export type {
14+
ClientToolCall,
15+
ClientToolName,
16+
CodebuffToolOutput,
17+
} from '../../common/src/tools/list'
1218
export * from './client'
1319
export * from './custom-tool'
1420
export * from './native/ripgrep'
1521
export * from './run-state'
16-
export { ToolHelpers, ToolName } from './tools'
22+
export { ToolHelpers } from './tools'
1723
export * from './websocket-client'
18-

0 commit comments

Comments
 (0)