MCPcopy Create free account
hub / github.com/Noumena-Network/code / getTranscriptPath

Function getTranscriptPath

src/utils/sessionStorage.ts:230–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228}
229
230export function getTranscriptPath(): string {
231 const projectDir = getSessionProjectDir() ?? getProjectDir(getOriginalCwd())
232 return join(projectDir, `${getSessionId()}.jsonl`)
233}
234
235export function getTranscriptPathForSession(sessionId: string): string {
236 // When asking for the CURRENT session's transcript, honor sessionProjectDir

Callers 15

buildVerifierPromptFunction · 0.85
loadRawTranscriptJsonlFunction · 0.85
autoNameSessionFromPlanFunction · 0.85
handleResponseFunction · 0.85
submitTranscriptShareFunction · 0.85
adoptResumedSessionFileFunction · 0.85
findUnresolvedToolUseFunction · 0.85
getTranscriptStatsFunction · 0.85
execAgentHookFunction · 0.85
callFunction · 0.85

Calls 4

getSessionProjectDirFunction · 0.85
getOriginalCwdFunction · 0.85
getSessionIdFunction · 0.85
getProjectDirFunction · 0.70

Tested by

no test coverage detected