mini-me v0.8.0
Search what was said before and what is written down: recall your earlier questions in the window, search the stored sessions, and search a documentation folder — by hand or by the agent itself.
New
Recall earlier questions in the window (#68)
- With
sessions.enabled: true, ↑ on the first row of the input box brings back your last question; ↑ again goes further back, through this session and then the project's earlier ones, newest first. ↓ on the last row goes forward again; past the newest question it gives back what you were typing. - A recalled question is plain text: edit it and press Enter, or press Esc to clear the box.
- Esc now clears the box when no turn is running and the box holds something. During a turn Esc still cancels it; on an empty box it still says
No generation in progress. - A question whose turn failed or was cancelled can be recalled until you ask the next one, so it is easy to retry.
- Nothing to recall (sessions off, or no question yet): ↑ scrolls the conversation as before.
Search the stored sessions — /memory and search_memory (#48)
-
/memory <words>searches the project's stored sessions and lists the hits: session id, date, turn, who said it, and the text around the words. A matching question comes with the answer its turn ended on (→ …). The model is not called. -
search_memoryis a new built-in tool: the same search, called by the agent when a question refers to something decided before ("the port we chose", "like last time"). It never asks for permission. -
Two new keys under
sessions, both off by default and independent:searchMemory: trueturns on/memory;autoSearchMemory: truedeclaressearch_memory.
Both need
sessions.enabled: true; set without it, the start-up banner says so. -
Case and accents do not count. Questions, answers and
/compactsummaries are searched; tool calls, mm's own notes and the conversation in progress are not. -
The search matches words, not meanings: a question asked in another language than the session, or with other words, finds nothing.
Search a documentation folder — /docs and search_docs (#104, #106)
-
/docs <words>searches the text files of one or more folders and shows the best passages, each with itspath:linelink and its section headings. Passages are sections of the files, ranked with BM25 — no index and no model: mm's owndocs/(137 files) is searched in about 45 ms. -
search_docsis a new built-in tool: the agent searches the documentation before it answers, and canread_filea whole page from a link. It never asks for permission. -
New block
docSearch, off by default:docSearch: searchDocs: true # /docs, for you autoSearchDocs: true # search_docs, for the agent dirs: [docs] # relative to the working directory extensions: [.md] # only these files are read maxFileSize: 1MBDefault extensions:
.md .markdown .txt .adoc .asciidoc .rst. Markdown and AsciiDoc files are cut at their headings (not inside code blocks), other files at blank lines. -
Case and accents do not count; words of four letters or more also match longer words and plurals (
listfindsListState,widgetsfindswidget). Here too, the search matches words, not meanings.
Fixed
- Line mode: only the first of several piped lines was read (#103).
printf '/sessions\n/help\n' | mm agent.yamlormm agent.yaml < commands.txtran the first line and silently dropped the others. All of them now run, and a last line without a newline is no longer lost. Typing at the keyboard was not affected.
Demos
demos/memory-search/(new): an assistant for a small Go project that remembers what was decided in four earlier sessions (the API port, the storage, the logs — in French —, the deployment as a/compactsummary). Qwen3.5 4B on llmman. Measured: every question whose words are in a session found and answered right (3/3 each, a French question on an English session included); a question with other words for the same thing honestly not found; no search on a greeting or a general question.demos/docs-search/(new): Rata, an assistant that answers Ratatui (Rust terminal UI) questions from nine short tutorials, citing the passage it used. Every program of the tutorials is compiled against ratatui 0.30 bycheck-tutorials.sh(Docker only). Qwen3.5 4B on llmman. Measured: right answers 3/3 on every question, French questions turned into English searches by the model, the program it was asked to write compiles; two answers cite a different passage than the one that explains, or none — the README says which.
Documentation
- New how-to guides (EN + FR):
- New explanation: Documentation search — why BM25 and no model, why no index, passages as sections.
- Updated:
- the window mode how-to: a new section "Recall an earlier question";
- persistent sessions (explanation): why recall and
/memoryread the stored questions, how the search was refined; - reference: configuration (the new keys, their validation errors), slash commands (
/memory,/docs, ↑/↓ and Esc), tools (search_memory,search_docs), ACP (tool kindsearch).
Upgrading
- No breaking change in the configuration. New keys:
sessions.searchMemory,sessions.autoSearchMemoryand thedocSearchblock — all off by default, so no existing agent gets a new tool. - Esc in the window: when nothing runs, it now clears the input box instead of printing
No generation in progress. That message is still shown on an empty box. - Scripts that pipe several lines into the line mode now run all of them, not only the first. Check such a script does not contain lines that were silently ignored until now.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
|