bots-garden/sidekickspublic Fork
⑂ 74465f7
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/sidekicks.git
git clone ssh://git@rickub.com/bots-garden/sidekicks.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

Merge feature/101-sidekicks-agents-folder into main

agent committed 2026-11-15T05:03:49+01:00 Browse files
74465f7 parents: 61bcb0b 35c27af
modified .memory/history.md +2 -0
@@ -292,3 +292,5 @@
292292 - #98: `agent:progress` events from agents.Manager (checking → preparing on first lifecycle line → connecting; every line during start; Status.step/since), `progress.ts` (percent / sizes, elapsed), `StartProgress.svelte`, Agents panel short step, `showLog`. Xvfb with a fake slow `sbx env create`: card, bar, log button, then the answer. Task 1 (real sbx/docker output) open.
293293 - Checks: Go + vitest + lint + svelte-check green. Docs EN/FR (guides, references, release notes v1.5.0).
294294 - **2026-11-15 — #98, #99, #100 closed** (owner tested on the Mac: it works); feature/98-99-100 merged into main (not pushed).
295+- **2026-11-15 — #101** (owner: "create the agents in a subfolder of Documents called SideKiks-Agents"): branch feature/101-sidekicks-agents-folder; default `agentsFolder` = `~/Documents/Sidekicks-Agents` (spelled as the product; the owner wrote "SideKiks"), schema, default file, test, docs EN/FR, release notes. Existing agents and configurations that set agentsFolder are unchanged. Waiting for the owner's test.
296+- **2026-11-15 — log link removed from the start progress card** (owner: "when an agent is created, a link to see the logs is shown, remove it"): `StartProgress.svelte` no longer has the "See the log" button (+ its CSS, i18n key `progress.log` EN/FR); docs EN/FR (sandbox guide, agent:progress row, release notes v1.5.0) updated. `showLog`/`logRequest`/`logAgent` plumbing left in place, unused. vitest 191/191, svelte-check 0 errors. Not tested in the app.
@@ -292,3 +292,5 @@
292 - #98: `agent:progress` events from agents.Manager (checking → preparing on first lifecycle line → connecting; every line during start; Status.step/since), `progress.ts` (percent / sizes, elapsed), `StartProgress.svelte`, Agents panel short step, `showLog`. Xvfb with a fake slow `sbx env create`: card, bar, log button, then the answer. Task 1 (real sbx/docker output) open.292 - #98: `agent:progress` events from agents.Manager (checking → preparing on first lifecycle line → connecting; every line during start; Status.step/since), `progress.ts` (percent / sizes, elapsed), `StartProgress.svelte`, Agents panel short step, `showLog`. Xvfb with a fake slow `sbx env create`: card, bar, log button, then the answer. Task 1 (real sbx/docker output) open.
293 - Checks: Go + vitest + lint + svelte-check green. Docs EN/FR (guides, references, release notes v1.5.0).293 - Checks: Go + vitest + lint + svelte-check green. Docs EN/FR (guides, references, release notes v1.5.0).
294 - **2026-11-15 — #98, #99, #100 closed** (owner tested on the Mac: it works); feature/98-99-100 merged into main (not pushed).294 - **2026-11-15 — #98, #99, #100 closed** (owner tested on the Mac: it works); feature/98-99-100 merged into main (not pushed).
295+- **2026-11-15 — #101** (owner: "create the agents in a subfolder of Documents called SideKiks-Agents"): branch feature/101-sidekicks-agents-folder; default `agentsFolder` = `~/Documents/Sidekicks-Agents` (spelled as the product; the owner wrote "SideKiks"), schema, default file, test, docs EN/FR, release notes. Existing agents and configurations that set agentsFolder are unchanged. Waiting for the owner's test.
296+- **2026-11-15 — log link removed from the start progress card** (owner: "when an agent is created, a link to see the logs is shown, remove it"): `StartProgress.svelte` no longer has the "See the log" button (+ its CSS, i18n key `progress.log` EN/FR); docs EN/FR (sandbox guide, agent:progress row, release notes v1.5.0) updated. `showLog`/`logRequest`/`logAgent` plumbing left in place, unused. vitest 191/191, svelte-check 0 errors. Not tested in the app.
modified .memory/summary.md +2 -2
@@ -24,10 +24,10 @@ What exists:
2424 - Conversations, permissions, settings: ADR 0004 (direct conversation per agent, in memory; new session after an agent restart + system message; queue; events `message:updated|delta`, `turn:changed`, `permission:requested|resolved`, `usage:changed`; never-before-reject ordering; stuck banner after 3 failed tool calls; Go validates, the editor only displays; prefs.json).
2525 - Channels: ADR 0006 — routing (`/agent:cmd` > mentions in order > last speaker > nobody), one session per (channel, agent), unseen messages re-sent (20 max, 1500 chars each, prompt ends with "answer directly, without your name in front"), one channel at a time per agent, commands sent alone, fresh session after restart gets the last messages, no Sidekicks-local slash commands (owner's choice), deleting a channel deletes its history after confirmation. Store: keys of ADR 0003 + `direct/<agent>` + `value/<key>`, `ErrClosed` after Close, in-memory fallback when the DB is locked (`historyProblem`).
2626 - 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`. 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).
2828 - 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.
2929 - 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); 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; 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`; `showLog(agent)` opens the Log panel. 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, openai, mistral; 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).
3131 - 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.
3232 - 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).
3333 - 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/`.
@@ -24,10 +24,10 @@ What exists:
24 - Conversations, permissions, settings: ADR 0004 (direct conversation per agent, in memory; new session after an agent restart + system message; queue; events `message:updated|delta`, `turn:changed`, `permission:requested|resolved`, `usage:changed`; never-before-reject ordering; stuck banner after 3 failed tool calls; Go validates, the editor only displays; prefs.json).24 - Conversations, permissions, settings: ADR 0004 (direct conversation per agent, in memory; new session after an agent restart + system message; queue; events `message:updated|delta`, `turn:changed`, `permission:requested|resolved`, `usage:changed`; never-before-reject ordering; stuck banner after 3 failed tool calls; Go validates, the editor only displays; prefs.json).
25 - Channels: ADR 0006 — routing (`/agent:cmd` > mentions in order > last speaker > nobody), one session per (channel, agent), unseen messages re-sent (20 max, 1500 chars each, prompt ends with "answer directly, without your name in front"), one channel at a time per agent, commands sent alone, fresh session after restart gets the last messages, no Sidekicks-local slash commands (owner's choice), deleting a channel deletes its history after confirmation. Store: keys of ADR 0003 + `direct/<agent>` + `value/<key>`, `ErrClosed` after Close, in-memory fallback when the DB is locked (`historyProblem`).25 - Channels: ADR 0006 — routing (`/agent:cmd` > mentions in order > last speaker > nobody), one session per (channel, agent), unseen messages re-sent (20 max, 1500 chars each, prompt ends with "answer directly, without your name in front"), one channel at a time per agent, commands sent alone, fresh session after restart gets the last messages, no Sidekicks-local slash commands (owner's choice), deleting a channel deletes its history after confirmation. Store: keys of ADR 0003 + `direct/<agent>` + `value/<key>`, `ErrClosed` after Close, in-memory fallback when the DB is locked (`historyProblem`).
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`. 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); 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`, 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); 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; 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`; `showLog(agent)` opens the Log panel. 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, openai, mistral; 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/0093-publier-la-version-1-5-0.yaml +1 -0
@@ -24,6 +24,7 @@ body: |
2424 - [#98](.tickets/issues/0098-afficher-la-progression-de-la-creation-d-une-san.yaml) — progression de la création d'une sandbox ou d'un conteneur
2525 - [#99](.tickets/issues/0099-assistants-nom-utilise-avec-cree-a-partir-du-nom.yaml) — nom @ créé à partir du nom affiché dans les assistants
2626 - [#100](.tickets/issues/0100-logos-officiels-des-agents-claude-gemini-codex-v.yaml) — logos officiels des agents dans l'assistant des sandboxes
27+ - [#101](.tickets/issues/0101-creer-les-agents-dans-documents-sidekicks-agents.yaml) — agents créés dans Documents/Sidekicks-Agents
2728
2829 Même déroulé que [#92 — Publier la version 1.4.0](.tickets/issues/0092-publier-la-version-1-4-0.yaml), en suivant
2930 [RELEASING.fr.md](RELEASING.fr.md) (scripts `local-ci-*.sh`), **kDrive en pause** pendant la construction.
@@ -24,6 +24,7 @@ body: |
24 - [#98](.tickets/issues/0098-afficher-la-progression-de-la-creation-d-une-san.yaml) — progression de la création d'une sandbox ou d'un conteneur24 - [#98](.tickets/issues/0098-afficher-la-progression-de-la-creation-d-une-san.yaml) — progression de la création d'une sandbox ou d'un conteneur
25 - [#99](.tickets/issues/0099-assistants-nom-utilise-avec-cree-a-partir-du-nom.yaml) — nom @ créé à partir du nom affiché dans les assistants25 - [#99](.tickets/issues/0099-assistants-nom-utilise-avec-cree-a-partir-du-nom.yaml) — nom @ créé à partir du nom affiché dans les assistants
26 - [#100](.tickets/issues/0100-logos-officiels-des-agents-claude-gemini-codex-v.yaml) — logos officiels des agents dans l'assistant des sandboxes26 - [#100](.tickets/issues/0100-logos-officiels-des-agents-claude-gemini-codex-v.yaml) — logos officiels des agents dans l'assistant des sandboxes
27+ - [#101](.tickets/issues/0101-creer-les-agents-dans-documents-sidekicks-agents.yaml) — agents créés dans Documents/Sidekicks-Agents
27 28
28 Même déroulé que [#92 — Publier la version 1.4.0](.tickets/issues/0092-publier-la-version-1-4-0.yaml), en suivant29 Même déroulé que [#92 — Publier la version 1.4.0](.tickets/issues/0092-publier-la-version-1-4-0.yaml), en suivant
29 [RELEASING.fr.md](RELEASING.fr.md) (scripts `local-ci-*.sh`), **kDrive en pause** pendant la construction.30 [RELEASING.fr.md](RELEASING.fr.md) (scripts `local-ci-*.sh`), **kDrive en pause** pendant la construction.
added .tickets/issues/0101-creer-les-agents-dans-documents-sidekicks-agents.yaml +66 -0
new file mode 100644
@@ -0,0 +1,66 @@
1+# Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2+id: 101
3+title: "Créer les agents dans Documents/Sidekicks-Agents plutôt qu'à la racine de Documents"
4+state: open
5+author:
6+ name: k33g
7+ email: ph.charriere@gmail.com
8+createdAt: 2026-11-15T03:41:22.000Z
9+updatedAt: 2026-11-15T03:42:10.000Z
10+labels:
11+ - kind::feature
12+ - area::config
13+ - citizen-ux
14+milestone: "v1.5.0 · Release"
15+epic: Agents
16+related:
17+ - 94
18+ - 96
19+body: |
20+ Les assistants de création ([#94](.tickets/issues/0094-assistant-de-creation-d-agents-mini-me-pour-les.yaml),
21+ [#96](.tickets/issues/0096-assistant-create-a-sbx-agent-claude-gemini-codex.yaml)) font un dossier par agent
22+ directement dans **Documents** : ils s'y mélangent aux documents de l'utilisateur.
23+
24+ ## Proposition (owner)
25+ - Par défaut, créer les dossiers des agents dans un sous-dossier **`Documents/Sidekicks-Agents`**
26+ (`agentsFolder` par défaut : `~/Documents/Sidekicks-Agents`), créé à la première création d'agent.
27+ - Le réglage `agentsFolder` reste modifiable.
28+ - Les agents déjà créés ne bougent pas : leurs chemins sont dans la configuration ; une configuration qui fixe
29+ déjà `agentsFolder` garde sa valeur.
30+
31+ ## Critères d'acceptation
32+ - Sans `agentsFolder`, un agent créé par un assistant est dans `~/Documents/Sidekicks-Agents/<nom>`.
33+ - Schéma, fichier de configuration par défaut, doc EN + FR et notes de release v1.5.0 disent la nouvelle valeur.
34+ - Tests.
35+tasks:
36+ - id: 1
37+ title: "agentsFolder par défaut : ~/Documents/Sidekicks-Agents (config, schéma, fichier par défaut)"
38+ state: closed
39+ priority: high
40+ author:
41+ name: k33g
42+ email: ph.charriere@gmail.com
43+ createdAt: 2026-11-15T03:41:22.000Z
44+ updatedAt: 2026-11-15T03:42:10.000Z
45+ closedAt: 2026-11-15T03:42:10.000Z
46+ - id: 2
47+ title: "Tests, doc EN + FR, notes de release v1.5.0"
48+ state: closed
49+ priority: medium
50+ author:
51+ name: k33g
52+ email: ph.charriere@gmail.com
53+ createdAt: 2026-11-15T03:41:22.000Z
54+ updatedAt: 2026-11-15T03:42:10.000Z
55+ closedAt: 2026-11-15T03:42:10.000Z
56+comments:
57+ - id: 1
58+ author:
59+ name: k33g
60+ email: ph.charriere@gmail.com
61+ createdAt: 2026-11-15T03:42:10.000Z
62+ body: |
63+ Implémenté sur `feature/101-sidekicks-agents-folder` : `config.DefaultAgentsFolder` =
64+ `~/Documents/Sidekicks-Agents` (créé à la première création, par `creator.Start` et `sbxcreate.Write`),
65+ schéma, fichier par défaut, test ; doc EN + FR et notes de release v1.5.0. L'owner a écrit « SideKiks-Agents » :
66+ j'ai pris l'orthographe du produit, « Sidekicks-Agents ».
new file mode 100644
@@ -0,0 +1,66 @@
1+# Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2+id: 101
3+title: "Créer les agents dans Documents/Sidekicks-Agents plutôt qu'à la racine de Documents"
4+state: open
5+author:
6+ name: k33g
7+ email: ph.charriere@gmail.com
8+createdAt: 2026-11-15T03:41:22.000Z
9+updatedAt: 2026-11-15T03:42:10.000Z
10+labels:
11+ - kind::feature
12+ - area::config
13+ - citizen-ux
14+milestone: "v1.5.0 · Release"
15+epic: Agents
16+related:
17+ - 94
18+ - 96
19+body: |
20+ Les assistants de création ([#94](.tickets/issues/0094-assistant-de-creation-d-agents-mini-me-pour-les.yaml),
21+ [#96](.tickets/issues/0096-assistant-create-a-sbx-agent-claude-gemini-codex.yaml)) font un dossier par agent
22+ directement dans **Documents** : ils s'y mélangent aux documents de l'utilisateur.
23+
24+ ## Proposition (owner)
25+ - Par défaut, créer les dossiers des agents dans un sous-dossier **`Documents/Sidekicks-Agents`**
26+ (`agentsFolder` par défaut : `~/Documents/Sidekicks-Agents`), créé à la première création d'agent.
27+ - Le réglage `agentsFolder` reste modifiable.
28+ - Les agents déjà créés ne bougent pas : leurs chemins sont dans la configuration ; une configuration qui fixe
29+ déjà `agentsFolder` garde sa valeur.
30+
31+ ## Critères d'acceptation
32+ - Sans `agentsFolder`, un agent créé par un assistant est dans `~/Documents/Sidekicks-Agents/<nom>`.
33+ - Schéma, fichier de configuration par défaut, doc EN + FR et notes de release v1.5.0 disent la nouvelle valeur.
34+ - Tests.
35+tasks:
36+ - id: 1
37+ title: "agentsFolder par défaut : ~/Documents/Sidekicks-Agents (config, schéma, fichier par défaut)"
38+ state: closed
39+ priority: high
40+ author:
41+ name: k33g
42+ email: ph.charriere@gmail.com
43+ createdAt: 2026-11-15T03:41:22.000Z
44+ updatedAt: 2026-11-15T03:42:10.000Z
45+ closedAt: 2026-11-15T03:42:10.000Z
46+ - id: 2
47+ title: "Tests, doc EN + FR, notes de release v1.5.0"
48+ state: closed
49+ priority: medium
50+ author:
51+ name: k33g
52+ email: ph.charriere@gmail.com
53+ createdAt: 2026-11-15T03:41:22.000Z
54+ updatedAt: 2026-11-15T03:42:10.000Z
55+ closedAt: 2026-11-15T03:42:10.000Z
56+comments:
57+ - id: 1
58+ author:
59+ name: k33g
60+ email: ph.charriere@gmail.com
61+ createdAt: 2026-11-15T03:42:10.000Z
62+ body: |
63+ Implémenté sur `feature/101-sidekicks-agents-folder` : `config.DefaultAgentsFolder` =
64+ `~/Documents/Sidekicks-Agents` (créé à la première création, par `creator.Start` et `sbxcreate.Write`),
65+ schéma, fichier par défaut, test ; doc EN + FR et notes de release v1.5.0. L'owner a écrit « SideKiks-Agents » :
66+ j'ai pris l'orthographe du produit, « Sidekicks-Agents ».
modified docs/en/how-to/create-a-mini-me-agent.md +2 -2
@@ -13,7 +13,7 @@ This guide shows how to create a new [mini-me](https://git.rickub.com/bots-garde
1313 - **Where does it run?** **On this computer** (the simplest), **In a Docker container** (Docker must be installed) or **In a Docker Sandbox (sbx)** (sbx must be installed).
1414 4. Click **Add the agent**. Its direct conversation opens: write to it.
1515
16-The agent's folder is created in your **Documents** folder, named after the agent (`~/Documents/marcel`). Its settings are in `.mm/agent.yaml` there; for a container or a sandbox, mini-me also writes `Dockerfile` and `compose.yaml`, or `sbxenv.yaml`, and Sidekicks creates the container or the sandbox the first time the agent starts.
16+The agent's folder is created in the **Sidekicks-Agents** folder of your Documents, named after the agent (`~/Documents/Sidekicks-Agents/marcel`). Its settings are in `.mm/agent.yaml` there; for a container or a sandbox, mini-me also writes `Dockerfile` and `compose.yaml`, or `sbxenv.yaml`, and Sidekicks creates the container or the sandbox the first time the agent starts.
1717
1818 ## When something goes wrong
1919
@@ -28,7 +28,7 @@ The agent's folder is created in your **Documents** folder, named after the agen
2828
2929 - **Go back**: **← Previous question** takes back your last answer and asks it again; **Start again** forgets every answer.
3030 - **Give up**: **Cancel**, or opening a channel, closes the assistant; what mini-me had written is removed.
31-- **Another folder than Documents**: set [`agentsFolder`](../reference/configuration.md#top-level) in **Settings**, for example `agentsFolder: ~/agents`. The next agents are created there.
31+- **Another folder**: set [`agentsFolder`](../reference/configuration.md#top-level) in **Settings**, for example `agentsFolder: ~/agents`. The next agents are created there.
3232
3333 ## See also
3434
@@ -13,7 +13,7 @@ This guide shows how to create a new [mini-me](https://git.rickub.com/bots-garde
13 - **Where does it run?** **On this computer** (the simplest), **In a Docker container** (Docker must be installed) or **In a Docker Sandbox (sbx)** (sbx must be installed).13 - **Where does it run?** **On this computer** (the simplest), **In a Docker container** (Docker must be installed) or **In a Docker Sandbox (sbx)** (sbx must be installed).
14 4. Click **Add the agent**. Its direct conversation opens: write to it.14 4. Click **Add the agent**. Its direct conversation opens: write to it.
15 15
16-The agent's folder is created in your **Documents** folder, named after the agent (`~/Documents/marcel`). Its settings are in `.mm/agent.yaml` there; for a container or a sandbox, mini-me also writes `Dockerfile` and `compose.yaml`, or `sbxenv.yaml`, and Sidekicks creates the container or the sandbox the first time the agent starts.16+The agent's folder is created in the **Sidekicks-Agents** folder of your Documents, named after the agent (`~/Documents/Sidekicks-Agents/marcel`). Its settings are in `.mm/agent.yaml` there; for a container or a sandbox, mini-me also writes `Dockerfile` and `compose.yaml`, or `sbxenv.yaml`, and Sidekicks creates the container or the sandbox the first time the agent starts.
17 17
18 ## When something goes wrong18 ## When something goes wrong
19 19
@@ -28,7 +28,7 @@ The agent's folder is created in your **Documents** folder, named after the agen
28 28
29 - **Go back**: **← Previous question** takes back your last answer and asks it again; **Start again** forgets every answer.29 - **Go back**: **← Previous question** takes back your last answer and asks it again; **Start again** forgets every answer.
30 - **Give up**: **Cancel**, or opening a channel, closes the assistant; what mini-me had written is removed.30 - **Give up**: **Cancel**, or opening a channel, closes the assistant; what mini-me had written is removed.
31-- **Another folder than Documents**: set [`agentsFolder`](../reference/configuration.md#top-level) in **Settings**, for example `agentsFolder: ~/agents`. The next agents are created there.31+- **Another folder**: set [`agentsFolder`](../reference/configuration.md#top-level) in **Settings**, for example `agentsFolder: ~/agents`. The next agents are created there.
32 32
33 ## See also33 ## See also
34 34
modified docs/en/how-to/create-an-agent-in-a-sandbox.md +3 -3
@@ -8,9 +8,9 @@ This guide shows how to create a new Claude, Gemini, Codex or Vibe agent that ru
88 2. Choose the agent: **Claude** (Anthropic's Claude Code), **Gemini** (Google's, through Antigravity), **Codex** (OpenAI's) or **Vibe** (Mistral AI's).
99 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**.
1010 4. Give the agent its last details: **Name shown**, **Name** (what you call it with, `@claude`, and the name of its folder and of its sandbox: lowercase letters, digits and `-`, starting with a letter) and an **Emoji** (the agent's logo is chosen first). The **Name** follows the **Name shown** (`Marcel (assistant)` gives `marcel-assistant`) until you type it yourself; Sidekicks always suggests one nobody uses yet, and says so before you click when the one you typed is taken.
11-5. Click **Add the agent**. Its conversation opens. Its sandbox is created the first time you write to it, so that first answer takes a while: the conversation shows what is happening — the step, the time elapsed, what sbx is downloading — and **See the log** opens the details.
11+5. Click **Add the agent**. Its conversation opens. Its sandbox is created the first time you write to it, so that first answer takes a while: the conversation shows what is happening — the step, the time elapsed, what sbx is downloading. The details are in the agent's log (**Log** panel).
1212
13-The agent's folder is created in your **Documents** folder, named after the agent (`~/Documents/claude`): its `sbxenv.yaml` and its `workspace/` folder, where the agent works.
13+The agent's folder is created in the **Sidekicks-Agents** folder of your Documents, named after the agent (`~/Documents/Sidekicks-Agents/claude`): its `sbxenv.yaml` and its `workspace/` folder, where the agent works.
1414
1515 ## When something goes wrong
1616
@@ -22,7 +22,7 @@ The agent's folder is created in your **Documents** folder, named after the agen
2222 ## Variants
2323
2424 - **Replace a key**: choose the same agent again and click **Replace the key**. Every sandbox uses the new key from its next start.
25-- **Another folder than Documents**: set [`agentsFolder`](../reference/configuration.md#top-level) in **Settings**; the next agents are created there.
25+- **Another folder**: set [`agentsFolder`](../reference/configuration.md#top-level) in **Settings**; the next agents are created there.
2626
2727 ## See also
2828
@@ -8,9 +8,9 @@ This guide shows how to create a new Claude, Gemini, Codex or Vibe agent that ru
8 2. Choose the agent: **Claude** (Anthropic's Claude Code), **Gemini** (Google's, through Antigravity), **Codex** (OpenAI's) or **Vibe** (Mistral AI's).8 2. Choose the agent: **Claude** (Anthropic's Claude Code), **Gemini** (Google's, through Antigravity), **Codex** (OpenAI's) or **Vibe** (Mistral AI's).
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 4. Give the agent its last details: **Name shown**, **Name** (what you call it with, `@claude`, and the name of its folder and of its sandbox: lowercase letters, digits and `-`, starting with a letter) and an **Emoji** (the agent's logo is chosen first). The **Name** follows the **Name shown** (`Marcel (assistant)` gives `marcel-assistant`) until you type it yourself; Sidekicks always suggests one nobody uses yet, and says so before you click when the one you typed is taken.10 4. Give the agent its last details: **Name shown**, **Name** (what you call it with, `@claude`, and the name of its folder and of its sandbox: lowercase letters, digits and `-`, starting with a letter) and an **Emoji** (the agent's logo is chosen first). The **Name** follows the **Name shown** (`Marcel (assistant)` gives `marcel-assistant`) until you type it yourself; Sidekicks always suggests one nobody uses yet, and says so before you click when the one you typed is taken.
11-5. Click **Add the agent**. Its conversation opens. Its sandbox is created the first time you write to it, so that first answer takes a while: the conversation shows what is happening — the step, the time elapsed, what sbx is downloading — and **See the log** opens the details.11+5. Click **Add the agent**. Its conversation opens. Its sandbox is created the first time you write to it, so that first answer takes a while: the conversation shows what is happening — the step, the time elapsed, what sbx is downloading. The details are in the agent's log (**Log** panel).
12 12
13-The agent's folder is created in your **Documents** folder, named after the agent (`~/Documents/claude`): its `sbxenv.yaml` and its `workspace/` folder, where the agent works.13+The agent's folder is created in the **Sidekicks-Agents** folder of your Documents, named after the agent (`~/Documents/Sidekicks-Agents/claude`): its `sbxenv.yaml` and its `workspace/` folder, where the agent works.
14 14
15 ## When something goes wrong15 ## When something goes wrong
16 16
@@ -22,7 +22,7 @@ The agent's folder is created in your **Documents** folder, named after the agen
22 ## Variants22 ## Variants
23 23
24 - **Replace a key**: choose the same agent again and click **Replace the key**. Every sandbox uses the new key from its next start.24 - **Replace a key**: choose the same agent again and click **Replace the key**. Every sandbox uses the new key from its next start.
25-- **Another folder than Documents**: set [`agentsFolder`](../reference/configuration.md#top-level) in **Settings**; the next agents are created there.25+- **Another folder**: set [`agentsFolder`](../reference/configuration.md#top-level) in **Settings**; the next agents are created there.
26 26
27 ## See also27 ## See also
28 28
modified docs/en/reference/agents-and-events.md +1 -1
@@ -38,7 +38,7 @@ Stopping an agent closes its stdin, waits 5 seconds, then kills its process grou
3838 | `config:changed` | `{path, valid, problems[]}` | The configuration file was saved and reloaded (valid or not). |
3939 | `agent:state` | `{agent, state, error?}` | An agent changes state or its definition changes. |
4040 | `agent:log` | `{agent, line}` | An agent writes a line on its standard error, or a sandbox command of the agent prints one (prefixed with `sandbox: `). |
41-| `agent:progress` | `{agent, step, line, since}` | A starting agent moved to another step — `checking` (its sandbox or container is looked at), `preparing` (it is created or started: a line came from its lifecycle command), `connecting` (its program starts and answers `initialize`) — or printed a line (`line`, without the `sandbox: ` prefix of the log); `since` is when the start began, in Unix milliseconds (issue #98). The conversation shows a progress card with the step, the time elapsed, the last line (a bar when it holds a percentage or `done/total` sizes) and **See the log**; the Agents panel shows the step. Ends with the next `agent:state`. |
41+| `agent:progress` | `{agent, step, line, since}` | A starting agent moved to another step — `checking` (its sandbox or container is looked at), `preparing` (it is created or started: a line came from its lifecycle command), `connecting` (its program starts and answers `initialize`) — or printed a line (`line`, without the `sandbox: ` prefix of the log); `since` is when the start began, in Unix milliseconds (issue #98). The conversation shows a progress card with the step, the time elapsed and the last line (a bar when it holds a percentage or `done/total` sizes); the Agents panel shows the step. Ends with the next `agent:state`. |
4242 | `files:dropped` | `{target, files[]}` | Files are dropped from the system on an element marked `data-file-drop-target`; `target` is its `id`, `files` their absolute paths. |
4343
4444 The Go names and types are in `internal/events`; the TypeScript constants and types are generated in `frontend/bindings/events` and `frontend/bindings/…/internal/events`.
@@ -38,7 +38,7 @@ Stopping an agent closes its stdin, waits 5 seconds, then kills its process grou
38 | `config:changed` | `{path, valid, problems[]}` | The configuration file was saved and reloaded (valid or not). |38 | `config:changed` | `{path, valid, problems[]}` | The configuration file was saved and reloaded (valid or not). |
39 | `agent:state` | `{agent, state, error?}` | An agent changes state or its definition changes. |39 | `agent:state` | `{agent, state, error?}` | An agent changes state or its definition changes. |
40 | `agent:log` | `{agent, line}` | An agent writes a line on its standard error, or a sandbox command of the agent prints one (prefixed with `sandbox: `). |40 | `agent:log` | `{agent, line}` | An agent writes a line on its standard error, or a sandbox command of the agent prints one (prefixed with `sandbox: `). |
41-| `agent:progress` | `{agent, step, line, since}` | A starting agent moved to another step — `checking` (its sandbox or container is looked at), `preparing` (it is created or started: a line came from its lifecycle command), `connecting` (its program starts and answers `initialize`) — or printed a line (`line`, without the `sandbox: ` prefix of the log); `since` is when the start began, in Unix milliseconds (issue #98). The conversation shows a progress card with the step, the time elapsed, the last line (a bar when it holds a percentage or `done/total` sizes) and **See the log**; the Agents panel shows the step. Ends with the next `agent:state`. |41+| `agent:progress` | `{agent, step, line, since}` | A starting agent moved to another step — `checking` (its sandbox or container is looked at), `preparing` (it is created or started: a line came from its lifecycle command), `connecting` (its program starts and answers `initialize`) — or printed a line (`line`, without the `sandbox: ` prefix of the log); `since` is when the start began, in Unix milliseconds (issue #98). The conversation shows a progress card with the step, the time elapsed and the last line (a bar when it holds a percentage or `done/total` sizes); the Agents panel shows the step. Ends with the next `agent:state`. |
42 | `files:dropped` | `{target, files[]}` | Files are dropped from the system on an element marked `data-file-drop-target`; `target` is its `id`, `files` their absolute paths. |42 | `files:dropped` | `{target, files[]}` | Files are dropped from the system on an element marked `data-file-drop-target`; `target` is its `id`, `files` their absolute paths. |
43 43
44 The Go names and types are in `internal/events`; the TypeScript constants and types are generated in `frontend/bindings/events` and `frontend/bindings/…/internal/events`.44 The Go names and types are in `internal/events`; the TypeScript constants and types are generated in `frontend/bindings/events` and `frontend/bindings/…/internal/events`.
modified docs/en/reference/configuration.md +1 -1
@@ -39,7 +39,7 @@ The file is looked up in this order; the first one that applies wins:
3939 | `ui` | object | no | | Interface preferences. |
4040 | `limits` | object | no | | Resource limits. |
4141 | `agentTools` | object | no | | The tools Sidekicks offers the agents ([below](#agenttools)). |
42-| `agentsFolder` | path | no | `~/Documents` | 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 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, Gemini, Codex, Vibe in a sandbox](../how-to/create-an-agent-in-a-sandbox.md)): absolute, `~/…`, or relative to this file. Created when missing. |
4343 | `agents` | list of agents | yes | | The agents available with `@name`. May be empty. |
4444 | `channels` | list of channels | no | `[]` | Channels created at startup when they do not exist yet. |
4545
@@ -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` | 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 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, Gemini, Codex, Vibe 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
modified docs/fr/how-to/creer-un-agent-dans-une-sandbox.md +3 -3
@@ -8,9 +8,9 @@ Ce guide montre comment créer un nouvel agent Claude, Gemini, Codex ou Vibe qui
88 2. Choisissez l'agent : **Claude** (Claude Code, d'Anthropic), **Gemini** (de Google, via Antigravity), **Codex** (d'OpenAI) ou **Vibe** (de Mistral AI).
99 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**.
1010 4. Donnez à l'agent ses derniers détails : **Nom affiché**, **Nom** (ce qui l'appelle, `@claude`, et le nom de son dossier et de sa sandbox : minuscules, chiffres et `-`, en commençant par une lettre) et un **Emoji** (le logo de l'agent est choisi d'abord). Le **Nom** suit le **Nom affiché** (`Marcel (assistant)` donne `marcel-assistant`) tant que vous ne le tapez pas vous-même ; Sidekicks en propose toujours un que personne n'utilise encore, et prévient avant le clic quand celui que vous avez tapé est pris.
11-5. Cliquez sur **Ajouter l'agent**. Sa conversation s'ouvre. Sa sandbox est créée la première fois que vous lui écrivez : cette première réponse prend un moment ; la conversation montre ce qui se passe — l'étape, le temps écoulé, ce que sbx télécharge — et **Voir le journal** ouvre le détail.
11+5. Cliquez sur **Ajouter l'agent**. Sa conversation s'ouvre. Sa sandbox est créée la première fois que vous lui écrivez : cette première réponse prend un moment ; la conversation montre ce qui se passe — l'étape, le temps écoulé, ce que sbx télécharge. Le détail est dans le journal de l'agent (panneau **Journal**).
1212
13-Le dossier de l'agent est créé dans votre dossier **Documents**, au nom de l'agent (`~/Documents/claude`) : son `sbxenv.yaml` et son dossier `workspace/`, où l'agent travaille.
13+Le dossier de l'agent est créé dans le dossier **Sidekicks-Agents** de vos Documents, au nom de l'agent (`~/Documents/Sidekicks-Agents/claude`) : son `sbxenv.yaml` et son dossier `workspace/`, où l'agent travaille.
1414
1515 ## Quand quelque chose ne va pas
1616
@@ -22,7 +22,7 @@ Le dossier de l'agent est créé dans votre dossier **Documents**, au nom de l'a
2222 ## Variantes
2323
2424 - **Remplacer une clé** : choisissez de nouveau le même agent et cliquez sur **Remplacer la clé**. Chaque sandbox utilise la nouvelle clé dès son prochain démarrage.
25-- **Un autre dossier que Documents** : réglez [`agentsFolder`](../reference/configuration.md#racine) dans **Settings** ; les agents suivants y sont créés.
25+- **Un autre dossier** : réglez [`agentsFolder`](../reference/configuration.md#racine) dans **Settings** ; les agents suivants y sont créés.
2626
2727 ## Voir aussi
2828
@@ -8,9 +8,9 @@ Ce guide montre comment créer un nouvel agent Claude, Gemini, Codex ou Vibe qui
8 2. Choisissez l'agent : **Claude** (Claude Code, d'Anthropic), **Gemini** (de Google, via Antigravity), **Codex** (d'OpenAI) ou **Vibe** (de Mistral AI).8 2. Choisissez l'agent : **Claude** (Claude Code, d'Anthropic), **Gemini** (de Google, via Antigravity), **Codex** (d'OpenAI) ou **Vibe** (de Mistral AI).
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 4. Donnez à l'agent ses derniers détails : **Nom affiché**, **Nom** (ce qui l'appelle, `@claude`, et le nom de son dossier et de sa sandbox : minuscules, chiffres et `-`, en commençant par une lettre) et un **Emoji** (le logo de l'agent est choisi d'abord). Le **Nom** suit le **Nom affiché** (`Marcel (assistant)` donne `marcel-assistant`) tant que vous ne le tapez pas vous-même ; Sidekicks en propose toujours un que personne n'utilise encore, et prévient avant le clic quand celui que vous avez tapé est pris.10 4. Donnez à l'agent ses derniers détails : **Nom affiché**, **Nom** (ce qui l'appelle, `@claude`, et le nom de son dossier et de sa sandbox : minuscules, chiffres et `-`, en commençant par une lettre) et un **Emoji** (le logo de l'agent est choisi d'abord). Le **Nom** suit le **Nom affiché** (`Marcel (assistant)` donne `marcel-assistant`) tant que vous ne le tapez pas vous-même ; Sidekicks en propose toujours un que personne n'utilise encore, et prévient avant le clic quand celui que vous avez tapé est pris.
11-5. Cliquez sur **Ajouter l'agent**. Sa conversation s'ouvre. Sa sandbox est créée la première fois que vous lui écrivez : cette première réponse prend un moment ; la conversation montre ce qui se passe — l'étape, le temps écoulé, ce que sbx télécharge — et **Voir le journal** ouvre le détail.11+5. Cliquez sur **Ajouter l'agent**. Sa conversation s'ouvre. Sa sandbox est créée la première fois que vous lui écrivez : cette première réponse prend un moment ; la conversation montre ce qui se passe — l'étape, le temps écoulé, ce que sbx télécharge. Le détail est dans le journal de l'agent (panneau **Journal**).
12 12
13-Le dossier de l'agent est créé dans votre dossier **Documents**, au nom de l'agent (`~/Documents/claude`) : son `sbxenv.yaml` et son dossier `workspace/`, où l'agent travaille.13+Le dossier de l'agent est créé dans le dossier **Sidekicks-Agents** de vos Documents, au nom de l'agent (`~/Documents/Sidekicks-Agents/claude`) : son `sbxenv.yaml` et son dossier `workspace/`, où l'agent travaille.
14 14
15 ## Quand quelque chose ne va pas15 ## Quand quelque chose ne va pas
16 16
@@ -22,7 +22,7 @@ Le dossier de l'agent est créé dans votre dossier **Documents**, au nom de l'a
22 ## Variantes22 ## Variantes
23 23
24 - **Remplacer une clé** : choisissez de nouveau le même agent et cliquez sur **Remplacer la clé**. Chaque sandbox utilise la nouvelle clé dès son prochain démarrage.24 - **Remplacer une clé** : choisissez de nouveau le même agent et cliquez sur **Remplacer la clé**. Chaque sandbox utilise la nouvelle clé dès son prochain démarrage.
25-- **Un autre dossier que Documents** : réglez [`agentsFolder`](../reference/configuration.md#racine) dans **Settings** ; les agents suivants y sont créés.25+- **Un autre dossier** : réglez [`agentsFolder`](../reference/configuration.md#racine) dans **Settings** ; les agents suivants y sont créés.
26 26
27 ## Voir aussi27 ## Voir aussi
28 28
modified docs/fr/how-to/creer-un-agent-mini-me.md +2 -2
@@ -13,7 +13,7 @@ Ce guide montre comment créer un nouvel agent [mini-me](https://git.rickub.com/
1313 - **Où s'exécute-t-il ?** **Sur cet ordinateur** (le plus simple), **Dans un conteneur Docker** (Docker doit être installé) ou **Dans une Docker Sandbox (sbx)** (sbx doit être installé).
1414 4. Cliquez sur **Ajouter l'agent**. Sa conversation directe s'ouvre : écrivez-lui.
1515
16-Le dossier de l'agent est créé dans votre dossier **Documents**, au nom de l'agent (`~/Documents/marcel`). Ses réglages y sont dans `.mm/agent.yaml` ; pour un conteneur ou une sandbox, mini-me écrit aussi `Dockerfile` et `compose.yaml`, ou `sbxenv.yaml`, et Sidekicks crée le conteneur ou la sandbox au premier démarrage de l'agent.
16+Le dossier de l'agent est créé dans le dossier **Sidekicks-Agents** de vos Documents, au nom de l'agent (`~/Documents/Sidekicks-Agents/marcel`). Ses réglages y sont dans `.mm/agent.yaml` ; pour un conteneur ou une sandbox, mini-me écrit aussi `Dockerfile` et `compose.yaml`, ou `sbxenv.yaml`, et Sidekicks crée le conteneur ou la sandbox au premier démarrage de l'agent.
1717
1818 ## Quand quelque chose ne va pas
1919
@@ -28,7 +28,7 @@ Le dossier de l'agent est créé dans votre dossier **Documents**, au nom de l'a
2828
2929 - **Revenir en arrière** : **← Question précédente** reprend votre dernière réponse et la repose ; **Recommencer** oublie toutes les réponses.
3030 - **Abandonner** : **Annuler**, ou ouvrir un channel, ferme l'assistant ; ce que mini-me avait écrit est supprimé.
31-- **Un autre dossier que Documents** : réglez [`agentsFolder`](../reference/configuration.md#racine) dans **Settings**, par exemple `agentsFolder: ~/agents`. Les agents suivants y sont créés.
31+- **Un autre dossier** : réglez [`agentsFolder`](../reference/configuration.md#racine) dans **Settings**, par exemple `agentsFolder: ~/agents`. Les agents suivants y sont créés.
3232
3333 ## Voir aussi
3434
@@ -13,7 +13,7 @@ Ce guide montre comment créer un nouvel agent [mini-me](https://git.rickub.com/
13 - **Où s'exécute-t-il ?** **Sur cet ordinateur** (le plus simple), **Dans un conteneur Docker** (Docker doit être installé) ou **Dans une Docker Sandbox (sbx)** (sbx doit être installé).13 - **Où s'exécute-t-il ?** **Sur cet ordinateur** (le plus simple), **Dans un conteneur Docker** (Docker doit être installé) ou **Dans une Docker Sandbox (sbx)** (sbx doit être installé).
14 4. Cliquez sur **Ajouter l'agent**. Sa conversation directe s'ouvre : écrivez-lui.14 4. Cliquez sur **Ajouter l'agent**. Sa conversation directe s'ouvre : écrivez-lui.
15 15
16-Le dossier de l'agent est créé dans votre dossier **Documents**, au nom de l'agent (`~/Documents/marcel`). Ses réglages y sont dans `.mm/agent.yaml` ; pour un conteneur ou une sandbox, mini-me écrit aussi `Dockerfile` et `compose.yaml`, ou `sbxenv.yaml`, et Sidekicks crée le conteneur ou la sandbox au premier démarrage de l'agent.16+Le dossier de l'agent est créé dans le dossier **Sidekicks-Agents** de vos Documents, au nom de l'agent (`~/Documents/Sidekicks-Agents/marcel`). Ses réglages y sont dans `.mm/agent.yaml` ; pour un conteneur ou une sandbox, mini-me écrit aussi `Dockerfile` et `compose.yaml`, ou `sbxenv.yaml`, et Sidekicks crée le conteneur ou la sandbox au premier démarrage de l'agent.
17 17
18 ## Quand quelque chose ne va pas18 ## Quand quelque chose ne va pas
19 19
@@ -28,7 +28,7 @@ Le dossier de l'agent est créé dans votre dossier **Documents**, au nom de l'a
28 28
29 - **Revenir en arrière** : **← Question précédente** reprend votre dernière réponse et la repose ; **Recommencer** oublie toutes les réponses.29 - **Revenir en arrière** : **← Question précédente** reprend votre dernière réponse et la repose ; **Recommencer** oublie toutes les réponses.
30 - **Abandonner** : **Annuler**, ou ouvrir un channel, ferme l'assistant ; ce que mini-me avait écrit est supprimé.30 - **Abandonner** : **Annuler**, ou ouvrir un channel, ferme l'assistant ; ce que mini-me avait écrit est supprimé.
31-- **Un autre dossier que Documents** : réglez [`agentsFolder`](../reference/configuration.md#racine) dans **Settings**, par exemple `agentsFolder: ~/agents`. Les agents suivants y sont créés.31+- **Un autre dossier** : réglez [`agentsFolder`](../reference/configuration.md#racine) dans **Settings**, par exemple `agentsFolder: ~/agents`. Les agents suivants y sont créés.
32 32
33 ## Voir aussi33 ## Voir aussi
34 34
modified docs/fr/reference/agents-et-evenements.md +1 -1
@@ -38,7 +38,7 @@ Arrêter un agent ferme son entrée standard, attend 5 secondes, puis tue son gr
3838 | `config:changed` | `{path, valid, problems[]}` | Le fichier de configuration a été enregistré et rechargé (valide ou non). |
3939 | `agent:state` | `{agent, state, error?}` | Un agent change d'état ou sa définition change. |
4040 | `agent:log` | `{agent, line}` | Un agent écrit une ligne sur sa sortie d'erreur, ou une commande de sa sandbox en affiche une (préfixée par `sandbox: `). |
41-| `agent:progress` | `{agent, step, line, since}` | Un agent qui démarre passe à une autre étape — `checking` (sa sandbox ou son conteneur est examiné), `preparing` (il est créé ou démarré : une ligne est venue de sa commande de cycle de vie), `connecting` (son programme démarre et répond à `initialize`) — ou a écrit une ligne (`line`, sans le préfixe `sandbox: ` du journal) ; `since` est le début du démarrage, en millisecondes Unix (issue #98). La conversation montre une carte de progression avec l'étape, le temps écoulé, la dernière ligne (une barre quand elle contient un pourcentage ou des tailles `fait/total`) et **Voir le journal** ; le panneau Agents montre l'étape. Se termine avec le `agent:state` suivant. |
41+| `agent:progress` | `{agent, step, line, since}` | Un agent qui démarre passe à une autre étape — `checking` (sa sandbox ou son conteneur est examiné), `preparing` (il est créé ou démarré : une ligne est venue de sa commande de cycle de vie), `connecting` (son programme démarre et répond à `initialize`) — ou a écrit une ligne (`line`, sans le préfixe `sandbox: ` du journal) ; `since` est le début du démarrage, en millisecondes Unix (issue #98). La conversation montre une carte de progression avec l'étape, le temps écoulé et la dernière ligne (une barre quand elle contient un pourcentage ou des tailles `fait/total`) ; le panneau Agents montre l'étape. Se termine avec le `agent:state` suivant. |
4242 | `files:dropped` | `{target, files[]}` | Des fichiers du système sont déposés sur un élément marqué `data-file-drop-target` ; `target` est son `id`, `files` leurs chemins absolus. |
4343
4444 Les noms et types Go sont dans `internal/events` ; les constantes et types TypeScript sont générés dans `frontend/bindings/events` et `frontend/bindings/…/internal/events`.
@@ -38,7 +38,7 @@ Arrêter un agent ferme son entrée standard, attend 5 secondes, puis tue son gr
38 | `config:changed` | `{path, valid, problems[]}` | Le fichier de configuration a été enregistré et rechargé (valide ou non). |38 | `config:changed` | `{path, valid, problems[]}` | Le fichier de configuration a été enregistré et rechargé (valide ou non). |
39 | `agent:state` | `{agent, state, error?}` | Un agent change d'état ou sa définition change. |39 | `agent:state` | `{agent, state, error?}` | Un agent change d'état ou sa définition change. |
40 | `agent:log` | `{agent, line}` | Un agent écrit une ligne sur sa sortie d'erreur, ou une commande de sa sandbox en affiche une (préfixée par `sandbox: `). |40 | `agent:log` | `{agent, line}` | Un agent écrit une ligne sur sa sortie d'erreur, ou une commande de sa sandbox en affiche une (préfixée par `sandbox: `). |
41-| `agent:progress` | `{agent, step, line, since}` | Un agent qui démarre passe à une autre étape — `checking` (sa sandbox ou son conteneur est examiné), `preparing` (il est créé ou démarré : une ligne est venue de sa commande de cycle de vie), `connecting` (son programme démarre et répond à `initialize`) — ou a écrit une ligne (`line`, sans le préfixe `sandbox: ` du journal) ; `since` est le début du démarrage, en millisecondes Unix (issue #98). La conversation montre une carte de progression avec l'étape, le temps écoulé, la dernière ligne (une barre quand elle contient un pourcentage ou des tailles `fait/total`) et **Voir le journal** ; le panneau Agents montre l'étape. Se termine avec le `agent:state` suivant. |41+| `agent:progress` | `{agent, step, line, since}` | Un agent qui démarre passe à une autre étape — `checking` (sa sandbox ou son conteneur est examiné), `preparing` (il est créé ou démarré : une ligne est venue de sa commande de cycle de vie), `connecting` (son programme démarre et répond à `initialize`) — ou a écrit une ligne (`line`, sans le préfixe `sandbox: ` du journal) ; `since` est le début du démarrage, en millisecondes Unix (issue #98). La conversation montre une carte de progression avec l'étape, le temps écoulé et la dernière ligne (une barre quand elle contient un pourcentage ou des tailles `fait/total`) ; le panneau Agents montre l'étape. Se termine avec le `agent:state` suivant. |
42 | `files:dropped` | `{target, files[]}` | Des fichiers du système sont déposés sur un élément marqué `data-file-drop-target` ; `target` est son `id`, `files` leurs chemins absolus. |42 | `files:dropped` | `{target, files[]}` | Des fichiers du système sont déposés sur un élément marqué `data-file-drop-target` ; `target` est son `id`, `files` leurs chemins absolus. |
43 43
44 Les noms et types Go sont dans `internal/events` ; les constantes et types TypeScript sont générés dans `frontend/bindings/events` et `frontend/bindings/…/internal/events`.44 Les noms et types Go sont dans `internal/events` ; les constantes et types TypeScript sont générés dans `frontend/bindings/events` et `frontend/bindings/…/internal/events`.
modified docs/fr/reference/configuration.md +1 -1
@@ -39,7 +39,7 @@ Le fichier est cherché dans cet ordre ; la première source applicable l'emport
3939 | `ui` | objet | non | | Préférences d'interface. |
4040 | `limits` | objet | non | | Limites de ressources. |
4141 | `agentTools` | objet | non | | Les outils que Sidekicks propose aux agents ([plus bas](#agenttools)). |
42-| `agentsFolder` | chemin | non | `~/Documents` | 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 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, Gemini, Codex, Vibe dans une sandbox](../how-to/creer-un-agent-dans-une-sandbox.md)) : absolu, `~/…`, ou relatif à ce fichier. Créé s'il manque. |
4343 | `agents` | liste d'agents | oui | | Les agents disponibles avec `@nom`. Peut être vide. |
4444 | `channels` | liste de channels | non | `[]` | Channels créés au démarrage s'ils n'existent pas encore. |
4545
@@ -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` | 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 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, Gemini, Codex, Vibe 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
modified docs/release-notes/v1.5.0.fr.md +4 -4
@@ -10,14 +10,14 @@ Sidekicks 1.5.0 rend la création d'agents facile pour tout le monde : deux assi
1010
1111 - **✨ Créer un agent mini-me** — sous la liste des agents, sur l'écran d'accueil (**✨ Créer mon premier agent**) et dans la palette de commandes — déroule dans Sidekicks l'assistant de mini-me (`mm init`) : le serveur de modèles, le modèle, à quoi sert l'agent… chaque question avec sa valeur par défaut, **← Question précédente** et **Recommencer** pour changer d'avis.
1212 - Donnez ensuite à l'agent son nom, un emoji, et l'endroit où il tourne : **sur cet ordinateur**, **dans un conteneur Docker** ou **dans une Docker Sandbox (sbx)**. Sidekicks l'ajoute à vos agents et ouvre sa conversation.
13-- Chaque agent a son propre dossier, à son nom, dans votre dossier **Documents** ; ses réglages y sont dans `.mm/agent.yaml`. Pour un conteneur ou une sandbox, mini-me écrit son `compose.yaml` ou son `sbxenv.yaml`, et Sidekicks crée le conteneur ou la sandbox au premier démarrage de l'agent.
13+- Chaque agent a son propre dossier, à son nom, dans le dossier **Sidekicks-Agents** de vos Documents (#101) ; ses réglages y sont dans `.mm/agent.yaml`. Pour un conteneur ou une sandbox, mini-me écrit son `compose.yaml` ou son `sbxenv.yaml`, et Sidekicks crée le conteneur ou la sandbox au premier démarrage de l'agent.
1414 - Des messages simples quand mini-me n'est pas installé ou trop ancien, quand aucun serveur de modèles ne répond, ou quand le nom est déjà pris. **Annuler** ne laisse rien derrière.
1515
1616 → [Créer un agent mini-me](https://rickub.com/bots-garden/sidekicks/blob/v1.5.0/docs/fr/how-to/creer-un-agent-mini-me.md)
1717
1818 ### Créer un agent Claude, Gemini, Codex ou Vibe dans une sandbox (#96, #86)
1919
20-- **✨ Créer un agent dans une sandbox** — sous la liste des agents, sur l'écran d'accueil et dans la palette de commandes : choisissez **Claude**, **Gemini** (via Google Antigravity), **Codex** ou **Vibe** (Mistral AI, #86), donnez-lui un nom et un emoji, et Sidekicks écrit son dossier dans votre dossier Documents (son `sbxenv.yaml` et son `workspace/`) puis l'ajoute. Sa sandbox est créée à son premier démarrage.
20+- **✨ Créer un agent dans une sandbox** — sous la liste des agents, sur l'écran d'accueil et dans la palette de commandes : choisissez **Claude**, **Gemini** (via Google Antigravity), **Codex** ou **Vibe** (Mistral AI, #86), donnez-lui un nom et un emoji, et Sidekicks écrit son dossier dans le dossier Sidekicks-Agents de vos Documents (son `sbxenv.yaml` et son `workspace/`) puis l'ajoute. Sa sandbox est créée à son premier démarrage.
2121 - Pas encore de clé d'API dans sbx ? L'assistant explique laquelle il faut, ouvre la page qui en donne une, et la confie à sbx (`sbx secret set`) : la clé n'est jamais écrite dans un fichier ni dans un journal.
2222 - Chaque type montre le logo de sa marque — Claude, Gemini, OpenAI, Mistral AI — qui devient l'icône de l'agent (#100 ; on peut toujours choisir un emoji).
2323 - Le nom qui l'appelle suit le nom affiché (`Marcel (assistant)` donne `@marcel-assistant`) tant que vous ne le tapez pas vous-même ; c'est aussi celui du dossier et de la sandbox, et Sidekicks en propose un libre avant le clic (#99). L'assistant mini-me demande aussi le nom affiché.
@@ -35,14 +35,14 @@ Sidekicks 1.5.0 rend la création d'agents facile pour tout le monde : deux assi
3535
3636 ### Petits changements
3737
38-- Pendant que la sandbox ou le conteneur d'un agent est créé à son premier démarrage — plusieurs minutes la première fois — la conversation montre l'étape, le temps écoulé et ce qui est téléchargé, avec une barre quand sbx ou docker donne un pourcentage, et **Voir le journal** (#98). Le panneau Agents montre aussi l'étape.
38+- Pendant que la sandbox ou le conteneur d'un agent est créé à son premier démarrage — plusieurs minutes la première fois — la conversation montre l'étape, le temps écoulé et ce qui est téléchargé, avec une barre quand sbx ou docker donne un pourcentage (#98). Le panneau Agents montre aussi l'étape.
3939
4040 - Les commandes qui créent, arrêtent ou suppriment le conteneur ou la sandbox d'un agent s'exécutent maintenant avec `PWD` égal à leur dossier, comme dans un terminal : le `compose.yaml` de `mm dockerinit` monte `${PWD}`, qui valait `/` quand Sidekicks était ouvert depuis le Finder.
4141
4242 ## Bon à savoir pour la mise à jour
4343
4444 - Glissez le nouveau **sidekicks** dans **Applications** et confirmez le remplacement ; votre configuration et votre historique sont gardés.
45-- Vos fichiers de configuration fonctionnent tels quels. Une nouvelle clé facultative : `agentsFolder`, où les assistants créent les dossiers des agents (`~/Documents` par défaut) ; et l'`icon` d'un agent peut maintenant valoir `logo:claude`, `logo:gemini`, `logo:openai` ou `logo:mistral`.
45+- Vos fichiers de configuration fonctionnent tels quels. Une nouvelle clé facultative : `agentsFolder`, où les assistants créent les dossiers des agents (`~/Documents/Sidekicks-Agents` par défaut) ; et l'`icon` d'un agent peut maintenant valoir `logo:claude`, `logo:gemini`, `logo:openai` ou `logo:mistral`.
4646 - L'assistant des sandboxes a besoin de sbx (Docker Sandboxes). Gemini passe maintenant par le kit `antigravity` de Docker, qui remplace son `gemini-kit` déprécié ; vos sandboxes Gemini existantes continuent de fonctionner.
4747 - L'assistant de création d'agents mini-me a besoin de mini-me (`mm`) **1.0.9 ou plus récent**. Pour un agent dans un conteneur Docker, utilisez la version de mini-me qui corrige le compte de `mm dockerinit` ; un agent créé avant affiche `I have no name!` dans son terminal : réécrivez ses fichiers (`mm dockerinit`) et reconstruisez son image (`docker compose up -d --build`).
4848
@@ -10,14 +10,14 @@ Sidekicks 1.5.0 rend la création d'agents facile pour tout le monde : deux assi
10 10
11 - **✨ Créer un agent mini-me** — sous la liste des agents, sur l'écran d'accueil (**✨ Créer mon premier agent**) et dans la palette de commandes — déroule dans Sidekicks l'assistant de mini-me (`mm init`) : le serveur de modèles, le modèle, à quoi sert l'agent… chaque question avec sa valeur par défaut, **← Question précédente** et **Recommencer** pour changer d'avis.11 - **✨ Créer un agent mini-me** — sous la liste des agents, sur l'écran d'accueil (**✨ Créer mon premier agent**) et dans la palette de commandes — déroule dans Sidekicks l'assistant de mini-me (`mm init`) : le serveur de modèles, le modèle, à quoi sert l'agent… chaque question avec sa valeur par défaut, **← Question précédente** et **Recommencer** pour changer d'avis.
12 - Donnez ensuite à l'agent son nom, un emoji, et l'endroit où il tourne : **sur cet ordinateur**, **dans un conteneur Docker** ou **dans une Docker Sandbox (sbx)**. Sidekicks l'ajoute à vos agents et ouvre sa conversation.12 - Donnez ensuite à l'agent son nom, un emoji, et l'endroit où il tourne : **sur cet ordinateur**, **dans un conteneur Docker** ou **dans une Docker Sandbox (sbx)**. Sidekicks l'ajoute à vos agents et ouvre sa conversation.
13-- Chaque agent a son propre dossier, à son nom, dans votre dossier **Documents** ; ses réglages y sont dans `.mm/agent.yaml`. Pour un conteneur ou une sandbox, mini-me écrit son `compose.yaml` ou son `sbxenv.yaml`, et Sidekicks crée le conteneur ou la sandbox au premier démarrage de l'agent.13+- Chaque agent a son propre dossier, à son nom, dans le dossier **Sidekicks-Agents** de vos Documents (#101) ; ses réglages y sont dans `.mm/agent.yaml`. Pour un conteneur ou une sandbox, mini-me écrit son `compose.yaml` ou son `sbxenv.yaml`, et Sidekicks crée le conteneur ou la sandbox au premier démarrage de l'agent.
14 - Des messages simples quand mini-me n'est pas installé ou trop ancien, quand aucun serveur de modèles ne répond, ou quand le nom est déjà pris. **Annuler** ne laisse rien derrière.14 - Des messages simples quand mini-me n'est pas installé ou trop ancien, quand aucun serveur de modèles ne répond, ou quand le nom est déjà pris. **Annuler** ne laisse rien derrière.
15 15
16 → [Créer un agent mini-me](https://rickub.com/bots-garden/sidekicks/blob/v1.5.0/docs/fr/how-to/creer-un-agent-mini-me.md)16 → [Créer un agent mini-me](https://rickub.com/bots-garden/sidekicks/blob/v1.5.0/docs/fr/how-to/creer-un-agent-mini-me.md)
17 17
18 ### Créer un agent Claude, Gemini, Codex ou Vibe dans une sandbox (#96, #86)18 ### Créer un agent Claude, Gemini, Codex ou Vibe dans une sandbox (#96, #86)
19 19
20-- **✨ Créer un agent dans une sandbox** — sous la liste des agents, sur l'écran d'accueil et dans la palette de commandes : choisissez **Claude**, **Gemini** (via Google Antigravity), **Codex** ou **Vibe** (Mistral AI, #86), donnez-lui un nom et un emoji, et Sidekicks écrit son dossier dans votre dossier Documents (son `sbxenv.yaml` et son `workspace/`) puis l'ajoute. Sa sandbox est créée à son premier démarrage.20+- **✨ Créer un agent dans une sandbox** — sous la liste des agents, sur l'écran d'accueil et dans la palette de commandes : choisissez **Claude**, **Gemini** (via Google Antigravity), **Codex** ou **Vibe** (Mistral AI, #86), donnez-lui un nom et un emoji, et Sidekicks écrit son dossier dans le dossier Sidekicks-Agents de vos Documents (son `sbxenv.yaml` et son `workspace/`) puis l'ajoute. Sa sandbox est créée à son premier démarrage.
21 - Pas encore de clé d'API dans sbx ? L'assistant explique laquelle il faut, ouvre la page qui en donne une, et la confie à sbx (`sbx secret set`) : la clé n'est jamais écrite dans un fichier ni dans un journal.21 - Pas encore de clé d'API dans sbx ? L'assistant explique laquelle il faut, ouvre la page qui en donne une, et la confie à sbx (`sbx secret set`) : la clé n'est jamais écrite dans un fichier ni dans un journal.
22 - Chaque type montre le logo de sa marque — Claude, Gemini, OpenAI, Mistral AI — qui devient l'icône de l'agent (#100 ; on peut toujours choisir un emoji).22 - Chaque type montre le logo de sa marque — Claude, Gemini, OpenAI, Mistral AI — qui devient l'icône de l'agent (#100 ; on peut toujours choisir un emoji).
23 - Le nom qui l'appelle suit le nom affiché (`Marcel (assistant)` donne `@marcel-assistant`) tant que vous ne le tapez pas vous-même ; c'est aussi celui du dossier et de la sandbox, et Sidekicks en propose un libre avant le clic (#99). L'assistant mini-me demande aussi le nom affiché.23 - Le nom qui l'appelle suit le nom affiché (`Marcel (assistant)` donne `@marcel-assistant`) tant que vous ne le tapez pas vous-même ; c'est aussi celui du dossier et de la sandbox, et Sidekicks en propose un libre avant le clic (#99). L'assistant mini-me demande aussi le nom affiché.
@@ -35,14 +35,14 @@ Sidekicks 1.5.0 rend la création d'agents facile pour tout le monde : deux assi
35 35
36 ### Petits changements36 ### Petits changements
37 37
38-- Pendant que la sandbox ou le conteneur d'un agent est créé à son premier démarrage — plusieurs minutes la première fois — la conversation montre l'étape, le temps écoulé et ce qui est téléchargé, avec une barre quand sbx ou docker donne un pourcentage, et **Voir le journal** (#98). Le panneau Agents montre aussi l'étape.38+- Pendant que la sandbox ou le conteneur d'un agent est créé à son premier démarrage — plusieurs minutes la première fois — la conversation montre l'étape, le temps écoulé et ce qui est téléchargé, avec une barre quand sbx ou docker donne un pourcentage (#98). Le panneau Agents montre aussi l'étape.
39 39
40 - Les commandes qui créent, arrêtent ou suppriment le conteneur ou la sandbox d'un agent s'exécutent maintenant avec `PWD` égal à leur dossier, comme dans un terminal : le `compose.yaml` de `mm dockerinit` monte `${PWD}`, qui valait `/` quand Sidekicks était ouvert depuis le Finder.40 - Les commandes qui créent, arrêtent ou suppriment le conteneur ou la sandbox d'un agent s'exécutent maintenant avec `PWD` égal à leur dossier, comme dans un terminal : le `compose.yaml` de `mm dockerinit` monte `${PWD}`, qui valait `/` quand Sidekicks était ouvert depuis le Finder.
41 41
42 ## Bon à savoir pour la mise à jour42 ## Bon à savoir pour la mise à jour
43 43
44 - Glissez le nouveau **sidekicks** dans **Applications** et confirmez le remplacement ; votre configuration et votre historique sont gardés.44 - Glissez le nouveau **sidekicks** dans **Applications** et confirmez le remplacement ; votre configuration et votre historique sont gardés.
45-- Vos fichiers de configuration fonctionnent tels quels. Une nouvelle clé facultative : `agentsFolder`, où les assistants créent les dossiers des agents (`~/Documents` par défaut) ; et l'`icon` d'un agent peut maintenant valoir `logo:claude`, `logo:gemini`, `logo:openai` ou `logo:mistral`.45+- Vos fichiers de configuration fonctionnent tels quels. Une nouvelle clé facultative : `agentsFolder`, où les assistants créent les dossiers des agents (`~/Documents/Sidekicks-Agents` par défaut) ; et l'`icon` d'un agent peut maintenant valoir `logo:claude`, `logo:gemini`, `logo:openai` ou `logo:mistral`.
46 - L'assistant des sandboxes a besoin de sbx (Docker Sandboxes). Gemini passe maintenant par le kit `antigravity` de Docker, qui remplace son `gemini-kit` déprécié ; vos sandboxes Gemini existantes continuent de fonctionner.46 - L'assistant des sandboxes a besoin de sbx (Docker Sandboxes). Gemini passe maintenant par le kit `antigravity` de Docker, qui remplace son `gemini-kit` déprécié ; vos sandboxes Gemini existantes continuent de fonctionner.
47 - L'assistant de création d'agents mini-me a besoin de mini-me (`mm`) **1.0.9 ou plus récent**. Pour un agent dans un conteneur Docker, utilisez la version de mini-me qui corrige le compte de `mm dockerinit` ; un agent créé avant affiche `I have no name!` dans son terminal : réécrivez ses fichiers (`mm dockerinit`) et reconstruisez son image (`docker compose up -d --build`).47 - L'assistant de création d'agents mini-me a besoin de mini-me (`mm`) **1.0.9 ou plus récent**. Pour un agent dans un conteneur Docker, utilisez la version de mini-me qui corrige le compte de `mm dockerinit` ; un agent créé avant affiche `I have no name!` dans son terminal : réécrivez ses fichiers (`mm dockerinit`) et reconstruisez son image (`docker compose up -d --build`).
48 48
modified docs/release-notes/v1.5.0.md +4 -4
@@ -10,14 +10,14 @@ Sidekicks 1.5.0 makes creating agents easy for everyone: two assistants create a
1010
1111 - **✨ Create a mini-me agent** — under the agents list, on the welcome screen (**✨ Create my first agent**) and in the command palette — runs mini-me's own wizard (`mm init`) inside Sidekicks: the model server, the model, what the agent is for… each question with its default, **← Previous question** and **Start again** to change your mind.
1212 - Then give the agent its name, an emoji, and where it runs: **on this computer**, **in a Docker container** or **in a Docker Sandbox (sbx)**. Sidekicks adds it to your agents and opens its conversation.
13-- Each agent gets its own folder, named after it, in your **Documents** folder; its settings are kept in `.mm/agent.yaml` there. For a container or a sandbox, mini-me writes its `compose.yaml` or `sbxenv.yaml`, and Sidekicks creates the container or the sandbox the first time the agent starts.
13+- Each agent gets its own folder, named after it, in the **Sidekicks-Agents** folder of your Documents (#101); its settings are kept in `.mm/agent.yaml` there. For a container or a sandbox, mini-me writes its `compose.yaml` or `sbxenv.yaml`, and Sidekicks creates the container or the sandbox the first time the agent starts.
1414 - Plain messages when mini-me is not installed or too old, when no model server answers, or when the name is already taken. **Cancel** leaves nothing behind.
1515
1616 → [Create a mini-me agent](https://rickub.com/bots-garden/sidekicks/blob/v1.5.0/docs/en/how-to/create-a-mini-me-agent.md)
1717
1818 ### Create a Claude, Gemini, Codex or Vibe agent in a sandbox (#96, #86)
1919
20-- **✨ Create an agent in a sandbox** — under the agents list, on the welcome screen and in the command palette: choose **Claude**, **Gemini** (through Google Antigravity), **Codex** or **Vibe** (Mistral AI, #86), give it a name and an emoji, and Sidekicks writes its folder in your Documents folder (its `sbxenv.yaml` and its `workspace/`) and adds it. Its sandbox is created at its first start.
20+- **✨ Create an agent in a sandbox** — under the agents list, on the welcome screen and in the command palette: choose **Claude**, **Gemini** (through Google Antigravity), **Codex** or **Vibe** (Mistral AI, #86), give it a name and an emoji, and Sidekicks writes its folder in the Sidekicks-Agents folder of your Documents (its `sbxenv.yaml` and its `workspace/`) and adds it. Its sandbox is created at its first start.
2121 - No API key in sbx yet? The assistant explains which one is needed, opens the page that gives one, and stores it with sbx (`sbx secret set`): the key is never written in a file nor in a log.
2222 - Each kind shows its brand's logo — Claude, Gemini, OpenAI, Mistral AI — which becomes the agent's icon (#100; any emoji can still be chosen).
2323 - The name you call it with follows the name shown (`Marcel (assistant)` gives `@marcel-assistant`) until you type it yourself; it is also the folder's and the sandbox's, and Sidekicks suggests a free one before you click (#99). The mini-me assistant asks for the name shown too.
@@ -35,14 +35,14 @@ Sidekicks 1.5.0 makes creating agents easy for everyone: two assistants create a
3535
3636 ### Smaller changes
3737
38-- While an agent's sandbox or container is created at its first start — minutes the first time — the conversation shows the step, the time elapsed and what is being downloaded, with a bar when sbx or docker gives a percentage, and **See the log** (#98). The Agents panel shows the step too.
38+- While an agent's sandbox or container is created at its first start — minutes the first time — the conversation shows the step, the time elapsed and what is being downloaded, with a bar when sbx or docker gives a percentage (#98). The Agents panel shows the step too.
3939
4040 - The commands that create, stop or remove an agent's container or sandbox now run with `PWD` set to their folder, as in a terminal: the `compose.yaml` of `mm dockerinit` mounts `${PWD}`, which was `/` when Sidekicks was opened from the Finder.
4141
4242 ## Worth knowing when upgrading
4343
4444 - Drag the new **sidekicks** into **Applications** and confirm the replacement; your configuration and your history are kept.
45-- Your configuration files keep working as they are. One new optional key: `agentsFolder`, where the assistants create the agents' folders (`~/Documents` by default); and an agent's `icon` may now be `logo:claude`, `logo:gemini`, `logo:openai` or `logo:mistral`.
45+- Your configuration files keep working as they are. One new optional key: `agentsFolder`, where the assistants create the agents' folders (`~/Documents/Sidekicks-Agents` by default); and an agent's `icon` may now be `logo:claude`, `logo:gemini`, `logo:openai` or `logo:mistral`.
4646 - The sandbox assistant needs sbx (Docker Sandboxes). Gemini now goes through Docker's `antigravity` kit, which replaces its deprecated `gemini-kit`; your existing Gemini sandboxes keep working.
4747 - The mini-me creation assistant needs mini-me (`mm`) **1.0.9 or later**. For an agent in a Docker container, use the mini-me release with the account fix of `mm dockerinit`; an agent created before it shows `I have no name!` in its terminal: write its files again (`mm dockerinit`) and rebuild its image (`docker compose up -d --build`).
4848
@@ -10,14 +10,14 @@ Sidekicks 1.5.0 makes creating agents easy for everyone: two assistants create a
10 10
11 - **✨ Create a mini-me agent** — under the agents list, on the welcome screen (**✨ Create my first agent**) and in the command palette — runs mini-me's own wizard (`mm init`) inside Sidekicks: the model server, the model, what the agent is for… each question with its default, **← Previous question** and **Start again** to change your mind.11 - **✨ Create a mini-me agent** — under the agents list, on the welcome screen (**✨ Create my first agent**) and in the command palette — runs mini-me's own wizard (`mm init`) inside Sidekicks: the model server, the model, what the agent is for… each question with its default, **← Previous question** and **Start again** to change your mind.
12 - Then give the agent its name, an emoji, and where it runs: **on this computer**, **in a Docker container** or **in a Docker Sandbox (sbx)**. Sidekicks adds it to your agents and opens its conversation.12 - Then give the agent its name, an emoji, and where it runs: **on this computer**, **in a Docker container** or **in a Docker Sandbox (sbx)**. Sidekicks adds it to your agents and opens its conversation.
13-- Each agent gets its own folder, named after it, in your **Documents** folder; its settings are kept in `.mm/agent.yaml` there. For a container or a sandbox, mini-me writes its `compose.yaml` or `sbxenv.yaml`, and Sidekicks creates the container or the sandbox the first time the agent starts.13+- Each agent gets its own folder, named after it, in the **Sidekicks-Agents** folder of your Documents (#101); its settings are kept in `.mm/agent.yaml` there. For a container or a sandbox, mini-me writes its `compose.yaml` or `sbxenv.yaml`, and Sidekicks creates the container or the sandbox the first time the agent starts.
14 - Plain messages when mini-me is not installed or too old, when no model server answers, or when the name is already taken. **Cancel** leaves nothing behind.14 - Plain messages when mini-me is not installed or too old, when no model server answers, or when the name is already taken. **Cancel** leaves nothing behind.
15 15
16 → [Create a mini-me agent](https://rickub.com/bots-garden/sidekicks/blob/v1.5.0/docs/en/how-to/create-a-mini-me-agent.md)16 → [Create a mini-me agent](https://rickub.com/bots-garden/sidekicks/blob/v1.5.0/docs/en/how-to/create-a-mini-me-agent.md)
17 17
18 ### Create a Claude, Gemini, Codex or Vibe agent in a sandbox (#96, #86)18 ### Create a Claude, Gemini, Codex or Vibe agent in a sandbox (#96, #86)
19 19
20-- **✨ Create an agent in a sandbox** — under the agents list, on the welcome screen and in the command palette: choose **Claude**, **Gemini** (through Google Antigravity), **Codex** or **Vibe** (Mistral AI, #86), give it a name and an emoji, and Sidekicks writes its folder in your Documents folder (its `sbxenv.yaml` and its `workspace/`) and adds it. Its sandbox is created at its first start.20+- **✨ Create an agent in a sandbox** — under the agents list, on the welcome screen and in the command palette: choose **Claude**, **Gemini** (through Google Antigravity), **Codex** or **Vibe** (Mistral AI, #86), give it a name and an emoji, and Sidekicks writes its folder in the Sidekicks-Agents folder of your Documents (its `sbxenv.yaml` and its `workspace/`) and adds it. Its sandbox is created at its first start.
21 - No API key in sbx yet? The assistant explains which one is needed, opens the page that gives one, and stores it with sbx (`sbx secret set`): the key is never written in a file nor in a log.21 - No API key in sbx yet? The assistant explains which one is needed, opens the page that gives one, and stores it with sbx (`sbx secret set`): the key is never written in a file nor in a log.
22 - Each kind shows its brand's logo — Claude, Gemini, OpenAI, Mistral AI — which becomes the agent's icon (#100; any emoji can still be chosen).22 - Each kind shows its brand's logo — Claude, Gemini, OpenAI, Mistral AI — which becomes the agent's icon (#100; any emoji can still be chosen).
23 - The name you call it with follows the name shown (`Marcel (assistant)` gives `@marcel-assistant`) until you type it yourself; it is also the folder's and the sandbox's, and Sidekicks suggests a free one before you click (#99). The mini-me assistant asks for the name shown too.23 - The name you call it with follows the name shown (`Marcel (assistant)` gives `@marcel-assistant`) until you type it yourself; it is also the folder's and the sandbox's, and Sidekicks suggests a free one before you click (#99). The mini-me assistant asks for the name shown too.
@@ -35,14 +35,14 @@ Sidekicks 1.5.0 makes creating agents easy for everyone: two assistants create a
35 35
36 ### Smaller changes36 ### Smaller changes
37 37
38-- While an agent's sandbox or container is created at its first start — minutes the first time — the conversation shows the step, the time elapsed and what is being downloaded, with a bar when sbx or docker gives a percentage, and **See the log** (#98). The Agents panel shows the step too.38+- While an agent's sandbox or container is created at its first start — minutes the first time — the conversation shows the step, the time elapsed and what is being downloaded, with a bar when sbx or docker gives a percentage (#98). The Agents panel shows the step too.
39 39
40 - The commands that create, stop or remove an agent's container or sandbox now run with `PWD` set to their folder, as in a terminal: the `compose.yaml` of `mm dockerinit` mounts `${PWD}`, which was `/` when Sidekicks was opened from the Finder.40 - The commands that create, stop or remove an agent's container or sandbox now run with `PWD` set to their folder, as in a terminal: the `compose.yaml` of `mm dockerinit` mounts `${PWD}`, which was `/` when Sidekicks was opened from the Finder.
41 41
42 ## Worth knowing when upgrading42 ## Worth knowing when upgrading
43 43
44 - Drag the new **sidekicks** into **Applications** and confirm the replacement; your configuration and your history are kept.44 - Drag the new **sidekicks** into **Applications** and confirm the replacement; your configuration and your history are kept.
45-- Your configuration files keep working as they are. One new optional key: `agentsFolder`, where the assistants create the agents' folders (`~/Documents` by default); and an agent's `icon` may now be `logo:claude`, `logo:gemini`, `logo:openai` or `logo:mistral`.45+- Your configuration files keep working as they are. One new optional key: `agentsFolder`, where the assistants create the agents' folders (`~/Documents/Sidekicks-Agents` by default); and an agent's `icon` may now be `logo:claude`, `logo:gemini`, `logo:openai` or `logo:mistral`.
46 - The sandbox assistant needs sbx (Docker Sandboxes). Gemini now goes through Docker's `antigravity` kit, which replaces its deprecated `gemini-kit`; your existing Gemini sandboxes keep working.46 - The sandbox assistant needs sbx (Docker Sandboxes). Gemini now goes through Docker's `antigravity` kit, which replaces its deprecated `gemini-kit`; your existing Gemini sandboxes keep working.
47 - The mini-me creation assistant needs mini-me (`mm`) **1.0.9 or later**. For an agent in a Docker container, use the mini-me release with the account fix of `mm dockerinit`; an agent created before it shows `I have no name!` in its terminal: write its files again (`mm dockerinit`) and rebuild its image (`docker compose up -d --build`).47 - The mini-me creation assistant needs mini-me (`mm`) **1.0.9 or later**. For an agent in a Docker container, use the mini-me release with the account fix of `mm dockerinit`; an agent created before it shows `I have no name!` in its terminal: write its files again (`mm dockerinit`) and rebuild its image (`docker compose up -d --build`).
48 48
modified frontend/src/lib/chat/StartProgress.svelte +2 -4
@@ -2,11 +2,11 @@
22 <script lang="ts">
33 // The start of an agent, shown while the user waits (issue #98): the step
44 // in plain words, the time elapsed, the last line its sandbox or container
5- // printed (with a bar when the line tells a percentage), and the log.
5+ // printed (with a bar when the line tells a percentage).
66 // Creating a sandbox the first time pulls kits and images: minutes.
77 import { onDestroy } from 'svelte'
88 import { t, type MessageKey } from '../i18n/index.svelte'
9- import { agentTitle, appState, showLog } from '../state.svelte'
9+ import { agentTitle, appState } from '../state.svelte'
1010 import { elapsed, percentOf } from '../progress'
1111 import Spinner from './Spinner.svelte'
1212
@@ -33,7 +33,6 @@
3333 <div class="bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow={percent}><span style:width="{percent}%"></span></div>
3434 {/if}
3535 {#if progress.line}<code class="line" title={progress.line}>{progress.line}</code>{/if}
36- <button type="button" class="link" onclick={() => showLog(agent)}>{t('progress.log')}</button>
3736 </section>
3837 {/if}
3938
@@ -45,5 +44,4 @@
4544 .bar { height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; }
4645 .bar span { display: block; height: 100%; background: var(--accent); transition: width 0.3s; }
4746 .line { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
48- .link { align-self: flex-start; border: none; background: none; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font-size: 12px; }
4947 </style>
@@ -2,11 +2,11 @@
2 <script lang="ts">2 <script lang="ts">
3 // The start of an agent, shown while the user waits (issue #98): the step3 // The start of an agent, shown while the user waits (issue #98): the step
4 // in plain words, the time elapsed, the last line its sandbox or container4 // in plain words, the time elapsed, the last line its sandbox or container
5- // printed (with a bar when the line tells a percentage), and the log.5+ // printed (with a bar when the line tells a percentage).
6 // Creating a sandbox the first time pulls kits and images: minutes.6 // Creating a sandbox the first time pulls kits and images: minutes.
7 import { onDestroy } from 'svelte'7 import { onDestroy } from 'svelte'
8 import { t, type MessageKey } from '../i18n/index.svelte'8 import { t, type MessageKey } from '../i18n/index.svelte'
9- import { agentTitle, appState, showLog } from '../state.svelte'9+ import { agentTitle, appState } from '../state.svelte'
10 import { elapsed, percentOf } from '../progress'10 import { elapsed, percentOf } from '../progress'
11 import Spinner from './Spinner.svelte'11 import Spinner from './Spinner.svelte'
12 12
@@ -33,7 +33,6 @@
33 <div class="bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow={percent}><span style:width="{percent}%"></span></div>33 <div class="bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow={percent}><span style:width="{percent}%"></span></div>
34 {/if}34 {/if}
35 {#if progress.line}<code class="line" title={progress.line}>{progress.line}</code>{/if}35 {#if progress.line}<code class="line" title={progress.line}>{progress.line}</code>{/if}
36- <button type="button" class="link" onclick={() => showLog(agent)}>{t('progress.log')}</button>
37 </section>36 </section>
38 {/if}37 {/if}
39 38
@@ -45,5 +44,4 @@
45 .bar { height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; }44 .bar { height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; }
46 .bar span { display: block; height: 100%; background: var(--accent); transition: width 0.3s; }45 .bar span { display: block; height: 100%; background: var(--accent); transition: width 0.3s; }
47 .line { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }46 .line { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
48- .link { align-self: flex-start; border: none; background: none; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font-size: 12px; }
49 </style>47 </style>
modified frontend/src/lib/i18n/messages.ts +0 -2
@@ -122,7 +122,6 @@ export const en = {
122122 'progress.seconds': '{seconds} s',
123123 'progress.minutes': '{minutes} min {seconds} s',
124124 'progress.firstTime': 'The first time, this can take several minutes: everything the agent needs is downloaded. The next times, it starts right away.',
125- 'progress.log': 'See the log',
126125 'message.thought': 'Reasoning',
127126 'message.stop.cancelled': 'Answer stopped.',
128127 'message.stop.max_tokens': 'Answer cut: the agent reached its length limit.',
@@ -616,7 +615,6 @@ export const fr: Record<MessageKey, string> = {
616615 'progress.seconds': '{seconds} s',
617616 'progress.minutes': '{minutes} min {seconds} s',
618617 'progress.firstTime': "La première fois, cela peut prendre plusieurs minutes : tout ce dont l'agent a besoin est téléchargé. Les fois suivantes, il démarre tout de suite.",
619- 'progress.log': 'Voir le journal',
620618 'message.thought': 'Réflexion',
621619 'message.stop.cancelled': 'Réponse arrêtée.',
622620 'message.stop.max_tokens': "Réponse coupée : l'agent a atteint sa limite de longueur.",
@@ -122,7 +122,6 @@ export const en = {
122 'progress.seconds': '{seconds} s',122 'progress.seconds': '{seconds} s',
123 'progress.minutes': '{minutes} min {seconds} s',123 'progress.minutes': '{minutes} min {seconds} s',
124 'progress.firstTime': 'The first time, this can take several minutes: everything the agent needs is downloaded. The next times, it starts right away.',124 'progress.firstTime': 'The first time, this can take several minutes: everything the agent needs is downloaded. The next times, it starts right away.',
125- 'progress.log': 'See the log',
126 'message.thought': 'Reasoning',125 'message.thought': 'Reasoning',
127 'message.stop.cancelled': 'Answer stopped.',126 'message.stop.cancelled': 'Answer stopped.',
128 'message.stop.max_tokens': 'Answer cut: the agent reached its length limit.',127 'message.stop.max_tokens': 'Answer cut: the agent reached its length limit.',
@@ -616,7 +615,6 @@ export const fr: Record<MessageKey, string> = {
616 'progress.seconds': '{seconds} s',615 'progress.seconds': '{seconds} s',
617 'progress.minutes': '{minutes} min {seconds} s',616 'progress.minutes': '{minutes} min {seconds} s',
618 'progress.firstTime': "La première fois, cela peut prendre plusieurs minutes : tout ce dont l'agent a besoin est téléchargé. Les fois suivantes, il démarre tout de suite.",617 'progress.firstTime': "La première fois, cela peut prendre plusieurs minutes : tout ce dont l'agent a besoin est téléchargé. Les fois suivantes, il démarre tout de suite.",
619- 'progress.log': 'Voir le journal',
620 'message.thought': 'Réflexion',618 'message.thought': 'Réflexion',
621 'message.stop.cancelled': 'Réponse arrêtée.',619 'message.stop.cancelled': 'Réponse arrêtée.',
622 'message.stop.max_tokens': "Réponse coupée : l'agent a atteint sa limite de longueur.",620 'message.stop.max_tokens': "Réponse coupée : l'agent a atteint sa limite de longueur.",
modified internal/config/config.go +3 -2
@@ -38,8 +38,9 @@ const (
3838 DefaultMaxAgentHandoffs = 3
3939 RuntimeLocal = "local"
4040 // DefaultAgentsFolder is where the mini-me creation assistant puts the
41- // agents' folders (issue #94): the Documents folder of the user.
42- DefaultAgentsFolder = "~/Documents"
41+ // agents' folders (issues #94, #101): a folder of its own in the user's
42+ // Documents, so that the agents do not mix with the user's documents.
43+ DefaultAgentsFolder = "~/Documents/Sidekicks-Agents"
4344 )
4445
4546 // Config is a loaded configuration: defaults applied and paths absolute.
@@ -38,8 +38,9 @@ const (
38 DefaultMaxAgentHandoffs = 338 DefaultMaxAgentHandoffs = 3
39 RuntimeLocal = "local"39 RuntimeLocal = "local"
40 // DefaultAgentsFolder is where the mini-me creation assistant puts the40 // DefaultAgentsFolder is where the mini-me creation assistant puts the
41- // agents' folders (issue #94): the Documents folder of the user.41+ // agents' folders (issues #94, #101): a folder of its own in the user's
42- DefaultAgentsFolder = "~/Documents"42+ // Documents, so that the agents do not mix with the user's documents.
43+ DefaultAgentsFolder = "~/Documents/Sidekicks-Agents"
43 )44 )
44 45
45 // Config is a loaded configuration: defaults applied and paths absolute.46 // Config is a loaded configuration: defaults applied and paths absolute.
modified internal/config/config_test.go +2 -2
@@ -616,10 +616,10 @@ func TestAnUnknownToolIsOnlyAWarning(t *testing.T) {
616616 }
617617 }
618618
619-func TestTheAgentsFolderIsTheDocumentsFolderByDefault(t *testing.T) {
619+func TestTheAgentsFolderIsSidekicksAgentsInDocumentsByDefault(t *testing.T) {
620620 home, _ := os.UserHomeDir()
621621 cases := []struct{ yaml, want string }{
622- {"", filepath.Join(home, "Documents")},
622+ {"", filepath.Join(home, "Documents", "Sidekicks-Agents")},
623623 {"agentsFolder: ~/agents\n", filepath.Join(home, "agents")},
624624 {"agentsFolder: /srv/agents\n", "/srv/agents"},
625625 {"agentsFolder: ../agents\n", "/home/me/agents"},
@@ -616,10 +616,10 @@ func TestAnUnknownToolIsOnlyAWarning(t *testing.T) {
616 }616 }
617 }617 }
618 618
619-func TestTheAgentsFolderIsTheDocumentsFolderByDefault(t *testing.T) {619+func TestTheAgentsFolderIsSidekicksAgentsInDocumentsByDefault(t *testing.T) {
620 home, _ := os.UserHomeDir()620 home, _ := os.UserHomeDir()
621 cases := []struct{ yaml, want string }{621 cases := []struct{ yaml, want string }{
622- {"", filepath.Join(home, "Documents")},622+ {"", filepath.Join(home, "Documents", "Sidekicks-Agents")},
623 {"agentsFolder: ~/agents\n", filepath.Join(home, "agents")},623 {"agentsFolder: ~/agents\n", filepath.Join(home, "agents")},
624 {"agentsFolder: /srv/agents\n", "/srv/agents"},624 {"agentsFolder: /srv/agents\n", "/srv/agents"},
625 {"agentsFolder: ../agents\n", "/home/me/agents"},625 {"agentsFolder: ../agents\n", "/home/me/agents"},
modified internal/config/default.go +2 -2
@@ -37,8 +37,8 @@ agentTools:
3737 enabled: true
3838
3939 # Where the "Create a mini-me agent" assistant makes one folder per agent.
40-# Default: your Documents folder.
41-# agentsFolder: ~/Documents
40+# Default: the Sidekicks-Agents folder of your Documents.
41+# agentsFolder: ~/Documents/Sidekicks-Agents
4242
4343 # The agents: call them in a conversation by clicking their name.
4444 # The simplest way to add one is the "Add an agent" button of Sidekicks.
@@ -37,8 +37,8 @@ agentTools:
37 enabled: true37 enabled: true
38 38
39 # Where the "Create a mini-me agent" assistant makes one folder per agent.39 # Where the "Create a mini-me agent" assistant makes one folder per agent.
40-# Default: your Documents folder.40+# Default: the Sidekicks-Agents folder of your Documents.
41-# agentsFolder: ~/Documents41+# agentsFolder: ~/Documents/Sidekicks-Agents
42 42
43 # The agents: call them in a conversation by clicking their name.43 # The agents: call them in a conversation by clicking their name.
44 # The simplest way to add one is the "Add an agent" button of Sidekicks.44 # The simplest way to add one is the "Add an agent" button of Sidekicks.
modified schema/config.schema.json +2 -2
@@ -24,10 +24,10 @@
2424 "$ref": "#/$defs/agentTools"
2525 },
2626 "agentsFolder": {
27- "description": "Where the assistant that creates mini-me agents makes one folder per agent: an absolute path, ~/… (your home folder) or a path relative to this file. Default: your Documents folder.",
27+ "description": "Where the assistants that create agents make one folder per agent: an absolute path, ~/… (your home folder) or a path relative to this file. Default: the Sidekicks-Agents folder of your Documents.",
2828 "type": "string",
2929 "minLength": 1,
30- "default": "~/Documents"
30+ "default": "~/Documents/Sidekicks-Agents"
3131 },
3232 "agents": {
3333 "description": "The agents available with @name. Names must be unique.",
@@ -24,10 +24,10 @@
24 "$ref": "#/$defs/agentTools"24 "$ref": "#/$defs/agentTools"
25 },25 },
26 "agentsFolder": {26 "agentsFolder": {
27- "description": "Where the assistant that creates mini-me agents makes one folder per agent: an absolute path, ~/… (your home folder) or a path relative to this file. Default: your Documents folder.",27+ "description": "Where the assistants that create agents make one folder per agent: an absolute path, ~/… (your home folder) or a path relative to this file. Default: the Sidekicks-Agents folder of your Documents.",
28 "type": "string",28 "type": "string",
29 "minLength": 1,29 "minLength": 1,
30- "default": "~/Documents"30+ "default": "~/Documents/Sidekicks-Agents"
31 },31 },
32 "agents": {32 "agents": {
33 "description": "The agents available with @name. Names must be unique.",33 "description": "The agents available with @name. Names must be unique.",