context-engine: align subagent-registry dep types with canonical signature

This commit is contained in:
Jari Mustonen
2026-04-16 07:00:09 +03:00
committed by Josh Lehman
parent 6b22e5c2d4
commit d1036e2c2d

View File

@@ -99,7 +99,7 @@ type SubagentRegistryDeps = {
ensureContextEnginesInitialized?: () => void;
ensureRuntimePluginsLoaded?: typeof ensureRuntimePluginsLoadedFn;
resolveContextEngine?: (
cfg: OpenClawConfig,
cfg?: OpenClawConfig,
options?: ResolveContextEngineOptions,
) => Promise<ContextEngine>;
};
@@ -145,7 +145,7 @@ type ContextEngineInitModule = Pick<
type ContextEngineRegistryModule = Pick<
{
resolveContextEngine: (
cfg: OpenClawConfig,
cfg?: OpenClawConfig,
options?: ResolveContextEngineOptions,
) => Promise<ContextEngine>;
},