@snapcommit/cli 3.3.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.
@@ -190,7 +190,8 @@ async function executeCommitWithAI(intent) {
190
190
  const fileSelection = await new Promise((resolve) => {
191
191
  rlFileSelect.question(chalk_1.default.cyan('Select files: ') +
192
192
  chalk_1.default.gray('(Enter=all, 1-3=specific, 1,3,5=multiple): '), (ans) => {
193
- rlFileSelect.close();
193
+ // Don't close - just resolve and let it clean up
194
+ setImmediate(() => rlFileSelect.close());
194
195
  resolve(ans.trim());
195
196
  });
196
197
  });
@@ -253,7 +254,8 @@ async function executeCommitWithAI(intent) {
253
254
  });
254
255
  const response = await new Promise((resolve) => {
255
256
  rlCommit.question(chalk_1.default.gray('→ Press Enter to commit, or edit message: '), (ans) => {
256
- rlCommit.close();
257
+ // Don't close - just resolve and let it clean up
258
+ setImmediate(() => rlCommit.close());
257
259
  resolve(ans.trim());
258
260
  });
259
261
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snapcommit/cli",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Instant AI commits. Beautiful progress tracking. Never write commit messages again.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {