Contributing

Run the desktop checks and build the application bundle for your platform.

Development

Install the prerequisites in Quick Start, then run these commands from the desktop repository.

sh
npm install
npx tauri dev

Frontend checks

sh
npx tsc --noEmit
npm test
npm run build

The Vitest suite covers harness detection, approval decisions, task dependencies, spec workflow, steering, persistence, and UI behavior. Keep updates consistent with existing callers and saved workspace data.

Native checks and release builds

sh
cargo test --manifest-path src-tauri/Cargo.toml

For macOS, refresh the application bundle explicitly.

sh
npm run tauri build -- --bundles app

For Windows installers, select the platform bundle targets.

sh
npx tauri build --bundles msi,nsis

Where to work

Frontend components live in src/components. Agent behavior lives in src/lib/harness, src/lib/spec, src/lib/orchestrator, src/lib/hooks, and src/lib/steering. Native session and history operations live in src-tauri.