pub enum Commands {
Show 30 variants
Create(CreateArgs),
Setup(SetupArgs),
Run(RunArgs),
Ps(PsArgs),
Msg(MsgArgs),
Cancel(CancelArgs),
Pause(PauseArgs),
Resume(ResumeArgs),
Respond(RespondArgs),
Doctor(DoctorArgs),
List(ListArgs),
Add(AddArgs),
Remove(RemoveArgs),
Test(TestArgs),
Pack(PackArgs),
Dashboard(DashboardArgs),
Models(ModelsArgs),
Validate(ValidateArgs),
Tools(ToolsArgs),
Approvals(ApprovalsArgs),
Policy(PolicyArgs),
Serve(ServeArgs),
AgentClient(AgentClientArgs),
Daemon(DaemonArgs),
Context(ContextArgs),
Stages(StagesArgs),
Result(ResultArgs),
Mcp(McpArgs),
Auth(AuthArgs),
Update(UpdateArgs),
}Expand description
Every lev subcommand. Each variant’s doc comment is what --help prints.
Variants§
Create(CreateArgs)
Create a new agent blueprint
Setup(SetupArgs)
Configure API keys and defaults
Run(RunArgs)
Run an agent
Ps(PsArgs)
List agents running in the shared-world daemon
Msg(MsgArgs)
Send a message to a running agent
Cancel(CancelArgs)
Cancel a running agent (alias: kill)
Pause(PauseArgs)
Pause a running agent (it finishes its in-flight step, then holds)
Resume(ResumeArgs)
Resume a paused agent
Respond(RespondArgs)
Answer a pending interaction (or list open ones with no request id)
Doctor(DoctorArgs)
Check that provider wiring works, end to end
List(ListArgs)
List available and installed blueprints
Add(AddArgs)
Install a blueprint
Remove(RemoveArgs)
Remove an installed blueprint
Test(TestArgs)
Run blueprint tests
Pack(PackArgs)
Bundle a blueprint for distribution
Dashboard(DashboardArgs)
Interactive agent dashboard
Models(ModelsArgs)
List and inspect available models
Validate(ValidateArgs)
Validate an agent blueprint
Tools(ToolsArgs)
List and validate the global Rhai script tools
Approvals(ApprovalsArgs)
Show what runs without an approval prompt, and why
Policy(PolicyArgs)
Manage taint tracking policy rules
Serve(ServeArgs)
Start the REST + WebSocket API server
AgentClient(AgentClientArgs)
Serve this agent over the Agent Client Protocol (JSON-RPC over stdio)
Daemon(DaemonArgs)
Run the shared-world daemon in the foreground
Context(ContextArgs)
Show a run’s context-window history (from its run.lvr archive)
Stages(StagesArgs)
Show a run’s per-stage token ledger, where a staged agent’s cost lives
Result(ResultArgs)
Print what an agent handed back when a run finished
Mcp(McpArgs)
Manage MCP tool servers and their authentication
Auth(AuthArgs)
Inspect and move the secrets Leviath holds
Update(UpdateArgs)
Update Leviath, then everything that shipped with it
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ConditionalSend for Twhere
T: Send,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more