vigthoria-cli 1.8.5 → 1.8.7

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.
@@ -112,10 +112,12 @@ class PreviewCommand {
112
112
  if (options.proof) {
113
113
  await this.runProofGate(projectPath, options.screenshot);
114
114
  }
115
- // If only --diff or --proof without a preview server, exit
116
- if ((options.diff || options.proof) && options.open === false) {
117
- this.api.destroy();
118
- return;
115
+ // If only --diff or --proof was requested (no explicit entry/port), just exit
116
+ if (options.diff || options.proof) {
117
+ if (!options.entry && !options.port) {
118
+ this.api.destroy();
119
+ return;
120
+ }
119
121
  }
120
122
  // Detect entry file
121
123
  const entryFile = this.detectEntryFile(projectPath, options.entry);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vigthoria-cli",
3
- "version": "1.8.5",
3
+ "version": "1.8.7",
4
4
  "description": "Vigthoria Coder CLI - AI-powered terminal coding assistant",
5
5
  "main": "dist/index.js",
6
6
  "files": [