@google/gemini-cli 0.40.0-preview.2 → 0.40.0-preview.4
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-3GU3LF3I.js → chunk-4XVBQQNJ.js} +181 -16
- package/bundle/{chunk-PLUWJHZZ.js → chunk-547AWTTH.js} +238 -61
- package/bundle/{chunk-EFCQXWIF.js → chunk-63PTTRTA.js} +3 -3
- package/bundle/{chunk-IMEC72NS.js → chunk-ATGIEBEB.js} +1 -1
- package/bundle/{chunk-WL5MCPV2.js → chunk-BV2W6YE6.js} +2 -2
- package/bundle/{chunk-QK7UWGBN.js → chunk-CIO3GUGQ.js} +1382 -1083
- package/bundle/{chunk-HV36F4CL.js → chunk-CJQVVQSH.js} +134 -354
- package/bundle/{chunk-VCGILCZV.js → chunk-F73F75XM.js} +16 -0
- package/bundle/{chunk-TDW6FM3A.js → chunk-G356GKHH.js} +1 -1
- package/bundle/{chunk-4IJPDKI6.js → chunk-H4NQBTXN.js} +146 -364
- package/bundle/{chunk-GXRQOXQF.js → chunk-H7F2VOIJ.js} +178 -14
- package/bundle/chunk-HF7X35D3.js +80012 -0
- package/bundle/{chunk-WHIWQCI5.js → chunk-HGFADN5A.js} +1 -1
- package/bundle/{chunk-NO7STVVM.js → chunk-KG7ZFMJL.js} +1413 -1089
- package/bundle/{chunk-33ANPP4S.js → chunk-LMVZLINC.js} +3 -3
- package/bundle/chunk-LODNDE3S.js +17505 -0
- package/bundle/{chunk-IUVLJUOL.js → chunk-LVHUYMBU.js} +2 -2
- package/bundle/{chunk-NIVCRM5L.js → chunk-M76FWZ5L.js} +134 -354
- package/bundle/{chunk-RM43GNQQ.js → chunk-NV6UCR4K.js} +7711 -12909
- package/bundle/{chunk-MUGUV6RZ.js → chunk-PRZIW6SM.js} +2 -2
- package/bundle/chunk-RENFZ63F.js +351149 -0
- package/bundle/chunk-SYPUOR3U.js +156 -0
- package/bundle/{chunk-2RHFUIH4.js → chunk-UHHRGNIO.js} +16 -0
- package/bundle/chunk-VQ7N6NVX.js +1571 -0
- package/bundle/{chunk-UBXB5AEJ.js → chunk-WSTHO4WR.js} +3 -3
- package/bundle/chunk-ZQNX6OWU.js +118 -0
- package/bundle/{cleanup-A7WXWAMI.js → cleanup-4EFDM2N7.js} +3 -3
- package/bundle/{cleanup-EWPIME2M.js → cleanup-4RRVO4GO.js} +3 -3
- package/bundle/{cleanup-IPLJJT5S.js → cleanup-DNS7PXYC.js} +3 -3
- package/bundle/cleanup-DXHNV2J6.js +33 -0
- package/bundle/{core-VCDK23ZC.js → core-WQSFCPEO.js} +28 -2
- package/bundle/{devtoolsService-6Y6YER6T.js → devtoolsService-JWET4G6G.js} +3 -3
- package/bundle/{devtoolsService-B5VVZ752.js → devtoolsService-LPEBYJVD.js} +3 -3
- package/bundle/{devtoolsService-2JXSALRU.js → devtoolsService-S2LBUUZU.js} +5 -4
- package/bundle/devtoolsService-YCRNWWXE.js +852 -0
- package/bundle/{dist-UIXQETMC.js → dist-ANTOB3YW.js} +28 -2
- package/bundle/{core-BQT6T3CH.js → dist-RIVCP5ZD.js} +28 -2
- package/bundle/dist-UH565MTG.js +2046 -0
- package/bundle/docs/cli/cli-reference.md +1 -0
- package/bundle/docs/cli/trusted-folders.md +28 -0
- package/bundle/docs/reference/configuration.md +14 -0
- package/bundle/{gemini-ID44Z5SV.js → gemini-27FQ5BI4.js} +66 -22
- package/bundle/{gemini-54LH6RUH.js → gemini-57EC2ZF7.js} +241 -182
- package/bundle/{gemini-44W2QEZI.js → gemini-JAZVYRDD.js} +64 -21
- package/bundle/gemini-TQZRS37Q.js +16087 -0
- package/bundle/gemini.js +3 -3
- package/bundle/{interactiveCli-5MTJDFYC.js → interactiveCli-E35R6QQC.js} +17 -167
- package/bundle/{interactiveCli-JFBPGMNM.js → interactiveCli-FPHSBRV3.js} +30 -179
- package/bundle/{interactiveCli-5B3X6RNB.js → interactiveCli-L3EK4XEX.js} +300 -432
- package/bundle/interactiveCli-MVHR4VV7.js +34448 -0
- package/bundle/{liteRtServerManager-76V63PRJ.js → liteRtServerManager-LXEAYAUP.js} +4 -4
- package/bundle/{liteRtServerManager-WQMDPACQ.js → liteRtServerManager-ORSW3R4F.js} +4 -4
- package/bundle/{liteRtServerManager-6GJWEP5W.js → liteRtServerManager-PI4ZNFB5.js} +4 -4
- package/bundle/liteRtServerManager-YYXO5Q3I.js +65 -0
- package/bundle/{memoryDiscovery-RYHYLAPJ.js → memoryDiscovery-CZURD35O.js} +1 -1
- package/bundle/{memoryDiscovery-HWEYBJE7.js → memoryDiscovery-GZLXKRGB.js} +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-EX6SQEZP.js → oauth2-provider-B3NTBNAM.js} +2 -2
- package/bundle/{oauth2-provider-ZF52AWQY.js → oauth2-provider-ENF2D4Q7.js} +39 -73
- package/bundle/{oauth2-provider-JCKLNKRV.js → oauth2-provider-I3G773GE.js} +2 -2
- package/bundle/oauth2-provider-WTF7AHQ2.js +237 -0
- package/bundle/{start-CYDJTOAP.js → start-CRIFZ3SW.js} +6 -6
- package/bundle/{start-SHOUHW3Y.js → start-KVFKS3IT.js} +6 -6
- package/bundle/{start-B6EMQCH5.js → start-OTLGMCNH.js} +6 -6
- package/bundle/start-S3REI3X2.js +18 -0
- package/package.json +1 -1
|
@@ -25743,6 +25743,12 @@ var FatalToolExecutionError = class extends FatalError {
|
|
|
25743
25743
|
this.name = "FatalToolExecutionError";
|
|
25744
25744
|
}
|
|
25745
25745
|
};
|
|
25746
|
+
var FatalUntrustedWorkspaceError = class extends FatalError {
|
|
25747
|
+
constructor(message) {
|
|
25748
|
+
super(message, 55);
|
|
25749
|
+
this.name = "FatalUntrustedWorkspaceError";
|
|
25750
|
+
}
|
|
25751
|
+
};
|
|
25746
25752
|
var FatalCancellationError = class extends FatalError {
|
|
25747
25753
|
constructor(message) {
|
|
25748
25754
|
super(message, 130);
|
|
@@ -41666,6 +41672,7 @@ import * as fs4 from "node:fs";
|
|
|
41666
41672
|
import { fileURLToPath } from "node:url";
|
|
41667
41673
|
var GEMINI_DIR = ".gemini";
|
|
41668
41674
|
var GOOGLE_ACCOUNTS_FILENAME = "google_accounts.json";
|
|
41675
|
+
var TRUSTED_FOLDERS_FILENAME = "trustedFolders.json";
|
|
41669
41676
|
function homedir() {
|
|
41670
41677
|
const envHome = process.env["GEMINI_CLI_HOME"];
|
|
41671
41678
|
if (envHome) {
|
|
@@ -42267,6 +42274,7 @@ var StorageMigration = class {
|
|
|
42267
42274
|
|
|
42268
42275
|
// packages/core/dist/src/config/storage.js
|
|
42269
42276
|
var OAUTH_FILE = "oauth_creds.json";
|
|
42277
|
+
var TRUSTED_FOLDERS_FILENAME2 = "trustedFolders.json";
|
|
42270
42278
|
var TMP_DIR_NAME = "tmp";
|
|
42271
42279
|
var BIN_DIR_NAME = "bin";
|
|
42272
42280
|
var AGENTS_DIR_NAME = ".agents";
|
|
@@ -42319,6 +42327,12 @@ var Storage = class _Storage {
|
|
|
42319
42327
|
static getGoogleAccountsPath() {
|
|
42320
42328
|
return path6.join(_Storage.getGlobalGeminiDir(), GOOGLE_ACCOUNTS_FILENAME);
|
|
42321
42329
|
}
|
|
42330
|
+
static getTrustedFoldersPath() {
|
|
42331
|
+
if (process.env["GEMINI_CLI_TRUSTED_FOLDERS_PATH"]) {
|
|
42332
|
+
return process.env["GEMINI_CLI_TRUSTED_FOLDERS_PATH"];
|
|
42333
|
+
}
|
|
42334
|
+
return path6.join(_Storage.getGlobalGeminiDir(), TRUSTED_FOLDERS_FILENAME2);
|
|
42335
|
+
}
|
|
42322
42336
|
static getUserCommandsDir() {
|
|
42323
42337
|
return path6.join(_Storage.getGlobalGeminiDir(), "commands");
|
|
42324
42338
|
}
|
|
@@ -52232,6 +52246,7 @@ export {
|
|
|
52232
52246
|
READ_ONLY_KINDS,
|
|
52233
52247
|
GEMINI_DIR,
|
|
52234
52248
|
GOOGLE_ACCOUNTS_FILENAME,
|
|
52249
|
+
TRUSTED_FOLDERS_FILENAME,
|
|
52235
52250
|
homedir,
|
|
52236
52251
|
tmpdir,
|
|
52237
52252
|
tildeifyPath,
|
|
@@ -52260,6 +52275,7 @@ export {
|
|
|
52260
52275
|
FatalConfigError,
|
|
52261
52276
|
FatalTurnLimitedError,
|
|
52262
52277
|
FatalToolExecutionError,
|
|
52278
|
+
FatalUntrustedWorkspaceError,
|
|
52263
52279
|
FatalCancellationError,
|
|
52264
52280
|
CanceledError,
|
|
52265
52281
|
ForbiddenError,
|
|
@@ -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-BV2W6YE6.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|