@google/gemini-cli 0.52.0-nightly.20260716.g3ff5ba20f → 0.52.0-preview.0
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/bundle/{chunk-KR3Y6ULI.js → chunk-2JOVER4Y.js} +1 -1
- package/bundle/{chunk-RFKYS6GC.js → chunk-4POBROII.js} +1 -1
- package/bundle/{chunk-AW5VYM4N.js → chunk-4PY4INPX.js} +2 -2
- package/bundle/{chunk-7YJAETEC.js → chunk-6QIR5QWV.js} +7 -7
- package/bundle/{chunk-T5R7RAR4.js → chunk-73WMB3MX.js} +7 -7
- package/bundle/{chunk-FZGHQAXE.js → chunk-7DP44OLX.js} +2 -2
- package/bundle/{chunk-NTFNMRJ5.js → chunk-A2UAPUDF.js} +1 -1
- package/bundle/{chunk-GWRKDFMA.js → chunk-BTPQ2MQ6.js} +54 -67
- package/bundle/{chunk-GZJ7ELDH.js → chunk-G4YQC4AV.js} +1 -1
- package/bundle/{chunk-2TCOHRKN.js → chunk-G5GKJ24J.js} +1 -1
- package/bundle/{chunk-EID2MW5F.js → chunk-GT4ZUA5O.js} +1 -1
- package/bundle/{chunk-ILGTSP4J.js → chunk-H4QBAJVE.js} +3 -28
- package/bundle/{chunk-C2V7KHQ5.js → chunk-JIZMX5VA.js} +1 -1
- package/bundle/{chunk-Q6Y2U56L.js → chunk-LXIJXSLZ.js} +2 -2
- package/bundle/{chunk-M4ZFYU42.js → chunk-NA3AQERF.js} +5 -30
- package/bundle/{chunk-I4SARA3Z.js → chunk-NX6KSZP7.js} +5 -8
- package/bundle/{chunk-T4EFCRAL.js → chunk-PK356GGP.js} +1 -1
- package/bundle/{chunk-MW5MBQA4.js → chunk-PVW3N4AH.js} +14200 -7627
- package/bundle/{chunk-JVRAZDBE.js → chunk-QPWNOZZA.js} +8 -9
- package/bundle/{chunk-L5JVMKDZ.js → chunk-QWB2NQDU.js} +3 -3
- package/bundle/{chunk-IQM4FCIC.js → chunk-RBAJ4USN.js} +1 -1
- package/bundle/{chunk-32EGMLV5.js → chunk-SO3OO5YC.js} +3 -3
- package/bundle/{chunk-YO7EAKFY.js → chunk-TKB33QSB.js} +1 -1
- package/bundle/{chunk-4ACETVXI.js → chunk-URY5Z7OD.js} +3 -3
- package/bundle/{cleanup-2P7KAN6I.js → cleanup-CNR4RPBP.js} +2 -2
- package/bundle/{cleanup-4K4LDXZY.js → cleanup-UVL5TK4S.js} +2 -2
- package/bundle/{cleanup-K23UNSMR.js → cleanup-YMN2TL6U.js} +2 -2
- package/bundle/{core-IJ5ID2HP.js → core-3UX5OSS4.js} +1 -3
- package/bundle/{dist-AQF22LBA.js → core-KZ4XRQQ6.js} +1 -3
- package/bundle/{devtoolsService-BT46PTKH.js → devtoolsService-7TGRNOVV.js} +2 -2
- package/bundle/{devtoolsService-3HI53L7M.js → devtoolsService-PFO3BZC7.js} +2 -2
- package/bundle/{devtoolsService-IV4QWNBG.js → devtoolsService-SDOVVX7E.js} +3 -4
- package/bundle/{dist-LTRDVH3W.js → dist-SEFVUQID.js} +1 -3
- package/bundle/{gemini-KAK2W3J5.js → gemini-BPKBGO4O.js} +196 -212
- package/bundle/{gemini-CIIBHZ4A.js → gemini-IR6EZI53.js} +13 -13
- package/bundle/{gemini-6IUIQKXP.js → gemini-PV3DL2IX.js} +14 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-J2TSZUH2.js → interactiveCli-A6PVVEMY.js} +8 -8
- package/bundle/{interactiveCli-3FJJLCPV.js → interactiveCli-JYC6ZXT3.js} +8 -8
- package/bundle/{interactiveCli-7QMAIWTW.js → interactiveCli-QLXRE74K.js} +296 -315
- package/bundle/{liteRtServerManager-3TDOLHO5.js → liteRtServerManager-EMYCURQC.js} +4 -4
- package/bundle/{liteRtServerManager-MY4WHXJR.js → liteRtServerManager-GH4QSUW6.js} +4 -4
- package/bundle/{liteRtServerManager-OXWDRPI2.js → liteRtServerManager-UZTNT425.js} +4 -4
- package/bundle/{oauth2-provider-BWZ5UDHA.js → oauth2-provider-2U3SDH5S.js} +1 -1
- package/bundle/{oauth2-provider-QAJYKPYH.js → oauth2-provider-NHVNIDFT.js} +72 -38
- package/bundle/{oauth2-provider-3DT3LXH5.js → oauth2-provider-NZYJE7VU.js} +1 -1
- package/bundle/{start-5RWHJAEN.js → start-52AYSDXT.js} +6 -6
- package/bundle/{start-GZ77CJYC.js → start-GDRL6IAP.js} +6 -6
- package/bundle/{start-IARRGXYK.js → start-YXVG22DK.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-3OMKAVBL.js +0 -512
- package/bundle/chunk-44TAURWH.js +0 -396836
- package/bundle/chunk-6QLHZR7Q.js +0 -154
- package/bundle/chunk-ILIABREN.js +0 -398
- package/bundle/chunk-NOPZO6Y5.js +0 -102505
- package/bundle/chunk-OP55GAAF.js +0 -17332
- package/bundle/chunk-TOBHUYW6.js +0 -1571
- package/bundle/chunk-WNVWVLDR.js +0 -118
- package/bundle/cleanup-NSRYA3HW.js +0 -32
- package/bundle/devtoolsService-TTL652QQ.js +0 -4359
- package/bundle/dist-UTTZDLAL.js +0 -2154
- package/bundle/gemini-RCKRTOM7.js +0 -16427
- package/bundle/interactiveCli-GZ2DPMTK.js +0 -34816
- package/bundle/liteRtServerManager-WZU35QVR.js +0 -65
- package/bundle/oauth2-provider-TU2K6OF4.js +0 -235
- package/bundle/start-UJARM2RC.js +0 -18
|
@@ -282727,7 +282727,7 @@ function isValidToolName(name3, options = {}) {
|
|
|
282727
282727
|
}
|
|
282728
282728
|
|
|
282729
282729
|
// packages/core/src/generated/git-commit.ts
|
|
282730
|
-
var GIT_COMMIT_INFO = "
|
|
282730
|
+
var GIT_COMMIT_INFO = "1ae8ba649";
|
|
282731
282731
|
var CLI_VERSION = "0.52.0-nightly.20260715.gfa975395b";
|
|
282732
282732
|
|
|
282733
282733
|
// packages/core/src/ide/detect-ide.ts
|
|
@@ -332786,8 +332786,7 @@ var GeminiChat = class {
|
|
|
332786
332786
|
return binaryParts.length > 0 ? binaryParts : void 0;
|
|
332787
332787
|
}
|
|
332788
332788
|
async makeApiCallAndProcessStream(modelConfigKey, requestHistory, prompt_id, abortSignal, role, apiHistoryOverride) {
|
|
332789
|
-
|
|
332790
|
-
scrubbedHistory = coalesceConsecutiveRoles(scrubbedHistory);
|
|
332789
|
+
const scrubbedHistory = this.context.config.isContextManagementEnabled() ? scrubHistory([...requestHistory]) : [...requestHistory];
|
|
332791
332790
|
const scrubbedContents = scrubbedHistory.map((h2) => h2.content);
|
|
332792
332791
|
const requestContents = apiHistoryOverride ? scrubContents(apiHistoryOverride) : scrubbedContents;
|
|
332793
332792
|
const contentsForPreviewModel = this.ensureActiveLoopHasThoughtSignatures(requestContents);
|
|
@@ -333389,29 +333388,6 @@ function stripToolCallIdPrefixes(contents) {
|
|
|
333389
333388
|
})
|
|
333390
333389
|
}));
|
|
333391
333390
|
}
|
|
333392
|
-
function coalesceConsecutiveRoles(history) {
|
|
333393
|
-
const result2 = [];
|
|
333394
|
-
for (const turn of history) {
|
|
333395
|
-
const lastIdx = result2.length - 1;
|
|
333396
|
-
const last2 = result2[lastIdx];
|
|
333397
|
-
if (last2 && last2.content.role && last2.content.role === turn.content.role) {
|
|
333398
|
-
const hasParts = last2.content.parts || turn.content.parts;
|
|
333399
|
-
result2[lastIdx] = {
|
|
333400
|
-
id: last2.id,
|
|
333401
|
-
content: {
|
|
333402
|
-
...last2.content,
|
|
333403
|
-
parts: hasParts ? [...last2.content.parts || [], ...turn.content.parts || []] : void 0
|
|
333404
|
-
}
|
|
333405
|
-
};
|
|
333406
|
-
} else {
|
|
333407
|
-
result2.push({
|
|
333408
|
-
id: turn.id,
|
|
333409
|
-
content: { ...turn.content }
|
|
333410
|
-
});
|
|
333411
|
-
}
|
|
333412
|
-
}
|
|
333413
|
-
return result2;
|
|
333414
|
-
}
|
|
333415
333391
|
|
|
333416
333392
|
// packages/core/src/utils/ragLogger.ts
|
|
333417
333393
|
import * as fs50 from "node:fs";
|
|
@@ -340827,7 +340803,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
340827
340803
|
return provider;
|
|
340828
340804
|
}
|
|
340829
340805
|
case "oauth2": {
|
|
340830
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
340806
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-NHVNIDFT.js");
|
|
340831
340807
|
const provider = new OAuth2AuthProvider(
|
|
340832
340808
|
authConfig,
|
|
340833
340809
|
options.agentName ?? "unknown",
|
|
@@ -402473,7 +402449,6 @@ export {
|
|
|
402473
402449
|
isSchemaDepthError,
|
|
402474
402450
|
isInvalidArgumentError,
|
|
402475
402451
|
stripToolCallIdPrefixes,
|
|
402476
|
-
coalesceConsecutiveRoles,
|
|
402477
402452
|
populateToolDisplay,
|
|
402478
402453
|
toolResultDisplayToDisplayContent,
|
|
402479
402454
|
renderDisplayDiff,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TKB33QSB.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NA3AQERF.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -282465,8 +282465,8 @@ function isValidToolName(name3, options = {}) {
|
|
|
282465
282465
|
}
|
|
282466
282466
|
|
|
282467
282467
|
// packages/core/dist/src/generated/git-commit.js
|
|
282468
|
-
var GIT_COMMIT_INFO = "
|
|
282469
|
-
var CLI_VERSION = "0.52.0-
|
|
282468
|
+
var GIT_COMMIT_INFO = "1ae8ba649";
|
|
282469
|
+
var CLI_VERSION = "0.52.0-preview.0";
|
|
282470
282470
|
|
|
282471
282471
|
// packages/core/dist/src/ide/detect-ide.js
|
|
282472
282472
|
var IDE_DEFINITIONS = {
|
|
@@ -305643,7 +305643,7 @@ function getVersion() {
|
|
|
305643
305643
|
}
|
|
305644
305644
|
versionPromise = (async () => {
|
|
305645
305645
|
const pkgJson = await getPackageJson(__dirname4);
|
|
305646
|
-
return "0.52.0-
|
|
305646
|
+
return "0.52.0-preview.0";
|
|
305647
305647
|
})();
|
|
305648
305648
|
return versionPromise;
|
|
305649
305649
|
}
|
|
@@ -330526,8 +330526,7 @@ var GeminiChat = class {
|
|
|
330526
330526
|
return binaryParts.length > 0 ? binaryParts : void 0;
|
|
330527
330527
|
}
|
|
330528
330528
|
async makeApiCallAndProcessStream(modelConfigKey, requestHistory, prompt_id, abortSignal, role, apiHistoryOverride) {
|
|
330529
|
-
|
|
330530
|
-
scrubbedHistory = coalesceConsecutiveRoles(scrubbedHistory);
|
|
330529
|
+
const scrubbedHistory = this.context.config.isContextManagementEnabled() ? scrubHistory([...requestHistory]) : [...requestHistory];
|
|
330531
330530
|
const scrubbedContents = scrubbedHistory.map((h2) => h2.content);
|
|
330532
330531
|
const requestContents = apiHistoryOverride ? scrubContents(apiHistoryOverride) : scrubbedContents;
|
|
330533
330532
|
const contentsForPreviewModel = this.ensureActiveLoopHasThoughtSignatures(requestContents);
|
|
@@ -331047,29 +331046,6 @@ function stripToolCallIdPrefixes(contents) {
|
|
|
331047
331046
|
})
|
|
331048
331047
|
}));
|
|
331049
331048
|
}
|
|
331050
|
-
function coalesceConsecutiveRoles(history) {
|
|
331051
|
-
const result2 = [];
|
|
331052
|
-
for (const turn of history) {
|
|
331053
|
-
const lastIdx = result2.length - 1;
|
|
331054
|
-
const last2 = result2[lastIdx];
|
|
331055
|
-
if (last2 && last2.content.role && last2.content.role === turn.content.role) {
|
|
331056
|
-
const hasParts = last2.content.parts || turn.content.parts;
|
|
331057
|
-
result2[lastIdx] = {
|
|
331058
|
-
id: last2.id,
|
|
331059
|
-
content: {
|
|
331060
|
-
...last2.content,
|
|
331061
|
-
parts: hasParts ? [...last2.content.parts || [], ...turn.content.parts || []] : void 0
|
|
331062
|
-
}
|
|
331063
|
-
};
|
|
331064
|
-
} else {
|
|
331065
|
-
result2.push({
|
|
331066
|
-
id: turn.id,
|
|
331067
|
-
content: { ...turn.content }
|
|
331068
|
-
});
|
|
331069
|
-
}
|
|
331070
|
-
}
|
|
331071
|
-
return result2;
|
|
331072
|
-
}
|
|
331073
331049
|
|
|
331074
331050
|
// packages/core/dist/src/utils/ragLogger.js
|
|
331075
331051
|
import * as fs50 from "node:fs";
|
|
@@ -338197,7 +338173,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
338197
338173
|
return provider;
|
|
338198
338174
|
}
|
|
338199
338175
|
case "oauth2": {
|
|
338200
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
338176
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-NZYJE7VU.js");
|
|
338201
338177
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
338202
338178
|
await provider.initialize();
|
|
338203
338179
|
return provider;
|
|
@@ -395875,7 +395851,6 @@ export {
|
|
|
395875
395851
|
isSchemaDepthError,
|
|
395876
395852
|
isInvalidArgumentError,
|
|
395877
395853
|
stripToolCallIdPrefixes,
|
|
395878
|
-
coalesceConsecutiveRoles,
|
|
395879
395854
|
populateToolDisplay,
|
|
395880
395855
|
toolResultDisplayToDisplayContent,
|
|
395881
395856
|
renderDisplayDiff,
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
AuthProviderType,
|
|
4
|
-
AuthType,
|
|
5
|
-
CoreEvent,
|
|
6
|
-
CoreToolCallStatus,
|
|
7
4
|
DEFAULT_MODEL_CONFIGS,
|
|
8
5
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
9
6
|
EDITOR_OPTIONS,
|
|
@@ -31,7 +28,7 @@ import {
|
|
|
31
28
|
partListUnionToString,
|
|
32
29
|
require_strip_json_comments,
|
|
33
30
|
sanitizeFilenamePart
|
|
34
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PVW3N4AH.js";
|
|
35
32
|
import {
|
|
36
33
|
__commonJS,
|
|
37
34
|
__require,
|
|
@@ -10228,7 +10225,7 @@ function convertSessionToHistoryFormats(messages) {
|
|
|
10228
10225
|
args: tool.args,
|
|
10229
10226
|
description: tool.description || "",
|
|
10230
10227
|
renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
|
|
10231
|
-
status: tool.status === "success" ?
|
|
10228
|
+
status: tool.status === "success" ? "success" /* Success */ : "error" /* Error */,
|
|
10232
10229
|
resultDisplay: tool.resultDisplay,
|
|
10233
10230
|
confirmationDetails: void 0
|
|
10234
10231
|
}))
|
|
@@ -16292,8 +16289,8 @@ var LoadedSettings = class {
|
|
|
16292
16289
|
// React will pass a listener fn into this subscribe fn
|
|
16293
16290
|
// that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
|
|
16294
16291
|
subscribe(listener) {
|
|
16295
|
-
coreEvents.on(
|
|
16296
|
-
return () => coreEvents.off(
|
|
16292
|
+
coreEvents.on("settings-changed" /* SettingsChanged */, listener);
|
|
16293
|
+
return () => coreEvents.off("settings-changed" /* SettingsChanged */, listener);
|
|
16297
16294
|
}
|
|
16298
16295
|
getSnapshot() {
|
|
16299
16296
|
return this._snapshot;
|
|
@@ -16437,7 +16434,7 @@ function setUpCloudShellEnvironment(envFilePath, isTrusted, isSandboxed, selecte
|
|
|
16437
16434
|
}
|
|
16438
16435
|
}
|
|
16439
16436
|
let value = "cloudshell-gca";
|
|
16440
|
-
if (selectedAuthType ===
|
|
16437
|
+
if (selectedAuthType === "vertex-ai" /* USE_VERTEX_AI */) {
|
|
16441
16438
|
value = process2.env[USER_GCP_PROJECT];
|
|
16442
16439
|
}
|
|
16443
16440
|
if (envFilePath && fs4.existsSync(envFilePath)) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G5GKJ24J.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|