@google/gemini-cli 0.44.0 → 0.45.0-nightly.20260528.g5cac7c10f
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-LM6XTSWQ.js → chunk-2H5DC5TA.js} +56 -2
- package/bundle/{chunk-CBT4PN4R.js → chunk-2RRZM3IR.js} +8 -8
- package/bundle/{chunk-FOOWNGAB.js → chunk-2SU33N7C.js} +1 -1
- package/bundle/{chunk-M3EDSAPV.js → chunk-4M3TG6ZU.js} +1 -1
- package/bundle/{chunk-TN4WXWFM.js → chunk-4TSRLQBZ.js} +3 -3
- package/bundle/{chunk-DALZZYPQ.js → chunk-767WVJKA.js} +1 -1
- package/bundle/{chunk-EKUU3KNX.js → chunk-B4GDSUR2.js} +1 -1
- package/bundle/{chunk-SIXPHUVZ.js → chunk-CWAXEILN.js} +423 -330
- package/bundle/{chunk-BE42OOYM.js → chunk-FBTNPKPG.js} +377 -297
- package/bundle/{chunk-3K52543M.js → chunk-GIXFMPPJ.js} +56 -2
- package/bundle/{chunk-TW47A6FW.js → chunk-GTQYFINA.js} +7827 -14242
- package/bundle/{chunk-6W2Z7FTE.js → chunk-HJCI56HE.js} +3 -3
- package/bundle/{chunk-5CABHQOE.js → chunk-HTTFLYNV.js} +1 -1
- package/bundle/{chunk-BOYNQXWU.js → chunk-HYC42UG2.js} +2 -2
- package/bundle/{chunk-G2L4VCSN.js → chunk-HYJ253BF.js} +9 -8
- package/bundle/{chunk-VUERI7WB.js → chunk-KETVRR7F.js} +8 -8
- package/bundle/{chunk-7ZH745HC.js → chunk-LM7IUUPG.js} +63 -6
- package/bundle/{chunk-QUZ62PY7.js → chunk-LUQGJPIY.js} +2 -2
- package/bundle/{chunk-N4SGO3W6.js → chunk-MGXTB4U2.js} +2 -2
- package/bundle/{chunk-ONQVFEHS.js → chunk-OY6QYVTR.js} +1 -1
- package/bundle/{chunk-7KIX5G5D.js → chunk-Q3UZDZZV.js} +3 -3
- package/bundle/{chunk-OLBOCZ5F.js → chunk-RL3BAOLP.js} +68 -55
- package/bundle/{chunk-OTLI6LZ3.js → chunk-RLOHM32C.js} +1 -1
- package/bundle/chunk-VONINEZL.js +512 -0
- package/bundle/chunk-WE2NPYLF.js +17320 -0
- package/bundle/{chunk-XTG4JBIR.js → chunk-WPCNMQ6J.js} +1 -1
- package/bundle/chunk-XBD7NYQK.js +398 -0
- package/bundle/chunk-XLNVYLTH.js +1571 -0
- package/bundle/chunk-XVJGS2PV.js +81685 -0
- package/bundle/chunk-YP6T4TTR.js +118 -0
- package/bundle/chunk-ZAP2IAMA.js +394429 -0
- package/bundle/chunk-ZQZFTBJB.js +154 -0
- package/bundle/{cleanup-PDT5ATZB.js → cleanup-7FHLTEXT.js} +2 -2
- package/bundle/{cleanup-SF7XW2P3.js → cleanup-OC2VH2NM.js} +2 -2
- package/bundle/{cleanup-UW3DZLXP.js → cleanup-QAYOZSYG.js} +2 -2
- package/bundle/cleanup-RSDKY26B.js +32 -0
- package/bundle/{core-LN2S4IOX.js → core-LD6MHGD6.js} +3 -7
- package/bundle/{devtoolsService-DUEWJW52.js → devtoolsService-4Y2RGEUE.js} +2 -2
- package/bundle/{devtoolsService-64QE2V7E.js → devtoolsService-72PYXNY7.js} +2 -2
- package/bundle/{devtoolsService-ZC7E4R2A.js → devtoolsService-A7GGCE5S.js} +4 -3
- package/bundle/devtoolsService-W6D2CBSD.js +856 -0
- package/bundle/{dist-J4RONYVV.js → dist-AWZHVQVU.js} +3 -7
- package/bundle/{core-GW6VAL53.js → dist-JIEO7BGB.js} +3 -7
- package/bundle/dist-NIOYWUBZ.js +2134 -0
- package/bundle/docs/changelogs/index.md +15 -0
- package/bundle/docs/changelogs/latest.md +198 -262
- package/bundle/docs/changelogs/preview.md +202 -181
- package/bundle/docs/reference/configuration.md +24 -29
- package/bundle/{gemini-SSQIKHR2.js → gemini-5BI3CAHU.js} +41 -30
- package/bundle/{gemini-CSPRLMWN.js → gemini-5ZI322FJ.js} +41 -30
- package/bundle/{gemini-CMBH5YG6.js → gemini-VGWW5S4X.js} +239 -212
- package/bundle/gemini-WNFLKYIG.js +16406 -0
- package/bundle/gemini.js +15 -10
- package/bundle/{interactiveCli-RDMZS6KL.js → interactiveCli-HERACVWI.js} +34 -58
- package/bundle/{interactiveCli-Q2A2JFLA.js → interactiveCli-MK4KMRE5.js} +340 -345
- package/bundle/interactiveCli-MV4UI2QW.js +34726 -0
- package/bundle/{interactiveCli-TOEU7LIO.js → interactiveCli-XM5HDVD7.js} +34 -58
- package/bundle/{liteRtServerManager-ASKAVAO7.js → liteRtServerManager-6ABLEPRZ.js} +4 -4
- package/bundle/{liteRtServerManager-6BWTXMUI.js → liteRtServerManager-6N5DYDEQ.js} +4 -4
- package/bundle/{liteRtServerManager-ZS3BCW53.js → liteRtServerManager-PCEFUKXR.js} +4 -4
- package/bundle/liteRtServerManager-PRFP3VM3.js +65 -0
- package/bundle/{oauth2-provider-SYRZDGL5.js → oauth2-provider-RHC4TM2M.js} +1 -1
- package/bundle/{oauth2-provider-7JOVY727.js → oauth2-provider-S3GQDX6M.js} +38 -72
- package/bundle/{oauth2-provider-FGI6QDEM.js → oauth2-provider-WS7LUQ5V.js} +1 -1
- package/bundle/oauth2-provider-YDSFC443.js +235 -0
- package/bundle/{start-KJCIH3GX.js → start-6J7J6MU3.js} +6 -6
- package/bundle/{start-TU5WNP77.js → start-SVVJOUJH.js} +6 -6
- package/bundle/{start-47OYCVVA.js → start-XLIGOOW3.js} +6 -6
- package/bundle/start-Z3RQJJU3.js +18 -0
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
require_strip_json_comments,
|
|
30
30
|
sanitizeFilenamePart,
|
|
31
31
|
stripAnsi
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CWAXEILN.js";
|
|
33
33
|
import {
|
|
34
34
|
__commonJS,
|
|
35
35
|
__require,
|
|
@@ -10176,7 +10176,11 @@ function convertSessionToHistoryFormats(messages) {
|
|
|
10176
10176
|
const displayContentString = msg.displayContent ? partListUnionToString(msg.displayContent) : void 0;
|
|
10177
10177
|
const contentString = partListUnionToString(msg.content);
|
|
10178
10178
|
const uiText = displayContentString || contentString;
|
|
10179
|
-
|
|
10179
|
+
const trimmedText = uiText.trim();
|
|
10180
|
+
if (trimmedText.startsWith("<session_context>") || trimmedText.startsWith("<hook_context>")) {
|
|
10181
|
+
continue;
|
|
10182
|
+
}
|
|
10183
|
+
if (trimmedText) {
|
|
10180
10184
|
let messageType;
|
|
10181
10185
|
switch (msg.type) {
|
|
10182
10186
|
case "user":
|
|
@@ -14551,6 +14555,15 @@ var SETTINGS_SCHEMA = {
|
|
|
14551
14555
|
description: "Suitable for general coding and software development tasks.",
|
|
14552
14556
|
showInDialog: true
|
|
14553
14557
|
},
|
|
14558
|
+
powerUserProfile: {
|
|
14559
|
+
type: "boolean",
|
|
14560
|
+
label: "Use the power user profile to manage agent contexts.",
|
|
14561
|
+
category: "Experimental",
|
|
14562
|
+
requiresRestart: true,
|
|
14563
|
+
default: false,
|
|
14564
|
+
description: "Less cache friendly version of the generalist profile.",
|
|
14565
|
+
showInDialog: false
|
|
14566
|
+
},
|
|
14554
14567
|
contextManagement: {
|
|
14555
14568
|
type: "boolean",
|
|
14556
14569
|
label: "Enable Context Management",
|
|
@@ -16327,6 +16340,47 @@ var LoadedSettings = class {
|
|
|
16327
16340
|
this._remoteAdminSettings = { admin };
|
|
16328
16341
|
this._merged = this.computeMergedSettings();
|
|
16329
16342
|
}
|
|
16343
|
+
/**
|
|
16344
|
+
* Returns a consolidated list of excluded MCP servers across all settings files.
|
|
16345
|
+
*/
|
|
16346
|
+
getConsolidatedExcludedMcpServers() {
|
|
16347
|
+
const scopes = [
|
|
16348
|
+
this.system,
|
|
16349
|
+
this.systemDefaults,
|
|
16350
|
+
this.user,
|
|
16351
|
+
this.workspace
|
|
16352
|
+
];
|
|
16353
|
+
return scopes.flatMap((scope) => {
|
|
16354
|
+
const excluded = scope?.settings?.mcp?.excluded;
|
|
16355
|
+
return Array.isArray(excluded) ? excluded : [];
|
|
16356
|
+
});
|
|
16357
|
+
}
|
|
16358
|
+
/**
|
|
16359
|
+
* Returns a consolidated list of allowed MCP servers (via intersection of all defined lists).
|
|
16360
|
+
*/
|
|
16361
|
+
getConsolidatedAllowedMcpServers() {
|
|
16362
|
+
const scopes = [
|
|
16363
|
+
this.system,
|
|
16364
|
+
this.systemDefaults,
|
|
16365
|
+
this.user,
|
|
16366
|
+
this.workspace
|
|
16367
|
+
];
|
|
16368
|
+
const definedAllowlists = scopes.flatMap((scope) => {
|
|
16369
|
+
const allowed = scope?.settings?.mcp?.allowed;
|
|
16370
|
+
return Array.isArray(allowed) ? [allowed] : [];
|
|
16371
|
+
});
|
|
16372
|
+
if (definedAllowlists.length === 0) {
|
|
16373
|
+
return void 0;
|
|
16374
|
+
}
|
|
16375
|
+
return definedAllowlists.reduce((acc, current) => {
|
|
16376
|
+
const normalizedCurrent = new Set(
|
|
16377
|
+
current.map((item) => item.toLowerCase().trim())
|
|
16378
|
+
);
|
|
16379
|
+
return acc.filter(
|
|
16380
|
+
(item) => normalizedCurrent.has(item.toLowerCase().trim())
|
|
16381
|
+
);
|
|
16382
|
+
});
|
|
16383
|
+
}
|
|
16330
16384
|
};
|
|
16331
16385
|
function findEnvFile(startDir, isTrusted, ignoreLocalEnv) {
|
|
16332
16386
|
let currentDir = path3.resolve(startDir);
|