@google/gemini-cli 0.67.0 → 0.69.0-preview.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.
Files changed (74) hide show
  1. package/README.md +18 -24
  2. package/bundle/{chunk-IDJ4QXBF.js → chunk-2KKDGWF2.js} +1 -1
  3. package/bundle/{chunk-7LX6MRZ6.js → chunk-2ONJU4V7.js} +1 -1
  4. package/bundle/chunk-3HEOCQDN.js +65 -0
  5. package/bundle/{chunk-VO6PFWLY.js → chunk-4SOPZCNA.js} +29 -15
  6. package/bundle/{chunk-56IGTM4O.js → chunk-6KCLIS6W.js} +1 -1
  7. package/bundle/{chunk-2E3ETS5J.js → chunk-BRHBBQC5.js} +2 -2
  8. package/bundle/{chunk-M73CYIV5.js → chunk-C5BED6L6.js} +2 -2
  9. package/bundle/{chunk-VK766A3F.js → chunk-CGQSFR2I.js} +7 -2
  10. package/bundle/{chunk-OJ62HCXG.js → chunk-CWHEOJXF.js} +7 -2
  11. package/bundle/{chunk-LAR4JEC7.js → chunk-DWMZSQYG.js} +6050 -2877
  12. package/bundle/{chunk-QTXJG3I3.js → chunk-GDCMMKZ2.js} +1 -1
  13. package/bundle/{chunk-YUO7RUF4.js → chunk-GQ7FZNO2.js} +1 -1
  14. package/bundle/{chunk-GBUWHRK6.js → chunk-JJWPYMIO.js} +3 -3
  15. package/bundle/{chunk-NGQU3QTQ.js → chunk-KUXCUQKX.js} +5859 -2837
  16. package/bundle/{chunk-P62CI7AR.js → chunk-LYKP3S67.js} +29 -15
  17. package/bundle/{chunk-O7MGOE2I.js → chunk-MP4TVGOP.js} +6050 -2877
  18. package/bundle/{chunk-IGE3G3WZ.js → chunk-PH5XENTH.js} +1 -1
  19. package/bundle/{chunk-CJFBYU4J.js → chunk-RBDD6IBU.js} +937 -327
  20. package/bundle/{chunk-5RNHNFYV.js → chunk-SYOIMUZI.js} +937 -327
  21. package/bundle/{chunk-BW65QRZA.js → chunk-U3FFDEKY.js} +29 -15
  22. package/bundle/{chunk-MQNW2IRI.js → chunk-U5FJ6OGB.js} +2 -2
  23. package/bundle/{chunk-PUNFASKY.js → chunk-UAHZWXSG.js} +7 -2
  24. package/bundle/chunk-UW3ZS3BH.js +65 -0
  25. package/bundle/{chunk-4JH2G4F4.js → chunk-V7L3FMBE.js} +3 -3
  26. package/bundle/chunk-VQTELFV3.js +65 -0
  27. package/bundle/{chunk-QA5FT4VY.js → chunk-YODS6HR2.js} +3 -3
  28. package/bundle/{chunk-XETHQLRU.js → chunk-YP5TA33N.js} +937 -327
  29. package/bundle/{cleanup-B6AOSVD4.js → cleanup-3T2KXSP4.js} +2 -2
  30. package/bundle/{cleanup-BRFB47DL.js → cleanup-NNQCI4KC.js} +2 -2
  31. package/bundle/{cleanup-S5QFYCEP.js → cleanup-TA4VYDXQ.js} +2 -2
  32. package/bundle/{core-N27LU4DK.js → core-6XF5EO7Z.js} +37 -1
  33. package/bundle/{dist-E6RCLXQU.js → core-TUJHM7E7.js} +37 -1
  34. package/bundle/{devtoolsService-6V46WMXX.js → devtoolsService-7EMPANTX.js} +2 -2
  35. package/bundle/{devtoolsService-E74ZMDMM.js → devtoolsService-I7WFRUEA.js} +2 -2
  36. package/bundle/{devtoolsService-EFJXZRFD.js → devtoolsService-RCBUZGYD.js} +2 -2
  37. package/bundle/{core-GTUUQBGE.js → dist-OSQFIX7F.js} +37 -1
  38. package/bundle/docs/changelogs/index.md +42 -0
  39. package/bundle/docs/changelogs/latest.md +89 -91
  40. package/bundle/docs/changelogs/preview.md +106 -90
  41. package/bundle/docs/cli/sandbox.md +8 -2
  42. package/bundle/docs/cli/themes.md +56 -8
  43. package/bundle/docs/cli/trusted-folders.md +13 -0
  44. package/bundle/docs/extensions/releasing.md +32 -0
  45. package/bundle/docs/reference/commands.md +4 -0
  46. package/bundle/docs/reference/configuration.md +10 -10
  47. package/bundle/docs/reference/policy-engine.md +6 -0
  48. package/bundle/formatError-KEQ3HU3Y.js +14 -0
  49. package/bundle/formatError-LJFIC7G3.js +14 -0
  50. package/bundle/formatError-MIUNQEYE.js +14 -0
  51. package/bundle/{gemini-QWDTSJTS.js → gemini-22ON2CZG.js} +601 -142
  52. package/bundle/{gemini-4JPKPLQN.js → gemini-HLS52ZNZ.js} +601 -142
  53. package/bundle/{gemini-VF5FS3OM.js → gemini-ZZZEFPSK.js} +601 -142
  54. package/bundle/gemini.js +14 -13
  55. package/bundle/{interactiveCli-QJZZISQQ.js → interactiveCli-5HMWVTK2.js} +2967 -2329
  56. package/bundle/{interactiveCli-FQ3YKGOG.js → interactiveCli-HQBE3C3C.js} +2967 -2329
  57. package/bundle/{interactiveCli-F2YYMYTP.js → interactiveCli-NKFQZXB5.js} +2967 -2329
  58. package/bundle/{liteRtServerManager-JAV3GR4V.js → liteRtServerManager-2IOXWO76.js} +4 -4
  59. package/bundle/{liteRtServerManager-X5CCMKM6.js → liteRtServerManager-AG4Y5JMZ.js} +4 -4
  60. package/bundle/{liteRtServerManager-27R2M6XE.js → liteRtServerManager-OFNVXXQ4.js} +4 -4
  61. package/bundle/{oauth2-provider-6UCP23AQ.js → oauth2-provider-2DHNJ2S3.js} +1 -1
  62. package/bundle/{oauth2-provider-H2KV36NU.js → oauth2-provider-OEGXLWIL.js} +1 -1
  63. package/bundle/{oauth2-provider-C65IJMNQ.js → oauth2-provider-YDNSNN32.js} +1 -1
  64. package/bundle/policies/yolo.toml +1 -0
  65. package/bundle/sandbox-macos-permissive-open.sb +8 -0
  66. package/bundle/sandbox-macos-permissive-proxied.sb +8 -0
  67. package/bundle/sandbox-macos-restrictive-open.sb +1 -0
  68. package/bundle/sandbox-macos-restrictive-proxied.sb +1 -0
  69. package/bundle/sandbox-macos-strict-open.sb +1 -0
  70. package/bundle/sandbox-macos-strict-proxied.sb +1 -0
  71. package/bundle/{start-GNOA75NQ.js → start-7GJH3MKY.js} +6 -6
  72. package/bundle/{start-K2AYYNST.js → start-JSVKPUTV.js} +6 -6
  73. package/bundle/{start-E4ZL44QM.js → start-N33LF5WK.js} +6 -6
  74. package/package.json +1 -1
package/bundle/gemini.js CHANGED
@@ -6,10 +6,10 @@ import {
6
6
  getSpawnConfig,
7
7
  handleChildProcessClose,
8
8
  setupSignalForwarding
9
- } from "./chunk-2E3ETS5J.js";
10
- import "./chunk-YUO7RUF4.js";
11
- import "./chunk-PUNFASKY.js";
12
- import "./chunk-NGQU3QTQ.js";
9
+ } from "./chunk-C5BED6L6.js";
10
+ import "./chunk-GQ7FZNO2.js";
11
+ import "./chunk-CGQSFR2I.js";
12
+ import "./chunk-KUXCUQKX.js";
13
13
  import "./chunk-664ZODQF.js";
14
14
  import "./chunk-IUUIT4SU.js";
15
15
  import "./chunk-L6PII3GR.js";
@@ -106,9 +106,10 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
106
106
  }
107
107
  }
108
108
  } else {
109
- const { main } = await import("./gemini-VF5FS3OM.js");
110
- const { FatalError, writeToStderr } = await import("./dist-E6RCLXQU.js");
111
- const { runExitCleanup } = await import("./cleanup-B6AOSVD4.js");
109
+ const { main } = await import("./gemini-ZZZEFPSK.js");
110
+ const { FatalError, writeToStderr } = await import("./dist-OSQFIX7F.js");
111
+ const { runExitCleanup } = await import("./cleanup-TA4VYDXQ.js");
112
+ const { formatCliError, isCliDebugEnabled } = await import("./formatError-LJFIC7G3.js");
112
113
  main().catch(async (error) => {
113
114
  const cleanupTimeout = setTimeout(() => {
114
115
  writeToStderr("Cleanup timed out, forcing exit...\n");
@@ -132,12 +133,12 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
132
133
  writeToStderr(errorMessage + "\n");
133
134
  process.exit(error.exitCode);
134
135
  }
135
- writeToStderr("An unexpected critical error occurred:");
136
- if (error instanceof Error) {
137
- writeToStderr(error.stack + "\n");
138
- } else {
139
- writeToStderr(String(error) + "\n");
140
- }
136
+ writeToStderr(
137
+ formatCliError(error, {
138
+ debug: isCliDebugEnabled(),
139
+ prefix: "An unexpected critical error occurred: "
140
+ }) + "\n"
141
+ );
141
142
  process.exit(1);
142
143
  });
143
144
  }