@viberaven/cli 1.1.2 → 1.1.3

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.
package/dist/cli.js CHANGED
@@ -11454,7 +11454,7 @@ function buildAgentFixPrompt(artifact, gap2) {
11454
11454
  }
11455
11455
 
11456
11456
  // src/version.ts
11457
- var VERSION = "1.1.2";
11457
+ var VERSION = "1.1.3";
11458
11458
 
11459
11459
  // src/commands/guide.ts
11460
11460
  var import_picocolors3 = __toESM(require_picocolors());
@@ -15117,9 +15117,11 @@ async function runDemo(options) {
15117
15117
  connectedTools,
15118
15118
  prpMode: "demo"
15119
15119
  });
15120
+ let reportOpened = false;
15120
15121
  if (options.openReport) {
15121
15122
  try {
15122
15123
  await openPathInBrowser(paths.reportPath);
15124
+ reportOpened = true;
15123
15125
  } catch (error) {
15124
15126
  console.warn(error instanceof Error ? error.message : String(error));
15125
15127
  }
@@ -15140,7 +15142,7 @@ async function runDemo(options) {
15140
15142
  if (canUseInteractiveTryMenu(options)) {
15141
15143
  await runInteractiveTryMenu({ artifact, reportPath: paths.reportPath, connectedTools });
15142
15144
  } else {
15143
- printTryMenuSummary({ artifact, reportPath: paths.reportPath, opened: Boolean(options.openReport) });
15145
+ printTryMenuSummary({ artifact, reportPath: paths.reportPath, opened: reportOpened });
15144
15146
  }
15145
15147
  } else {
15146
15148
  console.log(