openclaw / src /config /sessions /main-session.runtime.ts
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
4c76b0d verified
Raw History Blame Contribute Delete
397 Bytes
// Runtime main-session lookup binds the config-backed helper for callers without config access.
import { getRuntimeConfig } from "../io.js";
import { resolveSystemMainSessionKey } from "./main-session.js";
/** Resolves the main session key from the active runtime config. */
export function resolveMainSessionKeyFromConfig(): string {
return resolveSystemMainSessionKey(getRuntimeConfig());
}