[package]
edition = "2024"
rust-version = "1.97"
name = "leviath-cli"
version = "0.3.9"
authors = ["Gerald McAlister <gemisis@users.noreply.github.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line interface for Leviath agent framework"
homepage = "https://leviath.dev"
documentation = "https://leviath.dev"
readme = "README.md"
keywords = [
"agents",
"llm",
"ai",
"runtime",
"context",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/GEMISIS/leviath"
resolver = "2"
[features]
debug-http = ["leviath-providers/debug-http"]
default = ["mimalloc-allocator"]
mimalloc-allocator = [
"dep:mimalloc",
"dep:leviath-alloc",
"leviath-alloc/mimalloc",
]
[lib]
name = "leviath_cli"
path = "src/lib.rs"
[[bin]]
name = "lev"
path = "src/main.rs"
[[test]]
name = "agent_end_to_end"
path = "tests/agent_end_to_end.rs"
[[test]]
name = "cli_dispatch"
path = "tests/cli_dispatch.rs"
[[test]]
name = "logging_tui_parking"
path = "tests/logging_tui_parking.rs"
[[test]]
name = "manifest_integration"
path = "tests/manifest_integration.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
features = ["ws"]
[dependencies.axum-server]
version = "0.8"
features = ["tls-rustls"]
[dependencies.bevy_ecs]
version = "0.19"
features = ["multi_threaded"]
[dependencies.chrono]
version = "0.4"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.crossterm]
version = "0.29"
[dependencies.dirs]
version = "6.0.0"
[dependencies.dotenvy]
version = "0.15"
[dependencies.futures]
version = "0.3"
[dependencies.glob]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.13"
[dependencies.leviath-agent-client]
version = "0.3.9"
[dependencies.leviath-alloc]
version = "0.3.9"
optional = true
[dependencies.leviath-core]
version = "0.3.9"
[dependencies.leviath-mcp]
version = "0.3.9"
[dependencies.leviath-net]
version = "0.3.9"
[dependencies.leviath-package]
version = "0.3.9"
[dependencies.leviath-providers]
version = "0.3.9"
[dependencies.leviath-runtime]
version = "0.3.9"
features = ["control-socket"]
[dependencies.leviath-scripting]
version = "0.3.9"
[dependencies.leviath-sys]
version = "0.3.9"
[dependencies.leviath-telemetry]
version = "0.3.9"
[dependencies.leviath-tools]
version = "0.3.9"
[dependencies.libc]
version = "0.2"
[dependencies.mimalloc]
version = "0.1"
optional = true
[dependencies.pulldown-cmark]
version = "0.13"
[dependencies.rand]
version = "0.10"
[dependencies.ratatui]
version = "0.30"
features = ["unstable-rendered-line-info"]
[dependencies.ratatui-textarea]
version = "0.9"
features = ["crossterm"]
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"stream",
"rustls",
"rustls-native-certs",
"charset",
"http2",
"system-proxy",
"blocking",
"form",
"query",
]
default-features = false
[dependencies.rhai]
version = "1.25"
features = [
"sync",
"serde",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.11"
[dependencies.tempfile]
version = "3"
[dependencies.tokio]
version = "1.53"
features = ["full"]
[dependencies.toml]
version = "1.0"
features = ["preserve_order"]
[dependencies.tower]
version = "0.5"
features = ["util"]
[dependencies.tower-http]
version = "0.7"
features = ["cors"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.unicode-width]
version = "0.2"
[dependencies.url]
version = "2.5"
[dev-dependencies.jsonschema]
version = "0.49"
default-features = false
[dev-dependencies.keyring-core]
version = "1"
[dev-dependencies.opentelemetry_sdk]
version = "0.32"
features = [
"trace",
"metrics",
"logs",
"testing",
]
default-features = false
[dev-dependencies.rustls-pki-types]
version = "1"
features = ["std"]
[dev-dependencies.socket2]
version = "0.6"
[dev-dependencies.temp-env]
version = "0.3"
features = ["async_closure"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1.53"
features = [
"full",
"test-util",
]
[dev-dependencies.tokio-rustls]
version = "0.26"
features = ["aws-lc-rs"]
default-features = false
[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
string_slice = "deny"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[profile.release]
lto = "fat"
codegen-units = 1
overflow-checks = true
strip = "symbols"