@google/gemini-cli-a2a-server 0.18.0-preview.0 → 0.19.0-nightly.20251121.5982abeff
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 +30 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/a2a-server.mjs
CHANGED
|
@@ -307590,8 +307590,8 @@ var Float64Vector = import_vector.default.Float64Vector;
|
|
|
307590
307590
|
var PointerVector = import_vector.default.PointerVector;
|
|
307591
307591
|
|
|
307592
307592
|
// packages/core/dist/src/generated/git-commit.js
|
|
307593
|
-
var GIT_COMMIT_INFO = "
|
|
307594
|
-
var CLI_VERSION = "0.
|
|
307593
|
+
var GIT_COMMIT_INFO = "5982abeff";
|
|
307594
|
+
var CLI_VERSION = "0.19.0-nightly.20251121.5982abeff";
|
|
307595
307595
|
|
|
307596
307596
|
// packages/core/dist/src/ide/detect-ide.js
|
|
307597
307597
|
var IDE_DEFINITIONS = {
|
|
@@ -310450,7 +310450,7 @@ async function createContentGenerator(config2, gcConfig, sessionId2) {
|
|
|
310450
310450
|
if (gcConfig.fakeResponses) {
|
|
310451
310451
|
return FakeContentGenerator.fromFile(gcConfig.fakeResponses);
|
|
310452
310452
|
}
|
|
310453
|
-
const version3 = "0.
|
|
310453
|
+
const version3 = "0.19.0-nightly.20251121.5982abeff";
|
|
310454
310454
|
const userAgent = `GeminiCLI/${version3} (${process.platform}; ${process.arch})`;
|
|
310455
310455
|
const baseHeaders = {
|
|
310456
310456
|
"User-Agent": userAgent
|
|
@@ -363970,7 +363970,9 @@ var GitService = class {
|
|
|
363970
363970
|
try {
|
|
363971
363971
|
const repo = this.shadowGitRepository;
|
|
363972
363972
|
await repo.add(".");
|
|
363973
|
-
const commitResult = await repo.commit(message
|
|
363973
|
+
const commitResult = await repo.commit(message, {
|
|
363974
|
+
"--no-verify": null
|
|
363975
|
+
});
|
|
363974
363976
|
return commitResult.commit;
|
|
363975
363977
|
} catch (error) {
|
|
363976
363978
|
throw new Error(`Failed to create checkpoint snapshot: ${error instanceof Error ? error.message : "Unknown error"}. Checkpointing may not be working properly.`);
|
|
@@ -367575,7 +367577,7 @@ async function getClientMetadata() {
|
|
|
367575
367577
|
clientMetadataPromise = (async () => ({
|
|
367576
367578
|
ideName: "IDE_UNSPECIFIED",
|
|
367577
367579
|
pluginType: "GEMINI",
|
|
367578
|
-
ideVersion: "0.
|
|
367580
|
+
ideVersion: "0.19.0-nightly.20251121.5982abeff",
|
|
367579
367581
|
platform: getPlatform(),
|
|
367580
367582
|
updateChannel: await getReleaseChannel(__dirname5)
|
|
367581
367583
|
}))();
|
|
@@ -372329,6 +372331,21 @@ async function createTransportWithOAuth(mcpServerName, mcpServerConfig, accessTo
|
|
|
372329
372331
|
return null;
|
|
372330
372332
|
}
|
|
372331
372333
|
}
|
|
372334
|
+
var LenientJsonSchemaValidator = class {
|
|
372335
|
+
ajvValidator = new AjvJsonSchemaValidator();
|
|
372336
|
+
getValidator(schema) {
|
|
372337
|
+
try {
|
|
372338
|
+
return this.ajvValidator.getValidator(schema);
|
|
372339
|
+
} catch (error) {
|
|
372340
|
+
debugLogger.warn(`Failed to compile MCP tool output schema (${schema?.["$id"] ?? "<no $id>"}): ${error instanceof Error ? error.message : String(error)}. Skipping output validation for this tool.`);
|
|
372341
|
+
return (input) => ({
|
|
372342
|
+
valid: true,
|
|
372343
|
+
data: input,
|
|
372344
|
+
errorMessage: void 0
|
|
372345
|
+
});
|
|
372346
|
+
}
|
|
372347
|
+
}
|
|
372348
|
+
};
|
|
372332
372349
|
function populateMcpServerCommand(mcpServers, mcpServerCommand) {
|
|
372333
372350
|
if (mcpServerCommand) {
|
|
372334
372351
|
const cmd = mcpServerCommand;
|
|
@@ -372471,6 +372488,9 @@ async function connectToMcpServer(mcpServerName, mcpServerConfig, debugMode, wor
|
|
|
372471
372488
|
const mcpClient = new Client({
|
|
372472
372489
|
name: "gemini-cli-mcp-client",
|
|
372473
372490
|
version: "0.0.1"
|
|
372491
|
+
}, {
|
|
372492
|
+
// Use a tolerant validator so bad output schemas don't block discovery.
|
|
372493
|
+
jsonSchemaValidator: new LenientJsonSchemaValidator()
|
|
372474
372494
|
});
|
|
372475
372495
|
mcpClient.registerCapabilities({
|
|
372476
372496
|
roots: {
|
|
@@ -374247,6 +374267,11 @@ var PreCompressTrigger;
|
|
|
374247
374267
|
PreCompressTrigger2["Auto"] = "auto";
|
|
374248
374268
|
})(PreCompressTrigger || (PreCompressTrigger = {}));
|
|
374249
374269
|
|
|
374270
|
+
// packages/core/dist/src/utils/stdio.js
|
|
374271
|
+
init_events();
|
|
374272
|
+
var originalStdoutWrite = process.stdout.write.bind(process.stdout);
|
|
374273
|
+
var originalStderrWrite = process.stderr.write.bind(process.stderr);
|
|
374274
|
+
|
|
374250
374275
|
// packages/core/dist/index.js
|
|
374251
374276
|
init_keychain_token_storage();
|
|
374252
374277
|
|