diff --git a/src/agents/cli-runner/bundle-mcp.test-support.ts b/src/agents/cli-runner/bundle-mcp.test-support.ts index c9e9a53e3f2..a1c95764ccc 100644 --- a/src/agents/cli-runner/bundle-mcp.test-support.ts +++ b/src/agents/cli-runner/bundle-mcp.test-support.ts @@ -42,7 +42,7 @@ export function setupCliBundleMcpTestHarness(): void { }); } -export function createEnabledBundleProbeConfig(): OpenClawConfig { +function createEnabledBundleProbeConfig(): OpenClawConfig { return { plugins: { entries: { diff --git a/src/agents/pi-embedded-runner/model.test-harness.ts b/src/agents/pi-embedded-runner/model.test-harness.ts index 925d885ed0c..e94cef1cf69 100644 --- a/src/agents/pi-embedded-runner/model.test-harness.ts +++ b/src/agents/pi-embedded-runner/model.test-harness.ts @@ -87,7 +87,7 @@ export function buildOpenAICodexForwardCompatExpectation( }; } -export const GOOGLE_GEMINI_CLI_PRO_TEMPLATE_MODEL = { +const GOOGLE_GEMINI_CLI_PRO_TEMPLATE_MODEL = { id: "gemini-3-pro-preview", name: "Gemini 3 Pro Preview (Cloud Code Assist)", provider: "google-gemini-cli", @@ -100,7 +100,7 @@ export const GOOGLE_GEMINI_CLI_PRO_TEMPLATE_MODEL = { maxTokens: 64000, }; -export const GOOGLE_GEMINI_CLI_FLASH_TEMPLATE_MODEL = { +const GOOGLE_GEMINI_CLI_FLASH_TEMPLATE_MODEL = { id: "gemini-3-flash-preview", name: "Gemini 3 Flash Preview (Cloud Code Assist)", provider: "google-gemini-cli", diff --git a/src/agents/pi-embedded-runner/run.overflow-compaction.fixture.ts b/src/agents/pi-embedded-runner/run.overflow-compaction.fixture.ts index da7e077ff67..d9464c7289b 100644 --- a/src/agents/pi-embedded-runner/run.overflow-compaction.fixture.ts +++ b/src/agents/pi-embedded-runner/run.overflow-compaction.fixture.ts @@ -1,7 +1,7 @@ import { buildAttemptReplayMetadata } from "./run/incomplete-turn.js"; import type { EmbeddedRunAttemptResult } from "./run/types.js"; -export const DEFAULT_OVERFLOW_ERROR_MESSAGE = +const DEFAULT_OVERFLOW_ERROR_MESSAGE = "request_too_large: Request size exceeds model context window"; export function makeOverflowError(message: string = DEFAULT_OVERFLOW_ERROR_MESSAGE): Error { diff --git a/src/agents/sandbox/fs-bridge.test-helpers.ts b/src/agents/sandbox/fs-bridge.test-helpers.ts index ffb339f7d45..6de9e890301 100644 --- a/src/agents/sandbox/fs-bridge.test-helpers.ts +++ b/src/agents/sandbox/fs-bridge.test-helpers.ts @@ -171,7 +171,7 @@ export async function withTempDir( } } -export function installDockerReadMock(params?: { canonicalPath?: string }) { +function installDockerReadMock(params?: { canonicalPath?: string }) { const canonicalPath = params?.canonicalPath; mockedExecDockerRaw.mockImplementation(async (args) => { const script = getDockerScript(args); diff --git a/src/agents/test-helpers/claude-api-error-fixture.ts b/src/agents/test-helpers/claude-api-error-fixture.ts index 2fa1f0fe9d6..313ae9c8c4b 100644 --- a/src/agents/test-helpers/claude-api-error-fixture.ts +++ b/src/agents/test-helpers/claude-api-error-fixture.ts @@ -1,4 +1,4 @@ -export const CLAUDE_API_ERROR_MESSAGE = +const CLAUDE_API_ERROR_MESSAGE = "Third-party apps now draw from your extra usage, not your plan limits. We've added a $200 credit to get you started. Claim it at claude.ai/settings/usage and keep going."; export function createClaudeApiErrorFixture() { diff --git a/src/agents/test-helpers/unsafe-mounted-sandbox.ts b/src/agents/test-helpers/unsafe-mounted-sandbox.ts index b2764e0e377..70d651d3bb2 100644 --- a/src/agents/test-helpers/unsafe-mounted-sandbox.ts +++ b/src/agents/test-helpers/unsafe-mounted-sandbox.ts @@ -6,7 +6,7 @@ import type { SandboxFsBridge, SandboxResolvedPath } from "../sandbox/fs-bridge. import { createSandboxFsBridgeFromResolver } from "./host-sandbox-fs-bridge.js"; import { createPiToolsSandboxContext } from "./pi-tools-sandbox-context.js"; -export function createUnsafeMountedBridge(params: { +function createUnsafeMountedBridge(params: { root: string; agentHostRoot: string; workspaceContainerRoot?: string;