📦 Mini Me
111d95e parent: 51d5173 modified
README.md +14 -14 | @@ -23,14 +23,14 @@ sbx settings set kit.allowedSources '["docker.io/","git.rickub.com/bots-garden/" | ||
| 23 | 23 | ### From the Git repository |
| 24 | 24 | ```bash |
| 25 | 25 | cd demo |
| 26 | -RELEASE=v0.1.0 | |
| 26 | +RELEASE=v0.1.1 | |
| 27 | 27 | REPOSITORY=git+https://git.rickub.com/bots-garden/mini-me-kit.git |
| 28 | 28 | sbx run --name mm-demo-remote "${REPOSITORY}#ref=${RELEASE}&dir=mini-me" |
| 29 | 29 | ``` |
| 30 | 30 | |
| 31 | 31 | > Assemble with other kits |
| 32 | 32 | ```bash |
| 33 | -RELEASE=v0.1.0 | |
| 33 | +RELEASE=v0.1.1 | |
| 34 | 34 | REPOSITORY=git+https://git.rickub.com/bots-garden/mini-me-kit.git |
| 35 | 35 | sbx run --name mm-demo-remote "${REPOSITORY}#ref=${RELEASE}&dir=mini-me" \ |
| 36 | 36 | --kit ./kits/go-toolchain --kit ./kits/nushell \ |
| @@ -40,18 +40,18 @@ sbx run --name mm-demo-remote "${REPOSITORY}#ref=${RELEASE}&dir=mini-me" \ | ||
| 40 | 40 | ### From Docker Hub |
| 41 | 41 | ```bash |
| 42 | 42 | cd demo |
| 43 | -sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.0 | |
| 43 | +sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.1 | |
| 44 | 44 | ``` |
| 45 | 45 | |
| 46 | 46 | > Use it with another agent config file |
| 47 | 47 | ```bash |
| 48 | 48 | cd demo |
| 49 | -sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.0 -- -config agent.lucy.yaml | |
| 49 | +sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.1 -- -config agent.lucy.yaml | |
| 50 | 50 | ``` |
| 51 | 51 | |
| 52 | 52 | > Assemble with other kits |
| 53 | 53 | ```bash |
| 54 | -sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.0 \ | |
| 54 | +sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.1 \ | |
| 55 | 55 | --kit ./kits/go-toolchain --kit ./kits/nushell \ |
| 56 | 56 | -- -config agent.lucy.yaml |
| 57 | 57 | ``` |
| @@ -59,8 +59,8 @@ sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.0 \ | ||
| 59 | 59 | > With the Go toolchain kit, also from Docker Hub |
| 60 | 60 | ```bash |
| 61 | 61 | cd demo |
| 62 | -sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.0 \ | |
| 63 | ---kit docker.io/k33g/go-toolchain-kit:0.1.0 | |
| 62 | +sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.1 \ | |
| 63 | +--kit docker.io/k33g/go-toolchain-kit:0.1.1 | |
| 64 | 64 | ``` |
| 65 | 65 | |
| 66 | 66 | ## Mini Me Editor: Eclipse Theia (web IDE) |
| @@ -85,13 +85,13 @@ The terminals use the [Starship](https://starship.rs) prompt, configured in `min | ||
| 85 | 85 | cd demo |
| 86 | 86 | sbx run -d --name mm-editor -p 8080:3000 ../mini-me-editor |
| 87 | 87 | # or, once published: |
| 88 | -sbx run -d --name mm-editor -p 8080:3000 docker.io/k33g/mini-me-editor-kit:0.1.0 \ | |
| 89 | ---kit docker.io/k33g/go-toolchain-kit:0.1.0 | |
| 88 | +sbx run -d --name mm-editor -p 8080:3000 docker.io/k33g/mini-me-editor-kit:0.1.1 \ | |
| 89 | +--kit docker.io/k33g/go-toolchain-kit:0.1.1 | |
| 90 | 90 | |
| 91 | 91 | # or, if you need rust |
| 92 | -sbx run -d --name mm-editor -p 8080:3000 docker.io/k33g/mini-me-editor-kit:0.1.0 \ | |
| 93 | ---kit docker.io/k33g/go-toolchain-kit:0.1.0 \ | |
| 94 | ---kit docker.io/k33g/rust-toolchain-kit:0.1.0 | |
| 92 | +sbx run -d --name mm-editor -p 8080:3000 docker.io/k33g/mini-me-editor-kit:0.1.1 \ | |
| 93 | +--kit docker.io/k33g/go-toolchain-kit:0.1.1 \ | |
| 94 | +--kit docker.io/k33g/rust-toolchain-kit:0.1.1 | |
| 95 | 95 | ``` |
| 96 | 96 | |
| 97 | 97 | > Or let sbx pick a free host port (it prints `published localhost:<port> -> 3000/tcp`) |
| @@ -136,7 +136,7 @@ use it to get Mini Me in a sandbox running another agent or editor kit. Its vers | ||
| 136 | 136 | cd demo |
| 137 | 137 | sbx run --name mm-agent <agent> --kit ../mini-me-agent |
| 138 | 138 | # or, once published: |
| 139 | -sbx run --name mm-agent <agent> --kit docker.io/k33g/mini-me-agent-kit:0.1.0 | |
| 139 | +sbx run --name mm-agent <agent> --kit docker.io/k33g/mini-me-agent-kit:0.1.1 | |
| 140 | 140 | ``` |
| 141 | 141 | |
| 142 | 142 | Then start it from a terminal in the sandbox: `mm -tui`. |
| @@ -180,7 +180,7 @@ sbx env rm | ||
| 180 | 180 | ``` |
| 181 | 181 | |
| 182 | 182 | - The workload image is listed in `kits:` **and** named in `agent:`. For a registry image, `agent:` is the |
| 183 | - last component of the repository name (`docker.io/k33g/vscode-ssh-kit:0.1.0` → `agent: vscode-ssh-kit`). | |
| 183 | + last component of the repository name (`docker.io/k33g/vscode-ssh-kit:0.1.1` → `agent: vscode-ssh-kit`). | |
| 184 | 184 | - `./00-prepare-release.sh` bumps the image tags of `sbxenv*.yaml` from `PREVIOUS_TAG` to `TAG`. |
| 185 | 185 | |
| 186 | 186 | ## Release & publish |
| @@ -23,14 +23,14 @@ sbx settings set kit.allowedSources '["docker.io/","git.rickub.com/bots-garden/" | |||
| 23 | ### From the Git repository | 23 | ### From the Git repository |
| 24 | ```bash | 24 | ```bash |
| 25 | cd demo | 25 | cd demo |
| 26 | -RELEASE=v0.1.0 | 26 | +RELEASE=v0.1.1 |
| 27 | REPOSITORY=git+https://git.rickub.com/bots-garden/mini-me-kit.git | 27 | REPOSITORY=git+https://git.rickub.com/bots-garden/mini-me-kit.git |
| 28 | sbx run --name mm-demo-remote "${REPOSITORY}#ref=${RELEASE}&dir=mini-me" | 28 | sbx run --name mm-demo-remote "${REPOSITORY}#ref=${RELEASE}&dir=mini-me" |
| 29 | ``` | 29 | ``` |
| 30 | 30 | ||
| 31 | > Assemble with other kits | 31 | > Assemble with other kits |
| 32 | ```bash | 32 | ```bash |
| 33 | -RELEASE=v0.1.0 | 33 | +RELEASE=v0.1.1 |
| 34 | REPOSITORY=git+https://git.rickub.com/bots-garden/mini-me-kit.git | 34 | REPOSITORY=git+https://git.rickub.com/bots-garden/mini-me-kit.git |
| 35 | sbx run --name mm-demo-remote "${REPOSITORY}#ref=${RELEASE}&dir=mini-me" \ | 35 | sbx run --name mm-demo-remote "${REPOSITORY}#ref=${RELEASE}&dir=mini-me" \ |
| 36 | --kit ./kits/go-toolchain --kit ./kits/nushell \ | 36 | --kit ./kits/go-toolchain --kit ./kits/nushell \ |
| @@ -40,18 +40,18 @@ sbx run --name mm-demo-remote "${REPOSITORY}#ref=${RELEASE}&dir=mini-me" \ | |||
| 40 | ### From Docker Hub | 40 | ### From Docker Hub |
| 41 | ```bash | 41 | ```bash |
| 42 | cd demo | 42 | cd demo |
| 43 | -sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.0 | 43 | +sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.1 |
| 44 | ``` | 44 | ``` |
| 45 | 45 | ||
| 46 | > Use it with another agent config file | 46 | > Use it with another agent config file |
| 47 | ```bash | 47 | ```bash |
| 48 | cd demo | 48 | cd demo |
| 49 | -sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.0 -- -config agent.lucy.yaml | 49 | +sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.1 -- -config agent.lucy.yaml |
| 50 | ``` | 50 | ``` |
| 51 | 51 | ||
| 52 | > Assemble with other kits | 52 | > Assemble with other kits |
| 53 | ```bash | 53 | ```bash |
| 54 | -sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.0 \ | 54 | +sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.1 \ |
| 55 | --kit ./kits/go-toolchain --kit ./kits/nushell \ | 55 | --kit ./kits/go-toolchain --kit ./kits/nushell \ |
| 56 | -- -config agent.lucy.yaml | 56 | -- -config agent.lucy.yaml |
| 57 | ``` | 57 | ``` |
| @@ -59,8 +59,8 @@ sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.0 \ | |||
| 59 | > With the Go toolchain kit, also from Docker Hub | 59 | > With the Go toolchain kit, also from Docker Hub |
| 60 | ```bash | 60 | ```bash |
| 61 | cd demo | 61 | cd demo |
| 62 | -sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.0 \ | 62 | +sbx run --name mm-demo-hub docker.io/k33g/mini-me-kit:0.1.1 \ |
| 63 | ---kit docker.io/k33g/go-toolchain-kit:0.1.0 | 63 | +--kit docker.io/k33g/go-toolchain-kit:0.1.1 |
| 64 | ``` | 64 | ``` |
| 65 | 65 | ||
| 66 | ## Mini Me Editor: Eclipse Theia (web IDE) | 66 | ## Mini Me Editor: Eclipse Theia (web IDE) |
| @@ -85,13 +85,13 @@ The terminals use the [Starship](https://starship.rs) prompt, configured in `min | |||
| 85 | cd demo | 85 | cd demo |
| 86 | sbx run -d --name mm-editor -p 8080:3000 ../mini-me-editor | 86 | sbx run -d --name mm-editor -p 8080:3000 ../mini-me-editor |
| 87 | # or, once published: | 87 | # or, once published: |
| 88 | -sbx run -d --name mm-editor -p 8080:3000 docker.io/k33g/mini-me-editor-kit:0.1.0 \ | 88 | +sbx run -d --name mm-editor -p 8080:3000 docker.io/k33g/mini-me-editor-kit:0.1.1 \ |
| 89 | ---kit docker.io/k33g/go-toolchain-kit:0.1.0 | 89 | +--kit docker.io/k33g/go-toolchain-kit:0.1.1 |
| 90 | 90 | ||
| 91 | # or, if you need rust | 91 | # or, if you need rust |
| 92 | -sbx run -d --name mm-editor -p 8080:3000 docker.io/k33g/mini-me-editor-kit:0.1.0 \ | 92 | +sbx run -d --name mm-editor -p 8080:3000 docker.io/k33g/mini-me-editor-kit:0.1.1 \ |
| 93 | ---kit docker.io/k33g/go-toolchain-kit:0.1.0 \ | 93 | +--kit docker.io/k33g/go-toolchain-kit:0.1.1 \ |
| 94 | ---kit docker.io/k33g/rust-toolchain-kit:0.1.0 | 94 | +--kit docker.io/k33g/rust-toolchain-kit:0.1.1 |
| 95 | ``` | 95 | ``` |
| 96 | 96 | ||
| 97 | > Or let sbx pick a free host port (it prints `published localhost:<port> -> 3000/tcp`) | 97 | > Or let sbx pick a free host port (it prints `published localhost:<port> -> 3000/tcp`) |
| @@ -136,7 +136,7 @@ use it to get Mini Me in a sandbox running another agent or editor kit. Its vers | |||
| 136 | cd demo | 136 | cd demo |
| 137 | sbx run --name mm-agent <agent> --kit ../mini-me-agent | 137 | sbx run --name mm-agent <agent> --kit ../mini-me-agent |
| 138 | # or, once published: | 138 | # or, once published: |
| 139 | -sbx run --name mm-agent <agent> --kit docker.io/k33g/mini-me-agent-kit:0.1.0 | 139 | +sbx run --name mm-agent <agent> --kit docker.io/k33g/mini-me-agent-kit:0.1.1 |
| 140 | ``` | 140 | ``` |
| 141 | 141 | ||
| 142 | Then start it from a terminal in the sandbox: `mm -tui`. | 142 | Then start it from a terminal in the sandbox: `mm -tui`. |
| @@ -180,7 +180,7 @@ sbx env rm | |||
| 180 | ``` | 180 | ``` |
| 181 | 181 | ||
| 182 | - The workload image is listed in `kits:` **and** named in `agent:`. For a registry image, `agent:` is the | 182 | - The workload image is listed in `kits:` **and** named in `agent:`. For a registry image, `agent:` is the |
| 183 | - last component of the repository name (`docker.io/k33g/vscode-ssh-kit:0.1.0` → `agent: vscode-ssh-kit`). | 183 | + last component of the repository name (`docker.io/k33g/vscode-ssh-kit:0.1.1` → `agent: vscode-ssh-kit`). |
| 184 | - `./00-prepare-release.sh` bumps the image tags of `sbxenv*.yaml` from `PREVIOUS_TAG` to `TAG`. | 184 | - `./00-prepare-release.sh` bumps the image tags of `sbxenv*.yaml` from `PREVIOUS_TAG` to `TAG`. |
| 185 | 185 | ||
| 186 | ## Release & publish | 186 | ## Release & publish |
modified
kits/go-toolchain/go-toolchain.yaml +1 -1 | @@ -4,7 +4,7 @@ kind: mixin | ||
| 4 | 4 | displayName: Go toolchain |
| 5 | 5 | description: Go toolchain and gopls (language server) |
| 6 | 6 | licenses: [MIT] |
| 7 | -version: "1.0.0" | |
| 7 | +version: "1.1.0" | |
| 8 | 8 | |
| 9 | 9 | args: |
| 10 | 10 | go_version: |
| @@ -4,7 +4,7 @@ kind: mixin | |||
| 4 | displayName: Go toolchain | 4 | displayName: Go toolchain |
| 5 | description: Go toolchain and gopls (language server) | 5 | description: Go toolchain and gopls (language server) |
| 6 | licenses: [MIT] | 6 | licenses: [MIT] |
| 7 | -version: "1.0.0" | 7 | +version: "1.1.0" |
| 8 | 8 | ||
| 9 | args: | 9 | args: |
| 10 | go_version: | 10 | go_version: |
modified
kits/nushell/nushell.yaml +1 -1 | @@ -4,7 +4,7 @@ kind: mixin | ||
| 4 | 4 | displayName: Nushell |
| 5 | 5 | description: Nushell (nu), a structured-data shell |
| 6 | 6 | licenses: [MIT] |
| 7 | -version: "1.0.0" | |
| 7 | +version: "1.1.0" | |
| 8 | 8 | |
| 9 | 9 | args: |
| 10 | 10 | nushell_version: |
| @@ -4,7 +4,7 @@ kind: mixin | |||
| 4 | displayName: Nushell | 4 | displayName: Nushell |
| 5 | description: Nushell (nu), a structured-data shell | 5 | description: Nushell (nu), a structured-data shell |
| 6 | licenses: [MIT] | 6 | licenses: [MIT] |
| 7 | -version: "1.0.0" | 7 | +version: "1.1.0" |
| 8 | 8 | ||
| 9 | args: | 9 | args: |
| 10 | nushell_version: | 10 | nushell_version: |
modified
kits/python-toolchain/python-toolchain.yaml +1 -1 | @@ -5,7 +5,7 @@ displayName: Python toolchain | ||
| 5 | 5 | description: Python (standalone CPython, pip), uv / uvx, ruff (linter, formatter), ty and basedpyright (type checkers, language servers) |
| 6 | 6 | |
| 7 | 7 | licenses: [MIT] |
| 8 | -version: "1.0.0" | |
| 8 | +version: "1.1.0" | |
| 9 | 9 | |
| 10 | 10 | args: |
| 11 | 11 | python_version: |
| @@ -5,7 +5,7 @@ displayName: Python toolchain | |||
| 5 | description: Python (standalone CPython, pip), uv / uvx, ruff (linter, formatter), ty and basedpyright (type checkers, language servers) | 5 | description: Python (standalone CPython, pip), uv / uvx, ruff (linter, formatter), ty and basedpyright (type checkers, language servers) |
| 6 | 6 | ||
| 7 | licenses: [MIT] | 7 | licenses: [MIT] |
| 8 | -version: "1.0.0" | 8 | +version: "1.1.0" |
| 9 | 9 | ||
| 10 | args: | 10 | args: |
| 11 | python_version: | 11 | python_version: |
modified
kits/rust-toolchain/rust-toolchain.yaml +1 -1 | @@ -5,7 +5,7 @@ displayName: Rust toolchain | ||
| 5 | 5 | description: Rust toolchain (cargo, rustc, rustfmt, clippy) and rust-analyzer (language server) |
| 6 | 6 | |
| 7 | 7 | licenses: [MIT] |
| 8 | -version: "1.0.0" | |
| 8 | +version: "1.1.0" | |
| 9 | 9 | |
| 10 | 10 | args: |
| 11 | 11 | rust_version: |
| @@ -5,7 +5,7 @@ displayName: Rust toolchain | |||
| 5 | description: Rust toolchain (cargo, rustc, rustfmt, clippy) and rust-analyzer (language server) | 5 | description: Rust toolchain (cargo, rustc, rustfmt, clippy) and rust-analyzer (language server) |
| 6 | 6 | ||
| 7 | licenses: [MIT] | 7 | licenses: [MIT] |
| 8 | -version: "1.0.0" | 8 | +version: "1.1.0" |
| 9 | 9 | ||
| 10 | args: | 10 | args: |
| 11 | rust_version: | 11 | rust_version: |
modified
kits/vscode-ssh/kit.yaml +1 -1 | @@ -18,7 +18,7 @@ description: >- | ||
| 18 | 18 | through the sbx SSH endpoint, with the network policy the VS Code server needs. |
| 19 | 19 | sourceUrl: https://rickub.com/bots-garden/mini-me-kit |
| 20 | 20 | licenses: [MIT] |
| 21 | -version: "1.0.0" | |
| 21 | +version: "1.1.0" | |
| 22 | 22 | capabilities: |
| 23 | 23 | - type: com.docker.sandbox/sbx@1 |
| 24 | 24 | - type: com.docker.sandbox/network-policy@1 |
| @@ -18,7 +18,7 @@ description: >- | |||
| 18 | through the sbx SSH endpoint, with the network policy the VS Code server needs. | 18 | through the sbx SSH endpoint, with the network policy the VS Code server needs. |
| 19 | sourceUrl: https://rickub.com/bots-garden/mini-me-kit | 19 | sourceUrl: https://rickub.com/bots-garden/mini-me-kit |
| 20 | licenses: [MIT] | 20 | licenses: [MIT] |
| 21 | -version: "1.0.0" | 21 | +version: "1.1.0" |
| 22 | capabilities: | 22 | capabilities: |
| 23 | - type: com.docker.sandbox/sbx@1 | 23 | - type: com.docker.sandbox/sbx@1 |
| 24 | - type: com.docker.sandbox/network-policy@1 | 24 | - type: com.docker.sandbox/network-policy@1 |
modified
kits/zed-ssh/kit.yaml +1 -1 | @@ -18,7 +18,7 @@ description: >- | ||
| 18 | 18 | through the sbx SSH endpoint, with the network policy the Zed remote server needs. |
| 19 | 19 | sourceUrl: https://rickub.com/bots-garden/mini-me-kit |
| 20 | 20 | licenses: [MIT] |
| 21 | -version: "1.0.0" | |
| 21 | +version: "1.1.0" | |
| 22 | 22 | capabilities: |
| 23 | 23 | - type: com.docker.sandbox/sbx@1 |
| 24 | 24 | - type: com.docker.sandbox/network-policy@1 |
| @@ -18,7 +18,7 @@ description: >- | |||
| 18 | through the sbx SSH endpoint, with the network policy the Zed remote server needs. | 18 | through the sbx SSH endpoint, with the network policy the Zed remote server needs. |
| 19 | sourceUrl: https://rickub.com/bots-garden/mini-me-kit | 19 | sourceUrl: https://rickub.com/bots-garden/mini-me-kit |
| 20 | licenses: [MIT] | 20 | licenses: [MIT] |
| 21 | -version: "1.0.0" | 21 | +version: "1.1.0" |
| 22 | capabilities: | 22 | capabilities: |
| 23 | - type: com.docker.sandbox/sbx@1 | 23 | - type: com.docker.sandbox/sbx@1 |
| 24 | - type: com.docker.sandbox/network-policy@1 | 24 | - type: com.docker.sandbox/network-policy@1 |
modified
mini-me-agent/mini-me-agent.yaml +3 -3 | @@ -5,16 +5,16 @@ displayName: Mini Me Agent | ||
| 5 | 5 | description: Mini Me (mm), a minimalist coding agent for local LLMs |
| 6 | 6 | sourceUrl: https://rickub.com/bots-garden/mini-me |
| 7 | 7 | licenses: [MIT] |
| 8 | -version: "1.0.0" | |
| 8 | +version: "1.1.0" | |
| 9 | 9 | |
| 10 | -provides: ["mini-me@1.0.2"] | |
| 10 | +provides: ["mini-me@1.0.3"] | |
| 11 | 11 | |
| 12 | 12 | dockerfile: ./mini-me-agent.dockerfile |
| 13 | 13 | |
| 14 | 14 | args: |
| 15 | 15 | mm_version: |
| 16 | 16 | # A release tag of https://rickub.com/bots-garden/mini-me/releases |
| 17 | - default: "v1.0.2" | |
| 17 | + default: "v1.0.3" | |
| 18 | 18 | pattern: '^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$' |
| 19 | 19 | buildArg: MM_VERSION |
| 20 | 20 | |
| @@ -5,16 +5,16 @@ displayName: Mini Me Agent | |||
| 5 | description: Mini Me (mm), a minimalist coding agent for local LLMs | 5 | description: Mini Me (mm), a minimalist coding agent for local LLMs |
| 6 | sourceUrl: https://rickub.com/bots-garden/mini-me | 6 | sourceUrl: https://rickub.com/bots-garden/mini-me |
| 7 | licenses: [MIT] | 7 | licenses: [MIT] |
| 8 | -version: "1.0.0" | 8 | +version: "1.1.0" |
| 9 | 9 | ||
| 10 | -provides: ["mini-me@1.0.2"] | 10 | +provides: ["mini-me@1.0.3"] |
| 11 | 11 | ||
| 12 | dockerfile: ./mini-me-agent.dockerfile | 12 | dockerfile: ./mini-me-agent.dockerfile |
| 13 | 13 | ||
| 14 | args: | 14 | args: |
| 15 | mm_version: | 15 | mm_version: |
| 16 | # A release tag of https://rickub.com/bots-garden/mini-me/releases | 16 | # A release tag of https://rickub.com/bots-garden/mini-me/releases |
| 17 | - default: "v1.0.2" | 17 | + default: "v1.0.3" |
| 18 | pattern: '^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$' | 18 | pattern: '^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$' |
| 19 | buildArg: MM_VERSION | 19 | buildArg: MM_VERSION |
| 20 | 20 | ||
modified
mini-me-editor/mini-me-editor.yaml +3 -3 | @@ -5,16 +5,16 @@ displayName: Mini Me Editor | ||
| 5 | 5 | description: Eclipse Theia web IDE on the workspace, with Mini Me (mm) installed (not launched) |
| 6 | 6 | sourceUrl: https://rickub.com/bots-garden/mini-me |
| 7 | 7 | licenses: [MIT] |
| 8 | -version: "1.0.0" | |
| 8 | +version: "1.1.0" | |
| 9 | 9 | |
| 10 | -provides: ["mini-me@1.0.2", "theia@${{ kit.args.theia_version }}"] | |
| 10 | +provides: ["mini-me@1.0.3", "theia@${{ kit.args.theia_version }}"] | |
| 11 | 11 | |
| 12 | 12 | dockerfile: ./mini-me-editor.dockerfile |
| 13 | 13 | |
| 14 | 14 | args: |
| 15 | 15 | mm_version: |
| 16 | 16 | # A release tag of https://rickub.com/bots-garden/mini-me/releases |
| 17 | - default: "v1.0.2" | |
| 17 | + default: "v1.0.3" | |
| 18 | 18 | pattern: '^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$' |
| 19 | 19 | buildArg: MM_VERSION |
| 20 | 20 | theia_version: |
| @@ -5,16 +5,16 @@ displayName: Mini Me Editor | |||
| 5 | description: Eclipse Theia web IDE on the workspace, with Mini Me (mm) installed (not launched) | 5 | description: Eclipse Theia web IDE on the workspace, with Mini Me (mm) installed (not launched) |
| 6 | sourceUrl: https://rickub.com/bots-garden/mini-me | 6 | sourceUrl: https://rickub.com/bots-garden/mini-me |
| 7 | licenses: [MIT] | 7 | licenses: [MIT] |
| 8 | -version: "1.0.0" | 8 | +version: "1.1.0" |
| 9 | 9 | ||
| 10 | -provides: ["mini-me@1.0.2", "theia@${{ kit.args.theia_version }}"] | 10 | +provides: ["mini-me@1.0.3", "theia@${{ kit.args.theia_version }}"] |
| 11 | 11 | ||
| 12 | dockerfile: ./mini-me-editor.dockerfile | 12 | dockerfile: ./mini-me-editor.dockerfile |
| 13 | 13 | ||
| 14 | args: | 14 | args: |
| 15 | mm_version: | 15 | mm_version: |
| 16 | # A release tag of https://rickub.com/bots-garden/mini-me/releases | 16 | # A release tag of https://rickub.com/bots-garden/mini-me/releases |
| 17 | - default: "v1.0.2" | 17 | + default: "v1.0.3" |
| 18 | pattern: '^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$' | 18 | pattern: '^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$' |
| 19 | buildArg: MM_VERSION | 19 | buildArg: MM_VERSION |
| 20 | theia_version: | 20 | theia_version: |
modified
mini-me/mini-me.yaml +3 -3 | @@ -5,16 +5,16 @@ displayName: Mini Me | ||
| 5 | 5 | description: Mini Me (mm), a minimalist coding agent for local LLMs |
| 6 | 6 | sourceUrl: https://rickub.com/bots-garden/mini-me |
| 7 | 7 | licenses: [MIT] |
| 8 | -version: "1.0.0" | |
| 8 | +version: "1.1.0" | |
| 9 | 9 | |
| 10 | -provides: ["mini-me@1.0.2"] | |
| 10 | +provides: ["mini-me@1.0.3"] | |
| 11 | 11 | |
| 12 | 12 | dockerfile: ./mini-me.dockerfile |
| 13 | 13 | |
| 14 | 14 | args: |
| 15 | 15 | mm_version: |
| 16 | 16 | # A release tag of https://rickub.com/bots-garden/mini-me/releases |
| 17 | - default: "v1.0.2" | |
| 17 | + default: "v1.0.3" | |
| 18 | 18 | pattern: '^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$' |
| 19 | 19 | buildArg: MM_VERSION |
| 20 | 20 | |
| @@ -5,16 +5,16 @@ displayName: Mini Me | |||
| 5 | description: Mini Me (mm), a minimalist coding agent for local LLMs | 5 | description: Mini Me (mm), a minimalist coding agent for local LLMs |
| 6 | sourceUrl: https://rickub.com/bots-garden/mini-me | 6 | sourceUrl: https://rickub.com/bots-garden/mini-me |
| 7 | licenses: [MIT] | 7 | licenses: [MIT] |
| 8 | -version: "1.0.0" | 8 | +version: "1.1.0" |
| 9 | 9 | ||
| 10 | -provides: ["mini-me@1.0.2"] | 10 | +provides: ["mini-me@1.0.3"] |
| 11 | 11 | ||
| 12 | dockerfile: ./mini-me.dockerfile | 12 | dockerfile: ./mini-me.dockerfile |
| 13 | 13 | ||
| 14 | args: | 14 | args: |
| 15 | mm_version: | 15 | mm_version: |
| 16 | # A release tag of https://rickub.com/bots-garden/mini-me/releases | 16 | # A release tag of https://rickub.com/bots-garden/mini-me/releases |
| 17 | - default: "v1.0.2" | 17 | + default: "v1.0.3" |
| 18 | pattern: '^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$' | 18 | pattern: '^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$' |
| 19 | buildArg: MM_VERSION | 19 | buildArg: MM_VERSION |
| 20 | 20 | ||
added
release-all.sh +44 -0 | new file mode 100755 | ||
| @@ -0,0 +1,44 @@ | ||
| 1 | +#!/bin/bash | |
| 2 | +: <<'COMMENT' | |
| 3 | +Run every release step, 00 to 10, in order, and stop at the first failure. | |
| 4 | + | |
| 5 | +1. Update MINI_ME_VERSION, PREVIOUS_TAG, TAG and ABOUT in release.env | |
| 6 | +2. Run this script: ./release-all.sh | |
| 7 | + - YES=1 ./release-all.sh to skip the diff check after 00 | |
| 8 | + - FROM=03 ./release-all.sh to resume from a given step after a failure | |
| 9 | + - DOCKER_HUB_NAMESPACE / SIGN are passed through to the publish scripts | |
| 10 | +COMMENT | |
| 11 | + | |
| 12 | +set -euo pipefail | |
| 13 | + | |
| 14 | +cd "$(dirname "$0")" | |
| 15 | + | |
| 16 | +FROM="${FROM:-00}" | |
| 17 | + | |
| 18 | +for script in [0-9][0-9]-*.sh; do | |
| 19 | + step="${script%%-*}" | |
| 20 | + # 10# keeps "08" and "09" from being read as octal | |
| 21 | + if ((10#${step} < 10#${FROM} || 10#${step} > 10)); then | |
| 22 | + continue | |
| 23 | + fi | |
| 24 | + | |
| 25 | + echo | |
| 26 | + echo "▶️ ${script}" | |
| 27 | + if ! "./${script}"; then | |
| 28 | + echo "❌ ${script} failed" | |
| 29 | + echo "💡 Fix it, then resume with: FROM=${step} ./release-all.sh" | |
| 30 | + exit 1 | |
| 31 | + fi | |
| 32 | + | |
| 33 | + # 00 only rewrites files: 01 commits and tags them, so look before going on. | |
| 34 | + if [ "${step}" = "00" ] && [ "${YES:-0}" != "1" ]; then | |
| 35 | + read -r -p "Diff OK, go on with 01 (commit, push, tag)? [y/N] " answer | |
| 36 | + if [ "${answer}" != "y" ] && [ "${answer}" != "Y" ]; then | |
| 37 | + echo "Stopped after 00. Resume with: FROM=01 ./release-all.sh" | |
| 38 | + exit 0 | |
| 39 | + fi | |
| 40 | + fi | |
| 41 | +done | |
| 42 | + | |
| 43 | +echo | |
| 44 | +echo "✅ All steps done" | |
| new file mode 100755 | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | +#!/bin/bash | ||
| 2 | +: <<'COMMENT' | ||
| 3 | +Run every release step, 00 to 10, in order, and stop at the first failure. | ||
| 4 | + | ||
| 5 | +1. Update MINI_ME_VERSION, PREVIOUS_TAG, TAG and ABOUT in release.env | ||
| 6 | +2. Run this script: ./release-all.sh | ||
| 7 | + - YES=1 ./release-all.sh to skip the diff check after 00 | ||
| 8 | + - FROM=03 ./release-all.sh to resume from a given step after a failure | ||
| 9 | + - DOCKER_HUB_NAMESPACE / SIGN are passed through to the publish scripts | ||
| 10 | +COMMENT | ||
| 11 | + | ||
| 12 | +set -euo pipefail | ||
| 13 | + | ||
| 14 | +cd "$(dirname "$0")" | ||
| 15 | + | ||
| 16 | +FROM="${FROM:-00}" | ||
| 17 | + | ||
| 18 | +for script in [0-9][0-9]-*.sh; do | ||
| 19 | + step="${script%%-*}" | ||
| 20 | + # 10# keeps "08" and "09" from being read as octal | ||
| 21 | + if ((10#${step} < 10#${FROM} || 10#${step} > 10)); then | ||
| 22 | + continue | ||
| 23 | + fi | ||
| 24 | + | ||
| 25 | + echo | ||
| 26 | + echo "▶️ ${script}" | ||
| 27 | + if ! "./${script}"; then | ||
| 28 | + echo "❌ ${script} failed" | ||
| 29 | + echo "💡 Fix it, then resume with: FROM=${step} ./release-all.sh" | ||
| 30 | + exit 1 | ||
| 31 | + fi | ||
| 32 | + | ||
| 33 | + # 00 only rewrites files: 01 commits and tags them, so look before going on. | ||
| 34 | + if [ "${step}" = "00" ] && [ "${YES:-0}" != "1" ]; then | ||
| 35 | + read -r -p "Diff OK, go on with 01 (commit, push, tag)? [y/N] " answer | ||
| 36 | + if [ "${answer}" != "y" ] && [ "${answer}" != "Y" ]; then | ||
| 37 | + echo "Stopped after 00. Resume with: FROM=01 ./release-all.sh" | ||
| 38 | + exit 0 | ||
| 39 | + fi | ||
| 40 | + fi | ||
| 41 | +done | ||
| 42 | + | ||
| 43 | +echo | ||
| 44 | +echo "✅ All steps done" | ||
modified
release.env +3 -3 | @@ -1,8 +1,8 @@ | ||
| 1 | 1 | # ./01-release.tag.sh commit, tag, push |
| 2 | -MINI_ME_VERSION="1.0.2" | |
| 3 | -PREVIOUS_TAG="v0.0.9" | |
| 2 | +MINI_ME_VERSION="1.0.3" | |
| 3 | +PREVIOUS_TAG="v0.1.0" | |
| 4 | 4 | |
| 5 | -TAG="v0.1.0" | |
| 5 | +TAG="v0.1.1" | |
| 6 | 6 | ABOUT="Mini Me" |
| 7 | 7 | OWNER="bots-garden" |
| 8 | 8 | REPO="mini-me-kit" |
| @@ -1,8 +1,8 @@ | |||
| 1 | # ./01-release.tag.sh commit, tag, push | 1 | # ./01-release.tag.sh commit, tag, push |
| 2 | -MINI_ME_VERSION="1.0.2" | 2 | +MINI_ME_VERSION="1.0.3" |
| 3 | -PREVIOUS_TAG="v0.0.9" | 3 | +PREVIOUS_TAG="v0.1.0" |
| 4 | 4 | ||
| 5 | -TAG="v0.1.0" | 5 | +TAG="v0.1.1" |
| 6 | ABOUT="Mini Me" | 6 | ABOUT="Mini Me" |
| 7 | OWNER="bots-garden" | 7 | OWNER="bots-garden" |
| 8 | REPO="mini-me-kit" | 8 | REPO="mini-me-kit" |
modified
sbxenv.vscode.yaml +5 -5 | @@ -8,11 +8,11 @@ name: vscode-mm | ||
| 8 | 8 | agent: vscode-ssh-kit |
| 9 | 9 | |
| 10 | 10 | kits: |
| 11 | - - docker.io/k33g/vscode-ssh-kit:0.1.0 | |
| 12 | - - docker.io/k33g/nushell-kit:0.1.0 | |
| 13 | - - docker.io/k33g/mini-me-agent-kit:0.1.0 | |
| 14 | - - docker.io/k33g/go-toolchain-kit:0.1.0 | |
| 15 | - - docker.io/k33g/python-toolchain-kit:0.1.0 | |
| 11 | + - docker.io/k33g/vscode-ssh-kit:0.1.1 | |
| 12 | + - docker.io/k33g/nushell-kit:0.1.1 | |
| 13 | + - docker.io/k33g/mini-me-agent-kit:0.1.1 | |
| 14 | + - docker.io/k33g/go-toolchain-kit:0.1.1 | |
| 15 | + - docker.io/k33g/python-toolchain-kit:0.1.1 | |
| 16 | 16 | |
| 17 | 17 | |
| 18 | 18 | # Mounted at the same path as on the host, so VS Code opens that same path remotely. |
| @@ -8,11 +8,11 @@ name: vscode-mm | |||
| 8 | agent: vscode-ssh-kit | 8 | agent: vscode-ssh-kit |
| 9 | 9 | ||
| 10 | kits: | 10 | kits: |
| 11 | - - docker.io/k33g/vscode-ssh-kit:0.1.0 | 11 | + - docker.io/k33g/vscode-ssh-kit:0.1.1 |
| 12 | - - docker.io/k33g/nushell-kit:0.1.0 | 12 | + - docker.io/k33g/nushell-kit:0.1.1 |
| 13 | - - docker.io/k33g/mini-me-agent-kit:0.1.0 | 13 | + - docker.io/k33g/mini-me-agent-kit:0.1.1 |
| 14 | - - docker.io/k33g/go-toolchain-kit:0.1.0 | 14 | + - docker.io/k33g/go-toolchain-kit:0.1.1 |
| 15 | - - docker.io/k33g/python-toolchain-kit:0.1.0 | 15 | + - docker.io/k33g/python-toolchain-kit:0.1.1 |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | # Mounted at the same path as on the host, so VS Code opens that same path remotely. | 18 | # Mounted at the same path as on the host, so VS Code opens that same path remotely. |
modified
sbxenv.zed.yaml +6 -6 | @@ -8,12 +8,12 @@ name: zed-mm | ||
| 8 | 8 | agent: zed-ssh-kit |
| 9 | 9 | |
| 10 | 10 | kits: |
| 11 | - - docker.io/k33g/zed-ssh-kit:0.1.0 | |
| 12 | - - docker.io/k33g/nushell-kit:0.1.0 | |
| 13 | - - docker.io/k33g/mini-me-agent-kit:0.1.0 | |
| 14 | - - docker.io/k33g/go-toolchain-kit:0.1.0 | |
| 15 | - - docker.io/k33g/rust-toolchain-kit:0.1.0 | |
| 16 | - - docker.io/k33g/python-toolchain-kit:0.1.0 | |
| 11 | + - docker.io/k33g/zed-ssh-kit:0.1.1 | |
| 12 | + - docker.io/k33g/nushell-kit:0.1.1 | |
| 13 | + - docker.io/k33g/mini-me-agent-kit:0.1.1 | |
| 14 | + - docker.io/k33g/go-toolchain-kit:0.1.1 | |
| 15 | + - docker.io/k33g/rust-toolchain-kit:0.1.1 | |
| 16 | + - docker.io/k33g/python-toolchain-kit:0.1.1 | |
| 17 | 17 | |
| 18 | 18 | # Mounted at the same path as on the host, so VS Code opens that same path remotely. |
| 19 | 19 | workspace: ./demo |
| @@ -8,12 +8,12 @@ name: zed-mm | |||
| 8 | agent: zed-ssh-kit | 8 | agent: zed-ssh-kit |
| 9 | 9 | ||
| 10 | kits: | 10 | kits: |
| 11 | - - docker.io/k33g/zed-ssh-kit:0.1.0 | 11 | + - docker.io/k33g/zed-ssh-kit:0.1.1 |
| 12 | - - docker.io/k33g/nushell-kit:0.1.0 | 12 | + - docker.io/k33g/nushell-kit:0.1.1 |
| 13 | - - docker.io/k33g/mini-me-agent-kit:0.1.0 | 13 | + - docker.io/k33g/mini-me-agent-kit:0.1.1 |
| 14 | - - docker.io/k33g/go-toolchain-kit:0.1.0 | 14 | + - docker.io/k33g/go-toolchain-kit:0.1.1 |
| 15 | - - docker.io/k33g/rust-toolchain-kit:0.1.0 | 15 | + - docker.io/k33g/rust-toolchain-kit:0.1.1 |
| 16 | - - docker.io/k33g/python-toolchain-kit:0.1.0 | 16 | + - docker.io/k33g/python-toolchain-kit:0.1.1 |
| 17 | 17 | ||
| 18 | # Mounted at the same path as on the host, so VS Code opens that same path remotely. | 18 | # Mounted at the same path as on the host, so VS Code opens that same path remotely. |
| 19 | workspace: ./demo | 19 | workspace: ./demo |