@google/gemini-cli-a2a-server 0.41.0-nightly.20260428.gc17400b83 → 0.41.0-preview.0
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.
- package/dist/a2a-server.mjs +15 -14
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/a2a-server.mjs
CHANGED
|
@@ -115566,8 +115566,9 @@ var init_diffOptions = __esm({
|
|
|
115566
115566
|
|
|
115567
115567
|
// packages/core/dist/src/config/models.js
|
|
115568
115568
|
function resolveModel(requestedModel, useGemini3_1 = false, useGemini3_1FlashLite = false, useCustomToolModel = false, hasAccessToPreview = true, config3) {
|
|
115569
|
+
const normalizedModel = Array.isArray(requestedModel) ? String(requestedModel.at(-1) ?? "").trim() || "" : typeof requestedModel !== "string" ? String(requestedModel ?? "").trim() || "" : requestedModel.trim() || "";
|
|
115569
115570
|
if (config3?.getExperimentalDynamicModelConfiguration?.() === true) {
|
|
115570
|
-
const resolved2 = config3.modelConfigService.resolveModelId(
|
|
115571
|
+
const resolved2 = config3.modelConfigService.resolveModelId(normalizedModel, {
|
|
115571
115572
|
useGemini3_1,
|
|
115572
115573
|
useGemini3_1FlashLite,
|
|
115573
115574
|
useCustomTools: useCustomToolModel,
|
|
@@ -115585,7 +115586,7 @@ function resolveModel(requestedModel, useGemini3_1 = false, useGemini3_1FlashLit
|
|
|
115585
115586
|
return resolved2;
|
|
115586
115587
|
}
|
|
115587
115588
|
let resolved;
|
|
115588
|
-
switch (
|
|
115589
|
+
switch (normalizedModel) {
|
|
115589
115590
|
case PREVIEW_GEMINI_MODEL:
|
|
115590
115591
|
case PREVIEW_GEMINI_MODEL_AUTO:
|
|
115591
115592
|
case GEMINI_MODEL_ALIAS_AUTO:
|
|
@@ -115610,7 +115611,7 @@ function resolveModel(requestedModel, useGemini3_1 = false, useGemini3_1FlashLit
|
|
|
115610
115611
|
break;
|
|
115611
115612
|
}
|
|
115612
115613
|
default: {
|
|
115613
|
-
resolved =
|
|
115614
|
+
resolved = normalizedModel;
|
|
115614
115615
|
break;
|
|
115615
115616
|
}
|
|
115616
115617
|
}
|
|
@@ -209384,8 +209385,8 @@ var GIT_COMMIT_INFO, CLI_VERSION;
|
|
|
209384
209385
|
var init_git_commit = __esm({
|
|
209385
209386
|
"packages/core/dist/src/generated/git-commit.js"() {
|
|
209386
209387
|
"use strict";
|
|
209387
|
-
GIT_COMMIT_INFO = "
|
|
209388
|
-
CLI_VERSION = "0.41.0-
|
|
209388
|
+
GIT_COMMIT_INFO = "59b2dea0e";
|
|
209389
|
+
CLI_VERSION = "0.41.0-preview.0";
|
|
209389
209390
|
}
|
|
209390
209391
|
});
|
|
209391
209392
|
|
|
@@ -329348,7 +329349,7 @@ function getVersion() {
|
|
|
329348
329349
|
}
|
|
329349
329350
|
versionPromise = (async () => {
|
|
329350
329351
|
const pkgJson = await getPackageJson(__dirname4);
|
|
329351
|
-
return "0.41.0-
|
|
329352
|
+
return "0.41.0-preview.0";
|
|
329352
329353
|
})();
|
|
329353
329354
|
return versionPromise;
|
|
329354
329355
|
}
|
|
@@ -330240,7 +330241,7 @@ var init_policyCatalog = __esm({
|
|
|
330240
330241
|
};
|
|
330241
330242
|
DEFAULT_STATE = {
|
|
330242
330243
|
terminal: "terminal",
|
|
330243
|
-
transient: "
|
|
330244
|
+
transient: "sticky_retry",
|
|
330244
330245
|
not_found: "terminal",
|
|
330245
330246
|
unknown: "terminal"
|
|
330246
330247
|
};
|
|
@@ -394560,7 +394561,7 @@ var init_defaultModelConfigs = __esm({
|
|
|
394560
394561
|
},
|
|
394561
394562
|
stateTransitions: {
|
|
394562
394563
|
terminal: "terminal",
|
|
394563
|
-
transient: "
|
|
394564
|
+
transient: "sticky_retry",
|
|
394564
394565
|
not_found: "terminal",
|
|
394565
394566
|
unknown: "terminal"
|
|
394566
394567
|
}
|
|
@@ -394576,7 +394577,7 @@ var init_defaultModelConfigs = __esm({
|
|
|
394576
394577
|
},
|
|
394577
394578
|
stateTransitions: {
|
|
394578
394579
|
terminal: "terminal",
|
|
394579
|
-
transient: "
|
|
394580
|
+
transient: "sticky_retry",
|
|
394580
394581
|
not_found: "terminal",
|
|
394581
394582
|
unknown: "terminal"
|
|
394582
394583
|
}
|
|
@@ -394593,7 +394594,7 @@ var init_defaultModelConfigs = __esm({
|
|
|
394593
394594
|
},
|
|
394594
394595
|
stateTransitions: {
|
|
394595
394596
|
terminal: "terminal",
|
|
394596
|
-
transient: "
|
|
394597
|
+
transient: "sticky_retry",
|
|
394597
394598
|
not_found: "terminal",
|
|
394598
394599
|
unknown: "terminal"
|
|
394599
394600
|
}
|
|
@@ -394609,7 +394610,7 @@ var init_defaultModelConfigs = __esm({
|
|
|
394609
394610
|
},
|
|
394610
394611
|
stateTransitions: {
|
|
394611
394612
|
terminal: "terminal",
|
|
394612
|
-
transient: "
|
|
394613
|
+
transient: "sticky_retry",
|
|
394613
394614
|
not_found: "terminal",
|
|
394614
394615
|
unknown: "terminal"
|
|
394615
394616
|
}
|
|
@@ -394626,7 +394627,7 @@ var init_defaultModelConfigs = __esm({
|
|
|
394626
394627
|
},
|
|
394627
394628
|
stateTransitions: {
|
|
394628
394629
|
terminal: "terminal",
|
|
394629
|
-
transient: "
|
|
394630
|
+
transient: "sticky_retry",
|
|
394630
394631
|
not_found: "terminal",
|
|
394631
394632
|
unknown: "terminal"
|
|
394632
394633
|
}
|
|
@@ -394641,7 +394642,7 @@ var init_defaultModelConfigs = __esm({
|
|
|
394641
394642
|
},
|
|
394642
394643
|
stateTransitions: {
|
|
394643
394644
|
terminal: "terminal",
|
|
394644
|
-
transient: "
|
|
394645
|
+
transient: "sticky_retry",
|
|
394645
394646
|
not_found: "terminal",
|
|
394646
394647
|
unknown: "terminal"
|
|
394647
394648
|
}
|
|
@@ -394657,7 +394658,7 @@ var init_defaultModelConfigs = __esm({
|
|
|
394657
394658
|
},
|
|
394658
394659
|
stateTransitions: {
|
|
394659
394660
|
terminal: "terminal",
|
|
394660
|
-
transient: "
|
|
394661
|
+
transient: "sticky_retry",
|
|
394661
394662
|
not_found: "terminal",
|
|
394662
394663
|
unknown: "terminal"
|
|
394663
394664
|
}
|