diff --git a/src/acp/client.ts b/src/acp/client.ts index f9a60e9a1af..c08b95cdf29 100644 --- a/src/acp/client.ts +++ b/src/acp/client.ts @@ -29,7 +29,7 @@ export { shouldStripProviderAuthEnvVarsForAcpServer, } from "./client-helpers.js"; -export type AcpClientOptions = { +type AcpClientOptions = { cwd?: string; serverCommand?: string; serverArgs?: string[]; @@ -37,7 +37,7 @@ export type AcpClientOptions = { verbose?: boolean; }; -export type AcpClientHandle = { +type AcpClientHandle = { client: ClientSideConnection; agent: ChildProcess; sessionId: string; @@ -112,7 +112,7 @@ function printSessionUpdate(notification: SessionNotification): void { } } -export async function createAcpClient(opts: AcpClientOptions = {}): Promise { +async function createAcpClient(opts: AcpClientOptions = {}): Promise { const cwd = opts.cwd ?? process.cwd(); const verbose = Boolean(opts.verbose); const log = verbose ? (msg: string) => console.error(`[acp-client] ${msg}`) : () => {}; diff --git a/src/acp/session-interaction-mode.ts b/src/acp/session-interaction-mode.ts index d553e9685f7..56d9866090c 100644 --- a/src/acp/session-interaction-mode.ts +++ b/src/acp/session-interaction-mode.ts @@ -1,7 +1,7 @@ import type { SessionEntry } from "../config/sessions/types.js"; import { normalizeOptionalString } from "../shared/string-coerce.js"; -export type AcpSessionInteractionMode = "interactive" | "parent-owned-background"; +type AcpSessionInteractionMode = "interactive" | "parent-owned-background"; type SessionInteractionEntry = Pick; diff --git a/src/acp/session-mapper.ts b/src/acp/session-mapper.ts index da30721d22e..356be60d208 100644 --- a/src/acp/session-mapper.ts +++ b/src/acp/session-mapper.ts @@ -2,7 +2,7 @@ import type { GatewayClient } from "../gateway/client.js"; import { readBool, readString } from "./meta.js"; import type { AcpServerOptions } from "./types.js"; -export type AcpSessionMeta = { +type AcpSessionMeta = { sessionKey?: string; sessionLabel?: string; resetSession?: boolean;