MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / getSessionProjectDir

Function getSessionProjectDir

src/bootstrap/state.ts:490–492  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

488 * originalCwd). See `switchSession()`.
489 */
490export function getSessionProjectDir(): string | null {
491 return STATE.sessionProjectDir
492}
493
494export function getOriginalCwd(): string {
495 return STATE.originalCwd

Callers 11

getTranscriptPathFunction · 0.85
getAgentTranscriptPathFunction · 0.85
getRemoteAgentsDirFunction · 0.85
loadSessionFileFunction · 0.85
getTranscriptSummaryFunction · 0.85
getTranscriptPathFunction · 0.85
getTranscriptPathFunction · 0.85
getTranscriptPathFunction · 0.85
promptFunction · 0.85
createSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected