MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / loadInputHistory

Function loadInputHistory

apps/kimi-code/src/utils/history/input-history.ts:28–30  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

26});
27
28export async function loadInputHistory(file: string): Promise<InputHistoryEntry[]> {
29 return readJsonlFile(file, InputHistoryEntrySchema);
30}
31
32/**
33 * Append an entry to the history file. Returns true if written, false if

Callers 2

Calls 1

readJsonlFileFunction · 0.90

Tested by

no test coverage detected