mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-16 15:43:57 -06:00
6c9b38862d
* refactor(plugins): root-owned bundle installation with scoped registry handles * refactor(plugins): root-owned bundle installation with scoped registry handles * test(gateway): expect gateway-binding fact in reload rewarm * fix(agents): reuse gateway prepared runtime generations * test(agents): isolate runtime handle fixtures * test(agents): align runtime owner fixtures * test(cron): mock run-owned registry loading
13 lines
352 B
TypeScript
13 lines
352 B
TypeScript
import "./memory-runtime.js";
|
|
|
|
type MemoryRuntimeTestApi = {
|
|
resetStandaloneMemoryRegistrySlot(): void;
|
|
};
|
|
|
|
export function resetStandaloneMemoryRegistrySlot(): void {
|
|
const api = (globalThis as Record<PropertyKey, unknown>)[
|
|
Symbol.for("openclaw.memoryRuntimeTestApi")
|
|
] as MemoryRuntimeTestApi;
|
|
api.resetStandaloneMemoryRegistrySlot();
|
|
}
|