opencrates 3.0.1

Enterprise-grade AI-powered Rust development companion with comprehensive automation, monitoring, and deployment capabilities
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod apply_patch;

// Simple core types for compatibility
#[derive(Debug, Clone)]
pub enum ResponseItem {
    Message { role: String, content: String },
    FunctionCall { name: String, arguments: String },
    Error { message: String },
}

// Re-export key types and functions for easier access
pub use apply_patch::{
    apply_hunks, apply_patch, maybe_parse_apply_patch, maybe_parse_apply_patch_verified,
    parse_patch, ApplyPatchAction, ApplyPatchError, ApplyPatchFileChange, Hunk, MaybeApplyPatch,
    MaybeApplyPatchVerified, ParseError, APPLY_PATCH_TOOL_INSTRUCTIONS,
};