@kud/ai-conventional-commit-cli 0.12.10 → 0.12.11

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 (2) hide show
  1. package/dist/index.js +6 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -246,10 +246,11 @@ async function runGenerate(config) {
246
246
  const bar = chalk.green("+".repeat(addPortion)) + chalk.red("-".repeat(delPortion));
247
247
  const counts = chalk.green("+" + add) + " " + chalk.red("-" + del);
248
248
  let name = f.file.length > maxName ? f.file.slice(0, maxName - 1) + "\u2026" : f.file;
249
+ let line = name.padEnd(maxName) + " | " + counts.padEnd(12) + " " + bar;
249
250
  if (f.deleted) {
250
- name += " " + chalk.red("[deleted]");
251
+ line += " " + chalk.red("[deleted]");
251
252
  }
252
- borderLine(name.padEnd(maxName) + " | " + counts.padEnd(12) + " " + bar);
253
+ borderLine(line);
253
254
  });
254
255
  borderLine(
255
256
  chalk.dim(
@@ -428,10 +429,11 @@ async function runSplit(config, desired) {
428
429
  const bar = chalk2.green("+".repeat(addPortion)) + chalk2.red("-".repeat(delPortion));
429
430
  const counts = chalk2.green("+" + add) + " " + chalk2.red("-" + del);
430
431
  let name = f.file.length > maxName ? f.file.slice(0, maxName - 1) + "\u2026" : f.file;
432
+ let line = name.padEnd(maxName) + " | " + counts.padEnd(12) + " " + bar;
431
433
  if (f.deleted) {
432
- name += " " + chalk2.red("[deleted]");
434
+ line += " " + chalk2.red("[deleted]");
433
435
  }
434
- borderLine(name.padEnd(maxName) + " | " + counts.padEnd(12) + " " + bar);
436
+ borderLine(line);
435
437
  });
436
438
  borderLine(
437
439
  chalk2.dim(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kud/ai-conventional-commit-cli",
3
- "version": "0.12.10",
3
+ "version": "0.12.11",
4
4
  "type": "module",
5
5
  "description": "Opinionated, style-aware AI assistant for crafting and splitting git commits (opencode-based, provider-agnostic).",
6
6
  "bin": {