@google/gemini-cli-a2a-server 0.20.0 → 0.20.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.
@@ -307842,8 +307842,8 @@ var Float64Vector = import_vector.default.Float64Vector;
307842
307842
  var PointerVector = import_vector.default.PointerVector;
307843
307843
 
307844
307844
  // packages/core/dist/src/generated/git-commit.js
307845
- var GIT_COMMIT_INFO = "d0ce3c4c5";
307846
- var CLI_VERSION = "0.20.0";
307845
+ var GIT_COMMIT_INFO = "ba8643809";
307846
+ var CLI_VERSION = "0.20.1";
307847
307847
 
307848
307848
  // packages/core/dist/src/ide/detect-ide.js
307849
307849
  var IDE_DEFINITIONS = {
@@ -310901,7 +310901,7 @@ async function createContentGenerator(config3, gcConfig, sessionId2) {
310901
310901
  if (gcConfig.fakeResponses) {
310902
310902
  return FakeContentGenerator.fromFile(gcConfig.fakeResponses);
310903
310903
  }
310904
- const version4 = "0.20.0";
310904
+ const version4 = "0.20.1";
310905
310905
  const customHeadersEnv = process.env["GEMINI_CLI_CUSTOM_HEADERS"] || void 0;
310906
310906
  const userAgent = `GeminiCLI/${version4} (${process.platform}; ${process.arch})`;
310907
310907
  const customHeadersMap = parseCustomHeaders(customHeadersEnv);
@@ -347246,9 +347246,7 @@ var IdeClient = class _IdeClient {
347246
347246
  }
347247
347247
  this.setState(IDEConnectionStatus.Connecting);
347248
347248
  this.connectionConfig = await this.getConnectionConfigFromFile();
347249
- if (this.connectionConfig?.authToken) {
347250
- this.authToken = this.connectionConfig.authToken;
347251
- }
347249
+ this.authToken = this.connectionConfig?.authToken ?? process.env["GEMINI_CLI_IDE_AUTH_TOKEN"];
347252
347250
  const workspacePath = this.connectionConfig?.workspacePath ?? process.env["GEMINI_CLI_IDE_WORKSPACE_PATH"];
347253
347251
  const { isValid: isValid2, error: error2 } = _IdeClient.validateWorkspacePath(workspacePath, process.cwd());
347254
347252
  if (!isValid2) {
@@ -377571,7 +377569,7 @@ async function getClientMetadata() {
377571
377569
  clientMetadataPromise = (async () => ({
377572
377570
  ideName: "IDE_UNSPECIFIED",
377573
377571
  pluginType: "GEMINI",
377574
- ideVersion: "0.20.0",
377572
+ ideVersion: "0.20.1",
377575
377573
  platform: getPlatform(),
377576
377574
  updateChannel: await getReleaseChannel(__dirname5)
377577
377575
  }))();