fix(regression): restore irc cold-runtime chunking

This commit is contained in:
Tak Hoffman
2026-03-27 22:24:18 -05:00
parent 71795c5323
commit 83adbc840c
4 changed files with 24 additions and 1 deletions

View File

@@ -4,3 +4,6 @@ import type { PluginRuntime } from "./runtime-api.js";
const { setRuntime: setIrcRuntime, getRuntime: getIrcRuntime } =
createPluginRuntimeStore<PluginRuntime>("IRC runtime not initialized");
export { getIrcRuntime, setIrcRuntime };
export function clearIrcRuntime() {
setIrcRuntime(undefined as unknown as PluginRuntime);
}