Skip to content

Development

Jackson Sá edited this page Oct 21, 2026 · 1 revision

Running

Node.js 20+ and npm. The native window also needs Rust and the Tauri dependencies (Fedora: webkit2gtk4.1-devel openssl-devel curl wget file libappindicator-gtk3-devel librsvg2-devel and the C development tools).

cd cockpit
npm install
npm run dev         # browser, mock daemon: http://localhost:1420 (?speed=3, ?view=welcome)
npm run tauri dev   # native window; the real agentuxd when it runs
npm run typecheck
npm test            # vitest
npm run build

Against a real daemon without real agents, from an agentux-core checkout:

cargo run -p aux-cli --bin aux -- daemon --fake-agents

Tests and checks

  • vitest: the daemon adapter and mapping, the views (Agents, Settings, Remote control, New run), the wizard flow per profile, the catalog (CHECK_FLATHUB=1 asks Flathub about every Flatpak), and that agentux-setup plan prints what the UI shows.
  • common/check.sh, plasma/check.sh: desktop entries, metadata, assets, the setup script's dry run, the VS Code settings merge, the first-run marker.
  • CI also checks the COSMIC themes and that no overlay replaces a Fedora-owned file.

Releases

  1. A pull request bumps the version in cockpit/package.json, package-lock.json, src-tauri/tauri.conf.json, src-tauri/Cargo.toml and Cargo.lock.
  2. A vX.Y.Z tag matching tauri.conf.json runs release.yml: the agentux-cockpit RPM is built in fedora:44 on x86_64 and aarch64 runners, install-checked, and attached to the release with the three bundles and their checksums.
  3. An agentux-os pull request sets AGENTUX_DESKTOP_VERSION and the three AGENTUX_{COMMON,COSMIC,PLASMA}_SHA256 in its Containerfile.

WebKitGTK caveats

Tauri renders with the system WebKitGTK. If the window is blank or flickers (NVIDIA, some virtual GPUs):

WEBKIT_DISABLE_DMABUF_RENDERER=1 agentux-cockpit
WEBKIT_DISABLE_COMPOSITING_MODE=1 agentux-cockpit   # last resort

To make one permanent for a user, put it in ~/.config/environment.d/.

Clone this wiki locally