@quantiya/codevibe-antigravity-plugin 2.0.42 → 2.0.43

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.
@@ -30,7 +30,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/installer-cli.ts
31
31
  var installer_cli_exports = {};
32
32
  __export(installer_cli_exports, {
33
- __testing: () => __testing
33
+ __testing: () => __testing,
34
+ isInstallerVerbose: () => isInstallerVerbose
34
35
  });
35
36
  module.exports = __toCommonJS(installer_cli_exports);
36
37
  var path2 = __toESM(require("path"));
@@ -431,7 +432,11 @@ function defaultLogger() {
431
432
  }
432
433
 
433
434
  // src/installer-cli.ts
435
+ function isInstallerVerbose(env = process.env, argv = process.argv) {
436
+ return (env.CODEVIBE_LOG_LEVEL || "").trim().toLowerCase() === "debug" || argv.includes("--verbose");
437
+ }
434
438
  async function main() {
439
+ const isVerbose = isInstallerVerbose();
435
440
  const pkgDir = path2.resolve(__dirname, "..");
436
441
  const paths = resolveInstallerPaths({ pluginPkgDir: pkgDir });
437
442
  try {
@@ -439,7 +444,7 @@ async function main() {
439
444
  ...paths,
440
445
  logger: {
441
446
  info: (msg, meta) => {
442
- if (process.env.CODEVIBE_AGY_INSTALLER_VERBOSE === "1") {
447
+ if (isVerbose) {
443
448
  console.log(`[installer] ${msg}`, meta ?? "");
444
449
  }
445
450
  },
@@ -447,8 +452,12 @@ async function main() {
447
452
  error: (msg, meta) => console.error(`[installer] ERROR: ${msg}`, meta ?? "")
448
453
  }
449
454
  });
450
- if (result.installed && process.env.CODEVIBE_AGY_INSTALLER_VERBOSE === "1") {
451
- console.log(`[installer] Installed fresh manifest hash=${result.manifestHash}`);
455
+ if (isVerbose) {
456
+ if (result.installed) {
457
+ console.log(`[installer] Installed fresh manifest hash=${result.manifestHash}`);
458
+ } else {
459
+ console.log(`[installer] Up to date (manifest hash=${result.manifestHash})`);
460
+ }
452
461
  }
453
462
  process.exit(0);
454
463
  } catch (err) {
@@ -465,5 +474,6 @@ var __testing = {
465
474
  };
466
475
  // Annotate the CommonJS export names for ESM import in node:
467
476
  0 && (module.exports = {
468
- __testing
477
+ __testing,
478
+ isInstallerVerbose
469
479
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe-antigravity-plugin",
3
- "version": "2.0.42",
3
+ "version": "2.0.43",
4
4
  "description": "Control Antigravity CLI from your iPhone and Android — real-time sync, approve file edits, send prompts by voice. Part of CodeVibe.",
5
5
  "main": "dist/server.js",
6
6
  "codevibe": {
@@ -46,7 +46,7 @@
46
46
  "node": ">=22.0.0"
47
47
  },
48
48
  "dependencies": {
49
- "@quantiya/codevibe-core": "^2.0.38",
49
+ "@quantiya/codevibe-core": "^2.0.39",
50
50
  "chokidar": "^5.0.0",
51
51
  "dotenv": "^16.6.1",
52
52
  "express": "^5.1.0",