From 2193955f89d3ecc82160d1379d54bb4e3c8daa6a Mon Sep 17 00:00:00 2001 From: Daniel Hsu Date: Fri, 10 Oct 2025 13:54:29 -0700 Subject: [PATCH 1/2] Expose types in CodebuffClientOptions --- sdk/src/index.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sdk/src/index.ts b/sdk/src/index.ts index 24a048012d..07e4a10dc1 100644 --- a/sdk/src/index.ts +++ b/sdk/src/index.ts @@ -1,15 +1,19 @@ -export type * from './run' export type * from '../../common/src/types/json' export type * from '../../common/src/types/messages/codebuff-message' export type * from '../../common/src/types/messages/data-content' +export type * from '../../common/src/types/print-mode' +export type * from './run' // Agent type exports export type { AgentDefinition } from '../../common/src/templates/initial-agents-dir/types/agent-definition' // Re-export code analysis functionality export * from '../../packages/code-map/src/index' +export type { PublishedToolName } from '../../common/src/tools/constants' +export type { ClientToolCall, ClientToolName, CodebuffToolOutput } from '../../common/src/tools/list' export * from './client' export * from './custom-tool' -export * from './run-state' -export * from './websocket-client' export * from './native/ripgrep' +export * from './run-state' export { ToolHelpers } from './tools' +export * from './websocket-client' + From f6d0ef00fb0328461f50f45af2014e325a7b0933 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Fri, 10 Oct 2025 16:16:30 -0500 Subject: [PATCH 2/2] Remove PublishedToolName --- sdk/src/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk/src/index.ts b/sdk/src/index.ts index 07e4a10dc1..1baba1a617 100644 --- a/sdk/src/index.ts +++ b/sdk/src/index.ts @@ -8,12 +8,11 @@ export type { AgentDefinition } from '../../common/src/templates/initial-agents- // Re-export code analysis functionality export * from '../../packages/code-map/src/index' -export type { PublishedToolName } from '../../common/src/tools/constants' export type { ClientToolCall, ClientToolName, CodebuffToolOutput } from '../../common/src/tools/list' export * from './client' export * from './custom-tool' export * from './native/ripgrep' export * from './run-state' -export { ToolHelpers } from './tools' +export { ToolHelpers, ToolName } from './tools' export * from './websocket-client'