@google/gemini-cli 0.67.0-preview.0 → 0.68.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 (58) hide show
  1. package/README.md +18 -24
  2. package/bundle/{chunk-4HG5TEPY.js → chunk-44PCK4QK.js} +1 -1
  3. package/bundle/{chunk-QVUC4J7B.js → chunk-6A5BTTNC.js} +9 -11
  4. package/bundle/{chunk-BFZQO5OI.js → chunk-B2FKXXUH.js} +327 -106
  5. package/bundle/{chunk-GTLUHCZL.js → chunk-BKVNBJ5C.js} +327 -106
  6. package/bundle/{chunk-IQFMOPBP.js → chunk-CXMHAFLN.js} +2 -2
  7. package/bundle/{chunk-76P7AV5J.js → chunk-G7EMTV2Q.js} +327 -106
  8. package/bundle/{chunk-VIWQUHCM.js → chunk-HRM7UWGB.js} +9 -11
  9. package/bundle/{chunk-WTMW35TZ.js → chunk-JMHCFAD6.js} +1 -1
  10. package/bundle/{chunk-WANMK7VA.js → chunk-KKKD4FID.js} +2 -2
  11. package/bundle/{chunk-5FYAQBC3.js → chunk-L57AYV6U.js} +1558 -996
  12. package/bundle/{chunk-6HF2HP2S.js → chunk-LQDISFTJ.js} +2 -2
  13. package/bundle/{chunk-R6BM7NWC.js → chunk-ODU7Z2RJ.js} +1 -1
  14. package/bundle/{chunk-THOV46FY.js → chunk-OZOUOK43.js} +1 -1
  15. package/bundle/{chunk-FPCAOQBY.js → chunk-Q76ZDILI.js} +3 -3
  16. package/bundle/{chunk-EAO5GUJT.js → chunk-RCF66HCI.js} +1625 -1006
  17. package/bundle/{chunk-FYX6LSG6.js → chunk-RD2EMHV2.js} +1 -1
  18. package/bundle/{chunk-QPO46AOD.js → chunk-VBHMFLBY.js} +1 -1
  19. package/bundle/{chunk-2BG2OMW3.js → chunk-VCO4TMD6.js} +9 -11
  20. package/bundle/{chunk-GI2BMP6K.js → chunk-WEP47ZZU.js} +1 -1
  21. package/bundle/{chunk-RNBD6XQX.js → chunk-XPTXBYQQ.js} +3 -3
  22. package/bundle/{chunk-SJ64DOGM.js → chunk-XVNEFQR3.js} +1 -1
  23. package/bundle/{chunk-JLA2J5MI.js → chunk-YPPJDFYP.js} +3 -3
  24. package/bundle/{chunk-SAQV5Q3G.js → chunk-ZEK4UYYW.js} +1 -1
  25. package/bundle/{chunk-HWPQINPO.js → chunk-ZZOOHVBL.js} +1627 -1008
  26. package/bundle/{cleanup-QXMGRCCJ.js → cleanup-CCR2EOHA.js} +2 -2
  27. package/bundle/{cleanup-R3QZGL6L.js → cleanup-OQV2G5Y3.js} +2 -2
  28. package/bundle/{cleanup-S6DWGSDA.js → cleanup-T24OFMOA.js} +2 -2
  29. package/bundle/{core-NQRYED5S.js → core-NQRKBS47.js} +3 -1
  30. package/bundle/{dist-XT4ZXTSC.js → core-UIPNZ5VU.js} +3 -1
  31. package/bundle/{devtoolsService-GPRO4RRU.js → devtoolsService-3G5ZA3JV.js} +2 -2
  32. package/bundle/{devtoolsService-WR3IFLZC.js → devtoolsService-EWNQDTC7.js} +2 -2
  33. package/bundle/{devtoolsService-ALST4BXH.js → devtoolsService-V3OEHE5V.js} +2 -2
  34. package/bundle/{core-3N7UGMI2.js → dist-OYZDNSTI.js} +3 -1
  35. package/bundle/docs/changelogs/index.md +24 -0
  36. package/bundle/docs/changelogs/latest.md +83 -90
  37. package/bundle/docs/changelogs/preview.md +89 -87
  38. package/bundle/docs/cli/sandbox.md +8 -2
  39. package/bundle/docs/cli/themes.md +6 -3
  40. package/bundle/docs/extensions/releasing.md +32 -0
  41. package/bundle/docs/reference/configuration.md +2 -10
  42. package/bundle/{gemini-K3EMSEQ5.js → gemini-2P73372G.js} +122 -24
  43. package/bundle/{gemini-MWKDIT7M.js → gemini-FSHMUCSM.js} +122 -24
  44. package/bundle/{gemini-5DCBUXWG.js → gemini-YFCTZ76S.js} +121 -23
  45. package/bundle/gemini.js +7 -7
  46. package/bundle/{interactiveCli-3B2SSFOJ.js → interactiveCli-F5RRE2VJ.js} +1350 -1145
  47. package/bundle/{interactiveCli-63JD5B2Z.js → interactiveCli-I75IWUIA.js} +1350 -1145
  48. package/bundle/{interactiveCli-QUIZ4FA2.js → interactiveCli-X54KN2EM.js} +1350 -1145
  49. package/bundle/{liteRtServerManager-M6NTFF5C.js → liteRtServerManager-FLPMMDNM.js} +4 -4
  50. package/bundle/{liteRtServerManager-QHOOPEJV.js → liteRtServerManager-JTOIS4KU.js} +4 -4
  51. package/bundle/{liteRtServerManager-AQUTLRTC.js → liteRtServerManager-UVQ2I6NL.js} +4 -4
  52. package/bundle/{oauth2-provider-3JCCMSND.js → oauth2-provider-AYO4BU7A.js} +1 -1
  53. package/bundle/{oauth2-provider-X55SWENY.js → oauth2-provider-NCQY7TJE.js} +1 -1
  54. package/bundle/{oauth2-provider-GCJTOYXK.js → oauth2-provider-VMBYZOC7.js} +1 -1
  55. package/bundle/{start-VKITAPOP.js → start-DFHM4HI4.js} +6 -6
  56. package/bundle/{start-X73XUSSH.js → start-IXQ2E7L6.js} +6 -6
  57. package/bundle/{start-4QIXXTMW.js → start-YEKGRZVH.js} +6 -6
  58. package/package.json +1 -1
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-HWPQINPO.js";
8
+ } from "./chunk-RCF66HCI.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -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
  checkExhaustive
4
- } from "./chunk-EAO5GUJT.js";
4
+ } from "./chunk-RCF66HCI.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __toESM
@@ -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
  require_react
4
- } from "./chunk-4HG5TEPY.js";
4
+ } from "./chunk-44PCK4QK.js";
5
5
  import {
6
6
  AuthProviderType,
7
7
  AuthType,
@@ -37,7 +37,7 @@ import {
37
37
  partListUnionToString,
38
38
  require_strip_json_comments,
39
39
  sanitizeFilenamePart
40
- } from "./chunk-5FYAQBC3.js";
40
+ } from "./chunk-L57AYV6U.js";
41
41
  import {
42
42
  __commonJS,
43
43
  __export,
@@ -31299,14 +31299,11 @@ function sanitizeForDisplay(str, maxLength) {
31299
31299
  return "";
31300
31300
  }
31301
31301
  let sanitized = stripUnsafeCharacters(str).replace(/\s+/g, " ");
31302
- if (maxLength && sanitized.length > maxLength) {
31303
- sanitized = sanitized.substring(0, maxLength - 3) + "...";
31302
+ if (maxLength && cpLen(sanitized) > maxLength) {
31303
+ sanitized = cpSlice(sanitized, 0, Math.max(0, maxLength - 3)) + "...";
31304
31304
  }
31305
31305
  return sanitized;
31306
31306
  }
31307
- function normalizeEscapedNewlines(value) {
31308
- return value.replace(/\\r\\n/g, "\n").replace(/\\n/g, "\n");
31309
- }
31310
31307
  var stringWidthCache = new import_lru_cache.default(
31311
31308
  LRU_BUFFER_PERF_CACHE_LIMIT
31312
31309
  );
@@ -33440,6 +33437,7 @@ var Theme = class _Theme {
33440
33437
  }
33441
33438
  };
33442
33439
  function createCustomTheme(customTheme) {
33440
+ const focusColor = customTheme.ui?.focus ?? customTheme.status?.success ?? customTheme.AccentGreen ?? "#3CA84B";
33443
33441
  const colors = {
33444
33442
  type: "custom",
33445
33443
  Background: customTheme.background?.primary ?? customTheme.Background ?? "",
@@ -33472,11 +33470,10 @@ function createCustomTheme(customTheme) {
33472
33470
  ),
33473
33471
  FocusBackground: interpolateColor(
33474
33472
  customTheme.background?.primary ?? customTheme.Background ?? "",
33475
- customTheme.status?.success ?? customTheme.AccentGreen ?? "#3CA84B",
33476
- // Fallback to a default green if not found
33473
+ focusColor,
33477
33474
  DEFAULT_SELECTION_OPACITY
33478
33475
  ),
33479
- FocusColor: customTheme.ui?.focus ?? customTheme.AccentGreen,
33476
+ FocusColor: focusColor,
33480
33477
  GradientColors: customTheme.ui?.gradient ?? customTheme.GradientColors
33481
33478
  };
33482
33479
  const rawMappings = {
@@ -37009,6 +37006,8 @@ var SETTINGS_SCHEMA_DEFINITIONS = {
37009
37006
  properties: {
37010
37007
  comment: { type: "string" },
37011
37008
  symbol: { type: "string" },
37009
+ active: { type: "string" },
37010
+ focus: { type: "string" },
37012
37011
  gradient: {
37013
37012
  type: "array",
37014
37013
  items: { type: "string" }
@@ -39174,7 +39173,6 @@ export {
39174
39173
  cpSlice,
39175
39174
  stripUnsafeCharacters,
39176
39175
  sanitizeForDisplay,
39177
- normalizeEscapedNewlines,
39178
39176
  setAmbiguousCharactersWide,
39179
39177
  getCachedStringWidth,
39180
39178
  escapeAnsiCtrlCodes,
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-EAO5GUJT.js";
8
+ } from "./chunk-L57AYV6U.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  exitCli,
4
4
  require_source
5
- } from "./chunk-SJ64DOGM.js";
5
+ } from "./chunk-XVNEFQR3.js";
6
6
  import {
7
7
  DEFAULT_PORT,
8
8
  SERVER_START_WAIT_MS,
@@ -14,10 +14,10 @@ import {
14
14
  isServerRunning,
15
15
  resolveGemmaConfig,
16
16
  writeServerProcessInfo
17
- } from "./chunk-2BG2OMW3.js";
17
+ } from "./chunk-6A5BTTNC.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-5FYAQBC3.js";
20
+ } from "./chunk-ZZOOHVBL.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -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-THOV46FY.js";
4
+ } from "./chunk-OZOUOK43.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  exitCli,
4
4
  require_source
5
- } from "./chunk-R6BM7NWC.js";
5
+ } from "./chunk-ODU7Z2RJ.js";
6
6
  import {
7
7
  DEFAULT_PORT,
8
8
  SERVER_START_WAIT_MS,
@@ -14,10 +14,10 @@ import {
14
14
  isServerRunning,
15
15
  resolveGemmaConfig,
16
16
  writeServerProcessInfo
17
- } from "./chunk-VIWQUHCM.js";
17
+ } from "./chunk-VCO4TMD6.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-EAO5GUJT.js";
20
+ } from "./chunk-L57AYV6U.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -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
  checkExhaustive
4
- } from "./chunk-HWPQINPO.js";
4
+ } from "./chunk-ZZOOHVBL.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __toESM