@google/gemini-cli 0.70.0 → 0.71.0-nightly.20261121.geecccfcd5

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 (77) hide show
  1. package/bundle/{chunk-V4HIE5G5.js → chunk-3IQPEEFT.js} +1 -1
  2. package/bundle/{chunk-FHK4RNCX.js → chunk-3OVOJOQV.js} +7 -7
  3. package/bundle/{chunk-SPAMAY26.js → chunk-5J2X3GYT.js} +1 -1
  4. package/bundle/{chunk-UF44X63P.js → chunk-66M6QVYR.js} +782 -323
  5. package/bundle/{chunk-37D3S3FZ.js → chunk-6FOUJKOM.js} +878 -371
  6. package/bundle/{chunk-YOEWNBDC.js → chunk-74F5ZRXI.js} +12 -5
  7. package/bundle/{chunk-LMBUPWFC.js → chunk-7WYEB7FO.js} +8765 -15613
  8. package/bundle/{chunk-6IKD2NB3.js → chunk-A3SNIZ4K.js} +1 -1
  9. package/bundle/{chunk-AMHNNZY2.js → chunk-BVNLNGFD.js} +7 -7
  10. package/bundle/{chunk-5VFAWK3F.js → chunk-DC6NT336.js} +1 -1
  11. package/bundle/{chunk-CMKRWIX6.js → chunk-DKKO776D.js} +71 -58
  12. package/bundle/{chunk-WRWAVEME.js → chunk-EUUDSNXQ.js} +1 -1
  13. package/bundle/{chunk-KV6XIC2Z.js → chunk-GMYJWERY.js} +1 -1
  14. package/bundle/{chunk-EG2BSKPF.js → chunk-HQSLNBBU.js} +1 -1
  15. package/bundle/{chunk-LMNAB62M.js → chunk-JWRXMN7H.js} +12 -5
  16. package/bundle/{chunk-GFBMTAPD.js → chunk-L2ISE4LK.js} +18 -9
  17. package/bundle/chunk-LS3EWJTC.js +60338 -0
  18. package/bundle/{chunk-4BWP3TDK.js → chunk-NLZKOWER.js} +9 -8
  19. package/bundle/{chunk-BOIBJEIO.js → chunk-OM5Z3ZRO.js} +3 -3
  20. package/bundle/{chunk-7JS2T75Z.js → chunk-OQHA6SOK.js} +1 -1
  21. package/bundle/{chunk-FXAACYC3.js → chunk-QADAHCRT.js} +1 -1
  22. package/bundle/{chunk-VHXUWMGE.js → chunk-QVVBLU5B.js} +2 -2
  23. package/bundle/{chunk-CB37EK5Y.js → chunk-QWS2TBZG.js} +3 -3
  24. package/bundle/{chunk-3VGGGCOZ.js → chunk-RJEQTG6S.js} +2 -2
  25. package/bundle/chunk-S53XQOHZ.js +512 -0
  26. package/bundle/{chunk-QYKA4YD7.js → chunk-SLTPPXVT.js} +3 -3
  27. package/bundle/{chunk-G6SC5BOV.js → chunk-TE62WOO3.js} +1 -1
  28. package/bundle/chunk-V2F2BV3A.js +118 -0
  29. package/bundle/chunk-VTIY77BF.js +1571 -0
  30. package/bundle/chunk-XAXLQ5BJ.js +65 -0
  31. package/bundle/{chunk-JLKRLYZG.js → chunk-XPXAWJCB.js} +2 -2
  32. package/bundle/chunk-Y5DW673N.js +420386 -0
  33. package/bundle/chunk-YEEWGYBU.js +1962 -0
  34. package/bundle/chunk-YVHZS4VP.js +190 -0
  35. package/bundle/chunk-YVZ2JHAE.js +40031 -0
  36. package/bundle/{chunk-RFQXG324.js → chunk-YYWNIP3F.js} +1 -1
  37. package/bundle/{cleanup-BMYAIPAL.js → cleanup-3C2E3PSM.js} +2 -2
  38. package/bundle/{cleanup-CWOSCK57.js → cleanup-4IYCYTUB.js} +2 -2
  39. package/bundle/{cleanup-JTPRPYIQ.js → cleanup-NXI65SJI.js} +2 -2
  40. package/bundle/cleanup-UNQWTWUR.js +34 -0
  41. package/bundle/{core-XZECNCR2.js → core-DQSJHYG4.js} +31 -1
  42. package/bundle/{devtoolsService-ER22TM2Y.js → devtoolsService-4TYJS6M3.js} +2 -2
  43. package/bundle/{devtoolsService-O5VD5YWD.js → devtoolsService-5PXTVI7M.js} +4 -3
  44. package/bundle/{devtoolsService-WNJOZ7ZT.js → devtoolsService-NOXMAH56.js} +2 -2
  45. package/bundle/devtoolsService-UZFFGBEG.js +919 -0
  46. package/bundle/{core-HYVGBZPP.js → dist-VWT5M5DY.js} +31 -1
  47. package/bundle/{dist-75NDR3EX.js → dist-YHW4CPAY.js} +31 -1
  48. package/bundle/dist-YWJAC3IM.js +2372 -0
  49. package/bundle/docs/changelogs/index.md +46 -0
  50. package/bundle/docs/changelogs/latest.md +82 -100
  51. package/bundle/docs/changelogs/preview.md +82 -115
  52. package/bundle/{formatError-M4GLDFGE.js → formatError-PB6SEHWE.js} +2 -2
  53. package/bundle/{formatError-QOZLAZ32.js → formatError-QRSNJJ27.js} +2 -2
  54. package/bundle/{formatError-FYLLVZDF.js → formatError-UQIP4FYJ.js} +2 -2
  55. package/bundle/formatError-VMFHOWIU.js +14 -0
  56. package/bundle/{gemini-AYDYW6NZ.js → gemini-2SZFXE54.js} +18 -17
  57. package/bundle/{gemini-PG2FEK5D.js → gemini-OAKFBKMR.js} +227 -210
  58. package/bundle/{gemini-FRSP6LA3.js → gemini-TQYJRVJP.js} +18 -17
  59. package/bundle/gemini-XDU3J5JT.js +20021 -0
  60. package/bundle/gemini.js +8 -8
  61. package/bundle/{interactiveCli-76LAQB3B.js → interactiveCli-JWB6WIB2.js} +157 -32
  62. package/bundle/{interactiveCli-BYWR7IEK.js → interactiveCli-L5IOZTYF.js} +157 -32
  63. package/bundle/{interactiveCli-6TVFB4R5.js → interactiveCli-NBZDIAPD.js} +468 -324
  64. package/bundle/interactiveCli-W4IK4C6F.js +36447 -0
  65. package/bundle/{liteRtServerManager-GIRVSE6M.js → liteRtServerManager-GSYRGOB6.js} +4 -4
  66. package/bundle/{liteRtServerManager-KZ62KJW3.js → liteRtServerManager-I7YVNS3P.js} +4 -4
  67. package/bundle/{liteRtServerManager-BYJWS5BO.js → liteRtServerManager-OZPOFTLT.js} +4 -4
  68. package/bundle/liteRtServerManager-YUBDDMLI.js +65 -0
  69. package/bundle/{oauth2-provider-SFFQQ6OE.js → oauth2-provider-A6N22HUD.js} +1 -1
  70. package/bundle/{oauth2-provider-SRH6I6G7.js → oauth2-provider-JAYH53PG.js} +41 -79
  71. package/bundle/oauth2-provider-OUKCCXVS.js +273 -0
  72. package/bundle/{oauth2-provider-ZBFFAIQE.js → oauth2-provider-XADKJYM3.js} +1 -1
  73. package/bundle/{start-PLK5XHJC.js → start-7ZXOELXX.js} +6 -6
  74. package/bundle/{start-Q66LTS3Y.js → start-JF7ODMH2.js} +6 -6
  75. package/bundle/{start-OLEVDFQS.js → start-O7HDURUW.js} +6 -6
  76. package/bundle/start-X3ZAZW66.js +18 -0
  77. package/package.json +1 -1
@@ -0,0 +1,65 @@
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
+ import {
3
+ normalizeError,
4
+ safeSerializeErrorValue
5
+ } from "./chunk-Y5DW673N.js";
6
+
7
+ // packages/cli/src/utils/formatError.ts
8
+ function isCliDebugEnabled(argv = process.argv.slice(2), env = process.env) {
9
+ if ([env["DEBUG"], env["DEBUG_MODE"]].some((v) => v === "true" || v === "1")) {
10
+ return true;
11
+ }
12
+ for (const arg of argv) {
13
+ if (arg === "--") {
14
+ break;
15
+ }
16
+ if (arg === "--debug" || arg === "-d" || arg === "--debug=true" || arg === "--debug=1") {
17
+ return true;
18
+ }
19
+ }
20
+ return false;
21
+ }
22
+ function formatStatusSuffix(message, status) {
23
+ const statusText = typeof status === "string" ? status.trim() : status !== void 0 ? String(status) : "";
24
+ if (!statusText) {
25
+ return "";
26
+ }
27
+ if (message.toLowerCase().includes(statusText.toLowerCase())) {
28
+ return "";
29
+ }
30
+ return ` (Status: ${statusText})`;
31
+ }
32
+ function formatCliError(error, options = {}) {
33
+ const normalized = normalizeError(error);
34
+ const prefix = options.prefix ?? "Error: ";
35
+ const statusSuffix = formatStatusSuffix(
36
+ normalized.message,
37
+ normalized.status
38
+ );
39
+ if (options.debug) {
40
+ if (error instanceof Error && error.stack) {
41
+ const stackStartsWithError = error.stack.startsWith("Error: ") || error.name.endsWith("Error") && error.stack.startsWith(`${error.name}: `);
42
+ const stackPrefix = prefix === "Error: " && stackStartsWithError ? "" : prefix;
43
+ let debugOutput = error.stack.includes(normalized.message) && !statusSuffix ? `${stackPrefix}${error.stack}` : `${prefix}${normalized.message}${statusSuffix}
44
+ ${error.stack}`;
45
+ if (normalized.details !== void 0) {
46
+ debugOutput += `
47
+ Debug Details: ${safeSerializeErrorValue(normalized.details, 2)}`;
48
+ }
49
+ return debugOutput;
50
+ }
51
+ return `${prefix}${normalized.message}${statusSuffix}
52
+ Debug Context: ${safeSerializeErrorValue(normalized.originalError, 2)}`;
53
+ }
54
+ return `${prefix}${normalized.message}${statusSuffix}`;
55
+ }
56
+
57
+ export {
58
+ isCliDebugEnabled,
59
+ formatCliError
60
+ };
61
+ /**
62
+ * @license
63
+ * Copyright 2026 Google LLC
64
+ * SPDX-License-Identifier: Apache-2.0
65
+ */
@@ -1,7 +1,7 @@
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
  runExitCleanup
4
- } from "./chunk-WRWAVEME.js";
4
+ } from "./chunk-HQSLNBBU.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
@@ -17,7 +17,7 @@ import {
17
17
  require_re,
18
18
  require_semver,
19
19
  require_valid
20
- } from "./chunk-37D3S3FZ.js";
20
+ } from "./chunk-Y5DW673N.js";
21
21
  import {
22
22
  __commonJS,
23
23
  __toESM