@kyubiware/commit-mint 0.8.4 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -107,17 +107,27 @@ each with its own message. The flow:
107
107
  — the remaining groups are not committed.
108
108
 
109
109
  `cmint` (no `-a`) shows a staging menu for any number of changed files
110
- (including one). The menu is also the only place the `a` hotkey toggles
111
- auto-accept mode, so it always runs:
110
+ (including one). The menu is also the only place the `a` and `c` hotkeys
111
+ toggle persistent modes, so it always runs:
112
112
 
113
113
  ```
114
- What do you want to stage?
115
- Stage all files
116
- Select files...
117
- Auto-group into commits
118
- Run checks
114
+ Stage files for commit:
115
+ Auto-accept: OFF (press `a` to toggle)
116
+ 🛡 Pre-commit checks: ON (press `c` to toggle)
117
+
118
+ Stage all files
119
+ ○ Auto-group into commits
120
+ ○ Run checks
121
+ ...
119
122
  ```
120
123
 
124
+ - **`a` — Auto-accept** — skip the message review step. Persisted in
125
+ `~/.commit-mint` as `auto-accept`.
126
+ - **`c` — Pre-commit checks** — when OFF, skip the user-defined pre-commit
127
+ checks (the `.cmintrc` phase). Persisted in `~/.commit-mint` as
128
+ `run-checks` (default `true`/ON). Same effect as `cmint -N`, but persists
129
+ across runs. Only shown when a `.cmintrc` file exists.
130
+
121
131
  ## Self-update (`cmint update`)
122
132
 
123
133
  `cmint update` checks the npm registry for a newer version and, if one exists,
@@ -228,6 +238,8 @@ and **eslint**. Unrecognized output falls back to a single raw-stderr entry.
228
238
  | `type` | — | Force commit type prefix |
229
239
  | `timeout` | `10000` | AI request timeout in ms |
230
240
  | `proxy` | — | Proxy URL for API requests |
241
+ | `auto-accept` | `false` | `a` hotkey: skip message review step |
242
+ | `run-checks` | `true` | `c` hotkey: run user-defined pre-commit checks |
231
243
  | `--agent` | `false` | Headless JSON-output mode for AI agents |
232
244
 
233
245
  API key lookup checks the env var first, then the INI file.
package/dist/bin.d.mts ADDED
@@ -0,0 +1 @@
1
+ export { };