🛟 Updated.Unverified
57a2dd3 parent: c7cc910 modified
sbxenv.yaml +30 -16 | @@ -1,24 +1,38 @@ | ||
| 1 | +# qwen-style-sbx: mm in a Docker Sandbox. Written by `mm sbxinit`. | |
| 2 | +# https://rickub.com/bots-garden/mini-me/blob/main/docs/en/how-to/run-in-a-docker-sandbox.md | |
| 1 | 3 | schemaVersion: "1" |
| 2 | 4 | |
| 5 | +# The sandbox's name: letters, digits and hyphens only. | |
| 3 | 6 | name: pov-ray-go |
| 4 | 7 | |
| 5 | -agent: claude | |
| 6 | - | |
| 7 | -# Primary workspace: this folder (relative paths resolve against this file). | |
| 8 | -workspace: . | |
| 9 | - | |
| 10 | -additionalWorkspaces: | |
| 11 | - - path: /Users/k33g/kDrive/Rickub/bots-garden/mini-me-kit | |
| 12 | - - path: /Users/k33g/kDrive/Rickub/bots-garden/mini | |
| 13 | - | |
| 8 | +# The workload kit is the base "agent". | |
| 9 | +agent: mini-me-kit | |
| 14 | 10 | |
| 15 | 11 | kits: |
| 16 | - - docker.io/k33g/go-toolchain-kit:0.2.0 | |
| 12 | + - docker.io/k33g/mini-me-kit:0.2.0 | |
| 17 | 13 | |
| 18 | -env: | |
| 19 | - # Claude Code default model | |
| 20 | - ANTHROPIC_MODEL: claude-opus-5-5 | |
| 14 | +workspace: . | |
| 21 | 15 | |
| 22 | -# sbx env create # shows the plan and asks for confirmation (--force to skip) | |
| 23 | -# sbx env run # re-attach (creates the sandbox first if it does not exist) | |
| 24 | -# sbx env rm # delete the sandbox | |
| 16 | +# The agent is .mm/agent.yaml (mm init --project yes). .mm/ is mounted | |
| 17 | +# read-only over the workspace: the agent cannot change its own settings, | |
| 18 | +# skills or hooks. The folders mm writes in are mounted writable again, with | |
| 19 | +# the paths of the agent file; anything else written under .mm/ (a hook's log) | |
| 20 | +# needs a line of its own. After a change to these mounts, re-create the | |
| 21 | +# sandbox: sbx env rm, then sbx env create. | |
| 22 | +additionalWorkspaces: | |
| 23 | + - path: ./.mm | |
| 24 | + readOnly: true | |
| 25 | + - path: ./.mm/sessions # sessions.dir | |
| 26 | + | |
| 27 | +# No AGENT_CONFIG: the kit's mm (1.0.7 or later) starts in the workspace and | |
| 28 | +# finds .mm/agent.yaml on its own. An editor that runs mm with sbx exec names | |
| 29 | +# it with -config (see the how-to). | |
| 30 | + | |
| 31 | +# Pull the kit at each creation: a tag such as latest moves, and a kit already | |
| 32 | +# in the local cache would hide a new one. | |
| 33 | +sandboxOptions: | |
| 34 | + pullPolicy: always | |
| 35 | + | |
| 36 | +# sbx env create --force | |
| 37 | +# sbx env run --force | |
| 38 | +# sbx env rm --force | |
| @@ -1,24 +1,38 @@ | |||
| 1 | +# qwen-style-sbx: mm in a Docker Sandbox. Written by `mm sbxinit`. | ||
| 2 | +# https://rickub.com/bots-garden/mini-me/blob/main/docs/en/how-to/run-in-a-docker-sandbox.md | ||
| 1 | schemaVersion: "1" | 3 | schemaVersion: "1" |
| 2 | 4 | ||
| 5 | +# The sandbox's name: letters, digits and hyphens only. | ||
| 3 | name: pov-ray-go | 6 | name: pov-ray-go |
| 4 | 7 | ||
| 5 | -agent: claude | 8 | +# The workload kit is the base "agent". |
| 6 | - | 9 | +agent: mini-me-kit |
| 7 | -# Primary workspace: this folder (relative paths resolve against this file). | ||
| 8 | -workspace: . | ||
| 9 | - | ||
| 10 | -additionalWorkspaces: | ||
| 11 | - - path: /Users/k33g/kDrive/Rickub/bots-garden/mini-me-kit | ||
| 12 | - - path: /Users/k33g/kDrive/Rickub/bots-garden/mini | ||
| 13 | - | ||
| 14 | 10 | ||
| 15 | kits: | 11 | kits: |
| 16 | - - docker.io/k33g/go-toolchain-kit:0.2.0 | 12 | + - docker.io/k33g/mini-me-kit:0.2.0 |
| 17 | 13 | ||
| 18 | -env: | 14 | +workspace: . |
| 19 | - # Claude Code default model | ||
| 20 | - ANTHROPIC_MODEL: claude-opus-5-5 | ||
| 21 | 15 | ||
| 22 | -# sbx env create # shows the plan and asks for confirmation (--force to skip) | 16 | +# The agent is .mm/agent.yaml (mm init --project yes). .mm/ is mounted |
| 23 | -# sbx env run # re-attach (creates the sandbox first if it does not exist) | 17 | +# read-only over the workspace: the agent cannot change its own settings, |
| 24 | -# sbx env rm # delete the sandbox | 18 | +# skills or hooks. The folders mm writes in are mounted writable again, with |
| 19 | +# the paths of the agent file; anything else written under .mm/ (a hook's log) | ||
| 20 | +# needs a line of its own. After a change to these mounts, re-create the | ||
| 21 | +# sandbox: sbx env rm, then sbx env create. | ||
| 22 | +additionalWorkspaces: | ||
| 23 | + - path: ./.mm | ||
| 24 | + readOnly: true | ||
| 25 | + - path: ./.mm/sessions # sessions.dir | ||
| 26 | + | ||
| 27 | +# No AGENT_CONFIG: the kit's mm (1.0.7 or later) starts in the workspace and | ||
| 28 | +# finds .mm/agent.yaml on its own. An editor that runs mm with sbx exec names | ||
| 29 | +# it with -config (see the how-to). | ||
| 30 | + | ||
| 31 | +# Pull the kit at each creation: a tag such as latest moves, and a kit already | ||
| 32 | +# in the local cache would hide a new one. | ||
| 33 | +sandboxOptions: | ||
| 34 | + pullPolicy: always | ||
| 35 | + | ||
| 36 | +# sbx env create --force | ||
| 37 | +# sbx env run --force | ||
| 38 | +# sbx env rm --force | ||