MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / historyPath

Function historyPath

src/config/promptHistory.ts:8–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 2

loadPromptHistoryFunction · 0.85
appendPromptHistoryFunction · 0.85

Calls 1

getConfigDirFunction · 0.85

Tested by

no test coverage detected