3 Commits

Author SHA256 Message Date
Alphaeus Mote b4202e9794 feat(enrollment): stable agent download links, optional public downloads, new Add Device dialog
CI / build-test (push) Failing after 11m51s
CI / images (push) Has been skipped
Release / release (push) Successful in 24m35s
Release / images (push) Successful in 5m13s
- Stable links per package (/api/downloads/agent/Agent.msi, Agent.zip,
  Agent-<os>-<arch>.zip) always serve the newest build (GET and HEAD,
  X-Agent-Version); /api/downloads/agent lists version, SHA-256, size and
  link as JSON. With offload on they redirect to a fresh presigned link
  (S3 presigned links cannot be permanent).
- Public Downloads setting (off by default): on, anyone; off, install
  scripts (their package URLs carry the bootstrap token) and signed-in
  users with devices.view.
- No MSI/ZIP choice: the Windows script installs the MSI, or the ZIP in
  Windows PE. Add Device is redesigned: platform cards, token step with
  summary chips, install step, and per-platform downloads.
- Settings > Enrollment Tokens gains an Agent Downloads card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 21:25:58 -05:00
Alphaeus Mote 1a216992f8 test: MSI devices get the MSI and its rollback fields; the catalog imports the MSI
The catalog test now expects the MSI imported as Agent.msi. MSI devices get the
MSI and portable ones the zip, an MSI device without an MSI of the target is
left out as no-package, the MSI command carries the running version's MSI (or
none when the server has none), a rollback goes through the previous MSI, and
the device DTO says how the agent was installed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 20:49:29 -04:00
Alphaeus Mote 5ed4a5c058 test(upgrades): catalog, start and roll back, paced scheduler, events, settings
Each fixture gets its own data root for catalog copies; catalog syncs are
driven by the tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 17:33:06 -04:00