@google/gemini-cli-a2a-server 0.20.0-nightly.20251127.5bed97064 → 0.20.0-nightly.20251130.576fda18e

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.
@@ -304821,6 +304821,9 @@ var CodeAssistServer = class {
304821
304821
  };
304822
304822
  return await this.requestPost("listExperiments", req);
304823
304823
  }
304824
+ async retrieveUserQuota(req) {
304825
+ return await this.requestPost("retrieveUserQuota", req);
304826
+ }
304824
304827
  async requestPost(method, req, signal) {
304825
304828
  const res = await this.client.request({
304826
304829
  url: this.getMethodUrl(method),
@@ -306930,6 +306933,7 @@ var ApiResponseEvent = class {
306930
306933
  prompt;
306931
306934
  response;
306932
306935
  usage;
306936
+ finish_reasons;
306933
306937
  constructor(model, duration_ms, prompt_details, response_details, auth_type, usage_data, response_text) {
306934
306938
  this["event.name"] = "api_response";
306935
306939
  this["event.timestamp"] = (/* @__PURE__ */ new Date()).toISOString();
@@ -306948,6 +306952,7 @@ var ApiResponseEvent = class {
306948
306952
  tool_token_count: usage_data?.toolUsePromptTokenCount ?? 0,
306949
306953
  total_token_count: usage_data?.totalTokenCount ?? 0
306950
306954
  };
306955
+ this.finish_reasons = toFinishReasons(this.response.candidates);
306951
306956
  }
306952
306957
  toLogRecord(config3) {
306953
306958
  const attributes = {
@@ -306964,7 +306969,8 @@ var ApiResponseEvent = class {
306964
306969
  total_token_count: this.usage.total_token_count,
306965
306970
  prompt_id: this.prompt.prompt_id,
306966
306971
  auth_type: this.auth_type,
306967
- status_code: this.status_code
306972
+ status_code: this.status_code,
306973
+ finish_reasons: this.finish_reasons
306968
306974
  };
306969
306975
  if (this.response_text) {
306970
306976
  attributes["response_text"] = this.response_text;
@@ -306986,7 +306992,7 @@ var ApiResponseEvent = class {
306986
306992
  "event.name": EVENT_GEN_AI_OPERATION_DETAILS,
306987
306993
  "event.timestamp": this["event.timestamp"],
306988
306994
  "gen_ai.response.id": this.response.response_id,
306989
- "gen_ai.response.finish_reasons": toFinishReasons(this.response.candidates),
306995
+ "gen_ai.response.finish_reasons": this.finish_reasons,
306990
306996
  "gen_ai.output.messages": JSON.stringify(toOutputMessages(this.response.candidates)),
306991
306997
  ...toGenerateContentConfigAttributes(this.prompt.generate_content_config),
306992
306998
  ...getConventionAttributes(this)
@@ -307803,8 +307809,8 @@ var Float64Vector = import_vector.default.Float64Vector;
307803
307809
  var PointerVector = import_vector.default.PointerVector;
307804
307810
 
307805
307811
  // packages/core/dist/src/generated/git-commit.js
307806
- var GIT_COMMIT_INFO = "5bed97064";
307807
- var CLI_VERSION = "0.20.0-nightly.20251127.5bed97064";
307812
+ var GIT_COMMIT_INFO = "576fda18e";
307813
+ var CLI_VERSION = "0.20.0-nightly.20251130.576fda18e";
307808
307814
 
307809
307815
  // packages/core/dist/src/ide/detect-ide.js
307810
307816
  var IDE_DEFINITIONS = {
@@ -310731,7 +310737,7 @@ async function createContentGenerator(config3, gcConfig, sessionId2) {
310731
310737
  if (gcConfig.fakeResponses) {
310732
310738
  return FakeContentGenerator.fromFile(gcConfig.fakeResponses);
310733
310739
  }
310734
- const version4 = "0.20.0-nightly.20251127.5bed97064";
310740
+ const version4 = "0.20.0-nightly.20251130.576fda18e";
310735
310741
  const customHeadersEnv = process.env["GEMINI_CLI_CUSTOM_HEADERS"] || void 0;
310736
310742
  const userAgent = `GeminiCLI/${version4} (${process.platform}; ${process.arch})`;
310737
310743
  const customHeadersMap = parseCustomHeaders(customHeadersEnv);
@@ -354764,7 +354770,8 @@ var ShellExecutionService = class {
354764
354770
  ...process.env,
354765
354771
  GEMINI_CLI: "1",
354766
354772
  TERM: "xterm-256color",
354767
- PAGER: "cat"
354773
+ PAGER: "cat",
354774
+ GIT_PAGER: "cat"
354768
354775
  }
354769
354776
  });
354770
354777
  const result = new Promise((resolve14) => {
@@ -354932,7 +354939,8 @@ var ShellExecutionService = class {
354932
354939
  ...process.env,
354933
354940
  GEMINI_CLI: "1",
354934
354941
  TERM: "xterm-256color",
354935
- PAGER: shellExecutionConfig.pager ?? "cat"
354942
+ PAGER: shellExecutionConfig.pager ?? "cat",
354943
+ GIT_PAGER: shellExecutionConfig.pager ?? "cat"
354936
354944
  },
354937
354945
  handleFlowControl: true
354938
354946
  });
@@ -355365,7 +355373,7 @@ var ShellToolInvocation = class extends BaseToolInvocation {
355365
355373
  updateOutput(cumulativeOutput);
355366
355374
  lastUpdateTime = Date.now();
355367
355375
  }
355368
- }, combinedController.signal, this.config.getEnableInteractiveShell(), shellExecutionConfig ?? {});
355376
+ }, combinedController.signal, this.config.getEnableInteractiveShell(), { ...shellExecutionConfig, pager: "cat" });
355369
355377
  if (pid && setPidCallback) {
355370
355378
  setPidCallback(pid);
355371
355379
  }
@@ -374535,7 +374543,7 @@ async function getClientMetadata() {
374535
374543
  clientMetadataPromise = (async () => ({
374536
374544
  ideName: "IDE_UNSPECIFIED",
374537
374545
  pluginType: "GEMINI",
374538
- ideVersion: "0.20.0-nightly.20251127.5bed97064",
374546
+ ideVersion: "0.20.0-nightly.20251130.576fda18e",
374539
374547
  platform: getPlatform(),
374540
374548
  updateChannel: await getReleaseChannel(__dirname5)
374541
374549
  }))();