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