#108 Gemini devient Antigravity dans l'assistant des sandboxes
Le type s'appelle Antigravity (Google Antigravity, avec les modèles Gemini), avec logo:antigravity (LobeHub Icons, MIT) ; logo:gemini reste accepté. Nouveau guide développeur EN + FR : ajouter un type d'agent à l'assistant (pas de fichier modèle : Catalogue et Render dans internal/sbxcreate). #108 fermé (testé sur le Mac). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
f0004d3 parent: 0e9fe73 modified
.memory/history.md +7 -0 | @@ -342,3 +342,10 @@ | ||
| 342 | 342 | - Checks: lint-go, svelte-check, headers, all tests, bindings-check; Xvfb with a fake sbx (env create asks without credential; --oauth waits for a file) end to end. |
| 343 | 343 | - Not verified: real sbx question text and `--oauth` output without a TTY (#107 tasks 1, 6). Not committed. |
| 344 | 344 | - **2026-11-15 — #107 closed** (owner tested Codex on the Mac: it works); feature/107-codex-chatgpt merged into main (not pushed). |
| 345 | + | |
| 346 | +## 2026-11-15 — #108 Gemini becomes Antigravity + doc of the sbxenv "templates" (branch feature/108-antigravity) | |
| 347 | + | |
| 348 | +- Asked: "where do you put the sbxenv templates?" (answer: none — `Catalogue` + `Render` in internal/sbxcreate/sbxcreate.go), then "document it; for Gemini, now Antigravity, change the term and the logo; ticket + implement". | |
| 349 | +- Done: kind id `gemini` → `antigravity` (title Antigravity, "Google Antigravity, with the Gemini models"), `logo:antigravity` (LobeHub Icons 1.102.0 MIT monochrome, #4285F4 — not in Simple Icons), `logo:gemini` still accepted; labels EN/FR, docs, release notes; new developer how-to EN/FR add-a-kind-to-the-sandbox-assistant / ajouter-un-type-a-l-assistant-des-sandboxes (linked from indexes and the SbxCreatorService reference). | |
| 350 | +- Checks: lint-go, svelte-check, headers, all tests, bindings-check; Xvfb screenshot of the kinds list. Not committed. | |
| 351 | +- **2026-11-15 — #108 closed** (owner tested on the Mac: it works); feature/108-antigravity merged into main (not pushed). | |
| @@ -342,3 +342,10 @@ | |||
| 342 | - Checks: lint-go, svelte-check, headers, all tests, bindings-check; Xvfb with a fake sbx (env create asks without credential; --oauth waits for a file) end to end. | 342 | - Checks: lint-go, svelte-check, headers, all tests, bindings-check; Xvfb with a fake sbx (env create asks without credential; --oauth waits for a file) end to end. |
| 343 | - Not verified: real sbx question text and `--oauth` output without a TTY (#107 tasks 1, 6). Not committed. | 343 | - Not verified: real sbx question text and `--oauth` output without a TTY (#107 tasks 1, 6). Not committed. |
| 344 | - **2026-11-15 — #107 closed** (owner tested Codex on the Mac: it works); feature/107-codex-chatgpt merged into main (not pushed). | 344 | - **2026-11-15 — #107 closed** (owner tested Codex on the Mac: it works); feature/107-codex-chatgpt merged into main (not pushed). |
| 345 | + | ||
| 346 | +## 2026-11-15 — #108 Gemini becomes Antigravity + doc of the sbxenv "templates" (branch feature/108-antigravity) | ||
| 347 | + | ||
| 348 | +- Asked: "where do you put the sbxenv templates?" (answer: none — `Catalogue` + `Render` in internal/sbxcreate/sbxcreate.go), then "document it; for Gemini, now Antigravity, change the term and the logo; ticket + implement". | ||
| 349 | +- Done: kind id `gemini` → `antigravity` (title Antigravity, "Google Antigravity, with the Gemini models"), `logo:antigravity` (LobeHub Icons 1.102.0 MIT monochrome, #4285F4 — not in Simple Icons), `logo:gemini` still accepted; labels EN/FR, docs, release notes; new developer how-to EN/FR add-a-kind-to-the-sandbox-assistant / ajouter-un-type-a-l-assistant-des-sandboxes (linked from indexes and the SbxCreatorService reference). | ||
| 350 | +- Checks: lint-go, svelte-check, headers, all tests, bindings-check; Xvfb screenshot of the kinds list. Not committed. | ||
| 351 | +- **2026-11-15 — #108 closed** (owner tested on the Mac: it works); feature/108-antigravity merged into main (not pushed). | ||
modified
.memory/summary.md +2 -2 | @@ -26,8 +26,8 @@ What exists: | ||
| 26 | 26 | - Workspaces: ADR 0007 — one `Workspace` interface (local: os/fsnotify/creack pty; container: docker exec + busybox-compatible POSIX scripts; sbx: ErrNotSupported until #39); paths relative, never leaving the folder; versioned writes (content hash) + atomic rename; local delete → system trash (EXDEV → final), container delete final; only the shown workspace is watched (fsnotify / 2 s polling in containers); terminals: output events every 16 ms/32 KB UTF-8-safe, Close hangs up the whole session (`pkill -s`) and, in a container, the session inside it (pid file + /proc); `docker` looked up in PATH then Docker Desktop/Homebrew paths. |
| 27 | 27 | - Mini-me creation assistant (#94, `CreatorService`, page `CreateMiniMeAgent.svelte`): Sidekicks is the ACP client of `mm --acp-create --project yes --output .mm/agent.yaml` (mm ≥ 1.0.9, checked with `mm --version`; an unparsable version is accepted); `.mm` layout imposed; the wizard runs in `<agentsFolder>/.sidekicks-new-agent-*`, renamed to `<agentsFolder>/<name>` at Finish (name = folder = agent name; an existing folder is never touched); container/sbx files come from `/dockerinit` / `/sbxinit` in an mm restarted in the final folder. `agentsFolder` (top-level config key) defaults to `~/Documents/Sidekicks-Agents` (#101). mm's questions stay in English (they are mm's). |
| 28 | 28 | - Agent forms (#95): every conversation agent is started with `acp.Spec.Forms` (advertises `elicitation.form`); a form goes to the session named in `_meta["mm.elicitationScope"]`, else to the only session with a prompt in flight, and is shown as a `FormCard` under the answer (`form:requested`/`form:resolved`, `ChannelService.AnswerForm`); Stop cancels it. Fields rendered by `chat/FormFields.svelte`, shared with the creator. |
| 29 | -- Sandbox creation assistant (#96, `SbxCreatorService`, page `CreateSbxAgent.svelte`, package `internal/sbxcreate`): catalogue of kinds (Claude `claude-agent-acp`, Gemini through Antigravity `agy acp` with kit `docker.io/sbx/antigravity`, Codex `codex-acp`, Vibe `vibe-acp` with kit `docker.io/sbx/vibe-kit`, service `mistral` — #86; Copilot `copilot --acp --stdio` with kit `docker.io/sbx/copilot-kit`, service `copilot` = a GitHub token, `Kind.Token` switches the key step to "token" texts — #103); writes `<agentsFolder>/<name>/sbxenv.yaml` (English comments) + `workspace/`; name = agent = folder = sandbox (`^[a-z][a-z0-9-]{0,31}$`); API key checked with `sbx secret ls --service`, set with `sbx secret set <service>` on stdin (never in args, files or logs). `appState.creator` is `'' | 'mini-me' | 'sbx'`. | |
| 30 | -- Agent icons (#100): `icon` may be `logo:<name>` (`config.LogoNames` = claude, gemini, openai, mistral, copilot — copilot is GitHub Octicons, MIT; drawn by `frontend/src/lib/logos.ts` from Simple Icons, CC0 — OpenAI from 13.21.0; a Go test checks both lists; unknown name = warning, shows a letter). Start progress (#98): `agent:progress` {agent, step checking|preparing|connecting, line, since} from `agents.Manager`, card `chat/StartProgress.svelte` (no log link since 2026-11-15, owner's request; `showLog` in state.svelte.ts is now unused). Assistants' @ name follows the name shown until edited, free variant from Go's `taken` list (#99). | |
| 29 | +- Sandbox creation assistant (#96, `SbxCreatorService`, page `CreateSbxAgent.svelte`, package `internal/sbxcreate`): catalogue of kinds (Claude `claude-agent-acp`, Antigravity (kind id `antigravity` since #108, was `gemini`) `agy acp` with kit `docker.io/sbx/antigravity`, Codex `codex-acp`, Vibe `vibe-acp` with kit `docker.io/sbx/vibe-kit`, service `mistral` — #86; Copilot `copilot --acp --stdio` with kit `docker.io/sbx/copilot-kit`, service `copilot` = a GitHub token, `Kind.Token` switches the key step to "token" texts — #103); writes `<agentsFolder>/<name>/sbxenv.yaml` (English comments) + `workspace/`; name = agent = folder = sandbox (`^[a-z][a-z0-9-]{0,31}$`); API key checked with `sbx secret ls --service`, set with `sbx secret set <service>` on stdin (never in args, files or logs). `appState.creator` is `'' | 'mini-me' | 'sbx'`. | |
| 30 | +- Agent icons (#100): `icon` may be `logo:<name>` (`config.LogoNames` = claude, gemini, antigravity, openai, mistral, copilot — copilot is GitHub Octicons, MIT, antigravity LobeHub Icons, MIT; drawn by `frontend/src/lib/logos.ts` from Simple Icons, CC0 — OpenAI from 13.21.0; a Go test checks both lists; unknown name = warning, shows a letter). Start progress (#98): `agent:progress` {agent, step checking|preparing|connecting, line, since} from `agents.Manager`, card `chat/StartProgress.svelte` (no log link since 2026-11-15, owner's request; `showLog` in state.svelte.ts is now unused). Assistants' @ name follows the name shown until edited, free variant from Go's `taken` list (#99). | |
| 31 | 31 | - Interface language: ADR 0005 — `ui.language` defaults to `en`; every UI text is a key of `frontend/src/lib/i18n/messages.ts` (`fr` typed `Record<MessageKey,string>`, test checks keys and variables); config errors use the Go catalogue in the same language; agent titles and channel names are user data, never translated. Default config file and `examples/test-agents.yaml` are in English. |
| 32 | 32 | - Packages and data model: ADR 0003 + Amendments 1 and 2 (main at the root, only main.go imports Wails, `internal/events` with an `Emitter` interface, LRU eviction of idle agents at the limit). |
| 33 | 33 | - Frontend dependencies with **pnpm 12.11.2** and `frontend/pnpm-workspace.yaml` `supportedArchitectures` (darwin+linux): the repository folder is shared between the Mac and the Linux sandbox. Never use npm in `frontend/`. |
| @@ -26,8 +26,8 @@ What exists: | |||
| 26 | - Workspaces: ADR 0007 — one `Workspace` interface (local: os/fsnotify/creack pty; container: docker exec + busybox-compatible POSIX scripts; sbx: ErrNotSupported until #39); paths relative, never leaving the folder; versioned writes (content hash) + atomic rename; local delete → system trash (EXDEV → final), container delete final; only the shown workspace is watched (fsnotify / 2 s polling in containers); terminals: output events every 16 ms/32 KB UTF-8-safe, Close hangs up the whole session (`pkill -s`) and, in a container, the session inside it (pid file + /proc); `docker` looked up in PATH then Docker Desktop/Homebrew paths. | 26 | - Workspaces: ADR 0007 — one `Workspace` interface (local: os/fsnotify/creack pty; container: docker exec + busybox-compatible POSIX scripts; sbx: ErrNotSupported until #39); paths relative, never leaving the folder; versioned writes (content hash) + atomic rename; local delete → system trash (EXDEV → final), container delete final; only the shown workspace is watched (fsnotify / 2 s polling in containers); terminals: output events every 16 ms/32 KB UTF-8-safe, Close hangs up the whole session (`pkill -s`) and, in a container, the session inside it (pid file + /proc); `docker` looked up in PATH then Docker Desktop/Homebrew paths. |
| 27 | - Mini-me creation assistant (#94, `CreatorService`, page `CreateMiniMeAgent.svelte`): Sidekicks is the ACP client of `mm --acp-create --project yes --output .mm/agent.yaml` (mm ≥ 1.0.9, checked with `mm --version`; an unparsable version is accepted); `.mm` layout imposed; the wizard runs in `<agentsFolder>/.sidekicks-new-agent-*`, renamed to `<agentsFolder>/<name>` at Finish (name = folder = agent name; an existing folder is never touched); container/sbx files come from `/dockerinit` / `/sbxinit` in an mm restarted in the final folder. `agentsFolder` (top-level config key) defaults to `~/Documents/Sidekicks-Agents` (#101). mm's questions stay in English (they are mm's). | 27 | - Mini-me creation assistant (#94, `CreatorService`, page `CreateMiniMeAgent.svelte`): Sidekicks is the ACP client of `mm --acp-create --project yes --output .mm/agent.yaml` (mm ≥ 1.0.9, checked with `mm --version`; an unparsable version is accepted); `.mm` layout imposed; the wizard runs in `<agentsFolder>/.sidekicks-new-agent-*`, renamed to `<agentsFolder>/<name>` at Finish (name = folder = agent name; an existing folder is never touched); container/sbx files come from `/dockerinit` / `/sbxinit` in an mm restarted in the final folder. `agentsFolder` (top-level config key) defaults to `~/Documents/Sidekicks-Agents` (#101). mm's questions stay in English (they are mm's). |
| 28 | - Agent forms (#95): every conversation agent is started with `acp.Spec.Forms` (advertises `elicitation.form`); a form goes to the session named in `_meta["mm.elicitationScope"]`, else to the only session with a prompt in flight, and is shown as a `FormCard` under the answer (`form:requested`/`form:resolved`, `ChannelService.AnswerForm`); Stop cancels it. Fields rendered by `chat/FormFields.svelte`, shared with the creator. | 28 | - Agent forms (#95): every conversation agent is started with `acp.Spec.Forms` (advertises `elicitation.form`); a form goes to the session named in `_meta["mm.elicitationScope"]`, else to the only session with a prompt in flight, and is shown as a `FormCard` under the answer (`form:requested`/`form:resolved`, `ChannelService.AnswerForm`); Stop cancels it. Fields rendered by `chat/FormFields.svelte`, shared with the creator. |
| 29 | -- Sandbox creation assistant (#96, `SbxCreatorService`, page `CreateSbxAgent.svelte`, package `internal/sbxcreate`): catalogue of kinds (Claude `claude-agent-acp`, Gemini through Antigravity `agy acp` with kit `docker.io/sbx/antigravity`, Codex `codex-acp`, Vibe `vibe-acp` with kit `docker.io/sbx/vibe-kit`, service `mistral` — #86; Copilot `copilot --acp --stdio` with kit `docker.io/sbx/copilot-kit`, service `copilot` = a GitHub token, `Kind.Token` switches the key step to "token" texts — #103); writes `<agentsFolder>/<name>/sbxenv.yaml` (English comments) + `workspace/`; name = agent = folder = sandbox (`^[a-z][a-z0-9-]{0,31}$`); API key checked with `sbx secret ls --service`, set with `sbx secret set <service>` on stdin (never in args, files or logs). `appState.creator` is `'' | 'mini-me' | 'sbx'`. | 29 | +- Sandbox creation assistant (#96, `SbxCreatorService`, page `CreateSbxAgent.svelte`, package `internal/sbxcreate`): catalogue of kinds (Claude `claude-agent-acp`, Antigravity (kind id `antigravity` since #108, was `gemini`) `agy acp` with kit `docker.io/sbx/antigravity`, Codex `codex-acp`, Vibe `vibe-acp` with kit `docker.io/sbx/vibe-kit`, service `mistral` — #86; Copilot `copilot --acp --stdio` with kit `docker.io/sbx/copilot-kit`, service `copilot` = a GitHub token, `Kind.Token` switches the key step to "token" texts — #103); writes `<agentsFolder>/<name>/sbxenv.yaml` (English comments) + `workspace/`; name = agent = folder = sandbox (`^[a-z][a-z0-9-]{0,31}$`); API key checked with `sbx secret ls --service`, set with `sbx secret set <service>` on stdin (never in args, files or logs). `appState.creator` is `'' | 'mini-me' | 'sbx'`. |
| 30 | -- Agent icons (#100): `icon` may be `logo:<name>` (`config.LogoNames` = claude, gemini, openai, mistral, copilot — copilot is GitHub Octicons, MIT; drawn by `frontend/src/lib/logos.ts` from Simple Icons, CC0 — OpenAI from 13.21.0; a Go test checks both lists; unknown name = warning, shows a letter). Start progress (#98): `agent:progress` {agent, step checking|preparing|connecting, line, since} from `agents.Manager`, card `chat/StartProgress.svelte` (no log link since 2026-11-15, owner's request; `showLog` in state.svelte.ts is now unused). Assistants' @ name follows the name shown until edited, free variant from Go's `taken` list (#99). | 30 | +- Agent icons (#100): `icon` may be `logo:<name>` (`config.LogoNames` = claude, gemini, antigravity, openai, mistral, copilot — copilot is GitHub Octicons, MIT, antigravity LobeHub Icons, MIT; drawn by `frontend/src/lib/logos.ts` from Simple Icons, CC0 — OpenAI from 13.21.0; a Go test checks both lists; unknown name = warning, shows a letter). Start progress (#98): `agent:progress` {agent, step checking|preparing|connecting, line, since} from `agents.Manager`, card `chat/StartProgress.svelte` (no log link since 2026-11-15, owner's request; `showLog` in state.svelte.ts is now unused). Assistants' @ name follows the name shown until edited, free variant from Go's `taken` list (#99). |
| 31 | - Interface language: ADR 0005 — `ui.language` defaults to `en`; every UI text is a key of `frontend/src/lib/i18n/messages.ts` (`fr` typed `Record<MessageKey,string>`, test checks keys and variables); config errors use the Go catalogue in the same language; agent titles and channel names are user data, never translated. Default config file and `examples/test-agents.yaml` are in English. | 31 | - Interface language: ADR 0005 — `ui.language` defaults to `en`; every UI text is a key of `frontend/src/lib/i18n/messages.ts` (`fr` typed `Record<MessageKey,string>`, test checks keys and variables); config errors use the Go catalogue in the same language; agent titles and channel names are user data, never translated. Default config file and `examples/test-agents.yaml` are in English. |
| 32 | - Packages and data model: ADR 0003 + Amendments 1 and 2 (main at the root, only main.go imports Wails, `internal/events` with an `Emitter` interface, LRU eviction of idle agents at the limit). | 32 | - Packages and data model: ADR 0003 + Amendments 1 and 2 (main at the root, only main.go imports Wails, `internal/events` with an `Emitter` interface, LRU eviction of idle agents at the limit). |
| 33 | - Frontend dependencies with **pnpm 12.11.2** and `frontend/pnpm-workspace.yaml` `supportedArchitectures` (darwin+linux): the repository folder is shared between the Mac and the Linux sandbox. Never use npm in `frontend/`. | 33 | - Frontend dependencies with **pnpm 12.11.2** and `frontend/pnpm-workspace.yaml` `supportedArchitectures` (darwin+linux): the repository folder is shared between the Mac and the Linux sandbox. Never use npm in `frontend/`. |
modified
.tickets/issues/0102-publier-la-version-1-6-0.yaml +2 -0 | @@ -19,6 +19,7 @@ related: | ||
| 19 | 19 | - 105 |
| 20 | 20 | - 106 |
| 21 | 21 | - 107 |
| 22 | + - 108 | |
| 22 | 23 | body: | |
| 23 | 24 | Publier Sidekicks 1.6.0 avec ce qui sera fait après la 1.5.0 (liste à compléter) : |
| 24 | 25 | - [#103](.tickets/issues/0103-github-copilot-cli-dans-l-assistant-des-sandboxe.yaml) — GitHub Copilot CLI dans l'assistant des sandboxes |
| @@ -26,6 +27,7 @@ body: | | ||
| 26 | 27 | - [#105](.tickets/issues/0105-assistant-des-sandboxes-claude-sans-cle-d-api-di.yaml) — Claude sans clé : dire qu'il faudra faire /login dans le terminal |
| 27 | 28 | - [#106](.tickets/issues/0106-claude-en-sandbox-sans-authentification-ouvrir-l.yaml) — Claude sans authentification : ouvrir le terminal de la sandbox et y lancer claude |
| 28 | 29 | - [#107](.tickets/issues/0107-assistant-des-sandboxes-codex-cle-facultative-et.yaml) — Codex : clé facultative et connexion ChatGPT |
| 30 | + - [#108](.tickets/issues/0108-assistant-des-sandboxes-gemini-devient-antigravit.yaml) — Gemini devient Antigravity (nom et logo) | |
| 29 | 31 | |
| 30 | 32 | Même déroulé que [#93 — Publier la version 1.5.0](.tickets/issues/0093-publier-la-version-1-5-0.yaml), en suivant |
| 31 | 33 | [RELEASING.fr.md](RELEASING.fr.md) (scripts `local-ci-*.sh`), **kDrive en pause** pendant la construction. |
| @@ -19,6 +19,7 @@ related: | |||
| 19 | - 105 | 19 | - 105 |
| 20 | - 106 | 20 | - 106 |
| 21 | - 107 | 21 | - 107 |
| 22 | + - 108 | ||
| 22 | body: | | 23 | body: | |
| 23 | Publier Sidekicks 1.6.0 avec ce qui sera fait après la 1.5.0 (liste à compléter) : | 24 | Publier Sidekicks 1.6.0 avec ce qui sera fait après la 1.5.0 (liste à compléter) : |
| 24 | - [#103](.tickets/issues/0103-github-copilot-cli-dans-l-assistant-des-sandboxe.yaml) — GitHub Copilot CLI dans l'assistant des sandboxes | 25 | - [#103](.tickets/issues/0103-github-copilot-cli-dans-l-assistant-des-sandboxe.yaml) — GitHub Copilot CLI dans l'assistant des sandboxes |
| @@ -26,6 +27,7 @@ body: | | |||
| 26 | - [#105](.tickets/issues/0105-assistant-des-sandboxes-claude-sans-cle-d-api-di.yaml) — Claude sans clé : dire qu'il faudra faire /login dans le terminal | 27 | - [#105](.tickets/issues/0105-assistant-des-sandboxes-claude-sans-cle-d-api-di.yaml) — Claude sans clé : dire qu'il faudra faire /login dans le terminal |
| 27 | - [#106](.tickets/issues/0106-claude-en-sandbox-sans-authentification-ouvrir-l.yaml) — Claude sans authentification : ouvrir le terminal de la sandbox et y lancer claude | 28 | - [#106](.tickets/issues/0106-claude-en-sandbox-sans-authentification-ouvrir-l.yaml) — Claude sans authentification : ouvrir le terminal de la sandbox et y lancer claude |
| 28 | - [#107](.tickets/issues/0107-assistant-des-sandboxes-codex-cle-facultative-et.yaml) — Codex : clé facultative et connexion ChatGPT | 29 | - [#107](.tickets/issues/0107-assistant-des-sandboxes-codex-cle-facultative-et.yaml) — Codex : clé facultative et connexion ChatGPT |
| 30 | + - [#108](.tickets/issues/0108-assistant-des-sandboxes-gemini-devient-antigravit.yaml) — Gemini devient Antigravity (nom et logo) | ||
| 29 | 31 | ||
| 30 | Même déroulé que [#93 — Publier la version 1.5.0](.tickets/issues/0093-publier-la-version-1-5-0.yaml), en suivant | 32 | Même déroulé que [#93 — Publier la version 1.5.0](.tickets/issues/0093-publier-la-version-1-5-0.yaml), en suivant |
| 31 | [RELEASING.fr.md](RELEASING.fr.md) (scripts `local-ci-*.sh`), **kDrive en pause** pendant la construction. | 33 | [RELEASING.fr.md](RELEASING.fr.md) (scripts `local-ci-*.sh`), **kDrive en pause** pendant la construction. |
added
.tickets/issues/0108-assistant-des-sandboxes-gemini-devient-antigravit.yaml +100 -0 | new file mode 100644 | ||
| @@ -0,0 +1,100 @@ | ||
| 1 | +# Managed by IssueSpec. Hand edits are welcome; keep the schema valid. | |
| 2 | +id: 108 | |
| 3 | +title: "Assistant des sandboxes : Gemini devient Antigravity (nom et logo)" | |
| 4 | +state: closed | |
| 5 | +author: | |
| 6 | + name: k33g | |
| 7 | + email: ph.charriere@gmail.com | |
| 8 | +createdAt: 2026-11-15T09:28:30.000Z | |
| 9 | +updatedAt: 2026-11-15T09:34:29.000Z | |
| 10 | +labels: | |
| 11 | + - kind::feature | |
| 12 | + - area::ui | |
| 13 | + - citizen-ux | |
| 14 | +milestone: "v1.6.0 · Release" | |
| 15 | +epic: Docker SBX | |
| 16 | +related: | |
| 17 | + - 96 | |
| 18 | + - 100 | |
| 19 | +body: | | |
| 20 | + Depuis [#96](.tickets/issues/0096-assistant-create-a-sbx-agent-claude-gemini-codex.yaml), le type « Gemini » de | |
| 21 | + l'assistant des sandboxes passe par **Google Antigravity** (kit `docker.io/sbx/antigravity`, `agy acp`). L'owner | |
| 22 | + veut que l'assistant le dise : le **terme** devient **Antigravity** et le **logo** celui d'Antigravity, plus celui de | |
| 23 | + Gemini. | |
| 24 | + | |
| 25 | + Demande liée de l'owner : **documenter où sont les modèles `sbxenv.yaml`** des agents de l'assistant — il n'y a pas | |
| 26 | + de fichier modèle : le catalogue `internal/sbxcreate` (`Catalogue`) et `Render` les écrivent. | |
| 27 | + | |
| 28 | + ## Proposition | |
| 29 | + - Le type devient `antigravity` (id, titre « Antigravity », sous-titre « Google Antigravity, avec les modèles | |
| 30 | + Gemini ») ; nom proposé `antigravity`. Agent sbx, kit, programme et secret `google` inchangés. | |
| 31 | + - Logo `logo:antigravity` : LobeHub Icons (`@lobehub/icons-static-svg` 1.102.0, licence MIT, version monochrome). | |
| 32 | + `logo:gemini` reste accepté : les agents déjà créés le gardent. | |
| 33 | + - Libellés « Claude, Antigravity, Codex, Vibe ou Copilot » partout (accueil, palette, guide). | |
| 34 | + | |
| 35 | + ## Critères d'acceptation | |
| 36 | + - L'assistant montre « Antigravity » avec son logo ; un agent créé a `icon: logo:antigravity`. | |
| 37 | + - Les configurations avec `logo:gemini` restent valides. | |
| 38 | + - Tests Go + vitest ; doc EN + FR ; notes de release v1.6.0 ; guide « ajouter un type à l'assistant » qui dit où est | |
| 39 | + le modèle `sbxenv.yaml`. | |
| 40 | +tasks: | |
| 41 | + - id: 1 | |
| 42 | + title: "Type antigravity : id, titre, sous-titre, logo:antigravity (LobeHub, MIT) ; logo:gemini toujours accepté" | |
| 43 | + state: closed | |
| 44 | + priority: high | |
| 45 | + author: | |
| 46 | + name: k33g | |
| 47 | + email: ph.charriere@gmail.com | |
| 48 | + createdAt: 2026-11-15T09:28:30.000Z | |
| 49 | + updatedAt: 2026-11-15T09:31:06.000Z | |
| 50 | + closedAt: 2026-11-15T09:31:06.000Z | |
| 51 | + - id: 2 | |
| 52 | + title: "Libellés « Claude, Antigravity, Codex, Vibe ou Copilot » (interface EN + FR, doc)" | |
| 53 | + state: closed | |
| 54 | + priority: medium | |
| 55 | + author: | |
| 56 | + name: k33g | |
| 57 | + email: ph.charriere@gmail.com | |
| 58 | + createdAt: 2026-11-15T09:28:30.000Z | |
| 59 | + updatedAt: 2026-11-15T09:31:06.000Z | |
| 60 | + closedAt: 2026-11-15T09:31:06.000Z | |
| 61 | + - id: 3 | |
| 62 | + title: "Documenter le catalogue et Render : où est le modèle sbxenv.yaml, comment ajouter un type (EN + FR)" | |
| 63 | + state: closed | |
| 64 | + priority: medium | |
| 65 | + author: | |
| 66 | + name: k33g | |
| 67 | + email: ph.charriere@gmail.com | |
| 68 | + createdAt: 2026-11-15T09:28:30.000Z | |
| 69 | + updatedAt: 2026-11-15T09:31:06.000Z | |
| 70 | + closedAt: 2026-11-15T09:31:06.000Z | |
| 71 | + - id: 4 | |
| 72 | + title: "Tests Go + vitest, notes de release v1.6.0" | |
| 73 | + state: closed | |
| 74 | + priority: medium | |
| 75 | + author: | |
| 76 | + name: k33g | |
| 77 | + email: ph.charriere@gmail.com | |
| 78 | + createdAt: 2026-11-15T09:28:30.000Z | |
| 79 | + updatedAt: 2026-11-15T09:31:06.000Z | |
| 80 | + closedAt: 2026-11-15T09:31:06.000Z | |
| 81 | +comments: | |
| 82 | + - id: 1 | |
| 83 | + author: | |
| 84 | + name: k33g | |
| 85 | + email: ph.charriere@gmail.com | |
| 86 | + createdAt: 2026-11-15T09:31:06.000Z | |
| 87 | + body: | | |
| 88 | + Fait sur `feature/108-antigravity`. Type `antigravity` (titre « Antigravity », « Google Antigravity, avec les | |
| 89 | + modèles Gemini »), `logo:antigravity` (LobeHub Icons 1.102.0, MIT, monochrome, couleur #4285F4 ; Simple Icons n'a | |
| 90 | + pas d'Antigravity) ; `logo:gemini` reste dans `LogoNames`. Libellés EN + FR, doc, notes v1.6.0. Nouveau guide | |
| 91 | + développeur EN + FR « Ajouter un type d'agent à l'assistant des sandboxes » : pas de fichier modèle, `Catalogue` + | |
| 92 | + `Render` dans `internal/sbxcreate/sbxcreate.go`. Vérifié : tests, lint, capture de l'assistant. Reste : le test | |
| 93 | + de l'owner. | |
| 94 | + - id: 2 | |
| 95 | + author: | |
| 96 | + name: k33g | |
| 97 | + email: ph.charriere@gmail.com | |
| 98 | + createdAt: 2026-11-15T09:34:29.000Z | |
| 99 | + body: | | |
| 100 | + Testé sur le Mac par l'owner : ça fonctionne. Mergé dans main. Ticket fermé. | |
| new file mode 100644 | |||
| @@ -0,0 +1,100 @@ | |||
| 1 | +# Managed by IssueSpec. Hand edits are welcome; keep the schema valid. | ||
| 2 | +id: 108 | ||
| 3 | +title: "Assistant des sandboxes : Gemini devient Antigravity (nom et logo)" | ||
| 4 | +state: closed | ||
| 5 | +author: | ||
| 6 | + name: k33g | ||
| 7 | + email: ph.charriere@gmail.com | ||
| 8 | +createdAt: 2026-11-15T09:28:30.000Z | ||
| 9 | +updatedAt: 2026-11-15T09:34:29.000Z | ||
| 10 | +labels: | ||
| 11 | + - kind::feature | ||
| 12 | + - area::ui | ||
| 13 | + - citizen-ux | ||
| 14 | +milestone: "v1.6.0 · Release" | ||
| 15 | +epic: Docker SBX | ||
| 16 | +related: | ||
| 17 | + - 96 | ||
| 18 | + - 100 | ||
| 19 | +body: | | ||
| 20 | + Depuis [#96](.tickets/issues/0096-assistant-create-a-sbx-agent-claude-gemini-codex.yaml), le type « Gemini » de | ||
| 21 | + l'assistant des sandboxes passe par **Google Antigravity** (kit `docker.io/sbx/antigravity`, `agy acp`). L'owner | ||
| 22 | + veut que l'assistant le dise : le **terme** devient **Antigravity** et le **logo** celui d'Antigravity, plus celui de | ||
| 23 | + Gemini. | ||
| 24 | + | ||
| 25 | + Demande liée de l'owner : **documenter où sont les modèles `sbxenv.yaml`** des agents de l'assistant — il n'y a pas | ||
| 26 | + de fichier modèle : le catalogue `internal/sbxcreate` (`Catalogue`) et `Render` les écrivent. | ||
| 27 | + | ||
| 28 | + ## Proposition | ||
| 29 | + - Le type devient `antigravity` (id, titre « Antigravity », sous-titre « Google Antigravity, avec les modèles | ||
| 30 | + Gemini ») ; nom proposé `antigravity`. Agent sbx, kit, programme et secret `google` inchangés. | ||
| 31 | + - Logo `logo:antigravity` : LobeHub Icons (`@lobehub/icons-static-svg` 1.102.0, licence MIT, version monochrome). | ||
| 32 | + `logo:gemini` reste accepté : les agents déjà créés le gardent. | ||
| 33 | + - Libellés « Claude, Antigravity, Codex, Vibe ou Copilot » partout (accueil, palette, guide). | ||
| 34 | + | ||
| 35 | + ## Critères d'acceptation | ||
| 36 | + - L'assistant montre « Antigravity » avec son logo ; un agent créé a `icon: logo:antigravity`. | ||
| 37 | + - Les configurations avec `logo:gemini` restent valides. | ||
| 38 | + - Tests Go + vitest ; doc EN + FR ; notes de release v1.6.0 ; guide « ajouter un type à l'assistant » qui dit où est | ||
| 39 | + le modèle `sbxenv.yaml`. | ||
| 40 | +tasks: | ||
| 41 | + - id: 1 | ||
| 42 | + title: "Type antigravity : id, titre, sous-titre, logo:antigravity (LobeHub, MIT) ; logo:gemini toujours accepté" | ||
| 43 | + state: closed | ||
| 44 | + priority: high | ||
| 45 | + author: | ||
| 46 | + name: k33g | ||
| 47 | + email: ph.charriere@gmail.com | ||
| 48 | + createdAt: 2026-11-15T09:28:30.000Z | ||
| 49 | + updatedAt: 2026-11-15T09:31:06.000Z | ||
| 50 | + closedAt: 2026-11-15T09:31:06.000Z | ||
| 51 | + - id: 2 | ||
| 52 | + title: "Libellés « Claude, Antigravity, Codex, Vibe ou Copilot » (interface EN + FR, doc)" | ||
| 53 | + state: closed | ||
| 54 | + priority: medium | ||
| 55 | + author: | ||
| 56 | + name: k33g | ||
| 57 | + email: ph.charriere@gmail.com | ||
| 58 | + createdAt: 2026-11-15T09:28:30.000Z | ||
| 59 | + updatedAt: 2026-11-15T09:31:06.000Z | ||
| 60 | + closedAt: 2026-11-15T09:31:06.000Z | ||
| 61 | + - id: 3 | ||
| 62 | + title: "Documenter le catalogue et Render : où est le modèle sbxenv.yaml, comment ajouter un type (EN + FR)" | ||
| 63 | + state: closed | ||
| 64 | + priority: medium | ||
| 65 | + author: | ||
| 66 | + name: k33g | ||
| 67 | + email: ph.charriere@gmail.com | ||
| 68 | + createdAt: 2026-11-15T09:28:30.000Z | ||
| 69 | + updatedAt: 2026-11-15T09:31:06.000Z | ||
| 70 | + closedAt: 2026-11-15T09:31:06.000Z | ||
| 71 | + - id: 4 | ||
| 72 | + title: "Tests Go + vitest, notes de release v1.6.0" | ||
| 73 | + state: closed | ||
| 74 | + priority: medium | ||
| 75 | + author: | ||
| 76 | + name: k33g | ||
| 77 | + email: ph.charriere@gmail.com | ||
| 78 | + createdAt: 2026-11-15T09:28:30.000Z | ||
| 79 | + updatedAt: 2026-11-15T09:31:06.000Z | ||
| 80 | + closedAt: 2026-11-15T09:31:06.000Z | ||
| 81 | +comments: | ||
| 82 | + - id: 1 | ||
| 83 | + author: | ||
| 84 | + name: k33g | ||
| 85 | + email: ph.charriere@gmail.com | ||
| 86 | + createdAt: 2026-11-15T09:31:06.000Z | ||
| 87 | + body: | | ||
| 88 | + Fait sur `feature/108-antigravity`. Type `antigravity` (titre « Antigravity », « Google Antigravity, avec les | ||
| 89 | + modèles Gemini »), `logo:antigravity` (LobeHub Icons 1.102.0, MIT, monochrome, couleur #4285F4 ; Simple Icons n'a | ||
| 90 | + pas d'Antigravity) ; `logo:gemini` reste dans `LogoNames`. Libellés EN + FR, doc, notes v1.6.0. Nouveau guide | ||
| 91 | + développeur EN + FR « Ajouter un type d'agent à l'assistant des sandboxes » : pas de fichier modèle, `Catalogue` + | ||
| 92 | + `Render` dans `internal/sbxcreate/sbxcreate.go`. Vérifié : tests, lint, capture de l'assistant. Reste : le test | ||
| 93 | + de l'owner. | ||
| 94 | + - id: 2 | ||
| 95 | + author: | ||
| 96 | + name: k33g | ||
| 97 | + email: ph.charriere@gmail.com | ||
| 98 | + createdAt: 2026-11-15T09:34:29.000Z | ||
| 99 | + body: | | ||
| 100 | + Testé sur le Mac par l'owner : ça fonctionne. Mergé dans main. Ticket fermé. | ||
modified
README.md +1 -1 | @@ -51,7 +51,7 @@ Details: [How to develop the application](docs/en/how-to/develop-the-application | ||
| 51 | 51 | | `internal/agents` | The agent processes: lazy start, limit, idle stop, states, logs | |
| 52 | 52 | | `internal/acp` | ACP v1 client over stdio (wraps `coder/acp-go-sdk`), with the forms an agent sends (elicitation) | |
| 53 | 53 | | `internal/creator` | The mini-me creation assistant: drives `mm --acp-create` and writes the agent's folder | |
| 54 | -| `internal/sbxcreate` | The sandbox creation assistant: kinds of agents (Claude, Gemini, Codex, Vibe, Copilot), `sbxenv.yaml`, API keys and `sbx login` | | |
| 54 | +| `internal/sbxcreate` | The sandbox creation assistant: kinds of agents (Claude, Antigravity, Codex, Vibe, Copilot), `sbxenv.yaml`, API keys and `sbx login` | | |
| 55 | 55 | | `internal/config` | Configuration file: load, validate, locate, create, save, watch | |
| 56 | 56 | | `internal/events` | Events sent from Go to the interface | |
| 57 | 57 | | `internal/memory` | The memory pressure of the computer, shown in the Log panel | |
| @@ -51,7 +51,7 @@ Details: [How to develop the application](docs/en/how-to/develop-the-application | |||
| 51 | | `internal/agents` | The agent processes: lazy start, limit, idle stop, states, logs | | 51 | | `internal/agents` | The agent processes: lazy start, limit, idle stop, states, logs | |
| 52 | | `internal/acp` | ACP v1 client over stdio (wraps `coder/acp-go-sdk`), with the forms an agent sends (elicitation) | | 52 | | `internal/acp` | ACP v1 client over stdio (wraps `coder/acp-go-sdk`), with the forms an agent sends (elicitation) | |
| 53 | | `internal/creator` | The mini-me creation assistant: drives `mm --acp-create` and writes the agent's folder | | 53 | | `internal/creator` | The mini-me creation assistant: drives `mm --acp-create` and writes the agent's folder | |
| 54 | -| `internal/sbxcreate` | The sandbox creation assistant: kinds of agents (Claude, Gemini, Codex, Vibe, Copilot), `sbxenv.yaml`, API keys and `sbx login` | | 54 | +| `internal/sbxcreate` | The sandbox creation assistant: kinds of agents (Claude, Antigravity, Codex, Vibe, Copilot), `sbxenv.yaml`, API keys and `sbx login` | |
| 55 | | `internal/config` | Configuration file: load, validate, locate, create, save, watch | | 55 | | `internal/config` | Configuration file: load, validate, locate, create, save, watch | |
| 56 | | `internal/events` | Events sent from Go to the interface | | 56 | | `internal/events` | Events sent from Go to the interface | |
| 57 | | `internal/memory` | The memory pressure of the computer, shown in the Log panel | | 57 | | `internal/memory` | The memory pressure of the computer, shown in the Log panel | |
modified
docs/en/README.md +1 -1 | @@ -7,7 +7,7 @@ This documentation follows [Diátaxis](https://diataxis.fr): pick the section th | ||
| 7 | 7 | | You want to… | Section | Pages | |
| 8 | 8 | | --- | --- | --- | |
| 9 | 9 | | **learn** by doing | Tutorials | [Your first agent, without writing any configuration](tutorials/your-first-agent.md) · [A channel with two agents](tutorials/first-channel.md) · [Your first conversation with an agent](tutorials/first-conversation.md) · [Your first launch of Sidekicks](tutorials/first-launch.md) · [Your first ACP exchange with a test agent](tutorials/first-acp-exchange.md) | |
| 10 | -| **do** a specific task | How-to guides | [Install Sidekicks](how-to/install-sidekicks.md) · [Create a mini-me agent](how-to/create-a-mini-me-agent.md) · [Create a Claude, Gemini, Codex, Vibe or Copilot agent in a sandbox](how-to/create-an-agent-in-a-sandbox.md) · [Add an agent](how-to/add-an-agent.md) · [Work with an agent's files and terminal](how-to/work-with-an-agents-files.md) · [Run an agent in a Docker container](how-to/run-an-agent-in-docker.md) · [Run an agent in an sbx sandbox](how-to/run-an-agent-in-a-sandbox.md) · [Add a Claude agent in an sbx sandbox](how-to/add-a-claude-agent-in-a-sandbox.md) · [Add a Codex agent in an sbx sandbox](how-to/add-a-codex-agent-in-a-sandbox.md) · [Add a Gemini agent in an sbx sandbox](how-to/add-a-gemini-agent-in-a-sandbox.md) · [Join files to a message](how-to/join-files-to-a-message.md) · [Manage channels and their agents](how-to/manage-channels.md) · [Edit or switch the configuration](how-to/edit-or-switch-the-configuration.md) · [Reset Sidekicks](how-to/reset-sidekicks.md) · [Watch the memory pressure](how-to/watch-the-memory-pressure.md) · [Let an agent use Sidekicks' tools](how-to/use-sidekicks-tools-from-an-agent.md) · [Develop the application](how-to/develop-the-application.md) · [Run the tests](how-to/run-the-tests.md) · [Check a change before merging it](how-to/check-before-merging.md) · [Run a test agent](how-to/run-a-test-agent.md) · [Run the end-to-end scenarios (v0.1)](how-to/run-the-end-to-end-scenarios.md) · [Set the version](how-to/set-the-version.md) · [Publish a release](how-to/publish-a-release.md) · [Sign and notarize for macOS](how-to/sign-and-notarize-on-macos.md) · [Test issue #52 on macOS](how-to/test-issue-52-on-macos.md) · [Test issues #49 and #50 on macOS](how-to/test-issues-49-and-50-on-macos.md) · [Test issue #47 on macOS](how-to/test-issue-47-on-macos.md) · [Test milestone M4 on macOS](how-to/test-milestone-m4-on-macos.md) · [Test milestone M3 on macOS](how-to/test-milestone-m3-on-macos.md) · [Test milestone M2 on macOS](how-to/test-milestone-m2-on-macos.md) · [Test milestone M1 on macOS](how-to/test-milestone-m1-on-macos.md) · [Test milestone Initialize on macOS](how-to/test-milestone-initialize-on-macos.md) | | |
| 10 | +| **do** a specific task | How-to guides | [Install Sidekicks](how-to/install-sidekicks.md) · [Create a mini-me agent](how-to/create-a-mini-me-agent.md) · [Create a Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox](how-to/create-an-agent-in-a-sandbox.md) · [Add an agent](how-to/add-an-agent.md) · [Work with an agent's files and terminal](how-to/work-with-an-agents-files.md) · [Run an agent in a Docker container](how-to/run-an-agent-in-docker.md) · [Run an agent in an sbx sandbox](how-to/run-an-agent-in-a-sandbox.md) · [Add a Claude agent in an sbx sandbox](how-to/add-a-claude-agent-in-a-sandbox.md) · [Add a Codex agent in an sbx sandbox](how-to/add-a-codex-agent-in-a-sandbox.md) · [Add a Gemini agent in an sbx sandbox](how-to/add-a-gemini-agent-in-a-sandbox.md) · [Join files to a message](how-to/join-files-to-a-message.md) · [Manage channels and their agents](how-to/manage-channels.md) · [Edit or switch the configuration](how-to/edit-or-switch-the-configuration.md) · [Reset Sidekicks](how-to/reset-sidekicks.md) · [Watch the memory pressure](how-to/watch-the-memory-pressure.md) · [Let an agent use Sidekicks' tools](how-to/use-sidekicks-tools-from-an-agent.md) · [Develop the application](how-to/develop-the-application.md) · [Add a kind of agent to the sandbox assistant](how-to/add-a-kind-to-the-sandbox-assistant.md) · [Run the tests](how-to/run-the-tests.md) · [Check a change before merging it](how-to/check-before-merging.md) · [Run a test agent](how-to/run-a-test-agent.md) · [Run the end-to-end scenarios (v0.1)](how-to/run-the-end-to-end-scenarios.md) · [Set the version](how-to/set-the-version.md) · [Publish a release](how-to/publish-a-release.md) · [Sign and notarize for macOS](how-to/sign-and-notarize-on-macos.md) · [Test issue #52 on macOS](how-to/test-issue-52-on-macos.md) · [Test issues #49 and #50 on macOS](how-to/test-issues-49-and-50-on-macos.md) · [Test issue #47 on macOS](how-to/test-issue-47-on-macos.md) · [Test milestone M4 on macOS](how-to/test-milestone-m4-on-macos.md) · [Test milestone M3 on macOS](how-to/test-milestone-m3-on-macos.md) · [Test milestone M2 on macOS](how-to/test-milestone-m2-on-macos.md) · [Test milestone M1 on macOS](how-to/test-milestone-m1-on-macos.md) · [Test milestone Initialize on macOS](how-to/test-milestone-initialize-on-macos.md) | | |
| 11 | 11 | | **look up** an exact detail | Reference | [The configuration file](reference/configuration.md) · [Keyboard shortcuts](reference/keyboard-shortcuts.md) · [Agents, channels and events](reference/agents-and-events.md) · [Commands](reference/commands.md) · [scripts/agents.sh](reference/agents-script.md) | |
| 12 | 12 | | **understand** why | Explanation | [Workspaces and terminals](explanation/workspaces-and-terminals.md) · [Channels and what each agent knows](explanation/channels-and-context.md) · [Permissions and trust](explanation/permissions.md) · [Why ACP](explanation/why-acp.md) · [The interface stack](explanation/ui-stack.md) · [Architecture](explanation/architecture.md) · [Memory and local models](explanation/memory-and-local-models.md) | |
| 13 | 13 | |
| @@ -7,7 +7,7 @@ This documentation follows [Diátaxis](https://diataxis.fr): pick the section th | |||
| 7 | | You want to… | Section | Pages | | 7 | | You want to… | Section | Pages | |
| 8 | | --- | --- | --- | | 8 | | --- | --- | --- | |
| 9 | | **learn** by doing | Tutorials | [Your first agent, without writing any configuration](tutorials/your-first-agent.md) · [A channel with two agents](tutorials/first-channel.md) · [Your first conversation with an agent](tutorials/first-conversation.md) · [Your first launch of Sidekicks](tutorials/first-launch.md) · [Your first ACP exchange with a test agent](tutorials/first-acp-exchange.md) | | 9 | | **learn** by doing | Tutorials | [Your first agent, without writing any configuration](tutorials/your-first-agent.md) · [A channel with two agents](tutorials/first-channel.md) · [Your first conversation with an agent](tutorials/first-conversation.md) · [Your first launch of Sidekicks](tutorials/first-launch.md) · [Your first ACP exchange with a test agent](tutorials/first-acp-exchange.md) | |
| 10 | -| **do** a specific task | How-to guides | [Install Sidekicks](how-to/install-sidekicks.md) · [Create a mini-me agent](how-to/create-a-mini-me-agent.md) · [Create a Claude, Gemini, Codex, Vibe or Copilot agent in a sandbox](how-to/create-an-agent-in-a-sandbox.md) · [Add an agent](how-to/add-an-agent.md) · [Work with an agent's files and terminal](how-to/work-with-an-agents-files.md) · [Run an agent in a Docker container](how-to/run-an-agent-in-docker.md) · [Run an agent in an sbx sandbox](how-to/run-an-agent-in-a-sandbox.md) · [Add a Claude agent in an sbx sandbox](how-to/add-a-claude-agent-in-a-sandbox.md) · [Add a Codex agent in an sbx sandbox](how-to/add-a-codex-agent-in-a-sandbox.md) · [Add a Gemini agent in an sbx sandbox](how-to/add-a-gemini-agent-in-a-sandbox.md) · [Join files to a message](how-to/join-files-to-a-message.md) · [Manage channels and their agents](how-to/manage-channels.md) · [Edit or switch the configuration](how-to/edit-or-switch-the-configuration.md) · [Reset Sidekicks](how-to/reset-sidekicks.md) · [Watch the memory pressure](how-to/watch-the-memory-pressure.md) · [Let an agent use Sidekicks' tools](how-to/use-sidekicks-tools-from-an-agent.md) · [Develop the application](how-to/develop-the-application.md) · [Run the tests](how-to/run-the-tests.md) · [Check a change before merging it](how-to/check-before-merging.md) · [Run a test agent](how-to/run-a-test-agent.md) · [Run the end-to-end scenarios (v0.1)](how-to/run-the-end-to-end-scenarios.md) · [Set the version](how-to/set-the-version.md) · [Publish a release](how-to/publish-a-release.md) · [Sign and notarize for macOS](how-to/sign-and-notarize-on-macos.md) · [Test issue #52 on macOS](how-to/test-issue-52-on-macos.md) · [Test issues #49 and #50 on macOS](how-to/test-issues-49-and-50-on-macos.md) · [Test issue #47 on macOS](how-to/test-issue-47-on-macos.md) · [Test milestone M4 on macOS](how-to/test-milestone-m4-on-macos.md) · [Test milestone M3 on macOS](how-to/test-milestone-m3-on-macos.md) · [Test milestone M2 on macOS](how-to/test-milestone-m2-on-macos.md) · [Test milestone M1 on macOS](how-to/test-milestone-m1-on-macos.md) · [Test milestone Initialize on macOS](how-to/test-milestone-initialize-on-macos.md) | | 10 | +| **do** a specific task | How-to guides | [Install Sidekicks](how-to/install-sidekicks.md) · [Create a mini-me agent](how-to/create-a-mini-me-agent.md) · [Create a Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox](how-to/create-an-agent-in-a-sandbox.md) · [Add an agent](how-to/add-an-agent.md) · [Work with an agent's files and terminal](how-to/work-with-an-agents-files.md) · [Run an agent in a Docker container](how-to/run-an-agent-in-docker.md) · [Run an agent in an sbx sandbox](how-to/run-an-agent-in-a-sandbox.md) · [Add a Claude agent in an sbx sandbox](how-to/add-a-claude-agent-in-a-sandbox.md) · [Add a Codex agent in an sbx sandbox](how-to/add-a-codex-agent-in-a-sandbox.md) · [Add a Gemini agent in an sbx sandbox](how-to/add-a-gemini-agent-in-a-sandbox.md) · [Join files to a message](how-to/join-files-to-a-message.md) · [Manage channels and their agents](how-to/manage-channels.md) · [Edit or switch the configuration](how-to/edit-or-switch-the-configuration.md) · [Reset Sidekicks](how-to/reset-sidekicks.md) · [Watch the memory pressure](how-to/watch-the-memory-pressure.md) · [Let an agent use Sidekicks' tools](how-to/use-sidekicks-tools-from-an-agent.md) · [Develop the application](how-to/develop-the-application.md) · [Add a kind of agent to the sandbox assistant](how-to/add-a-kind-to-the-sandbox-assistant.md) · [Run the tests](how-to/run-the-tests.md) · [Check a change before merging it](how-to/check-before-merging.md) · [Run a test agent](how-to/run-a-test-agent.md) · [Run the end-to-end scenarios (v0.1)](how-to/run-the-end-to-end-scenarios.md) · [Set the version](how-to/set-the-version.md) · [Publish a release](how-to/publish-a-release.md) · [Sign and notarize for macOS](how-to/sign-and-notarize-on-macos.md) · [Test issue #52 on macOS](how-to/test-issue-52-on-macos.md) · [Test issues #49 and #50 on macOS](how-to/test-issues-49-and-50-on-macos.md) · [Test issue #47 on macOS](how-to/test-issue-47-on-macos.md) · [Test milestone M4 on macOS](how-to/test-milestone-m4-on-macos.md) · [Test milestone M3 on macOS](how-to/test-milestone-m3-on-macos.md) · [Test milestone M2 on macOS](how-to/test-milestone-m2-on-macos.md) · [Test milestone M1 on macOS](how-to/test-milestone-m1-on-macos.md) · [Test milestone Initialize on macOS](how-to/test-milestone-initialize-on-macos.md) | |
| 11 | | **look up** an exact detail | Reference | [The configuration file](reference/configuration.md) · [Keyboard shortcuts](reference/keyboard-shortcuts.md) · [Agents, channels and events](reference/agents-and-events.md) · [Commands](reference/commands.md) · [scripts/agents.sh](reference/agents-script.md) | | 11 | | **look up** an exact detail | Reference | [The configuration file](reference/configuration.md) · [Keyboard shortcuts](reference/keyboard-shortcuts.md) · [Agents, channels and events](reference/agents-and-events.md) · [Commands](reference/commands.md) · [scripts/agents.sh](reference/agents-script.md) | |
| 12 | | **understand** why | Explanation | [Workspaces and terminals](explanation/workspaces-and-terminals.md) · [Channels and what each agent knows](explanation/channels-and-context.md) · [Permissions and trust](explanation/permissions.md) · [Why ACP](explanation/why-acp.md) · [The interface stack](explanation/ui-stack.md) · [Architecture](explanation/architecture.md) · [Memory and local models](explanation/memory-and-local-models.md) | | 12 | | **understand** why | Explanation | [Workspaces and terminals](explanation/workspaces-and-terminals.md) · [Channels and what each agent knows](explanation/channels-and-context.md) · [Permissions and trust](explanation/permissions.md) · [Why ACP](explanation/why-acp.md) · [The interface stack](explanation/ui-stack.md) · [Architecture](explanation/architecture.md) · [Memory and local models](explanation/memory-and-local-models.md) | |
| 13 | 13 | ||
added
docs/en/how-to/add-a-kind-to-the-sandbox-assistant.md +46 -0 | new file mode 100644 | ||
| @@ -0,0 +1,46 @@ | ||
| 1 | +# How to add a kind of agent to the sandbox assistant | |
| 2 | + | |
| 3 | +This guide is for developers of Sidekicks. It shows how to add a kind of agent — Claude, Antigravity, Codex, Vibe, Copilot… — to the assistant that creates an agent in a Docker Sandbox ([How to create a Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox](create-an-agent-in-a-sandbox.md)), and where the `sbxenv.yaml` it writes comes from. It assumes the development setup of [How to develop the application](develop-the-application.md), and that you know the agent's sbx kit, its ACP program and the sbx secret service of its key. | |
| 4 | + | |
| 5 | +## Where the `sbxenv.yaml` comes from | |
| 6 | + | |
| 7 | +There is **no template file**. The assistant writes each agent's `sbxenv.yaml` from Go, in `internal/sbxcreate/sbxcreate.go`: | |
| 8 | + | |
| 9 | +| What | Where | Holds | | |
| 10 | +| --- | --- | --- | | |
| 11 | +| `Catalogue` | `internal/sbxcreate/sbxcreate.go` | One `Kind` per kind of agent, in the order the assistant shows them: its id, title, default icon, sbx `agent:`, kit, ACP program, secret service and its domains (`Bindings`), and what its key step offers (`Token`, `FromGH`, `SignIn`, `OAuth`). | | |
| 12 | +| `Render(kind, name)` | same file | The text of the `sbxenv.yaml`: the sandbox's name, `agent:`, `workspace: ./workspace`, `kits:`, `bindings:` (the kind's service, then `Shared` ones), `pullPolicy: always`, with English comments. The same for every kind: only the catalogue entry changes. | | |
| 13 | +| `Write(folder, kind, name)` | same file | Creates `<agentsFolder>/<name>/` with that `sbxenv.yaml` and an empty `workspace/`. | | |
| 14 | + | |
| 15 | +The `sbxenv.yaml` files of `agents/` and `citizens/` in the repository are test agents and examples: Sidekicks does not read them to create agents. | |
| 16 | + | |
| 17 | +## Steps | |
| 18 | + | |
| 19 | +1. Add an entry to `Catalogue` in `internal/sbxcreate/sbxcreate.go`, with a comment that says where the kit and the program come from: | |
| 20 | + | |
| 21 | + ```go | |
| 22 | + { | |
| 23 | + ID: "vibe", Title: "Vibe", Icon: "logo:mistral", | |
| 24 | + Agent: "vibe", Kit: "docker.io/sbx/vibe-kit:latest", Program: "vibe-acp", | |
| 25 | + Service: "mistral", KeyURL: "https://console.mistral.ai/api-keys", | |
| 26 | + Bindings: Binding{APIKey: []string{"api.mistral.ai"}}, | |
| 27 | + }, | |
| 28 | + ``` | |
| 29 | + | |
| 30 | + `ID` is also the name suggested for the agent: lowercase letters, digits and `-`. `Program` is the program, then its arguments, on one line (`agy acp`). | |
| 31 | +2. Give it its line in the assistant, in English and in French, in `frontend/src/lib/i18n/messages.ts`: `'sbxCreator.kind.<id>'` (what it is, under its title), and the kind in the lists `welcome.createSbxFirst` and `action.createSbxAgent`. | |
| 32 | +3. If its key step is not a plain API key, set the field that fits: | |
| 33 | + - `Token: true` — a token of the user's account (Copilot); | |
| 34 | + - `FromGH: true` — that token can come from `gh auth token`; | |
| 35 | + - `Shared` — more sbx services that get the same secret, each with its domains; | |
| 36 | + - `SignIn: "<program>"` — the user can sign in with `/login` in that program, in the agent's terminal (Claude); | |
| 37 | + - `OAuth: true` — `sbx secret set <service> --oauth` signs in with an account (Codex). | |
| 38 | +4. For a logo, add it to `frontend/src/lib/logos.ts` (one SVG path in a 24×24 view box, its colour, its source and licence in the comment at the top) and its name to `LogoNames` in `internal/config/config.go`, in the same order: a Go test compares both lists. Then `logo:<name>` in the schema's description of `icon` (`schema/config.schema.json`). | |
| 39 | +5. So that the "Add an agent" assistant recognises a sandbox of that agent, map its `agent:` to its program in `programOfSandbox` (`frontend/src/lib/agentform.ts`). | |
| 40 | +6. Update the tests that list the catalogue (`internal/sbxcreate/sbxcreate_test.go`), run `make bindings` if a field of `Kind` changed, then `make verify`. | |
| 41 | +7. Document it: the catalogue table of [`SbxCreatorService`](../reference/agents-and-events.md#sbxcreatorservice), the guide [How to create a … agent in a sandbox](create-an-agent-in-a-sandbox.md), both in English and in French, and the release notes. | |
| 42 | + | |
| 43 | +## See also | |
| 44 | + | |
| 45 | +- [`SbxCreatorService`](../reference/agents-and-events.md#sbxcreatorservice) — the catalogue table and the service's methods. | |
| 46 | +- [How to run an agent in an sbx sandbox](run-an-agent-in-a-sandbox.md) — what an `sbxenv.yaml` is. | |
| new file mode 100644 | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | +# How to add a kind of agent to the sandbox assistant | ||
| 2 | + | ||
| 3 | +This guide is for developers of Sidekicks. It shows how to add a kind of agent — Claude, Antigravity, Codex, Vibe, Copilot… — to the assistant that creates an agent in a Docker Sandbox ([How to create a Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox](create-an-agent-in-a-sandbox.md)), and where the `sbxenv.yaml` it writes comes from. It assumes the development setup of [How to develop the application](develop-the-application.md), and that you know the agent's sbx kit, its ACP program and the sbx secret service of its key. | ||
| 4 | + | ||
| 5 | +## Where the `sbxenv.yaml` comes from | ||
| 6 | + | ||
| 7 | +There is **no template file**. The assistant writes each agent's `sbxenv.yaml` from Go, in `internal/sbxcreate/sbxcreate.go`: | ||
| 8 | + | ||
| 9 | +| What | Where | Holds | | ||
| 10 | +| --- | --- | --- | | ||
| 11 | +| `Catalogue` | `internal/sbxcreate/sbxcreate.go` | One `Kind` per kind of agent, in the order the assistant shows them: its id, title, default icon, sbx `agent:`, kit, ACP program, secret service and its domains (`Bindings`), and what its key step offers (`Token`, `FromGH`, `SignIn`, `OAuth`). | | ||
| 12 | +| `Render(kind, name)` | same file | The text of the `sbxenv.yaml`: the sandbox's name, `agent:`, `workspace: ./workspace`, `kits:`, `bindings:` (the kind's service, then `Shared` ones), `pullPolicy: always`, with English comments. The same for every kind: only the catalogue entry changes. | | ||
| 13 | +| `Write(folder, kind, name)` | same file | Creates `<agentsFolder>/<name>/` with that `sbxenv.yaml` and an empty `workspace/`. | | ||
| 14 | + | ||
| 15 | +The `sbxenv.yaml` files of `agents/` and `citizens/` in the repository are test agents and examples: Sidekicks does not read them to create agents. | ||
| 16 | + | ||
| 17 | +## Steps | ||
| 18 | + | ||
| 19 | +1. Add an entry to `Catalogue` in `internal/sbxcreate/sbxcreate.go`, with a comment that says where the kit and the program come from: | ||
| 20 | + | ||
| 21 | + ```go | ||
| 22 | + { | ||
| 23 | + ID: "vibe", Title: "Vibe", Icon: "logo:mistral", | ||
| 24 | + Agent: "vibe", Kit: "docker.io/sbx/vibe-kit:latest", Program: "vibe-acp", | ||
| 25 | + Service: "mistral", KeyURL: "https://console.mistral.ai/api-keys", | ||
| 26 | + Bindings: Binding{APIKey: []string{"api.mistral.ai"}}, | ||
| 27 | + }, | ||
| 28 | + ``` | ||
| 29 | + | ||
| 30 | + `ID` is also the name suggested for the agent: lowercase letters, digits and `-`. `Program` is the program, then its arguments, on one line (`agy acp`). | ||
| 31 | +2. Give it its line in the assistant, in English and in French, in `frontend/src/lib/i18n/messages.ts`: `'sbxCreator.kind.<id>'` (what it is, under its title), and the kind in the lists `welcome.createSbxFirst` and `action.createSbxAgent`. | ||
| 32 | +3. If its key step is not a plain API key, set the field that fits: | ||
| 33 | + - `Token: true` — a token of the user's account (Copilot); | ||
| 34 | + - `FromGH: true` — that token can come from `gh auth token`; | ||
| 35 | + - `Shared` — more sbx services that get the same secret, each with its domains; | ||
| 36 | + - `SignIn: "<program>"` — the user can sign in with `/login` in that program, in the agent's terminal (Claude); | ||
| 37 | + - `OAuth: true` — `sbx secret set <service> --oauth` signs in with an account (Codex). | ||
| 38 | +4. For a logo, add it to `frontend/src/lib/logos.ts` (one SVG path in a 24×24 view box, its colour, its source and licence in the comment at the top) and its name to `LogoNames` in `internal/config/config.go`, in the same order: a Go test compares both lists. Then `logo:<name>` in the schema's description of `icon` (`schema/config.schema.json`). | ||
| 39 | +5. So that the "Add an agent" assistant recognises a sandbox of that agent, map its `agent:` to its program in `programOfSandbox` (`frontend/src/lib/agentform.ts`). | ||
| 40 | +6. Update the tests that list the catalogue (`internal/sbxcreate/sbxcreate_test.go`), run `make bindings` if a field of `Kind` changed, then `make verify`. | ||
| 41 | +7. Document it: the catalogue table of [`SbxCreatorService`](../reference/agents-and-events.md#sbxcreatorservice), the guide [How to create a … agent in a sandbox](create-an-agent-in-a-sandbox.md), both in English and in French, and the release notes. | ||
| 42 | + | ||
| 43 | +## See also | ||
| 44 | + | ||
| 45 | +- [`SbxCreatorService`](../reference/agents-and-events.md#sbxcreatorservice) — the catalogue table and the service's methods. | ||
| 46 | +- [How to run an agent in an sbx sandbox](run-an-agent-in-a-sandbox.md) — what an `sbxenv.yaml` is. | ||
modified
docs/en/how-to/add-an-agent.md +1 -1 | @@ -25,7 +25,7 @@ When the agent cannot be added (a name already used, for instance), the assistan | ||
| 25 | 25 | ## See also |
| 26 | 26 | |
| 27 | 27 | - To create a new mini-me agent by answering questions, with no file and no folder to choose: [How to create a mini-me agent](create-a-mini-me-agent.md) |
| 28 | -- To create a new Claude, Gemini, Codex, Vibe or Copilot agent in a sandbox the same way: [How to create a Claude, Gemini, Codex, Vibe or Copilot agent in a sandbox](create-an-agent-in-a-sandbox.md) | |
| 28 | +- To create a new Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox the same way: [How to create a Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox](create-an-agent-in-a-sandbox.md) | |
| 29 | 29 | - What the assistant writes: [The configuration file](../reference/configuration.md) |
| 30 | 30 | - [How to edit or switch the configuration](edit-or-switch-the-configuration.md) |
| 31 | 31 | - [Tutorial: your first agent, without writing any configuration](../tutorials/your-first-agent.md) |
| @@ -25,7 +25,7 @@ When the agent cannot be added (a name already used, for instance), the assistan | |||
| 25 | ## See also | 25 | ## See also |
| 26 | 26 | ||
| 27 | - To create a new mini-me agent by answering questions, with no file and no folder to choose: [How to create a mini-me agent](create-a-mini-me-agent.md) | 27 | - To create a new mini-me agent by answering questions, with no file and no folder to choose: [How to create a mini-me agent](create-a-mini-me-agent.md) |
| 28 | -- To create a new Claude, Gemini, Codex, Vibe or Copilot agent in a sandbox the same way: [How to create a Claude, Gemini, Codex, Vibe or Copilot agent in a sandbox](create-an-agent-in-a-sandbox.md) | 28 | +- To create a new Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox the same way: [How to create a Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox](create-an-agent-in-a-sandbox.md) |
| 29 | - What the assistant writes: [The configuration file](../reference/configuration.md) | 29 | - What the assistant writes: [The configuration file](../reference/configuration.md) |
| 30 | - [How to edit or switch the configuration](edit-or-switch-the-configuration.md) | 30 | - [How to edit or switch the configuration](edit-or-switch-the-configuration.md) |
| 31 | - [Tutorial: your first agent, without writing any configuration](../tutorials/your-first-agent.md) | 31 | - [Tutorial: your first agent, without writing any configuration](../tutorials/your-first-agent.md) |
modified
docs/en/how-to/create-an-agent-in-a-sandbox.md +5 -5 | @@ -1,11 +1,11 @@ | ||
| 1 | -# How to create a Claude, Gemini, Codex, Vibe or Copilot agent in a sandbox | |
| 1 | +# How to create a Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox | |
| 2 | 2 | |
| 3 | -This guide shows how to create a new Claude, Gemini, Codex, Vibe or Copilot agent that runs in a Docker Sandbox, from the Sidekicks window, without writing a file or choosing a folder. It assumes [sbx](https://docs.docker.com/ai/sandboxes/) (Docker Sandboxes) is installed, and that you have an API key of the agent's company — or will get one during the steps (for Copilot: a GitHub account with a Copilot subscription). To add a sandbox that already exists, use [How to add an agent](add-an-agent.md) instead. | |
| 3 | +This guide shows how to create a new Claude, Antigravity, Codex, Vibe or Copilot agent that runs in a Docker Sandbox, from the Sidekicks window, without writing a file or choosing a folder. It assumes [sbx](https://docs.docker.com/ai/sandboxes/) (Docker Sandboxes) is installed, and that you have an API key of the agent's company — or will get one during the steps (for Copilot: a GitHub account with a Copilot subscription). To add a sandbox that already exists, use [How to add an agent](add-an-agent.md) instead. | |
| 4 | 4 | |
| 5 | 5 | ## Steps |
| 6 | 6 | |
| 7 | -1. Open the assistant: **✨ Create a Claude, Gemini, Codex, Vibe or Copilot agent** on the welcome screen, **✨ Create an agent in a sandbox** under the agents list, or **Create an agent in a sandbox** in the command palette (⌘K, Ctrl+K on Linux and Windows). | |
| 8 | -2. Choose the agent: **Claude** (Anthropic's Claude Code), **Gemini** (Google's, through Antigravity), **Codex** (OpenAI's), **Vibe** (Mistral AI's) or **Copilot** (GitHub's Copilot CLI). | |
| 7 | +1. Open the assistant: **✨ Create a Claude, Antigravity, Codex, Vibe or Copilot agent** on the welcome screen, **✨ Create an agent in a sandbox** under the agents list, or **Create an agent in a sandbox** in the command palette (⌘K, Ctrl+K on Linux and Windows). | |
| 8 | +2. Choose the agent: **Claude** (Anthropic's Claude Code), **Antigravity** (Google Antigravity, with the Gemini models), **Codex** (OpenAI's), **Vibe** (Mistral AI's) or **Copilot** (GitHub's Copilot CLI). | |
| 9 | 9 | 3. If sbx does not hold its key yet, paste it in **API key** and click **Save the key**. **Get a key…** opens the page where the company gives you one. Sidekicks hands the key to sbx, which keeps it and gives it to your sandboxes for their calls to that company only; it is never written in a file. A key already saved is shown as **✓ Your … key is stored in sbx**. |
| 10 | 10 | For **Copilot**, it is not an API key but a **GitHub token** allowed to use Copilot, and your GitHub account needs a Copilot subscription. If the GitHub CLI (`gh`) is installed, the simplest is **Use my GitHub account**: Sidekicks takes its token (`gh auth token`) without showing it. When `gh` is not signed in yet, **Sign in to GitHub** shows a code and **Open the sign-in page**: check the code on the page, confirm, and the assistant goes on by itself. Without `gh`, **Create a token on GitHub…** opens the page of a fine-grained token: give it the **Copilot Requests** permission, paste it in **GitHub token** and click **Save the token**. sbx stores it twice — `copilot`, for the sandbox's calls to Copilot, and `github`, for `git` and `gh` in the sandbox: the agent can then work on your GitHub repositories with your account. |
| 11 | 11 | For **Codex**, you can use your **ChatGPT account** instead of an API key: **Sign in with my ChatGPT account** runs `sbx secret set openai --oauth`, which opens your browser; sign in there, and the assistant goes on by itself once sbx has kept the sign-in (in your keychain: the sandbox never sees it). You can also click **Later**: see below. |
| @@ -19,7 +19,7 @@ The agent's folder is created in the **Sidekicks-Agents** folder of your Documen | ||
| 19 | 19 | - **"sbx (Docker Sandboxes) is not installed on this computer"**: install sbx, then click **Try again**. |
| 20 | 20 | - **"sbx needs you to be signed in to Docker"**: click **Sign in to Docker**. Sidekicks shows a code: click **Open the sign-in page**, check that the page shows the same code, confirm and sign in with your Docker account (a free one is enough). The assistant goes on by itself once you are signed in. The same button appears under the error of an sbx agent that cannot start. If it does not work, type `sbx login` in a terminal once. |
| 21 | 21 | - **"Another agent already has this name"**, **"A folder with this name already exists"** or **"A sandbox with this name already exists"**: change the **Name** and click **Add the agent** again. An existing folder or sandbox is never changed. |
| 22 | -- **"No … key in sbx yet"** (after **Later**): the agent cannot answer. Run the assistant again to save the key, or type `sbx secret set anthropic` (`google` for Gemini, `openai` for Codex, `mistral` for Vibe, `copilot` and `github` for Copilot — for example `sbx secret set copilot --command 'gh auth token'` then the same with `github`) in a terminal. | |
| 22 | +- **"No … key in sbx yet"** (after **Later**): the agent cannot answer. Run the assistant again to save the key, or type `sbx secret set anthropic` (`google` for Antigravity, `openai` for Codex, `mistral` for Vibe, `copilot` and `github` for Copilot — for example `sbx secret set copilot --command 'gh auth token'` then the same with `github`) in a terminal. | |
| 23 | 23 | - **Claude without an API key** (issues #105 and #106): click **Later** and sign in with your Claude account instead. The assistant says so. At the first answer, Claude ends with "The agent is not signed in": Sidekicks opens the agent's **Terminal**, runs `claude` in its sandbox and tells you what to do — type `/login`, choose your account and follow the steps (copy the link into your browser if asked). Then click **I am signed in: restart the agent**: you are back in the conversation; send your message again. If you closed that terminal, **Sign in in its terminal** under the error opens it again. |
| 24 | 24 | - **Codex without a key nor a ChatGPT sign-in** (issue #107): when its sandbox is created, sbx asks whether to sign in to OpenAI on the web. Sidekicks cannot answer that question, so the agent stops with "sbx asks to sign in to OpenAI…" and a **Sign in with my ChatGPT account** button — in the conversation and in the Agents panel. Sign in in your browser: the agent starts again by itself. |
| 25 | 25 | |
| @@ -1,11 +1,11 @@ | |||
| 1 | -# How to create a Claude, Gemini, Codex, Vibe or Copilot agent in a sandbox | 1 | +# How to create a Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox |
| 2 | 2 | ||
| 3 | -This guide shows how to create a new Claude, Gemini, Codex, Vibe or Copilot agent that runs in a Docker Sandbox, from the Sidekicks window, without writing a file or choosing a folder. It assumes [sbx](https://docs.docker.com/ai/sandboxes/) (Docker Sandboxes) is installed, and that you have an API key of the agent's company — or will get one during the steps (for Copilot: a GitHub account with a Copilot subscription). To add a sandbox that already exists, use [How to add an agent](add-an-agent.md) instead. | 3 | +This guide shows how to create a new Claude, Antigravity, Codex, Vibe or Copilot agent that runs in a Docker Sandbox, from the Sidekicks window, without writing a file or choosing a folder. It assumes [sbx](https://docs.docker.com/ai/sandboxes/) (Docker Sandboxes) is installed, and that you have an API key of the agent's company — or will get one during the steps (for Copilot: a GitHub account with a Copilot subscription). To add a sandbox that already exists, use [How to add an agent](add-an-agent.md) instead. |
| 4 | 4 | ||
| 5 | ## Steps | 5 | ## Steps |
| 6 | 6 | ||
| 7 | -1. Open the assistant: **✨ Create a Claude, Gemini, Codex, Vibe or Copilot agent** on the welcome screen, **✨ Create an agent in a sandbox** under the agents list, or **Create an agent in a sandbox** in the command palette (⌘K, Ctrl+K on Linux and Windows). | 7 | +1. Open the assistant: **✨ Create a Claude, Antigravity, Codex, Vibe or Copilot agent** on the welcome screen, **✨ Create an agent in a sandbox** under the agents list, or **Create an agent in a sandbox** in the command palette (⌘K, Ctrl+K on Linux and Windows). |
| 8 | -2. Choose the agent: **Claude** (Anthropic's Claude Code), **Gemini** (Google's, through Antigravity), **Codex** (OpenAI's), **Vibe** (Mistral AI's) or **Copilot** (GitHub's Copilot CLI). | 8 | +2. Choose the agent: **Claude** (Anthropic's Claude Code), **Antigravity** (Google Antigravity, with the Gemini models), **Codex** (OpenAI's), **Vibe** (Mistral AI's) or **Copilot** (GitHub's Copilot CLI). |
| 9 | 3. If sbx does not hold its key yet, paste it in **API key** and click **Save the key**. **Get a key…** opens the page where the company gives you one. Sidekicks hands the key to sbx, which keeps it and gives it to your sandboxes for their calls to that company only; it is never written in a file. A key already saved is shown as **✓ Your … key is stored in sbx**. | 9 | 3. If sbx does not hold its key yet, paste it in **API key** and click **Save the key**. **Get a key…** opens the page where the company gives you one. Sidekicks hands the key to sbx, which keeps it and gives it to your sandboxes for their calls to that company only; it is never written in a file. A key already saved is shown as **✓ Your … key is stored in sbx**. |
| 10 | For **Copilot**, it is not an API key but a **GitHub token** allowed to use Copilot, and your GitHub account needs a Copilot subscription. If the GitHub CLI (`gh`) is installed, the simplest is **Use my GitHub account**: Sidekicks takes its token (`gh auth token`) without showing it. When `gh` is not signed in yet, **Sign in to GitHub** shows a code and **Open the sign-in page**: check the code on the page, confirm, and the assistant goes on by itself. Without `gh`, **Create a token on GitHub…** opens the page of a fine-grained token: give it the **Copilot Requests** permission, paste it in **GitHub token** and click **Save the token**. sbx stores it twice — `copilot`, for the sandbox's calls to Copilot, and `github`, for `git` and `gh` in the sandbox: the agent can then work on your GitHub repositories with your account. | 10 | For **Copilot**, it is not an API key but a **GitHub token** allowed to use Copilot, and your GitHub account needs a Copilot subscription. If the GitHub CLI (`gh`) is installed, the simplest is **Use my GitHub account**: Sidekicks takes its token (`gh auth token`) without showing it. When `gh` is not signed in yet, **Sign in to GitHub** shows a code and **Open the sign-in page**: check the code on the page, confirm, and the assistant goes on by itself. Without `gh`, **Create a token on GitHub…** opens the page of a fine-grained token: give it the **Copilot Requests** permission, paste it in **GitHub token** and click **Save the token**. sbx stores it twice — `copilot`, for the sandbox's calls to Copilot, and `github`, for `git` and `gh` in the sandbox: the agent can then work on your GitHub repositories with your account. |
| 11 | For **Codex**, you can use your **ChatGPT account** instead of an API key: **Sign in with my ChatGPT account** runs `sbx secret set openai --oauth`, which opens your browser; sign in there, and the assistant goes on by itself once sbx has kept the sign-in (in your keychain: the sandbox never sees it). You can also click **Later**: see below. | 11 | For **Codex**, you can use your **ChatGPT account** instead of an API key: **Sign in with my ChatGPT account** runs `sbx secret set openai --oauth`, which opens your browser; sign in there, and the assistant goes on by itself once sbx has kept the sign-in (in your keychain: the sandbox never sees it). You can also click **Later**: see below. |
| @@ -19,7 +19,7 @@ The agent's folder is created in the **Sidekicks-Agents** folder of your Documen | |||
| 19 | - **"sbx (Docker Sandboxes) is not installed on this computer"**: install sbx, then click **Try again**. | 19 | - **"sbx (Docker Sandboxes) is not installed on this computer"**: install sbx, then click **Try again**. |
| 20 | - **"sbx needs you to be signed in to Docker"**: click **Sign in to Docker**. Sidekicks shows a code: click **Open the sign-in page**, check that the page shows the same code, confirm and sign in with your Docker account (a free one is enough). The assistant goes on by itself once you are signed in. The same button appears under the error of an sbx agent that cannot start. If it does not work, type `sbx login` in a terminal once. | 20 | - **"sbx needs you to be signed in to Docker"**: click **Sign in to Docker**. Sidekicks shows a code: click **Open the sign-in page**, check that the page shows the same code, confirm and sign in with your Docker account (a free one is enough). The assistant goes on by itself once you are signed in. The same button appears under the error of an sbx agent that cannot start. If it does not work, type `sbx login` in a terminal once. |
| 21 | - **"Another agent already has this name"**, **"A folder with this name already exists"** or **"A sandbox with this name already exists"**: change the **Name** and click **Add the agent** again. An existing folder or sandbox is never changed. | 21 | - **"Another agent already has this name"**, **"A folder with this name already exists"** or **"A sandbox with this name already exists"**: change the **Name** and click **Add the agent** again. An existing folder or sandbox is never changed. |
| 22 | -- **"No … key in sbx yet"** (after **Later**): the agent cannot answer. Run the assistant again to save the key, or type `sbx secret set anthropic` (`google` for Gemini, `openai` for Codex, `mistral` for Vibe, `copilot` and `github` for Copilot — for example `sbx secret set copilot --command 'gh auth token'` then the same with `github`) in a terminal. | 22 | +- **"No … key in sbx yet"** (after **Later**): the agent cannot answer. Run the assistant again to save the key, or type `sbx secret set anthropic` (`google` for Antigravity, `openai` for Codex, `mistral` for Vibe, `copilot` and `github` for Copilot — for example `sbx secret set copilot --command 'gh auth token'` then the same with `github`) in a terminal. |
| 23 | - **Claude without an API key** (issues #105 and #106): click **Later** and sign in with your Claude account instead. The assistant says so. At the first answer, Claude ends with "The agent is not signed in": Sidekicks opens the agent's **Terminal**, runs `claude` in its sandbox and tells you what to do — type `/login`, choose your account and follow the steps (copy the link into your browser if asked). Then click **I am signed in: restart the agent**: you are back in the conversation; send your message again. If you closed that terminal, **Sign in in its terminal** under the error opens it again. | 23 | - **Claude without an API key** (issues #105 and #106): click **Later** and sign in with your Claude account instead. The assistant says so. At the first answer, Claude ends with "The agent is not signed in": Sidekicks opens the agent's **Terminal**, runs `claude` in its sandbox and tells you what to do — type `/login`, choose your account and follow the steps (copy the link into your browser if asked). Then click **I am signed in: restart the agent**: you are back in the conversation; send your message again. If you closed that terminal, **Sign in in its terminal** under the error opens it again. |
| 24 | - **Codex without a key nor a ChatGPT sign-in** (issue #107): when its sandbox is created, sbx asks whether to sign in to OpenAI on the web. Sidekicks cannot answer that question, so the agent stops with "sbx asks to sign in to OpenAI…" and a **Sign in with my ChatGPT account** button — in the conversation and in the Agents panel. Sign in in your browser: the agent starts again by itself. | 24 | - **Codex without a key nor a ChatGPT sign-in** (issue #107): when its sandbox is created, sbx asks whether to sign in to OpenAI on the web. Sidekicks cannot answer that question, so the agent stops with "sbx asks to sign in to OpenAI…" and a **Sign in with my ChatGPT account** button — in the conversation and in the Agents panel. Sign in in your browser: the agent starts again by itself. |
| 25 | 25 | ||
modified
docs/en/reference/agents-and-events.md +2 -2 | @@ -255,12 +255,12 @@ A `view` is `{messages[], form, written, name, title}`: mm's messages since the | ||
| 255 | 255 | |
| 256 | 256 | ## `SbxCreatorService` |
| 257 | 257 | |
| 258 | -The assistant that creates an agent in a Docker Sandbox (issue #96, [How to create a Claude, Gemini, Codex, Vibe or Copilot agent in a sandbox](../how-to/create-an-agent-in-a-sandbox.md)). The kinds it offers are a catalogue (`internal/sbxcreate`): one entry per kind, with what its `sbxenv.yaml` holds, how Sidekicks starts it, and its default icon: its brand's logo (issue #100). | |
| 258 | +The assistant that creates an agent in a Docker Sandbox (issue #96, [How to create a Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox](../how-to/create-an-agent-in-a-sandbox.md)). The kinds it offers are a catalogue (`internal/sbxcreate`; there is no template file — [How to add a kind of agent to the sandbox assistant](../how-to/add-a-kind-to-the-sandbox-assistant.md)): one entry per kind, with what its `sbxenv.yaml` holds, how Sidekicks starts it, and its default icon: its brand's logo (issue #100). | |
| 259 | 259 | |
| 260 | 260 | | Kind | `agent:` | Kit | Program in the sandbox | sbx secret | |
| 261 | 261 | | --- | --- | --- | --- | --- | |
| 262 | 262 | | `claude` (`logo:claude`) | `claude` | `docker.io/sbx/claude-acp:latest` | `claude-agent-acp` | `anthropic` | |
| 263 | -| `gemini` (`logo:gemini`) | `antigravity` | `docker.io/sbx/antigravity:latest` | `agy acp` | `google` | | |
| 263 | +| `antigravity` (`logo:antigravity`) | `antigravity` | `docker.io/sbx/antigravity:latest` | `agy acp` | `google` | | |
| 264 | 264 | | `codex` (`logo:openai`) | `codex` | `docker.io/sbx/codex-acp:latest` | `codex-acp` | `openai` | |
| 265 | 265 | | `vibe` (`logo:mistral`) | `vibe` | `docker.io/sbx/vibe-kit:latest` | `vibe-acp` | `mistral` | |
| 266 | 266 | | `copilot` (`logo:copilot`) | `copilot` | `docker.io/sbx/copilot-kit:latest` | `copilot --acp --stdio` | `copilot` and `github` (the same GitHub token, issue #103) | |
| @@ -255,12 +255,12 @@ A `view` is `{messages[], form, written, name, title}`: mm's messages since the | |||
| 255 | 255 | ||
| 256 | ## `SbxCreatorService` | 256 | ## `SbxCreatorService` |
| 257 | 257 | ||
| 258 | -The assistant that creates an agent in a Docker Sandbox (issue #96, [How to create a Claude, Gemini, Codex, Vibe or Copilot agent in a sandbox](../how-to/create-an-agent-in-a-sandbox.md)). The kinds it offers are a catalogue (`internal/sbxcreate`): one entry per kind, with what its `sbxenv.yaml` holds, how Sidekicks starts it, and its default icon: its brand's logo (issue #100). | 258 | +The assistant that creates an agent in a Docker Sandbox (issue #96, [How to create a Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox](../how-to/create-an-agent-in-a-sandbox.md)). The kinds it offers are a catalogue (`internal/sbxcreate`; there is no template file — [How to add a kind of agent to the sandbox assistant](../how-to/add-a-kind-to-the-sandbox-assistant.md)): one entry per kind, with what its `sbxenv.yaml` holds, how Sidekicks starts it, and its default icon: its brand's logo (issue #100). |
| 259 | 259 | ||
| 260 | | Kind | `agent:` | Kit | Program in the sandbox | sbx secret | | 260 | | Kind | `agent:` | Kit | Program in the sandbox | sbx secret | |
| 261 | | --- | --- | --- | --- | --- | | 261 | | --- | --- | --- | --- | --- | |
| 262 | | `claude` (`logo:claude`) | `claude` | `docker.io/sbx/claude-acp:latest` | `claude-agent-acp` | `anthropic` | | 262 | | `claude` (`logo:claude`) | `claude` | `docker.io/sbx/claude-acp:latest` | `claude-agent-acp` | `anthropic` | |
| 263 | -| `gemini` (`logo:gemini`) | `antigravity` | `docker.io/sbx/antigravity:latest` | `agy acp` | `google` | | 263 | +| `antigravity` (`logo:antigravity`) | `antigravity` | `docker.io/sbx/antigravity:latest` | `agy acp` | `google` | |
| 264 | | `codex` (`logo:openai`) | `codex` | `docker.io/sbx/codex-acp:latest` | `codex-acp` | `openai` | | 264 | | `codex` (`logo:openai`) | `codex` | `docker.io/sbx/codex-acp:latest` | `codex-acp` | `openai` | |
| 265 | | `vibe` (`logo:mistral`) | `vibe` | `docker.io/sbx/vibe-kit:latest` | `vibe-acp` | `mistral` | | 265 | | `vibe` (`logo:mistral`) | `vibe` | `docker.io/sbx/vibe-kit:latest` | `vibe-acp` | `mistral` | |
| 266 | | `copilot` (`logo:copilot`) | `copilot` | `docker.io/sbx/copilot-kit:latest` | `copilot --acp --stdio` | `copilot` and `github` (the same GitHub token, issue #103) | | 266 | | `copilot` (`logo:copilot`) | `copilot` | `docker.io/sbx/copilot-kit:latest` | `copilot --acp --stdio` | `copilot` and `github` (the same GitHub token, issue #103) | |
modified
docs/en/reference/configuration.md +2 -2 | @@ -39,7 +39,7 @@ The file is looked up in this order; the first one that applies wins: | ||
| 39 | 39 | | `ui` | object | no | | Interface preferences. | |
| 40 | 40 | | `limits` | object | no | | Resource limits. | |
| 41 | 41 | | `agentTools` | object | no | | The tools Sidekicks offers the agents ([below](#agenttools)). | |
| 42 | -| `agentsFolder` | path | no | `~/Documents/Sidekicks-Agents` | Where the assistants that create agents make one folder per agent ([mini-me](../how-to/create-a-mini-me-agent.md), [Claude, Gemini, Codex, Vibe, Copilot in a sandbox](../how-to/create-an-agent-in-a-sandbox.md)): absolute, `~/…`, or relative to this file. Created when missing. | | |
| 42 | +| `agentsFolder` | path | no | `~/Documents/Sidekicks-Agents` | Where the assistants that create agents make one folder per agent ([mini-me](../how-to/create-a-mini-me-agent.md), [Claude, Antigravity, Codex, Vibe, Copilot in a sandbox](../how-to/create-an-agent-in-a-sandbox.md)): absolute, `~/…`, or relative to this file. Created when missing. | | |
| 43 | 43 | | `agents` | list of agents | yes | | The agents available with `@name`. May be empty. | |
| 44 | 44 | | `channels` | list of channels | no | `[]` | Channels created at startup when they do not exist yet. | |
| 45 | 45 | |
| @@ -83,7 +83,7 @@ agentTools: | ||
| 83 | 83 | | --- | --- | --- | --- | --- | |
| 84 | 84 | | `name` | identifier | yes | | Lowercase letters, digits, `-`, `_`; starts with a letter; 32 characters at most. Used as `@name` and `/name:command`. **Unique.** | |
| 85 | 85 | | `title` | text | no | `name` | Name shown in the interface. | |
| 86 | -| `icon` | text (an emoji, a letter or `logo:<name>`) | no | | Shown next to the agent. An emoji is shown as it is; `logo:claude`, `logo:gemini`, `logo:openai`, `logo:mistral` or `logo:copilot` shows that brand's logo on a light disc (another name is a warning, and shows a letter); otherwise its first letter is shown in a coloured circle (the colour depends on `name`). Without `icon`, the circle holds the first letter of `title`. | | |
| 86 | +| `icon` | text (an emoji, a letter or `logo:<name>`) | no | | Shown next to the agent. An emoji is shown as it is; `logo:claude`, `logo:gemini`, `logo:antigravity`, `logo:openai`, `logo:mistral` or `logo:copilot` shows that brand's logo on a light disc (another name is a warning, and shows a letter); otherwise its first letter is shown in a coloured circle (the colour depends on `name`). Without `icon`, the circle holds the first letter of `title`. | | |
| 87 | 87 | | `description` | text | no | | One sentence shown in the `@` list. | |
| 88 | 88 | | `command` | text | yes | | Program serving ACP on stdio. | |
| 89 | 89 | | `args` | list of text | no | `[]` | Its arguments. | |
| @@ -39,7 +39,7 @@ The file is looked up in this order; the first one that applies wins: | |||
| 39 | | `ui` | object | no | | Interface preferences. | | 39 | | `ui` | object | no | | Interface preferences. | |
| 40 | | `limits` | object | no | | Resource limits. | | 40 | | `limits` | object | no | | Resource limits. | |
| 41 | | `agentTools` | object | no | | The tools Sidekicks offers the agents ([below](#agenttools)). | | 41 | | `agentTools` | object | no | | The tools Sidekicks offers the agents ([below](#agenttools)). | |
| 42 | -| `agentsFolder` | path | no | `~/Documents/Sidekicks-Agents` | Where the assistants that create agents make one folder per agent ([mini-me](../how-to/create-a-mini-me-agent.md), [Claude, Gemini, Codex, Vibe, Copilot in a sandbox](../how-to/create-an-agent-in-a-sandbox.md)): absolute, `~/…`, or relative to this file. Created when missing. | | 42 | +| `agentsFolder` | path | no | `~/Documents/Sidekicks-Agents` | Where the assistants that create agents make one folder per agent ([mini-me](../how-to/create-a-mini-me-agent.md), [Claude, Antigravity, Codex, Vibe, Copilot in a sandbox](../how-to/create-an-agent-in-a-sandbox.md)): absolute, `~/…`, or relative to this file. Created when missing. | |
| 43 | | `agents` | list of agents | yes | | The agents available with `@name`. May be empty. | | 43 | | `agents` | list of agents | yes | | The agents available with `@name`. May be empty. | |
| 44 | | `channels` | list of channels | no | `[]` | Channels created at startup when they do not exist yet. | | 44 | | `channels` | list of channels | no | `[]` | Channels created at startup when they do not exist yet. | |
| 45 | 45 | ||
| @@ -83,7 +83,7 @@ agentTools: | |||
| 83 | | --- | --- | --- | --- | --- | | 83 | | --- | --- | --- | --- | --- | |
| 84 | | `name` | identifier | yes | | Lowercase letters, digits, `-`, `_`; starts with a letter; 32 characters at most. Used as `@name` and `/name:command`. **Unique.** | | 84 | | `name` | identifier | yes | | Lowercase letters, digits, `-`, `_`; starts with a letter; 32 characters at most. Used as `@name` and `/name:command`. **Unique.** | |
| 85 | | `title` | text | no | `name` | Name shown in the interface. | | 85 | | `title` | text | no | `name` | Name shown in the interface. | |
| 86 | -| `icon` | text (an emoji, a letter or `logo:<name>`) | no | | Shown next to the agent. An emoji is shown as it is; `logo:claude`, `logo:gemini`, `logo:openai`, `logo:mistral` or `logo:copilot` shows that brand's logo on a light disc (another name is a warning, and shows a letter); otherwise its first letter is shown in a coloured circle (the colour depends on `name`). Without `icon`, the circle holds the first letter of `title`. | | 86 | +| `icon` | text (an emoji, a letter or `logo:<name>`) | no | | Shown next to the agent. An emoji is shown as it is; `logo:claude`, `logo:gemini`, `logo:antigravity`, `logo:openai`, `logo:mistral` or `logo:copilot` shows that brand's logo on a light disc (another name is a warning, and shows a letter); otherwise its first letter is shown in a coloured circle (the colour depends on `name`). Without `icon`, the circle holds the first letter of `title`. | |
| 87 | | `description` | text | no | | One sentence shown in the `@` list. | | 87 | | `description` | text | no | | One sentence shown in the `@` list. | |
| 88 | | `command` | text | yes | | Program serving ACP on stdio. | | 88 | | `command` | text | yes | | Program serving ACP on stdio. | |
| 89 | | `args` | list of text | no | `[]` | Its arguments. | | 89 | | `args` | list of text | no | `[]` | Its arguments. | |
modified
docs/en/reference/keyboard-shortcuts.md +1 -1 | @@ -25,7 +25,7 @@ On Linux and Windows, when the cursor is in an agent's terminal, the terminal ke | ||
| 25 | 25 | | Enter | Runs the selection | |
| 26 | 26 | | Escape, or a click outside | Closes the palette | |
| 27 | 27 | |
| 28 | -The palette lists, in order: the channels, a conversation per agent, the files of each agent, the actions of the table above, **Create a mini-me agent**, **Create an agent in a sandbox (Claude, Gemini, Codex, Vibe, Copilot)** and **Open a configuration…**. | |
| 28 | +The palette lists, in order: the channels, a conversation per agent, the files of each agent, the actions of the table above, **Create a mini-me agent**, **Create an agent in a sandbox (Claude, Antigravity, Codex, Vibe, Copilot)** and **Open a configuration…**. | |
| 29 | 29 | |
| 30 | 30 | ## Message box |
| 31 | 31 | |
| @@ -25,7 +25,7 @@ On Linux and Windows, when the cursor is in an agent's terminal, the terminal ke | |||
| 25 | | Enter | Runs the selection | | 25 | | Enter | Runs the selection | |
| 26 | | Escape, or a click outside | Closes the palette | | 26 | | Escape, or a click outside | Closes the palette | |
| 27 | 27 | ||
| 28 | -The palette lists, in order: the channels, a conversation per agent, the files of each agent, the actions of the table above, **Create a mini-me agent**, **Create an agent in a sandbox (Claude, Gemini, Codex, Vibe, Copilot)** and **Open a configuration…**. | 28 | +The palette lists, in order: the channels, a conversation per agent, the files of each agent, the actions of the table above, **Create a mini-me agent**, **Create an agent in a sandbox (Claude, Antigravity, Codex, Vibe, Copilot)** and **Open a configuration…**. |
| 29 | 29 | ||
| 30 | ## Message box | 30 | ## Message box |
| 31 | 31 | ||
modified
docs/fr/README.md +1 -1 | @@ -7,7 +7,7 @@ Cette documentation suit la méthode [Diátaxis](https://diataxis.fr) : choisiss | ||
| 7 | 7 | | Vous voulez… | Section | Pages | |
| 8 | 8 | | --- | --- | --- | |
| 9 | 9 | | **apprendre** en pratiquant | Tutoriels | [Votre premier agent, sans écrire de configuration](tutorials/premier-agent.md) · [Un channel avec deux agents](tutorials/premier-channel.md) · [Votre première conversation avec un agent](tutorials/premiere-conversation.md) · [Votre premier lancement de Sidekicks](tutorials/premier-lancement.md) · [Votre premier échange ACP avec un agent de test](tutorials/premier-echange-acp.md) | |
| 10 | -| **réaliser** une tâche précise | Guides pratiques | [Installer Sidekicks](how-to/installer-sidekicks.md) · [Créer un agent mini-me](how-to/creer-un-agent-mini-me.md) · [Créer un agent Claude, Gemini, Codex, Vibe ou Copilot dans une sandbox](how-to/creer-un-agent-dans-une-sandbox.md) · [Ajouter un agent](how-to/ajouter-un-agent.md) · [Travailler avec les fichiers et le terminal d'un agent](how-to/fichiers-et-terminal-d-un-agent.md) · [Lancer un agent dans un conteneur Docker](how-to/lancer-un-agent-dans-docker.md) · [Lancer un agent dans une sandbox sbx](how-to/lancer-un-agent-dans-une-sandbox.md) · [Ajouter un agent Claude dans une sandbox sbx](how-to/ajouter-un-agent-claude-dans-une-sandbox.md) · [Ajouter un agent Codex dans une sandbox sbx](how-to/ajouter-un-agent-codex-dans-une-sandbox.md) · [Ajouter un agent Gemini dans une sandbox sbx](how-to/ajouter-un-agent-gemini-dans-une-sandbox.md) · [Joindre des fichiers à un message](how-to/joindre-des-fichiers-a-un-message.md) · [Gérer les channels et leurs agents](how-to/gerer-les-channels.md) · [Modifier ou changer la configuration](how-to/modifier-ou-changer-la-configuration.md) · [Repartir de zéro](how-to/repartir-de-zero.md) · [Surveiller la pression mémoire](how-to/surveiller-la-pression-memoire.md) · [Laisser un agent utiliser les outils de Sidekicks](how-to/utiliser-les-outils-de-sidekicks-depuis-un-agent.md) · [Développer l'application](how-to/developper-l-application.md) · [Lancer les tests](how-to/lancer-les-tests.md) · [Vérifier une modification avant de la fusionner](how-to/verifier-avant-de-fusionner.md) · [Lancer un agent de test](how-to/lancer-un-agent-de-test.md) · [Dérouler les scénarios de bout en bout (v0.1)](how-to/derouler-les-scenarios-de-bout-en-bout.md) · [Définir la version](how-to/definir-la-version.md) · [Tester la CI locale (temporaire)](how-to/tester-la-ci-locale.md) · [Publier une release](how-to/publier-une-release.md) · [Signer et notariser pour macOS](how-to/signer-et-notariser-sous-macos.md) · [Tester l'issue #52 sous macOS](how-to/tester-l-issue-52-sous-macos.md) · [Tester les issues #49 et #50 sous macOS](how-to/tester-les-issues-49-et-50-sous-macos.md) · [Tester l'issue #47 sous macOS](how-to/tester-l-issue-47-sous-macos.md) · [Tester la milestone M4 sous macOS](how-to/tester-la-milestone-m4-sous-macos.md) · [Tester la milestone M3 sous macOS](how-to/tester-la-milestone-m3-sous-macos.md) · [Tester la milestone M2 sous macOS](how-to/tester-la-milestone-m2-sous-macos.md) · [Tester la milestone M1 sous macOS](how-to/tester-la-milestone-m1-sous-macos.md) · [Tester la milestone Initialize sous macOS](how-to/tester-la-milestone-initialize-sous-macos.md) | | |
| 10 | +| **réaliser** une tâche précise | Guides pratiques | [Installer Sidekicks](how-to/installer-sidekicks.md) · [Créer un agent mini-me](how-to/creer-un-agent-mini-me.md) · [Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox](how-to/creer-un-agent-dans-une-sandbox.md) · [Ajouter un agent](how-to/ajouter-un-agent.md) · [Travailler avec les fichiers et le terminal d'un agent](how-to/fichiers-et-terminal-d-un-agent.md) · [Lancer un agent dans un conteneur Docker](how-to/lancer-un-agent-dans-docker.md) · [Lancer un agent dans une sandbox sbx](how-to/lancer-un-agent-dans-une-sandbox.md) · [Ajouter un agent Claude dans une sandbox sbx](how-to/ajouter-un-agent-claude-dans-une-sandbox.md) · [Ajouter un agent Codex dans une sandbox sbx](how-to/ajouter-un-agent-codex-dans-une-sandbox.md) · [Ajouter un agent Gemini dans une sandbox sbx](how-to/ajouter-un-agent-gemini-dans-une-sandbox.md) · [Joindre des fichiers à un message](how-to/joindre-des-fichiers-a-un-message.md) · [Gérer les channels et leurs agents](how-to/gerer-les-channels.md) · [Modifier ou changer la configuration](how-to/modifier-ou-changer-la-configuration.md) · [Repartir de zéro](how-to/repartir-de-zero.md) · [Surveiller la pression mémoire](how-to/surveiller-la-pression-memoire.md) · [Laisser un agent utiliser les outils de Sidekicks](how-to/utiliser-les-outils-de-sidekicks-depuis-un-agent.md) · [Développer l'application](how-to/developper-l-application.md) · [Ajouter un type d'agent à l'assistant des sandboxes](how-to/ajouter-un-type-a-l-assistant-des-sandboxes.md) · [Lancer les tests](how-to/lancer-les-tests.md) · [Vérifier une modification avant de la fusionner](how-to/verifier-avant-de-fusionner.md) · [Lancer un agent de test](how-to/lancer-un-agent-de-test.md) · [Dérouler les scénarios de bout en bout (v0.1)](how-to/derouler-les-scenarios-de-bout-en-bout.md) · [Définir la version](how-to/definir-la-version.md) · [Tester la CI locale (temporaire)](how-to/tester-la-ci-locale.md) · [Publier une release](how-to/publier-une-release.md) · [Signer et notariser pour macOS](how-to/signer-et-notariser-sous-macos.md) · [Tester l'issue #52 sous macOS](how-to/tester-l-issue-52-sous-macos.md) · [Tester les issues #49 et #50 sous macOS](how-to/tester-les-issues-49-et-50-sous-macos.md) · [Tester l'issue #47 sous macOS](how-to/tester-l-issue-47-sous-macos.md) · [Tester la milestone M4 sous macOS](how-to/tester-la-milestone-m4-sous-macos.md) · [Tester la milestone M3 sous macOS](how-to/tester-la-milestone-m3-sous-macos.md) · [Tester la milestone M2 sous macOS](how-to/tester-la-milestone-m2-sous-macos.md) · [Tester la milestone M1 sous macOS](how-to/tester-la-milestone-m1-sous-macos.md) · [Tester la milestone Initialize sous macOS](how-to/tester-la-milestone-initialize-sous-macos.md) | | |
| 11 | 11 | | **consulter** un détail exact | Référence | [Le fichier de configuration](reference/configuration.md) · [Raccourcis clavier](reference/raccourcis-clavier.md) · [Agents, channels et événements](reference/agents-et-evenements.md) · [Commandes](reference/commandes.md) · [scripts/agents.sh](reference/script-agents.md) | |
| 12 | 12 | | **comprendre** le pourquoi | Explications | [Workspaces et terminaux](explanation/workspaces-et-terminaux.md) · [Les channels et ce que sait chaque agent](explanation/channels-et-contexte.md) · [Permissions et confiance](explanation/permissions-et-confiance.md) · [Pourquoi ACP](explanation/pourquoi-acp.md) · [La stack de l'interface](explanation/stack-interface.md) · [Architecture](explanation/architecture.md) · [Mémoire et modèles locaux](explanation/memoire-et-modeles-locaux.md) | |
| 13 | 13 | |
| @@ -7,7 +7,7 @@ Cette documentation suit la méthode [Diátaxis](https://diataxis.fr) : choisiss | |||
| 7 | | Vous voulez… | Section | Pages | | 7 | | Vous voulez… | Section | Pages | |
| 8 | | --- | --- | --- | | 8 | | --- | --- | --- | |
| 9 | | **apprendre** en pratiquant | Tutoriels | [Votre premier agent, sans écrire de configuration](tutorials/premier-agent.md) · [Un channel avec deux agents](tutorials/premier-channel.md) · [Votre première conversation avec un agent](tutorials/premiere-conversation.md) · [Votre premier lancement de Sidekicks](tutorials/premier-lancement.md) · [Votre premier échange ACP avec un agent de test](tutorials/premier-echange-acp.md) | | 9 | | **apprendre** en pratiquant | Tutoriels | [Votre premier agent, sans écrire de configuration](tutorials/premier-agent.md) · [Un channel avec deux agents](tutorials/premier-channel.md) · [Votre première conversation avec un agent](tutorials/premiere-conversation.md) · [Votre premier lancement de Sidekicks](tutorials/premier-lancement.md) · [Votre premier échange ACP avec un agent de test](tutorials/premier-echange-acp.md) | |
| 10 | -| **réaliser** une tâche précise | Guides pratiques | [Installer Sidekicks](how-to/installer-sidekicks.md) · [Créer un agent mini-me](how-to/creer-un-agent-mini-me.md) · [Créer un agent Claude, Gemini, Codex, Vibe ou Copilot dans une sandbox](how-to/creer-un-agent-dans-une-sandbox.md) · [Ajouter un agent](how-to/ajouter-un-agent.md) · [Travailler avec les fichiers et le terminal d'un agent](how-to/fichiers-et-terminal-d-un-agent.md) · [Lancer un agent dans un conteneur Docker](how-to/lancer-un-agent-dans-docker.md) · [Lancer un agent dans une sandbox sbx](how-to/lancer-un-agent-dans-une-sandbox.md) · [Ajouter un agent Claude dans une sandbox sbx](how-to/ajouter-un-agent-claude-dans-une-sandbox.md) · [Ajouter un agent Codex dans une sandbox sbx](how-to/ajouter-un-agent-codex-dans-une-sandbox.md) · [Ajouter un agent Gemini dans une sandbox sbx](how-to/ajouter-un-agent-gemini-dans-une-sandbox.md) · [Joindre des fichiers à un message](how-to/joindre-des-fichiers-a-un-message.md) · [Gérer les channels et leurs agents](how-to/gerer-les-channels.md) · [Modifier ou changer la configuration](how-to/modifier-ou-changer-la-configuration.md) · [Repartir de zéro](how-to/repartir-de-zero.md) · [Surveiller la pression mémoire](how-to/surveiller-la-pression-memoire.md) · [Laisser un agent utiliser les outils de Sidekicks](how-to/utiliser-les-outils-de-sidekicks-depuis-un-agent.md) · [Développer l'application](how-to/developper-l-application.md) · [Lancer les tests](how-to/lancer-les-tests.md) · [Vérifier une modification avant de la fusionner](how-to/verifier-avant-de-fusionner.md) · [Lancer un agent de test](how-to/lancer-un-agent-de-test.md) · [Dérouler les scénarios de bout en bout (v0.1)](how-to/derouler-les-scenarios-de-bout-en-bout.md) · [Définir la version](how-to/definir-la-version.md) · [Tester la CI locale (temporaire)](how-to/tester-la-ci-locale.md) · [Publier une release](how-to/publier-une-release.md) · [Signer et notariser pour macOS](how-to/signer-et-notariser-sous-macos.md) · [Tester l'issue #52 sous macOS](how-to/tester-l-issue-52-sous-macos.md) · [Tester les issues #49 et #50 sous macOS](how-to/tester-les-issues-49-et-50-sous-macos.md) · [Tester l'issue #47 sous macOS](how-to/tester-l-issue-47-sous-macos.md) · [Tester la milestone M4 sous macOS](how-to/tester-la-milestone-m4-sous-macos.md) · [Tester la milestone M3 sous macOS](how-to/tester-la-milestone-m3-sous-macos.md) · [Tester la milestone M2 sous macOS](how-to/tester-la-milestone-m2-sous-macos.md) · [Tester la milestone M1 sous macOS](how-to/tester-la-milestone-m1-sous-macos.md) · [Tester la milestone Initialize sous macOS](how-to/tester-la-milestone-initialize-sous-macos.md) | | 10 | +| **réaliser** une tâche précise | Guides pratiques | [Installer Sidekicks](how-to/installer-sidekicks.md) · [Créer un agent mini-me](how-to/creer-un-agent-mini-me.md) · [Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox](how-to/creer-un-agent-dans-une-sandbox.md) · [Ajouter un agent](how-to/ajouter-un-agent.md) · [Travailler avec les fichiers et le terminal d'un agent](how-to/fichiers-et-terminal-d-un-agent.md) · [Lancer un agent dans un conteneur Docker](how-to/lancer-un-agent-dans-docker.md) · [Lancer un agent dans une sandbox sbx](how-to/lancer-un-agent-dans-une-sandbox.md) · [Ajouter un agent Claude dans une sandbox sbx](how-to/ajouter-un-agent-claude-dans-une-sandbox.md) · [Ajouter un agent Codex dans une sandbox sbx](how-to/ajouter-un-agent-codex-dans-une-sandbox.md) · [Ajouter un agent Gemini dans une sandbox sbx](how-to/ajouter-un-agent-gemini-dans-une-sandbox.md) · [Joindre des fichiers à un message](how-to/joindre-des-fichiers-a-un-message.md) · [Gérer les channels et leurs agents](how-to/gerer-les-channels.md) · [Modifier ou changer la configuration](how-to/modifier-ou-changer-la-configuration.md) · [Repartir de zéro](how-to/repartir-de-zero.md) · [Surveiller la pression mémoire](how-to/surveiller-la-pression-memoire.md) · [Laisser un agent utiliser les outils de Sidekicks](how-to/utiliser-les-outils-de-sidekicks-depuis-un-agent.md) · [Développer l'application](how-to/developper-l-application.md) · [Ajouter un type d'agent à l'assistant des sandboxes](how-to/ajouter-un-type-a-l-assistant-des-sandboxes.md) · [Lancer les tests](how-to/lancer-les-tests.md) · [Vérifier une modification avant de la fusionner](how-to/verifier-avant-de-fusionner.md) · [Lancer un agent de test](how-to/lancer-un-agent-de-test.md) · [Dérouler les scénarios de bout en bout (v0.1)](how-to/derouler-les-scenarios-de-bout-en-bout.md) · [Définir la version](how-to/definir-la-version.md) · [Tester la CI locale (temporaire)](how-to/tester-la-ci-locale.md) · [Publier une release](how-to/publier-une-release.md) · [Signer et notariser pour macOS](how-to/signer-et-notariser-sous-macos.md) · [Tester l'issue #52 sous macOS](how-to/tester-l-issue-52-sous-macos.md) · [Tester les issues #49 et #50 sous macOS](how-to/tester-les-issues-49-et-50-sous-macos.md) · [Tester l'issue #47 sous macOS](how-to/tester-l-issue-47-sous-macos.md) · [Tester la milestone M4 sous macOS](how-to/tester-la-milestone-m4-sous-macos.md) · [Tester la milestone M3 sous macOS](how-to/tester-la-milestone-m3-sous-macos.md) · [Tester la milestone M2 sous macOS](how-to/tester-la-milestone-m2-sous-macos.md) · [Tester la milestone M1 sous macOS](how-to/tester-la-milestone-m1-sous-macos.md) · [Tester la milestone Initialize sous macOS](how-to/tester-la-milestone-initialize-sous-macos.md) | |
| 11 | | **consulter** un détail exact | Référence | [Le fichier de configuration](reference/configuration.md) · [Raccourcis clavier](reference/raccourcis-clavier.md) · [Agents, channels et événements](reference/agents-et-evenements.md) · [Commandes](reference/commandes.md) · [scripts/agents.sh](reference/script-agents.md) | | 11 | | **consulter** un détail exact | Référence | [Le fichier de configuration](reference/configuration.md) · [Raccourcis clavier](reference/raccourcis-clavier.md) · [Agents, channels et événements](reference/agents-et-evenements.md) · [Commandes](reference/commandes.md) · [scripts/agents.sh](reference/script-agents.md) | |
| 12 | | **comprendre** le pourquoi | Explications | [Workspaces et terminaux](explanation/workspaces-et-terminaux.md) · [Les channels et ce que sait chaque agent](explanation/channels-et-contexte.md) · [Permissions et confiance](explanation/permissions-et-confiance.md) · [Pourquoi ACP](explanation/pourquoi-acp.md) · [La stack de l'interface](explanation/stack-interface.md) · [Architecture](explanation/architecture.md) · [Mémoire et modèles locaux](explanation/memoire-et-modeles-locaux.md) | | 12 | | **comprendre** le pourquoi | Explications | [Workspaces et terminaux](explanation/workspaces-et-terminaux.md) · [Les channels et ce que sait chaque agent](explanation/channels-et-contexte.md) · [Permissions et confiance](explanation/permissions-et-confiance.md) · [Pourquoi ACP](explanation/pourquoi-acp.md) · [La stack de l'interface](explanation/stack-interface.md) · [Architecture](explanation/architecture.md) · [Mémoire et modèles locaux](explanation/memoire-et-modeles-locaux.md) | |
| 13 | 13 | ||
modified
docs/fr/how-to/ajouter-un-agent.md +1 -1 | @@ -25,7 +25,7 @@ Quand l'agent ne peut pas être ajouté (un nom déjà pris, par exemple), l'ass | ||
| 25 | 25 | ## Voir aussi |
| 26 | 26 | |
| 27 | 27 | - Pour créer un nouvel agent mini-me en répondant à des questions, sans fichier ni dossier à choisir : [Créer un agent mini-me](creer-un-agent-mini-me.md) |
| 28 | -- Pour créer de la même façon un nouvel agent Claude, Gemini, Codex, Vibe ou Copilot dans une sandbox : [Créer un agent Claude, Gemini, Codex, Vibe ou Copilot dans une sandbox](creer-un-agent-dans-une-sandbox.md) | |
| 28 | +- Pour créer de la même façon un nouvel agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox : [Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox](creer-un-agent-dans-une-sandbox.md) | |
| 29 | 29 | - Ce que l'assistant écrit : [Le fichier de configuration](../reference/configuration.md) |
| 30 | 30 | - [Modifier ou changer la configuration](modifier-ou-changer-la-configuration.md) |
| 31 | 31 | - [Tutoriel : votre premier agent, sans écrire de configuration](../tutorials/premier-agent.md) |
| @@ -25,7 +25,7 @@ Quand l'agent ne peut pas être ajouté (un nom déjà pris, par exemple), l'ass | |||
| 25 | ## Voir aussi | 25 | ## Voir aussi |
| 26 | 26 | ||
| 27 | - Pour créer un nouvel agent mini-me en répondant à des questions, sans fichier ni dossier à choisir : [Créer un agent mini-me](creer-un-agent-mini-me.md) | 27 | - Pour créer un nouvel agent mini-me en répondant à des questions, sans fichier ni dossier à choisir : [Créer un agent mini-me](creer-un-agent-mini-me.md) |
| 28 | -- Pour créer de la même façon un nouvel agent Claude, Gemini, Codex, Vibe ou Copilot dans une sandbox : [Créer un agent Claude, Gemini, Codex, Vibe ou Copilot dans une sandbox](creer-un-agent-dans-une-sandbox.md) | 28 | +- Pour créer de la même façon un nouvel agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox : [Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox](creer-un-agent-dans-une-sandbox.md) |
| 29 | - Ce que l'assistant écrit : [Le fichier de configuration](../reference/configuration.md) | 29 | - Ce que l'assistant écrit : [Le fichier de configuration](../reference/configuration.md) |
| 30 | - [Modifier ou changer la configuration](modifier-ou-changer-la-configuration.md) | 30 | - [Modifier ou changer la configuration](modifier-ou-changer-la-configuration.md) |
| 31 | - [Tutoriel : votre premier agent, sans écrire de configuration](../tutorials/premier-agent.md) | 31 | - [Tutoriel : votre premier agent, sans écrire de configuration](../tutorials/premier-agent.md) |
added
docs/fr/how-to/ajouter-un-type-a-l-assistant-des-sandboxes.md +46 -0 | new file mode 100644 | ||
| @@ -0,0 +1,46 @@ | ||
| 1 | +# Ajouter un type d'agent à l'assistant des sandboxes | |
| 2 | + | |
| 3 | +Ce guide s'adresse aux développeurs de Sidekicks. Il montre comment ajouter un type d'agent — Claude, Antigravity, Codex, Vibe, Copilot… — à l'assistant qui crée un agent dans une Docker Sandbox ([Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox](creer-un-agent-dans-une-sandbox.md)), et d'où vient le `sbxenv.yaml` qu'il écrit. Il suppose l'installation de [Développer l'application](developper-l-application.md), et que vous connaissez le kit sbx de l'agent, son programme ACP et le service de secret sbx de sa clé. | |
| 4 | + | |
| 5 | +## D'où vient le `sbxenv.yaml` | |
| 6 | + | |
| 7 | +Il n'y a **pas de fichier modèle**. L'assistant écrit le `sbxenv.yaml` de chaque agent depuis le Go, dans `internal/sbxcreate/sbxcreate.go` : | |
| 8 | + | |
| 9 | +| Quoi | Où | Contient | | |
| 10 | +| --- | --- | --- | | |
| 11 | +| `Catalogue` | `internal/sbxcreate/sbxcreate.go` | Un `Kind` par type d'agent, dans l'ordre où l'assistant les montre : son id, son titre, son icône par défaut, l'`agent:` sbx, le kit, le programme ACP, le service du secret et ses domaines (`Bindings`), et ce que propose son étape de la clé (`Token`, `FromGH`, `SignIn`, `OAuth`). | | |
| 12 | +| `Render(kind, name)` | même fichier | Le texte du `sbxenv.yaml` : le nom de la sandbox, `agent:`, `workspace: ./workspace`, `kits:`, `bindings:` (le service du type, puis ceux de `Shared`), `pullPolicy: always`, avec des commentaires en anglais. Le même pour tous les types : seule l'entrée du catalogue change. | | |
| 13 | +| `Write(folder, kind, name)` | même fichier | Crée `<agentsFolder>/<nom>/` avec ce `sbxenv.yaml` et un dossier `workspace/` vide. | | |
| 14 | + | |
| 15 | +Les `sbxenv.yaml` de `agents/` et `citizens/` dans le dépôt sont des agents de test et des exemples : Sidekicks ne les lit pas pour créer des agents. | |
| 16 | + | |
| 17 | +## Étapes | |
| 18 | + | |
| 19 | +1. Ajoutez une entrée au `Catalogue` dans `internal/sbxcreate/sbxcreate.go`, avec un commentaire qui dit d'où viennent le kit et le programme : | |
| 20 | + | |
| 21 | + ```go | |
| 22 | + { | |
| 23 | + ID: "vibe", Title: "Vibe", Icon: "logo:mistral", | |
| 24 | + Agent: "vibe", Kit: "docker.io/sbx/vibe-kit:latest", Program: "vibe-acp", | |
| 25 | + Service: "mistral", KeyURL: "https://console.mistral.ai/api-keys", | |
| 26 | + Bindings: Binding{APIKey: []string{"api.mistral.ai"}}, | |
| 27 | + }, | |
| 28 | + ``` | |
| 29 | + | |
| 30 | + `ID` est aussi le nom proposé pour l'agent : minuscules, chiffres et `-`. `Program` est le programme, puis ses arguments, sur une ligne (`agy acp`). | |
| 31 | +2. Donnez-lui sa ligne dans l'assistant, en anglais et en français, dans `frontend/src/lib/i18n/messages.ts` : `'sbxCreator.kind.<id>'` (ce qu'il est, sous son titre), et le type dans les listes `welcome.createSbxFirst` et `action.createSbxAgent`. | |
| 32 | +3. Si son étape de la clé n'est pas une simple clé d'API, renseignez le champ qui convient : | |
| 33 | + - `Token: true` — un jeton du compte de l'utilisateur (Copilot) ; | |
| 34 | + - `FromGH: true` — ce jeton peut venir de `gh auth token` ; | |
| 35 | + - `Shared` — d'autres services sbx qui reçoivent le même secret, chacun avec ses domaines ; | |
| 36 | + - `SignIn: "<programme>"` — l'utilisateur peut se connecter par `/login` dans ce programme, dans le terminal de l'agent (Claude) ; | |
| 37 | + - `OAuth: true` — `sbx secret set <service> --oauth` connecte avec un compte (Codex). | |
| 38 | +4. Pour un logo, ajoutez-le à `frontend/src/lib/logos.ts` (un tracé SVG dans une vue 24×24, sa couleur, sa source et sa licence dans le commentaire du haut) et son nom à `LogoNames` dans `internal/config/config.go`, dans le même ordre : un test Go compare les deux listes. Puis `logo:<nom>` dans la description de `icon` du schéma (`schema/config.schema.json`). | |
| 39 | +5. Pour que l'assistant « Ajouter un agent » reconnaisse une sandbox de cet agent, associez son `agent:` à son programme dans `programOfSandbox` (`frontend/src/lib/agentform.ts`). | |
| 40 | +6. Mettez à jour les tests qui listent le catalogue (`internal/sbxcreate/sbxcreate_test.go`), lancez `make bindings` si un champ de `Kind` a changé, puis `make verify`. | |
| 41 | +7. Documentez-le : le tableau du catalogue de [`SbxCreatorService`](../reference/agents-et-evenements.md#sbxcreatorservice), le guide [Créer un agent … dans une sandbox](creer-un-agent-dans-une-sandbox.md), en anglais et en français, et les notes de release. | |
| 42 | + | |
| 43 | +## Voir aussi | |
| 44 | + | |
| 45 | +- [`SbxCreatorService`](../reference/agents-et-evenements.md#sbxcreatorservice) — le tableau du catalogue et les méthodes du service. | |
| 46 | +- [Lancer un agent dans une sandbox sbx](lancer-un-agent-dans-une-sandbox.md) — ce qu'est un `sbxenv.yaml`. | |
| new file mode 100644 | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | +# Ajouter un type d'agent à l'assistant des sandboxes | ||
| 2 | + | ||
| 3 | +Ce guide s'adresse aux développeurs de Sidekicks. Il montre comment ajouter un type d'agent — Claude, Antigravity, Codex, Vibe, Copilot… — à l'assistant qui crée un agent dans une Docker Sandbox ([Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox](creer-un-agent-dans-une-sandbox.md)), et d'où vient le `sbxenv.yaml` qu'il écrit. Il suppose l'installation de [Développer l'application](developper-l-application.md), et que vous connaissez le kit sbx de l'agent, son programme ACP et le service de secret sbx de sa clé. | ||
| 4 | + | ||
| 5 | +## D'où vient le `sbxenv.yaml` | ||
| 6 | + | ||
| 7 | +Il n'y a **pas de fichier modèle**. L'assistant écrit le `sbxenv.yaml` de chaque agent depuis le Go, dans `internal/sbxcreate/sbxcreate.go` : | ||
| 8 | + | ||
| 9 | +| Quoi | Où | Contient | | ||
| 10 | +| --- | --- | --- | | ||
| 11 | +| `Catalogue` | `internal/sbxcreate/sbxcreate.go` | Un `Kind` par type d'agent, dans l'ordre où l'assistant les montre : son id, son titre, son icône par défaut, l'`agent:` sbx, le kit, le programme ACP, le service du secret et ses domaines (`Bindings`), et ce que propose son étape de la clé (`Token`, `FromGH`, `SignIn`, `OAuth`). | | ||
| 12 | +| `Render(kind, name)` | même fichier | Le texte du `sbxenv.yaml` : le nom de la sandbox, `agent:`, `workspace: ./workspace`, `kits:`, `bindings:` (le service du type, puis ceux de `Shared`), `pullPolicy: always`, avec des commentaires en anglais. Le même pour tous les types : seule l'entrée du catalogue change. | | ||
| 13 | +| `Write(folder, kind, name)` | même fichier | Crée `<agentsFolder>/<nom>/` avec ce `sbxenv.yaml` et un dossier `workspace/` vide. | | ||
| 14 | + | ||
| 15 | +Les `sbxenv.yaml` de `agents/` et `citizens/` dans le dépôt sont des agents de test et des exemples : Sidekicks ne les lit pas pour créer des agents. | ||
| 16 | + | ||
| 17 | +## Étapes | ||
| 18 | + | ||
| 19 | +1. Ajoutez une entrée au `Catalogue` dans `internal/sbxcreate/sbxcreate.go`, avec un commentaire qui dit d'où viennent le kit et le programme : | ||
| 20 | + | ||
| 21 | + ```go | ||
| 22 | + { | ||
| 23 | + ID: "vibe", Title: "Vibe", Icon: "logo:mistral", | ||
| 24 | + Agent: "vibe", Kit: "docker.io/sbx/vibe-kit:latest", Program: "vibe-acp", | ||
| 25 | + Service: "mistral", KeyURL: "https://console.mistral.ai/api-keys", | ||
| 26 | + Bindings: Binding{APIKey: []string{"api.mistral.ai"}}, | ||
| 27 | + }, | ||
| 28 | + ``` | ||
| 29 | + | ||
| 30 | + `ID` est aussi le nom proposé pour l'agent : minuscules, chiffres et `-`. `Program` est le programme, puis ses arguments, sur une ligne (`agy acp`). | ||
| 31 | +2. Donnez-lui sa ligne dans l'assistant, en anglais et en français, dans `frontend/src/lib/i18n/messages.ts` : `'sbxCreator.kind.<id>'` (ce qu'il est, sous son titre), et le type dans les listes `welcome.createSbxFirst` et `action.createSbxAgent`. | ||
| 32 | +3. Si son étape de la clé n'est pas une simple clé d'API, renseignez le champ qui convient : | ||
| 33 | + - `Token: true` — un jeton du compte de l'utilisateur (Copilot) ; | ||
| 34 | + - `FromGH: true` — ce jeton peut venir de `gh auth token` ; | ||
| 35 | + - `Shared` — d'autres services sbx qui reçoivent le même secret, chacun avec ses domaines ; | ||
| 36 | + - `SignIn: "<programme>"` — l'utilisateur peut se connecter par `/login` dans ce programme, dans le terminal de l'agent (Claude) ; | ||
| 37 | + - `OAuth: true` — `sbx secret set <service> --oauth` connecte avec un compte (Codex). | ||
| 38 | +4. Pour un logo, ajoutez-le à `frontend/src/lib/logos.ts` (un tracé SVG dans une vue 24×24, sa couleur, sa source et sa licence dans le commentaire du haut) et son nom à `LogoNames` dans `internal/config/config.go`, dans le même ordre : un test Go compare les deux listes. Puis `logo:<nom>` dans la description de `icon` du schéma (`schema/config.schema.json`). | ||
| 39 | +5. Pour que l'assistant « Ajouter un agent » reconnaisse une sandbox de cet agent, associez son `agent:` à son programme dans `programOfSandbox` (`frontend/src/lib/agentform.ts`). | ||
| 40 | +6. Mettez à jour les tests qui listent le catalogue (`internal/sbxcreate/sbxcreate_test.go`), lancez `make bindings` si un champ de `Kind` a changé, puis `make verify`. | ||
| 41 | +7. Documentez-le : le tableau du catalogue de [`SbxCreatorService`](../reference/agents-et-evenements.md#sbxcreatorservice), le guide [Créer un agent … dans une sandbox](creer-un-agent-dans-une-sandbox.md), en anglais et en français, et les notes de release. | ||
| 42 | + | ||
| 43 | +## Voir aussi | ||
| 44 | + | ||
| 45 | +- [`SbxCreatorService`](../reference/agents-et-evenements.md#sbxcreatorservice) — le tableau du catalogue et les méthodes du service. | ||
| 46 | +- [Lancer un agent dans une sandbox sbx](lancer-un-agent-dans-une-sandbox.md) — ce qu'est un `sbxenv.yaml`. | ||
modified
docs/fr/how-to/creer-un-agent-dans-une-sandbox.md +5 -5 | @@ -1,11 +1,11 @@ | ||
| 1 | -# Créer un agent Claude, Gemini, Codex, Vibe ou Copilot dans une sandbox | |
| 1 | +# Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox | |
| 2 | 2 | |
| 3 | -Ce guide montre comment créer un nouvel agent Claude, Gemini, Codex, Vibe ou Copilot qui tourne dans une Docker Sandbox, depuis la fenêtre de Sidekicks, sans écrire de fichier ni choisir de dossier. Il suppose que [sbx](https://docs.docker.com/ai/sandboxes/) (Docker Sandboxes) est installé, et que vous avez une clé d'API de l'éditeur de l'agent — ou que vous en obtiendrez une pendant les étapes (pour Copilot : un compte GitHub avec un abonnement Copilot). Pour ajouter une sandbox qui existe déjà, suivez plutôt [Ajouter un agent](ajouter-un-agent.md). | |
| 3 | +Ce guide montre comment créer un nouvel agent Claude, Antigravity, Codex, Vibe ou Copilot qui tourne dans une Docker Sandbox, depuis la fenêtre de Sidekicks, sans écrire de fichier ni choisir de dossier. Il suppose que [sbx](https://docs.docker.com/ai/sandboxes/) (Docker Sandboxes) est installé, et que vous avez une clé d'API de l'éditeur de l'agent — ou que vous en obtiendrez une pendant les étapes (pour Copilot : un compte GitHub avec un abonnement Copilot). Pour ajouter une sandbox qui existe déjà, suivez plutôt [Ajouter un agent](ajouter-un-agent.md). | |
| 4 | 4 | |
| 5 | 5 | ## Étapes |
| 6 | 6 | |
| 7 | -1. Ouvrez l'assistant : **✨ Créer un agent Claude, Gemini, Codex, Vibe ou Copilot** sur l'écran d'accueil, **✨ Créer un agent dans une sandbox** sous la liste des agents, ou **Créer un agent dans une sandbox** dans la palette de commandes (⌘K, Ctrl+K sous Linux et Windows). | |
| 8 | -2. Choisissez l'agent : **Claude** (Claude Code, d'Anthropic), **Gemini** (de Google, via Antigravity), **Codex** (d'OpenAI), **Vibe** (de Mistral AI) ou **Copilot** (Copilot CLI, de GitHub). | |
| 7 | +1. Ouvrez l'assistant : **✨ Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot** sur l'écran d'accueil, **✨ Créer un agent dans une sandbox** sous la liste des agents, ou **Créer un agent dans une sandbox** dans la palette de commandes (⌘K, Ctrl+K sous Linux et Windows). | |
| 8 | +2. Choisissez l'agent : **Claude** (Claude Code, d'Anthropic), **Antigravity** (Google Antigravity, avec les modèles Gemini), **Codex** (d'OpenAI), **Vibe** (de Mistral AI) ou **Copilot** (Copilot CLI, de GitHub). | |
| 9 | 9 | 3. Si sbx n'a pas encore sa clé, collez-la dans **Clé d'API** et cliquez sur **Enregistrer la clé**. **Obtenir une clé…** ouvre la page où l'éditeur vous en donne une. Sidekicks confie la clé à sbx, qui la garde et la fournit à vos sandboxes seulement pour leurs appels à cet éditeur ; elle n'est jamais écrite dans un fichier. Une clé déjà enregistrée s'affiche **✓ Votre clé … est enregistrée dans sbx**. |
| 10 | 10 | Pour **Copilot**, ce n'est pas une clé d'API mais un **jeton GitHub** autorisé à utiliser Copilot, et votre compte GitHub doit avoir un abonnement Copilot. Si l'outil GitHub (`gh`) est installé, le plus simple est **Utiliser mon compte GitHub** : Sidekicks prend son jeton (`gh auth token`) sans l'afficher. Quand `gh` n'est pas encore connecté, **Se connecter à GitHub** affiche un code et **Ouvrir la page de connexion** : vérifiez le code sur la page, confirmez, et l'assistant continue tout seul. Sans `gh`, **Créer un jeton sur GitHub…** ouvre la page d'un jeton « fine-grained » : donnez-lui la permission **Copilot Requests**, collez-le dans **Jeton GitHub** et cliquez sur **Enregistrer le jeton**. sbx l'enregistre deux fois — `copilot`, pour les appels de la sandbox à Copilot, et `github`, pour `git` et `gh` dans la sandbox : l'agent peut alors travailler sur vos dépôts GitHub avec votre compte. |
| 11 | 11 | Pour **Codex**, vous pouvez utiliser votre **compte ChatGPT** au lieu d'une clé d'API : **Me connecter avec mon compte ChatGPT** lance `sbx secret set openai --oauth`, qui ouvre votre navigateur ; connectez-vous-y, et l'assistant continue tout seul une fois que sbx a gardé la connexion (dans votre trousseau : la sandbox ne la voit jamais). Vous pouvez aussi cliquer sur **Plus tard** : voir ci-dessous. |
| @@ -19,7 +19,7 @@ Le dossier de l'agent est créé dans le dossier **Sidekicks-Agents** de vos Doc | ||
| 19 | 19 | - **« sbx (Docker Sandboxes) n'est pas installé sur cet ordinateur »** : installez sbx, puis cliquez sur **Réessayer**. |
| 20 | 20 | - **« sbx a besoin que vous soyez connecté à Docker »** : cliquez sur **Se connecter à Docker**. Sidekicks affiche un code : cliquez sur **Ouvrir la page de connexion**, vérifiez que la page montre le même code, confirmez et connectez-vous avec votre compte Docker (un compte gratuit suffit). L'assistant continue tout seul une fois la connexion faite. Le même bouton apparaît sous l'erreur d'un agent sbx qui ne démarre pas. Si cela ne fonctionne pas, tapez une fois `sbx login` dans un terminal. |
| 21 | 21 | - **« Un autre agent porte déjà ce nom »**, **« Un dossier porte déjà ce nom »** ou **« Une sandbox porte déjà ce nom »** : changez le **Nom** et cliquez de nouveau sur **Ajouter l'agent**. Un dossier ou une sandbox existants ne sont jamais modifiés. |
| 22 | -- **« Pas encore de clé … dans sbx »** (après **Plus tard**) : l'agent ne peut pas répondre. Relancez l'assistant pour enregistrer la clé, ou tapez `sbx secret set anthropic` (`google` pour Gemini, `openai` pour Codex, `mistral` pour Vibe, `copilot` et `github` pour Copilot — par exemple `sbx secret set copilot --command 'gh auth token'` puis la même avec `github`) dans un terminal. | |
| 22 | +- **« Pas encore de clé … dans sbx »** (après **Plus tard**) : l'agent ne peut pas répondre. Relancez l'assistant pour enregistrer la clé, ou tapez `sbx secret set anthropic` (`google` pour Antigravity, `openai` pour Codex, `mistral` pour Vibe, `copilot` et `github` pour Copilot — par exemple `sbx secret set copilot --command 'gh auth token'` puis la même avec `github`) dans un terminal. | |
| 23 | 23 | - **Claude sans clé d'API** (issues #105 et #106) : cliquez sur **Plus tard** et connectez-vous plutôt avec votre compte Claude. L'assistant le dit. À la première réponse, Claude se termine par « L'agent n'est pas connecté » : Sidekicks ouvre le **Terminal** de l'agent, lance `claude` dans sa sandbox et vous dit quoi faire — tapez `/login`, choisissez votre compte et suivez les étapes (copiez le lien dans votre navigateur si on vous le demande). Cliquez ensuite sur **Je suis connecté : redémarrer l'agent** : vous revenez à la conversation ; renvoyez votre message. Si vous avez fermé ce terminal, **Se connecter dans son terminal** sous l'erreur le rouvre. |
| 24 | 24 | - **Codex sans clé ni connexion ChatGPT** (issue #107) : à la création de sa sandbox, sbx demande s'il faut se connecter à OpenAI sur le web. Sidekicks ne peut pas répondre à cette question : l'agent s'arrête avec « sbx demande de se connecter à OpenAI… » et un bouton **Me connecter avec mon compte ChatGPT** — dans la conversation et dans le panneau Agents. Connectez-vous dans votre navigateur : l'agent redémarre tout seul. |
| 25 | 25 | |
| @@ -1,11 +1,11 @@ | |||
| 1 | -# Créer un agent Claude, Gemini, Codex, Vibe ou Copilot dans une sandbox | 1 | +# Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox |
| 2 | 2 | ||
| 3 | -Ce guide montre comment créer un nouvel agent Claude, Gemini, Codex, Vibe ou Copilot qui tourne dans une Docker Sandbox, depuis la fenêtre de Sidekicks, sans écrire de fichier ni choisir de dossier. Il suppose que [sbx](https://docs.docker.com/ai/sandboxes/) (Docker Sandboxes) est installé, et que vous avez une clé d'API de l'éditeur de l'agent — ou que vous en obtiendrez une pendant les étapes (pour Copilot : un compte GitHub avec un abonnement Copilot). Pour ajouter une sandbox qui existe déjà, suivez plutôt [Ajouter un agent](ajouter-un-agent.md). | 3 | +Ce guide montre comment créer un nouvel agent Claude, Antigravity, Codex, Vibe ou Copilot qui tourne dans une Docker Sandbox, depuis la fenêtre de Sidekicks, sans écrire de fichier ni choisir de dossier. Il suppose que [sbx](https://docs.docker.com/ai/sandboxes/) (Docker Sandboxes) est installé, et que vous avez une clé d'API de l'éditeur de l'agent — ou que vous en obtiendrez une pendant les étapes (pour Copilot : un compte GitHub avec un abonnement Copilot). Pour ajouter une sandbox qui existe déjà, suivez plutôt [Ajouter un agent](ajouter-un-agent.md). |
| 4 | 4 | ||
| 5 | ## Étapes | 5 | ## Étapes |
| 6 | 6 | ||
| 7 | -1. Ouvrez l'assistant : **✨ Créer un agent Claude, Gemini, Codex, Vibe ou Copilot** sur l'écran d'accueil, **✨ Créer un agent dans une sandbox** sous la liste des agents, ou **Créer un agent dans une sandbox** dans la palette de commandes (⌘K, Ctrl+K sous Linux et Windows). | 7 | +1. Ouvrez l'assistant : **✨ Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot** sur l'écran d'accueil, **✨ Créer un agent dans une sandbox** sous la liste des agents, ou **Créer un agent dans une sandbox** dans la palette de commandes (⌘K, Ctrl+K sous Linux et Windows). |
| 8 | -2. Choisissez l'agent : **Claude** (Claude Code, d'Anthropic), **Gemini** (de Google, via Antigravity), **Codex** (d'OpenAI), **Vibe** (de Mistral AI) ou **Copilot** (Copilot CLI, de GitHub). | 8 | +2. Choisissez l'agent : **Claude** (Claude Code, d'Anthropic), **Antigravity** (Google Antigravity, avec les modèles Gemini), **Codex** (d'OpenAI), **Vibe** (de Mistral AI) ou **Copilot** (Copilot CLI, de GitHub). |
| 9 | 3. Si sbx n'a pas encore sa clé, collez-la dans **Clé d'API** et cliquez sur **Enregistrer la clé**. **Obtenir une clé…** ouvre la page où l'éditeur vous en donne une. Sidekicks confie la clé à sbx, qui la garde et la fournit à vos sandboxes seulement pour leurs appels à cet éditeur ; elle n'est jamais écrite dans un fichier. Une clé déjà enregistrée s'affiche **✓ Votre clé … est enregistrée dans sbx**. | 9 | 3. Si sbx n'a pas encore sa clé, collez-la dans **Clé d'API** et cliquez sur **Enregistrer la clé**. **Obtenir une clé…** ouvre la page où l'éditeur vous en donne une. Sidekicks confie la clé à sbx, qui la garde et la fournit à vos sandboxes seulement pour leurs appels à cet éditeur ; elle n'est jamais écrite dans un fichier. Une clé déjà enregistrée s'affiche **✓ Votre clé … est enregistrée dans sbx**. |
| 10 | Pour **Copilot**, ce n'est pas une clé d'API mais un **jeton GitHub** autorisé à utiliser Copilot, et votre compte GitHub doit avoir un abonnement Copilot. Si l'outil GitHub (`gh`) est installé, le plus simple est **Utiliser mon compte GitHub** : Sidekicks prend son jeton (`gh auth token`) sans l'afficher. Quand `gh` n'est pas encore connecté, **Se connecter à GitHub** affiche un code et **Ouvrir la page de connexion** : vérifiez le code sur la page, confirmez, et l'assistant continue tout seul. Sans `gh`, **Créer un jeton sur GitHub…** ouvre la page d'un jeton « fine-grained » : donnez-lui la permission **Copilot Requests**, collez-le dans **Jeton GitHub** et cliquez sur **Enregistrer le jeton**. sbx l'enregistre deux fois — `copilot`, pour les appels de la sandbox à Copilot, et `github`, pour `git` et `gh` dans la sandbox : l'agent peut alors travailler sur vos dépôts GitHub avec votre compte. | 10 | Pour **Copilot**, ce n'est pas une clé d'API mais un **jeton GitHub** autorisé à utiliser Copilot, et votre compte GitHub doit avoir un abonnement Copilot. Si l'outil GitHub (`gh`) est installé, le plus simple est **Utiliser mon compte GitHub** : Sidekicks prend son jeton (`gh auth token`) sans l'afficher. Quand `gh` n'est pas encore connecté, **Se connecter à GitHub** affiche un code et **Ouvrir la page de connexion** : vérifiez le code sur la page, confirmez, et l'assistant continue tout seul. Sans `gh`, **Créer un jeton sur GitHub…** ouvre la page d'un jeton « fine-grained » : donnez-lui la permission **Copilot Requests**, collez-le dans **Jeton GitHub** et cliquez sur **Enregistrer le jeton**. sbx l'enregistre deux fois — `copilot`, pour les appels de la sandbox à Copilot, et `github`, pour `git` et `gh` dans la sandbox : l'agent peut alors travailler sur vos dépôts GitHub avec votre compte. |
| 11 | Pour **Codex**, vous pouvez utiliser votre **compte ChatGPT** au lieu d'une clé d'API : **Me connecter avec mon compte ChatGPT** lance `sbx secret set openai --oauth`, qui ouvre votre navigateur ; connectez-vous-y, et l'assistant continue tout seul une fois que sbx a gardé la connexion (dans votre trousseau : la sandbox ne la voit jamais). Vous pouvez aussi cliquer sur **Plus tard** : voir ci-dessous. | 11 | Pour **Codex**, vous pouvez utiliser votre **compte ChatGPT** au lieu d'une clé d'API : **Me connecter avec mon compte ChatGPT** lance `sbx secret set openai --oauth`, qui ouvre votre navigateur ; connectez-vous-y, et l'assistant continue tout seul une fois que sbx a gardé la connexion (dans votre trousseau : la sandbox ne la voit jamais). Vous pouvez aussi cliquer sur **Plus tard** : voir ci-dessous. |
| @@ -19,7 +19,7 @@ Le dossier de l'agent est créé dans le dossier **Sidekicks-Agents** de vos Doc | |||
| 19 | - **« sbx (Docker Sandboxes) n'est pas installé sur cet ordinateur »** : installez sbx, puis cliquez sur **Réessayer**. | 19 | - **« sbx (Docker Sandboxes) n'est pas installé sur cet ordinateur »** : installez sbx, puis cliquez sur **Réessayer**. |
| 20 | - **« sbx a besoin que vous soyez connecté à Docker »** : cliquez sur **Se connecter à Docker**. Sidekicks affiche un code : cliquez sur **Ouvrir la page de connexion**, vérifiez que la page montre le même code, confirmez et connectez-vous avec votre compte Docker (un compte gratuit suffit). L'assistant continue tout seul une fois la connexion faite. Le même bouton apparaît sous l'erreur d'un agent sbx qui ne démarre pas. Si cela ne fonctionne pas, tapez une fois `sbx login` dans un terminal. | 20 | - **« sbx a besoin que vous soyez connecté à Docker »** : cliquez sur **Se connecter à Docker**. Sidekicks affiche un code : cliquez sur **Ouvrir la page de connexion**, vérifiez que la page montre le même code, confirmez et connectez-vous avec votre compte Docker (un compte gratuit suffit). L'assistant continue tout seul une fois la connexion faite. Le même bouton apparaît sous l'erreur d'un agent sbx qui ne démarre pas. Si cela ne fonctionne pas, tapez une fois `sbx login` dans un terminal. |
| 21 | - **« Un autre agent porte déjà ce nom »**, **« Un dossier porte déjà ce nom »** ou **« Une sandbox porte déjà ce nom »** : changez le **Nom** et cliquez de nouveau sur **Ajouter l'agent**. Un dossier ou une sandbox existants ne sont jamais modifiés. | 21 | - **« Un autre agent porte déjà ce nom »**, **« Un dossier porte déjà ce nom »** ou **« Une sandbox porte déjà ce nom »** : changez le **Nom** et cliquez de nouveau sur **Ajouter l'agent**. Un dossier ou une sandbox existants ne sont jamais modifiés. |
| 22 | -- **« Pas encore de clé … dans sbx »** (après **Plus tard**) : l'agent ne peut pas répondre. Relancez l'assistant pour enregistrer la clé, ou tapez `sbx secret set anthropic` (`google` pour Gemini, `openai` pour Codex, `mistral` pour Vibe, `copilot` et `github` pour Copilot — par exemple `sbx secret set copilot --command 'gh auth token'` puis la même avec `github`) dans un terminal. | 22 | +- **« Pas encore de clé … dans sbx »** (après **Plus tard**) : l'agent ne peut pas répondre. Relancez l'assistant pour enregistrer la clé, ou tapez `sbx secret set anthropic` (`google` pour Antigravity, `openai` pour Codex, `mistral` pour Vibe, `copilot` et `github` pour Copilot — par exemple `sbx secret set copilot --command 'gh auth token'` puis la même avec `github`) dans un terminal. |
| 23 | - **Claude sans clé d'API** (issues #105 et #106) : cliquez sur **Plus tard** et connectez-vous plutôt avec votre compte Claude. L'assistant le dit. À la première réponse, Claude se termine par « L'agent n'est pas connecté » : Sidekicks ouvre le **Terminal** de l'agent, lance `claude` dans sa sandbox et vous dit quoi faire — tapez `/login`, choisissez votre compte et suivez les étapes (copiez le lien dans votre navigateur si on vous le demande). Cliquez ensuite sur **Je suis connecté : redémarrer l'agent** : vous revenez à la conversation ; renvoyez votre message. Si vous avez fermé ce terminal, **Se connecter dans son terminal** sous l'erreur le rouvre. | 23 | - **Claude sans clé d'API** (issues #105 et #106) : cliquez sur **Plus tard** et connectez-vous plutôt avec votre compte Claude. L'assistant le dit. À la première réponse, Claude se termine par « L'agent n'est pas connecté » : Sidekicks ouvre le **Terminal** de l'agent, lance `claude` dans sa sandbox et vous dit quoi faire — tapez `/login`, choisissez votre compte et suivez les étapes (copiez le lien dans votre navigateur si on vous le demande). Cliquez ensuite sur **Je suis connecté : redémarrer l'agent** : vous revenez à la conversation ; renvoyez votre message. Si vous avez fermé ce terminal, **Se connecter dans son terminal** sous l'erreur le rouvre. |
| 24 | - **Codex sans clé ni connexion ChatGPT** (issue #107) : à la création de sa sandbox, sbx demande s'il faut se connecter à OpenAI sur le web. Sidekicks ne peut pas répondre à cette question : l'agent s'arrête avec « sbx demande de se connecter à OpenAI… » et un bouton **Me connecter avec mon compte ChatGPT** — dans la conversation et dans le panneau Agents. Connectez-vous dans votre navigateur : l'agent redémarre tout seul. | 24 | - **Codex sans clé ni connexion ChatGPT** (issue #107) : à la création de sa sandbox, sbx demande s'il faut se connecter à OpenAI sur le web. Sidekicks ne peut pas répondre à cette question : l'agent s'arrête avec « sbx demande de se connecter à OpenAI… » et un bouton **Me connecter avec mon compte ChatGPT** — dans la conversation et dans le panneau Agents. Connectez-vous dans votre navigateur : l'agent redémarre tout seul. |
| 25 | 25 | ||
modified
docs/fr/reference/agents-et-evenements.md +2 -2 | @@ -255,12 +255,12 @@ Une `view` vaut `{messages[], form, written, name, title}` : les messages de mm | ||
| 255 | 255 | |
| 256 | 256 | ## `SbxCreatorService` |
| 257 | 257 | |
| 258 | -L'assistant qui crée un agent dans une Docker Sandbox (issue #96, [Créer un agent Claude, Gemini, Codex, Vibe ou Copilot dans une sandbox](../how-to/creer-un-agent-dans-une-sandbox.md)). Les types qu'il propose forment un catalogue (`internal/sbxcreate`) : une entrée par type, avec ce que contient son `sbxenv.yaml`, la façon dont Sidekicks le démarre, et son icône par défaut : le logo de sa marque (issue #100). | |
| 258 | +L'assistant qui crée un agent dans une Docker Sandbox (issue #96, [Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox](../how-to/creer-un-agent-dans-une-sandbox.md)). Les types qu'il propose forment un catalogue (`internal/sbxcreate` ; il n'y a pas de fichier modèle — [Ajouter un type d'agent à l'assistant des sandboxes](../how-to/ajouter-un-type-a-l-assistant-des-sandboxes.md)) : une entrée par type, avec ce que contient son `sbxenv.yaml`, la façon dont Sidekicks le démarre, et son icône par défaut : le logo de sa marque (issue #100). | |
| 259 | 259 | |
| 260 | 260 | | Type | `agent:` | Kit | Programme dans la sandbox | Secret sbx | |
| 261 | 261 | | --- | --- | --- | --- | --- | |
| 262 | 262 | | `claude` (`logo:claude`) | `claude` | `docker.io/sbx/claude-acp:latest` | `claude-agent-acp` | `anthropic` | |
| 263 | -| `gemini` (`logo:gemini`) | `antigravity` | `docker.io/sbx/antigravity:latest` | `agy acp` | `google` | | |
| 263 | +| `antigravity` (`logo:antigravity`) | `antigravity` | `docker.io/sbx/antigravity:latest` | `agy acp` | `google` | | |
| 264 | 264 | | `codex` (`logo:openai`) | `codex` | `docker.io/sbx/codex-acp:latest` | `codex-acp` | `openai` | |
| 265 | 265 | | `vibe` (`logo:mistral`) | `vibe` | `docker.io/sbx/vibe-kit:latest` | `vibe-acp` | `mistral` | |
| 266 | 266 | | `copilot` (`logo:copilot`) | `copilot` | `docker.io/sbx/copilot-kit:latest` | `copilot --acp --stdio` | `copilot` et `github` (le même jeton GitHub, issue #103) | |
| @@ -255,12 +255,12 @@ Une `view` vaut `{messages[], form, written, name, title}` : les messages de mm | |||
| 255 | 255 | ||
| 256 | ## `SbxCreatorService` | 256 | ## `SbxCreatorService` |
| 257 | 257 | ||
| 258 | -L'assistant qui crée un agent dans une Docker Sandbox (issue #96, [Créer un agent Claude, Gemini, Codex, Vibe ou Copilot dans une sandbox](../how-to/creer-un-agent-dans-une-sandbox.md)). Les types qu'il propose forment un catalogue (`internal/sbxcreate`) : une entrée par type, avec ce que contient son `sbxenv.yaml`, la façon dont Sidekicks le démarre, et son icône par défaut : le logo de sa marque (issue #100). | 258 | +L'assistant qui crée un agent dans une Docker Sandbox (issue #96, [Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox](../how-to/creer-un-agent-dans-une-sandbox.md)). Les types qu'il propose forment un catalogue (`internal/sbxcreate` ; il n'y a pas de fichier modèle — [Ajouter un type d'agent à l'assistant des sandboxes](../how-to/ajouter-un-type-a-l-assistant-des-sandboxes.md)) : une entrée par type, avec ce que contient son `sbxenv.yaml`, la façon dont Sidekicks le démarre, et son icône par défaut : le logo de sa marque (issue #100). |
| 259 | 259 | ||
| 260 | | Type | `agent:` | Kit | Programme dans la sandbox | Secret sbx | | 260 | | Type | `agent:` | Kit | Programme dans la sandbox | Secret sbx | |
| 261 | | --- | --- | --- | --- | --- | | 261 | | --- | --- | --- | --- | --- | |
| 262 | | `claude` (`logo:claude`) | `claude` | `docker.io/sbx/claude-acp:latest` | `claude-agent-acp` | `anthropic` | | 262 | | `claude` (`logo:claude`) | `claude` | `docker.io/sbx/claude-acp:latest` | `claude-agent-acp` | `anthropic` | |
| 263 | -| `gemini` (`logo:gemini`) | `antigravity` | `docker.io/sbx/antigravity:latest` | `agy acp` | `google` | | 263 | +| `antigravity` (`logo:antigravity`) | `antigravity` | `docker.io/sbx/antigravity:latest` | `agy acp` | `google` | |
| 264 | | `codex` (`logo:openai`) | `codex` | `docker.io/sbx/codex-acp:latest` | `codex-acp` | `openai` | | 264 | | `codex` (`logo:openai`) | `codex` | `docker.io/sbx/codex-acp:latest` | `codex-acp` | `openai` | |
| 265 | | `vibe` (`logo:mistral`) | `vibe` | `docker.io/sbx/vibe-kit:latest` | `vibe-acp` | `mistral` | | 265 | | `vibe` (`logo:mistral`) | `vibe` | `docker.io/sbx/vibe-kit:latest` | `vibe-acp` | `mistral` | |
| 266 | | `copilot` (`logo:copilot`) | `copilot` | `docker.io/sbx/copilot-kit:latest` | `copilot --acp --stdio` | `copilot` et `github` (le même jeton GitHub, issue #103) | | 266 | | `copilot` (`logo:copilot`) | `copilot` | `docker.io/sbx/copilot-kit:latest` | `copilot --acp --stdio` | `copilot` et `github` (le même jeton GitHub, issue #103) | |
modified
docs/fr/reference/configuration.md +2 -2 | @@ -39,7 +39,7 @@ Le fichier est cherché dans cet ordre ; la première source applicable l'emport | ||
| 39 | 39 | | `ui` | objet | non | | Préférences d'interface. | |
| 40 | 40 | | `limits` | objet | non | | Limites de ressources. | |
| 41 | 41 | | `agentTools` | objet | non | | Les outils que Sidekicks propose aux agents ([plus bas](#agenttools)). | |
| 42 | -| `agentsFolder` | chemin | non | `~/Documents/Sidekicks-Agents` | Où les assistants qui créent des agents font un dossier par agent ([mini-me](../how-to/creer-un-agent-mini-me.md), [Claude, Gemini, Codex, Vibe, Copilot dans une sandbox](../how-to/creer-un-agent-dans-une-sandbox.md)) : absolu, `~/…`, ou relatif à ce fichier. Créé s'il manque. | | |
| 42 | +| `agentsFolder` | chemin | non | `~/Documents/Sidekicks-Agents` | Où les assistants qui créent des agents font un dossier par agent ([mini-me](../how-to/creer-un-agent-mini-me.md), [Claude, Antigravity, Codex, Vibe, Copilot dans une sandbox](../how-to/creer-un-agent-dans-une-sandbox.md)) : absolu, `~/…`, ou relatif à ce fichier. Créé s'il manque. | | |
| 43 | 43 | | `agents` | liste d'agents | oui | | Les agents disponibles avec `@nom`. Peut être vide. | |
| 44 | 44 | | `channels` | liste de channels | non | `[]` | Channels créés au démarrage s'ils n'existent pas encore. | |
| 45 | 45 | |
| @@ -83,7 +83,7 @@ agentTools: | ||
| 83 | 83 | | --- | --- | --- | --- | --- | |
| 84 | 84 | | `name` | identifiant | oui | | Minuscules, chiffres, `-`, `_` ; commence par une lettre ; 32 caractères au plus. Sert dans `@nom` et `/nom:commande`. **Unique.** | |
| 85 | 85 | | `title` | texte | non | `name` | Nom affiché dans l'interface. | |
| 86 | -| `icon` | texte (un emoji, une lettre ou `logo:<nom>`) | non | | Affiché à côté de l'agent. Un emoji est affiché tel quel ; `logo:claude`, `logo:gemini`, `logo:openai`, `logo:mistral` ou `logo:copilot` affiche le logo de cette marque sur un disque clair (un autre nom est un avertissement, et affiche une lettre) ; sinon sa première lettre est affichée dans un rond coloré (la couleur dépend de `name`). Sans `icon`, le rond contient la première lettre de `title`. | | |
| 86 | +| `icon` | texte (un emoji, une lettre ou `logo:<nom>`) | non | | Affiché à côté de l'agent. Un emoji est affiché tel quel ; `logo:claude`, `logo:gemini`, `logo:antigravity`, `logo:openai`, `logo:mistral` ou `logo:copilot` affiche le logo de cette marque sur un disque clair (un autre nom est un avertissement, et affiche une lettre) ; sinon sa première lettre est affichée dans un rond coloré (la couleur dépend de `name`). Sans `icon`, le rond contient la première lettre de `title`. | | |
| 87 | 87 | | `description` | texte | non | | Une phrase affichée dans la liste `@`. | |
| 88 | 88 | | `command` | texte | oui | | Programme qui sert ACP sur stdio. | |
| 89 | 89 | | `args` | liste de textes | non | `[]` | Ses arguments. | |
| @@ -39,7 +39,7 @@ Le fichier est cherché dans cet ordre ; la première source applicable l'emport | |||
| 39 | | `ui` | objet | non | | Préférences d'interface. | | 39 | | `ui` | objet | non | | Préférences d'interface. | |
| 40 | | `limits` | objet | non | | Limites de ressources. | | 40 | | `limits` | objet | non | | Limites de ressources. | |
| 41 | | `agentTools` | objet | non | | Les outils que Sidekicks propose aux agents ([plus bas](#agenttools)). | | 41 | | `agentTools` | objet | non | | Les outils que Sidekicks propose aux agents ([plus bas](#agenttools)). | |
| 42 | -| `agentsFolder` | chemin | non | `~/Documents/Sidekicks-Agents` | Où les assistants qui créent des agents font un dossier par agent ([mini-me](../how-to/creer-un-agent-mini-me.md), [Claude, Gemini, Codex, Vibe, Copilot dans une sandbox](../how-to/creer-un-agent-dans-une-sandbox.md)) : absolu, `~/…`, ou relatif à ce fichier. Créé s'il manque. | | 42 | +| `agentsFolder` | chemin | non | `~/Documents/Sidekicks-Agents` | Où les assistants qui créent des agents font un dossier par agent ([mini-me](../how-to/creer-un-agent-mini-me.md), [Claude, Antigravity, Codex, Vibe, Copilot dans une sandbox](../how-to/creer-un-agent-dans-une-sandbox.md)) : absolu, `~/…`, ou relatif à ce fichier. Créé s'il manque. | |
| 43 | | `agents` | liste d'agents | oui | | Les agents disponibles avec `@nom`. Peut être vide. | | 43 | | `agents` | liste d'agents | oui | | Les agents disponibles avec `@nom`. Peut être vide. | |
| 44 | | `channels` | liste de channels | non | `[]` | Channels créés au démarrage s'ils n'existent pas encore. | | 44 | | `channels` | liste de channels | non | `[]` | Channels créés au démarrage s'ils n'existent pas encore. | |
| 45 | 45 | ||
| @@ -83,7 +83,7 @@ agentTools: | |||
| 83 | | --- | --- | --- | --- | --- | | 83 | | --- | --- | --- | --- | --- | |
| 84 | | `name` | identifiant | oui | | Minuscules, chiffres, `-`, `_` ; commence par une lettre ; 32 caractères au plus. Sert dans `@nom` et `/nom:commande`. **Unique.** | | 84 | | `name` | identifiant | oui | | Minuscules, chiffres, `-`, `_` ; commence par une lettre ; 32 caractères au plus. Sert dans `@nom` et `/nom:commande`. **Unique.** | |
| 85 | | `title` | texte | non | `name` | Nom affiché dans l'interface. | | 85 | | `title` | texte | non | `name` | Nom affiché dans l'interface. | |
| 86 | -| `icon` | texte (un emoji, une lettre ou `logo:<nom>`) | non | | Affiché à côté de l'agent. Un emoji est affiché tel quel ; `logo:claude`, `logo:gemini`, `logo:openai`, `logo:mistral` ou `logo:copilot` affiche le logo de cette marque sur un disque clair (un autre nom est un avertissement, et affiche une lettre) ; sinon sa première lettre est affichée dans un rond coloré (la couleur dépend de `name`). Sans `icon`, le rond contient la première lettre de `title`. | | 86 | +| `icon` | texte (un emoji, une lettre ou `logo:<nom>`) | non | | Affiché à côté de l'agent. Un emoji est affiché tel quel ; `logo:claude`, `logo:gemini`, `logo:antigravity`, `logo:openai`, `logo:mistral` ou `logo:copilot` affiche le logo de cette marque sur un disque clair (un autre nom est un avertissement, et affiche une lettre) ; sinon sa première lettre est affichée dans un rond coloré (la couleur dépend de `name`). Sans `icon`, le rond contient la première lettre de `title`. | |
| 87 | | `description` | texte | non | | Une phrase affichée dans la liste `@`. | | 87 | | `description` | texte | non | | Une phrase affichée dans la liste `@`. | |
| 88 | | `command` | texte | oui | | Programme qui sert ACP sur stdio. | | 88 | | `command` | texte | oui | | Programme qui sert ACP sur stdio. | |
| 89 | | `args` | liste de textes | non | `[]` | Ses arguments. | | 89 | | `args` | liste de textes | non | `[]` | Ses arguments. | |
modified
docs/fr/reference/raccourcis-clavier.md +1 -1 | @@ -25,7 +25,7 @@ Sous Linux et Windows, quand le curseur est dans le terminal d'un agent, le term | ||
| 25 | 25 | | Entrée | Lance la sélection | |
| 26 | 26 | | Échap, ou un clic à côté | Ferme la palette | |
| 27 | 27 | |
| 28 | -La palette liste, dans l'ordre : les channels, une conversation par agent, les fichiers de chaque agent, les actions du tableau ci-dessus, **Créer un agent mini-me**, **Créer un agent dans une sandbox (Claude, Gemini, Codex, Vibe, Copilot)** et **Ouvrir une configuration…**. | |
| 28 | +La palette liste, dans l'ordre : les channels, une conversation par agent, les fichiers de chaque agent, les actions du tableau ci-dessus, **Créer un agent mini-me**, **Créer un agent dans une sandbox (Claude, Antigravity, Codex, Vibe, Copilot)** et **Ouvrir une configuration…**. | |
| 29 | 29 | |
| 30 | 30 | ## Zone de message |
| 31 | 31 | |
| @@ -25,7 +25,7 @@ Sous Linux et Windows, quand le curseur est dans le terminal d'un agent, le term | |||
| 25 | | Entrée | Lance la sélection | | 25 | | Entrée | Lance la sélection | |
| 26 | | Échap, ou un clic à côté | Ferme la palette | | 26 | | Échap, ou un clic à côté | Ferme la palette | |
| 27 | 27 | ||
| 28 | -La palette liste, dans l'ordre : les channels, une conversation par agent, les fichiers de chaque agent, les actions du tableau ci-dessus, **Créer un agent mini-me**, **Créer un agent dans une sandbox (Claude, Gemini, Codex, Vibe, Copilot)** et **Ouvrir une configuration…**. | 28 | +La palette liste, dans l'ordre : les channels, une conversation par agent, les fichiers de chaque agent, les actions du tableau ci-dessus, **Créer un agent mini-me**, **Créer un agent dans une sandbox (Claude, Antigravity, Codex, Vibe, Copilot)** et **Ouvrir une configuration…**. |
| 29 | 29 | ||
| 30 | ## Zone de message | 30 | ## Zone de message |
| 31 | 31 | ||
modified
docs/release-notes/v1.6.0.fr.md +7 -3 | @@ -8,7 +8,7 @@ Sidekicks 1.6.0 ajoute GitHub Copilot aux agents que crée l'assistant des sandb | ||
| 8 | 8 | |
| 9 | 9 | ### Créer un agent GitHub Copilot dans une sandbox (#103) |
| 10 | 10 | |
| 11 | -- **✨ Créer un agent dans une sandbox** propose maintenant **Copilot** (Copilot CLI, de GitHub) à côté de Claude, Gemini, Codex et Vibe, avec le logo de GitHub Copilot. Sidekicks écrit son dossier dans le dossier Sidekicks-Agents de vos Documents et le démarre avec `copilot --acp --stdio` dans une sandbox du `copilot-kit` de Docker. | |
| 11 | +- **✨ Créer un agent dans une sandbox** propose maintenant **Copilot** (Copilot CLI, de GitHub) à côté de Claude, Antigravity, Codex et Vibe, avec le logo de GitHub Copilot. Sidekicks écrit son dossier dans le dossier Sidekicks-Agents de vos Documents et le démarre avec `copilot --acp --stdio` dans une sandbox du `copilot-kit` de Docker. | |
| 12 | 12 | - Copilot passe par votre compte GitHub : au lieu d'une clé d'API, il lui faut un **jeton GitHub** autorisé à utiliser Copilot, et un abonnement Copilot. Si l'outil GitHub (gh) est installé, **Utiliser mon compte GitHub** prend son jeton (`gh auth token`) sans l'afficher — et **Se connecter à GitHub** lance `gh auth login` pour vous quand il n'est pas encore connecté : Sidekicks affiche le code et ouvre la page où vous le confirmez. Sans gh, collez un jeton « fine-grained » avec la permission **Copilot Requests**. sbx l'enregistre pour Copilot (`copilot`) et pour `git` et `gh` dans la sandbox (`github`) : l'agent peut travailler sur vos dépôts GitHub avec votre compte. Le jeton n'est jamais écrit dans un fichier ni dans un journal. |
| 13 | 13 | - L'assistant « Ajouter un agent » reconnaît aussi une sandbox de Copilot (`agent: copilot` : `copilot --acp --stdio`). |
| 14 | 14 | |
| @@ -23,12 +23,16 @@ Sidekicks 1.6.0 ajoute GitHub Copilot aux agents que crée l'assistant des sandb | ||
| 23 | 23 | - Sans clé ni connexion, sbx demande à la création de la sandbox s'il faut se connecter à OpenAI sur le web — une question à laquelle Sidekicks ne peut pas répondre. L'agent s'arrête maintenant avec une phrase qui le dit et un bouton **Me connecter avec mon compte ChatGPT** ; une fois connecté, l'agent redémarre. |
| 24 | 24 | - Une commande de sandbox ou de conteneur qui échoue montre maintenant ses dernières lignes dans son erreur, pas seulement « exit status 1 ». |
| 25 | 25 | |
| 26 | -→ [Créer un agent Claude, Gemini, Codex, Vibe ou Copilot dans une sandbox](https://rickub.com/bots-garden/sidekicks/blob/v1.6.0/docs/fr/how-to/creer-un-agent-dans-une-sandbox.md) | |
| 26 | +→ [Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox](https://rickub.com/bots-garden/sidekicks/blob/v1.6.0/docs/fr/how-to/creer-un-agent-dans-une-sandbox.md) | |
| 27 | + | |
| 28 | +### Petits changements | |
| 29 | + | |
| 30 | +- Dans l'assistant des sandboxes, l'agent qui s'appelait **Gemini** s'appelle maintenant **Antigravity**, avec le logo de Google Antigravity : il passe par Google Antigravity depuis la 1.5.0, avec les modèles Gemini (#108). Les agents créés avant gardent leur nom et leur logo Gemini. | |
| 27 | 31 | |
| 28 | 32 | ## Bon à savoir pour la mise à jour |
| 29 | 33 | |
| 30 | 34 | - Glissez le nouveau **sidekicks** dans **Applications** et confirmez le remplacement ; votre configuration et votre historique sont gardés. |
| 31 | -- Vos fichiers de configuration fonctionnent tels quels. L'`icon` d'un agent peut maintenant valoir aussi `logo:copilot`. | |
| 35 | +- Vos fichiers de configuration fonctionnent tels quels. L'`icon` d'un agent peut maintenant valoir aussi `logo:copilot` ou `logo:antigravity` ; `logo:gemini` fonctionne toujours. | |
| 32 | 36 | - Le serveur ACP de Copilot CLI est en « public preview » chez GitHub : il peut changer. |
| 33 | 37 | |
| 34 | 38 | ## Fichiers |
| @@ -8,7 +8,7 @@ Sidekicks 1.6.0 ajoute GitHub Copilot aux agents que crée l'assistant des sandb | |||
| 8 | 8 | ||
| 9 | ### Créer un agent GitHub Copilot dans une sandbox (#103) | 9 | ### Créer un agent GitHub Copilot dans une sandbox (#103) |
| 10 | 10 | ||
| 11 | -- **✨ Créer un agent dans une sandbox** propose maintenant **Copilot** (Copilot CLI, de GitHub) à côté de Claude, Gemini, Codex et Vibe, avec le logo de GitHub Copilot. Sidekicks écrit son dossier dans le dossier Sidekicks-Agents de vos Documents et le démarre avec `copilot --acp --stdio` dans une sandbox du `copilot-kit` de Docker. | 11 | +- **✨ Créer un agent dans une sandbox** propose maintenant **Copilot** (Copilot CLI, de GitHub) à côté de Claude, Antigravity, Codex et Vibe, avec le logo de GitHub Copilot. Sidekicks écrit son dossier dans le dossier Sidekicks-Agents de vos Documents et le démarre avec `copilot --acp --stdio` dans une sandbox du `copilot-kit` de Docker. |
| 12 | - Copilot passe par votre compte GitHub : au lieu d'une clé d'API, il lui faut un **jeton GitHub** autorisé à utiliser Copilot, et un abonnement Copilot. Si l'outil GitHub (gh) est installé, **Utiliser mon compte GitHub** prend son jeton (`gh auth token`) sans l'afficher — et **Se connecter à GitHub** lance `gh auth login` pour vous quand il n'est pas encore connecté : Sidekicks affiche le code et ouvre la page où vous le confirmez. Sans gh, collez un jeton « fine-grained » avec la permission **Copilot Requests**. sbx l'enregistre pour Copilot (`copilot`) et pour `git` et `gh` dans la sandbox (`github`) : l'agent peut travailler sur vos dépôts GitHub avec votre compte. Le jeton n'est jamais écrit dans un fichier ni dans un journal. | 12 | - Copilot passe par votre compte GitHub : au lieu d'une clé d'API, il lui faut un **jeton GitHub** autorisé à utiliser Copilot, et un abonnement Copilot. Si l'outil GitHub (gh) est installé, **Utiliser mon compte GitHub** prend son jeton (`gh auth token`) sans l'afficher — et **Se connecter à GitHub** lance `gh auth login` pour vous quand il n'est pas encore connecté : Sidekicks affiche le code et ouvre la page où vous le confirmez. Sans gh, collez un jeton « fine-grained » avec la permission **Copilot Requests**. sbx l'enregistre pour Copilot (`copilot`) et pour `git` et `gh` dans la sandbox (`github`) : l'agent peut travailler sur vos dépôts GitHub avec votre compte. Le jeton n'est jamais écrit dans un fichier ni dans un journal. |
| 13 | - L'assistant « Ajouter un agent » reconnaît aussi une sandbox de Copilot (`agent: copilot` : `copilot --acp --stdio`). | 13 | - L'assistant « Ajouter un agent » reconnaît aussi une sandbox de Copilot (`agent: copilot` : `copilot --acp --stdio`). |
| 14 | 14 | ||
| @@ -23,12 +23,16 @@ Sidekicks 1.6.0 ajoute GitHub Copilot aux agents que crée l'assistant des sandb | |||
| 23 | - Sans clé ni connexion, sbx demande à la création de la sandbox s'il faut se connecter à OpenAI sur le web — une question à laquelle Sidekicks ne peut pas répondre. L'agent s'arrête maintenant avec une phrase qui le dit et un bouton **Me connecter avec mon compte ChatGPT** ; une fois connecté, l'agent redémarre. | 23 | - Sans clé ni connexion, sbx demande à la création de la sandbox s'il faut se connecter à OpenAI sur le web — une question à laquelle Sidekicks ne peut pas répondre. L'agent s'arrête maintenant avec une phrase qui le dit et un bouton **Me connecter avec mon compte ChatGPT** ; une fois connecté, l'agent redémarre. |
| 24 | - Une commande de sandbox ou de conteneur qui échoue montre maintenant ses dernières lignes dans son erreur, pas seulement « exit status 1 ». | 24 | - Une commande de sandbox ou de conteneur qui échoue montre maintenant ses dernières lignes dans son erreur, pas seulement « exit status 1 ». |
| 25 | 25 | ||
| 26 | -→ [Créer un agent Claude, Gemini, Codex, Vibe ou Copilot dans une sandbox](https://rickub.com/bots-garden/sidekicks/blob/v1.6.0/docs/fr/how-to/creer-un-agent-dans-une-sandbox.md) | 26 | +→ [Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot dans une sandbox](https://rickub.com/bots-garden/sidekicks/blob/v1.6.0/docs/fr/how-to/creer-un-agent-dans-une-sandbox.md) |
| 27 | + | ||
| 28 | +### Petits changements | ||
| 29 | + | ||
| 30 | +- Dans l'assistant des sandboxes, l'agent qui s'appelait **Gemini** s'appelle maintenant **Antigravity**, avec le logo de Google Antigravity : il passe par Google Antigravity depuis la 1.5.0, avec les modèles Gemini (#108). Les agents créés avant gardent leur nom et leur logo Gemini. | ||
| 27 | 31 | ||
| 28 | ## Bon à savoir pour la mise à jour | 32 | ## Bon à savoir pour la mise à jour |
| 29 | 33 | ||
| 30 | - Glissez le nouveau **sidekicks** dans **Applications** et confirmez le remplacement ; votre configuration et votre historique sont gardés. | 34 | - Glissez le nouveau **sidekicks** dans **Applications** et confirmez le remplacement ; votre configuration et votre historique sont gardés. |
| 31 | -- Vos fichiers de configuration fonctionnent tels quels. L'`icon` d'un agent peut maintenant valoir aussi `logo:copilot`. | 35 | +- Vos fichiers de configuration fonctionnent tels quels. L'`icon` d'un agent peut maintenant valoir aussi `logo:copilot` ou `logo:antigravity` ; `logo:gemini` fonctionne toujours. |
| 32 | - Le serveur ACP de Copilot CLI est en « public preview » chez GitHub : il peut changer. | 36 | - Le serveur ACP de Copilot CLI est en « public preview » chez GitHub : il peut changer. |
| 33 | 37 | ||
| 34 | ## Fichiers | 38 | ## Fichiers |
modified
docs/release-notes/v1.6.0.md +7 -3 | @@ -8,7 +8,7 @@ Sidekicks 1.6.0 adds GitHub Copilot to the agents the sandbox assistant creates, | ||
| 8 | 8 | |
| 9 | 9 | ### Create a GitHub Copilot agent in a sandbox (#103) |
| 10 | 10 | |
| 11 | -- **✨ Create an agent in a sandbox** now offers **Copilot** (GitHub's Copilot CLI) next to Claude, Gemini, Codex and Vibe, with GitHub Copilot's logo. Sidekicks writes its folder in the Sidekicks-Agents folder of your Documents and starts it with `copilot --acp --stdio` in a sandbox of Docker's `copilot-kit`. | |
| 11 | +- **✨ Create an agent in a sandbox** now offers **Copilot** (GitHub's Copilot CLI) next to Claude, Antigravity, Codex and Vibe, with GitHub Copilot's logo. Sidekicks writes its folder in the Sidekicks-Agents folder of your Documents and starts it with `copilot --acp --stdio` in a sandbox of Docker's `copilot-kit`. | |
| 12 | 12 | - Copilot uses your GitHub account: instead of an API key, it needs a **GitHub token** allowed to use Copilot, and a Copilot subscription. If the GitHub CLI is installed, **Use my GitHub account** takes its token (`gh auth token`) without showing it — and **Sign in to GitHub** runs `gh auth login` for you when it is not signed in yet: Sidekicks shows the code and opens the page where you confirm it. Without gh, paste a fine-grained token with the **Copilot Requests** permission. sbx stores it for Copilot (`copilot`) and for `git` and `gh` in the sandbox (`github`): the agent can work on your GitHub repositories with your account. The token is never written in a file nor in a log. |
| 13 | 13 | - The "Add an agent" assistant also recognises a sandbox of Copilot (`agent: copilot`: `copilot --acp --stdio`). |
| 14 | 14 | |
| @@ -23,12 +23,16 @@ Sidekicks 1.6.0 adds GitHub Copilot to the agents the sandbox assistant creates, | ||
| 23 | 23 | - Without a key nor a sign-in, sbx asks whether to sign in to OpenAI on the web when it creates the sandbox — a question Sidekicks cannot answer. The agent now stops with a sentence that says so and a **Sign in with my ChatGPT account** button; once signed in, the agent starts again. |
| 24 | 24 | - A sandbox or container command that fails now shows its last lines in its error, not only "exit status 1". |
| 25 | 25 | |
| 26 | -→ [Create a Claude, Gemini, Codex, Vibe or Copilot agent in a sandbox](https://rickub.com/bots-garden/sidekicks/blob/v1.6.0/docs/en/how-to/create-an-agent-in-a-sandbox.md) | |
| 26 | +→ [Create a Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox](https://rickub.com/bots-garden/sidekicks/blob/v1.6.0/docs/en/how-to/create-an-agent-in-a-sandbox.md) | |
| 27 | + | |
| 28 | +### Smaller changes | |
| 29 | + | |
| 30 | +- In the sandbox assistant, the agent that used to be called **Gemini** is now called **Antigravity**, with Google Antigravity's logo: it has gone through Google Antigravity since 1.5.0, with the Gemini models (#108). Agents created before keep their name and their Gemini logo. | |
| 27 | 31 | |
| 28 | 32 | ## Worth knowing when upgrading |
| 29 | 33 | |
| 30 | 34 | - Drag the new **sidekicks** into **Applications** and confirm the replacement; your configuration and your history are kept. |
| 31 | -- Your configuration files keep working as they are. An agent's `icon` may now also be `logo:copilot`. | |
| 35 | +- Your configuration files keep working as they are. An agent's `icon` may now also be `logo:copilot` or `logo:antigravity`; `logo:gemini` still works. | |
| 32 | 36 | - Copilot CLI's ACP server is a public preview at GitHub: it may change. |
| 33 | 37 | |
| 34 | 38 | ## Files |
| @@ -8,7 +8,7 @@ Sidekicks 1.6.0 adds GitHub Copilot to the agents the sandbox assistant creates, | |||
| 8 | 8 | ||
| 9 | ### Create a GitHub Copilot agent in a sandbox (#103) | 9 | ### Create a GitHub Copilot agent in a sandbox (#103) |
| 10 | 10 | ||
| 11 | -- **✨ Create an agent in a sandbox** now offers **Copilot** (GitHub's Copilot CLI) next to Claude, Gemini, Codex and Vibe, with GitHub Copilot's logo. Sidekicks writes its folder in the Sidekicks-Agents folder of your Documents and starts it with `copilot --acp --stdio` in a sandbox of Docker's `copilot-kit`. | 11 | +- **✨ Create an agent in a sandbox** now offers **Copilot** (GitHub's Copilot CLI) next to Claude, Antigravity, Codex and Vibe, with GitHub Copilot's logo. Sidekicks writes its folder in the Sidekicks-Agents folder of your Documents and starts it with `copilot --acp --stdio` in a sandbox of Docker's `copilot-kit`. |
| 12 | - Copilot uses your GitHub account: instead of an API key, it needs a **GitHub token** allowed to use Copilot, and a Copilot subscription. If the GitHub CLI is installed, **Use my GitHub account** takes its token (`gh auth token`) without showing it — and **Sign in to GitHub** runs `gh auth login` for you when it is not signed in yet: Sidekicks shows the code and opens the page where you confirm it. Without gh, paste a fine-grained token with the **Copilot Requests** permission. sbx stores it for Copilot (`copilot`) and for `git` and `gh` in the sandbox (`github`): the agent can work on your GitHub repositories with your account. The token is never written in a file nor in a log. | 12 | - Copilot uses your GitHub account: instead of an API key, it needs a **GitHub token** allowed to use Copilot, and a Copilot subscription. If the GitHub CLI is installed, **Use my GitHub account** takes its token (`gh auth token`) without showing it — and **Sign in to GitHub** runs `gh auth login` for you when it is not signed in yet: Sidekicks shows the code and opens the page where you confirm it. Without gh, paste a fine-grained token with the **Copilot Requests** permission. sbx stores it for Copilot (`copilot`) and for `git` and `gh` in the sandbox (`github`): the agent can work on your GitHub repositories with your account. The token is never written in a file nor in a log. |
| 13 | - The "Add an agent" assistant also recognises a sandbox of Copilot (`agent: copilot`: `copilot --acp --stdio`). | 13 | - The "Add an agent" assistant also recognises a sandbox of Copilot (`agent: copilot`: `copilot --acp --stdio`). |
| 14 | 14 | ||
| @@ -23,12 +23,16 @@ Sidekicks 1.6.0 adds GitHub Copilot to the agents the sandbox assistant creates, | |||
| 23 | - Without a key nor a sign-in, sbx asks whether to sign in to OpenAI on the web when it creates the sandbox — a question Sidekicks cannot answer. The agent now stops with a sentence that says so and a **Sign in with my ChatGPT account** button; once signed in, the agent starts again. | 23 | - Without a key nor a sign-in, sbx asks whether to sign in to OpenAI on the web when it creates the sandbox — a question Sidekicks cannot answer. The agent now stops with a sentence that says so and a **Sign in with my ChatGPT account** button; once signed in, the agent starts again. |
| 24 | - A sandbox or container command that fails now shows its last lines in its error, not only "exit status 1". | 24 | - A sandbox or container command that fails now shows its last lines in its error, not only "exit status 1". |
| 25 | 25 | ||
| 26 | -→ [Create a Claude, Gemini, Codex, Vibe or Copilot agent in a sandbox](https://rickub.com/bots-garden/sidekicks/blob/v1.6.0/docs/en/how-to/create-an-agent-in-a-sandbox.md) | 26 | +→ [Create a Claude, Antigravity, Codex, Vibe or Copilot agent in a sandbox](https://rickub.com/bots-garden/sidekicks/blob/v1.6.0/docs/en/how-to/create-an-agent-in-a-sandbox.md) |
| 27 | + | ||
| 28 | +### Smaller changes | ||
| 29 | + | ||
| 30 | +- In the sandbox assistant, the agent that used to be called **Gemini** is now called **Antigravity**, with Google Antigravity's logo: it has gone through Google Antigravity since 1.5.0, with the Gemini models (#108). Agents created before keep their name and their Gemini logo. | ||
| 27 | 31 | ||
| 28 | ## Worth knowing when upgrading | 32 | ## Worth knowing when upgrading |
| 29 | 33 | ||
| 30 | - Drag the new **sidekicks** into **Applications** and confirm the replacement; your configuration and your history are kept. | 34 | - Drag the new **sidekicks** into **Applications** and confirm the replacement; your configuration and your history are kept. |
| 31 | -- Your configuration files keep working as they are. An agent's `icon` may now also be `logo:copilot`. | 35 | +- Your configuration files keep working as they are. An agent's `icon` may now also be `logo:copilot` or `logo:antigravity`; `logo:gemini` still works. |
| 32 | - Copilot CLI's ACP server is a public preview at GitHub: it may change. | 36 | - Copilot CLI's ACP server is a public preview at GitHub: it may change. |
| 33 | 37 | ||
| 34 | ## Files | 38 | ## Files |
modified
frontend/src/lib/avatar.test.ts +2 -1 | @@ -11,7 +11,8 @@ describe('logos (issue #100)', () => { | ||
| 11 | 11 | expect('logo' in avatar && avatar.logo.title).toBe('Claude') |
| 12 | 12 | expect(logoOf(' logo:mistral ')?.title).toBe('Mistral AI') |
| 13 | 13 | expect(logoOf('logo:copilot')?.title).toBe('GitHub Copilot') |
| 14 | - expect(Object.keys(logos).sort()).toEqual(['claude', 'copilot', 'gemini', 'mistral', 'openai']) | |
| 14 | + expect(logoOf('logo:antigravity')?.title).toBe('Google Antigravity') | |
| 15 | + expect(Object.keys(logos).sort()).toEqual(['antigravity', 'claude', 'copilot', 'gemini', 'mistral', 'openai']) | |
| 15 | 16 | }) |
| 16 | 17 | it('shows a letter for an unknown logo, and no text icon', () => { |
| 17 | 18 | expect(avatarOf('logo:nope', 'Codex', 'codex')).toMatchObject({ letter: 'C' }) |
| @@ -11,7 +11,8 @@ describe('logos (issue #100)', () => { | |||
| 11 | expect('logo' in avatar && avatar.logo.title).toBe('Claude') | 11 | expect('logo' in avatar && avatar.logo.title).toBe('Claude') |
| 12 | expect(logoOf(' logo:mistral ')?.title).toBe('Mistral AI') | 12 | expect(logoOf(' logo:mistral ')?.title).toBe('Mistral AI') |
| 13 | expect(logoOf('logo:copilot')?.title).toBe('GitHub Copilot') | 13 | expect(logoOf('logo:copilot')?.title).toBe('GitHub Copilot') |
| 14 | - expect(Object.keys(logos).sort()).toEqual(['claude', 'copilot', 'gemini', 'mistral', 'openai']) | 14 | + expect(logoOf('logo:antigravity')?.title).toBe('Google Antigravity') |
| 15 | + expect(Object.keys(logos).sort()).toEqual(['antigravity', 'claude', 'copilot', 'gemini', 'mistral', 'openai']) | ||
| 15 | }) | 16 | }) |
| 16 | it('shows a letter for an unknown logo, and no text icon', () => { | 17 | it('shows a letter for an unknown logo, and no text icon', () => { |
| 17 | expect(avatarOf('logo:nope', 'Codex', 'codex')).toMatchObject({ letter: 'C' }) | 18 | expect(avatarOf('logo:nope', 'Codex', 'codex')).toMatchObject({ letter: 'C' }) |
modified
frontend/src/lib/i18n/messages.ts +6 -6 | @@ -363,8 +363,8 @@ export const en = { | ||
| 363 | 363 | 'agents.add': '+ Add an agent', |
| 364 | 364 | 'agents.create': '✨ Create a mini-me agent', |
| 365 | 365 | 'agents.createSbx': '✨ Create an agent in a sandbox', |
| 366 | - 'welcome.createSbxFirst': '✨ Create a Claude, Gemini, Codex, Vibe or Copilot agent', | |
| 367 | - 'action.createSbxAgent': 'Create an agent in a sandbox (Claude, Gemini, Codex, Vibe, Copilot)', | |
| 366 | + 'welcome.createSbxFirst': '✨ Create a Claude, Antigravity, Codex, Vibe or Copilot agent', | |
| 367 | + 'action.createSbxAgent': 'Create an agent in a sandbox (Claude, Antigravity, Codex, Vibe, Copilot)', | |
| 368 | 368 | 'creator.problem.sandboxExists': 'A sandbox with this name already exists: choose another name.', |
| 369 | 369 | 'creator.problem.taken': 'This name is already used (by an agent, a folder or a sandbox): try {suggestion}.', |
| 370 | 370 | 'creator.agentTitle': 'Name shown', |
| @@ -372,7 +372,7 @@ export const en = { | ||
| 372 | 372 | 'sbxCreator.intro': 'Choose the agent: it runs in a Docker Sandbox, isolated from your computer. Sidekicks prepares everything.', |
| 373 | 373 | 'sbxCreator.choose': 'Which agent?', |
| 374 | 374 | 'sbxCreator.kind.claude': "Anthropic's Claude Code", |
| 375 | - 'sbxCreator.kind.gemini': 'Google Gemini, through Antigravity', | |
| 375 | + 'sbxCreator.kind.antigravity': 'Google Antigravity, with the Gemini models', | |
| 376 | 376 | 'sbxCreator.kind.codex': "OpenAI's Codex", |
| 377 | 377 | 'sbxCreator.kind.vibe': "Mistral AI's Vibe", |
| 378 | 378 | 'sbxCreator.kind.copilot': "GitHub's Copilot CLI", |
| @@ -882,8 +882,8 @@ export const fr: Record<MessageKey, string> = { | ||
| 882 | 882 | 'agents.add': '+ Ajouter un agent', |
| 883 | 883 | 'agents.create': '✨ Créer un agent mini-me', |
| 884 | 884 | 'agents.createSbx': '✨ Créer un agent dans une sandbox', |
| 885 | - 'welcome.createSbxFirst': '✨ Créer un agent Claude, Gemini, Codex, Vibe ou Copilot', | |
| 886 | - 'action.createSbxAgent': 'Créer un agent dans une sandbox (Claude, Gemini, Codex, Vibe, Copilot)', | |
| 885 | + 'welcome.createSbxFirst': '✨ Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot', | |
| 886 | + 'action.createSbxAgent': 'Créer un agent dans une sandbox (Claude, Antigravity, Codex, Vibe, Copilot)', | |
| 887 | 887 | 'creator.problem.sandboxExists': 'Une sandbox porte déjà ce nom : choisissez un autre nom.', |
| 888 | 888 | 'creator.problem.taken': 'Ce nom est déjà utilisé (par un agent, un dossier ou une sandbox) : essayez {suggestion}.', |
| 889 | 889 | 'creator.agentTitle': 'Nom affiché', |
| @@ -891,7 +891,7 @@ export const fr: Record<MessageKey, string> = { | ||
| 891 | 891 | 'sbxCreator.intro': "Choisissez l'agent : il tourne dans une Docker Sandbox, isolé de votre ordinateur. Sidekicks prépare tout.", |
| 892 | 892 | 'sbxCreator.choose': 'Quel agent ?', |
| 893 | 893 | 'sbxCreator.kind.claude': "Claude Code, d'Anthropic", |
| 894 | - 'sbxCreator.kind.gemini': 'Gemini de Google, via Antigravity', | |
| 894 | + 'sbxCreator.kind.antigravity': 'Google Antigravity, avec les modèles Gemini', | |
| 895 | 895 | 'sbxCreator.kind.codex': "Codex, d'OpenAI", |
| 896 | 896 | 'sbxCreator.kind.vibe': 'Vibe, de Mistral AI', |
| 897 | 897 | 'sbxCreator.kind.copilot': 'Copilot CLI, de GitHub', |
| @@ -363,8 +363,8 @@ export const en = { | |||
| 363 | 'agents.add': '+ Add an agent', | 363 | 'agents.add': '+ Add an agent', |
| 364 | 'agents.create': '✨ Create a mini-me agent', | 364 | 'agents.create': '✨ Create a mini-me agent', |
| 365 | 'agents.createSbx': '✨ Create an agent in a sandbox', | 365 | 'agents.createSbx': '✨ Create an agent in a sandbox', |
| 366 | - 'welcome.createSbxFirst': '✨ Create a Claude, Gemini, Codex, Vibe or Copilot agent', | 366 | + 'welcome.createSbxFirst': '✨ Create a Claude, Antigravity, Codex, Vibe or Copilot agent', |
| 367 | - 'action.createSbxAgent': 'Create an agent in a sandbox (Claude, Gemini, Codex, Vibe, Copilot)', | 367 | + 'action.createSbxAgent': 'Create an agent in a sandbox (Claude, Antigravity, Codex, Vibe, Copilot)', |
| 368 | 'creator.problem.sandboxExists': 'A sandbox with this name already exists: choose another name.', | 368 | 'creator.problem.sandboxExists': 'A sandbox with this name already exists: choose another name.', |
| 369 | 'creator.problem.taken': 'This name is already used (by an agent, a folder or a sandbox): try {suggestion}.', | 369 | 'creator.problem.taken': 'This name is already used (by an agent, a folder or a sandbox): try {suggestion}.', |
| 370 | 'creator.agentTitle': 'Name shown', | 370 | 'creator.agentTitle': 'Name shown', |
| @@ -372,7 +372,7 @@ export const en = { | |||
| 372 | 'sbxCreator.intro': 'Choose the agent: it runs in a Docker Sandbox, isolated from your computer. Sidekicks prepares everything.', | 372 | 'sbxCreator.intro': 'Choose the agent: it runs in a Docker Sandbox, isolated from your computer. Sidekicks prepares everything.', |
| 373 | 'sbxCreator.choose': 'Which agent?', | 373 | 'sbxCreator.choose': 'Which agent?', |
| 374 | 'sbxCreator.kind.claude': "Anthropic's Claude Code", | 374 | 'sbxCreator.kind.claude': "Anthropic's Claude Code", |
| 375 | - 'sbxCreator.kind.gemini': 'Google Gemini, through Antigravity', | 375 | + 'sbxCreator.kind.antigravity': 'Google Antigravity, with the Gemini models', |
| 376 | 'sbxCreator.kind.codex': "OpenAI's Codex", | 376 | 'sbxCreator.kind.codex': "OpenAI's Codex", |
| 377 | 'sbxCreator.kind.vibe': "Mistral AI's Vibe", | 377 | 'sbxCreator.kind.vibe': "Mistral AI's Vibe", |
| 378 | 'sbxCreator.kind.copilot': "GitHub's Copilot CLI", | 378 | 'sbxCreator.kind.copilot': "GitHub's Copilot CLI", |
| @@ -882,8 +882,8 @@ export const fr: Record<MessageKey, string> = { | |||
| 882 | 'agents.add': '+ Ajouter un agent', | 882 | 'agents.add': '+ Ajouter un agent', |
| 883 | 'agents.create': '✨ Créer un agent mini-me', | 883 | 'agents.create': '✨ Créer un agent mini-me', |
| 884 | 'agents.createSbx': '✨ Créer un agent dans une sandbox', | 884 | 'agents.createSbx': '✨ Créer un agent dans une sandbox', |
| 885 | - 'welcome.createSbxFirst': '✨ Créer un agent Claude, Gemini, Codex, Vibe ou Copilot', | 885 | + 'welcome.createSbxFirst': '✨ Créer un agent Claude, Antigravity, Codex, Vibe ou Copilot', |
| 886 | - 'action.createSbxAgent': 'Créer un agent dans une sandbox (Claude, Gemini, Codex, Vibe, Copilot)', | 886 | + 'action.createSbxAgent': 'Créer un agent dans une sandbox (Claude, Antigravity, Codex, Vibe, Copilot)', |
| 887 | 'creator.problem.sandboxExists': 'Une sandbox porte déjà ce nom : choisissez un autre nom.', | 887 | 'creator.problem.sandboxExists': 'Une sandbox porte déjà ce nom : choisissez un autre nom.', |
| 888 | 'creator.problem.taken': 'Ce nom est déjà utilisé (par un agent, un dossier ou une sandbox) : essayez {suggestion}.', | 888 | 'creator.problem.taken': 'Ce nom est déjà utilisé (par un agent, un dossier ou une sandbox) : essayez {suggestion}.', |
| 889 | 'creator.agentTitle': 'Nom affiché', | 889 | 'creator.agentTitle': 'Nom affiché', |
| @@ -891,7 +891,7 @@ export const fr: Record<MessageKey, string> = { | |||
| 891 | 'sbxCreator.intro': "Choisissez l'agent : il tourne dans une Docker Sandbox, isolé de votre ordinateur. Sidekicks prépare tout.", | 891 | 'sbxCreator.intro': "Choisissez l'agent : il tourne dans une Docker Sandbox, isolé de votre ordinateur. Sidekicks prépare tout.", |
| 892 | 'sbxCreator.choose': 'Quel agent ?', | 892 | 'sbxCreator.choose': 'Quel agent ?', |
| 893 | 'sbxCreator.kind.claude': "Claude Code, d'Anthropic", | 893 | 'sbxCreator.kind.claude': "Claude Code, d'Anthropic", |
| 894 | - 'sbxCreator.kind.gemini': 'Gemini de Google, via Antigravity', | 894 | + 'sbxCreator.kind.antigravity': 'Google Antigravity, avec les modèles Gemini', |
| 895 | 'sbxCreator.kind.codex': "Codex, d'OpenAI", | 895 | 'sbxCreator.kind.codex': "Codex, d'OpenAI", |
| 896 | 'sbxCreator.kind.vibe': 'Vibe, de Mistral AI', | 896 | 'sbxCreator.kind.vibe': 'Vibe, de Mistral AI', |
| 897 | 'sbxCreator.kind.copilot': 'Copilot CLI, de GitHub', | 897 | 'sbxCreator.kind.copilot': 'Copilot CLI, de GitHub', |
modified
frontend/src/lib/logos.ts +11 -0 | @@ -19,6 +19,11 @@ | ||
| 19 | 19 | // kept (https://github.com/primer/octicons/blob/main/LICENSE). GitHub and |
| 20 | 20 | // GitHub Copilot are trademarks of GitHub, Inc., shown only to name the |
| 21 | 21 | // product. |
| 22 | +// Google Antigravity (issue #108) is LobeHub Icons' monochrome drawing | |
| 23 | +// (npm @lobehub/icons-static-svg 1.102.0, https://github.com/lobehub/lobe-icons), | |
| 24 | +// under the MIT licence: Copyright (c) LobeHub, permission granted to use, | |
| 25 | +// copy and distribute it provided this notice is kept. Antigravity and | |
| 26 | +// Gemini are trademarks of Google LLC, shown only to name the product. | |
| 22 | 27 | |
| 23 | 28 | export interface Logo { |
| 24 | 29 | title: string |
| @@ -43,6 +48,12 @@ export const logos: Record<string, Logo> = { | ||
| 43 | 48 | source: 'https://gemini.google.com (Simple Icons, CC0-1.0)', |
| 44 | 49 | path: 'M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81', |
| 45 | 50 | }, |
| 51 | + antigravity: { | |
| 52 | + title: 'Google Antigravity', | |
| 53 | + color: '#4285F4', | |
| 54 | + source: 'https://antigravity.google (LobeHub Icons 1.102.0, MIT)', | |
| 55 | + path: 'M21.751 22.607c1.34 1.005 3.35.335 1.508-1.508C17.73 15.74 18.904 1 12.037 1 5.17 1 6.342 15.74.815 21.1c-2.01 2.009.167 2.511 1.507 1.506 5.192-3.517 4.857-9.714 9.715-9.714 4.857 0 4.522 6.197 9.714 9.715z', | |
| 56 | + }, | |
| 46 | 57 | openai: { |
| 47 | 58 | title: 'OpenAI', |
| 48 | 59 | color: '#000000', |
| @@ -19,6 +19,11 @@ | |||
| 19 | // kept (https://github.com/primer/octicons/blob/main/LICENSE). GitHub and | 19 | // kept (https://github.com/primer/octicons/blob/main/LICENSE). GitHub and |
| 20 | // GitHub Copilot are trademarks of GitHub, Inc., shown only to name the | 20 | // GitHub Copilot are trademarks of GitHub, Inc., shown only to name the |
| 21 | // product. | 21 | // product. |
| 22 | +// Google Antigravity (issue #108) is LobeHub Icons' monochrome drawing | ||
| 23 | +// (npm @lobehub/icons-static-svg 1.102.0, https://github.com/lobehub/lobe-icons), | ||
| 24 | +// under the MIT licence: Copyright (c) LobeHub, permission granted to use, | ||
| 25 | +// copy and distribute it provided this notice is kept. Antigravity and | ||
| 26 | +// Gemini are trademarks of Google LLC, shown only to name the product. | ||
| 22 | 27 | ||
| 23 | export interface Logo { | 28 | export interface Logo { |
| 24 | title: string | 29 | title: string |
| @@ -43,6 +48,12 @@ export const logos: Record<string, Logo> = { | |||
| 43 | source: 'https://gemini.google.com (Simple Icons, CC0-1.0)', | 48 | source: 'https://gemini.google.com (Simple Icons, CC0-1.0)', |
| 44 | path: 'M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81', | 49 | path: 'M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81', |
| 45 | }, | 50 | }, |
| 51 | + antigravity: { | ||
| 52 | + title: 'Google Antigravity', | ||
| 53 | + color: '#4285F4', | ||
| 54 | + source: 'https://antigravity.google (LobeHub Icons 1.102.0, MIT)', | ||
| 55 | + path: 'M21.751 22.607c1.34 1.005 3.35.335 1.508-1.508C17.73 15.74 18.904 1 12.037 1 5.17 1 6.342 15.74.815 21.1c-2.01 2.009.167 2.511 1.507 1.506 5.192-3.517 4.857-9.714 9.715-9.714 4.857 0 4.522 6.197 9.714 9.715z', | ||
| 56 | + }, | ||
| 46 | openai: { | 57 | openai: { |
| 47 | title: 'OpenAI', | 58 | title: 'OpenAI', |
| 48 | color: '#000000', | 59 | color: '#000000', |
modified
internal/app/sbxcreator_test.go +17 -17 | @@ -53,22 +53,22 @@ func sbxFixture(t *testing.T, sandboxes string) (*app.SbxCreatorService, string, | ||
| 53 | 53 | |
| 54 | 54 | func TestCheckSuggestsAFreeNameAndTellsWhetherTheKeyIsStored(t *testing.T) { |
| 55 | 55 | service, _, folder, bin := sbxFixture(t, "codex\n") |
| 56 | - if err := os.MkdirAll(filepath.Join(folder, "gemini"), 0o755); err != nil { | |
| 56 | + if err := os.MkdirAll(filepath.Join(folder, "antigravity"), 0o755); err != nil { | |
| 57 | 57 | t.Fatal(err) |
| 58 | 58 | } |
| 59 | 59 | write(t, filepath.Join(bin, "secrets"), "(global) openai sk-****\n") |
| 60 | - // claude is an agent, gemini a folder, codex a sandbox. | |
| 60 | + // claude is an agent, antigravity a folder, codex a sandbox. | |
| 61 | 61 | for kind, want := range map[string]app.SbxCheck{ |
| 62 | - "claude": {Name: "claude-2", AgentsFolder: folder}, | |
| 63 | - "gemini": {Name: "gemini-2", AgentsFolder: folder}, | |
| 64 | - "codex": {Name: "codex-2", HasKey: true, AgentsFolder: folder}, | |
| 62 | + "claude": {Name: "claude-2", AgentsFolder: folder}, | |
| 63 | + "antigravity": {Name: "antigravity-2", AgentsFolder: folder}, | |
| 64 | + "codex": {Name: "codex-2", HasKey: true, AgentsFolder: folder}, | |
| 65 | 65 | } { |
| 66 | 66 | got, err := service.Check(context.Background(), kind) |
| 67 | 67 | if err != nil || got.Name != want.Name || got.HasKey != want.HasKey || got.AgentsFolder != want.AgentsFolder { |
| 68 | 68 | t.Errorf("%s: %+v %v, want %+v", kind, got, err, want) |
| 69 | 69 | } |
| 70 | 70 | // Issue #99: the names taken by an agent, a folder or a sandbox. |
| 71 | - if !slices.Equal(got.Taken, []string{"claude", "codex", "gemini"}) { | |
| 71 | + if !slices.Equal(got.Taken, []string{"antigravity", "claude", "codex"}) { | |
| 72 | 72 | t.Errorf("%s: taken %v", kind, got.Taken) |
| 73 | 73 | } |
| 74 | 74 | } |
| @@ -79,7 +79,7 @@ func TestCheckSuggestsAFreeNameAndTellsWhetherTheKeyIsStored(t *testing.T) { | ||
| 79 | 79 | |
| 80 | 80 | func TestSetKeyStoresTheKeyWithSbx(t *testing.T) { |
| 81 | 81 | service, _, _, bin := sbxFixture(t, "") |
| 82 | - if err := service.SetKey(context.Background(), "gemini", "AIza-secret"); err != nil { | |
| 82 | + if err := service.SetKey(context.Background(), "antigravity", "AIza-secret"); err != nil { | |
| 83 | 83 | t.Fatal(err) |
| 84 | 84 | } |
| 85 | 85 | key, _ := os.ReadFile(filepath.Join(bin, "key")) |
| @@ -87,31 +87,31 @@ func TestSetKeyStoresTheKeyWithSbx(t *testing.T) { | ||
| 87 | 87 | if string(key) != "AIza-secret" || strings.Contains(string(calls), "AIza") || !strings.Contains(string(calls), "secret set google") { |
| 88 | 88 | t.Fatalf("key %q, calls %q", key, calls) |
| 89 | 89 | } |
| 90 | - if check, _ := service.Check(context.Background(), "gemini"); !check.HasKey { | |
| 90 | + if check, _ := service.Check(context.Background(), "antigravity"); !check.HasKey { | |
| 91 | 91 | t.Fatal("the key should now be stored") |
| 92 | 92 | } |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | func TestCreateWritesTheFolderAndAddsTheAgent(t *testing.T) { |
| 96 | 96 | service, path, folder, _ := sbxFixture(t, "") |
| 97 | - result, err := service.Create(context.Background(), app.SbxCreateForm{Kind: "gemini", Name: "gemini", Icon: "📘"}) | |
| 98 | - if err != nil || result.Problem != "" || len(result.Problems) != 0 || result.Name != "gemini" || result.Folder != filepath.Join(folder, "gemini") { | |
| 97 | + result, err := service.Create(context.Background(), app.SbxCreateForm{Kind: "antigravity", Name: "antigravity", Icon: "📘"}) | |
| 98 | + if err != nil || result.Problem != "" || len(result.Problems) != 0 || result.Name != "antigravity" || result.Folder != filepath.Join(folder, "antigravity") { | |
| 99 | 99 | t.Fatalf("create: %+v %v", result, err) |
| 100 | 100 | } |
| 101 | 101 | cfg, err := config.Load(path) |
| 102 | 102 | if err != nil { |
| 103 | 103 | t.Fatal(err) |
| 104 | 104 | } |
| 105 | - gemini, ok := cfg.Agent("gemini") | |
| 106 | - dir := filepath.Join(folder, "gemini") | |
| 105 | + antigravity, ok := cfg.Agent("antigravity") | |
| 106 | + dir := filepath.Join(folder, "antigravity") | |
| 107 | 107 | // As the owner's entries: sbx exec -i <sandbox> <program>, the workspace, |
| 108 | 108 | // the lifecycle in the agent's folder. |
| 109 | - lifecycle := gemini.Runtime.Lifecycle | |
| 110 | - got := fmt.Sprintf("%s %s %s %v %s %s %s %s %v %v %v", gemini.Title, gemini.Icon, filepath.Base(gemini.Command), gemini.Args, gemini.Workspace, | |
| 111 | - gemini.Runtime.Type, gemini.Runtime.Sandbox, lifecycle.Folder, lifecycle.Create[1:], lifecycle.Stop[1:], lifecycle.Remove[1:]) | |
| 112 | - want := fmt.Sprintf("Gemini 📘 sbx [exec -i gemini agy acp] %s sbx gemini %s [env create --force] [stop gemini] [env rm --force]", filepath.Join(dir, "workspace"), dir) | |
| 109 | + lifecycle := antigravity.Runtime.Lifecycle | |
| 110 | + got := fmt.Sprintf("%s %s %s %v %s %s %s %s %v %v %v", antigravity.Title, antigravity.Icon, filepath.Base(antigravity.Command), antigravity.Args, antigravity.Workspace, | |
| 111 | + antigravity.Runtime.Type, antigravity.Runtime.Sandbox, lifecycle.Folder, lifecycle.Create[1:], lifecycle.Stop[1:], lifecycle.Remove[1:]) | |
| 112 | + want := fmt.Sprintf("Antigravity 📘 sbx [exec -i antigravity agy acp] %s sbx antigravity %s [env create --force] [stop antigravity] [env rm --force]", filepath.Join(dir, "workspace"), dir) | |
| 113 | 113 | if !ok || got != want { |
| 114 | - t.Fatalf("gemini:\n got %s\nwant %s", got, want) | |
| 114 | + t.Fatalf("antigravity:\n got %s\nwant %s", got, want) | |
| 115 | 115 | } |
| 116 | 116 | if _, err := os.Stat(filepath.Join(dir, sbxcreate.SbxEnvFile)); err != nil { |
| 117 | 117 | t.Fatal(err) |
| @@ -53,22 +53,22 @@ func sbxFixture(t *testing.T, sandboxes string) (*app.SbxCreatorService, string, | |||
| 53 | 53 | ||
| 54 | func TestCheckSuggestsAFreeNameAndTellsWhetherTheKeyIsStored(t *testing.T) { | 54 | func TestCheckSuggestsAFreeNameAndTellsWhetherTheKeyIsStored(t *testing.T) { |
| 55 | service, _, folder, bin := sbxFixture(t, "codex\n") | 55 | service, _, folder, bin := sbxFixture(t, "codex\n") |
| 56 | - if err := os.MkdirAll(filepath.Join(folder, "gemini"), 0o755); err != nil { | 56 | + if err := os.MkdirAll(filepath.Join(folder, "antigravity"), 0o755); err != nil { |
| 57 | t.Fatal(err) | 57 | t.Fatal(err) |
| 58 | } | 58 | } |
| 59 | write(t, filepath.Join(bin, "secrets"), "(global) openai sk-****\n") | 59 | write(t, filepath.Join(bin, "secrets"), "(global) openai sk-****\n") |
| 60 | - // claude is an agent, gemini a folder, codex a sandbox. | 60 | + // claude is an agent, antigravity a folder, codex a sandbox. |
| 61 | for kind, want := range map[string]app.SbxCheck{ | 61 | for kind, want := range map[string]app.SbxCheck{ |
| 62 | - "claude": {Name: "claude-2", AgentsFolder: folder}, | 62 | + "claude": {Name: "claude-2", AgentsFolder: folder}, |
| 63 | - "gemini": {Name: "gemini-2", AgentsFolder: folder}, | 63 | + "antigravity": {Name: "antigravity-2", AgentsFolder: folder}, |
| 64 | - "codex": {Name: "codex-2", HasKey: true, AgentsFolder: folder}, | 64 | + "codex": {Name: "codex-2", HasKey: true, AgentsFolder: folder}, |
| 65 | } { | 65 | } { |
| 66 | got, err := service.Check(context.Background(), kind) | 66 | got, err := service.Check(context.Background(), kind) |
| 67 | if err != nil || got.Name != want.Name || got.HasKey != want.HasKey || got.AgentsFolder != want.AgentsFolder { | 67 | if err != nil || got.Name != want.Name || got.HasKey != want.HasKey || got.AgentsFolder != want.AgentsFolder { |
| 68 | t.Errorf("%s: %+v %v, want %+v", kind, got, err, want) | 68 | t.Errorf("%s: %+v %v, want %+v", kind, got, err, want) |
| 69 | } | 69 | } |
| 70 | // Issue #99: the names taken by an agent, a folder or a sandbox. | 70 | // Issue #99: the names taken by an agent, a folder or a sandbox. |
| 71 | - if !slices.Equal(got.Taken, []string{"claude", "codex", "gemini"}) { | 71 | + if !slices.Equal(got.Taken, []string{"antigravity", "claude", "codex"}) { |
| 72 | t.Errorf("%s: taken %v", kind, got.Taken) | 72 | t.Errorf("%s: taken %v", kind, got.Taken) |
| 73 | } | 73 | } |
| 74 | } | 74 | } |
| @@ -79,7 +79,7 @@ func TestCheckSuggestsAFreeNameAndTellsWhetherTheKeyIsStored(t *testing.T) { | |||
| 79 | 79 | ||
| 80 | func TestSetKeyStoresTheKeyWithSbx(t *testing.T) { | 80 | func TestSetKeyStoresTheKeyWithSbx(t *testing.T) { |
| 81 | service, _, _, bin := sbxFixture(t, "") | 81 | service, _, _, bin := sbxFixture(t, "") |
| 82 | - if err := service.SetKey(context.Background(), "gemini", "AIza-secret"); err != nil { | 82 | + if err := service.SetKey(context.Background(), "antigravity", "AIza-secret"); err != nil { |
| 83 | t.Fatal(err) | 83 | t.Fatal(err) |
| 84 | } | 84 | } |
| 85 | key, _ := os.ReadFile(filepath.Join(bin, "key")) | 85 | key, _ := os.ReadFile(filepath.Join(bin, "key")) |
| @@ -87,31 +87,31 @@ func TestSetKeyStoresTheKeyWithSbx(t *testing.T) { | |||
| 87 | if string(key) != "AIza-secret" || strings.Contains(string(calls), "AIza") || !strings.Contains(string(calls), "secret set google") { | 87 | if string(key) != "AIza-secret" || strings.Contains(string(calls), "AIza") || !strings.Contains(string(calls), "secret set google") { |
| 88 | t.Fatalf("key %q, calls %q", key, calls) | 88 | t.Fatalf("key %q, calls %q", key, calls) |
| 89 | } | 89 | } |
| 90 | - if check, _ := service.Check(context.Background(), "gemini"); !check.HasKey { | 90 | + if check, _ := service.Check(context.Background(), "antigravity"); !check.HasKey { |
| 91 | t.Fatal("the key should now be stored") | 91 | t.Fatal("the key should now be stored") |
| 92 | } | 92 | } |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | func TestCreateWritesTheFolderAndAddsTheAgent(t *testing.T) { | 95 | func TestCreateWritesTheFolderAndAddsTheAgent(t *testing.T) { |
| 96 | service, path, folder, _ := sbxFixture(t, "") | 96 | service, path, folder, _ := sbxFixture(t, "") |
| 97 | - result, err := service.Create(context.Background(), app.SbxCreateForm{Kind: "gemini", Name: "gemini", Icon: "📘"}) | 97 | + result, err := service.Create(context.Background(), app.SbxCreateForm{Kind: "antigravity", Name: "antigravity", Icon: "📘"}) |
| 98 | - if err != nil || result.Problem != "" || len(result.Problems) != 0 || result.Name != "gemini" || result.Folder != filepath.Join(folder, "gemini") { | 98 | + if err != nil || result.Problem != "" || len(result.Problems) != 0 || result.Name != "antigravity" || result.Folder != filepath.Join(folder, "antigravity") { |
| 99 | t.Fatalf("create: %+v %v", result, err) | 99 | t.Fatalf("create: %+v %v", result, err) |
| 100 | } | 100 | } |
| 101 | cfg, err := config.Load(path) | 101 | cfg, err := config.Load(path) |
| 102 | if err != nil { | 102 | if err != nil { |
| 103 | t.Fatal(err) | 103 | t.Fatal(err) |
| 104 | } | 104 | } |
| 105 | - gemini, ok := cfg.Agent("gemini") | 105 | + antigravity, ok := cfg.Agent("antigravity") |
| 106 | - dir := filepath.Join(folder, "gemini") | 106 | + dir := filepath.Join(folder, "antigravity") |
| 107 | // As the owner's entries: sbx exec -i <sandbox> <program>, the workspace, | 107 | // As the owner's entries: sbx exec -i <sandbox> <program>, the workspace, |
| 108 | // the lifecycle in the agent's folder. | 108 | // the lifecycle in the agent's folder. |
| 109 | - lifecycle := gemini.Runtime.Lifecycle | 109 | + lifecycle := antigravity.Runtime.Lifecycle |
| 110 | - got := fmt.Sprintf("%s %s %s %v %s %s %s %s %v %v %v", gemini.Title, gemini.Icon, filepath.Base(gemini.Command), gemini.Args, gemini.Workspace, | 110 | + got := fmt.Sprintf("%s %s %s %v %s %s %s %s %v %v %v", antigravity.Title, antigravity.Icon, filepath.Base(antigravity.Command), antigravity.Args, antigravity.Workspace, |
| 111 | - gemini.Runtime.Type, gemini.Runtime.Sandbox, lifecycle.Folder, lifecycle.Create[1:], lifecycle.Stop[1:], lifecycle.Remove[1:]) | 111 | + antigravity.Runtime.Type, antigravity.Runtime.Sandbox, lifecycle.Folder, lifecycle.Create[1:], lifecycle.Stop[1:], lifecycle.Remove[1:]) |
| 112 | - want := fmt.Sprintf("Gemini 📘 sbx [exec -i gemini agy acp] %s sbx gemini %s [env create --force] [stop gemini] [env rm --force]", filepath.Join(dir, "workspace"), dir) | 112 | + want := fmt.Sprintf("Antigravity 📘 sbx [exec -i antigravity agy acp] %s sbx antigravity %s [env create --force] [stop antigravity] [env rm --force]", filepath.Join(dir, "workspace"), dir) |
| 113 | if !ok || got != want { | 113 | if !ok || got != want { |
| 114 | - t.Fatalf("gemini:\n got %s\nwant %s", got, want) | 114 | + t.Fatalf("antigravity:\n got %s\nwant %s", got, want) |
| 115 | } | 115 | } |
| 116 | if _, err := os.Stat(filepath.Join(dir, sbxcreate.SbxEnvFile)); err != nil { | 116 | if _, err := os.Stat(filepath.Join(dir, sbxcreate.SbxEnvFile)); err != nil { |
| 117 | t.Fatal(err) | 117 | t.Fatal(err) |
modified
internal/config/config.go +1 -1 | @@ -85,7 +85,7 @@ const LogoPrefix = "logo:" | ||
| 85 | 85 | |
| 86 | 86 | // LogoNames are the logos Sidekicks ships, the names icon: "logo:<name>" |
| 87 | 87 | // accepts; frontend/src/lib/logos.ts draws them (a test checks both lists). |
| 88 | -var LogoNames = []string{"claude", "gemini", "openai", "mistral", "copilot"} | |
| 88 | +var LogoNames = []string{"claude", "gemini", "antigravity", "openai", "mistral", "copilot"} | |
| 89 | 89 | |
| 90 | 90 | // AgentToolNames are the tools Sidekicks can offer the agents, the names |
| 91 | 91 | // agentTools.offer accepts (issues #90 and #91). |
| @@ -85,7 +85,7 @@ const LogoPrefix = "logo:" | |||
| 85 | 85 | ||
| 86 | // LogoNames are the logos Sidekicks ships, the names icon: "logo:<name>" | 86 | // LogoNames are the logos Sidekicks ships, the names icon: "logo:<name>" |
| 87 | // accepts; frontend/src/lib/logos.ts draws them (a test checks both lists). | 87 | // accepts; frontend/src/lib/logos.ts draws them (a test checks both lists). |
| 88 | -var LogoNames = []string{"claude", "gemini", "openai", "mistral", "copilot"} | 88 | +var LogoNames = []string{"claude", "gemini", "antigravity", "openai", "mistral", "copilot"} |
| 89 | 89 | ||
| 90 | // AgentToolNames are the tools Sidekicks can offer the agents, the names | 90 | // AgentToolNames are the tools Sidekicks can offer the agents, the names |
| 91 | // agentTools.offer accepts (issues #90 and #91). | 91 | // agentTools.offer accepts (issues #90 and #91). |
modified
internal/sbxcreate/sbxcreate.go +5 -4 | @@ -3,7 +3,7 @@ | ||
| 3 | 3 | // Package sbxcreate creates an agent that runs in a Docker Sandbox (sbx) |
| 4 | 4 | // without a file to write (issue #96): a folder named after the agent, its |
| 5 | 5 | // sbxenv.yaml and its workspace/ folder, for one of the kinds of Catalogue |
| 6 | -// (Claude, Gemini, Codex, Vibe, Copilot…). It also talks to sbx for what the assistant | |
| 6 | +// (Claude, Antigravity, Codex, Vibe, Copilot…). It also talks to sbx for what the assistant | |
| 7 | 7 | // needs: the sandboxes that exist, and the API key of a kind, checked and |
| 8 | 8 | // stored with `sbx secret` without ever being written or logged. |
| 9 | 9 | // |
| @@ -93,9 +93,10 @@ var Catalogue = []Kind{ | ||
| 93 | 93 | Bindings: Binding{APIKey: []string{"api.anthropic.com", "console.anthropic.com"}}, |
| 94 | 94 | }, |
| 95 | 95 | { |
| 96 | - // Gemini through Google Antigravity (agy), whose kit replaces Docker's | |
| 97 | - // deprecated gemini-kit; `agy acp` serves ACP. | |
| 98 | - ID: "gemini", Title: "Gemini", Icon: "logo:gemini", | |
| 96 | + // Google Antigravity (agy), with the Gemini models (issue #108: it | |
| 97 | + // was offered as "Gemini"); its kit replaces Docker's deprecated | |
| 98 | + // gemini-kit, and `agy acp` serves ACP. | |
| 99 | + ID: "antigravity", Title: "Antigravity", Icon: "logo:antigravity", | |
| 99 | 100 | Agent: "antigravity", Kit: "docker.io/sbx/antigravity:latest", Program: "agy acp", |
| 100 | 101 | Service: "google", KeyURL: "https://aistudio.google.com/apikey", |
| 101 | 102 | Bindings: Binding{ |
| @@ -3,7 +3,7 @@ | |||
| 3 | // Package sbxcreate creates an agent that runs in a Docker Sandbox (sbx) | 3 | // Package sbxcreate creates an agent that runs in a Docker Sandbox (sbx) |
| 4 | // without a file to write (issue #96): a folder named after the agent, its | 4 | // without a file to write (issue #96): a folder named after the agent, its |
| 5 | // sbxenv.yaml and its workspace/ folder, for one of the kinds of Catalogue | 5 | // sbxenv.yaml and its workspace/ folder, for one of the kinds of Catalogue |
| 6 | -// (Claude, Gemini, Codex, Vibe, Copilot…). It also talks to sbx for what the assistant | 6 | +// (Claude, Antigravity, Codex, Vibe, Copilot…). It also talks to sbx for what the assistant |
| 7 | // needs: the sandboxes that exist, and the API key of a kind, checked and | 7 | // needs: the sandboxes that exist, and the API key of a kind, checked and |
| 8 | // stored with `sbx secret` without ever being written or logged. | 8 | // stored with `sbx secret` without ever being written or logged. |
| 9 | // | 9 | // |
| @@ -93,9 +93,10 @@ var Catalogue = []Kind{ | |||
| 93 | Bindings: Binding{APIKey: []string{"api.anthropic.com", "console.anthropic.com"}}, | 93 | Bindings: Binding{APIKey: []string{"api.anthropic.com", "console.anthropic.com"}}, |
| 94 | }, | 94 | }, |
| 95 | { | 95 | { |
| 96 | - // Gemini through Google Antigravity (agy), whose kit replaces Docker's | 96 | + // Google Antigravity (agy), with the Gemini models (issue #108: it |
| 97 | - // deprecated gemini-kit; `agy acp` serves ACP. | 97 | + // was offered as "Gemini"); its kit replaces Docker's deprecated |
| 98 | - ID: "gemini", Title: "Gemini", Icon: "logo:gemini", | 98 | + // gemini-kit, and `agy acp` serves ACP. |
| 99 | + ID: "antigravity", Title: "Antigravity", Icon: "logo:antigravity", | ||
| 99 | Agent: "antigravity", Kit: "docker.io/sbx/antigravity:latest", Program: "agy acp", | 100 | Agent: "antigravity", Kit: "docker.io/sbx/antigravity:latest", Program: "agy acp", |
| 100 | Service: "google", KeyURL: "https://aistudio.google.com/apikey", | 101 | Service: "google", KeyURL: "https://aistudio.google.com/apikey", |
| 101 | Bindings: Binding{ | 102 | Bindings: Binding{ |
modified
internal/sbxcreate/sbxcreate_test.go +6 -3 | @@ -50,14 +50,17 @@ func TestTheCatalogueOffersClaudeGeminiCodexVibeAndCopilot(t *testing.T) { | ||
| 50 | 50 | t.Errorf("incomplete kind: %+v", kind) |
| 51 | 51 | } |
| 52 | 52 | } |
| 53 | - if !slices.Equal(ids, []string{"claude", "gemini", "codex", "vibe", "copilot"}) { | |
| 53 | + if !slices.Equal(ids, []string{"claude", "antigravity", "codex", "vibe", "copilot"}) { | |
| 54 | 54 | t.Fatalf("kinds: %v", ids) |
| 55 | 55 | } |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | func TestGeminiGoesThroughAntigravityAndVibeThroughVibeACP(t *testing.T) { |
| 59 | - if gemini, _ := sbxcreate.Lookup("gemini"); gemini.Agent != "antigravity" || gemini.Program != "agy acp" { | |
| 60 | - t.Fatalf("Gemini goes through Antigravity: %+v", gemini) | |
| 59 | + if antigravity, _ := sbxcreate.Lookup("antigravity"); antigravity.Agent != "antigravity" || antigravity.Program != "agy acp" || antigravity.Icon != "logo:antigravity" || antigravity.Service != "google" { | |
| 60 | + t.Fatalf("Antigravity: %+v", antigravity) | |
| 61 | + } | |
| 62 | + if _, ok := sbxcreate.Lookup("gemini"); ok { | |
| 63 | + t.Fatal("Gemini is now offered as Antigravity (issue #108)") | |
| 61 | 64 | } |
| 62 | 65 | if vibe, _ := sbxcreate.Lookup("vibe"); vibe.Agent != "vibe" || vibe.Program != "vibe-acp" || vibe.Service != "mistral" { |
| 63 | 66 | t.Fatalf("Vibe: %+v", vibe) |
| @@ -50,14 +50,17 @@ func TestTheCatalogueOffersClaudeGeminiCodexVibeAndCopilot(t *testing.T) { | |||
| 50 | t.Errorf("incomplete kind: %+v", kind) | 50 | t.Errorf("incomplete kind: %+v", kind) |
| 51 | } | 51 | } |
| 52 | } | 52 | } |
| 53 | - if !slices.Equal(ids, []string{"claude", "gemini", "codex", "vibe", "copilot"}) { | 53 | + if !slices.Equal(ids, []string{"claude", "antigravity", "codex", "vibe", "copilot"}) { |
| 54 | t.Fatalf("kinds: %v", ids) | 54 | t.Fatalf("kinds: %v", ids) |
| 55 | } | 55 | } |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | func TestGeminiGoesThroughAntigravityAndVibeThroughVibeACP(t *testing.T) { | 58 | func TestGeminiGoesThroughAntigravityAndVibeThroughVibeACP(t *testing.T) { |
| 59 | - if gemini, _ := sbxcreate.Lookup("gemini"); gemini.Agent != "antigravity" || gemini.Program != "agy acp" { | 59 | + if antigravity, _ := sbxcreate.Lookup("antigravity"); antigravity.Agent != "antigravity" || antigravity.Program != "agy acp" || antigravity.Icon != "logo:antigravity" || antigravity.Service != "google" { |
| 60 | - t.Fatalf("Gemini goes through Antigravity: %+v", gemini) | 60 | + t.Fatalf("Antigravity: %+v", antigravity) |
| 61 | + } | ||
| 62 | + if _, ok := sbxcreate.Lookup("gemini"); ok { | ||
| 63 | + t.Fatal("Gemini is now offered as Antigravity (issue #108)") | ||
| 61 | } | 64 | } |
| 62 | if vibe, _ := sbxcreate.Lookup("vibe"); vibe.Agent != "vibe" || vibe.Program != "vibe-acp" || vibe.Service != "mistral" { | 65 | if vibe, _ := sbxcreate.Lookup("vibe"); vibe.Agent != "vibe" || vibe.Program != "vibe-acp" || vibe.Service != "mistral" { |
| 63 | t.Fatalf("Vibe: %+v", vibe) | 66 | t.Fatalf("Vibe: %+v", vibe) |
modified
schema/config.schema.json +1 -1 | @@ -148,7 +148,7 @@ | ||
| 148 | 148 | "minLength": 1 |
| 149 | 149 | }, |
| 150 | 150 | "icon": { |
| 151 | - "description": "An emoji, a letter shown in a coloured circle, or a logo Sidekicks ships (logo:claude, logo:gemini, logo:openai, logo:mistral, logo:copilot), next to the agent. Defaults to the first letter of the title in a circle.", | |
| 151 | + "description": "An emoji, a letter shown in a coloured circle, or a logo Sidekicks ships (logo:claude, logo:gemini, logo:antigravity, logo:openai, logo:mistral, logo:copilot), next to the agent. Defaults to the first letter of the title in a circle.", | |
| 152 | 152 | "type": "string", |
| 153 | 153 | "maxLength": 16 |
| 154 | 154 | }, |
| @@ -148,7 +148,7 @@ | |||
| 148 | "minLength": 1 | 148 | "minLength": 1 |
| 149 | }, | 149 | }, |
| 150 | "icon": { | 150 | "icon": { |
| 151 | - "description": "An emoji, a letter shown in a coloured circle, or a logo Sidekicks ships (logo:claude, logo:gemini, logo:openai, logo:mistral, logo:copilot), next to the agent. Defaults to the first letter of the title in a circle.", | 151 | + "description": "An emoji, a letter shown in a coloured circle, or a logo Sidekicks ships (logo:claude, logo:gemini, logo:antigravity, logo:openai, logo:mistral, logo:copilot), next to the agent. Defaults to the first letter of the title in a circle.", |
| 152 | "type": "string", | 152 | "type": "string", |
| 153 | "maxLength": 16 | 153 | "maxLength": 16 |
| 154 | }, | 154 | }, |