@google/gemini-cli-a2a-server 0.56.0-nightly.20260811.geef19f25c → 0.56.0-preview.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.
- package/dist/a2a-server.mjs +9 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/a2a-server.mjs
CHANGED
|
@@ -220988,8 +220988,8 @@ var GIT_COMMIT_INFO, CLI_VERSION;
|
|
|
220988
220988
|
var init_git_commit = __esm({
|
|
220989
220989
|
"packages/core/dist/src/generated/git-commit.js"() {
|
|
220990
220990
|
"use strict";
|
|
220991
|
-
GIT_COMMIT_INFO = "
|
|
220992
|
-
CLI_VERSION = "0.56.0-
|
|
220991
|
+
GIT_COMMIT_INFO = "659c7aacd";
|
|
220992
|
+
CLI_VERSION = "0.56.0-preview.1";
|
|
220993
220993
|
}
|
|
220994
220994
|
});
|
|
220995
220995
|
|
|
@@ -336689,7 +336689,7 @@ function getVersion() {
|
|
|
336689
336689
|
}
|
|
336690
336690
|
versionPromise = (async () => {
|
|
336691
336691
|
const pkgJson = await getPackageJson(__dirname4);
|
|
336692
|
-
return "0.56.0-
|
|
336692
|
+
return "0.56.0-preview.1";
|
|
336693
336693
|
})();
|
|
336694
336694
|
return versionPromise;
|
|
336695
336695
|
}
|
|
@@ -414825,17 +414825,21 @@ var init_config4 = __esm({
|
|
|
414825
414825
|
if (!bucket.modelId || bucket.remainingFraction == null) {
|
|
414826
414826
|
continue;
|
|
414827
414827
|
}
|
|
414828
|
+
let modelId = bucket.modelId;
|
|
414829
|
+
if (modelId === SECONDARY_GEMINI_3_5_FLASH_MODEL) {
|
|
414830
|
+
modelId = DEFAULT_GEMINI_3_5_FLASH_MODEL;
|
|
414831
|
+
}
|
|
414828
414832
|
let remaining;
|
|
414829
414833
|
let limit;
|
|
414830
414834
|
if (bucket.remainingAmount) {
|
|
414831
414835
|
remaining = parseInt(bucket.remainingAmount, 10);
|
|
414832
|
-
limit = bucket.remainingFraction > 0 ? Math.round(remaining / bucket.remainingFraction) : this.modelQuotas.get(
|
|
414836
|
+
limit = bucket.remainingFraction > 0 ? Math.round(remaining / bucket.remainingFraction) : this.modelQuotas.get(modelId)?.limit ?? 0;
|
|
414833
414837
|
} else {
|
|
414834
414838
|
limit = 100;
|
|
414835
414839
|
remaining = Math.round(bucket.remainingFraction * limit);
|
|
414836
414840
|
}
|
|
414837
414841
|
if (!isNaN(remaining) && Number.isFinite(limit) && limit > 0) {
|
|
414838
|
-
this.modelQuotas.set(
|
|
414842
|
+
this.modelQuotas.set(modelId, {
|
|
414839
414843
|
remaining,
|
|
414840
414844
|
limit,
|
|
414841
414845
|
resetTime: bucket.resetTime
|