rtango 0.3.0

Package manager for AI agent skills, agents, and system instruction files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use thiserror::Error;

#[derive(Debug, Error)]
pub enum RtangoError {
    #[error("spec file already exists (use --force to overwrite)")]
    SpecExists,

    #[error("no agents detected (use --no-detect to write an empty spec skeleton)")]
    NoAgentsDetected,

    #[error("spec validation failed: {0}")]
    InvalidSpec(String),

    #[error("conflict on target {path}: {reason}")]
    Conflict { path: String, reason: String },
}