@google/gemini-cli-a2a-server 0.27.0 → 0.27.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.
@@ -121622,13 +121622,13 @@ var require_path = __commonJS({
121622
121622
  "node_modules/@protobufjs/path/index.js"(exports2) {
121623
121623
  "use strict";
121624
121624
  var path80 = exports2;
121625
- var isAbsolute6 = (
121625
+ var isAbsolute5 = (
121626
121626
  /**
121627
121627
  * Tests if the specified path is absolute.
121628
121628
  * @param {string} path Path to test
121629
121629
  * @returns {boolean} `true` if path is absolute
121630
121630
  */
121631
- path80.isAbsolute = function isAbsolute7(path81) {
121631
+ path80.isAbsolute = function isAbsolute6(path81) {
121632
121632
  return /^(?:\/|\w+:)/.test(path81);
121633
121633
  }
121634
121634
  );
@@ -121640,7 +121640,7 @@ var require_path = __commonJS({
121640
121640
  */
121641
121641
  path80.normalize = function normalize6(path81) {
121642
121642
  path81 = path81.replace(/\\/g, "/").replace(/\/{2,}/g, "/");
121643
- var parts2 = path81.split("/"), absolute = isAbsolute6(path81), prefix = "";
121643
+ var parts2 = path81.split("/"), absolute = isAbsolute5(path81), prefix = "";
121644
121644
  if (absolute)
121645
121645
  prefix = parts2.shift() + "/";
121646
121646
  for (var i4 = 0; i4 < parts2.length; ) {
@@ -121662,7 +121662,7 @@ var require_path = __commonJS({
121662
121662
  path80.resolve = function resolve15(originPath, includePath, alreadyNormalized) {
121663
121663
  if (!alreadyNormalized)
121664
121664
  includePath = normalize5(includePath);
121665
- if (isAbsolute6(includePath))
121665
+ if (isAbsolute5(includePath))
121666
121666
  return includePath;
121667
121667
  if (!alreadyNormalized)
121668
121668
  originPath = normalize5(originPath);
@@ -326593,7 +326593,7 @@ var __filename = fileURLToPath5(import.meta.url);
326593
326593
  var __dirname3 = path20.dirname(__filename);
326594
326594
  async function getVersion() {
326595
326595
  const pkgJson = await getPackageJson(__dirname3);
326596
- return "0.27.0";
326596
+ return "0.27.2";
326597
326597
  }
326598
326598
 
326599
326599
  // packages/core/dist/src/code_assist/experiments/client_metadata.js
@@ -329983,6 +329983,9 @@ var EventMetadataKey;
329983
329983
  EventMetadataKey2[EventMetadataKey2["GEMINI_CLI_ACTIVE_APPROVAL_MODE"] = 141] = "GEMINI_CLI_ACTIVE_APPROVAL_MODE";
329984
329984
  EventMetadataKey2[EventMetadataKey2["GEMINI_CLI_APPROVAL_MODE_TO"] = 142] = "GEMINI_CLI_APPROVAL_MODE_TO";
329985
329985
  EventMetadataKey2[EventMetadataKey2["GEMINI_CLI_APPROVAL_MODE_DURATION_MS"] = 143] = "GEMINI_CLI_APPROVAL_MODE_DURATION_MS";
329986
+ EventMetadataKey2[EventMetadataKey2["GEMINI_CLI_ROUTING_REASONING"] = 145] = "GEMINI_CLI_ROUTING_REASONING";
329987
+ EventMetadataKey2[EventMetadataKey2["GEMINI_CLI_ROUTING_NUMERICAL_ENABLED"] = 146] = "GEMINI_CLI_ROUTING_NUMERICAL_ENABLED";
329988
+ EventMetadataKey2[EventMetadataKey2["GEMINI_CLI_ROUTING_CLASSIFIER_THRESHOLD"] = 147] = "GEMINI_CLI_ROUTING_CLASSIFIER_THRESHOLD";
329986
329989
  })(EventMetadataKey || (EventMetadataKey = {}));
329987
329990
 
329988
329991
  // node_modules/mnemonist/index.mjs
@@ -330009,8 +330012,8 @@ var Float64Vector = import_vector.default.Float64Vector;
330009
330012
  var PointerVector = import_vector.default.PointerVector;
330010
330013
 
330011
330014
  // packages/core/dist/src/generated/git-commit.js
330012
- var GIT_COMMIT_INFO = "ec10a7692";
330013
- var CLI_VERSION = "0.27.0";
330015
+ var GIT_COMMIT_INFO = "3d2d44d74";
330016
+ var CLI_VERSION = "0.27.2";
330014
330017
 
330015
330018
  // packages/core/dist/src/ide/detect-ide.js
330016
330019
  var IDE_DEFINITIONS = {
@@ -331032,6 +331035,24 @@ var ClearcutLogger = class _ClearcutLogger {
331032
331035
  value: event.error_message
331033
331036
  });
331034
331037
  }
331038
+ if (event.reasoning && this.config?.getTelemetryLogPromptsEnabled()) {
331039
+ data.push({
331040
+ gemini_cli_key: EventMetadataKey.GEMINI_CLI_ROUTING_REASONING,
331041
+ value: event.reasoning
331042
+ });
331043
+ }
331044
+ if (event.enable_numerical_routing !== void 0) {
331045
+ data.push({
331046
+ gemini_cli_key: EventMetadataKey.GEMINI_CLI_ROUTING_NUMERICAL_ENABLED,
331047
+ value: event.enable_numerical_routing.toString()
331048
+ });
331049
+ }
331050
+ if (event.classifier_threshold) {
331051
+ data.push({
331052
+ gemini_cli_key: EventMetadataKey.GEMINI_CLI_ROUTING_CLASSIFIER_THRESHOLD,
331053
+ value: event.classifier_threshold
331054
+ });
331055
+ }
331035
331056
  this.enqueueLogEvent(this.createLogEvent(EventNames.MODEL_ROUTING, data));
331036
331057
  this.flushIfNeeded();
331037
331058
  }
@@ -390841,7 +390862,7 @@ var NumericalClassifierStrategy = class {
390841
390862
  return {
390842
390863
  model: selectedModel,
390843
390864
  metadata: {
390844
- source: `Classifier (${groupLabel})`,
390865
+ source: `NumericalClassifier (${groupLabel})`,
390845
390866
  latencyMs,
390846
390867
  reasoning: `[Score: ${score} / Threshold: ${threshold}] ${routerResponse.complexity_reasoning}`
390847
390868
  }
@@ -404683,9 +404704,6 @@ var Config = class {
404683
404704
  * @returns true if the path is allowed, false otherwise.
404684
404705
  */
404685
404706
  isPathAllowed(absolutePath) {
404686
- if (this.interactive && path70.isAbsolute(absolutePath)) {
404687
- return true;
404688
- }
404689
404707
  const realpath3 = (p) => {
404690
404708
  let resolved;
404691
404709
  try {