mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-27 07:01:14 +00:00
* refactor(agents): trim CLI and transport export seams * chore(deadcode): shrink agents CLI transport baseline
17 lines
632 B
TypeScript
17 lines
632 B
TypeScript
import "./cli-backends.js";
|
|
|
|
type CliBackendsDeps = {
|
|
resolvePluginSetupCliBackend: typeof import("../plugins/setup-registry.js").resolvePluginSetupCliBackend;
|
|
resolvePluginSetupRegistry: typeof import("../plugins/setup-registry.js").resolvePluginSetupRegistry;
|
|
resolveRuntimeCliBackends: typeof import("../plugins/cli-backends.runtime.js").resolveRuntimeCliBackends;
|
|
};
|
|
|
|
type CliBackendsTestApi = {
|
|
resetDepsForTest(): void;
|
|
setDepsForTest(deps: Partial<CliBackendsDeps>): void;
|
|
};
|
|
|
|
export const testing = (globalThis as Record<PropertyKey, unknown>)[
|
|
Symbol.for("openclaw.cliBackendsTestApi")
|
|
] as CliBackendsTestApi;
|