🛟 Updated.Unverified
fd8373f parent: 51d1a35 modified
.gitignore +1 -0 | @@ -1 +1,2 @@ | ||
| 1 | 1 | experiments |
| 2 | +tmp | |
| @@ -1 +1,2 @@ | |||
| 1 | experiments | 1 | experiments |
| 2 | +tmp | ||
modified
translator/README.md +56 -2 | @@ -27,17 +27,71 @@ llmman pull hf.co/unsloth/gemma-4-E4B-it-GGUF:Q4_K_M | ||
| 27 | 27 | ### Start the agent |
| 28 | 28 | |
| 29 | 29 | ```bash |
| 30 | -cd demos/translator # AGENTS.md and skills/ are read from the current directory | |
| 30 | +cd translator # AGENTS.md and skills/ are read from the current directory | |
| 31 | 31 | mm --tui # we use the default config name: `agent.yaml` |
| 32 | 32 | ``` |
| 33 | 33 | |
| 34 | 34 | ### Start the agent in `sbx` ([Docker Sandbox](https://docs.docker.com/ai/sandboxes/)) |
| 35 | 35 | |
| 36 | 36 | ```bash |
| 37 | -cd demos/translator | |
| 37 | +cd translator | |
| 38 | 38 | RELEASE=v0.0.1 |
| 39 | 39 | REPOSITORY=git+https://git.rickub.com/bots-garden/mini-me-kit.git |
| 40 | 40 | sbx run --name mm-translator "${REPOSITORY}#ref=${RELEASE}&dir=mini-me" |
| 41 | 41 | ``` |
| 42 | 42 | > `v0.0.1` is the release version of the Mini Me sbx kit |
| 43 | 43 | |
| 44 | + | |
| 45 | +## Copie (and create) the `translator` directory from the repository | |
| 46 | + | |
| 47 | +```bash | |
| 48 | +git clone --depth 1 --filter=blob:none --sparse https://git.rickub.com/bots-garden/squadron.git /tmp/squadron | |
| 49 | +git -C /tmp/squadron sparse-checkout set translator | |
| 50 | +mv /tmp/squadron/translator ./translator | |
| 51 | +rm -rf /tmp/squadron | |
| 52 | +``` | |
| 53 | + | |
| 54 | +## Copie the content of the `translator` directory from the repository to the current directory | |
| 55 | + | |
| 56 | +```bash | |
| 57 | +git clone --depth 1 --filter=blob:none --sparse https://git.rickub.com/bots-garden/squadron.git /tmp/squadron && | |
| 58 | +git -C /tmp/squadron sparse-checkout set translator && | |
| 59 | +cp -a /tmp/squadron/translator/. . && | |
| 60 | +rm -rf /tmp/squadron | |
| 61 | +``` | |
| 62 | + | |
| 63 | +## ACP integration | |
| 64 | + | |
| 65 | +### Zed Editor | |
| 66 | + | |
| 67 | +```json | |
| 68 | +"agent_servers": { | |
| 69 | + "🐮 Garfield (translator)": { | |
| 70 | + "type": "custom", | |
| 71 | + "command": "mm", | |
| 72 | + "args": ["-acp"], | |
| 73 | + "env": { "AGENT_CONFIG": "/Users/k33g/kDrive/Rickub/bots-garden/squadron/translator/agent.yaml" } | |
| 74 | + }, | |
| 75 | +``` | |
| 76 | + | |
| 77 | +#### With `sbx` | |
| 78 | + | |
| 79 | +```json | |
| 80 | +"🐮 [sbx] Garfield (translator)": { | |
| 81 | + "type": "custom", | |
| 82 | + "command": "sbx", | |
| 83 | + "args": ["exec", "-i", "mm-translator", "mm", "-acp"] | |
| 84 | +}, | |
| 85 | +``` | |
| 86 | + | |
| 87 | +### VSCode / VSCodium with ACP Patchbay | |
| 88 | + | |
| 89 | +```bash | |
| 90 | +mm -acp -config /Users/k33g/kDrive/Rickub/bots-garden/squadron/translator/agent.yaml | |
| 91 | +``` | |
| 92 | + | |
| 93 | +#### With `sbx` | |
| 94 | + | |
| 95 | +```bash | |
| 96 | +sbx exec -i mm-translator mm -acp | |
| 97 | +``` | |
| @@ -27,17 +27,71 @@ llmman pull hf.co/unsloth/gemma-4-E4B-it-GGUF:Q4_K_M | |||
| 27 | ### Start the agent | 27 | ### Start the agent |
| 28 | 28 | ||
| 29 | ```bash | 29 | ```bash |
| 30 | -cd demos/translator # AGENTS.md and skills/ are read from the current directory | 30 | +cd translator # AGENTS.md and skills/ are read from the current directory |
| 31 | mm --tui # we use the default config name: `agent.yaml` | 31 | mm --tui # we use the default config name: `agent.yaml` |
| 32 | ``` | 32 | ``` |
| 33 | 33 | ||
| 34 | ### Start the agent in `sbx` ([Docker Sandbox](https://docs.docker.com/ai/sandboxes/)) | 34 | ### Start the agent in `sbx` ([Docker Sandbox](https://docs.docker.com/ai/sandboxes/)) |
| 35 | 35 | ||
| 36 | ```bash | 36 | ```bash |
| 37 | -cd demos/translator | 37 | +cd translator |
| 38 | RELEASE=v0.0.1 | 38 | RELEASE=v0.0.1 |
| 39 | REPOSITORY=git+https://git.rickub.com/bots-garden/mini-me-kit.git | 39 | REPOSITORY=git+https://git.rickub.com/bots-garden/mini-me-kit.git |
| 40 | sbx run --name mm-translator "${REPOSITORY}#ref=${RELEASE}&dir=mini-me" | 40 | sbx run --name mm-translator "${REPOSITORY}#ref=${RELEASE}&dir=mini-me" |
| 41 | ``` | 41 | ``` |
| 42 | > `v0.0.1` is the release version of the Mini Me sbx kit | 42 | > `v0.0.1` is the release version of the Mini Me sbx kit |
| 43 | 43 | ||
| 44 | + | ||
| 45 | +## Copie (and create) the `translator` directory from the repository | ||
| 46 | + | ||
| 47 | +```bash | ||
| 48 | +git clone --depth 1 --filter=blob:none --sparse https://git.rickub.com/bots-garden/squadron.git /tmp/squadron | ||
| 49 | +git -C /tmp/squadron sparse-checkout set translator | ||
| 50 | +mv /tmp/squadron/translator ./translator | ||
| 51 | +rm -rf /tmp/squadron | ||
| 52 | +``` | ||
| 53 | + | ||
| 54 | +## Copie the content of the `translator` directory from the repository to the current directory | ||
| 55 | + | ||
| 56 | +```bash | ||
| 57 | +git clone --depth 1 --filter=blob:none --sparse https://git.rickub.com/bots-garden/squadron.git /tmp/squadron && | ||
| 58 | +git -C /tmp/squadron sparse-checkout set translator && | ||
| 59 | +cp -a /tmp/squadron/translator/. . && | ||
| 60 | +rm -rf /tmp/squadron | ||
| 61 | +``` | ||
| 62 | + | ||
| 63 | +## ACP integration | ||
| 64 | + | ||
| 65 | +### Zed Editor | ||
| 66 | + | ||
| 67 | +```json | ||
| 68 | +"agent_servers": { | ||
| 69 | + "🐮 Garfield (translator)": { | ||
| 70 | + "type": "custom", | ||
| 71 | + "command": "mm", | ||
| 72 | + "args": ["-acp"], | ||
| 73 | + "env": { "AGENT_CONFIG": "/Users/k33g/kDrive/Rickub/bots-garden/squadron/translator/agent.yaml" } | ||
| 74 | + }, | ||
| 75 | +``` | ||
| 76 | + | ||
| 77 | +#### With `sbx` | ||
| 78 | + | ||
| 79 | +```json | ||
| 80 | +"🐮 [sbx] Garfield (translator)": { | ||
| 81 | + "type": "custom", | ||
| 82 | + "command": "sbx", | ||
| 83 | + "args": ["exec", "-i", "mm-translator", "mm", "-acp"] | ||
| 84 | +}, | ||
| 85 | +``` | ||
| 86 | + | ||
| 87 | +### VSCode / VSCodium with ACP Patchbay | ||
| 88 | + | ||
| 89 | +```bash | ||
| 90 | +mm -acp -config /Users/k33g/kDrive/Rickub/bots-garden/squadron/translator/agent.yaml | ||
| 91 | +``` | ||
| 92 | + | ||
| 93 | +#### With `sbx` | ||
| 94 | + | ||
| 95 | +```bash | ||
| 96 | +sbx exec -i mm-translator mm -acp | ||
| 97 | +``` | ||
modified
translator/agent.yaml +1 -1 | @@ -13,7 +13,7 @@ acp: | ||
| 13 | 13 | name: garfield |
| 14 | 14 | title: 🐮 Garfield (translator) |
| 15 | 15 | |
| 16 | -bashTool: false # no commands: the text comes in, the translation goes out | |
| 16 | +bashTool: true | |
| 17 | 17 | editTools: true |
| 18 | 18 | planTool: false |
| 19 | 19 | fetchContentTool: true |
| @@ -13,7 +13,7 @@ acp: | |||
| 13 | name: garfield | 13 | name: garfield |
| 14 | title: 🐮 Garfield (translator) | 14 | title: 🐮 Garfield (translator) |
| 15 | 15 | ||
| 16 | -bashTool: false # no commands: the text comes in, the translation goes out | 16 | +bashTool: true |
| 17 | editTools: true | 17 | editTools: true |
| 18 | planTool: false | 18 | planTool: false |
| 19 | fetchContentTool: true | 19 | fetchContentTool: true |