pub enum Commands {
Show 22 variants
Recall {
query: String,
budget: usize,
top: Option<usize>,
format: String,
include_sparks: bool,
expand_deps: String,
allow_trim: bool,
refine_mode: String,
source: String,
},
Record {Show 16 fields
trace_id: String,
query: Option<String>,
outcome: Option<String>,
used: Option<String>,
used_attribution: String,
used_partial: bool,
output: Option<String>,
output_summary: Option<String>,
nomination: Option<String>,
source: String,
feedback: Option<String>,
feedback_kind: String,
feedback_actor: Option<String>,
feedback_reason: Option<String>,
task_state: Option<String>,
priority: i64,
},
Add {
content: String,
kind: String,
trigger: Option<String>,
anti_trigger: Option<String>,
source: String,
skill_name: Option<String>,
},
Spark {
content: String,
trigger: Option<String>,
},
Evolve {
trigger: String,
rebuild_embeddings: bool,
},
Inspect {
id: Option<String>,
},
Approve {
chunk_id: String,
},
Archive {
chunk_id: String,
reason: String,
},
Invalidate {
chunk_id: String,
reason: String,
},
Restore {
chunk_id: String,
},
MatureSpark {
spark_id: String,
to: String,
},
PromoteSpark {
spark_id: String,
to: String,
},
DropSpark {
spark_id: String,
reason: String,
},
Backup {
action: BackupCommands,
},
Install,
Uninstall {
yes: bool,
purge_data: bool,
},
Migrate,
Vacuum,
Upgrade {
version: Option<String>,
check: bool,
},
Daemon {
action: DaemonCommands,
},
Mcp,
Hook {
action: HookCommands,
},
}Variants§
Recall
Search the knowledge base
Fields
Record
Close a trace with outcome
Fields
Add
Add a knowledge chunk
Fields
Spark
Capture a spark (idea)
Evolve
Distil logs + curate
Fields
Inspect
Health check — no arg = library summary; chunk_id or trace_id = detail view
Approve
Approve a pending chunk
Archive
Archive a chunk
Invalidate
Invalidate a chunk
Restore
Restore an archived chunk
MatureSpark
Mature a spark
PromoteSpark
Promote a spark to knowledge
DropSpark
Drop a spark
Backup
Backup the database to Cloudflare R2
Fields
action: BackupCommandsInstall
Interactive setup wizard — configure agents to use Innate MCP server
Uninstall
Remove Innate from all configured agents and PATH
Fields
Migrate
Upgrade database schema to current version
Vacuum
Reclaim disk space: checkpoint the WAL and VACUUM the database
Upgrade
Upgrade the innate binary to the latest (or specified) release
Fields
Daemon
Daemon control (Linux only)
Fields
action: DaemonCommandsMcp
Start MCP stdio server
Hook
Agent hook handlers (called by agent hooks; reads payload from stdin)
Fields
action: HookCommandsTrait 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 subcommand