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

Function getDumpPromptsPath

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

Source from the content-addressed store, hash-verified

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

Callers 7

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

Calls 1

getSessionIdFunction · 0.85

Tested by

no test coverage detected