@google/gemini-cli-a2a-server 0.12.0-preview.4 → 0.12.0-preview.6
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 -11
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/a2a-server.mjs
CHANGED
|
@@ -288967,8 +288967,8 @@ var Float64Vector = import_vector.default.Float64Vector;
|
|
|
288967
288967
|
var PointerVector = import_vector.default.PointerVector;
|
|
288968
288968
|
|
|
288969
288969
|
// packages/core/dist/src/generated/git-commit.js
|
|
288970
|
-
var GIT_COMMIT_INFO = "
|
|
288971
|
-
var CLI_VERSION = "0.12.0-preview.
|
|
288970
|
+
var GIT_COMMIT_INFO = "fe44afe8";
|
|
288971
|
+
var CLI_VERSION = "0.12.0-preview.6";
|
|
288972
288972
|
|
|
288973
288973
|
// packages/core/dist/src/ide/detect-ide.js
|
|
288974
288974
|
var IDE_DEFINITIONS = {
|
|
@@ -291688,7 +291688,7 @@ async function createContentGenerator(config2, gcConfig, sessionId2) {
|
|
|
291688
291688
|
if (gcConfig.fakeResponses) {
|
|
291689
291689
|
return FakeContentGenerator.fromFile(gcConfig.fakeResponses);
|
|
291690
291690
|
}
|
|
291691
|
-
const version3 = "0.12.0-preview.
|
|
291691
|
+
const version3 = "0.12.0-preview.6";
|
|
291692
291692
|
const userAgent = `GeminiCLI/${version3} (${process.platform}; ${process.arch})`;
|
|
291693
291693
|
const baseHeaders = {
|
|
291694
291694
|
"User-Agent": userAgent
|
|
@@ -341166,7 +341166,7 @@ var ChatCompressionService = class {
|
|
|
341166
341166
|
}
|
|
341167
341167
|
const originalTokenCount = uiTelemetryService.getLastPromptTokenCount();
|
|
341168
341168
|
if (!force) {
|
|
341169
|
-
const threshold = config2.
|
|
341169
|
+
const threshold = config2.getCompressionThreshold() ?? DEFAULT_COMPRESSION_TOKEN_THRESHOLD;
|
|
341170
341170
|
if (originalTokenCount < threshold * tokenLimit(model)) {
|
|
341171
341171
|
return {
|
|
341172
341172
|
newHistory: null,
|
|
@@ -349511,7 +349511,7 @@ var Config = class {
|
|
|
349511
349511
|
summarizeToolOutput;
|
|
349512
349512
|
experimentalZedIntegration = false;
|
|
349513
349513
|
loadMemoryFromIncludeDirectories = false;
|
|
349514
|
-
|
|
349514
|
+
compressionThreshold;
|
|
349515
349515
|
interactive;
|
|
349516
349516
|
ptyInfo;
|
|
349517
349517
|
trustedFolder;
|
|
@@ -349599,7 +349599,7 @@ var Config = class {
|
|
|
349599
349599
|
this.folderTrust = params.folderTrust ?? false;
|
|
349600
349600
|
this.ideMode = params.ideMode ?? false;
|
|
349601
349601
|
this.loadMemoryFromIncludeDirectories = params.loadMemoryFromIncludeDirectories ?? false;
|
|
349602
|
-
this.
|
|
349602
|
+
this.compressionThreshold = params.compressionThreshold;
|
|
349603
349603
|
this.interactive = params.interactive ?? false;
|
|
349604
349604
|
this.ptyInfo = params.ptyInfo ?? "child_process";
|
|
349605
349605
|
this.trustedFolder = params.trustedFolder;
|
|
@@ -349619,9 +349619,7 @@ var Config = class {
|
|
|
349619
349619
|
this.useWriteTodos = params.useWriteTodos ?? false;
|
|
349620
349620
|
this.initialUseModelRouter = params.useModelRouter ?? false;
|
|
349621
349621
|
this.useModelRouter = this.initialUseModelRouter;
|
|
349622
|
-
this.disableModelRouterForAuth = params.disableModelRouterForAuth ?? [
|
|
349623
|
-
AuthType2.LOGIN_WITH_GOOGLE
|
|
349624
|
-
];
|
|
349622
|
+
this.disableModelRouterForAuth = params.disableModelRouterForAuth ?? [];
|
|
349625
349623
|
this.enableMessageBusIntegration = params.enableMessageBusIntegration ?? false;
|
|
349626
349624
|
this.codebaseInvestigatorSettings = {
|
|
349627
349625
|
enabled: params.codebaseInvestigatorSettings?.enabled ?? false,
|
|
@@ -349983,8 +349981,8 @@ var Config = class {
|
|
|
349983
349981
|
setFileSystemService(fileSystemService) {
|
|
349984
349982
|
this.fileSystemService = fileSystemService;
|
|
349985
349983
|
}
|
|
349986
|
-
|
|
349987
|
-
return this.
|
|
349984
|
+
getCompressionThreshold() {
|
|
349985
|
+
return this.compressionThreshold;
|
|
349988
349986
|
}
|
|
349989
349987
|
isInteractiveShellEnabled() {
|
|
349990
349988
|
return this.interactive && this.ptyInfo !== "child_process" && this.enableInteractiveShell;
|