@google/gemini-cli 0.68.0 → 0.69.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-UCFNW5IV.js → chunk-2NIO2MYP.js} +1 -1
  2. package/bundle/{chunk-G62RLJX6.js → chunk-2NWFKUZR.js} +2 -2
  3. package/bundle/{chunk-2PZ5W6XG.js → chunk-4ICD47UK.js} +1 -1
  4. package/bundle/{chunk-UWDUE2FI.js → chunk-5WVS3LFE.js} +617 -228
  5. package/bundle/{chunk-U4HHML7H.js → chunk-66UT6FAS.js} +7 -2
  6. package/bundle/chunk-6CG4XKVB.js +65 -0
  7. package/bundle/chunk-6MSIVBAV.js +65 -0
  8. package/bundle/{chunk-O3LBFTXB.js → chunk-76IL5AQS.js} +1 -1
  9. package/bundle/{chunk-V6V4NDBB.js → chunk-7JVLRJNT.js} +7 -2
  10. package/bundle/{chunk-ASDLQWJU.js → chunk-BBQ3J3KD.js} +617 -228
  11. package/bundle/chunk-CU3LIREC.js +65 -0
  12. package/bundle/{chunk-AS7AQWDX.js → chunk-E2O7673V.js} +3 -3
  13. package/bundle/{chunk-MMZD3Z6P.js → chunk-FZXMW23P.js} +1 -1
  14. package/bundle/{chunk-MGSUDKTT.js → chunk-HFG3LZOT.js} +22 -6
  15. package/bundle/{chunk-UTAAT53A.js → chunk-KZYASN6P.js} +1 -1
  16. package/bundle/{chunk-AAYJUGGU.js → chunk-L7UQY2JQ.js} +22 -6
  17. package/bundle/{chunk-MQCXDY7Q.js → chunk-MJHJIOO6.js} +2 -2
  18. package/bundle/{chunk-VFM6AETN.js → chunk-RPOY63FV.js} +22 -6
  19. package/bundle/{chunk-X6GKQ37B.js → chunk-RRELGD6D.js} +1 -1
  20. package/bundle/{chunk-LIL3SDSL.js → chunk-SM722TVE.js} +3 -3
  21. package/bundle/{chunk-QOY4W5DI.js → chunk-TEYXLQ5H.js} +617 -228
  22. package/bundle/{chunk-NWIW5RB7.js → chunk-TO7WASPI.js} +2 -2
  23. package/bundle/{chunk-2OHBIZ5H.js → chunk-TPD3RZ2B.js} +4479 -1925
  24. package/bundle/{chunk-QONVGJUH.js → chunk-VWFWPAOZ.js} +7 -2
  25. package/bundle/{chunk-RCB6BI5H.js → chunk-X4P3RZYU.js} +4357 -1897
  26. package/bundle/{chunk-55ZBMEMI.js → chunk-XXN6WBQW.js} +3 -3
  27. package/bundle/{chunk-WBPQP5N5.js → chunk-Y4PW6PYG.js} +4479 -1925
  28. package/bundle/{cleanup-CE7NXWQQ.js → cleanup-4RG2PSND.js} +2 -2
  29. package/bundle/{cleanup-S55R4M4P.js → cleanup-QM4BFPJ4.js} +2 -2
  30. package/bundle/{cleanup-VK774HYR.js → cleanup-XYZT64H7.js} +2 -2
  31. package/bundle/{core-H54RSSWF.js → core-3UXW77KZ.js} +35 -1
  32. package/bundle/{core-3WSGSBP4.js → core-JN57UMDL.js} +35 -1
  33. package/bundle/{devtoolsService-3D2MEPRK.js → devtoolsService-K3FKQFZP.js} +2 -2
  34. package/bundle/{devtoolsService-IY5CMY5M.js → devtoolsService-QLI75YCI.js} +2 -2
  35. package/bundle/{devtoolsService-SMGKHHHC.js → devtoolsService-XZRXARUU.js} +2 -2
  36. package/bundle/{dist-7ZMVG6FV.js → dist-RVQZS637.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-5QTHC2BU.js +14 -0
  46. package/bundle/formatError-I6YST2IJ.js +14 -0
  47. package/bundle/formatError-R5NIXYBT.js +14 -0
  48. package/bundle/{gemini-QXW4BNRT.js → gemini-BCCY3LUV.js} +493 -132
  49. package/bundle/{gemini-Q2FNZWQG.js → gemini-SS7CDNKE.js} +493 -132
  50. package/bundle/{gemini-TPI2JZF4.js → gemini-VN2552TI.js} +493 -132
  51. package/bundle/gemini.js +14 -13
  52. package/bundle/{interactiveCli-Z4BMA3IE.js → interactiveCli-MX4SNKPZ.js} +1641 -1208
  53. package/bundle/{interactiveCli-ZJ2ZELJM.js → interactiveCli-SGZ2VGTY.js} +1641 -1208
  54. package/bundle/{interactiveCli-HTFX4T7K.js → interactiveCli-X6WWC2C6.js} +1641 -1208
  55. package/bundle/{liteRtServerManager-P72TRVMO.js → liteRtServerManager-6PM4BXYU.js} +4 -4
  56. package/bundle/{liteRtServerManager-YZZCYJ4U.js → liteRtServerManager-CAJIW3PE.js} +4 -4
  57. package/bundle/{liteRtServerManager-NYOO2WQ4.js → liteRtServerManager-FQPKIHVD.js} +4 -4
  58. package/bundle/{oauth2-provider-PBHT3VAC.js → oauth2-provider-D4UNDFN3.js} +1 -1
  59. package/bundle/{oauth2-provider-YPP5K6XW.js → oauth2-provider-RIS25NZW.js} +1 -1
  60. package/bundle/{oauth2-provider-OGNVT4MV.js → oauth2-provider-T3DF3FTA.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-ADAUXBCX.js → start-76F65FZ5.js} +6 -6
  69. package/bundle/{start-UNCB4DQS.js → start-FVNQP7EB.js} +6 -6
  70. package/bundle/{start-53A5BH5A.js → start-WSOZZWBK.js} +6 -6
  71. package/package.json +1 -1
@@ -1,11 +1,12 @@
1
1
  const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
2
2
  import {
3
3
  ExitCodes,
4
+ ShellExecutionService,
4
5
  Storage,
5
6
  isTelemetrySdkInitialized,
6
7
  resetBrowserSession,
7
8
  shutdownTelemetry
8
- } from "./chunk-2OHBIZ5H.js";
9
+ } from "./chunk-X4P3RZYU.js";
9
10
 
10
11
  // packages/cli/src/utils/cleanup.ts
11
12
  import { promises as fs } from "node:fs";
@@ -87,6 +88,10 @@ async function runExitCleanup() {
87
88
  await resetBrowserSession();
88
89
  } catch {
89
90
  }
91
+ try {
92
+ await ShellExecutionService.cleanupAllActiveProcesses();
93
+ } catch {
94
+ }
90
95
  if (configForTelemetry) {
91
96
  try {
92
97
  await configForTelemetry.dispose();
@@ -118,7 +123,7 @@ async function gracefulShutdown(reason) {
118
123
  }
119
124
  isShuttingDown = true;
120
125
  await runExitCleanup();
121
- const exitCode = reason === "SIGINT" ? 130 : reason === "SIGTERM" ? 143 : ExitCodes.SUCCESS;
126
+ const exitCode = reason === "SIGINT" ? 130 : reason === "SIGTERM" ? 143 : reason === "SIGHUP" ? 129 : ExitCodes.SUCCESS;
122
127
  process.exit(exitCode);
123
128
  }
124
129
  function setupSignalHandlers() {