diff --git a/scripts/deadcode-exports.baseline.mjs b/scripts/deadcode-exports.baseline.mjs index 10fa9127206a..d27af9c90740 100644 --- a/scripts/deadcode-exports.baseline.mjs +++ b/scripts/deadcode-exports.baseline.mjs @@ -689,7 +689,6 @@ export const KNIP_UNUSED_EXPORT_BASELINE = [ "src/agents/fallback-skip-cache.ts: peekFallbackSkipBucketsForTest", "src/agents/fallback-skip-cache.ts: resetFallbackSkipCacheForTest", "src/agents/harness/lifecycle-hook-helpers.ts: clearAgentHarnessFinalizeRetryBudget", - "src/agents/harness/types.ts: AgentHarnessSideQuestionPreparedRuntimeAuth", "src/agents/lanes.ts: AGENT_LANE_CRON_NESTED", "src/agents/lanes.ts: AGENT_LANE_NESTED", "src/agents/live-auth-keys.ts: collectAnthropicApiKeys", diff --git a/src/agents/harness/types.ts b/src/agents/harness/types.ts index 6f42e98a9244..83057c3fe7b5 100644 --- a/src/agents/harness/types.ts +++ b/src/agents/harness/types.ts @@ -59,14 +59,6 @@ export type AgentHarnessAuthBindingFingerprintParams = { agentDir: string; config?: import("../../config/types.openclaw.js").OpenClawConfig; }; -export type AgentHarnessSideQuestionPreparedRuntimeAuth = { - plan: import("../runtime-plan/types.js").AgentRuntimeAuthPlan; - authProfileStore: import("../auth-profiles/types.js").AuthProfileStore; - authStorage: import("../sessions/index.js").AuthStorage; - modelRegistry: import("../sessions/index.js").ModelRegistry; - /** Resolved host credential for an immutable API-key route only. */ - resolvedApiKey?: string; -}; export type AgentHarnessSideQuestionParams = { cfg: import("../../config/types.openclaw.js").OpenClawConfig; agentDir: string; @@ -74,7 +66,14 @@ export type AgentHarnessSideQuestionParams = { model: string; runtimeModel?: import("openclaw/plugin-sdk/llm").Model; /** One atomic route/profile/store snapshot prepared before native dispatch. */ - preparedRuntimeAuth: AgentHarnessSideQuestionPreparedRuntimeAuth; + preparedRuntimeAuth: { + plan: import("../runtime-plan/types.js").AgentRuntimeAuthPlan; + authProfileStore: import("../auth-profiles/types.js").AuthProfileStore; + authStorage: import("../sessions/index.js").AuthStorage; + modelRegistry: import("../sessions/index.js").ModelRegistry; + /** Resolved host credential for an immutable API-key route only. */ + resolvedApiKey?: string; + }; question: string; sessionEntry: import("../../config/sessions.js").SessionEntry; sessionStore?: Record;