bots-garden/mini-mepublic Fork
⑂ main
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
🛟 Updated. c11395f · on main · k33g · 7d ago
v1.1.0.en.md · 57 lines · 6.1 KBmarkdown
Blame HistoryOpen raw

mini-me v1.1.0

Version française

Create a skill from your editor with /skillcreate in mm acp-create, while the wizard lists the models from the right address, the container's account matches your user and llama.cpp is reached from a container like the other local servers.

New

/skillcreate in mm acp-create (#213)

mm skillcreate from the editor: in an mm acp-create thread, send /skillcreate. It asks the skill's name, a one-line description, keywords (. for none) and the text, then writes <skillsDir>/<name>/SKILL.md where the project's agent reads its skills — the skillsDir of its agent.yaml or .mm/agent.yaml. The file is byte for byte what mm skillcreate writes with the same answers.

  • The flags answer in advance: /skillcreate --name "Vulcan Salute" --description "Greets the Vulcan way" --keywords "vulcan, greeting". Quote a value with spaces.
  • The text is one message, several lines included. With a client that shows forms, the other questions come in a form and the text is still asked as a message.
  • An existing skill is replaced only if you answer yes; no asks for another name.
  • In the middle of the agent's questions, the answers given so far are kept: once the skill is written — or given up with the new /cancel — the agent's current question comes back. Before the agent file is written, the skill goes where that agent will read its skills: .mm/skills once you answered yes to Keep everything in a .mm folder?.
  • Without an agent file, or with skillsDir: no-skills, the skill goes to .mm/skills when the project has a .mm folder, else to skills, and mm says which skillsDir to set.
  • After writing, mm reads the skill back (✅ mm reads it: …). An agent already running sees it once it restarts (Reload Agent).
  • /preview, /back and /restart act on the skill while it is being created.

Tried in Zed. Forms are covered by tests with a simulated client only.

See Create a skill from the same thread.

llama.cpp falls back on host.docker.internal (#217)

Like dmr, ollama, llmman and kronk, the llamacpp provider now tries http://host.docker.internal:8080/v1 when its address does not answer, so that mm in a container or a Docker Sandbox reaches a llama-server on the host without a baseUrl. Start llama-server there with --host 0.0.0.0: by default it listens on the loopback only, which a container on Linux or a sandbox cannot reach; the start-up hint now says so. In a sandbox, also allow the port: sbx policy allow network host.docker.internal:8080. fallback: "" in an agent file still turns it off.

agent.llamacpp.yaml no longer says fallback: "", and mm init writes the fallback in the file's comment as for the other providers. Not tried with a real llama-server in a container or a sandbox.

Fixed

The wizard lists the models from the local address (#214)

In mm init and mm acp-create, a local server that was slow to answer (Ollama, for instance) was taken for absent after 2 seconds, and the models were then listed from the container address (host.docker.internal) — on a Mac with Docker Desktop, that address answers on the host too, which hid the mistake. The wizard now tries the local addresses with the server's real model list, localhost then 127.0.0.1, and takes the container address only when none answers. AGENT_BASE_URL is honoured when set. The model question names the address: Model? (listed from http://localhost:11434/v1).

The written file does not change, and how a running agent chooses its address does not change either. Tried by the user with Ollama; the exact cause on their machine was not named. Every provider was then checked from Zed on the host (#215): dmr, llmman, kronk, openai, llamacpp and ollama list their models. Docker Sandbox not tried.

"I have no name!" in a container made by mm dockerinit (#216)

compose.yaml runs the container as your uid and gid, but the Dockerfile built its mm account with uid 1000. On a Mac (uid 501), the shell said I have no name! and whoami failed. The account is now built with the numbers of compose.yaml (build arguments MM_UID and MM_GID). Checked on Linux with the real Dockerfile built for 501:20: prompt mm@…, whoami → mm. Not checked on Docker Desktop (macOS).

git in the container still needs an identity to commit (user.name and user.email, or the GIT_* variables): the guide says how.

Documentation

  • The guide Create an agent from your editor has a section on /skillcreate; the CLI reference lists /skillcreate and /cancel.
  • Run mini-me in a container: llama.cpp's fallback, rebuilding after changing MM_UID/MM_GID, images built outside compose, git's identity.
  • Run mini-me with llama.cpp, in a Docker Sandbox and the configuration reference describe llama.cpp's fallback.
  • The README is up to date with v1.0.5 to v1.0.9 (Kronk, the .mm folder, mm skillcreate, tools lent by an ACP client, xml_tools, the reload, mm acp-create).

Upgrading

  • Agent files do not change. Replace the binary: see the install guides for macOS, Linux and Windows.
  • llama.cpp: a file copied from an earlier agent.llamacpp.yaml says fallback: ""; remove that line to get the fallback. On the host with llama-server down, the start-up warning now names the fallback address (nothing answers at http://host.docker.internal:8080/v1), as it already did for the other local servers.
  • Files written by an earlier mm dockerinit build the account with uid 1000. Run mm dockerinit again (answer yes to replace both files), then docker compose up -d --build. After changing MM_UID or MM_GID, rebuild too.
  • A container made by mm dockerinit downloads the latest release: llama.cpp's fallback reaches it once v1.1.0 is published.
 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
# mini-me v1.1.0

*[Version française](v1.1.0.fr.md)*

Create a skill from your editor with `/skillcreate` in `mm acp-create`, while the wizard lists the models from the right address, the container's account matches your user and llama.cpp is reached from a container like the other local servers.

## New

### `/skillcreate` in `mm acp-create` (#213)

`mm skillcreate` from the editor: in an `mm acp-create` thread, send `/skillcreate`. It asks the skill's name, a one-line description, keywords (`.` for none) and the text, then writes `<skillsDir>/<name>/SKILL.md` where the project's agent reads its skills — the `skillsDir` of its `agent.yaml` or `.mm/agent.yaml`. The file is byte for byte what `mm skillcreate` writes with the same answers.

- **The flags answer in advance:** `/skillcreate --name "Vulcan Salute" --description "Greets the Vulcan way" --keywords "vulcan, greeting"`. Quote a value with spaces.
- **The text is one message**, several lines included. With a client that shows forms, the other questions come in a form and the text is still asked as a message.
- **An existing skill** is replaced only if you answer `yes`; `no` asks for another name.
- **In the middle of the agent's questions**, the answers given so far are kept: once the skill is written — or given up with the new `/cancel` — the agent's current question comes back. Before the agent file is written, the skill goes where that agent will read its skills: `.mm/skills` once you answered `yes` to *Keep everything in a .mm folder?*.
- Without an agent file, or with `skillsDir: no-skills`, the skill goes to `.mm/skills` when the project has a `.mm` folder, else to `skills`, and mm says which `skillsDir` to set.
- After writing, mm reads the skill back (`✅ mm reads it: …`). An agent already running sees it once it restarts (*Reload Agent*).
- `/preview`, `/back` and `/restart` act on the skill while it is being created.

Tried in Zed. Forms are covered by tests with a simulated client only.

See [Create a skill from the same thread](../docs/en/how-to/create-an-agent-from-an-editor.md#create-a-skill-from-the-same-thread).

### llama.cpp falls back on `host.docker.internal` (#217)

Like `dmr`, `ollama`, `llmman` and `kronk`, the `llamacpp` provider now tries `http://host.docker.internal:8080/v1` when its address does not answer, so that mm in a container or a Docker Sandbox reaches a `llama-server` on the host without a `baseUrl`. Start llama-server there with `--host 0.0.0.0`: by default it listens on the loopback only, which a container on Linux or a sandbox cannot reach; the start-up hint now says so. In a sandbox, also allow the port: `sbx policy allow network host.docker.internal:8080`. `fallback: ""` in an agent file still turns it off.

`agent.llamacpp.yaml` no longer says `fallback: ""`, and `mm init` writes the fallback in the file's comment as for the other providers. Not tried with a real llama-server in a container or a sandbox.

## Fixed

### The wizard lists the models from the local address (#214)

In `mm init` and `mm acp-create`, a local server that was slow to answer (Ollama, for instance) was taken for absent after 2 seconds, and the models were then listed from the container address (`host.docker.internal`) — on a Mac with Docker Desktop, that address answers on the host too, which hid the mistake. The wizard now tries the local addresses with the server's real model list, `localhost` then `127.0.0.1`, and takes the container address only when none answers. `AGENT_BASE_URL` is honoured when set. The model question names the address: `Model? (listed from http://localhost:11434/v1)`.

The written file does not change, and how a running agent chooses its address does not change either. Tried by the user with Ollama; the exact cause on their machine was not named. Every provider was then checked from Zed on the host (#215): dmr, llmman, kronk, openai, llamacpp and ollama list their models. Docker Sandbox not tried.

### "I have no name!" in a container made by `mm dockerinit` (#216)

`compose.yaml` runs the container as your uid and gid, but the `Dockerfile` built its `mm` account with uid 1000. On a Mac (uid 501), the shell said `I have no name!` and `whoami` failed. The account is now built with the numbers of `compose.yaml` (build arguments `MM_UID` and `MM_GID`). Checked on Linux with the real `Dockerfile` built for 501:20: prompt `mm@…`, `whoami` → `mm`. Not checked on Docker Desktop (macOS).

git in the container still needs an identity to commit (`user.name` and `user.email`, or the `GIT_*` variables): the guide says how.

## Documentation

- The guide [Create an agent from your editor](../docs/en/how-to/create-an-agent-from-an-editor.md) has a section on `/skillcreate`; the CLI reference lists `/skillcreate` and `/cancel`.
- [Run mini-me in a container](../docs/en/how-to/run-in-a-container.md): llama.cpp's fallback, rebuilding after changing `MM_UID`/`MM_GID`, images built outside compose, git's identity.
- [Run mini-me with llama.cpp](../docs/en/how-to/run-with-llama-cpp.md), [in a Docker Sandbox](../docs/en/how-to/run-in-a-docker-sandbox.md) and the configuration reference describe llama.cpp's fallback.
- The README is up to date with v1.0.5 to v1.0.9 (Kronk, the `.mm` folder, `mm skillcreate`, tools lent by an ACP client, `xml_tools`, the reload, `mm acp-create`).

## Upgrading

- **Agent files do not change.** Replace the binary: see the install guides for [macOS](../INSTALL.MACOS.md), [Linux](../INSTALL.LINUX.md) and [Windows](../INSTALL.WINDOWS.md).
- **llama.cpp:** a file copied from an earlier `agent.llamacpp.yaml` says `fallback: ""`; remove that line to get the fallback. On the host with llama-server down, the start-up warning now names the fallback address (`nothing answers at http://host.docker.internal:8080/v1`), as it already did for the other local servers.
- **Files written by an earlier `mm dockerinit`** build the account with uid 1000. Run `mm dockerinit` again (answer `yes` to replace both files), then `docker compose up -d --build`. After changing `MM_UID` or `MM_GID`, rebuild too.
- A container made by `mm dockerinit` downloads the latest release: llama.cpp's fallback reaches it once v1.1.0 is published.