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