bitx_rebase_ai

AI-assisted rebase helpers (extension module for mizchi/bit)

git
ai
rebase
moon add mizchi/bitx_rebase_ai@0.46.4
Download zip
Author
Version
0.46.4
License
Apache-2.0
Last updated
4 days ago
Downloads
51
README

#
AiConflictResolution

pub struct AiConflictResolution {
resolved : Array[String]
failed : Array[String]
}

#
AiRebaseOptions

pub struct AiRebaseOptions {
model : String
max_auto_rounds : Int
agent_max_steps : Int
use_agent_loop : Bool
verbose : Bool
provider :
BoxedProvider
?
}

#
AiRebaseOptions::default

#
AiRebaseOptions::new

fn AiRebaseOptions::new(model? : String, max_auto_rounds? : Int, agent_max_steps? : Int, use_agent_loop? : Bool, verbose? : Bool, provider~ :
BoxedProvider
?) -> AiRebaseOptions

#
ai_generate_commit_message

fn ai_generate_commit_message(fs : &
RepoFileSystem
, root : String, diff_units : String, context : String, options? : AiRebaseOptions) -> String raise
GitError

#
ai_rebase_abort

#
ai_resolve_conflict_paths

fn ai_resolve_conflict_paths(fs : &
FileSystem
, rfs : &
RepoFileSystem
, root : String, paths : Array[String], options : AiRebaseOptions, context : String) -> AiConflictResolution raise
GitError

#
default_model

let default_model : String

#
default_provider

let default_provider : String

#
find_conflict_marker_paths

fn find_conflict_marker_paths(rfs : &
RepoFileSystem
, root : String) -> Array[String]

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io