@google/gemini-cli-a2a-server 0.29.0-preview.1 → 0.29.0-preview.2

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.
@@ -323681,10 +323681,17 @@ import readline from "node:readline";
323681
323681
  // packages/core/dist/src/utils/headless.js
323682
323682
  import process8 from "node:process";
323683
323683
  function isHeadlessMode(options) {
323684
- if (process8.env["GEMINI_CLI_INTEGRATION_TEST"] === "true") {
323685
- return !!options?.prompt || !!process8.stdin && !process8.stdin.isTTY || !!process8.stdout && !process8.stdout.isTTY;
323684
+ if (process8.env["GEMINI_CLI_INTEGRATION_TEST"] !== "true") {
323685
+ const isCI = process8.env["CI"] === "true" || process8.env["GITHUB_ACTIONS"] === "true";
323686
+ if (isCI) {
323687
+ return true;
323688
+ }
323689
+ }
323690
+ const isNotTTY = !!process8.stdin && !process8.stdin.isTTY || !!process8.stdout && !process8.stdout.isTTY;
323691
+ if (isNotTTY || !!options?.prompt || !!options?.query) {
323692
+ return true;
323686
323693
  }
323687
- return process8.env["CI"] === "true" || process8.env["GITHUB_ACTIONS"] === "true" || !!options?.prompt || !!process8.stdin && !process8.stdin.isTTY || !!process8.stdout && !process8.stdout.isTTY;
323694
+ return process8.argv.some((arg) => arg === "-p" || arg === "--prompt" || arg === "-y" || arg === "--yolo");
323688
323695
  }
323689
323696
 
323690
323697
  // packages/core/dist/src/utils/authConsent.js
@@ -328948,7 +328955,7 @@ var __filename = fileURLToPath5(import.meta.url);
328948
328955
  var __dirname3 = path22.dirname(__filename);
328949
328956
  async function getVersion() {
328950
328957
  const pkgJson = await getPackageJson(__dirname3);
328951
- return "0.29.0-preview.1";
328958
+ return "0.29.0-preview.2";
328952
328959
  }
328953
328960
 
328954
328961
  // packages/core/dist/src/code_assist/experiments/client_metadata.js
@@ -332493,8 +332500,8 @@ var Float64Vector = import_vector.default.Float64Vector;
332493
332500
  var PointerVector = import_vector.default.PointerVector;
332494
332501
 
332495
332502
  // packages/core/dist/src/generated/git-commit.js
332496
- var GIT_COMMIT_INFO = "31a7a8187";
332497
- var CLI_VERSION = "0.29.0-preview.1";
332503
+ var GIT_COMMIT_INFO = "6a2f2d3a9";
332504
+ var CLI_VERSION = "0.29.0-preview.2";
332498
332505
 
332499
332506
  // packages/core/dist/src/ide/detect-ide.js
332500
332507
  var IDE_DEFINITIONS = {