MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / getSessionsDir

Function getSessionsDir

src/core/sessions.ts:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26const MAX_SESSIONS_LISTED = 25
27
28function getSessionsDir(): string {
29 return path.join(getConfigDir(), "sessions")
30}
31
32/** On-disk path of a session's transcript, also passed to hooks. */
33export function getSessionFilePath(id: string): string {

Callers 4

getSessionFilePathFunction · 0.85
saveSessionFunction · 0.85
loadSessionByIdFunction · 0.85
listSessionsFunction · 0.85

Calls 1

getConfigDirFunction · 0.85

Tested by

no test coverage detected