let forwardRuntime = null;
/** Called from `registerFull` so terminal lifecycle forwards can read `sessions.json` after persist. */
export function setFridayAgentForwardRuntime(api) {
    forwardRuntime = {
        resolveStorePath: api.runtime.agent.session.resolveStorePath,
        loadSessionStore: api.runtime.agent.session.loadSessionStore,
        getConfig: () => api.runtime.config.current(),
    };
}
export function getFridayAgentForwardRuntime() {
    return forwardRuntime;
}
/** Vitest-only */
export function resetFridayAgentForwardRuntimeForTest() {
    forwardRuntime = null;
}
