Device file browser, built-in S3 store and spread agent upgrades #21

Merged
gsadmin merged 12 commits from dev into main 2026-11-02 01:53:52 +00:00
Owner

Device files

A Files tab on each device: browse, filter, create, rename, delete, edit text (encoding kept, conflicts caught), upload files and folders, download a file or a zip. Bytes go over core NATS, so it works across replicas and nothing stays on the server. New permissions files.browse and files.manage; agent policy AllowFileAccess.

S3 out of the box

  • The server runs Silo as a separate process on loopback, on by default (S3_EMBEDDED=0 removes it). A server already using an external store keeps it.
  • Devices always get real S3 presigned URLs. An external store's lead straight to it (Wasabi, AWS). The built-in store's lead through the server, by PUBLIC_SERVER_URL or else the agent's own server URL.
  • S3 Files page and Browse S3 picker: browse, search, upload, download, delete.
  • Swarm and Kubernetes run one shared store: Swarm redeploys now need S3_EMBEDDED_ACCESS_KEY and S3_EMBEDDED_SECRET_KEY.
  • Silo is AGPL-3.0, shipped unmodified and not linked; each release carries its source.

Spread agent upgrades

Optional Stagger on Upgrade Agents, with Cancel Waiting.

Testing

915 tests pass, and the flows ran on a real Windows server and agent. CI built the Linux image. Not run: the Linux store itself, Linux and macOS agents, Swarm, Kubernetes, real reverse proxies, real Wasabi or AWS. Agents below 1.2.0 can't use the Files tab or follow the built-in store's path-only URLs unless PUBLIC_SERVER_URL is set.

🤖 Generated with Claude Code

## Device files A **Files** tab on each device: browse, filter, create, rename, delete, edit text (encoding kept, conflicts caught), upload files and folders, download a file or a zip. Bytes go over core NATS, so it works across replicas and nothing stays on the server. New permissions `files.browse` and `files.manage`; agent policy `AllowFileAccess`. ## S3 out of the box - The server runs **Silo** as a separate process on loopback, on by default (`S3_EMBEDDED=0` removes it). A server already using an external store keeps it. - Devices always get real S3 presigned URLs. An external store's lead straight to it (Wasabi, AWS). The built-in store's lead through the server, by `PUBLIC_SERVER_URL` or else the agent's own server URL. - **S3 Files** page and Browse S3 picker: browse, search, upload, download, delete. - Swarm and Kubernetes run one shared store: **Swarm redeploys now need `S3_EMBEDDED_ACCESS_KEY` and `S3_EMBEDDED_SECRET_KEY`.** - Silo is AGPL-3.0, shipped unmodified and not linked; each release carries its source. ## Spread agent upgrades Optional **Stagger** on Upgrade Agents, with **Cancel Waiting**. ## Testing 915 tests pass, and the flows ran on a real Windows server and agent. CI built the Linux image. Not run: the Linux store itself, Linux and macOS agents, Swarm, Kubernetes, real reverse proxies, real Wasabi or AWS. Agents below 1.2.0 can't use the Files tab or follow the built-in store's path-only URLs unless `PUBLIC_SERVER_URL` is set. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
gsadmin added 12 commits 2026-11-02 01:53:50 +00:00
Requests answer on core NATS. Transfers move in 256 KB frames with at most
2 MB unacknowledged, so a slow browser slows the device and nothing queues.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Uploads land only once complete, text saves keep their encoding and refuse a
file that moved on, and folders stream as zips. AllowFileAccess turns all of it
off locally, whatever the server asks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
files.browse reads and files.manage changes, in device scope and on the audit
trail. Nothing is stored: transfers stream through the node holding the browser's
request. System roles now follow what their version grants, so Operator picks up
new permissions on upgrade.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Browse, filter, edit, create, rename, delete, upload files and folders, and
download as a file or zip. Browse S3 fills a script's file bindings and Send
from S3, which moves to the Files tab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The nginx sample streams device routes instead of buffering uploads. Also
restores the table of contents entry for Agent installer delivery.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A delivery's URL can now be a path, resolved against the server URL the agent
already reaches, as upgrades do. Both downloaders also use enrollment's trust,
so a self-signed server's links work.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
S3 now works with nothing configured: the server runs Silo as a separate process
on loopback, with generated credentials. Only the server can reach it, so its
links lead to the server, by PUBLIC_SERVER_URL or else the agent's own server URL.
Objects can be uploaded and deleted through the server, on any store. A server
already set up for an external store keeps it. S3_EMBEDDED_URL shares one store
across replicas.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Browse, search, upload files and folders, download and delete, on a page of its
own and in the picker. Settings chooses Built-In or External and shows the store's
status. The device tab's upload queue is now shared.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Silo is pinned by SHA-256 in build/object-store.json and goes into the standalone
packages, the MSI and the backend image, with its licence. Releases carry its
source. The Swarm and Kubernetes stacks run one store as an internal service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Spread Over and Devices at a Time on Upgrade Agents, planned as a run's stagger
over the devices actually queued. Each upgrade keeps its earliest start, a batch
goes together when due, and a device that missed its turn comes back through the
paced batches. Cancel Waiting stops what has not been sent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(server): the built-in store gives out real S3 presigned URLs
CI / build-test (push) Successful in 25m31s
CI / images (push) Successful in 7m35s
CI / build-test (pull_request) Successful in 10m52s
CI / images (pull_request) Has been skipped
739547e46c
Like an external store's, and checked by the store itself; the server only passes
on one signed object. They are signed for a fixed name the server gives the store,
so they hold at any address. An external store's URLs lead straight to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gsadmin merged commit 15b6238824 into main 2026-11-02 01:53:52 +00:00
Sign in to join this conversation.