Installation and build
This page covers development and release build flows for caretta.
Build from source
From repository root:
This produces a debug build for fast local iteration.
Run locally
Show command-line help:
Launch the desktop app:
Release build with bundled runtime
The bundle-runtime feature embeds the agent runtime archive into the binary. This is disabled by default to keep development builds fast.
Without bundle-runtime, caretta loads runtime assets from crates/agent-runtime/node_modules at runtime.
Formatting and lint checks
Run these before creating a pull request:
Workspace tests
Run the full suite:
Run a targeted tracker test subset while iterating:
Optional verification scripts
Install local pre-commit hooks:
Run smoke checks when changing install or CLI behavior:
Build output expectations
cargo buildcompiles all crates in debug mode.cargo build --release --features bundle-runtimeemits a standalone binary.cargo test --workspacevalidates cross-crate behavior.cargo clippy ... -D warningsensures no lint warnings are left unresolved.