MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / SESSIONS_FILE

Function SESSIONS_FILE

src/services/auth/session-store.ts:29–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27// temp file so parallel test files don't race on — or clobber — the real
28// `data/config/sessions.json`. Production never sets it.
29const SESSIONS_FILE = () =>
30 process.env['OPENALICE_SESSIONS_FILE'] || dataPath('config', 'sessions.json')
31
32export interface SessionRecord {
33 sid: string

Callers 3

loadCacheFunction · 0.85
flushFunction · 0.85
_unlinkFileFunction · 0.85

Calls 1

dataPathFunction · 0.85

Tested by

no test coverage detected