@google/gemini-cli-a2a-server 0.17.0-preview.1 → 0.17.0-preview.3

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.
@@ -295716,8 +295716,8 @@ var Float64Vector = import_vector.default.Float64Vector;
295716
295716
  var PointerVector = import_vector.default.PointerVector;
295717
295717
 
295718
295718
  // packages/core/dist/src/generated/git-commit.js
295719
- var GIT_COMMIT_INFO = "dd1f8e12f";
295720
- var CLI_VERSION = "0.17.0-preview.1";
295719
+ var GIT_COMMIT_INFO = "d3bf3af4a";
295720
+ var CLI_VERSION = "0.17.0-preview.3";
295721
295721
 
295722
295722
  // packages/core/dist/src/ide/detect-ide.js
295723
295723
  var IDE_DEFINITIONS = {
@@ -298567,7 +298567,7 @@ async function createContentGenerator(config2, gcConfig, sessionId2) {
298567
298567
  if (gcConfig.fakeResponses) {
298568
298568
  return FakeContentGenerator.fromFile(gcConfig.fakeResponses);
298569
298569
  }
298570
- const version3 = "0.17.0-preview.1";
298570
+ const version3 = "0.17.0-preview.3";
298571
298571
  const userAgent = `GeminiCLI/${version3} (${process.platform}; ${process.arch})`;
298572
298572
  const baseHeaders = {
298573
298573
  "User-Agent": userAgent
@@ -346177,7 +346177,7 @@ var LoopDetectionService = class {
346177
346177
  };
346178
346178
 
346179
346179
  // packages/core/dist/src/services/chatCompressionService.js
346180
- var DEFAULT_COMPRESSION_TOKEN_THRESHOLD = 0.7;
346180
+ var DEFAULT_COMPRESSION_TOKEN_THRESHOLD = 0.5;
346181
346181
  var COMPRESSION_PRESERVE_THRESHOLD = 0.3;
346182
346182
  function findCompressSplitPoint(contents, fraction) {
346183
346183
  if (fraction <= 0 || fraction >= 1) {
@@ -351915,6 +351915,11 @@ var ModelRouterService = class {
351915
351915
  let decision;
351916
351916
  try {
351917
351917
  decision = await this.strategy.route(context2, this.config, this.config.getBaseLlmClient());
351918
+ if (decision.model === DEFAULT_GEMINI_MODEL && this.config.getPreviewFeatures() && !decision.metadata.source.includes("override")) {
351919
+ decision.model = PREVIEW_GEMINI_MODEL;
351920
+ decision.metadata.source += " (Preview Model)";
351921
+ decision.metadata.reasoning += " (Upgraded to Preview Model)";
351922
+ }
351918
351923
  const event = new ModelRoutingEvent(
351919
351924
  decision.model,
351920
351925
  decision.metadata.source,
@@ -355130,7 +355135,7 @@ async function getClientMetadata() {
355130
355135
  clientMetadataPromise = (async () => ({
355131
355136
  ideName: "IDE_UNSPECIFIED",
355132
355137
  pluginType: "GEMINI",
355133
- ideVersion: "0.17.0-preview.1",
355138
+ ideVersion: "0.17.0-preview.3",
355134
355139
  platform: getPlatform(),
355135
355140
  updateChannel: await getReleaseChannel(__dirname5)
355136
355141
  }))();