@google/gemini-cli-a2a-server 0.50.0-preview.1 → 0.51.0-nightly.20260626.gb14416447
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 +13 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/a2a-server.mjs
CHANGED
|
@@ -216138,8 +216138,8 @@ var GIT_COMMIT_INFO, CLI_VERSION;
|
|
|
216138
216138
|
var init_git_commit = __esm({
|
|
216139
216139
|
"packages/core/dist/src/generated/git-commit.js"() {
|
|
216140
216140
|
"use strict";
|
|
216141
|
-
GIT_COMMIT_INFO = "
|
|
216142
|
-
CLI_VERSION = "0.
|
|
216141
|
+
GIT_COMMIT_INFO = "b14416447";
|
|
216142
|
+
CLI_VERSION = "0.51.0-nightly.20260626.gb14416447";
|
|
216143
216143
|
}
|
|
216144
216144
|
});
|
|
216145
216145
|
|
|
@@ -326055,7 +326055,7 @@ function getVersion() {
|
|
|
326055
326055
|
}
|
|
326056
326056
|
versionPromise = (async () => {
|
|
326057
326057
|
const pkgJson = await getPackageJson(__dirname4);
|
|
326058
|
-
return "0.
|
|
326058
|
+
return "0.51.0-nightly.20260626.gb14416447";
|
|
326059
326059
|
})();
|
|
326060
326060
|
return versionPromise;
|
|
326061
326061
|
}
|
|
@@ -331298,6 +331298,13 @@ async function createContentGenerator(config3, gcConfig, sessionId) {
|
|
|
331298
331298
|
if (envBaseUrl) {
|
|
331299
331299
|
validateBaseUrl(envBaseUrl);
|
|
331300
331300
|
baseUrl = envBaseUrl;
|
|
331301
|
+
} else if (config3.authType === AuthType2.USE_VERTEX_AI) {
|
|
331302
|
+
const location = process.env["GOOGLE_CLOUD_LOCATION"];
|
|
331303
|
+
if (location === "us") {
|
|
331304
|
+
baseUrl = VERTEX_AI_US_REP_ENDPOINT;
|
|
331305
|
+
} else if (location === "eu") {
|
|
331306
|
+
baseUrl = VERTEX_AI_EU_REP_ENDPOINT;
|
|
331307
|
+
}
|
|
331301
331308
|
}
|
|
331302
331309
|
} else {
|
|
331303
331310
|
validateBaseUrl(baseUrl);
|
|
@@ -331337,7 +331344,7 @@ async function createContentGenerator(config3, gcConfig, sessionId) {
|
|
|
331337
331344
|
}
|
|
331338
331345
|
return generator;
|
|
331339
331346
|
}
|
|
331340
|
-
var import_http_proxy_agent, import_https_proxy_agent2, AuthType2, VERTEX_AI_REQUEST_TYPE_HEADER, VERTEX_AI_SHARED_REQUEST_TYPE_HEADER;
|
|
331347
|
+
var import_http_proxy_agent, import_https_proxy_agent2, AuthType2, VERTEX_AI_REQUEST_TYPE_HEADER, VERTEX_AI_SHARED_REQUEST_TYPE_HEADER, VERTEX_AI_US_REP_ENDPOINT, VERTEX_AI_EU_REP_ENDPOINT;
|
|
331341
331348
|
var init_contentGenerator = __esm({
|
|
331342
331349
|
"packages/core/dist/src/core/contentGenerator.js"() {
|
|
331343
331350
|
"use strict";
|
|
@@ -331366,6 +331373,8 @@ var init_contentGenerator = __esm({
|
|
|
331366
331373
|
})(AuthType2 || (AuthType2 = {}));
|
|
331367
331374
|
VERTEX_AI_REQUEST_TYPE_HEADER = "X-Vertex-AI-LLM-Request-Type";
|
|
331368
331375
|
VERTEX_AI_SHARED_REQUEST_TYPE_HEADER = "X-Vertex-AI-LLM-Shared-Request-Type";
|
|
331376
|
+
VERTEX_AI_US_REP_ENDPOINT = "https://aiplatform.us.rep.googleapis.com";
|
|
331377
|
+
VERTEX_AI_EU_REP_ENDPOINT = "https://aiplatform.eu.rep.googleapis.com";
|
|
331369
331378
|
}
|
|
331370
331379
|
});
|
|
331371
331380
|
|