Skip to main content

Crate leviath_cli

Crate leviath_cli 

Source
Expand description

Leviath CLI library - re-exports for integration tests.

Modules§

bundled
The agent blueprints shipped inside the lev binary, and the planner that decides what to do with them.
commands
CLI command implementations.
config
CLI configuration management.
credentials
Choosing and using the configured credential backend.
daemon
The shared-world daemon: hosts one ECS world for every agent and serves the control socket. This module holds the CLI-side pieces that plug into the runtime’s daemon library (leviath_runtime::host, leviath_runtime::control_socket): the tool service that bridges tool calls to the built-in / MCP executors and the interaction hub.
dispatch
Command dispatch: the Commands enum and the dispatch() function that routes a parsed subcommand to its executor.
lint
Blueprint lint: the checks Blueprint::validate deliberately does not make.
logging
Process-wide logging: the subscriber main installs, with a reloadable slot for the OTLP log-export layer.
read_path_report
Whether the user’s config actually grants what a blueprint’s [read_paths] declares, entry by entry.
render
Markdown → ratatui Text renderer.
runstate
On-disk run state for background agent executions.
tools
Unified tool registry combining built-in tools and MCP-discovered tools.
tui
Seams shared by every Leviath terminal UI.