MCPcopy Index your code
hub / github.com/MatterAIOrg/OrbCode / getSessionFilePath

Function getSessionFilePath

src/core/sessions.ts:33–35  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

31
32/** On-disk path of a session's transcript, also passed to hooks. */
33export function getSessionFilePath(id: string): string {
34 return path.join(getSessionsDir(), `${id}.json`)
35}
36
37export function saveSession(data: SessionData): void {
38 const dir = getSessionsDir()

Callers 2

saveSessionFunction · 0.85
constructorMethod · 0.85

Calls 1

getSessionsDirFunction · 0.85

Tested by

no test coverage detected