diff --git a/src/agents/pi-embedded-runner/cache-ttl.ts b/src/agents/pi-embedded-runner/cache-ttl.ts index 2ac0227773c..85e02c08965 100644 --- a/src/agents/pi-embedded-runner/cache-ttl.ts +++ b/src/agents/pi-embedded-runner/cache-ttl.ts @@ -11,7 +11,7 @@ import { isGooglePromptCacheEligible } from "./prompt-cache-retention.js"; type CustomEntryLike = { type?: unknown; customType?: unknown; data?: unknown }; -export const CACHE_TTL_CUSTOM_TYPE = "openclaw.cache-ttl"; +const CACHE_TTL_CUSTOM_TYPE = "openclaw.cache-ttl"; export type CacheTtlEntryData = { timestamp: number; diff --git a/src/agents/pi-embedded-runner/run/attempt-bootstrap-routing.ts b/src/agents/pi-embedded-runner/run/attempt-bootstrap-routing.ts index 30def7cc3ec..141b2ec9d13 100644 --- a/src/agents/pi-embedded-runner/run/attempt-bootstrap-routing.ts +++ b/src/agents/pi-embedded-runner/run/attempt-bootstrap-routing.ts @@ -39,7 +39,7 @@ export function shouldStripBootstrapFromEmbeddedContext(_params: { return true; } -export function resolveAttemptBootstrapRouting( +function resolveAttemptBootstrapRouting( params: AttemptBootstrapRoutingInput, ): AttemptBootstrapRouting { const bootstrapMode = resolveBootstrapMode({ diff --git a/src/agents/pi-embedded-runner/run/attempt-stage-timing.ts b/src/agents/pi-embedded-runner/run/attempt-stage-timing.ts index 1a1077aba5a..f9805cf66c1 100644 --- a/src/agents/pi-embedded-runner/run/attempt-stage-timing.ts +++ b/src/agents/pi-embedded-runner/run/attempt-stage-timing.ts @@ -14,8 +14,8 @@ export type EmbeddedRunStageTracker = { snapshot: () => EmbeddedRunStageSummary; }; -export const EMBEDDED_RUN_STAGE_WARN_TOTAL_MS = 10_000; -export const EMBEDDED_RUN_STAGE_WARN_STAGE_MS = 5_000; +const EMBEDDED_RUN_STAGE_WARN_TOTAL_MS = 10_000; +const EMBEDDED_RUN_STAGE_WARN_STAGE_MS = 5_000; export function createEmbeddedRunStageTracker(options?: { now?: () => number; diff --git a/src/agents/pi-embedded-runner/run/incomplete-turn.ts b/src/agents/pi-embedded-runner/run/incomplete-turn.ts index 96a99502a03..736193206c7 100644 --- a/src/agents/pi-embedded-runner/run/incomplete-turn.ts +++ b/src/agents/pi-embedded-runner/run/incomplete-turn.ts @@ -390,7 +390,7 @@ export function resolveRunLivenessState(params: { return "working"; } -export function isReasoningOnlyAssistantTurn(message: unknown): boolean { +function isReasoningOnlyAssistantTurn(message: unknown): boolean { if (!message || typeof message !== "object") { return false; }