mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-03 10:21:40 +00:00
* refactor(agents): prepare model runtime catalogs Build lifecycle-owned model and auth snapshots, carry prepared stores into hot agent paths, and serialize config/auth publication. Credits @zeroaltitude's #90741 investigation and benchmark approach. * refactor: finish lifecycle-owned model discovery * fix: align prepared model catalog contracts * test: align lifecycle catalog mocks * test: fix prepared catalog type fixtures * refactor: split prepared model runtime ownership * fix: import prepared runtime replacement gate type * test: split media runtime coverage * test: preserve image auth fixture key types * test: isolate lifecycle gate fixtures * chore: keep release changelog owned * refactor: finish prepared model catalog migration * test: keep catalog review fixtures scanner-safe * refactor: preserve lifecycle model runtime ownership * fix: close prepared runtime lifecycle races * fix: preserve compaction workspace fallback * chore: document btw generation rebinding * fix: preserve prepared generation boundaries * fix: keep model-list discovery flag explicit * fix: serialize standalone model runtime activation * refactor: migrate subagent model catalog lookup * refactor: clarify doctor catalog lookup seam * chore: refresh plugin sdk api baseline * test: migrate swarm catalog dependency * refactor(telegram): rename runtime catalog seam * refactor: extract model-aware tool context * test(models): isolate lifecycle catalog fixtures * refactor(agents): avoid btw parameter rebinding * fix(net-policy): align root ipaddr dependency * fix(build): keep net policy dependency bundled * fix(deadcode): document net policy compile dependency
34 lines
1.7 KiB
TypeScript
34 lines
1.7 KiB
TypeScript
/**
|
|
* Runtime dependency barrel for subagent spawning. Keeping these imports in a
|
|
* single module lets spawn tests replace runtime seams without loading the
|
|
* entire gateway/channel stack.
|
|
*/
|
|
export { getRuntimeConfig } from "../config/config.js";
|
|
export { loadSessionEntry, upsertSessionEntry } from "../config/sessions/session-accessor.js";
|
|
export { forkSessionEntryFromParent } from "../auto-reply/reply/session-fork.js";
|
|
export { ensureContextEnginesInitialized } from "../context-engine/init.js";
|
|
export { resolveContextEngine } from "../context-engine/registry.js";
|
|
export { callGateway } from "../gateway/call.js";
|
|
export {
|
|
dispatchGatewayMethodInProcess,
|
|
hasInProcessGatewayContext,
|
|
} from "../gateway/server-plugins.js";
|
|
export {
|
|
ADMIN_SCOPE,
|
|
resolveLeastPrivilegeOperatorScopesForMethod,
|
|
} from "../gateway/method-scopes.js";
|
|
export { getSessionBindingService } from "../infra/outbound/session-binding-service.js";
|
|
export { resolveGatewaySessionStoreTarget } from "../gateway/session-utils.js";
|
|
export { getGlobalHookRunner } from "../plugins/hook-runner-global.js";
|
|
export { emitSessionLifecycleEvent } from "../sessions/session-lifecycle-events.js";
|
|
export {
|
|
mergeDeliveryContext,
|
|
normalizeDeliveryContext,
|
|
} from "../utils/delivery-context.shared.js";
|
|
export { resolveAgentConfig } from "./agent-scope.js";
|
|
export { AGENT_LANE_SUBAGENT } from "./lanes.js";
|
|
export { loadPreparedModelCatalog } from "./prepared-model-catalog.js";
|
|
export { resolveSandboxRuntimeStatus } from "./sandbox/runtime-status.js";
|
|
export { buildSubagentSystemPrompt } from "./subagent-system-prompt.js";
|
|
export { resolveInternalSessionKey, resolveMainSessionAlias } from "./tools/sessions-helpers.js";
|