MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getDumpPromptsPath

Function getDumpPromptsPath

src/services/api/dumpPrompts.ts:59–65  ·  view source on GitHub ↗
(agentIdOrSessionId?: string)

Source from the content-addressed store, hash-verified

57}
58
59export function getDumpPromptsPath(agentIdOrSessionId?: string): string {
60 return join(
61 getClaudeConfigHomeDir(),
62 'dump-prompts',
63 `${agentIdOrSessionId ?? getSessionId()}.jsonl`,
64 )
65}
66
67function appendToFile(filePath: string, entries: string[]): void {
68 if (entries.length === 0) return

Callers 6

runAgentFunction · 0.85
renderToolResultMessageFunction · 0.85
LogoV2Function · 0.85
createDumpPromptsFetchFunction · 0.85

Calls 1

getSessionIdFunction · 0.85

Tested by

no test coverage detected