@kud/ai-conventional-commit-cli 2.0.1 → 2.0.2

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 +10 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1010,7 +1010,15 @@ var ConfigSetCommand = class extends Command {
1010
1010
  key = Option.String();
1011
1011
  value = Option.String();
1012
1012
  async execute() {
1013
- const allowed = /* @__PURE__ */ new Set(["model", "style", "privacy", "styleSamples", "maxTokens", "verbose", "yes"]);
1013
+ const allowed = /* @__PURE__ */ new Set([
1014
+ "model",
1015
+ "style",
1016
+ "privacy",
1017
+ "styleSamples",
1018
+ "maxTokens",
1019
+ "verbose",
1020
+ "yes"
1021
+ ]);
1014
1022
  if (!allowed.has(this.key)) {
1015
1023
  this.context.stderr.write(`Cannot set key: ${this.key}
1016
1024
  `);
@@ -1118,4 +1126,4 @@ cli.runExit(process.argv.slice(2), {
1118
1126
  stdin: process.stdin,
1119
1127
  stdout: process.stdout,
1120
1128
  stderr: process.stderr
1121
- });
1129
+ }).then(() => process.exit(process.exitCode ?? 0));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kud/ai-conventional-commit-cli",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
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": {