@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
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
require_strip_json_comments,
|
|
33
33
|
sanitizeFilenamePart,
|
|
34
34
|
stripAnsi
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ZAP2IAMA.js";
|
|
36
36
|
import {
|
|
37
37
|
__commonJS,
|
|
38
38
|
__require,
|
|
@@ -10179,7 +10179,11 @@ function convertSessionToHistoryFormats(messages) {
|
|
|
10179
10179
|
const displayContentString = msg.displayContent ? partListUnionToString(msg.displayContent) : void 0;
|
|
10180
10180
|
const contentString = partListUnionToString(msg.content);
|
|
10181
10181
|
const uiText = displayContentString || contentString;
|
|
10182
|
-
|
|
10182
|
+
const trimmedText = uiText.trim();
|
|
10183
|
+
if (trimmedText.startsWith("<session_context>") || trimmedText.startsWith("<hook_context>")) {
|
|
10184
|
+
continue;
|
|
10185
|
+
}
|
|
10186
|
+
if (trimmedText) {
|
|
10183
10187
|
let messageType;
|
|
10184
10188
|
switch (msg.type) {
|
|
10185
10189
|
case "user":
|
|
@@ -14554,6 +14558,15 @@ var SETTINGS_SCHEMA = {
|
|
|
14554
14558
|
description: "Suitable for general coding and software development tasks.",
|
|
14555
14559
|
showInDialog: true
|
|
14556
14560
|
},
|
|
14561
|
+
powerUserProfile: {
|
|
14562
|
+
type: "boolean",
|
|
14563
|
+
label: "Use the power user profile to manage agent contexts.",
|
|
14564
|
+
category: "Experimental",
|
|
14565
|
+
requiresRestart: true,
|
|
14566
|
+
default: false,
|
|
14567
|
+
description: "Less cache friendly version of the generalist profile.",
|
|
14568
|
+
showInDialog: false
|
|
14569
|
+
},
|
|
14557
14570
|
contextManagement: {
|
|
14558
14571
|
type: "boolean",
|
|
14559
14572
|
label: "Enable Context Management",
|
|
@@ -16330,6 +16343,47 @@ var LoadedSettings = class {
|
|
|
16330
16343
|
this._remoteAdminSettings = { admin };
|
|
16331
16344
|
this._merged = this.computeMergedSettings();
|
|
16332
16345
|
}
|
|
16346
|
+
/**
|
|
16347
|
+
* Returns a consolidated list of excluded MCP servers across all settings files.
|
|
16348
|
+
*/
|
|
16349
|
+
getConsolidatedExcludedMcpServers() {
|
|
16350
|
+
const scopes = [
|
|
16351
|
+
this.system,
|
|
16352
|
+
this.systemDefaults,
|
|
16353
|
+
this.user,
|
|
16354
|
+
this.workspace
|
|
16355
|
+
];
|
|
16356
|
+
return scopes.flatMap((scope) => {
|
|
16357
|
+
const excluded = scope?.settings?.mcp?.excluded;
|
|
16358
|
+
return Array.isArray(excluded) ? excluded : [];
|
|
16359
|
+
});
|
|
16360
|
+
}
|
|
16361
|
+
/**
|
|
16362
|
+
* Returns a consolidated list of allowed MCP servers (via intersection of all defined lists).
|
|
16363
|
+
*/
|
|
16364
|
+
getConsolidatedAllowedMcpServers() {
|
|
16365
|
+
const scopes = [
|
|
16366
|
+
this.system,
|
|
16367
|
+
this.systemDefaults,
|
|
16368
|
+
this.user,
|
|
16369
|
+
this.workspace
|
|
16370
|
+
];
|
|
16371
|
+
const definedAllowlists = scopes.flatMap((scope) => {
|
|
16372
|
+
const allowed = scope?.settings?.mcp?.allowed;
|
|
16373
|
+
return Array.isArray(allowed) ? [allowed] : [];
|
|
16374
|
+
});
|
|
16375
|
+
if (definedAllowlists.length === 0) {
|
|
16376
|
+
return void 0;
|
|
16377
|
+
}
|
|
16378
|
+
return definedAllowlists.reduce((acc, current) => {
|
|
16379
|
+
const normalizedCurrent = new Set(
|
|
16380
|
+
current.map((item) => item.toLowerCase().trim())
|
|
16381
|
+
);
|
|
16382
|
+
return acc.filter(
|
|
16383
|
+
(item) => normalizedCurrent.has(item.toLowerCase().trim())
|
|
16384
|
+
);
|
|
16385
|
+
});
|
|
16386
|
+
}
|
|
16333
16387
|
};
|
|
16334
16388
|
function findEnvFile(startDir, isTrusted, ignoreLocalEnv) {
|
|
16335
16389
|
let currentDir = path3.resolve(startDir);
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
exitCli,
|
|
8
8
|
require_source
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4M3TG6ZU.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_BACKGROUND_OPACITY,
|
|
12
12
|
DEFAULT_BORDER_OPACITY,
|
|
@@ -58,14 +58,14 @@ import {
|
|
|
58
58
|
stripUnsafeCharacters,
|
|
59
59
|
toCodePoints,
|
|
60
60
|
validateCustomTheme
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-GIXFMPPJ.js";
|
|
62
62
|
import {
|
|
63
63
|
isDevelopment
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-LUQGJPIY.js";
|
|
65
65
|
import {
|
|
66
66
|
emptyIcon,
|
|
67
67
|
require_react
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-WPCNMQ6J.js";
|
|
69
69
|
import {
|
|
70
70
|
ALL_EDITORS,
|
|
71
71
|
ApprovalMode,
|
|
@@ -230,7 +230,7 @@ import {
|
|
|
230
230
|
tokenLimit,
|
|
231
231
|
uiTelemetryService,
|
|
232
232
|
unescapePath
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-CWAXEILN.js";
|
|
234
234
|
import {
|
|
235
235
|
require_src
|
|
236
236
|
} from "./chunk-TUDYL3X4.js";
|
|
@@ -45592,7 +45592,7 @@ async function canLoadServer(serverId, config) {
|
|
|
45592
45592
|
blockType: "admin"
|
|
45593
45593
|
};
|
|
45594
45594
|
}
|
|
45595
|
-
if (config.allowedList
|
|
45595
|
+
if (config.allowedList !== void 0) {
|
|
45596
45596
|
const { found, deprecationWarning } = isInSettingsList(
|
|
45597
45597
|
normalizedId,
|
|
45598
45598
|
config.allowedList
|
|
@@ -56501,7 +56501,7 @@ var authCommand = {
|
|
|
56501
56501
|
import process28 from "node:process";
|
|
56502
56502
|
|
|
56503
56503
|
// packages/cli/src/generated/git-commit.ts
|
|
56504
|
-
var GIT_COMMIT_INFO = "
|
|
56504
|
+
var GIT_COMMIT_INFO = "5cac7c10f";
|
|
56505
56505
|
|
|
56506
56506
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
56507
56507
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -62262,7 +62262,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
62262
62262
|
type: "info",
|
|
62263
62263
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
62264
62264
|
});
|
|
62265
|
-
const { MCPOAuthProvider } = await import("./core-
|
|
62265
|
+
const { MCPOAuthProvider } = await import("./core-LD6MHGD6.js");
|
|
62266
62266
|
let oauthConfig = server.oauth;
|
|
62267
62267
|
if (!oauthConfig) {
|
|
62268
62268
|
oauthConfig = { enabled: false };
|
|
@@ -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-ZQZFTBJB.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -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-OY6QYVTR.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
exitCli,
|
|
4
4
|
require_source
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2SU33N7C.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_PORT,
|
|
8
8
|
SERVER_START_WAIT_MS,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
isServerRunning,
|
|
15
15
|
resolveGemmaConfig,
|
|
16
16
|
writeServerProcessInfo
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2H5DC5TA.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZAP2IAMA.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|