Cross-platform agents, standalone server, script engines, custom roles, platform binaries #3
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cross-platform delivery and access control: the agent now runs on Linux and macOS, one self-contained binary stands up the whole server, scripts pick their engine (PS7 / 5.1 / Bash), and custom roles govern who can do what over which devices. 11 commits, all verified locally (181 tests green across shared/agent/backend, svelte-check clean, production WebUI build, live screenshot pass against a seeded stack) and CI green end-to-end including the new multi-platform packaging.
Cross-platform agent
net10.0flavor: JSON config at/etc/executer/agent.json(registry seam), chmod-600 credentials under/var/lib/executer, DMI-sysfs/ioreg hardware identity, portable inventory (os-release/sysctl, /sys/block disks, DriveInfo volumes, NIC enumeration), systemd (Type=notify) / launchd service lifecycle through the same CLI verbs. Remote shell stays Windows-only for now.executer-agent.Standalone combined server
ExecuteRServerbinary serves the static-SPA WebUI, the API, a built-in/messaging/*WebSocket relay, and supervises a bundlednats-serversidecar.setupgenerates keys + config;service installregisters a Windows service or systemd unit. Verified live from the packaged zip: SPA,/api/readyall-true, login, and a browser WebSocket through the relay.Script engines
powershell.exeand Git Bash runs.SessionStateProxy.InvokeCommand.ExpandStringdirectly on the job's idle in-process runspace — no wrapper pipeline, identical semantics.PSModulePath, inherited by 5.1 children) —Install-PSResourceworks on bare endpoints with no bootstrap dance.Custom roles (RBAC)
perm:{key}policies resolved through a short-TTL role cache — permission edits apply without re-login; pre-upgrade users and cookies carry over by name.CI & packaging
binariesartifact with checksums; releases attach the full set. Also fixes the multi-TFM publish break (NETSDK1129) that reddened two runs.🤖 Generated with Claude Code
Replaces the fixed Viewer/Operator/Admin policy tiers with role objects. A role bundles grantable permissions (devices, groups, scripts, functions, jobs, automation, secrets, shell, files, settings, access), optionally limits members to a device-group scope, and lists the OIDC claim values that map identity-provider groups onto it — so who can do what over which devices is fully configurable for local and SSO users alike. Three system roles matching the old tiers are seeded and immutable; pre-upgrade users and cookies resolve onto them by name. Endpoints now demand specific permissions ("perm:{key}" policies resolved through a cached role snapshot, so edits apply without re-login). Scoped roles only see and target their groups' devices across device listing, job dispatch (single and group fan-out), shell, file delivery, inventory refresh and tags. Safety rails: the last full-access user can never be deleted or demoted, system roles cannot be edited, and roles with assigned users cannot be dropped. New Access page manages users (create local accounts, assign roles, reset passwords) and roles (permission grid, OIDC claim values, device scope); navigation hides sections the session cannot use. Session responses now carry the role name and effective permissions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>