mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
ebb2770000
* refactor: eliminate export name collisions * chore(scripts): burn resolved collision baselines * refactor: narrow legacy session load options * chore: refresh SDK and session debt baselines * refactor: adopt upstream secrets collision fix * test(plugin-sdk): mock renamed session store core * fix(scripts): track renamed session accessor core
27 lines
676 B
TypeScript
27 lines
676 B
TypeScript
export * from "./subagent-announce-output.js";
|
|
|
|
type OutputRuntime = typeof import("./subagent-announce.runtime.js");
|
|
type OutputDeps = Pick<
|
|
OutputRuntime,
|
|
| "callGateway"
|
|
| "getRuntimeConfig"
|
|
| "readSubagentSessionEntry"
|
|
| "readSessionMessagesAsync"
|
|
| "resolveAgentIdFromSessionKey"
|
|
| "resolveStorePath"
|
|
>;
|
|
|
|
type Testing = {
|
|
setDepsForTest(overrides?: Partial<OutputDeps>): void;
|
|
};
|
|
|
|
function getTesting(): Testing {
|
|
return (globalThis as Record<PropertyKey, unknown>)[
|
|
Symbol.for("openclaw.subagentAnnounceOutputTestApi")
|
|
] as Testing;
|
|
}
|
|
|
|
export const testing: Testing = {
|
|
setDepsForTest: (overrides) => getTesting().setDepsForTest(overrides),
|
|
};
|