@sugarmo/aicommits 1.14.0 → 1.15.0

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.
Files changed (3) hide show
  1. package/README.md +24 -4
  2. package/dist/cli.mjs +120 -112
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -96,6 +96,12 @@ If you prefer a bullet-list body style:
96
96
  aicommits --details --details-style list
97
97
  ```
98
98
 
99
+ If you prefer markdown-formatted detail body:
100
+
101
+ ```sh
102
+ aicommits --details --details-style markdown
103
+ ```
104
+
99
105
  #### Default style
100
106
 
101
107
  The generator uses a GitHub Copilot-like style by default and prefers commit titles with a concrete file/class/module anchor so commit lists are easier to scan.
@@ -302,15 +308,17 @@ Use `0` to switch back to auto mode:
302
308
  aicommits config set context-window=0
303
309
  ```
304
310
 
305
- #### max-length
306
- The maximum character length of the generated commit message.
311
+ #### title-length-guide
312
+ Guidance target for commit title length.
307
313
 
308
314
  Default: `50`
309
315
 
310
316
  ```sh
311
- aicommits config set max-length=100
317
+ aicommits config set title-length-guide=100
312
318
  ```
313
319
 
320
+ `max-length` is kept as a compatibility alias.
321
+
314
322
  #### type
315
323
 
316
324
  Default: plain format
@@ -337,10 +345,22 @@ Default: `paragraph`
337
345
 
338
346
  Controls body formatting when `details=true`.
339
347
 
340
- Allowed values: `paragraph`, `list`
348
+ Allowed values: `paragraph`, `list`, `markdown`
341
349
 
342
350
  ```sh
343
351
  aicommits config set details-style=list
352
+ aicommits config set details-style=markdown
353
+ ```
354
+
355
+ #### detail-column-guide
356
+
357
+ Default: `72`
358
+
359
+ Guidance target for where detail/body lines should wrap.
360
+ Applies to `paragraph` and `list` styles. `markdown` style keeps original line breaks.
361
+
362
+ ```sh
363
+ aicommits config set detail-column-guide=88
344
364
  ```
345
365
 
346
366
  #### show-reasoning