docs.rs failed to build omnidotdev-cli-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Website | Docs | Provide feedback on Omni Backfeed | Join Omni community on Discord
Omni CLI is an agentic CLI for the Omni ecosystem. It provides three interfaces:
- CLI: Traditional command-line interface for scripting and automation
- TUI: Interactive terminal user interface for visual workflows
- HTTP API: RESTful API for remote access and integrations
Installation
Or build from source:
# Binary will be at target/release/omni
Quick Start
TUI Mode (Default)
CLI Mode
HTTP API Mode
Configuration
Configuration file (~/.config/omni/cli/config.toml):
[]
= "anthropic"
= "claude-sonnet-4-20250514"
= 8192
[]
= "0.0.0.0"
= 7890
= "omni_..." # Generate with: omni config generate-token
HTTP API
Endpoints
| Method | Path | Description |
|---|---|---|
GET |
/health |
Health check (public) |
POST |
/api/agent |
Execute an agentic task |
POST |
/api/agent/stream |
Execute with SSE streaming |
GET |
/api/history |
Get task execution history |
GET |
/api/docs |
Swagger UI documentation |
Authentication
For remote access, generate and configure an API token:
Then set it in your config or environment:
Requests require the Authorization: Bearer <token> header:
Development
Version Syncing
Omni CLI uses a dual-package setup (Rust crate + npm package) with automated version synchronization:
- Source of truth:
package.jsonholds the canonical version, and is used for Changesets - Sync script:
scripts/syncVersion.tspropagates the version toCargo.toml - Changesets: Manages version bumps and changelog generation
The sync script runs automatically during the release process via the version npm script:
CI/CD
Two GitHub workflows handle versioning:
| Workflow | Trigger | Purpose |
|---|---|---|
test.yml |
Push/PR to master |
Runs tests and builds |
release.yml |
Push to master |
Creates releases via Changesets, builds multi-platform binaries |
Release Process
- Create a changeset:
bun changeset - Push to
master - Changesets action creates a "Version Packages" PR
- Merge the PR to trigger a release with binaries for:
x86_64-unknown-linux-gnuaarch64-unknown-linux-gnux86_64-apple-darwinaarch64-apple-darwin
- Manually publish to crates.io:
cargo publish
License
The code in this repository is licensed under MIT, © Omni LLC. See LICENSE.md for more information.