Fission

Tauri Desktop Workflow

The fission-tauri crate hosts the optional desktop UI. This wiki page covers how to run and iterate locally; product behavior stays aligned with the same engines used by the CLI.

Prerequisites

In addition to Rust (see Installation prerequisites):

The crate template references IDE plugins for Tauri and rust-analyzer in crates/fission-tauri/README.md.

Install JavaScript dependencies

From the repository root:

cd crates/fission-tauri
npm ci

Use npm ci in CI-like clean installs; use npm install only when intentionally updating lockfiles.

Development mode

Typical iteration loop:

cd crates/fission-tauri
npm run tauri dev

(or cargo tauri dev if that matches your local tauri-cli setup—follow docs/CLI.md / crate conventions).

Hot reload behavior depends on the Tauri + front-end toolchain version pinned by package-lock.json.

Release-style builds

For a production-like artifact:

cd crates/fission-tauri
npm run build

Exact scripts are defined in crates/fission-tauri/package.json. Adjust targets (tauri build) per upstream Tauri docs when cross-compiling.

Logs and debugging

Headless reproducibility for benchmarks and CI continues to favor fission-cli; treat the desktop UI as an interactive lens on the same pipeline where possible.