DEVICE-002: ARM machine-ID fallback — device-tree model + /etc/machine-id combo, then /proc/cpuinfo Serial (all-zero rejected), before the weak hostname fallback. Hardware-bound IDs on DMI-less devices. DEVICE-001: agent detects device_type (server/desktop/phone/tablet) from /sys signals — system battery (scope=Device peripherals excluded, UPS excluded), DRM connector state, framebuffer min-dimension for phone/tablet split. Reports device_type/device_model/os_distro in registration and system-info paths. SERVER-001: migration 061 — device_type, device_type_manual (operator override, never agent-written), device_model, os_distro on agents. effective_device_type computed into every serialized agent. SERVER-002: PUT /admin/agents/:id/device-type — set/clear override, enum-validated, journaled. WEB-001: device-type icons + fleet filter, device model in list, detail header badge with reclassify dropdown, os_distro surfaced. INSTALL-003: arm64 install path unblocked — helper (required manifest component) now cross-built aarch64-unknown-linux-musl via rust-lld in the server image, signed at boot (helperArches += arm64), listed in the release manifest. Install template already handled uname -m and pacman. Plus in-flight: desktop tray wiring, enrollment page polish, CI workflow updates, RAF session-broker/pacman-scanner docs, native installer scaffold.
34 lines
759 B
JSON
34 lines
759 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "RedFlag",
|
|
"identifier": "com.redflag.local",
|
|
"build": {
|
|
"beforeDevCommand": "npm --prefix ../web run dev:desktop",
|
|
"devUrl": "http://127.0.0.1:3001/index.desktop.html",
|
|
"beforeBuildCommand": "npm --prefix ../web run build:desktop",
|
|
"frontendDist": "../web/dist-desktop"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"title": "RedFlag Local Agent",
|
|
"width": 460,
|
|
"height": 640,
|
|
"minWidth": 400,
|
|
"minHeight": 520,
|
|
"resizable": true,
|
|
"visible": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": false,
|
|
"icon": [
|
|
"icons/icon.png"
|
|
]
|
|
}
|
|
}
|