claudekit-cli 3.2.0 → 3.3.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.
Files changed (3) hide show
  1. package/bin/ck.js +6 -1
  2. package/dist/index.js +681 -264
  3. package/package.json +1 -1
package/bin/ck.js CHANGED
@@ -113,8 +113,13 @@ const runBinary = (binaryPath) => {
113
113
 
114
114
  if (signal) {
115
115
  process.kill(process.pid, signal);
116
+ return;
116
117
  }
117
- process.exit(code || 0);
118
+ // Use exitCode instead of exit() for proper handle cleanup on Windows
119
+ // This prevents libuv assertion failures on Node.js 23.x/24.x/25.x
120
+ // See: https://github.com/nodejs/node/issues/56645
121
+ process.exitCode = code || 0;
122
+ resolve();
118
123
  });
119
124
  });
120
125
  };