@google/gemini-cli 0.39.0-preview.2 → 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-RTX4LTWK.js → chunk-APBWRLCM.js} +1590 -6638
- package/bundle/{chunk-3R2FLB3Z.js → chunk-BEUOMVKF.js} +1587 -6636
- package/bundle/{chunk-67TFD6HC.js → chunk-FNPZLVJU.js} +16 -0
- package/bundle/{chunk-OXCH4FS3.js → chunk-GDRLBWZL.js} +3885 -2280
- package/bundle/{chunk-AZ7QQWNX.js → chunk-GRNHS2XR.js} +2 -2
- package/bundle/{chunk-45GIY5RT.js → chunk-N6R5LJKJ.js} +2 -2
- package/bundle/{chunk-GX4YOB7T.js → chunk-QPDKVNK5.js} +1590 -6638
- package/bundle/{chunk-QM5IP3NK.js → chunk-R32ABRMT.js} +16 -0
- package/bundle/{chunk-N3GUGFOL.js → chunk-RNWNACRD.js} +1590 -6638
- package/bundle/{chunk-QC6EGBZW.js → chunk-RVSGPQMZ.js} +2 -2
- package/bundle/{chunk-4UUOHXDW.js → chunk-UGFPG7AM.js} +3885 -2280
- package/bundle/{chunk-5J5LWISO.js → chunk-UIBQS45C.js} +3885 -2280
- package/bundle/{chunk-TKGFTY3B.js → chunk-WFCK2Z32.js} +3916 -2286
- package/bundle/{chunk-SS4CWRZ5.js → chunk-ZIXTYG56.js} +2 -2
- package/bundle/{cleanup-3EICKDDN.js → cleanup-DORKD3KW.js} +3 -3
- package/bundle/{cleanup-4SLYOL44.js → cleanup-ROCPAQIR.js} +3 -3
- package/bundle/{cleanup-6N6E742H.js → cleanup-RV4C23S4.js} +3 -3
- package/bundle/{cleanup-OG2MXKZ7.js → cleanup-VFR4VRPU.js} +3 -3
- package/bundle/{core-KLYK3V6Z.js → core-NHADWRAT.js} +28 -2
- package/bundle/{devtoolsService-FS7WXGBF.js → devtoolsService-65SKYXJR.js} +3 -3
- package/bundle/{devtoolsService-X4577PYZ.js → devtoolsService-6GKOMHGW.js} +3 -3
- package/bundle/{devtoolsService-K4DENTYF.js → devtoolsService-OIMHTGLW.js} +3 -3
- package/bundle/{devtoolsService-RLXZWLDT.js → devtoolsService-XJQQUBHU.js} +3 -3
- package/bundle/{dist-5ET5G5PC.js → dist-2DBCGLDI.js} +28 -2
- package/bundle/{dist-DQVXGLSO.js → dist-7UL5MZ3N.js} +28 -2
- package/bundle/{dist-P4XAO4SC.js → dist-FMEYWTZB.js} +28 -2
- 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-6GWCDHXK.js → gemini-APY42TPN.js} +63 -19
- package/bundle/{gemini-FLGPH5GJ.js → gemini-ASA6UVNB.js} +61 -18
- package/bundle/{gemini-NBKLSVA3.js → gemini-JN2NUSDI.js} +63 -19
- package/bundle/{gemini-YOFQ5KF4.js → gemini-ZVQNZBQE.js} +63 -19
- package/bundle/gemini.js +3 -3
- package/bundle/{interactiveCli-AGSLCKNH.js → interactiveCli-7OEI5K4E.js} +15 -165
- package/bundle/{interactiveCli-NAPN3E2K.js → interactiveCli-F6YUYJT5.js} +28 -177
- package/bundle/{interactiveCli-TCZBSTKU.js → interactiveCli-MSV2JUI2.js} +28 -177
- package/bundle/{interactiveCli-H3NLGP7Z.js → interactiveCli-WY7NQZAW.js} +28 -177
- package/bundle/{memoryDiscovery-MYQ3ZWKM.js → memoryDiscovery-OGUXPAKW.js} +1 -1
- package/bundle/{memoryDiscovery-U3XUU4QY.js → memoryDiscovery-OJZ52WPE.js} +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-CWUR5RGE.js → oauth2-provider-5GKHTO3W.js} +2 -2
- package/bundle/{oauth2-provider-YKYTKUWD.js → oauth2-provider-J42P6NQU.js} +2 -2
- package/bundle/{oauth2-provider-EA452S4C.js → oauth2-provider-MJYS4GHA.js} +2 -2
- package/bundle/{oauth2-provider-LV6VPYTU.js → oauth2-provider-UI5C6WYR.js} +2 -2
- 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);
|
|
@@ -41665,6 +41671,7 @@ import * as fs4 from "node:fs";
|
|
|
41665
41671
|
import { fileURLToPath } from "node:url";
|
|
41666
41672
|
var GEMINI_DIR = ".gemini";
|
|
41667
41673
|
var GOOGLE_ACCOUNTS_FILENAME = "google_accounts.json";
|
|
41674
|
+
var TRUSTED_FOLDERS_FILENAME = "trustedFolders.json";
|
|
41668
41675
|
function homedir() {
|
|
41669
41676
|
const envHome = process.env["GEMINI_CLI_HOME"];
|
|
41670
41677
|
if (envHome) {
|
|
@@ -42208,6 +42215,7 @@ var StorageMigration = class {
|
|
|
42208
42215
|
|
|
42209
42216
|
// packages/core/dist/src/config/storage.js
|
|
42210
42217
|
var OAUTH_FILE = "oauth_creds.json";
|
|
42218
|
+
var TRUSTED_FOLDERS_FILENAME2 = "trustedFolders.json";
|
|
42211
42219
|
var TMP_DIR_NAME = "tmp";
|
|
42212
42220
|
var BIN_DIR_NAME = "bin";
|
|
42213
42221
|
var AGENTS_DIR_NAME = ".agents";
|
|
@@ -42254,6 +42262,12 @@ var Storage = class _Storage {
|
|
|
42254
42262
|
static getGoogleAccountsPath() {
|
|
42255
42263
|
return path6.join(_Storage.getGlobalGeminiDir(), GOOGLE_ACCOUNTS_FILENAME);
|
|
42256
42264
|
}
|
|
42265
|
+
static getTrustedFoldersPath() {
|
|
42266
|
+
if (process.env["GEMINI_CLI_TRUSTED_FOLDERS_PATH"]) {
|
|
42267
|
+
return process.env["GEMINI_CLI_TRUSTED_FOLDERS_PATH"];
|
|
42268
|
+
}
|
|
42269
|
+
return path6.join(_Storage.getGlobalGeminiDir(), TRUSTED_FOLDERS_FILENAME2);
|
|
42270
|
+
}
|
|
42257
42271
|
static getUserCommandsDir() {
|
|
42258
42272
|
return path6.join(_Storage.getGlobalGeminiDir(), "commands");
|
|
42259
42273
|
}
|
|
@@ -52057,6 +52071,7 @@ export {
|
|
|
52057
52071
|
READ_ONLY_KINDS,
|
|
52058
52072
|
GEMINI_DIR,
|
|
52059
52073
|
GOOGLE_ACCOUNTS_FILENAME,
|
|
52074
|
+
TRUSTED_FOLDERS_FILENAME,
|
|
52060
52075
|
homedir,
|
|
52061
52076
|
tmpdir,
|
|
52062
52077
|
tildeifyPath,
|
|
@@ -52269,6 +52284,7 @@ export {
|
|
|
52269
52284
|
FatalConfigError,
|
|
52270
52285
|
FatalTurnLimitedError,
|
|
52271
52286
|
FatalToolExecutionError,
|
|
52287
|
+
FatalUntrustedWorkspaceError,
|
|
52272
52288
|
FatalCancellationError,
|
|
52273
52289
|
CanceledError,
|
|
52274
52290
|
ForbiddenError,
|