From e64b96dae06ea56c71fada1dc5a20e355267534c Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 2 Dec 2026 15:27:35 +0100 Subject: feat(assistant): safe cloud providers and three-way tool cloud Each [[cloud]] provider gets a Safe switch (safe = true). Each tool's cloud switch becomes Local / Safe / All cloud, writing no cloud line, cloud = "safe" or cloud = true; "All tools" buttons set every tool in the draft. A note warns when a tool is set to Safe but no provider is marked safe. Before, a safe key made the Cloud section unreadable and a provider list read as off, and switching it on widened it to true. Co-Authored-By: Claude Opus 5.5 --- desktop/modules/assistant/README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'desktop/modules/assistant/README.md') diff --git a/desktop/modules/assistant/README.md b/desktop/modules/assistant/README.md index a1ce840..c16e594 100644 --- a/desktop/modules/assistant/README.md +++ b/desktop/modules/assistant/README.md @@ -13,12 +13,14 @@ are never copied here. A refused number is outlined and holds Save back. The system prompt also has "Use the default". The tool environment (`[env]`) is one row per key, with an add row below. A tool's switch, once saved, renames `tools/.toml` -to `.toml.off`, which the daemon's `*.toml` glob skips. Its cloud switch sets or drops -`cloud = true` at the top of the file, which offers the tool to cloud -chats; the file is checked with `tomllib` and replaced atomically. +to `.toml.off`, which the daemon's `*.toml` glob skips. Its Local / Safe / All cloud +choice drops the `cloud` line or sets `cloud = "safe"` (only providers +marked safe) or `cloud = true` (every provider) at the top of the file; +"All tools" sets every tool at once, in the draft. The file is checked with `tomllib` and replaced atomically. **Cloud** edits the daemon's `[[cloud]]` tables: name, URL and key -command per provider. Fetch saves the page, then runs `assistant.py +command per provider, and Safe, which also gives it the tools set to +Safe. Fetch saves the page, then runs `assistant.py --cloud-models `, which runs the key command and lists the provider's ids; the switches choose which the canvas offers. The key never reaches this page. A table holding more than the page writes (a -- cgit v1.2.3