@google/gemini-cli-a2a-server 0.15.0-preview.1 → 0.15.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 +40 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/a2a-server.mjs
CHANGED
|
@@ -295899,8 +295899,8 @@ var Float64Vector = import_vector.default.Float64Vector;
|
|
|
295899
295899
|
var PointerVector = import_vector.default.PointerVector;
|
|
295900
295900
|
|
|
295901
295901
|
// packages/core/dist/src/generated/git-commit.js
|
|
295902
|
-
var GIT_COMMIT_INFO = "
|
|
295903
|
-
var CLI_VERSION = "0.15.0-preview.
|
|
295902
|
+
var GIT_COMMIT_INFO = "605d9167";
|
|
295903
|
+
var CLI_VERSION = "0.15.0-preview.3";
|
|
295904
295904
|
|
|
295905
295905
|
// packages/core/dist/src/ide/detect-ide.js
|
|
295906
295906
|
var IDE_DEFINITIONS = {
|
|
@@ -298705,7 +298705,7 @@ async function createContentGenerator(config2, gcConfig, sessionId2) {
|
|
|
298705
298705
|
if (gcConfig.fakeResponses) {
|
|
298706
298706
|
return FakeContentGenerator.fromFile(gcConfig.fakeResponses);
|
|
298707
298707
|
}
|
|
298708
|
-
const version3 = "0.15.0-preview.
|
|
298708
|
+
const version3 = "0.15.0-preview.3";
|
|
298709
298709
|
const userAgent = `GeminiCLI/${version3} (${process.platform}; ${process.arch})`;
|
|
298710
298710
|
const baseHeaders = {
|
|
298711
298711
|
"User-Agent": userAgent
|
|
@@ -345329,13 +345329,46 @@ var WriteTodosTool = class _WriteTodosTool extends BaseDeclarativeTool {
|
|
|
345329
345329
|
enum: TODO_STATUSES
|
|
345330
345330
|
}
|
|
345331
345331
|
},
|
|
345332
|
-
required: ["description", "status"]
|
|
345332
|
+
required: ["description", "status"],
|
|
345333
|
+
additionalProperties: false
|
|
345333
345334
|
}
|
|
345334
345335
|
}
|
|
345335
345336
|
},
|
|
345336
|
-
required: ["todos"]
|
|
345337
|
+
required: ["todos"],
|
|
345338
|
+
additionalProperties: false
|
|
345337
345339
|
});
|
|
345338
345340
|
}
|
|
345341
|
+
get schema() {
|
|
345342
|
+
return {
|
|
345343
|
+
name: this.name,
|
|
345344
|
+
description: this.description,
|
|
345345
|
+
parametersJsonSchema: this.parameterSchema,
|
|
345346
|
+
responseJsonSchema: {
|
|
345347
|
+
type: "object",
|
|
345348
|
+
properties: {
|
|
345349
|
+
todos: {
|
|
345350
|
+
type: "array",
|
|
345351
|
+
items: {
|
|
345352
|
+
type: "object",
|
|
345353
|
+
properties: {
|
|
345354
|
+
description: {
|
|
345355
|
+
type: "string"
|
|
345356
|
+
},
|
|
345357
|
+
status: {
|
|
345358
|
+
type: "string",
|
|
345359
|
+
enum: TODO_STATUSES
|
|
345360
|
+
}
|
|
345361
|
+
},
|
|
345362
|
+
required: ["description", "status"],
|
|
345363
|
+
additionalProperties: false
|
|
345364
|
+
}
|
|
345365
|
+
}
|
|
345366
|
+
},
|
|
345367
|
+
required: ["todos"],
|
|
345368
|
+
additionalProperties: false
|
|
345369
|
+
}
|
|
345370
|
+
};
|
|
345371
|
+
}
|
|
345339
345372
|
validateToolParamValues(params) {
|
|
345340
345373
|
const todos = params?.todos;
|
|
345341
345374
|
if (!params || !Array.isArray(todos)) {
|
|
@@ -354973,7 +355006,7 @@ async function getClientMetadata() {
|
|
|
354973
355006
|
if (!clientMetadataPromise) {
|
|
354974
355007
|
clientMetadataPromise = (async () => ({
|
|
354975
355008
|
ideName: "GEMINI_CLI",
|
|
354976
|
-
ideVersion: "0.15.0-preview.
|
|
355009
|
+
ideVersion: "0.15.0-preview.3",
|
|
354977
355010
|
platform: getPlatform(),
|
|
354978
355011
|
updateChannel: await getReleaseChannel(__dirname5)
|
|
354979
355012
|
}))();
|
|
@@ -360582,7 +360615,7 @@ var Config = class {
|
|
|
360582
360615
|
this.truncateToolOutputLines = params.truncateToolOutputLines ?? DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES;
|
|
360583
360616
|
this.enableToolOutputTruncation = params.enableToolOutputTruncation ?? true;
|
|
360584
360617
|
this.useSmartEdit = params.useSmartEdit ?? true;
|
|
360585
|
-
this.useWriteTodos = params.useWriteTodos ??
|
|
360618
|
+
this.useWriteTodos = params.useWriteTodos ?? true;
|
|
360586
360619
|
this.initialUseModelRouter = params.useModelRouter ?? false;
|
|
360587
360620
|
this.useModelRouter = this.initialUseModelRouter;
|
|
360588
360621
|
this.disableModelRouterForAuth = params.disableModelRouterForAuth ?? [];
|