Desktop sidecar
An always-on-top window with a tile per live agent session, plus notifications.
The sidecar is a small always-on-top window (Tauri v2) with one tile per live agent session, and one per delivery with an open question, approval or merge review that no agent is working on. A tile shows the harness, delivery title and phase, current task and latest test run. Clicking a tile opens its dashboard page, signed in.
Notifications
New questions and approvals, and failed test runs on a delivery an agent is working on, raise an OS notification. At most three show at a time; more become one “n items need you”. Whatever was already waiting when the sidecar started only shows in the window.
Closing the window hides it to the tray. Left-click the tray icon to toggle it; the tray menu has Show/Hide, Open dashboard, Notifications and Quit. The window reopens where you left it, and a second launch focuses the running one.
Build and install
Besides Rust and Node you need the Tauri prerequisites for your platform (on Windows: C++ Build Tools and WebView2).
npm install
petal serve # the sidecar connects to it
npm -w sidecar run tauri dev # development, reloads on change
npm -w sidecar run tauri build # installers for this platform
tauri build produces NSIS and MSI installers on Windows, deb and AppImage on Linux, app and dmg on macOS. The builds are unsigned, so Windows SmartScreen warns on first run.
On Windows, notifications are only attributed to the sidecar when it runs from an installed build.
Local and hosted
- Local (default): the sidecar reads your person token from
config.tomland keeps it in its Rust core. Tile clicks go through a one-time login code, so the token never lands in browser history.server_urlmust behttp://127.0.0.1:<port>orhttp://localhost:<port>. - Hosted: signs in through the system browser (loopback redirect, PKCE). The access token lives in memory; the refresh token is kept in the OS credential store, never in the settings file. Signing out revokes both.
Settings
settings.toml in the app config directory (%APPDATA%\dev.petal.sidecar\ on Windows, ~/.config/dev.petal.sidecar/ on Linux, ~/Library/Application Support/dev.petal.sidecar/ on macOS):
| Key | Meaning |
|---|---|
mode |
local (default) or hosted |
server_url |
local server (default http://127.0.0.1:7777) |
hosted_url |
hosted server, https://host[:port]; required in hosted mode |
petal_dir |
folder with config.toml (default ~/.petal) |
notifications |
OS notifications on or off (default on) |
The settings form in the window saves and reconnects at once; edits to the file apply on next start.