@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
@@ -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-QTXJG3I3.js";
4
+ } from "./chunk-GDCMMKZ2.js";
5
5
  import {
6
6
  AuthProviderType,
7
7
  AuthType,
@@ -35,7 +35,7 @@ import {
35
35
  partListUnionToString,
36
36
  require_strip_json_comments,
37
37
  sanitizeFilenamePart
38
- } from "./chunk-LAR4JEC7.js";
38
+ } from "./chunk-DWMZSQYG.js";
39
39
  import {
40
40
  __commonJS,
41
41
  __export,
@@ -31297,14 +31297,11 @@ function sanitizeForDisplay(str, maxLength) {
31297
31297
  return "";
31298
31298
  }
31299
31299
  let sanitized = stripUnsafeCharacters(str).replace(/\s+/g, " ");
31300
- if (maxLength && sanitized.length > maxLength) {
31301
- sanitized = sanitized.substring(0, maxLength - 3) + "...";
31300
+ if (maxLength && cpLen(sanitized) > maxLength) {
31301
+ sanitized = cpSlice(sanitized, 0, Math.max(0, maxLength - 3)) + "...";
31302
31302
  }
31303
31303
  return sanitized;
31304
31304
  }
31305
- function normalizeEscapedNewlines(value) {
31306
- return value.replace(/\\r\\n/g, "\n").replace(/\\n/g, "\n");
31307
- }
31308
31305
  var stringWidthCache = new import_lru_cache.default(
31309
31306
  LRU_BUFFER_PERF_CACHE_LIMIT
31310
31307
  );
@@ -33438,6 +33435,7 @@ var Theme = class _Theme {
33438
33435
  }
33439
33436
  };
33440
33437
  function createCustomTheme(customTheme) {
33438
+ const focusColor = customTheme.ui?.focus ?? customTheme.status?.success ?? customTheme.AccentGreen ?? "#3CA84B";
33441
33439
  const colors = {
33442
33440
  type: "custom",
33443
33441
  Background: customTheme.background?.primary ?? customTheme.Background ?? "",
@@ -33470,11 +33468,10 @@ function createCustomTheme(customTheme) {
33470
33468
  ),
33471
33469
  FocusBackground: interpolateColor(
33472
33470
  customTheme.background?.primary ?? customTheme.Background ?? "",
33473
- customTheme.status?.success ?? customTheme.AccentGreen ?? "#3CA84B",
33474
- // Fallback to a default green if not found
33471
+ focusColor,
33475
33472
  DEFAULT_SELECTION_OPACITY
33476
33473
  ),
33477
- FocusColor: customTheme.ui?.focus ?? customTheme.AccentGreen,
33474
+ FocusColor: focusColor,
33478
33475
  GradientColors: customTheme.ui?.gradient ?? customTheme.GradientColors
33479
33476
  };
33480
33477
  const rawMappings = {
@@ -34845,6 +34842,20 @@ var SETTINGS_SCHEMA = {
34845
34842
  description: "Maximum number of user/model/tool turns to keep in a session. -1 means unlimited.",
34846
34843
  showInDialog: true
34847
34844
  },
34845
+ requestTimeoutMs: {
34846
+ type: "number",
34847
+ label: "Request Timeout (ms)",
34848
+ category: "Model",
34849
+ requiresRestart: true,
34850
+ default: void 0,
34851
+ minimum: 1,
34852
+ description: oneLine`
34853
+ How long to wait, in milliseconds, for the API to start responding
34854
+ before a request is aborted and retried. Defaults to 60000. Raise this
34855
+ if long-thinking requests are timing out.
34856
+ `,
34857
+ showInDialog: false
34858
+ },
34848
34859
  summarizeToolOutput: {
34849
34860
  type: "object",
34850
34861
  label: "Summarize Tool Output",
@@ -37007,6 +37018,8 @@ var SETTINGS_SCHEMA_DEFINITIONS = {
37007
37018
  properties: {
37008
37019
  comment: { type: "string" },
37009
37020
  symbol: { type: "string" },
37021
+ active: { type: "string" },
37022
+ focus: { type: "string" },
37010
37023
  gradient: {
37011
37024
  type: "array",
37012
37025
  items: { type: "string" }
@@ -37593,18 +37606,20 @@ function buildObjectShapeFromProperties(properties) {
37593
37606
  }
37594
37607
  return shape;
37595
37608
  }
37596
- function buildPrimitiveSchema(type) {
37609
+ function buildPrimitiveSchema(type, minimum) {
37597
37610
  switch (type) {
37598
37611
  case "string":
37599
37612
  return external_exports.string();
37600
- case "number":
37613
+ case "number": {
37614
+ const numberSchema = minimum !== void 0 ? external_exports.number().min(minimum) : external_exports.number();
37601
37615
  return external_exports.preprocess((val) => {
37602
37616
  if (typeof val === "string" && val.trim() !== "") {
37603
37617
  const num = Number(val);
37604
37618
  if (!isNaN(num)) return num;
37605
37619
  }
37606
37620
  return val;
37607
- }, external_exports.number());
37621
+ }, numberSchema);
37622
+ }
37608
37623
  case "boolean":
37609
37624
  return external_exports.preprocess((val) => {
37610
37625
  if (typeof val === "string") {
@@ -37637,7 +37652,7 @@ function buildZodSchemaFromDefinition(definition) {
37637
37652
  case "string":
37638
37653
  case "number":
37639
37654
  case "boolean":
37640
- baseSchema = buildPrimitiveSchema(definition.type);
37655
+ baseSchema = buildPrimitiveSchema(definition.type, definition.minimum);
37641
37656
  break;
37642
37657
  case "enum": {
37643
37658
  baseSchema = buildEnumSchema(definition.options);
@@ -39172,7 +39187,6 @@ export {
39172
39187
  cpSlice,
39173
39188
  stripUnsafeCharacters,
39174
39189
  sanitizeForDisplay,
39175
- normalizeEscapedNewlines,
39176
39190
  setAmbiguousCharactersWide,
39177
39191
  getCachedStringWidth,
39178
39192
  escapeAnsiCtrlCodes,