Skip to main content

Crate omne_cli

Crate omne_cli 

Source
Expand description

Library interface for integration tests.

omne-cli is a binary crate — this lib.rs exists solely to expose test seams (init_with_tarballs) to the integration test files in tests/. No external consumers depend on this library interface.

Re-exports§

pub use commands::init::init_with_client;
pub use commands::init::init_with_tarballs;
pub use commands::upgrade::upgrade_with_client;
pub use commands::upgrade::Target as UpgradeTarget;
pub use commands::validate::validate_at_root;
pub use error::CliError;
pub use github::GithubClient;

Modules§

claude_proc
claude -p --output-format stream-json subprocess client.
claude_skills
.claude/ symlinking for Claude Code discovery.
cli
Top-level clap parser and subcommand enum.
clock
Wall-clock helpers — civil calendar without a chrono dependency.
commands
Subcommand handlers.
dag
DAG scheduler.
defaults
Shared default constants.
distro
Distro specifier parsing.
error
Top-level CLI error type.
event_log
Per-run append-only event log.
events
Event types for omne pipe execution.
executor
Node executor (plan Unit 11).
fetch
Download orchestration: GitHub release → progress bar → safe extraction.
github
GitHub Releases API client.
manifest
.omne/omne.md README template embedding, stamping, and frontmatter parsing.
pipe
Pipe YAML loader + validator.
python
Python interpreter detection and gate runner invocation.
run_state
Derive per-run and per-node state from events.jsonl.
scaffold
Volume directory scaffolding.
sentinel
Reserved-token scanner for reconstructed assistant lines.
tarball
Safe tarball extraction with defense-in-depth against path traversal.
ulid
Monotonic ULID allocator backed by an advisory file lock.
volume
Volume root detection + v2 path helpers.
worktree
Per-run git worktree management.