#84 Gemini : programme gemini, --acp dans les arguments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25afaf5 parent: 42be055 modified
.memory/history.md +1 -0 | @@ -222,3 +222,4 @@ | ||
| 222 | 222 | - **2026-11-10 — messages for several agents** (owner tested "@alice make a story about seven of nine, then @bob make a summary of this story": Alice asked for the story, Bob did everything; "@alice … ensuite demande à @bob d'en faire un résumé" worked): cause — with nothing unseen, Alice got the raw text and does not know she is @alice. Now, when a user message routes to several agents in a channel, `SharedPrompt` tells each one its name, the answer order and its part (`PartFor`: words after its first mention up to the next addressed agent's mention, code masked; none under two words = request for all). The fake conn matches scripts on the user's text inside a shared prompt. Docs EN/FR: manage-channels row, channels-and-context explanation, agents-and-events routing row. Not yet tried with mm. |
| 223 | 223 | - **2026-11-10 — follow-up**: tried with mm, `SharedPrompt` failed (Alice echoed "make a story about seven of nine", Bob wrote the story). Replaced it: each addressed agent receives only its part through the plain `Prompt` format (the one that works for a single agent), linking word stripped (`trailingLink`: then/and/puis/et/ensuite…); whole text when the part is under two words. `SharedPrompt` removed. Not yet re-tried with mm. |
| 224 | 224 | - **2026-11-10 — #82 Codex and #84 Gemini in sbx, like #81** (owner: "implement 82 like 81, the example is agents/snippets/codex-acp; then 84, you create the example"): `sbxPrograms` + `sbxAgentOf` in agentform.ts (claude-agent-acp, `/home/agent/.local/bin/codex-acp` — outside the kit's PATH per its Docker Hub page —, `gemini --acp`); a note per agent (`assistant.codexNote`, `assistant.geminiNote`), config-file block hidden. Gemini example written: kit `docker.io/sbx/gemini-kit` (deprecated by Docker for `antigravity`), `bindings.google`. Lifecycle test reads every `agents/snippets/*/sbxenv.yaml`. Guides EN/FR add-a-codex/gemini-agent-in-a-sandbox. `agents/snippets/codex-acp` holds a nested `.git` (the owner's): not committed, asked the owner. Not tried with sbx. |
| 225 | +- **2026-11-10 — #84 fix** (owner: "propose only gemini, --acp goes in the arguments"): `sbxPrograms.gemini = 'gemini'`, `sbxArguments` (gemini: `--acp`); choosing an sbx agent's program fills Arguments unless other arguments were typed. | |
| @@ -222,3 +222,4 @@ | |||
| 222 | - **2026-11-10 — messages for several agents** (owner tested "@alice make a story about seven of nine, then @bob make a summary of this story": Alice asked for the story, Bob did everything; "@alice … ensuite demande à @bob d'en faire un résumé" worked): cause — with nothing unseen, Alice got the raw text and does not know she is @alice. Now, when a user message routes to several agents in a channel, `SharedPrompt` tells each one its name, the answer order and its part (`PartFor`: words after its first mention up to the next addressed agent's mention, code masked; none under two words = request for all). The fake conn matches scripts on the user's text inside a shared prompt. Docs EN/FR: manage-channels row, channels-and-context explanation, agents-and-events routing row. Not yet tried with mm. | 222 | - **2026-11-10 — messages for several agents** (owner tested "@alice make a story about seven of nine, then @bob make a summary of this story": Alice asked for the story, Bob did everything; "@alice … ensuite demande à @bob d'en faire un résumé" worked): cause — with nothing unseen, Alice got the raw text and does not know she is @alice. Now, when a user message routes to several agents in a channel, `SharedPrompt` tells each one its name, the answer order and its part (`PartFor`: words after its first mention up to the next addressed agent's mention, code masked; none under two words = request for all). The fake conn matches scripts on the user's text inside a shared prompt. Docs EN/FR: manage-channels row, channels-and-context explanation, agents-and-events routing row. Not yet tried with mm. |
| 223 | - **2026-11-10 — follow-up**: tried with mm, `SharedPrompt` failed (Alice echoed "make a story about seven of nine", Bob wrote the story). Replaced it: each addressed agent receives only its part through the plain `Prompt` format (the one that works for a single agent), linking word stripped (`trailingLink`: then/and/puis/et/ensuite…); whole text when the part is under two words. `SharedPrompt` removed. Not yet re-tried with mm. | 223 | - **2026-11-10 — follow-up**: tried with mm, `SharedPrompt` failed (Alice echoed "make a story about seven of nine", Bob wrote the story). Replaced it: each addressed agent receives only its part through the plain `Prompt` format (the one that works for a single agent), linking word stripped (`trailingLink`: then/and/puis/et/ensuite…); whole text when the part is under two words. `SharedPrompt` removed. Not yet re-tried with mm. |
| 224 | - **2026-11-10 — #82 Codex and #84 Gemini in sbx, like #81** (owner: "implement 82 like 81, the example is agents/snippets/codex-acp; then 84, you create the example"): `sbxPrograms` + `sbxAgentOf` in agentform.ts (claude-agent-acp, `/home/agent/.local/bin/codex-acp` — outside the kit's PATH per its Docker Hub page —, `gemini --acp`); a note per agent (`assistant.codexNote`, `assistant.geminiNote`), config-file block hidden. Gemini example written: kit `docker.io/sbx/gemini-kit` (deprecated by Docker for `antigravity`), `bindings.google`. Lifecycle test reads every `agents/snippets/*/sbxenv.yaml`. Guides EN/FR add-a-codex/gemini-agent-in-a-sandbox. `agents/snippets/codex-acp` holds a nested `.git` (the owner's): not committed, asked the owner. Not tried with sbx. | 224 | - **2026-11-10 — #82 Codex and #84 Gemini in sbx, like #81** (owner: "implement 82 like 81, the example is agents/snippets/codex-acp; then 84, you create the example"): `sbxPrograms` + `sbxAgentOf` in agentform.ts (claude-agent-acp, `/home/agent/.local/bin/codex-acp` — outside the kit's PATH per its Docker Hub page —, `gemini --acp`); a note per agent (`assistant.codexNote`, `assistant.geminiNote`), config-file block hidden. Gemini example written: kit `docker.io/sbx/gemini-kit` (deprecated by Docker for `antigravity`), `bindings.google`. Lifecycle test reads every `agents/snippets/*/sbxenv.yaml`. Guides EN/FR add-a-codex/gemini-agent-in-a-sandbox. `agents/snippets/codex-acp` holds a nested `.git` (the owner's): not committed, asked the owner. Not tried with sbx. |
| 225 | +- **2026-11-10 — #84 fix** (owner: "propose only gemini, --acp goes in the arguments"): `sbxPrograms.gemini = 'gemini'`, `sbxArguments` (gemini: `--acp`); choosing an sbx agent's program fills Arguments unless other arguments were typed. | ||
modified
.tickets/issues/0084-simplifier-l-ajout-d-une-sbx-avec-gemini-acp.yaml +10 -2 | @@ -6,7 +6,7 @@ author: | ||
| 6 | 6 | name: k33g |
| 7 | 7 | email: ph.charriere@gmail.com |
| 8 | 8 | createdAt: 2026-11-10T04:26:00.000Z |
| 9 | -updatedAt: 2026-11-10T04:43:20.000Z | |
| 9 | +updatedAt: 2026-11-10T04:51:02.000Z | |
| 10 | 10 | labels: |
| 11 | 11 | - kind::feature |
| 12 | 12 | - area::config |
| @@ -55,7 +55,7 @@ tasks: | ||
| 55 | 55 | updatedAt: 2026-11-10T04:43:20.000Z |
| 56 | 56 | closedAt: 2026-11-10T04:43:20.000Z |
| 57 | 57 | - id: 2 |
| 58 | - title: "Proposer gemini --acp dans la liste des programmes en mode sbx (gemini --experimental-acp reconnu aussi)" | |
| 58 | + title: "Proposer gemini dans la liste des programmes en mode sbx, avec --acp dans les arguments" | |
| 59 | 59 | state: closed |
| 60 | 60 | priority: high |
| 61 | 61 | author: |
| @@ -97,3 +97,11 @@ comments: | ||
| 97 | 97 | - Docker indique `gemini-kit` comme déprécié au profit du kit `antigravity` : signalé dans le guide. |
| 98 | 98 | - Docs EN + FR : guide « Ajouter un agent Gemini dans une sandbox sbx », « Ajouter un agent », index. |
| 99 | 99 | - À vérifier sur le Mac : le nom `google` des `bindings` (repris de la page du kit) et le démarrage réel. |
| 100 | + - id: 2 | |
| 101 | + author: | |
| 102 | + name: k33g | |
| 103 | + email: ph.charriere@gmail.com | |
| 104 | + createdAt: 2026-11-10T04:51:02.000Z | |
| 105 | + body: | | |
| 106 | + Corrigé à la demande : la liste **Programme** propose `gemini` seul ; le choisir remplit **Arguments** avec `--acp` | |
| 107 | + (sauf si d'autres arguments ont été tapés). `sbxArguments` dans [agentform.ts](frontend/src/lib/agentform.ts) ; guides EN + FR et README de l'exemple mis à jour. | |
| @@ -6,7 +6,7 @@ author: | |||
| 6 | name: k33g | 6 | name: k33g |
| 7 | email: ph.charriere@gmail.com | 7 | email: ph.charriere@gmail.com |
| 8 | createdAt: 2026-11-10T04:26:00.000Z | 8 | createdAt: 2026-11-10T04:26:00.000Z |
| 9 | -updatedAt: 2026-11-10T04:43:20.000Z | 9 | +updatedAt: 2026-11-10T04:51:02.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - kind::feature | 11 | - kind::feature |
| 12 | - area::config | 12 | - area::config |
| @@ -55,7 +55,7 @@ tasks: | |||
| 55 | updatedAt: 2026-11-10T04:43:20.000Z | 55 | updatedAt: 2026-11-10T04:43:20.000Z |
| 56 | closedAt: 2026-11-10T04:43:20.000Z | 56 | closedAt: 2026-11-10T04:43:20.000Z |
| 57 | - id: 2 | 57 | - id: 2 |
| 58 | - title: "Proposer gemini --acp dans la liste des programmes en mode sbx (gemini --experimental-acp reconnu aussi)" | 58 | + title: "Proposer gemini dans la liste des programmes en mode sbx, avec --acp dans les arguments" |
| 59 | state: closed | 59 | state: closed |
| 60 | priority: high | 60 | priority: high |
| 61 | author: | 61 | author: |
| @@ -97,3 +97,11 @@ comments: | |||
| 97 | - Docker indique `gemini-kit` comme déprécié au profit du kit `antigravity` : signalé dans le guide. | 97 | - Docker indique `gemini-kit` comme déprécié au profit du kit `antigravity` : signalé dans le guide. |
| 98 | - Docs EN + FR : guide « Ajouter un agent Gemini dans une sandbox sbx », « Ajouter un agent », index. | 98 | - Docs EN + FR : guide « Ajouter un agent Gemini dans une sandbox sbx », « Ajouter un agent », index. |
| 99 | - À vérifier sur le Mac : le nom `google` des `bindings` (repris de la page du kit) et le démarrage réel. | 99 | - À vérifier sur le Mac : le nom `google` des `bindings` (repris de la page du kit) et le démarrage réel. |
| 100 | + - id: 2 | ||
| 101 | + author: | ||
| 102 | + name: k33g | ||
| 103 | + email: ph.charriere@gmail.com | ||
| 104 | + createdAt: 2026-11-10T04:51:02.000Z | ||
| 105 | + body: | | ||
| 106 | + Corrigé à la demande : la liste **Programme** propose `gemini` seul ; le choisir remplit **Arguments** avec `--acp` | ||
| 107 | + (sauf si d'autres arguments ont été tapés). `sbxArguments` dans [agentform.ts](frontend/src/lib/agentform.ts) ; guides EN + FR et README de l'exemple mis à jour. | ||
modified
agents/snippets/gemini-acp/README.md +1 -1 | @@ -2,7 +2,7 @@ | ||
| 2 | 2 | |
| 3 | 3 | Before creating the sandbox, give your Gemini API key to sbx (never in a file): `sbx secret set google`. |
| 4 | 4 | |
| 5 | -Gemini CLI speaks ACP itself: the program is `gemini --acp` (`gemini --experimental-acp` with older versions of Gemini CLI). The kit `docker.io/sbx/gemini-kit` installs the latest Gemini CLI. | |
| 5 | +Gemini CLI speaks ACP itself: the program is `gemini`, with the argument `--acp` (`--experimental-acp` with older versions of Gemini CLI). The kit `docker.io/sbx/gemini-kit` installs the latest Gemini CLI. | |
| 6 | 6 | |
| 7 | 7 | ```yaml |
| 8 | 8 | - name: gemini |
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | Before creating the sandbox, give your Gemini API key to sbx (never in a file): `sbx secret set google`. | 3 | Before creating the sandbox, give your Gemini API key to sbx (never in a file): `sbx secret set google`. |
| 4 | 4 | ||
| 5 | -Gemini CLI speaks ACP itself: the program is `gemini --acp` (`gemini --experimental-acp` with older versions of Gemini CLI). The kit `docker.io/sbx/gemini-kit` installs the latest Gemini CLI. | 5 | +Gemini CLI speaks ACP itself: the program is `gemini`, with the argument `--acp` (`--experimental-acp` with older versions of Gemini CLI). The kit `docker.io/sbx/gemini-kit` installs the latest Gemini CLI. |
| 6 | 6 | ||
| 7 | ```yaml | 7 | ```yaml |
| 8 | - name: gemini | 8 | - name: gemini |
modified
docs/en/how-to/add-a-gemini-agent-in-a-sandbox.md +1 -1 | @@ -28,7 +28,7 @@ The sandbox is built from the `docker.io/sbx/gemini-kit` kit. This kit is provid | ||
| 28 | 28 | The key is kept by sbx, on this computer, never in a file of the folder. |
| 29 | 29 | 3. In the **Agents** panel, click **+ Add an agent**. Fill in **Name shown** (`Gemini`) and, if you like, an icon (📘). |
| 30 | 30 | 4. **Where does it run?** Choose **In an sbx sandbox**, then drop the `sbxenv.yaml` on **Recreate the sandbox when it is gone (optional)** (or click **Choose an sbxenv.yaml…**). The sandbox, the agent's folder (`…/workspace`) and the `sbx env` commands are filled in from it. |
| 31 | -5. **Program**: choose `gemini --acp` in the list (it is offered in an sbx sandbox only). Leave **Arguments** empty. With an older Gemini CLI, type `gemini --experimental-acp`. | |
| 31 | +5. **Program**: choose `gemini` in the list (it is offered in an sbx sandbox only). **Arguments** is filled with `--acp`; with an older Gemini CLI, write `--experimental-acp` instead. | |
| 32 | 32 | 6. Click **Add the agent**, then start Gemini from the **Agents** panel (▶), or write to it. The first time, the **Log** tab shows `sandbox gemini-acp not found: creating it`, then the kit being pulled — this can take a minute or two. |
| 33 | 33 | |
| 34 | 34 | ## By hand |
| @@ -28,7 +28,7 @@ The sandbox is built from the `docker.io/sbx/gemini-kit` kit. This kit is provid | |||
| 28 | The key is kept by sbx, on this computer, never in a file of the folder. | 28 | The key is kept by sbx, on this computer, never in a file of the folder. |
| 29 | 3. In the **Agents** panel, click **+ Add an agent**. Fill in **Name shown** (`Gemini`) and, if you like, an icon (📘). | 29 | 3. In the **Agents** panel, click **+ Add an agent**. Fill in **Name shown** (`Gemini`) and, if you like, an icon (📘). |
| 30 | 4. **Where does it run?** Choose **In an sbx sandbox**, then drop the `sbxenv.yaml` on **Recreate the sandbox when it is gone (optional)** (or click **Choose an sbxenv.yaml…**). The sandbox, the agent's folder (`…/workspace`) and the `sbx env` commands are filled in from it. | 30 | 4. **Where does it run?** Choose **In an sbx sandbox**, then drop the `sbxenv.yaml` on **Recreate the sandbox when it is gone (optional)** (or click **Choose an sbxenv.yaml…**). The sandbox, the agent's folder (`…/workspace`) and the `sbx env` commands are filled in from it. |
| 31 | -5. **Program**: choose `gemini --acp` in the list (it is offered in an sbx sandbox only). Leave **Arguments** empty. With an older Gemini CLI, type `gemini --experimental-acp`. | 31 | +5. **Program**: choose `gemini` in the list (it is offered in an sbx sandbox only). **Arguments** is filled with `--acp`; with an older Gemini CLI, write `--experimental-acp` instead. |
| 32 | 6. Click **Add the agent**, then start Gemini from the **Agents** panel (▶), or write to it. The first time, the **Log** tab shows `sandbox gemini-acp not found: creating it`, then the kit being pulled — this can take a minute or two. | 32 | 6. Click **Add the agent**, then start Gemini from the **Agents** panel (▶), or write to it. The first time, the **Log** tab shows `sandbox gemini-acp not found: creating it`, then the kit being pulled — this can take a minute or two. |
| 33 | 33 | ||
| 34 | ## By hand | 34 | ## By hand |
modified
docs/en/how-to/add-an-agent.md +2 -2 | @@ -7,7 +7,7 @@ This guide shows how to add an agent from the Sidekicks window, with the "Add an | ||
| 7 | 7 | 1. Open the assistant: **+ Add my first agent** on the welcome screen, **+ Add an agent** under the agents list, or **⇧⌘N** (Ctrl+Shift+N on Linux and Windows). |
| 8 | 8 | 2. **Who is it?** Fill in **Name shown** (e.g. `Garfield (translator)`). **Name used with @** follows it; change it if you want a shorter one (lowercase letters, digits, `-` and `_`, starting with a letter). The icon and the description are optional: the icon is an emoji, or a letter shown in a coloured circle; left empty, the circle holds the first letter of the name shown. |
| 9 | 9 | 3. **Where does it run?** Choose the environment, then fill in what it asks for (see below). |
| 10 | -4. **How is it started?** Fill in **Program** (choose `mm`, `docker-agent` or `docker agent` in the list — plus `claude-agent-acp`, `/home/agent/.local/bin/codex-acp` and `gemini --acp` in an sbx sandbox — or type another), **Arguments** (on one line, as in a terminal; quotes group words) and **Agent's folder**. The folder is created when it does not exist. | |
| 10 | +4. **How is it started?** Fill in **Program** (choose `mm`, `docker-agent` or `docker agent` in the list — plus `claude-agent-acp`, `/home/agent/.local/bin/codex-acp` and `gemini` in an sbx sandbox — or type another), **Arguments** (on one line, as in a terminal; quotes group words) and **Agent's folder**. The folder is created when it does not exist. | |
| 11 | 11 | 5. Click **Add the agent**. Its direct conversation opens once the configuration is reloaded. |
| 12 | 12 | |
| 13 | 13 | When the agent cannot be added (a name already used, for instance), the assistant says why and writes nothing. |
| @@ -19,7 +19,7 @@ When the agent cannot be added (a name already used, for instance), the assistan | ||
| 19 | 19 | - **In a Docker container**: give the **Container name**. The container must exist (Sidekicks starts it if it is stopped), with the agent's folder mounted at the same path, and contain the program: see [How to run an agent in a Docker container](run-an-agent-in-docker.md). Sidekicks starts the agent with `docker exec -i <container> <program> <arguments>`. To have the container recreated when it is gone, drop its `compose.yaml` on **Recreate the container when it is gone** and pick the service, or type the commands: see [Restart or recreate the container](run-an-agent-in-docker.md#restart-or-recreate-the-container). |
| 20 | 20 | - **In an sbx sandbox**: give the **Sandbox name**. The sandbox must exist, with the agent's folder at the same path: see [How to run an agent in an sbx sandbox](run-an-agent-in-a-sandbox.md). Sidekicks starts the agent with `sbx exec -i <sandbox> <program> <arguments>`. To have the sandbox recreated when it is gone, drop its `sbxenv.yaml` on **Recreate the sandbox when it is gone**, or type the commands: see [Recreate the sandbox when it is gone](run-an-agent-in-a-sandbox.md#recreate-the-sandbox-when-it-is-gone). |
| 21 | 21 | - **Claude in an sbx sandbox**: choose **In an sbx sandbox**, drop the sandbox's `sbxenv.yaml` (the sandbox, the folder and the commands are filled in), then choose the program `claude-agent-acp`, with no arguments. It relies on the `docker.io/sbx/claude-acp` kit, provided by a third party, not by Sidekicks. See [How to add a Claude agent in an sbx sandbox](add-a-claude-agent-in-a-sandbox.md). |
| 22 | -- **Codex or Gemini in an sbx sandbox**: the same, with the program `/home/agent/.local/bin/codex-acp` (kit `docker.io/sbx/codex-acp-kit`) or `gemini --acp` (kit `docker.io/sbx/gemini-kit`). See [How to add a Codex agent in an sbx sandbox](add-a-codex-agent-in-a-sandbox.md) and [How to add a Gemini agent in an sbx sandbox](add-a-gemini-agent-in-a-sandbox.md). | |
| 22 | +- **Codex or Gemini in an sbx sandbox**: the same, with the program `/home/agent/.local/bin/codex-acp` (kit `docker.io/sbx/codex-acp-kit`) or `gemini` with the argument `--acp` (kit `docker.io/sbx/gemini-kit`). See [How to add a Codex agent in an sbx sandbox](add-a-codex-agent-in-a-sandbox.md) and [How to add a Gemini agent in an sbx sandbox](add-a-gemini-agent-in-a-sandbox.md). | |
| 23 | 23 | - **Options the assistant does not ask for** (`env`, `afterStop`, a different `workspacePath`): add the agent with the assistant, then complete its entry in **Settings**. |
| 24 | 24 | |
| 25 | 25 | ## See also |
| @@ -7,7 +7,7 @@ This guide shows how to add an agent from the Sidekicks window, with the "Add an | |||
| 7 | 1. Open the assistant: **+ Add my first agent** on the welcome screen, **+ Add an agent** under the agents list, or **⇧⌘N** (Ctrl+Shift+N on Linux and Windows). | 7 | 1. Open the assistant: **+ Add my first agent** on the welcome screen, **+ Add an agent** under the agents list, or **⇧⌘N** (Ctrl+Shift+N on Linux and Windows). |
| 8 | 2. **Who is it?** Fill in **Name shown** (e.g. `Garfield (translator)`). **Name used with @** follows it; change it if you want a shorter one (lowercase letters, digits, `-` and `_`, starting with a letter). The icon and the description are optional: the icon is an emoji, or a letter shown in a coloured circle; left empty, the circle holds the first letter of the name shown. | 8 | 2. **Who is it?** Fill in **Name shown** (e.g. `Garfield (translator)`). **Name used with @** follows it; change it if you want a shorter one (lowercase letters, digits, `-` and `_`, starting with a letter). The icon and the description are optional: the icon is an emoji, or a letter shown in a coloured circle; left empty, the circle holds the first letter of the name shown. |
| 9 | 3. **Where does it run?** Choose the environment, then fill in what it asks for (see below). | 9 | 3. **Where does it run?** Choose the environment, then fill in what it asks for (see below). |
| 10 | -4. **How is it started?** Fill in **Program** (choose `mm`, `docker-agent` or `docker agent` in the list — plus `claude-agent-acp`, `/home/agent/.local/bin/codex-acp` and `gemini --acp` in an sbx sandbox — or type another), **Arguments** (on one line, as in a terminal; quotes group words) and **Agent's folder**. The folder is created when it does not exist. | 10 | +4. **How is it started?** Fill in **Program** (choose `mm`, `docker-agent` or `docker agent` in the list — plus `claude-agent-acp`, `/home/agent/.local/bin/codex-acp` and `gemini` in an sbx sandbox — or type another), **Arguments** (on one line, as in a terminal; quotes group words) and **Agent's folder**. The folder is created when it does not exist. |
| 11 | 5. Click **Add the agent**. Its direct conversation opens once the configuration is reloaded. | 11 | 5. Click **Add the agent**. Its direct conversation opens once the configuration is reloaded. |
| 12 | 12 | ||
| 13 | When the agent cannot be added (a name already used, for instance), the assistant says why and writes nothing. | 13 | When the agent cannot be added (a name already used, for instance), the assistant says why and writes nothing. |
| @@ -19,7 +19,7 @@ When the agent cannot be added (a name already used, for instance), the assistan | |||
| 19 | - **In a Docker container**: give the **Container name**. The container must exist (Sidekicks starts it if it is stopped), with the agent's folder mounted at the same path, and contain the program: see [How to run an agent in a Docker container](run-an-agent-in-docker.md). Sidekicks starts the agent with `docker exec -i <container> <program> <arguments>`. To have the container recreated when it is gone, drop its `compose.yaml` on **Recreate the container when it is gone** and pick the service, or type the commands: see [Restart or recreate the container](run-an-agent-in-docker.md#restart-or-recreate-the-container). | 19 | - **In a Docker container**: give the **Container name**. The container must exist (Sidekicks starts it if it is stopped), with the agent's folder mounted at the same path, and contain the program: see [How to run an agent in a Docker container](run-an-agent-in-docker.md). Sidekicks starts the agent with `docker exec -i <container> <program> <arguments>`. To have the container recreated when it is gone, drop its `compose.yaml` on **Recreate the container when it is gone** and pick the service, or type the commands: see [Restart or recreate the container](run-an-agent-in-docker.md#restart-or-recreate-the-container). |
| 20 | - **In an sbx sandbox**: give the **Sandbox name**. The sandbox must exist, with the agent's folder at the same path: see [How to run an agent in an sbx sandbox](run-an-agent-in-a-sandbox.md). Sidekicks starts the agent with `sbx exec -i <sandbox> <program> <arguments>`. To have the sandbox recreated when it is gone, drop its `sbxenv.yaml` on **Recreate the sandbox when it is gone**, or type the commands: see [Recreate the sandbox when it is gone](run-an-agent-in-a-sandbox.md#recreate-the-sandbox-when-it-is-gone). | 20 | - **In an sbx sandbox**: give the **Sandbox name**. The sandbox must exist, with the agent's folder at the same path: see [How to run an agent in an sbx sandbox](run-an-agent-in-a-sandbox.md). Sidekicks starts the agent with `sbx exec -i <sandbox> <program> <arguments>`. To have the sandbox recreated when it is gone, drop its `sbxenv.yaml` on **Recreate the sandbox when it is gone**, or type the commands: see [Recreate the sandbox when it is gone](run-an-agent-in-a-sandbox.md#recreate-the-sandbox-when-it-is-gone). |
| 21 | - **Claude in an sbx sandbox**: choose **In an sbx sandbox**, drop the sandbox's `sbxenv.yaml` (the sandbox, the folder and the commands are filled in), then choose the program `claude-agent-acp`, with no arguments. It relies on the `docker.io/sbx/claude-acp` kit, provided by a third party, not by Sidekicks. See [How to add a Claude agent in an sbx sandbox](add-a-claude-agent-in-a-sandbox.md). | 21 | - **Claude in an sbx sandbox**: choose **In an sbx sandbox**, drop the sandbox's `sbxenv.yaml` (the sandbox, the folder and the commands are filled in), then choose the program `claude-agent-acp`, with no arguments. It relies on the `docker.io/sbx/claude-acp` kit, provided by a third party, not by Sidekicks. See [How to add a Claude agent in an sbx sandbox](add-a-claude-agent-in-a-sandbox.md). |
| 22 | -- **Codex or Gemini in an sbx sandbox**: the same, with the program `/home/agent/.local/bin/codex-acp` (kit `docker.io/sbx/codex-acp-kit`) or `gemini --acp` (kit `docker.io/sbx/gemini-kit`). See [How to add a Codex agent in an sbx sandbox](add-a-codex-agent-in-a-sandbox.md) and [How to add a Gemini agent in an sbx sandbox](add-a-gemini-agent-in-a-sandbox.md). | 22 | +- **Codex or Gemini in an sbx sandbox**: the same, with the program `/home/agent/.local/bin/codex-acp` (kit `docker.io/sbx/codex-acp-kit`) or `gemini` with the argument `--acp` (kit `docker.io/sbx/gemini-kit`). See [How to add a Codex agent in an sbx sandbox](add-a-codex-agent-in-a-sandbox.md) and [How to add a Gemini agent in an sbx sandbox](add-a-gemini-agent-in-a-sandbox.md). |
| 23 | - **Options the assistant does not ask for** (`env`, `afterStop`, a different `workspacePath`): add the agent with the assistant, then complete its entry in **Settings**. | 23 | - **Options the assistant does not ask for** (`env`, `afterStop`, a different `workspacePath`): add the agent with the assistant, then complete its entry in **Settings**. |
| 24 | 24 | ||
| 25 | ## See also | 25 | ## See also |
modified
docs/fr/how-to/ajouter-un-agent-gemini-dans-une-sandbox.md +1 -1 | @@ -28,7 +28,7 @@ La sandbox est construite à partir du kit `docker.io/sbx/gemini-kit`. Ce kit es | ||
| 28 | 28 | La clé est gardée par sbx, sur cet ordinateur, jamais dans un fichier du dossier. |
| 29 | 29 | 3. Dans le panneau **Agents**, cliquez sur **+ Ajouter un agent**. Remplissez **Nom affiché** (`Gemini`) et, si vous voulez, une icône (📘). |
| 30 | 30 | 4. **Où tourne-t-il ?** Choisissez **Dans une sandbox sbx**, puis déposez le `sbxenv.yaml` sur **Recréer la sandbox si elle a disparu (facultatif)** (ou cliquez sur **Choisir un sbxenv.yaml…**). La sandbox, le dossier de l'agent (`…/workspace`) et les commandes `sbx env` sont remplis à partir de lui. |
| 31 | -5. **Programme** : choisissez `gemini --acp` dans la liste (il n'est proposé que dans une sandbox sbx). Laissez **Arguments** vide. Avec une ancienne version de Gemini CLI, tapez `gemini --experimental-acp`. | |
| 31 | +5. **Programme** : choisissez `gemini` dans la liste (il n'est proposé que dans une sandbox sbx). **Arguments** est rempli avec `--acp` ; avec une ancienne version de Gemini CLI, écrivez plutôt `--experimental-acp`. | |
| 32 | 32 | 6. Cliquez sur **Ajouter l'agent**, puis démarrez Gemini depuis le panneau **Agents** (▶), ou écrivez-lui. La première fois, l'onglet **Log** montre `sandbox gemini-acp not found: creating it`, puis le téléchargement du kit — cela peut prendre une minute ou deux. |
| 33 | 33 | |
| 34 | 34 | ## À la main |
| @@ -28,7 +28,7 @@ La sandbox est construite à partir du kit `docker.io/sbx/gemini-kit`. Ce kit es | |||
| 28 | La clé est gardée par sbx, sur cet ordinateur, jamais dans un fichier du dossier. | 28 | La clé est gardée par sbx, sur cet ordinateur, jamais dans un fichier du dossier. |
| 29 | 3. Dans le panneau **Agents**, cliquez sur **+ Ajouter un agent**. Remplissez **Nom affiché** (`Gemini`) et, si vous voulez, une icône (📘). | 29 | 3. Dans le panneau **Agents**, cliquez sur **+ Ajouter un agent**. Remplissez **Nom affiché** (`Gemini`) et, si vous voulez, une icône (📘). |
| 30 | 4. **Où tourne-t-il ?** Choisissez **Dans une sandbox sbx**, puis déposez le `sbxenv.yaml` sur **Recréer la sandbox si elle a disparu (facultatif)** (ou cliquez sur **Choisir un sbxenv.yaml…**). La sandbox, le dossier de l'agent (`…/workspace`) et les commandes `sbx env` sont remplis à partir de lui. | 30 | 4. **Où tourne-t-il ?** Choisissez **Dans une sandbox sbx**, puis déposez le `sbxenv.yaml` sur **Recréer la sandbox si elle a disparu (facultatif)** (ou cliquez sur **Choisir un sbxenv.yaml…**). La sandbox, le dossier de l'agent (`…/workspace`) et les commandes `sbx env` sont remplis à partir de lui. |
| 31 | -5. **Programme** : choisissez `gemini --acp` dans la liste (il n'est proposé que dans une sandbox sbx). Laissez **Arguments** vide. Avec une ancienne version de Gemini CLI, tapez `gemini --experimental-acp`. | 31 | +5. **Programme** : choisissez `gemini` dans la liste (il n'est proposé que dans une sandbox sbx). **Arguments** est rempli avec `--acp` ; avec une ancienne version de Gemini CLI, écrivez plutôt `--experimental-acp`. |
| 32 | 6. Cliquez sur **Ajouter l'agent**, puis démarrez Gemini depuis le panneau **Agents** (▶), ou écrivez-lui. La première fois, l'onglet **Log** montre `sandbox gemini-acp not found: creating it`, puis le téléchargement du kit — cela peut prendre une minute ou deux. | 32 | 6. Cliquez sur **Ajouter l'agent**, puis démarrez Gemini depuis le panneau **Agents** (▶), ou écrivez-lui. La première fois, l'onglet **Log** montre `sandbox gemini-acp not found: creating it`, puis le téléchargement du kit — cela peut prendre une minute ou deux. |
| 33 | 33 | ||
| 34 | ## À la main | 34 | ## À la main |
modified
docs/fr/how-to/ajouter-un-agent.md +2 -2 | @@ -7,7 +7,7 @@ Ce guide montre comment ajouter un agent depuis la fenêtre de Sidekicks, avec l | ||
| 7 | 7 | 1. Ouvrez l'assistant : **+ Ajouter mon premier agent** sur l'écran d'accueil, **+ Ajouter un agent** sous la liste des agents, ou **⇧⌘N** (Ctrl+Maj+N sous Linux et Windows). |
| 8 | 8 | 2. **Qui est-ce ?** Remplissez **Nom affiché** (par exemple `Garfield (traducteur)`). **Nom utilisé avec @** le suit ; changez-le si vous en voulez un plus court (minuscules, chiffres, `-` et `_`, en commençant par une lettre). L'icône et la description sont facultatives : l'icône est un emoji, ou une lettre affichée dans un rond coloré ; laissée vide, le rond contient la première lettre du nom affiché. |
| 9 | 9 | 3. **Où tourne-t-il ?** Choisissez l'environnement, puis remplissez ce qu'il demande (voir plus bas). |
| 10 | -4. **Comment le démarrer ?** Remplissez **Programme** (choisissez `mm`, `docker-agent` ou `docker agent` dans la liste — plus `claude-agent-acp`, `/home/agent/.local/bin/codex-acp` et `gemini --acp` dans une sandbox sbx — ou tapez-en un autre), **Arguments** (sur une ligne, comme dans un terminal ; les guillemets regroupent des mots) et **Dossier de l'agent**. Le dossier est créé s'il n'existe pas. | |
| 10 | +4. **Comment le démarrer ?** Remplissez **Programme** (choisissez `mm`, `docker-agent` ou `docker agent` dans la liste — plus `claude-agent-acp`, `/home/agent/.local/bin/codex-acp` et `gemini` dans une sandbox sbx — ou tapez-en un autre), **Arguments** (sur une ligne, comme dans un terminal ; les guillemets regroupent des mots) et **Dossier de l'agent**. Le dossier est créé s'il n'existe pas. | |
| 11 | 11 | 5. Cliquez sur **Ajouter l'agent**. Sa conversation directe s'ouvre dès que la configuration est rechargée. |
| 12 | 12 | |
| 13 | 13 | Quand l'agent ne peut pas être ajouté (un nom déjà pris, par exemple), l'assistant dit pourquoi et n'écrit rien. |
| @@ -19,7 +19,7 @@ Quand l'agent ne peut pas être ajouté (un nom déjà pris, par exemple), l'ass | ||
| 19 | 19 | - **Dans un conteneur Docker** : indiquez le **Nom du conteneur**. Le conteneur doit exister (Sidekicks le démarre s'il est arrêté), avec le dossier de l'agent monté au même chemin, et contenir le programme : voir [Lancer un agent dans un conteneur Docker](lancer-un-agent-dans-docker.md). Sidekicks démarre l'agent avec `docker exec -i <conteneur> <programme> <arguments>`. Pour que le conteneur soit recréé quand il a disparu, déposez son `compose.yaml` sur **Recréer le conteneur s'il a disparu** et choisissez le service, ou tapez les commandes : voir [Redémarrer ou recréer le conteneur](lancer-un-agent-dans-docker.md#redémarrer-ou-recréer-le-conteneur). |
| 20 | 20 | - **Dans une sandbox sbx** : indiquez le **Nom de la sandbox**. Elle doit exister, avec le dossier de l'agent au même chemin : voir [Lancer un agent dans une sandbox sbx](lancer-un-agent-dans-une-sandbox.md). Sidekicks démarre l'agent avec `sbx exec -i <sandbox> <programme> <arguments>`. Pour que la sandbox soit recréée quand elle a disparu, déposez son `sbxenv.yaml` sur **Recréer la sandbox si elle a disparu**, ou tapez les commandes : voir [Recréer la sandbox quand elle a disparu](lancer-un-agent-dans-une-sandbox.md#recréer-la-sandbox-quand-elle-a-disparu). |
| 21 | 21 | - **Claude dans une sandbox sbx** : choisissez **Dans une sandbox sbx**, déposez le `sbxenv.yaml` de la sandbox (la sandbox, le dossier et les commandes sont remplis), puis choisissez le programme `claude-agent-acp`, sans argument. Cela repose sur le kit `docker.io/sbx/claude-acp`, fourni par un tiers et non par Sidekicks. Voir [Ajouter un agent Claude dans une sandbox sbx](ajouter-un-agent-claude-dans-une-sandbox.md). |
| 22 | -- **Codex ou Gemini dans une sandbox sbx** : de même, avec le programme `/home/agent/.local/bin/codex-acp` (kit `docker.io/sbx/codex-acp-kit`) ou `gemini --acp` (kit `docker.io/sbx/gemini-kit`). Voir [Ajouter un agent Codex dans une sandbox sbx](ajouter-un-agent-codex-dans-une-sandbox.md) et [Ajouter un agent Gemini dans une sandbox sbx](ajouter-un-agent-gemini-dans-une-sandbox.md). | |
| 22 | +- **Codex ou Gemini dans une sandbox sbx** : de même, avec le programme `/home/agent/.local/bin/codex-acp` (kit `docker.io/sbx/codex-acp-kit`) ou `gemini` avec l'argument `--acp` (kit `docker.io/sbx/gemini-kit`). Voir [Ajouter un agent Codex dans une sandbox sbx](ajouter-un-agent-codex-dans-une-sandbox.md) et [Ajouter un agent Gemini dans une sandbox sbx](ajouter-un-agent-gemini-dans-une-sandbox.md). | |
| 23 | 23 | - **Les options que l'assistant ne demande pas** (`env`, `afterStop`, un autre `workspacePath`) : ajoutez l'agent avec l'assistant, puis complétez son entrée dans **Settings**. |
| 24 | 24 | |
| 25 | 25 | ## Voir aussi |
| @@ -7,7 +7,7 @@ Ce guide montre comment ajouter un agent depuis la fenêtre de Sidekicks, avec l | |||
| 7 | 1. Ouvrez l'assistant : **+ Ajouter mon premier agent** sur l'écran d'accueil, **+ Ajouter un agent** sous la liste des agents, ou **⇧⌘N** (Ctrl+Maj+N sous Linux et Windows). | 7 | 1. Ouvrez l'assistant : **+ Ajouter mon premier agent** sur l'écran d'accueil, **+ Ajouter un agent** sous la liste des agents, ou **⇧⌘N** (Ctrl+Maj+N sous Linux et Windows). |
| 8 | 2. **Qui est-ce ?** Remplissez **Nom affiché** (par exemple `Garfield (traducteur)`). **Nom utilisé avec @** le suit ; changez-le si vous en voulez un plus court (minuscules, chiffres, `-` et `_`, en commençant par une lettre). L'icône et la description sont facultatives : l'icône est un emoji, ou une lettre affichée dans un rond coloré ; laissée vide, le rond contient la première lettre du nom affiché. | 8 | 2. **Qui est-ce ?** Remplissez **Nom affiché** (par exemple `Garfield (traducteur)`). **Nom utilisé avec @** le suit ; changez-le si vous en voulez un plus court (minuscules, chiffres, `-` et `_`, en commençant par une lettre). L'icône et la description sont facultatives : l'icône est un emoji, ou une lettre affichée dans un rond coloré ; laissée vide, le rond contient la première lettre du nom affiché. |
| 9 | 3. **Où tourne-t-il ?** Choisissez l'environnement, puis remplissez ce qu'il demande (voir plus bas). | 9 | 3. **Où tourne-t-il ?** Choisissez l'environnement, puis remplissez ce qu'il demande (voir plus bas). |
| 10 | -4. **Comment le démarrer ?** Remplissez **Programme** (choisissez `mm`, `docker-agent` ou `docker agent` dans la liste — plus `claude-agent-acp`, `/home/agent/.local/bin/codex-acp` et `gemini --acp` dans une sandbox sbx — ou tapez-en un autre), **Arguments** (sur une ligne, comme dans un terminal ; les guillemets regroupent des mots) et **Dossier de l'agent**. Le dossier est créé s'il n'existe pas. | 10 | +4. **Comment le démarrer ?** Remplissez **Programme** (choisissez `mm`, `docker-agent` ou `docker agent` dans la liste — plus `claude-agent-acp`, `/home/agent/.local/bin/codex-acp` et `gemini` dans une sandbox sbx — ou tapez-en un autre), **Arguments** (sur une ligne, comme dans un terminal ; les guillemets regroupent des mots) et **Dossier de l'agent**. Le dossier est créé s'il n'existe pas. |
| 11 | 5. Cliquez sur **Ajouter l'agent**. Sa conversation directe s'ouvre dès que la configuration est rechargée. | 11 | 5. Cliquez sur **Ajouter l'agent**. Sa conversation directe s'ouvre dès que la configuration est rechargée. |
| 12 | 12 | ||
| 13 | Quand l'agent ne peut pas être ajouté (un nom déjà pris, par exemple), l'assistant dit pourquoi et n'écrit rien. | 13 | Quand l'agent ne peut pas être ajouté (un nom déjà pris, par exemple), l'assistant dit pourquoi et n'écrit rien. |
| @@ -19,7 +19,7 @@ Quand l'agent ne peut pas être ajouté (un nom déjà pris, par exemple), l'ass | |||
| 19 | - **Dans un conteneur Docker** : indiquez le **Nom du conteneur**. Le conteneur doit exister (Sidekicks le démarre s'il est arrêté), avec le dossier de l'agent monté au même chemin, et contenir le programme : voir [Lancer un agent dans un conteneur Docker](lancer-un-agent-dans-docker.md). Sidekicks démarre l'agent avec `docker exec -i <conteneur> <programme> <arguments>`. Pour que le conteneur soit recréé quand il a disparu, déposez son `compose.yaml` sur **Recréer le conteneur s'il a disparu** et choisissez le service, ou tapez les commandes : voir [Redémarrer ou recréer le conteneur](lancer-un-agent-dans-docker.md#redémarrer-ou-recréer-le-conteneur). | 19 | - **Dans un conteneur Docker** : indiquez le **Nom du conteneur**. Le conteneur doit exister (Sidekicks le démarre s'il est arrêté), avec le dossier de l'agent monté au même chemin, et contenir le programme : voir [Lancer un agent dans un conteneur Docker](lancer-un-agent-dans-docker.md). Sidekicks démarre l'agent avec `docker exec -i <conteneur> <programme> <arguments>`. Pour que le conteneur soit recréé quand il a disparu, déposez son `compose.yaml` sur **Recréer le conteneur s'il a disparu** et choisissez le service, ou tapez les commandes : voir [Redémarrer ou recréer le conteneur](lancer-un-agent-dans-docker.md#redémarrer-ou-recréer-le-conteneur). |
| 20 | - **Dans une sandbox sbx** : indiquez le **Nom de la sandbox**. Elle doit exister, avec le dossier de l'agent au même chemin : voir [Lancer un agent dans une sandbox sbx](lancer-un-agent-dans-une-sandbox.md). Sidekicks démarre l'agent avec `sbx exec -i <sandbox> <programme> <arguments>`. Pour que la sandbox soit recréée quand elle a disparu, déposez son `sbxenv.yaml` sur **Recréer la sandbox si elle a disparu**, ou tapez les commandes : voir [Recréer la sandbox quand elle a disparu](lancer-un-agent-dans-une-sandbox.md#recréer-la-sandbox-quand-elle-a-disparu). | 20 | - **Dans une sandbox sbx** : indiquez le **Nom de la sandbox**. Elle doit exister, avec le dossier de l'agent au même chemin : voir [Lancer un agent dans une sandbox sbx](lancer-un-agent-dans-une-sandbox.md). Sidekicks démarre l'agent avec `sbx exec -i <sandbox> <programme> <arguments>`. Pour que la sandbox soit recréée quand elle a disparu, déposez son `sbxenv.yaml` sur **Recréer la sandbox si elle a disparu**, ou tapez les commandes : voir [Recréer la sandbox quand elle a disparu](lancer-un-agent-dans-une-sandbox.md#recréer-la-sandbox-quand-elle-a-disparu). |
| 21 | - **Claude dans une sandbox sbx** : choisissez **Dans une sandbox sbx**, déposez le `sbxenv.yaml` de la sandbox (la sandbox, le dossier et les commandes sont remplis), puis choisissez le programme `claude-agent-acp`, sans argument. Cela repose sur le kit `docker.io/sbx/claude-acp`, fourni par un tiers et non par Sidekicks. Voir [Ajouter un agent Claude dans une sandbox sbx](ajouter-un-agent-claude-dans-une-sandbox.md). | 21 | - **Claude dans une sandbox sbx** : choisissez **Dans une sandbox sbx**, déposez le `sbxenv.yaml` de la sandbox (la sandbox, le dossier et les commandes sont remplis), puis choisissez le programme `claude-agent-acp`, sans argument. Cela repose sur le kit `docker.io/sbx/claude-acp`, fourni par un tiers et non par Sidekicks. Voir [Ajouter un agent Claude dans une sandbox sbx](ajouter-un-agent-claude-dans-une-sandbox.md). |
| 22 | -- **Codex ou Gemini dans une sandbox sbx** : de même, avec le programme `/home/agent/.local/bin/codex-acp` (kit `docker.io/sbx/codex-acp-kit`) ou `gemini --acp` (kit `docker.io/sbx/gemini-kit`). Voir [Ajouter un agent Codex dans une sandbox sbx](ajouter-un-agent-codex-dans-une-sandbox.md) et [Ajouter un agent Gemini dans une sandbox sbx](ajouter-un-agent-gemini-dans-une-sandbox.md). | 22 | +- **Codex ou Gemini dans une sandbox sbx** : de même, avec le programme `/home/agent/.local/bin/codex-acp` (kit `docker.io/sbx/codex-acp-kit`) ou `gemini` avec l'argument `--acp` (kit `docker.io/sbx/gemini-kit`). Voir [Ajouter un agent Codex dans une sandbox sbx](ajouter-un-agent-codex-dans-une-sandbox.md) et [Ajouter un agent Gemini dans une sandbox sbx](ajouter-un-agent-gemini-dans-une-sandbox.md). |
| 23 | - **Les options que l'assistant ne demande pas** (`env`, `afterStop`, un autre `workspacePath`) : ajoutez l'agent avec l'assistant, puis complétez son entrée dans **Settings**. | 23 | - **Les options que l'assistant ne demande pas** (`env`, `afterStop`, un autre `workspacePath`) : ajoutez l'agent avec l'assistant, puis complétez son entrée dans **Settings**. |
| 24 | 24 | ||
| 25 | ## Voir aussi | 25 | ## Voir aussi |
modified
frontend/src/lib/agent/AddAgentForm.svelte +9 -1 | @@ -7,7 +7,7 @@ | ||
| 7 | 7 | import { ConfigService } from '../../../bindings/git.rickub.com/bots-garden/sidekicks/internal/app' |
| 8 | 8 | import type { FilesDroppedPayload } from '../../../bindings/git.rickub.com/bots-garden/sidekicks/internal/events' |
| 9 | 9 | import { FilesDropped } from '../../../bindings/events' |
| 10 | - import { argumentsFor, emptyForm, nameFromTitle, sbxAgentOf, problemsOf, programsFor, withAgentConfig, withComposeService, withSandboxEnv, type ComposeServiceValues, type Environment, type Missing } from '../agentform' | |
| 10 | + import { argumentsFor, emptyForm, nameFromTitle, sbxAgentOf, sbxArguments, problemsOf, programsFor, withAgentConfig, withComposeService, withSandboxEnv, type ComposeServiceValues, type Environment, type Missing } from '../agentform' | |
| 11 | 11 | import { subscribe } from '../events' |
| 12 | 12 | import AgentAvatar from './AgentAvatar.svelte' |
| 13 | 13 | import { agentAdded, appState } from '../state.svelte' |
| @@ -124,7 +124,15 @@ | ||
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | // Choosing another program after a file was given starts it with that file. |
| 127 | + // Claude, Codex or Gemini in a sandbox start with their own arguments | |
| 128 | + // (Gemini CLI: --acp), unless some were typed. | |
| 127 | 129 | function onProgram() { |
| 130 | + const agent = sbxAgentOf(form) | |
| 131 | + if (agent) { | |
| 132 | + const known = Object.values(sbxArguments) | |
| 133 | + if (!form.arguments.trim() || known.includes(form.arguments.trim())) form.arguments = sbxArguments[agent] | |
| 134 | + return | |
| 135 | + } | |
| 128 | 136 | if (!configFile) return |
| 129 | 137 | const args = argumentsFor(form.program, configFile) |
| 130 | 138 | if (args !== undefined) form.arguments = args |
| @@ -7,7 +7,7 @@ | |||
| 7 | import { ConfigService } from '../../../bindings/git.rickub.com/bots-garden/sidekicks/internal/app' | 7 | import { ConfigService } from '../../../bindings/git.rickub.com/bots-garden/sidekicks/internal/app' |
| 8 | import type { FilesDroppedPayload } from '../../../bindings/git.rickub.com/bots-garden/sidekicks/internal/events' | 8 | import type { FilesDroppedPayload } from '../../../bindings/git.rickub.com/bots-garden/sidekicks/internal/events' |
| 9 | import { FilesDropped } from '../../../bindings/events' | 9 | import { FilesDropped } from '../../../bindings/events' |
| 10 | - import { argumentsFor, emptyForm, nameFromTitle, sbxAgentOf, problemsOf, programsFor, withAgentConfig, withComposeService, withSandboxEnv, type ComposeServiceValues, type Environment, type Missing } from '../agentform' | 10 | + import { argumentsFor, emptyForm, nameFromTitle, sbxAgentOf, sbxArguments, problemsOf, programsFor, withAgentConfig, withComposeService, withSandboxEnv, type ComposeServiceValues, type Environment, type Missing } from '../agentform' |
| 11 | import { subscribe } from '../events' | 11 | import { subscribe } from '../events' |
| 12 | import AgentAvatar from './AgentAvatar.svelte' | 12 | import AgentAvatar from './AgentAvatar.svelte' |
| 13 | import { agentAdded, appState } from '../state.svelte' | 13 | import { agentAdded, appState } from '../state.svelte' |
| @@ -124,7 +124,15 @@ | |||
| 124 | } | 124 | } |
| 125 | 125 | ||
| 126 | // Choosing another program after a file was given starts it with that file. | 126 | // Choosing another program after a file was given starts it with that file. |
| 127 | + // Claude, Codex or Gemini in a sandbox start with their own arguments | ||
| 128 | + // (Gemini CLI: --acp), unless some were typed. | ||
| 127 | function onProgram() { | 129 | function onProgram() { |
| 130 | + const agent = sbxAgentOf(form) | ||
| 131 | + if (agent) { | ||
| 132 | + const known = Object.values(sbxArguments) | ||
| 133 | + if (!form.arguments.trim() || known.includes(form.arguments.trim())) form.arguments = sbxArguments[agent] | ||
| 134 | + return | ||
| 135 | + } | ||
| 128 | if (!configFile) return | 136 | if (!configFile) return |
| 129 | const args = argumentsFor(form.program, configFile) | 137 | const args = argumentsFor(form.program, configFile) |
| 130 | if (args !== undefined) form.arguments = args | 138 | if (args !== undefined) form.arguments = args |
modified
frontend/src/lib/agentform.test.ts +7 -6 | @@ -1,7 +1,7 @@ | ||
| 1 | 1 | // Copyright (c) 2026 Philippe Charrière — Sidekicks Source-Available License 1.0, see LICENSE |
| 2 | 2 | |
| 3 | 3 | import { describe, expect, it } from 'vitest' |
| 4 | -import { argumentsFor, emptyForm, folderOf, isClaudeSandbox, sbxAgentOf, nameFromTitle, problemsOf, programsFor, quoteArgument, withAgentConfig, withComposeService, withSandboxEnv } from './agentform' | |
| 4 | +import { argumentsFor, emptyForm, folderOf, isClaudeSandbox, sbxAgentOf, sbxArguments, nameFromTitle, problemsOf, programsFor, quoteArgument, withAgentConfig, withComposeService, withSandboxEnv } from './agentform' | |
| 5 | 5 | |
| 6 | 6 | describe('nameFromTitle', () => { |
| 7 | 7 | it('folds accents, lowercases and joins words', () => { |
| @@ -114,18 +114,19 @@ describe('Claude in an sbx sandbox (issue #81)', () => { | ||
| 114 | 114 | |
| 115 | 115 | describe('Codex and Gemini in an sbx sandbox (issues #82, #84)', () => { |
| 116 | 116 | it('offers their programs in a sandbox only', () => { |
| 117 | - expect(programsFor('sbx')).toEqual(expect.arrayContaining(['/home/agent/.local/bin/codex-acp', 'gemini --acp'])) | |
| 118 | - expect(programsFor('local')).not.toContain('gemini --acp') | |
| 117 | + expect(programsFor('sbx')).toEqual(expect.arrayContaining(['/home/agent/.local/bin/codex-acp', 'gemini'])) | |
| 118 | + expect(programsFor('local')).not.toContain('gemini') | |
| 119 | + expect(sbxArguments.gemini).toBe('--acp') | |
| 120 | + expect(sbxArguments.codex).toBe('') | |
| 119 | 121 | }) |
| 120 | 122 | |
| 121 | 123 | it('recognises which agent the form describes', () => { |
| 122 | 124 | const sbx = { ...emptyForm(), environment: 'sbx' as const } |
| 123 | 125 | expect(sbxAgentOf({ ...sbx, program: '/home/agent/.local/bin/codex-acp' })).toBe('codex') |
| 124 | 126 | expect(sbxAgentOf({ ...sbx, program: 'codex-acp' })).toBe('codex') |
| 125 | - expect(sbxAgentOf({ ...sbx, program: ' gemini --acp ' })).toBe('gemini') | |
| 126 | - expect(sbxAgentOf({ ...sbx, program: 'gemini --experimental-acp' })).toBe('gemini') | |
| 127 | + expect(sbxAgentOf({ ...sbx, program: ' gemini ' })).toBe('gemini') | |
| 127 | 128 | expect(sbxAgentOf({ ...sbx, program: 'claude-agent-acp' })).toBe('claude') |
| 128 | 129 | expect(sbxAgentOf({ ...sbx, program: 'mm' })).toBeUndefined() |
| 129 | - expect(sbxAgentOf({ ...emptyForm(), environment: 'local', program: 'gemini --acp' })).toBeUndefined() | |
| 130 | + expect(sbxAgentOf({ ...emptyForm(), environment: 'local', program: 'gemini' })).toBeUndefined() | |
| 130 | 131 | }) |
| 131 | 132 | }) |
| @@ -1,7 +1,7 @@ | |||
| 1 | // Copyright (c) 2026 Philippe Charrière — Sidekicks Source-Available License 1.0, see LICENSE | 1 | // Copyright (c) 2026 Philippe Charrière — Sidekicks Source-Available License 1.0, see LICENSE |
| 2 | 2 | ||
| 3 | import { describe, expect, it } from 'vitest' | 3 | import { describe, expect, it } from 'vitest' |
| 4 | -import { argumentsFor, emptyForm, folderOf, isClaudeSandbox, sbxAgentOf, nameFromTitle, problemsOf, programsFor, quoteArgument, withAgentConfig, withComposeService, withSandboxEnv } from './agentform' | 4 | +import { argumentsFor, emptyForm, folderOf, isClaudeSandbox, sbxAgentOf, sbxArguments, nameFromTitle, problemsOf, programsFor, quoteArgument, withAgentConfig, withComposeService, withSandboxEnv } from './agentform' |
| 5 | 5 | ||
| 6 | describe('nameFromTitle', () => { | 6 | describe('nameFromTitle', () => { |
| 7 | it('folds accents, lowercases and joins words', () => { | 7 | it('folds accents, lowercases and joins words', () => { |
| @@ -114,18 +114,19 @@ describe('Claude in an sbx sandbox (issue #81)', () => { | |||
| 114 | 114 | ||
| 115 | describe('Codex and Gemini in an sbx sandbox (issues #82, #84)', () => { | 115 | describe('Codex and Gemini in an sbx sandbox (issues #82, #84)', () => { |
| 116 | it('offers their programs in a sandbox only', () => { | 116 | it('offers their programs in a sandbox only', () => { |
| 117 | - expect(programsFor('sbx')).toEqual(expect.arrayContaining(['/home/agent/.local/bin/codex-acp', 'gemini --acp'])) | 117 | + expect(programsFor('sbx')).toEqual(expect.arrayContaining(['/home/agent/.local/bin/codex-acp', 'gemini'])) |
| 118 | - expect(programsFor('local')).not.toContain('gemini --acp') | 118 | + expect(programsFor('local')).not.toContain('gemini') |
| 119 | + expect(sbxArguments.gemini).toBe('--acp') | ||
| 120 | + expect(sbxArguments.codex).toBe('') | ||
| 119 | }) | 121 | }) |
| 120 | 122 | ||
| 121 | it('recognises which agent the form describes', () => { | 123 | it('recognises which agent the form describes', () => { |
| 122 | const sbx = { ...emptyForm(), environment: 'sbx' as const } | 124 | const sbx = { ...emptyForm(), environment: 'sbx' as const } |
| 123 | expect(sbxAgentOf({ ...sbx, program: '/home/agent/.local/bin/codex-acp' })).toBe('codex') | 125 | expect(sbxAgentOf({ ...sbx, program: '/home/agent/.local/bin/codex-acp' })).toBe('codex') |
| 124 | expect(sbxAgentOf({ ...sbx, program: 'codex-acp' })).toBe('codex') | 126 | expect(sbxAgentOf({ ...sbx, program: 'codex-acp' })).toBe('codex') |
| 125 | - expect(sbxAgentOf({ ...sbx, program: ' gemini --acp ' })).toBe('gemini') | 127 | + expect(sbxAgentOf({ ...sbx, program: ' gemini ' })).toBe('gemini') |
| 126 | - expect(sbxAgentOf({ ...sbx, program: 'gemini --experimental-acp' })).toBe('gemini') | ||
| 127 | expect(sbxAgentOf({ ...sbx, program: 'claude-agent-acp' })).toBe('claude') | 128 | expect(sbxAgentOf({ ...sbx, program: 'claude-agent-acp' })).toBe('claude') |
| 128 | expect(sbxAgentOf({ ...sbx, program: 'mm' })).toBeUndefined() | 129 | expect(sbxAgentOf({ ...sbx, program: 'mm' })).toBeUndefined() |
| 129 | - expect(sbxAgentOf({ ...emptyForm(), environment: 'local', program: 'gemini --acp' })).toBeUndefined() | 130 | + expect(sbxAgentOf({ ...emptyForm(), environment: 'local', program: 'gemini' })).toBeUndefined() |
| 130 | }) | 131 | }) |
| 131 | }) | 132 | }) |
modified
frontend/src/lib/agentform.ts +8 -5 | @@ -118,14 +118,17 @@ export type SbxAgent = 'claude' | 'codex' | 'gemini' | ||
| 118 | 118 | * offers it in an sbx sandbox only: Claude Code's and Codex's ACP adapters |
| 119 | 119 | * (the docker.io/sbx/claude-acp and docker.io/sbx/codex-acp-kit kits; the |
| 120 | 120 | * latter installs codex-acp outside the PATH), and Gemini CLI, which speaks |
| 121 | - * ACP itself (docker.io/sbx/gemini-kit). | |
| 121 | + * ACP itself with the argument --acp (docker.io/sbx/gemini-kit). | |
| 122 | 122 | */ |
| 123 | 123 | export const sbxPrograms: Record<SbxAgent, string> = { |
| 124 | 124 | claude: 'claude-agent-acp', |
| 125 | 125 | codex: '/home/agent/.local/bin/codex-acp', |
| 126 | - gemini: 'gemini --acp', | |
| 126 | + gemini: 'gemini', | |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | +/** The arguments each of them starts with: only Gemini CLI takes one, --acp. */ | |
| 130 | +export const sbxArguments: Record<SbxAgent, string> = { claude: '', codex: '', gemini: '--acp' } | |
| 131 | + | |
| 129 | 132 | /** Claude Code's ACP adapter, offered in an sbx sandbox only (issue #81). */ |
| 130 | 133 | export const claudeProgram = sbxPrograms.claude |
| 131 | 134 | |
| @@ -134,7 +137,7 @@ export const claudeProgram = sbxPrograms.claude | ||
| 134 | 137 | * sandbox, also the coding agents of sbxPrograms. |
| 135 | 138 | * |
| 136 | 139 | * @example |
| 137 | - * programsFor('sbx') // ['mm', 'docker-agent', 'docker agent', 'claude-agent-acp', '/home/agent/.local/bin/codex-acp', 'gemini --acp'] | |
| 140 | + * programsFor('sbx') // ['mm', 'docker-agent', 'docker agent', 'claude-agent-acp', '/home/agent/.local/bin/codex-acp', 'gemini'] | |
| 138 | 141 | */ |
| 139 | 142 | export function programsFor(environment: Environment): string[] { |
| 140 | 143 | return environment === 'sbx' ? [...knownPrograms, ...Object.values(sbxPrograms)] : [...knownPrograms] |
| @@ -150,10 +153,10 @@ export function programsFor(environment: Environment): string[] { | ||
| 150 | 153 | */ |
| 151 | 154 | export function sbxAgentOf(form: AgentFormValues): SbxAgent | undefined { |
| 152 | 155 | if (form.environment !== 'sbx') return undefined |
| 153 | - const program = form.program.trim().replace(/\s+/g, ' ') | |
| 156 | + const program = form.program.trim() | |
| 154 | 157 | if (program === sbxPrograms.claude) return 'claude' |
| 155 | 158 | if (program === sbxPrograms.codex || program === 'codex-acp') return 'codex' |
| 156 | - if (program === sbxPrograms.gemini || program === 'gemini --experimental-acp') return 'gemini' | |
| 159 | + if (program === sbxPrograms.gemini) return 'gemini' | |
| 157 | 160 | return undefined |
| 158 | 161 | } |
| 159 | 162 | |
| @@ -118,14 +118,17 @@ export type SbxAgent = 'claude' | 'codex' | 'gemini' | |||
| 118 | * offers it in an sbx sandbox only: Claude Code's and Codex's ACP adapters | 118 | * offers it in an sbx sandbox only: Claude Code's and Codex's ACP adapters |
| 119 | * (the docker.io/sbx/claude-acp and docker.io/sbx/codex-acp-kit kits; the | 119 | * (the docker.io/sbx/claude-acp and docker.io/sbx/codex-acp-kit kits; the |
| 120 | * latter installs codex-acp outside the PATH), and Gemini CLI, which speaks | 120 | * latter installs codex-acp outside the PATH), and Gemini CLI, which speaks |
| 121 | - * ACP itself (docker.io/sbx/gemini-kit). | 121 | + * ACP itself with the argument --acp (docker.io/sbx/gemini-kit). |
| 122 | */ | 122 | */ |
| 123 | export const sbxPrograms: Record<SbxAgent, string> = { | 123 | export const sbxPrograms: Record<SbxAgent, string> = { |
| 124 | claude: 'claude-agent-acp', | 124 | claude: 'claude-agent-acp', |
| 125 | codex: '/home/agent/.local/bin/codex-acp', | 125 | codex: '/home/agent/.local/bin/codex-acp', |
| 126 | - gemini: 'gemini --acp', | 126 | + gemini: 'gemini', |
| 127 | } | 127 | } |
| 128 | 128 | ||
| 129 | +/** The arguments each of them starts with: only Gemini CLI takes one, --acp. */ | ||
| 130 | +export const sbxArguments: Record<SbxAgent, string> = { claude: '', codex: '', gemini: '--acp' } | ||
| 131 | + | ||
| 129 | /** Claude Code's ACP adapter, offered in an sbx sandbox only (issue #81). */ | 132 | /** Claude Code's ACP adapter, offered in an sbx sandbox only (issue #81). */ |
| 130 | export const claudeProgram = sbxPrograms.claude | 133 | export const claudeProgram = sbxPrograms.claude |
| 131 | 134 | ||
| @@ -134,7 +137,7 @@ export const claudeProgram = sbxPrograms.claude | |||
| 134 | * sandbox, also the coding agents of sbxPrograms. | 137 | * sandbox, also the coding agents of sbxPrograms. |
| 135 | * | 138 | * |
| 136 | * @example | 139 | * @example |
| 137 | - * programsFor('sbx') // ['mm', 'docker-agent', 'docker agent', 'claude-agent-acp', '/home/agent/.local/bin/codex-acp', 'gemini --acp'] | 140 | + * programsFor('sbx') // ['mm', 'docker-agent', 'docker agent', 'claude-agent-acp', '/home/agent/.local/bin/codex-acp', 'gemini'] |
| 138 | */ | 141 | */ |
| 139 | export function programsFor(environment: Environment): string[] { | 142 | export function programsFor(environment: Environment): string[] { |
| 140 | return environment === 'sbx' ? [...knownPrograms, ...Object.values(sbxPrograms)] : [...knownPrograms] | 143 | return environment === 'sbx' ? [...knownPrograms, ...Object.values(sbxPrograms)] : [...knownPrograms] |
| @@ -150,10 +153,10 @@ export function programsFor(environment: Environment): string[] { | |||
| 150 | */ | 153 | */ |
| 151 | export function sbxAgentOf(form: AgentFormValues): SbxAgent | undefined { | 154 | export function sbxAgentOf(form: AgentFormValues): SbxAgent | undefined { |
| 152 | if (form.environment !== 'sbx') return undefined | 155 | if (form.environment !== 'sbx') return undefined |
| 153 | - const program = form.program.trim().replace(/\s+/g, ' ') | 156 | + const program = form.program.trim() |
| 154 | if (program === sbxPrograms.claude) return 'claude' | 157 | if (program === sbxPrograms.claude) return 'claude' |
| 155 | if (program === sbxPrograms.codex || program === 'codex-acp') return 'codex' | 158 | if (program === sbxPrograms.codex || program === 'codex-acp') return 'codex' |
| 156 | - if (program === sbxPrograms.gemini || program === 'gemini --experimental-acp') return 'gemini' | 159 | + if (program === sbxPrograms.gemini) return 'gemini' |
| 157 | return undefined | 160 | return undefined |
| 158 | } | 161 | } |
| 159 | 162 | ||
modified
frontend/src/lib/i18n/messages.ts +2 -2 | @@ -358,7 +358,7 @@ export const en = { | ||
| 358 | 358 | 'assistant.program': 'Program', |
| 359 | 359 | 'assistant.programPlaceholder': 'mm', |
| 360 | 360 | 'assistant.programHint': 'The agent\'s program, as you would type it in a terminal: choose one in the list or type another. It must speak ACP.', |
| 361 | - 'assistant.programHintSbx': 'The agent\'s program inside the sandbox, as you would type it in a terminal: choose one in the list or type another. It must speak ACP. claude-agent-acp, codex-acp, gemini --acp: Claude, Codex or Gemini, with the sbxenv.yaml of its sandbox dropped above.', | |
| 361 | + 'assistant.programHintSbx': 'The agent\'s program inside the sandbox, as you would type it in a terminal: choose one in the list or type another. It must speak ACP. claude-agent-acp, codex-acp, gemini (arguments --acp): Claude, Codex or Gemini, with the sbxenv.yaml of its sandbox dropped above.', | |
| 362 | 362 | 'assistant.claudeNote': 'Claude runs from the docker.io/sbx/claude-acp kit named in the sbxenv.yaml: a third party provides it, not Sidekicks. Store your Anthropic API key in sbx before starting it: see the guide "Add a Claude agent in an sbx sandbox".', |
| 363 | 363 | 'assistant.codexNote': 'Codex runs from the docker.io/sbx/codex-acp-kit kit named in the sbxenv.yaml: a third party provides it, not Sidekicks. Sign in to ChatGPT or store your OpenAI API key in sbx before starting it: see the guide "Add a Codex agent in an sbx sandbox".', |
| 364 | 364 | 'assistant.geminiNote': 'Gemini runs from the docker.io/sbx/gemini-kit kit named in the sbxenv.yaml: a third party provides it, not Sidekicks. Store your Gemini API key in sbx before starting it: see the guide "Add a Gemini agent in an sbx sandbox".', |
| @@ -747,7 +747,7 @@ export const fr: Record<MessageKey, string> = { | ||
| 747 | 747 | 'assistant.program': 'Programme', |
| 748 | 748 | 'assistant.programPlaceholder': 'mm', |
| 749 | 749 | 'assistant.programHint': "Le programme de l'agent, tel que vous le taperiez dans un terminal : choisissez-en un dans la liste ou tapez-en un autre. Il doit parler ACP.", |
| 750 | - 'assistant.programHintSbx': "Le programme de l'agent dans la sandbox, tel que vous le taperiez dans un terminal : choisissez-en un dans la liste ou tapez-en un autre. Il doit parler ACP. claude-agent-acp, codex-acp, gemini --acp : Claude, Codex ou Gemini, avec le sbxenv.yaml de sa sandbox déposé plus haut.", | |
| 750 | + 'assistant.programHintSbx': "Le programme de l'agent dans la sandbox, tel que vous le taperiez dans un terminal : choisissez-en un dans la liste ou tapez-en un autre. Il doit parler ACP. claude-agent-acp, codex-acp, gemini (arguments --acp) : Claude, Codex ou Gemini, avec le sbxenv.yaml de sa sandbox déposé plus haut.", | |
| 751 | 751 | 'assistant.claudeNote': "Claude tourne grâce au kit docker.io/sbx/claude-acp nommé dans le sbxenv.yaml : il est fourni par un tiers, pas par Sidekicks. Enregistrez votre clé d'API Anthropic dans sbx avant de le démarrer : voir le guide « Ajouter un agent Claude dans une sandbox sbx ».", |
| 752 | 752 | 'assistant.codexNote': "Codex tourne grâce au kit docker.io/sbx/codex-acp-kit nommé dans le sbxenv.yaml : il est fourni par un tiers, pas par Sidekicks. Connectez-vous à ChatGPT ou enregistrez votre clé d'API OpenAI dans sbx avant de le démarrer : voir le guide « Ajouter un agent Codex dans une sandbox sbx ».", |
| 753 | 753 | 'assistant.geminiNote': "Gemini tourne grâce au kit docker.io/sbx/gemini-kit nommé dans le sbxenv.yaml : il est fourni par un tiers, pas par Sidekicks. Enregistrez votre clé d'API Gemini dans sbx avant de le démarrer : voir le guide « Ajouter un agent Gemini dans une sandbox sbx ».", |
| @@ -358,7 +358,7 @@ export const en = { | |||
| 358 | 'assistant.program': 'Program', | 358 | 'assistant.program': 'Program', |
| 359 | 'assistant.programPlaceholder': 'mm', | 359 | 'assistant.programPlaceholder': 'mm', |
| 360 | 'assistant.programHint': 'The agent\'s program, as you would type it in a terminal: choose one in the list or type another. It must speak ACP.', | 360 | 'assistant.programHint': 'The agent\'s program, as you would type it in a terminal: choose one in the list or type another. It must speak ACP.', |
| 361 | - 'assistant.programHintSbx': 'The agent\'s program inside the sandbox, as you would type it in a terminal: choose one in the list or type another. It must speak ACP. claude-agent-acp, codex-acp, gemini --acp: Claude, Codex or Gemini, with the sbxenv.yaml of its sandbox dropped above.', | 361 | + 'assistant.programHintSbx': 'The agent\'s program inside the sandbox, as you would type it in a terminal: choose one in the list or type another. It must speak ACP. claude-agent-acp, codex-acp, gemini (arguments --acp): Claude, Codex or Gemini, with the sbxenv.yaml of its sandbox dropped above.', |
| 362 | 'assistant.claudeNote': 'Claude runs from the docker.io/sbx/claude-acp kit named in the sbxenv.yaml: a third party provides it, not Sidekicks. Store your Anthropic API key in sbx before starting it: see the guide "Add a Claude agent in an sbx sandbox".', | 362 | 'assistant.claudeNote': 'Claude runs from the docker.io/sbx/claude-acp kit named in the sbxenv.yaml: a third party provides it, not Sidekicks. Store your Anthropic API key in sbx before starting it: see the guide "Add a Claude agent in an sbx sandbox".', |
| 363 | 'assistant.codexNote': 'Codex runs from the docker.io/sbx/codex-acp-kit kit named in the sbxenv.yaml: a third party provides it, not Sidekicks. Sign in to ChatGPT or store your OpenAI API key in sbx before starting it: see the guide "Add a Codex agent in an sbx sandbox".', | 363 | 'assistant.codexNote': 'Codex runs from the docker.io/sbx/codex-acp-kit kit named in the sbxenv.yaml: a third party provides it, not Sidekicks. Sign in to ChatGPT or store your OpenAI API key in sbx before starting it: see the guide "Add a Codex agent in an sbx sandbox".', |
| 364 | 'assistant.geminiNote': 'Gemini runs from the docker.io/sbx/gemini-kit kit named in the sbxenv.yaml: a third party provides it, not Sidekicks. Store your Gemini API key in sbx before starting it: see the guide "Add a Gemini agent in an sbx sandbox".', | 364 | 'assistant.geminiNote': 'Gemini runs from the docker.io/sbx/gemini-kit kit named in the sbxenv.yaml: a third party provides it, not Sidekicks. Store your Gemini API key in sbx before starting it: see the guide "Add a Gemini agent in an sbx sandbox".', |
| @@ -747,7 +747,7 @@ export const fr: Record<MessageKey, string> = { | |||
| 747 | 'assistant.program': 'Programme', | 747 | 'assistant.program': 'Programme', |
| 748 | 'assistant.programPlaceholder': 'mm', | 748 | 'assistant.programPlaceholder': 'mm', |
| 749 | 'assistant.programHint': "Le programme de l'agent, tel que vous le taperiez dans un terminal : choisissez-en un dans la liste ou tapez-en un autre. Il doit parler ACP.", | 749 | 'assistant.programHint': "Le programme de l'agent, tel que vous le taperiez dans un terminal : choisissez-en un dans la liste ou tapez-en un autre. Il doit parler ACP.", |
| 750 | - 'assistant.programHintSbx': "Le programme de l'agent dans la sandbox, tel que vous le taperiez dans un terminal : choisissez-en un dans la liste ou tapez-en un autre. Il doit parler ACP. claude-agent-acp, codex-acp, gemini --acp : Claude, Codex ou Gemini, avec le sbxenv.yaml de sa sandbox déposé plus haut.", | 750 | + 'assistant.programHintSbx': "Le programme de l'agent dans la sandbox, tel que vous le taperiez dans un terminal : choisissez-en un dans la liste ou tapez-en un autre. Il doit parler ACP. claude-agent-acp, codex-acp, gemini (arguments --acp) : Claude, Codex ou Gemini, avec le sbxenv.yaml de sa sandbox déposé plus haut.", |
| 751 | 'assistant.claudeNote': "Claude tourne grâce au kit docker.io/sbx/claude-acp nommé dans le sbxenv.yaml : il est fourni par un tiers, pas par Sidekicks. Enregistrez votre clé d'API Anthropic dans sbx avant de le démarrer : voir le guide « Ajouter un agent Claude dans une sandbox sbx ».", | 751 | 'assistant.claudeNote': "Claude tourne grâce au kit docker.io/sbx/claude-acp nommé dans le sbxenv.yaml : il est fourni par un tiers, pas par Sidekicks. Enregistrez votre clé d'API Anthropic dans sbx avant de le démarrer : voir le guide « Ajouter un agent Claude dans une sandbox sbx ».", |
| 752 | 'assistant.codexNote': "Codex tourne grâce au kit docker.io/sbx/codex-acp-kit nommé dans le sbxenv.yaml : il est fourni par un tiers, pas par Sidekicks. Connectez-vous à ChatGPT ou enregistrez votre clé d'API OpenAI dans sbx avant de le démarrer : voir le guide « Ajouter un agent Codex dans une sandbox sbx ».", | 752 | 'assistant.codexNote': "Codex tourne grâce au kit docker.io/sbx/codex-acp-kit nommé dans le sbxenv.yaml : il est fourni par un tiers, pas par Sidekicks. Connectez-vous à ChatGPT ou enregistrez votre clé d'API OpenAI dans sbx avant de le démarrer : voir le guide « Ajouter un agent Codex dans une sandbox sbx ».", |
| 753 | 'assistant.geminiNote': "Gemini tourne grâce au kit docker.io/sbx/gemini-kit nommé dans le sbxenv.yaml : il est fourni par un tiers, pas par Sidekicks. Enregistrez votre clé d'API Gemini dans sbx avant de le démarrer : voir le guide « Ajouter un agent Gemini dans une sandbox sbx ».", | 753 | 'assistant.geminiNote': "Gemini tourne grâce au kit docker.io/sbx/gemini-kit nommé dans le sbxenv.yaml : il est fourni par un tiers, pas par Sidekicks. Enregistrez votre clé d'API Gemini dans sbx avant de le démarrer : voir le guide « Ajouter un agent Gemini dans une sandbox sbx ».", |