bots-garden/mini-mepublic Fork
⑂ v1.0.2
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/mini-me.git
git clone ssh://git@rickub.com/bots-garden/mini-me.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
📦 Mini Me c2ad262 · on v1.0.2 · k33g · Oct 21, 2026
v0.8.0.en.md · 71 lines · 6.0 KBmarkdown
Blame HistoryOpen raw

mini-me v0.8.0

Version française

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_memory is 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: true turns on /memory;
    • autoSearchMemory: true declares search_memory.

    Both need sessions.enabled: true; set without it, the start-up banner says so.

  • Case and accents do not count. Questions, answers and /compact summaries 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 its path:line link and its section headings. Passages are sections of the files, ranked with BM25 — no index and no model: mm's own docs/ (137 files) is searched in about 45 ms.

  • search_docs is a new built-in tool: the agent searches the documentation before it answers, and can read_file a 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: 1MB
    

    Default 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 (list finds ListState, widgets finds widget). 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.yaml or mm agent.yaml < commands.txt ran 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 /compact summary). 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 by check-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 /memory read 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 kind search).

Upgrading

  • No breaking change in the configuration. New keys: sessions.searchMemory, sessions.autoSearchMemory and the docSearch block — 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
# mini-me v0.8.0

*[Version française](v0.8.0.fr.md)*

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_memory`** is 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: true` turns on `/memory`;
  - `autoSearchMemory: true` declares `search_memory`.

  Both need `sessions.enabled: true`; set without it, the start-up banner says so.
- Case and accents do not count. Questions, answers and `/compact` summaries 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 its `path:line` link and its section headings. Passages are sections of the files, ranked with BM25 — no index and no model: mm's own `docs/` (137 files) is searched in about 45 ms.
- **`search_docs`** is a new built-in tool: the agent searches the documentation before it answers, and can `read_file` a whole page from a link. It never asks for permission.
- **New block `docSearch`**, off by default:

  ```yaml
  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: 1MB
  ```

  Default 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 (`list` finds `ListState`, `widgets` finds `widget`). 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.yaml` or `mm agent.yaml < commands.txt` ran 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 `/compact` summary). 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 by `check-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):
  - [Search earlier sessions](../docs/en/how-to/search-earlier-sessions.md)
  - [Search a documentation folder](../docs/en/how-to/search-the-docs.md)
- **New explanation**: [Documentation search](../docs/en/explanation/document-search.md) — 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 `/memory` read 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 kind `search`).

## Upgrading

- **No breaking change in the configuration.** New keys: `sessions.searchMemory`, `sessions.autoSearchMemory` and the `docSearch` block — 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.