()
| 6 | const MAX_HISTORY = 200 |
| 7 | |
| 8 | function historyPath(): string { |
| 9 | return path.join(getConfigDir(), "history.json") |
| 10 | } |
| 11 | |
| 12 | /** Prompt history shared across sessions, oldest first (like shell history). */ |
| 13 | export function loadPromptHistory(): string[] { |
no test coverage detected