@google/gemini-cli 0.68.0-preview.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 (71) hide show
  1. package/bundle/{chunk-VBHMFLBY.js → chunk-2KKDGWF2.js} +1 -1
  2. package/bundle/{chunk-ODU7Z2RJ.js → chunk-2ONJU4V7.js} +1 -1
  3. package/bundle/chunk-3HEOCQDN.js +65 -0
  4. package/bundle/{chunk-HRM7UWGB.js → chunk-4SOPZCNA.js} +22 -6
  5. package/bundle/{chunk-JMHCFAD6.js → chunk-6KCLIS6W.js} +1 -1
  6. package/bundle/{chunk-CXMHAFLN.js → chunk-BRHBBQC5.js} +2 -2
  7. package/bundle/{chunk-KKKD4FID.js → chunk-C5BED6L6.js} +2 -2
  8. package/bundle/{chunk-OZOUOK43.js → chunk-CGQSFR2I.js} +7 -2
  9. package/bundle/{chunk-RD2EMHV2.js → chunk-CWHEOJXF.js} +7 -2
  10. package/bundle/{chunk-ZZOOHVBL.js → chunk-DWMZSQYG.js} +4479 -1925
  11. package/bundle/{chunk-ZEK4UYYW.js → chunk-GDCMMKZ2.js} +1 -1
  12. package/bundle/{chunk-44PCK4QK.js → chunk-GQ7FZNO2.js} +1 -1
  13. package/bundle/{chunk-XPTXBYQQ.js → chunk-JJWPYMIO.js} +3 -3
  14. package/bundle/{chunk-L57AYV6U.js → chunk-KUXCUQKX.js} +4357 -1897
  15. package/bundle/{chunk-6A5BTTNC.js → chunk-LYKP3S67.js} +22 -6
  16. package/bundle/{chunk-RCF66HCI.js → chunk-MP4TVGOP.js} +4479 -1925
  17. package/bundle/{chunk-XVNEFQR3.js → chunk-PH5XENTH.js} +1 -1
  18. package/bundle/{chunk-B2FKXXUH.js → chunk-RBDD6IBU.js} +617 -228
  19. package/bundle/{chunk-BKVNBJ5C.js → chunk-SYOIMUZI.js} +617 -228
  20. package/bundle/{chunk-VCO4TMD6.js → chunk-U3FFDEKY.js} +22 -6
  21. package/bundle/{chunk-LQDISFTJ.js → chunk-U5FJ6OGB.js} +2 -2
  22. package/bundle/{chunk-WEP47ZZU.js → chunk-UAHZWXSG.js} +7 -2
  23. package/bundle/chunk-UW3ZS3BH.js +65 -0
  24. package/bundle/{chunk-Q76ZDILI.js → chunk-V7L3FMBE.js} +3 -3
  25. package/bundle/chunk-VQTELFV3.js +65 -0
  26. package/bundle/{chunk-YPPJDFYP.js → chunk-YODS6HR2.js} +3 -3
  27. package/bundle/{chunk-G7EMTV2Q.js → chunk-YP5TA33N.js} +617 -228
  28. package/bundle/{cleanup-CCR2EOHA.js → cleanup-3T2KXSP4.js} +2 -2
  29. package/bundle/{cleanup-OQV2G5Y3.js → cleanup-NNQCI4KC.js} +2 -2
  30. package/bundle/{cleanup-T24OFMOA.js → cleanup-TA4VYDXQ.js} +2 -2
  31. package/bundle/{core-NQRKBS47.js → core-6XF5EO7Z.js} +35 -1
  32. package/bundle/{core-UIPNZ5VU.js → core-TUJHM7E7.js} +35 -1
  33. package/bundle/{devtoolsService-3G5ZA3JV.js → devtoolsService-7EMPANTX.js} +2 -2
  34. package/bundle/{devtoolsService-V3OEHE5V.js → devtoolsService-I7WFRUEA.js} +2 -2
  35. package/bundle/{devtoolsService-EWNQDTC7.js → devtoolsService-RCBUZGYD.js} +2 -2
  36. package/bundle/{dist-OYZDNSTI.js → dist-OSQFIX7F.js} +35 -1
  37. package/bundle/docs/changelogs/index.md +18 -0
  38. package/bundle/docs/changelogs/latest.md +89 -84
  39. package/bundle/docs/changelogs/preview.md +106 -92
  40. package/bundle/docs/cli/themes.md +50 -5
  41. package/bundle/docs/cli/trusted-folders.md +13 -0
  42. package/bundle/docs/reference/commands.md +4 -0
  43. package/bundle/docs/reference/configuration.md +8 -0
  44. package/bundle/docs/reference/policy-engine.md +6 -0
  45. package/bundle/formatError-KEQ3HU3Y.js +14 -0
  46. package/bundle/formatError-LJFIC7G3.js +14 -0
  47. package/bundle/formatError-MIUNQEYE.js +14 -0
  48. package/bundle/{gemini-YFCTZ76S.js → gemini-22ON2CZG.js} +493 -132
  49. package/bundle/{gemini-FSHMUCSM.js → gemini-HLS52ZNZ.js} +493 -132
  50. package/bundle/{gemini-2P73372G.js → gemini-ZZZEFPSK.js} +493 -132
  51. package/bundle/gemini.js +14 -13
  52. package/bundle/{interactiveCli-F5RRE2VJ.js → interactiveCli-5HMWVTK2.js} +1641 -1208
  53. package/bundle/{interactiveCli-X54KN2EM.js → interactiveCli-HQBE3C3C.js} +1641 -1208
  54. package/bundle/{interactiveCli-I75IWUIA.js → interactiveCli-NKFQZXB5.js} +1641 -1208
  55. package/bundle/{liteRtServerManager-JTOIS4KU.js → liteRtServerManager-2IOXWO76.js} +4 -4
  56. package/bundle/{liteRtServerManager-UVQ2I6NL.js → liteRtServerManager-AG4Y5JMZ.js} +4 -4
  57. package/bundle/{liteRtServerManager-FLPMMDNM.js → liteRtServerManager-OFNVXXQ4.js} +4 -4
  58. package/bundle/{oauth2-provider-AYO4BU7A.js → oauth2-provider-2DHNJ2S3.js} +1 -1
  59. package/bundle/{oauth2-provider-NCQY7TJE.js → oauth2-provider-OEGXLWIL.js} +1 -1
  60. package/bundle/{oauth2-provider-VMBYZOC7.js → oauth2-provider-YDNSNN32.js} +1 -1
  61. package/bundle/policies/yolo.toml +1 -0
  62. package/bundle/sandbox-macos-permissive-open.sb +8 -0
  63. package/bundle/sandbox-macos-permissive-proxied.sb +8 -0
  64. package/bundle/sandbox-macos-restrictive-open.sb +1 -0
  65. package/bundle/sandbox-macos-restrictive-proxied.sb +1 -0
  66. package/bundle/sandbox-macos-strict-open.sb +1 -0
  67. package/bundle/sandbox-macos-strict-proxied.sb +1 -0
  68. package/bundle/{start-IXQ2E7L6.js → start-7GJH3MKY.js} +6 -6
  69. package/bundle/{start-YEKGRZVH.js → start-JSVKPUTV.js} +6 -6
  70. package/bundle/{start-DFHM4HI4.js → start-N33LF5WK.js} +6 -6
  71. 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-KKKD4FID.js";
10
- import "./chunk-44PCK4QK.js";
11
- import "./chunk-WEP47ZZU.js";
12
- import "./chunk-L57AYV6U.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-2P73372G.js");
110
- const { FatalError, writeToStderr } = await import("./dist-OYZDNSTI.js");
111
- const { runExitCleanup } = await import("./cleanup-CCR2EOHA.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
  }