1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! # 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
//!
//! ```bash
//! 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 only
//! ```
//!
//! The settings file location is always discoverable with
//! `ghsi config path` — no hunting for dotfiles.
//!
//! ## Library usage
//!
//! ```no_run
//! use si_git_commit::{Config, Workflow, WorkflowOptions};
//!
//! # async fn run() -> si_git_commit::Result<()> {
//! let config = Config::load()?;
//! let workflow = Workflow::new(config);
//! workflow
//! .commit_workflow(vec![], WorkflowOptions { yes: false, ..Default::default() })
//! .await?;
//! # Ok(())
//! # }
//! ```
pub use ;
pub use ;
pub use Llm;
pub use ;