mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-25 07:21:33 +00:00
refactor(agents): inline side-question auth type (#106973)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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<import("openclaw/plugin-sdk/llm").Api>;
|
||||
/** 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<string, import("../../config/sessions.js").SessionEntry>;
|
||||
|
||||
Reference in New Issue
Block a user