@google/gemini-cli-a2a-server 0.24.0-preview.1 → 0.24.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.
- package/dist/a2a-server.mjs +18 -9
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/a2a-server.mjs
CHANGED
|
@@ -310501,7 +310501,7 @@ var __filename = fileURLToPath4(import.meta.url);
|
|
|
310501
310501
|
var __dirname3 = path20.dirname(__filename);
|
|
310502
310502
|
async function getVersion() {
|
|
310503
310503
|
const pkgJson = await getPackageJson(__dirname3);
|
|
310504
|
-
return "0.24.0-preview.
|
|
310504
|
+
return "0.24.0-preview.3";
|
|
310505
310505
|
}
|
|
310506
310506
|
|
|
310507
310507
|
// packages/core/dist/src/code_assist/experiments/client_metadata.js
|
|
@@ -313317,8 +313317,8 @@ var Float64Vector = import_vector.default.Float64Vector;
|
|
|
313317
313317
|
var PointerVector = import_vector.default.PointerVector;
|
|
313318
313318
|
|
|
313319
313319
|
// packages/core/dist/src/generated/git-commit.js
|
|
313320
|
-
var GIT_COMMIT_INFO = "
|
|
313321
|
-
var CLI_VERSION = "0.24.0-preview.
|
|
313320
|
+
var GIT_COMMIT_INFO = "4b2701195";
|
|
313321
|
+
var CLI_VERSION = "0.24.0-preview.3";
|
|
313322
313322
|
|
|
313323
313323
|
// packages/core/dist/src/ide/detect-ide.js
|
|
313324
313324
|
var IDE_DEFINITIONS = {
|
|
@@ -369070,17 +369070,26 @@ var CoreToolScheduler = class _CoreToolScheduler {
|
|
|
369070
369070
|
if (signal.aborted) {
|
|
369071
369071
|
this._cancelAllQueuedCalls();
|
|
369072
369072
|
}
|
|
369073
|
+
if (this.isFinalizingToolCalls) {
|
|
369074
|
+
return;
|
|
369075
|
+
}
|
|
369073
369076
|
if (this.completedToolCallsForBatch.length === 0 && !signal.aborted) {
|
|
369074
369077
|
return;
|
|
369075
369078
|
}
|
|
369076
|
-
|
|
369077
|
-
|
|
369078
|
-
|
|
369079
|
-
|
|
369079
|
+
this.isFinalizingToolCalls = true;
|
|
369080
|
+
try {
|
|
369081
|
+
while (this.completedToolCallsForBatch.length > 0) {
|
|
369082
|
+
const batchToReport = [...this.completedToolCallsForBatch];
|
|
369083
|
+
this.completedToolCallsForBatch = [];
|
|
369084
|
+
if (this.onAllToolCallsComplete) {
|
|
369085
|
+
await this.onAllToolCallsComplete(batchToReport);
|
|
369086
|
+
}
|
|
369087
|
+
}
|
|
369088
|
+
} finally {
|
|
369080
369089
|
this.isFinalizingToolCalls = false;
|
|
369090
|
+
this.isCancelling = false;
|
|
369091
|
+
this.notifyToolCallsUpdate();
|
|
369081
369092
|
}
|
|
369082
|
-
this.isCancelling = false;
|
|
369083
|
-
this.notifyToolCallsUpdate();
|
|
369084
369093
|
if (this.requestQueue.length > 0) {
|
|
369085
369094
|
const next = this.requestQueue.shift();
|
|
369086
369095
|
this._schedule(next.request, next.signal).then(next.resolve).catch(next.reject);
|