@google/gemini-cli 0.62.0-nightly.20260925.gbedef96ef → 0.62.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-M4DUGOFW.js → chunk-2DHAEQE2.js} +90 -467
- package/bundle/{chunk-4JZM4J6T.js → chunk-2XM6DOWE.js} +2 -2
- package/bundle/{chunk-COHD3EAC.js → chunk-3VMO3WD7.js} +1 -1
- package/bundle/{chunk-TFNEL7HO.js → chunk-4GWDIIAP.js} +3 -3
- package/bundle/{chunk-LUG3MZLD.js → chunk-6DKHPDQ5.js} +1 -1
- package/bundle/{chunk-TYD74VXO.js → chunk-72GZSNV7.js} +14774 -8191
- package/bundle/{chunk-HBDPUOQW.js → chunk-7ETVC4KO.js} +1 -1
- package/bundle/{chunk-YIGDOMHJ.js → chunk-DML6Y2ZP.js} +2 -2
- package/bundle/{chunk-UFG6C5KE.js → chunk-DP2XO3WB.js} +1 -1
- package/bundle/{chunk-TNMENZTI.js → chunk-E2SRID3J.js} +1 -1
- package/bundle/{chunk-YZ6TLILF.js → chunk-F6RVU2CO.js} +1 -1
- package/bundle/{chunk-RETG7Z2C.js → chunk-GCL7X4WZ.js} +2 -2
- package/bundle/{chunk-QE6SEL5N.js → chunk-I47WLEEQ.js} +11 -45
- package/bundle/{chunk-AKMRRSMV.js → chunk-KCP45VUB.js} +1 -1
- package/bundle/{chunk-OF7DGARD.js → chunk-L5NOFB6M.js} +1 -1
- package/bundle/{chunk-H3SOW6BD.js → chunk-MLY4WQFO.js} +90 -421
- package/bundle/{chunk-MMWXIMUF.js → chunk-MNVEFU25.js} +3 -3
- package/bundle/{chunk-TKA3MSVK.js → chunk-OXDVMGJ3.js} +3 -3
- package/bundle/{chunk-GN6LRBHR.js → chunk-RWN52KQV.js} +5 -8
- package/bundle/{chunk-M5SV3LCW.js → chunk-T4GE6V5B.js} +8 -9
- package/bundle/{chunk-NZIIZAV3.js → chunk-TYBBTU4O.js} +1 -1
- package/bundle/{chunk-DOFIJ3YI.js → chunk-V43EQ7B6.js} +11 -45
- package/bundle/{chunk-R2TEKWUG.js → chunk-YOPBONYF.js} +1 -1
- package/bundle/{chunk-A3VAHJM3.js → chunk-ZRKGL4ZL.js} +62 -109
- package/bundle/{cleanup-HE7KYQAJ.js → cleanup-B2NP6ZJB.js} +2 -2
- package/bundle/{cleanup-INM5W2O2.js → cleanup-GJFEQLCV.js} +2 -2
- package/bundle/{cleanup-XSZILZES.js → cleanup-NYOWMRTL.js} +2 -2
- package/bundle/{core-PLITVDXB.js → core-4NPF436I.js} +1 -7
- package/bundle/{dist-5EPN333M.js → core-BXNHRQQE.js} +1 -7
- package/bundle/{devtoolsService-BUSRWWOS.js → devtoolsService-2TDRPBCW.js} +2 -2
- package/bundle/{devtoolsService-4D2QFII3.js → devtoolsService-47DUPCKM.js} +2 -2
- package/bundle/{devtoolsService-P7HLE6U4.js → devtoolsService-BIYZH2ME.js} +3 -4
- package/bundle/{dist-EBAUDX6K.js → dist-6S53KFXU.js} +1 -7
- package/bundle/docs/changelogs/index.md +0 -16
- package/bundle/docs/changelogs/latest.md +55 -34
- package/bundle/docs/changelogs/preview.md +3 -7
- package/bundle/{gemini-LJOD63ZZ.js → gemini-CGCV5XPN.js} +14 -14
- package/bundle/{gemini-E77OMSLO.js → gemini-J6X2T2ZI.js} +14 -14
- package/bundle/{gemini-III4I2TY.js → gemini-ZBM332DO.js} +198 -214
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-GCRH54ZM.js → interactiveCli-HUDGOV74.js} +14 -31
- package/bundle/{interactiveCli-BJCS4WF5.js → interactiveCli-IDDEAOD5.js} +14 -31
- package/bundle/{interactiveCli-A3LNKRJV.js → interactiveCli-R4EMLFLM.js} +298 -334
- package/bundle/{liteRtServerManager-34QJA5UR.js → liteRtServerManager-A4B5FMXL.js} +4 -4
- package/bundle/{liteRtServerManager-PJMI7L5V.js → liteRtServerManager-QE27SHMQ.js} +4 -4
- package/bundle/{liteRtServerManager-TPFCEVH7.js → liteRtServerManager-WXCXUPDQ.js} +4 -4
- package/bundle/{oauth2-provider-HIFZ2YSU.js → oauth2-provider-3F6FOWLR.js} +1 -1
- package/bundle/{oauth2-provider-4IJXZY2A.js → oauth2-provider-43ANEHLB.js} +1 -1
- package/bundle/{oauth2-provider-65ESWRXC.js → oauth2-provider-MWRLM45J.js} +72 -38
- package/bundle/{start-6ET4IGUD.js → start-SQ2SPNQL.js} +6 -6
- package/bundle/{start-HKFTMESR.js → start-W7O4IWQ7.js} +6 -6
- package/bundle/{start-IYXWZL5M.js → start-ZMLXZ4VX.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-BZNLCS4I.js +0 -398
- package/bundle/chunk-FW6KQPO4.js +0 -102951
- package/bundle/chunk-HM4SUAV7.js +0 -17368
- package/bundle/chunk-QPGOBA6C.js +0 -118
- package/bundle/chunk-X4QSELXY.js +0 -400361
- package/bundle/chunk-X63LZNK3.js +0 -1571
- package/bundle/chunk-YNCGLYYB.js +0 -154
- package/bundle/chunk-YUTWSGVZ.js +0 -512
- package/bundle/cleanup-ZZ2TESXC.js +0 -32
- package/bundle/devtoolsService-YD7ORPBB.js +0 -4359
- package/bundle/dist-SYCD6I6K.js +0 -2244
- package/bundle/gemini-46IOIZQR.js +0 -17863
- package/bundle/interactiveCli-XDQJSJNE.js +0 -34907
- package/bundle/liteRtServerManager-YPMJZLFF.js +0 -65
- package/bundle/oauth2-provider-KTV4RAAH.js +0 -235
- package/bundle/start-TIGZXUOM.js +0 -18
|
@@ -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-TYBBTU4O.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MLY4WQFO.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -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
|
checkExhaustive
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2DHAEQE2.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__toESM
|
|
@@ -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-7ETVC4KO.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-72GZSNV7.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -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-6DKHPDQ5.js";
|
|
6
6
|
import {
|
|
7
7
|
AppEvent,
|
|
8
8
|
appEvents
|
|
@@ -63,15 +63,15 @@ import {
|
|
|
63
63
|
stripUnsafeCharacters,
|
|
64
64
|
toCodePoints,
|
|
65
65
|
validateCustomTheme
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-KCP45VUB.js";
|
|
67
67
|
import {
|
|
68
68
|
isDevelopment
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-2XM6DOWE.js";
|
|
70
70
|
import {
|
|
71
71
|
emptyIcon,
|
|
72
72
|
mapCoreStatusToDisplayStatus,
|
|
73
73
|
require_react
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-F6RVU2CO.js";
|
|
75
75
|
import {
|
|
76
76
|
ALL_EDITORS,
|
|
77
77
|
ApprovalMode,
|
|
@@ -238,7 +238,7 @@ import {
|
|
|
238
238
|
tokenLimit,
|
|
239
239
|
uiTelemetryService,
|
|
240
240
|
unescapePath
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-2DHAEQE2.js";
|
|
242
242
|
import {
|
|
243
243
|
require_src
|
|
244
244
|
} from "./chunk-L6PII3GR.js";
|
|
@@ -55045,7 +55045,6 @@ var useFocus = () => {
|
|
|
55045
55045
|
};
|
|
55046
55046
|
stdout?.write(ENABLE_FOCUS_REPORTING);
|
|
55047
55047
|
stdin?.on("data", handleData);
|
|
55048
|
-
stdin?.resume?.();
|
|
55049
55048
|
return () => {
|
|
55050
55049
|
stdout?.write(DISABLE_FOCUS_REPORTING);
|
|
55051
55050
|
stdin?.removeListener("data", handleData);
|
|
@@ -55183,7 +55182,6 @@ var TerminalCapabilityManager = class _TerminalCapabilityManager {
|
|
|
55183
55182
|
process.on("SIGINT", cleanupTerminalOnExit);
|
|
55184
55183
|
return new Promise((resolve9) => {
|
|
55185
55184
|
const originalRawMode = process.stdin.isRaw;
|
|
55186
|
-
const stdinWasFlowing = process.stdin.readableFlowing === true;
|
|
55187
55185
|
if (!originalRawMode) {
|
|
55188
55186
|
process.stdin.setRawMode(true);
|
|
55189
55187
|
}
|
|
@@ -55199,9 +55197,6 @@ var TerminalCapabilityManager = class _TerminalCapabilityManager {
|
|
|
55199
55197
|
clearTimeout(timeoutId);
|
|
55200
55198
|
}
|
|
55201
55199
|
process.stdin.removeListener("data", onData);
|
|
55202
|
-
if (!stdinWasFlowing && process.stdin.listenerCount("data") === 0) {
|
|
55203
|
-
process.stdin.pause?.();
|
|
55204
|
-
}
|
|
55205
55200
|
if (!originalRawMode) {
|
|
55206
55201
|
process.stdin.setRawMode(false);
|
|
55207
55202
|
}
|
|
@@ -55954,14 +55949,11 @@ function KeypressProvider({
|
|
|
55954
55949
|
);
|
|
55955
55950
|
(0, import_react30.useEffect)(() => {
|
|
55956
55951
|
terminalCapabilityManager.enableSupportedModes();
|
|
55957
|
-
if (!stdin) {
|
|
55958
|
-
return;
|
|
55959
|
-
}
|
|
55960
55952
|
const wasRaw = stdin.isRaw;
|
|
55961
55953
|
if (wasRaw === false) {
|
|
55962
55954
|
setRawMode(true);
|
|
55963
55955
|
}
|
|
55964
|
-
stdin.setEncoding
|
|
55956
|
+
process.stdin.setEncoding("utf8");
|
|
55965
55957
|
let processor = nonKeyboardEventFilter(broadcast);
|
|
55966
55958
|
if (!terminalCapabilityManager.isKittyProtocolEnabled()) {
|
|
55967
55959
|
processor = bufferFastReturn(processor);
|
|
@@ -55979,7 +55971,6 @@ function KeypressProvider({
|
|
|
55979
55971
|
};
|
|
55980
55972
|
}
|
|
55981
55973
|
stdin.on("data", dataListener);
|
|
55982
|
-
stdin.resume?.();
|
|
55983
55974
|
return () => {
|
|
55984
55975
|
stdin.removeListener("data", dataListener);
|
|
55985
55976
|
if (wasRaw === false) {
|
|
@@ -66477,13 +66468,9 @@ var McpServerEnablementManager = class _McpServerEnablementManager {
|
|
|
66477
66468
|
/**
|
|
66478
66469
|
* Check if server is enabled in FILE (persistent config only).
|
|
66479
66470
|
* Does NOT include session state.
|
|
66480
|
-
* Fails closed (`false`) if the config file exists on disk but cannot be read or parsed.
|
|
66481
66471
|
*/
|
|
66482
66472
|
async isFileEnabled(serverName) {
|
|
66483
66473
|
const config = await this.readConfig();
|
|
66484
|
-
if (!config) {
|
|
66485
|
-
return false;
|
|
66486
|
-
}
|
|
66487
66474
|
const state = config[normalizeServerId(serverName)];
|
|
66488
66475
|
return state?.enabled ?? true;
|
|
66489
66476
|
}
|
|
@@ -66506,14 +66493,10 @@ var McpServerEnablementManager = class _McpServerEnablementManager {
|
|
|
66506
66493
|
/**
|
|
66507
66494
|
* Enable a server persistently.
|
|
66508
66495
|
* Removes the server from config file (defaults to enabled).
|
|
66509
|
-
* Does not overwrite the config file if existing contents cannot be read or parsed.
|
|
66510
66496
|
*/
|
|
66511
66497
|
async enable(serverName) {
|
|
66512
66498
|
const normalizedName = normalizeServerId(serverName);
|
|
66513
66499
|
const config = await this.readConfig();
|
|
66514
|
-
if (!config) {
|
|
66515
|
-
return;
|
|
66516
|
-
}
|
|
66517
66500
|
if (normalizedName in config) {
|
|
66518
66501
|
delete config[normalizedName];
|
|
66519
66502
|
await this.writeConfig(config);
|
|
@@ -66522,13 +66505,9 @@ var McpServerEnablementManager = class _McpServerEnablementManager {
|
|
|
66522
66505
|
/**
|
|
66523
66506
|
* Disable a server persistently.
|
|
66524
66507
|
* Adds server to config file with enabled: false.
|
|
66525
|
-
* Does not overwrite the config file if existing contents cannot be read or parsed.
|
|
66526
66508
|
*/
|
|
66527
66509
|
async disable(serverName) {
|
|
66528
66510
|
const config = await this.readConfig();
|
|
66529
|
-
if (!config) {
|
|
66530
|
-
return;
|
|
66531
|
-
}
|
|
66532
66511
|
config[normalizeServerId(serverName)] = { enabled: false };
|
|
66533
66512
|
await this.writeConfig(config);
|
|
66534
66513
|
}
|
|
@@ -66587,9 +66566,7 @@ var McpServerEnablementManager = class _McpServerEnablementManager {
|
|
|
66587
66566
|
let wasDisabled = false;
|
|
66588
66567
|
if (state.isPersistentDisabled) {
|
|
66589
66568
|
await this.enable(normalizedName);
|
|
66590
|
-
|
|
66591
|
-
wasDisabled = true;
|
|
66592
|
-
}
|
|
66569
|
+
wasDisabled = true;
|
|
66593
66570
|
}
|
|
66594
66571
|
if (state.isSessionDisabled) {
|
|
66595
66572
|
this.clearSessionDisable(normalizedName);
|
|
@@ -66603,22 +66580,11 @@ var McpServerEnablementManager = class _McpServerEnablementManager {
|
|
|
66603
66580
|
}
|
|
66604
66581
|
/**
|
|
66605
66582
|
* Read config from file asynchronously.
|
|
66606
|
-
* Returns `{}` if the file does not exist (`ENOENT`), or `null` if the file
|
|
66607
|
-
* cannot be read or parsed as a valid JSON object.
|
|
66608
66583
|
*/
|
|
66609
66584
|
async readConfig() {
|
|
66610
66585
|
try {
|
|
66611
66586
|
const content = await fs17.readFile(this.configFilePath, "utf-8");
|
|
66612
|
-
|
|
66613
|
-
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) {
|
|
66614
|
-
coreEvents.emitFeedback(
|
|
66615
|
-
"error",
|
|
66616
|
-
"Failed to read MCP server enablement config.",
|
|
66617
|
-
new Error("MCP server enablement config must be a JSON object.")
|
|
66618
|
-
);
|
|
66619
|
-
return null;
|
|
66620
|
-
}
|
|
66621
|
-
return parsed;
|
|
66587
|
+
return JSON.parse(content);
|
|
66622
66588
|
} catch (error) {
|
|
66623
66589
|
if (error instanceof Error && "code" in error && error.code === "ENOENT") {
|
|
66624
66590
|
return {};
|
|
@@ -66628,7 +66594,7 @@ var McpServerEnablementManager = class _McpServerEnablementManager {
|
|
|
66628
66594
|
"Failed to read MCP server enablement config.",
|
|
66629
66595
|
error
|
|
66630
66596
|
);
|
|
66631
|
-
return
|
|
66597
|
+
return {};
|
|
66632
66598
|
}
|
|
66633
66599
|
}
|
|
66634
66600
|
/**
|
|
@@ -77581,7 +77547,7 @@ var authCommand = {
|
|
|
77581
77547
|
import process29 from "node:process";
|
|
77582
77548
|
|
|
77583
77549
|
// packages/cli/src/generated/git-commit.ts
|
|
77584
|
-
var GIT_COMMIT_INFO = "
|
|
77550
|
+
var GIT_COMMIT_INFO = "9ac01f80f";
|
|
77585
77551
|
|
|
77586
77552
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
77587
77553
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -83362,7 +83328,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
83362
83328
|
type: "info",
|
|
83363
83329
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
83364
83330
|
});
|
|
83365
|
-
const { MCPOAuthProvider } = await import("./core-
|
|
83331
|
+
const { MCPOAuthProvider } = await import("./core-BXNHRQQE.js");
|
|
83366
83332
|
let oauthConfig = server.oauth;
|
|
83367
83333
|
if (!oauthConfig) {
|
|
83368
83334
|
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-7ETVC4KO.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|