smelt.history¶
Tier: UiHost — Requires a terminal UI; calling these from headless mode raises.
Prompt history entries and search. UiHost-only.
smelt.history.entries¶
Return the prompt history as an array of strings, oldest first. Mirrors what the up-arrow recall in the input bar walks through.
smelt.history.search¶
Rank prompt history against query using the history-specific scorer (word-match boost, recency bonus, dedupe). Returns { index, score } rows where index is 1-based into entries().