Expand description
§si-git-commit — Super Intelligent Git Commit
AI-powered git commit messages and workflow automation (ghsi CLI).
Analyzes staged changes with a current AI model and writes
Conventional Commits messages, then stages, commits, and pushes in a
single streamlined command. Built with modern provider parameters
(max_completion_tokens for OpenAI) so current models keep working.
§CLI quick start
ghsi config init # create the settings TOML (path shown for you)
ghsi config model # view / change your model interactively
ghsi # stage all → generate → confirm → commit → push
ghsi stage # stage + generate only (no commit)
ghsi generate # generate for staged changes onlyThe settings file location is always discoverable with
ghsi config path — no hunting for dotfiles.
§Library usage
use si_git_commit::{Config, Workflow, WorkflowOptions};
let config = Config::load()?;
let workflow = Workflow::new(config);
workflow
.commit_workflow(vec![], WorkflowOptions { yes: false, ..Default::default() })
.await?;Re-exports§
pub use config::Config;pub use config::MessageLevel;pub use config::Provider;pub use error::Result;pub use error::SiError;pub use llm::Llm;pub use workflow::Workflow;pub use workflow::WorkflowOptions;