Files
openclaw/src/agents/subagents/announce/subagent-announce-output.test-support.ts
T
Peter Steinberger ebb2770000 refactor: eliminate export name collisions (#122084)
* 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
2026-08-11 10:41:50 -07:00

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),
};