@google/gemini-cli-a2a-server 0.33.0-preview.1 → 0.33.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 +9 -9
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/a2a-server.mjs
CHANGED
|
@@ -129762,7 +129762,7 @@ async function initOauthClient(authType, config3) {
|
|
|
129762
129762
|
}
|
|
129763
129763
|
await triggerPostAuthCallbacks(client.credentials);
|
|
129764
129764
|
} else {
|
|
129765
|
-
if (!config3.
|
|
129765
|
+
if (!config3.getAcpMode()) {
|
|
129766
129766
|
const userConsent = await getConsentForOauth("");
|
|
129767
129767
|
if (!userConsent) {
|
|
129768
129768
|
throw new FatalCancellationError("Authentication cancelled by user.");
|
|
@@ -214180,8 +214180,8 @@ var GIT_COMMIT_INFO, CLI_VERSION;
|
|
|
214180
214180
|
var init_git_commit = __esm({
|
|
214181
214181
|
"packages/core/dist/src/generated/git-commit.js"() {
|
|
214182
214182
|
"use strict";
|
|
214183
|
-
GIT_COMMIT_INFO = "
|
|
214184
|
-
CLI_VERSION = "0.33.0-preview.
|
|
214183
|
+
GIT_COMMIT_INFO = "03a8fc311";
|
|
214184
|
+
CLI_VERSION = "0.33.0-preview.3";
|
|
214185
214185
|
}
|
|
214186
214186
|
});
|
|
214187
214187
|
|
|
@@ -291439,7 +291439,7 @@ function getVersion() {
|
|
|
291439
291439
|
}
|
|
291440
291440
|
versionPromise = (async () => {
|
|
291441
291441
|
const pkgJson = await getPackageJson(__dirname3);
|
|
291442
|
-
return "0.33.0-preview.
|
|
291442
|
+
return "0.33.0-preview.3";
|
|
291443
291443
|
})();
|
|
291444
291444
|
return versionPromise;
|
|
291445
291445
|
}
|
|
@@ -419017,7 +419017,7 @@ var init_config4 = __esm({
|
|
|
419017
419017
|
}
|
|
419018
419018
|
}
|
|
419019
419019
|
summarizeToolOutput;
|
|
419020
|
-
|
|
419020
|
+
acpMode = false;
|
|
419021
419021
|
loadMemoryFromIncludeDirectories = false;
|
|
419022
419022
|
includeDirectoryTree = true;
|
|
419023
419023
|
importFormat;
|
|
@@ -419171,7 +419171,7 @@ var init_config4 = __esm({
|
|
|
419171
419171
|
protectLatestTurn: params.toolOutputMasking?.protectLatestTurn ?? DEFAULT_PROTECT_LATEST_TURN
|
|
419172
419172
|
};
|
|
419173
419173
|
this.maxSessionTurns = params.maxSessionTurns ?? -1;
|
|
419174
|
-
this.
|
|
419174
|
+
this.acpMode = params.acpMode ?? false;
|
|
419175
419175
|
this.listSessions = params.listSessions ?? false;
|
|
419176
419176
|
this.deleteSession = params.deleteSession;
|
|
419177
419177
|
this.listExtensions = params.listExtensions ?? false;
|
|
@@ -419349,7 +419349,7 @@ var init_config4 = __esm({
|
|
|
419349
419349
|
}
|
|
419350
419350
|
}
|
|
419351
419351
|
});
|
|
419352
|
-
if (!this.interactive || this.
|
|
419352
|
+
if (!this.interactive || this.acpMode) {
|
|
419353
419353
|
await this.mcpInitializationPromise;
|
|
419354
419354
|
}
|
|
419355
419355
|
if (this.skillsSupport) {
|
|
@@ -420067,8 +420067,8 @@ var init_config4 = __esm({
|
|
|
420067
420067
|
getUsageStatisticsEnabled() {
|
|
420068
420068
|
return this.usageStatisticsEnabled;
|
|
420069
420069
|
}
|
|
420070
|
-
|
|
420071
|
-
return this.
|
|
420070
|
+
getAcpMode() {
|
|
420071
|
+
return this.acpMode;
|
|
420072
420072
|
}
|
|
420073
420073
|
async waitForMcpInit() {
|
|
420074
420074
|
if (this.mcpInitializationPromise) {
|