@google/gemini-cli 0.39.0 → 0.39.1
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-NWD4JYMB.js → chunk-APBWRLCM.js} +1590 -6638
- package/bundle/{chunk-5GTZHSZV.js → chunk-BEUOMVKF.js} +1587 -6636
- package/bundle/{chunk-67TFD6HC.js → chunk-FNPZLVJU.js} +16 -0
- package/bundle/{chunk-UQGLVPZQ.js → chunk-GDRLBWZL.js} +3884 -2279
- package/bundle/{chunk-BL3XXS2L.js → chunk-GRNHS2XR.js} +2 -2
- package/bundle/{chunk-LUWQB4AS.js → chunk-N6R5LJKJ.js} +2 -2
- package/bundle/{chunk-6NW5RNNH.js → chunk-QPDKVNK5.js} +1656 -6692
- package/bundle/{chunk-QM5IP3NK.js → chunk-R32ABRMT.js} +16 -0
- package/bundle/chunk-RNWNACRD.js +96654 -0
- package/bundle/{chunk-YYY7NKKR.js → chunk-RVSGPQMZ.js} +2 -2
- package/bundle/{chunk-RTKRL6Y5.js → chunk-UGFPG7AM.js} +10090 -13916
- package/bundle/chunk-UIBQS45C.js +361893 -0
- package/bundle/{chunk-3YUTTNJ7.js → chunk-WFCK2Z32.js} +3916 -2286
- package/bundle/chunk-ZIXTYG56.js +156 -0
- package/bundle/{cleanup-3LELZME2.js → cleanup-DORKD3KW.js} +3 -3
- package/bundle/{cleanup-JJEXOHOA.js → cleanup-ROCPAQIR.js} +3 -3
- package/bundle/{cleanup-TTGHQXQN.js → cleanup-RV4C23S4.js} +3 -3
- package/bundle/cleanup-VFR4VRPU.js +33 -0
- package/bundle/{core-LKKLDF4Z.js → core-NHADWRAT.js} +28 -2
- package/bundle/{devtoolsService-UQCUIXV5.js → devtoolsService-65SKYXJR.js} +3 -3
- package/bundle/{devtoolsService-H64VB4IA.js → devtoolsService-6GKOMHGW.js} +3 -3
- package/bundle/{devtoolsService-L5LFSMIR.js → devtoolsService-OIMHTGLW.js} +5 -4
- package/bundle/devtoolsService-XJQQUBHU.js +871 -0
- package/bundle/{core-Z2SYVMM5.js → dist-2DBCGLDI.js} +28 -2
- package/bundle/{dist-FWHS5IHN.js → dist-7UL5MZ3N.js} +28 -2
- package/bundle/dist-FMEYWTZB.js +2036 -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-BI2PCDUT.js → gemini-APY42TPN.js} +62 -18
- package/bundle/{gemini-CMXEUOSI.js → gemini-ASA6UVNB.js} +60 -17
- package/bundle/{gemini-YNLABPKW.js → gemini-JN2NUSDI.js} +238 -179
- package/bundle/gemini-ZVQNZBQE.js +15365 -0
- package/bundle/gemini.js +3 -3
- package/bundle/{interactiveCli-C46TDPVW.js → interactiveCli-7OEI5K4E.js} +15 -165
- package/bundle/{interactiveCli-P35Q3KZ2.js → interactiveCli-F6YUYJT5.js} +28 -177
- package/bundle/{interactiveCli-LXXBYVNU.js → interactiveCli-MSV2JUI2.js} +298 -430
- package/bundle/interactiveCli-WY7NQZAW.js +34344 -0
- package/bundle/{memoryDiscovery-U3XUU4QY.js → memoryDiscovery-OGUXPAKW.js} +1 -1
- package/bundle/{memoryDiscovery-MYQ3ZWKM.js → memoryDiscovery-OJZ52WPE.js} +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-7ZDLUOSM.js → oauth2-provider-5GKHTO3W.js} +2 -2
- package/bundle/{oauth2-provider-CRWFOXYR.js → oauth2-provider-J42P6NQU.js} +2 -2
- package/bundle/{oauth2-provider-FEM5AIRT.js → oauth2-provider-MJYS4GHA.js} +39 -73
- package/bundle/oauth2-provider-UI5C6WYR.js +237 -0
- package/package.json +1 -1
|
@@ -25749,6 +25749,12 @@ var FatalToolExecutionError = class extends FatalError {
|
|
|
25749
25749
|
this.name = "FatalToolExecutionError";
|
|
25750
25750
|
}
|
|
25751
25751
|
};
|
|
25752
|
+
var FatalUntrustedWorkspaceError = class extends FatalError {
|
|
25753
|
+
constructor(message) {
|
|
25754
|
+
super(message, 55);
|
|
25755
|
+
this.name = "FatalUntrustedWorkspaceError";
|
|
25756
|
+
}
|
|
25757
|
+
};
|
|
25752
25758
|
var FatalCancellationError = class extends FatalError {
|
|
25753
25759
|
constructor(message) {
|
|
25754
25760
|
super(message, 130);
|
|
@@ -41702,6 +41708,7 @@ import * as fs4 from "node:fs";
|
|
|
41702
41708
|
import { fileURLToPath } from "node:url";
|
|
41703
41709
|
var GEMINI_DIR = ".gemini";
|
|
41704
41710
|
var GOOGLE_ACCOUNTS_FILENAME = "google_accounts.json";
|
|
41711
|
+
var TRUSTED_FOLDERS_FILENAME = "trustedFolders.json";
|
|
41705
41712
|
function homedir() {
|
|
41706
41713
|
const envHome = process.env["GEMINI_CLI_HOME"];
|
|
41707
41714
|
if (envHome) {
|
|
@@ -42256,6 +42263,7 @@ var StorageMigration = class {
|
|
|
42256
42263
|
|
|
42257
42264
|
// packages/core/src/config/storage.ts
|
|
42258
42265
|
var OAUTH_FILE = "oauth_creds.json";
|
|
42266
|
+
var TRUSTED_FOLDERS_FILENAME2 = "trustedFolders.json";
|
|
42259
42267
|
var TMP_DIR_NAME = "tmp";
|
|
42260
42268
|
var BIN_DIR_NAME = "bin";
|
|
42261
42269
|
var AGENTS_DIR_NAME = ".agents";
|
|
@@ -42302,6 +42310,12 @@ var Storage = class _Storage {
|
|
|
42302
42310
|
static getGoogleAccountsPath() {
|
|
42303
42311
|
return path6.join(_Storage.getGlobalGeminiDir(), GOOGLE_ACCOUNTS_FILENAME);
|
|
42304
42312
|
}
|
|
42313
|
+
static getTrustedFoldersPath() {
|
|
42314
|
+
if (process.env["GEMINI_CLI_TRUSTED_FOLDERS_PATH"]) {
|
|
42315
|
+
return process.env["GEMINI_CLI_TRUSTED_FOLDERS_PATH"];
|
|
42316
|
+
}
|
|
42317
|
+
return path6.join(_Storage.getGlobalGeminiDir(), TRUSTED_FOLDERS_FILENAME2);
|
|
42318
|
+
}
|
|
42305
42319
|
static getUserCommandsDir() {
|
|
42306
42320
|
return path6.join(_Storage.getGlobalGeminiDir(), "commands");
|
|
42307
42321
|
}
|
|
@@ -52378,6 +52392,7 @@ export {
|
|
|
52378
52392
|
READ_ONLY_KINDS,
|
|
52379
52393
|
GEMINI_DIR,
|
|
52380
52394
|
GOOGLE_ACCOUNTS_FILENAME,
|
|
52395
|
+
TRUSTED_FOLDERS_FILENAME,
|
|
52381
52396
|
homedir,
|
|
52382
52397
|
tmpdir,
|
|
52383
52398
|
tildeifyPath,
|
|
@@ -52590,6 +52605,7 @@ export {
|
|
|
52590
52605
|
FatalConfigError,
|
|
52591
52606
|
FatalTurnLimitedError,
|
|
52592
52607
|
FatalToolExecutionError,
|
|
52608
|
+
FatalUntrustedWorkspaceError,
|
|
52593
52609
|
FatalCancellationError,
|
|
52594
52610
|
CanceledError,
|
|
52595
52611
|
ForbiddenError,
|