Download src/config/sessions/main-session.runtime.ts from SaylorTwift/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 397 Bytes
-
https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/config/sessions/main-session.runtime.ts
- Command line
-
hf download hf://SaylorTwift/openclaw/src/config/sessions/main-session.runtime.ts
-
curl -L -o main-session.runtime.ts https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/config/sessions/main-session.runtime.ts
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()); | |
| } | |