@google/gemini-cli-a2a-server 0.21.0-preview.0 → 0.21.0-preview.2
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 +5 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/a2a-server.mjs
CHANGED
|
@@ -311908,8 +311908,8 @@ var Float64Vector = import_vector.default.Float64Vector;
|
|
|
311908
311908
|
var PointerVector = import_vector.default.PointerVector;
|
|
311909
311909
|
|
|
311910
311910
|
// packages/core/dist/src/generated/git-commit.js
|
|
311911
|
-
var GIT_COMMIT_INFO = "
|
|
311912
|
-
var CLI_VERSION = "0.21.0-preview.
|
|
311911
|
+
var GIT_COMMIT_INFO = "d9e79331e";
|
|
311912
|
+
var CLI_VERSION = "0.21.0-preview.2";
|
|
311913
311913
|
|
|
311914
311914
|
// packages/core/dist/src/ide/detect-ide.js
|
|
311915
311915
|
var IDE_DEFINITIONS = {
|
|
@@ -315094,7 +315094,7 @@ async function createContentGenerator(config3, gcConfig, sessionId2) {
|
|
|
315094
315094
|
if (gcConfig.fakeResponses) {
|
|
315095
315095
|
return FakeContentGenerator.fromFile(gcConfig.fakeResponses);
|
|
315096
315096
|
}
|
|
315097
|
-
const version4 = "0.21.0-preview.
|
|
315097
|
+
const version4 = "0.21.0-preview.2";
|
|
315098
315098
|
const customHeadersEnv = process.env["GEMINI_CLI_CUSTOM_HEADERS"] || void 0;
|
|
315099
315099
|
const userAgent = `GeminiCLI/${version4} (${process.platform}; ${process.arch})`;
|
|
315100
315100
|
const customHeadersMap = parseCustomHeaders(customHeadersEnv);
|
|
@@ -351489,9 +351489,7 @@ var IdeClient = class _IdeClient {
|
|
|
351489
351489
|
}
|
|
351490
351490
|
this.setState(IDEConnectionStatus.Connecting);
|
|
351491
351491
|
this.connectionConfig = await this.getConnectionConfigFromFile();
|
|
351492
|
-
|
|
351493
|
-
this.authToken = this.connectionConfig.authToken;
|
|
351494
|
-
}
|
|
351492
|
+
this.authToken = this.connectionConfig?.authToken ?? process.env["GEMINI_CLI_IDE_AUTH_TOKEN"];
|
|
351495
351493
|
const workspacePath = this.connectionConfig?.workspacePath ?? process.env["GEMINI_CLI_IDE_WORKSPACE_PATH"];
|
|
351496
351494
|
const { isValid: isValid2, error: error2 } = _IdeClient.validateWorkspacePath(workspacePath, process.cwd());
|
|
351497
351495
|
if (!isValid2) {
|
|
@@ -382144,7 +382142,7 @@ async function getClientMetadata() {
|
|
|
382144
382142
|
clientMetadataPromise = (async () => ({
|
|
382145
382143
|
ideName: "IDE_UNSPECIFIED",
|
|
382146
382144
|
pluginType: "GEMINI",
|
|
382147
|
-
ideVersion: "0.21.0-preview.
|
|
382145
|
+
ideVersion: "0.21.0-preview.2",
|
|
382148
382146
|
platform: getPlatform(),
|
|
382149
382147
|
updateChannel: await getReleaseChannel(__dirname5)
|
|
382150
382148
|
}))();
|