Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agegr/pi-web
/ session-reader.test.mjs
File
session-reader.test.mjs
lib/session-reader.test.mjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
assert from
"node:assert/strict"
;
2
import
{ mkdtempSync, rmSync, writeFileSync } from
"node:fs"
;
3
import
{ tmpdir } from
"node:os"
;
4
import
{ join, normalize } from
"node:path"
;
Callers
nothing calls this directly
Calls
7
userEntry
Function · 0.85
assistantEntry
Function · 0.85
buildSessionContext
Function · 0.85
readSessionHeader
Function · 0.85
cacheSessionPath
Function · 0.85
resolveSessionIdByPath
Function · 0.85
invalidateSessionPathCache
Function · 0.85
Tested by
no test coverage detected