27 Commits

Author SHA256 Message Date
Alphaeus Mote ea6643a1d1 docs: Sequences section, CLI and schedule notes, restart hand-off diagram [skip ci]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 09:54:39 -05:00
Alphaeus Mote c732e49d4f docs: the built-in S3 store and S3 Files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 08:50:37 -05:00
Alphaeus Mote 1ef375b761 docs: device files and browsing S3
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>
2026-11-01 04:17:52 -05:00
Alphaeus Mote 150ca5d71e docs: the React console, nested groups, run now and schedules
- README: the WebUI is the React/MUI console; "Device groups and script
  triggers" covers folders, nesting (membership includes nested groups),
  the tree, moves and the safe-delete rules; "Group runs and schedules"
  covers run now on any devices/groups (reach preview, online-only, one
  execution) and the Schedules workspace (edit in place, run now, server
  preview, validation, scope rules). Node 22+ for the WebUI.
- Screenshots regenerated from the new console (dev seed, dark, 1440x900
  @2x, light dashboard); four that nothing referenced are removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 21:49:37 -04:00
gsadmin c39747e8df Docs: give OS release its own field, refresh screenshots [skip ci]
- Device detail: the Windows release (DisplayVersion, e.g. 23H2) is now its
  own "Release" row instead of being appended to the OS caption in parens —
  OS reads "Windows 11", Release reads "23H2".
- README: rewrite the triggers/schedules section for the unified model — a
  single "scheduled" trigger type carries its cadence and target inline; the
  standalone Schedules page and reusable cadence objects are gone.
- Screenshots: refresh the pages that changed this session (device detail with
  the new Identity/OS/board fields and split Tags/Groups, hardware motherboard,
  public-IP reveal, devices list base captions, dashboard drill-ins, add-device
  and settings install commands, group-target execution, scheduled-trigger
  builder). Drop the now-defunct schedules.png and script-schedules-card.png.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-10 08:44:26 -04:00
gsadmin d01cf5b4cf Add Device: full paste-ready command wrapped for a Run box [skip ci]
The install command is shown in full (wraps, no truncation) and is
wrapped so it pastes anywhere: Windows as powershell.exe -NoProfile
-ExecutionPolicy Bypass -Command "..." (Win+R Run box or elevated
prompt), unix as bash -c "curl ... | sudo bash". CopyChip gains a wrap
mode. Screenshot refreshed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-09 18:00:45 -04:00
gsadmin c795c03d94 Dashboard auto-refreshes; no-expiry tokens are multi-device only [skip ci]
The dashboard now polls the aggregate every 15s (on top of the
immediate NATS-event refresh) so it stays current while watched. The
Add Device no-expiry option is gated to the Multiple devices scope - a
single device is a one-time enrollment and always keeps the 24-hour
expiry. Add-device screenshot refreshed on the multi scope.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-09 10:34:26 -04:00
gsadmin a71062a323 Informative dashboard, OS-type device icons, richer dev seed [skip ci]
The dashboard is rebuilt as a quiet, information-dense overview: KPI
tiles (devices, jobs/30d, success rate, failures), a job-outcome donut,
a 14-day executions timeline, and bar lists for script engine, exit
codes, top targets and most-run scripts, plus a fleet-platform donut
and a latest-executions list that drills into each job. A live
deployment banner rolls up NATS job.state events into an N-of-M
progress bar so a group run shows progress as it lands. All charts are
small hand-rolled SVG components - no chart dependency.

Backed by a new GET /api/dashboard aggregate (one read across jobs,
devices and scripts, 30-day window). Devices now show an OS-type icon
(Windows / Apple / Tux) on the list and detail header, derived with the
same normalization as the backend platform field. The dev seed gains
Linux and macOS devices and ~90 jobs spread across engines, states,
exit codes and 14 days so the charts and icons have something to show.
Screenshots refreshed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-09 10:18:31 -04:00
gsadmin 083e207cc4 Add device from the Devices page: one-liner installs for every platform
CI / build-test (push) Successful in 15m53s
CI / images (push) Successful in 2m20s
CI / build-test (pull_request) Successful in 3m26s
CI / images (pull_request) Has been skipped
Devices gains an Add device modal (visible with settings.manage): a
horizontal Windows / Linux / macOS selector, a single-use or multi-use
token choice (24-hour expiry), and Generate command — nothing is
created until confirmed; Esc, click-outside or Cancel dismiss without
side effects, and each open starts fresh. The generated one-liner is
copy-ready per platform.

The install endpoint grew unix variants: ?type=linux|osx returns a bash
script that detects the architecture, downloads the matching agent zip
from the same origin, unpacks to /opt/executer/agent, configures
enrollment through the agent''s new cross-platform `configure --url
--token` verb (registry on Windows, agent.json elsewhere) and registers
the systemd unit / launchd daemon. The agent package service serves the
four unix zips alongside Agent.msi/Agent.zip, and both the CI image
bake and the standalone server bundles stage them.

Covered by seven endpoint tests (PowerShell variants, bash variants
with arch detection, token refusal); modal verified live — it issued a
real token and built the Linux one-liner in the shot.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 12:48:25 -04:00
gsadmin 7549d079ce Screenshots: clone actions, seeded schedules, live platform-group rules
CI / build-test (push) Has been cancelled
CI / images (push) Has been cancelled
CI / build-test (pull_request) Successful in 3m19s
CI / images (pull_request) Has been skipped
Fresh captures across the clone-bearing surfaces: schedule rows with
Pause/Edit/Clone showing all four starter cadences, the groups page
with Windows Servers selected (its seeded platform rules in the
builder and Clone in the editor header), a saved Function with its
Clone action, the script editor header, the Script Configuration
strip, and the Access roles table with Clone on every row.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 11:53:00 -04:00
gsadmin 6dbbb56a1c Docs sweep: cross-platform intro, Functions naming, first-reset shot
CI / build-test (pull_request) Has been cancelled
CI / images (pull_request) Has been cancelled
CI / build-test (push) Successful in 11m45s
CI / images (push) Successful in 3m20s
The README intro finally says what the product is now: cross-platform
agents (Windows/Linux/macOS, x64 + arm64) with three script engines and
per-platform service integration. "Function modules" is Functions in
the remaining prose and gallery, run values are execution values, and
the gallery caption for the define strip reflects Script Configuration.
New capture: the forced first-sign-in password reset (also exercised
live — the shot run set a real password and landed signed in).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 11:36:29 -04:00
gsadmin cdfe02eb1b Script Configuration strip with self-headed sections; directory guard
CI / build-test (push) Successful in 11m26s
CI / images (push) Successful in 3m10s
CI / build-test (pull_request) Successful in 3m18s
CI / images (pull_request) Has been skipped
The define strip is titled Script Configuration and every section
carries its own header — Parameters, Secrets, Files (S3), Functions —
instead of one mashed headline. Directory file deliveries now refuse a
leaf destination: the server rejects destinations whose last segment
looks like a file path (extension heuristic that tolerates version-like
dots), and the editor shows the same warning inline as you type.
Screenshots refreshed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 11:31:57 -04:00
gsadmin 718082d08a IntelliSense binds $Files keys; refreshed screenshots and docs
CI / build-test (push) Successful in 12m12s
CI / images (push) Successful in 1m42s
CI / build-test (pull_request) Successful in 3m11s
CI / images (pull_request) Has been skipped
Completions now include every file binding as $Files.Name, labeled with
its delivered type (FileInfo, or DirectoryInfo for recursive prefixes),
alongside the existing parameter and $Secrets entries. Fresh captures:
the define strip with a Files (S3) binding, the fully vertical
execution flow, the device header with the copyable client id, and the
network tab titled by interface name with its copyable Interface row.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 11:16:17 -04:00
gsadmin 5ed93853e0 Docs and screenshots: editor flow, platform groups, server bootstrap
CI / build-test (push) Successful in 13m20s
CI / images (push) Failing after 48s
README covers the CIDR operators and os.platform field, the seeded
platform groups and starter cadences, triggers on scripts, the Script
Engine selector with pop-out/IntelliSense and the vertical execution
flow, the ExecuteR-Server rename with setup flags and in-code
nats-server download, the server MSI, bundled agent delivery, and the
win-arm64 addition to the CI matrix. Fresh captures: the new editor
layout, the execution flow with a live trigger, groups with the
default platform groups, starter schedules and the Functions rename.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 09:42:30 -04:00
gsadmin 682dcfe929 Refresh screenshots: Access page, role editor, engine selector
CI / build-test (push) Successful in 9m33s
CI / images (push) Successful in 1m41s
CI / build-test (pull_request) Successful in 3m14s
CI / images (pull_request) Has been skipped
Re-captures every nav-bearing page (the rail gained Access), the
script editor showing the engine selector with loaded Monaco content,
and adds two Access-control shots: the users/roles overview and the
role editor with the permission grid, OIDC claim values and device
scope. README embeds them in the custom-roles section and the gallery.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 21:41:21 -04:00
gsadmin b087c0af78 Device page shows the agent's public IP, masked until revealed
CI / build-test (push) Failing after 12s
CI / images (push) Has been skipped
The backend records the IP each agent is seen from — resolved through
trusted forwarded headers — at enrollment and on every verified
credential refresh, so it stays current as agents roam. The Connectivity
card shows it masked by default with a Reveal toggle; revealed, it is a
click-to-copy chip. The NATS WebSocket terminates at the proxy, so the
HTTP paths are the only faithful source.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 15:00:40 -04:00
gsadmin 22e63e57bd Network tab: MAC joins the aligned rows instead of floating right
CI / build-test (push) Failing after 12s
CI / images (push) Has been skipped
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 14:50:30 -04:00
gsadmin 82229276a1 Storage shows disks with their volumes nested underneath
CI / build-test (push) Failing after 13s
CI / images (push) Has been skipped
The agent walks Win32_DiskDriveToDiskPartition and
Win32_LogicalDiskToPartition so every drive letter maps to its physical
disk. The hardware tab renders each disk (model, bus, size, copyable
serial) with its volumes indented beneath — file system, usage bar and
free-of-total — and volumes without a mapping fall into their own group.
Dev seed grows a two-disk layout so the hierarchy is visible.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 14:04:04 -04:00
gsadmin 18b300f674 Sign-in button shows a friendly provider name
New OIDC_PROVIDER_NAME / Settings field ("Authentik", "Entra ID", …)
feeds the sign-in button subtext; the authority host remains only the
fallback when no name is set.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 14:04:04 -04:00
gsadmin 09690fe060 Refresh every screenshot against the current UI
CI / build-test (push) Failing after 13s
CI / images (push) Has been skipped
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 13:39:30 -04:00
gsadmin 377d4e3221 Schedules become reusable cadence objects honored by scripts
A schedule now defines only when — name, one-shot or recurring cadence,
time zone. Scripts honor it through assignments carrying the target
(device or group) and stored run values, so one "Nightly at 1am" drives
any number of scripts and pausing the cadence pauses everything attached.
Firing prepares each script once per sweep and every assignment records
its own last result; one-shots disable after firing all assignments, and
deleting a script or schedule cascades its assignments.

The Schedules page manages the objects (builder extracted into a shared
cadence editor, cron still behind Advanced with plain-English description
and server-computed next runs) and shows what uses each cadence; the
script editor's panel attaches and detaches them.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 13:10:00 -04:00
gsadmin a3b7429cac Fleet-wide Schedules page
CI / build-test (push) Failing after 53s
CI / images (push) Has been skipped
New nav entry listing every schedule sorted by next run: status chip
(Active / Paused / Done), script link, device or group target,
plain-English cadence, next occurrence and last firing result, with
pause/enable and delete in place. The cadence describer moves to a
shared module used by both the overview and the per-script card.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 12:35:03 -04:00
gsadmin f8a9075316 Scheduled runs: friendly cadences first, cron behind Advanced
Scripts can now run on a schedule — once at a set time or recurring —
against a device or a group (members resolved at fire time). The builder
leads with plain selectors (every N minutes/hours, daily/weekly/monthly
at a time, weekday chips) and compiles them to cron internally; a raw
cron field exists only under "Advanced". Whatever is chosen is
auto-described in plain English and grounded by a server-side preview of
the next occurrences, so the description can never drift from reality.

Cronos evaluates expressions in the schedule's time zone with UTC
storage. A 30s worker fires due schedules through the shared JobRunner
(jobs appear as schedule:<name>), advances recurrence from "now" so
downtime causes at most one late firing, disables finished one-shots,
self-disables when the script vanishes, and records a per-firing
LastResult. Stored run values ride along on every firing; a vault
failure is recorded without stalling the cadence.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 11:44:40 -04:00
gsadmin 3df459c5cf Docs and screenshots for OIDC modes, expansion and secrets; widen settings cards
CI / build-test (push) Failing after 45s
CI / images (push) Has been skipped
README documents UI-configured OIDC with login modes and the fixed
/api/auth/oidc/callback redirect, the three-layer lockout recovery,
on-device value expansion, and the secrets provider flow with $Secrets
usage. Screenshots refreshed for the relocated parameter builder and the
new settings cards.

Fixes a real layout bug the capture surfaced: the settings page's scoped
`wide` class never reached the sections inside child components, so the
Authentication, Secrets providers and S3 cards rendered in narrow grid
columns. Full-width placement now lives on wrapper slots in the page.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 11:19:04 -04:00
gsadmin 5eff010ce1 Screenshots: groups, rule builder, typed parameters, install command
- Dev seeder now creates tags plus a dynamic group (Dell or Lenovo AND
  16 GB+ AND workstation-tagged) and a static lab group, so the grouping UI
  renders real data
- Captured 18 screenshots against the running app: dashboard (dark and light),
  devices, device overview/hardware/network/actions, groups list, rule builder
  with live preview, static membership, scripts, Monaco editor, typed
  parameters, jobs, function modules, settings with the install one-liner
- README gained a screenshot gallery and embeds the rule builder in the
  grouping section

The rule-builder capture doubles as an end-to-end check: the seeded rules
resolved to 2 of 3 devices, correctly excluding the lab VM.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 21:54:50 -04:00
gsadmin 82dfe5b963 Queue I: README with Mermaid flows + sequence diagrams
- Comprehensive README covering all 20 required sections: architecture,
  component flow, agent-to-component flow, prerequisites, local dev, secrets,
  Compose, reverse proxy routes, agent lifecycle, MSI properties, registry/GPO
  precedence, bootstrap + URL install, local login + OIDC, typed parameters +
  function modules, S3 delivery, CI/CD + GITEA_* vars, versioning, demo
  sequence, troubleshooting; embeds screenshots
- docs/sequences.md: script execution, enrollment, remote shell
- Mermaid labels are quoted throughout (GitHub/Gitea parser-safe; no raw HTML)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 20:25:49 -04:00
gsadmin 9b712baaa5 Queue H: WebUI screenshots + dev seeder
- DevSeeder (DEV_SEED=1, Development only) creates sample devices, inventory
  and jobs so the UI renders populated without a live agent
- docs/screenshots: dashboard (dark+light), devices, device detail + hardware,
  scripts list, Monaco script editor, jobs, functions, settings, login
  (captured with Playwright/Chromium at 2x against the running app)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 20:21:53 -04:00