diff --git a/src/entry.compile-cache.ts b/src/entry.compile-cache.ts index fb757ad14ad..f3b2c8905a1 100644 --- a/src/entry.compile-cache.ts +++ b/src/entry.compile-cache.ts @@ -84,7 +84,7 @@ export function resolveOpenClawCompileCacheDirectory(params: { ); } -export type OpenClawCompileCacheRespawnPlan = { +type OpenClawCompileCacheRespawnPlan = { command: string; args: string[]; env: NodeJS.ProcessEnv; diff --git a/src/entry.respawn.ts b/src/entry.respawn.ts index 622f837f1cb..6cad036b063 100644 --- a/src/entry.respawn.ts +++ b/src/entry.respawn.ts @@ -7,7 +7,7 @@ export const EXPERIMENTAL_WARNING_FLAG = "--disable-warning=ExperimentalWarning" export const OPENCLAW_NODE_OPTIONS_READY = "OPENCLAW_NODE_OPTIONS_READY"; export const OPENCLAW_NODE_EXTRA_CA_CERTS_READY = "OPENCLAW_NODE_EXTRA_CA_CERTS_READY"; -export type CliRespawnPlan = { +type CliRespawnPlan = { command: string; argv: string[]; env: NodeJS.ProcessEnv; @@ -29,7 +29,7 @@ export function resolveCliRespawnCommand(params: { return params.execPath; } -export function hasExperimentalWarningSuppressed( +function hasExperimentalWarningSuppressed( params: { env?: NodeJS.ProcessEnv; execArgv?: string[]; diff --git a/src/poll-params.ts b/src/poll-params.ts index 441bc836de1..0175a290d09 100644 --- a/src/poll-params.ts +++ b/src/poll-params.ts @@ -1,9 +1,9 @@ import { readSnakeCaseParamRaw } from "./param-key.js"; import { normalizeLowercaseStringOrEmpty } from "./shared/string-coerce.js"; -export type PollCreationParamKind = "string" | "stringArray" | "number" | "boolean"; +type PollCreationParamKind = "string" | "stringArray" | "number" | "boolean"; -export type PollCreationParamDef = { +type PollCreationParamDef = { kind: PollCreationParamKind; };