sr-ai 3.4.0

AI backends, caching, and AI-powered git commands for sr
Documentation
use thiserror::Error;

#[derive(Debug, Error)]
pub enum SrAiError {
    #[error("not in a git repository")]
    NotAGitRepo,

    #[error("no changes to commit")]
    NoChanges,

    #[error("no commits in plan")]
    EmptyPlan,

    #[error("git command failed: {0}")]
    GitCommand(String),

    #[error("user cancelled")]
    Cancelled,
}