Skip to main content

run

Function run 

Source
pub fn run(
    db_path: &Path,
    args: &SkillArgs,
    active_keypair: Option<&AgentKeypair>,
    out: &mut CliOutput<'_>,
) -> Result<i32>
Expand description

Dispatch entry-point called from daemon_runtime::run.

Loads the active keypair (when configured) so register / export / promote can sign their output, matching the MCP-side wiring.

§Errors

Surfaces DB-open errors verbatim. Substrate-handler failures bubble up as exit codes (non-zero) with the substrate’s error string printed to stderr.