pub enum DevCommand {
Send {
session_id: SessionId,
line: Vec<String>,
},
DumpInitialPrompt {
out: PathBuf,
message: String,
},
PrintPrompt {
enable_agents_md: bool,
},
PrintSystemPrompt,
PrintTools,
PrintSkills {
format: SkillOutputFormat,
},
PreviewDeclarations,
Papercut {
command: PapercutCommand,
},
Tmux {
command: DevTmuxCommand,
},
}Variants§
Send
Send one line to a running session.
Fields
DumpInitialPrompt
Dump the initial provider prompt built from local config.
PrintPrompt
Print the effective provider-visible prompt context.
Configures ordinary extensions, initializes one fresh ephemeral agent,
and waits boundedly for its context without calling a provider.
Extensions retain ordinary persistent state access and side effects.
Omitting --role uses the configured startup role.
PrintSystemPrompt
Print only the rendered system prompt for a role.
Uses a stable fake agent id as the explicit agent_id input for custom
templates; built-in templates intentionally omit agent identity.
PrintTools
Print the effective tool definitions.
Uses the same fresh ephemeral-agent lifecycle and effective model/tool
snapshot as print-prompt, without calling a provider. Extensions
retain ordinary persistent state access and side effects. Omitting
--role uses the configured startup role.
PrintSkills
Print the effective skills available to a role.
Uses the same fresh ephemeral-agent lifecycle and effective context
snapshot as print-prompt, without calling a provider. Extensions
retain ordinary persistent state access and side effects. Omitting
--role uses the configured startup role.
Fields
format: SkillOutputFormatOutput encoding for the effective skill list.
PreviewDeclarations
Preview config-derived declarations from explicitly opted-in extensions.
Does not start a harness, read extension state or credentials, or discover agent context. Unsupported or incomplete inventories exit unsuccessfully.
Papercut
Inspect or clear reports recorded by the standard papercut reporter.
Fields
command: PapercutCommandPapercut operation to run.
Tmux
Manage a manual Tau end-to-end session in a private tmux server.
Fields
command: DevTmuxCommandTmux helper action to run.
Trait Implementations§
Source§impl FromArgMatches for DevCommand
impl FromArgMatches for DevCommand
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 DevCommand
impl Subcommand for DevCommand
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 subcommand