@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.
Files changed (46) hide show
  1. package/bundle/{chunk-NWD4JYMB.js → chunk-APBWRLCM.js} +1590 -6638
  2. package/bundle/{chunk-5GTZHSZV.js → chunk-BEUOMVKF.js} +1587 -6636
  3. package/bundle/{chunk-67TFD6HC.js → chunk-FNPZLVJU.js} +16 -0
  4. package/bundle/{chunk-UQGLVPZQ.js → chunk-GDRLBWZL.js} +3884 -2279
  5. package/bundle/{chunk-BL3XXS2L.js → chunk-GRNHS2XR.js} +2 -2
  6. package/bundle/{chunk-LUWQB4AS.js → chunk-N6R5LJKJ.js} +2 -2
  7. package/bundle/{chunk-6NW5RNNH.js → chunk-QPDKVNK5.js} +1656 -6692
  8. package/bundle/{chunk-QM5IP3NK.js → chunk-R32ABRMT.js} +16 -0
  9. package/bundle/chunk-RNWNACRD.js +96654 -0
  10. package/bundle/{chunk-YYY7NKKR.js → chunk-RVSGPQMZ.js} +2 -2
  11. package/bundle/{chunk-RTKRL6Y5.js → chunk-UGFPG7AM.js} +10090 -13916
  12. package/bundle/chunk-UIBQS45C.js +361893 -0
  13. package/bundle/{chunk-3YUTTNJ7.js → chunk-WFCK2Z32.js} +3916 -2286
  14. package/bundle/chunk-ZIXTYG56.js +156 -0
  15. package/bundle/{cleanup-3LELZME2.js → cleanup-DORKD3KW.js} +3 -3
  16. package/bundle/{cleanup-JJEXOHOA.js → cleanup-ROCPAQIR.js} +3 -3
  17. package/bundle/{cleanup-TTGHQXQN.js → cleanup-RV4C23S4.js} +3 -3
  18. package/bundle/cleanup-VFR4VRPU.js +33 -0
  19. package/bundle/{core-LKKLDF4Z.js → core-NHADWRAT.js} +28 -2
  20. package/bundle/{devtoolsService-UQCUIXV5.js → devtoolsService-65SKYXJR.js} +3 -3
  21. package/bundle/{devtoolsService-H64VB4IA.js → devtoolsService-6GKOMHGW.js} +3 -3
  22. package/bundle/{devtoolsService-L5LFSMIR.js → devtoolsService-OIMHTGLW.js} +5 -4
  23. package/bundle/devtoolsService-XJQQUBHU.js +871 -0
  24. package/bundle/{core-Z2SYVMM5.js → dist-2DBCGLDI.js} +28 -2
  25. package/bundle/{dist-FWHS5IHN.js → dist-7UL5MZ3N.js} +28 -2
  26. package/bundle/dist-FMEYWTZB.js +2036 -0
  27. package/bundle/docs/cli/cli-reference.md +1 -0
  28. package/bundle/docs/cli/trusted-folders.md +28 -0
  29. package/bundle/docs/reference/configuration.md +14 -0
  30. package/bundle/{gemini-BI2PCDUT.js → gemini-APY42TPN.js} +62 -18
  31. package/bundle/{gemini-CMXEUOSI.js → gemini-ASA6UVNB.js} +60 -17
  32. package/bundle/{gemini-YNLABPKW.js → gemini-JN2NUSDI.js} +238 -179
  33. package/bundle/gemini-ZVQNZBQE.js +15365 -0
  34. package/bundle/gemini.js +3 -3
  35. package/bundle/{interactiveCli-C46TDPVW.js → interactiveCli-7OEI5K4E.js} +15 -165
  36. package/bundle/{interactiveCli-P35Q3KZ2.js → interactiveCli-F6YUYJT5.js} +28 -177
  37. package/bundle/{interactiveCli-LXXBYVNU.js → interactiveCli-MSV2JUI2.js} +298 -430
  38. package/bundle/interactiveCli-WY7NQZAW.js +34344 -0
  39. package/bundle/{memoryDiscovery-U3XUU4QY.js → memoryDiscovery-OGUXPAKW.js} +1 -1
  40. package/bundle/{memoryDiscovery-MYQ3ZWKM.js → memoryDiscovery-OJZ52WPE.js} +1 -1
  41. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  42. package/bundle/{oauth2-provider-7ZDLUOSM.js → oauth2-provider-5GKHTO3W.js} +2 -2
  43. package/bundle/{oauth2-provider-CRWFOXYR.js → oauth2-provider-J42P6NQU.js} +2 -2
  44. package/bundle/{oauth2-provider-FEM5AIRT.js → oauth2-provider-MJYS4GHA.js} +39 -73
  45. package/bundle/oauth2-provider-UI5C6WYR.js +237 -0
  46. 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,