Getting Started
Getting Started
Section titled “Getting Started”This guide targets the v0.3.x release line.
Requirements
Section titled “Requirements”- Rust toolchain
- Node.js for docs tooling and Pyright
- Python if you want to run the benchmark harness
Install from crates.io
Section titled “Install from crates.io”Install the published CLI:
cargo install sepheraInstall from GitHub Releases
Section titled “Install from GitHub Releases”If you do not want to install Rust locally, download a prebuilt archive from GitHub Releases.
Binary releases are a good fit when you want a fast local install on a supported desktop target and do not need Cargo on the machine itself. cargo install sephera remains the default path when you already use the Rust toolchain.
Use the CLI
Section titled “Use the CLI”The user-facing examples in this documentation assume sephera is installed and available on your PATH.
Run a quick LOC scan:
sephera loc --path .Build a context pack:
sephera context --path . --focus crates/sephera_core --budget 32kBuild a review-oriented context pack from Git changes:
sephera context --path . --diff HEAD~1 --budget 32k--diff is a Git-only feature. Built-in modes are working-tree, staged, and unstaged. Any other value is treated as a base ref compared against HEAD through merge-base semantics.
List configured profiles when the repository has a .sephera.toml file:
sephera context --path . --list-profilesDevelop from source
Section titled “Develop from source”If you are working directly from the repository, you can run the CLI with Cargo:
cargo run -p sephera -- context --path . --focus crates/sephera_core --budget 32kCore development checks
Section titled “Core development checks”cargo fmt --all --checkcargo clippy --workspace --all-targets --all-features -- -D warningscargo test --workspacenpm run pyrightDocs development
Section titled “Docs development”Install docs dependencies:
npm --prefix docs installRun the docs site locally:
npm run docs:devBuild the static docs site:
npm run docs:buildBenchmarks
Section titled “Benchmarks”Run the default benchmark suite:
python benchmarks/run.pyFor methodology, dataset policy, and caveats, see Benchmarks.