@google/gemini-cli 0.46.0-preview.0 → 0.46.0-preview.2

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 (67) hide show
  1. package/bundle/{chunk-4AGOZ7LL.js → chunk-22XWYJCL.js} +7 -7
  2. package/bundle/{chunk-2GMVQS2Q.js → chunk-27JE2WT6.js} +1 -1
  3. package/bundle/{chunk-TDYUKPZH.js → chunk-2K6L5FOH.js} +1 -1
  4. package/bundle/{chunk-QFEJQS5X.js → chunk-3RBWPCUC.js} +1 -1
  5. package/bundle/{chunk-MFYAVF7Y.js → chunk-5IDNG2OG.js} +67 -54
  6. package/bundle/{chunk-BOJOJVNV.js → chunk-7JQYEHGG.js} +1 -1
  7. package/bundle/{chunk-J444UQD3.js → chunk-7PDJUYG7.js} +1 -1
  8. package/bundle/{chunk-ZXN4VW7M.js → chunk-B5F4VQB4.js} +1 -1
  9. package/bundle/{chunk-HZNEV3DS.js → chunk-CRQJBWDY.js} +1 -1
  10. package/bundle/{chunk-5LUCCXOB.js → chunk-CWVF4ZTK.js} +1 -1
  11. package/bundle/{chunk-HHFFICNK.js → chunk-E5QEVDYZ.js} +48 -25
  12. package/bundle/{chunk-FIM2LOYZ.js → chunk-EI75YPWJ.js} +42 -25
  13. package/bundle/chunk-IPUQ7EE3.js +81685 -0
  14. package/bundle/{chunk-S2ICEQVC.js → chunk-J5LPI3LE.js} +3 -3
  15. package/bundle/{chunk-RXG3JOOZ.js → chunk-LEOT5EUQ.js} +1 -1
  16. package/bundle/chunk-NV6UIB5A.js +1571 -0
  17. package/bundle/{chunk-XRDSBRG4.js → chunk-O6PTG534.js} +7560 -14072
  18. package/bundle/{chunk-F2LLVPPS.js → chunk-PE7HOVW5.js} +2 -2
  19. package/bundle/chunk-PIZZXDDG.js +154 -0
  20. package/bundle/{chunk-LBE2WKE7.js → chunk-PRRK6JDC.js} +3 -3
  21. package/bundle/{chunk-773AJHDP.js → chunk-QB7YVNGV.js} +7 -7
  22. package/bundle/{chunk-4K3E3G6Z.js → chunk-QW5AOX4N.js} +8 -5
  23. package/bundle/{chunk-HMR43ZX2.js → chunk-R4U5N4EA.js} +2 -2
  24. package/bundle/{chunk-SHFHGDWR.js → chunk-R4UEOSDC.js} +2 -2
  25. package/bundle/{chunk-GTRQQGSJ.js → chunk-RHCHEKOW.js} +1 -1
  26. package/bundle/{chunk-YMNECODB.js → chunk-RS7XVABE.js} +9 -8
  27. package/bundle/{chunk-ZQGZKIDD.js → chunk-SIKHBFAN.js} +3 -3
  28. package/bundle/chunk-UEE43LJM.js +118 -0
  29. package/bundle/chunk-UHZJ6CQN.js +17320 -0
  30. package/bundle/chunk-USOBCNPR.js +394545 -0
  31. package/bundle/chunk-WUZJ6YCQ.js +398 -0
  32. package/bundle/chunk-ZXFPRK6W.js +512 -0
  33. package/bundle/{cleanup-2WXD6UQP.js → cleanup-I5FUY2UQ.js} +2 -2
  34. package/bundle/{cleanup-L3CLNVX6.js → cleanup-OIBS4TJ5.js} +2 -2
  35. package/bundle/{cleanup-SUDL37MT.js → cleanup-RODT76X7.js} +2 -2
  36. package/bundle/cleanup-WY7MMPH7.js +32 -0
  37. package/bundle/{core-VVRQ2GQD.js → core-DU2UPBEJ.js} +3 -1
  38. package/bundle/{devtoolsService-GLW7S6PS.js → devtoolsService-C64GR2SQ.js} +2 -2
  39. package/bundle/{devtoolsService-ZYCBBAV3.js → devtoolsService-EJVCNXD4.js} +2 -2
  40. package/bundle/{devtoolsService-E62WA3CY.js → devtoolsService-LQXWZBCZ.js} +4 -3
  41. package/bundle/devtoolsService-U7Z6S7CA.js +856 -0
  42. package/bundle/{dist-GPCRVPKS.js → dist-CEGGZCD6.js} +3 -1
  43. package/bundle/{core-MOYKPEYV.js → dist-F4ZLD67R.js} +3 -1
  44. package/bundle/dist-XLM4ONR2.js +2140 -0
  45. package/bundle/docs/reference/configuration.md +3 -1
  46. package/bundle/{gemini-KV5CHM4H.js → gemini-3AA27X7W.js} +18 -15
  47. package/bundle/{gemini-2JTOIMGM.js → gemini-D5Y26G7I.js} +18 -15
  48. package/bundle/{gemini-R5NCXCEL.js → gemini-EEFZ4W4N.js} +216 -197
  49. package/bundle/gemini-TPWWVYVB.js +16409 -0
  50. package/bundle/gemini.js +7 -7
  51. package/bundle/{interactiveCli-RMWTSIEN.js → interactiveCli-5L4XUO4D.js} +18 -12
  52. package/bundle/{interactiveCli-HVAQTBJK.js → interactiveCli-B5QE2YQH.js} +18 -12
  53. package/bundle/{interactiveCli-7SIMXKNU.js → interactiveCli-CFKGEXFE.js} +324 -299
  54. package/bundle/interactiveCli-S4W3W3HM.js +34742 -0
  55. package/bundle/{liteRtServerManager-FY23PYSD.js → liteRtServerManager-2IHVDPV4.js} +4 -4
  56. package/bundle/{liteRtServerManager-LDS45QKP.js → liteRtServerManager-7CA6UZB6.js} +4 -4
  57. package/bundle/{liteRtServerManager-BP7XKGNU.js → liteRtServerManager-P4UUE4PT.js} +4 -4
  58. package/bundle/liteRtServerManager-YN3VGMDA.js +65 -0
  59. package/bundle/{oauth2-provider-VVNBQH45.js → oauth2-provider-5IAYEVTS.js} +1 -1
  60. package/bundle/{oauth2-provider-4SSSEI6P.js → oauth2-provider-NQK2KDLL.js} +38 -72
  61. package/bundle/{oauth2-provider-KL44D6HV.js → oauth2-provider-WD62E6UF.js} +1 -1
  62. package/bundle/oauth2-provider-WGTNZKF7.js +235 -0
  63. package/bundle/{start-FRM2XDGC.js → start-AAWVXW3L.js} +6 -6
  64. package/bundle/{start-OEPJINIW.js → start-EHQUCJL4.js} +6 -6
  65. package/bundle/{start-DLEOBFRC.js → start-EJWSTD4L.js} +6 -6
  66. package/bundle/start-LAOVDDQF.js +18 -0
  67. package/package.json +1 -1
package/bundle/gemini.js CHANGED
@@ -4,10 +4,10 @@ import {
4
4
  RELAUNCH_EXIT_CODE,
5
5
  getScriptArgs,
6
6
  getSpawnConfig
7
- } from "./chunk-HMR43ZX2.js";
8
- import "./chunk-GTRQQGSJ.js";
9
- import "./chunk-RXG3JOOZ.js";
10
- import "./chunk-FIM2LOYZ.js";
7
+ } from "./chunk-R4U5N4EA.js";
8
+ import "./chunk-ZXFPRK6W.js";
9
+ import "./chunk-3RBWPCUC.js";
10
+ import "./chunk-USOBCNPR.js";
11
11
  import "./chunk-6HI7VNOG.js";
12
12
  import "./chunk-TUDYL3X4.js";
13
13
  import "./chunk-IUUIT4SU.js";
@@ -115,9 +115,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
115
115
  }
116
116
  }
117
117
  } else {
118
- const { main } = await import("./gemini-KV5CHM4H.js");
119
- const { FatalError, writeToStderr } = await import("./dist-GPCRVPKS.js");
120
- const { runExitCleanup } = await import("./cleanup-L3CLNVX6.js");
118
+ const { main } = await import("./gemini-EEFZ4W4N.js");
119
+ const { FatalError, writeToStderr } = await import("./dist-XLM4ONR2.js");
120
+ const { runExitCleanup } = await import("./cleanup-RODT76X7.js");
121
121
  main().catch(async (error) => {
122
122
  const cleanupTimeout = setTimeout(() => {
123
123
  writeToStderr("Cleanup timed out, forcing exit...\n");
@@ -155,13 +155,13 @@ import {
155
155
  widestLineFromStyledChars,
156
156
  wordBreakStyledChars,
157
157
  wrapStyledChars
158
- } from "./chunk-4AGOZ7LL.js";
158
+ } from "./chunk-5IDNG2OG.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-5LUCCXOB.js";
164
+ } from "./chunk-CRQJBWDY.js";
165
165
  import {
166
166
  ACTIVE_SHELL_MAX_LINES,
167
167
  COMPACT_TOOL_SUBVIEW_MAX_LINES,
@@ -211,24 +211,24 @@ import {
211
211
  stringWidth,
212
212
  stripUnsafeCharacters,
213
213
  toCodePoints
214
- } from "./chunk-J444UQD3.js";
214
+ } from "./chunk-7PDJUYG7.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-HMR43ZX2.js";
220
+ } from "./chunk-R4U5N4EA.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-GTRQQGSJ.js";
225
+ } from "./chunk-ZXFPRK6W.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-RXG3JOOZ.js";
231
+ } from "./chunk-3RBWPCUC.js";
232
232
  import {
233
233
  ACTIVATE_SKILL_TOOL_NAME,
234
234
  AGENT_TOOL_NAME,
@@ -429,7 +429,7 @@ import {
429
429
  validatePlanContent,
430
430
  validatePlanPath,
431
431
  writeToStdout
432
- } from "./chunk-FIM2LOYZ.js";
432
+ } from "./chunk-USOBCNPR.js";
433
433
  import "./chunk-6HI7VNOG.js";
434
434
  import "./chunk-TUDYL3X4.js";
435
435
  import "./chunk-IUUIT4SU.js";
@@ -8262,7 +8262,7 @@ var ModelUsageTable = ({ models }) => {
8262
8262
  Object.entries(models).forEach(([name, metrics]) => {
8263
8263
  rows.push({
8264
8264
  name,
8265
- displayName: name,
8265
+ displayName: getDisplayString(name),
8266
8266
  requests: metrics.api.totalRequests,
8267
8267
  cachedTokens: metrics.tokens.cached.toLocaleString(),
8268
8268
  inputTokens: metrics.tokens.prompt.toLocaleString(),
@@ -8746,7 +8746,7 @@ var ModelStatsDisplay = ({
8746
8746
  },
8747
8747
  ...modelNames.map((name) => ({
8748
8748
  key: name,
8749
- header: name,
8749
+ header: getDisplayString(name),
8750
8750
  flexGrow: 1,
8751
8751
  renderCell: (row) => {
8752
8752
  if (row.isSection) return null;
@@ -10252,7 +10252,7 @@ function useBanner(bannerData) {
10252
10252
  const activeText = warningText ? warningText : defaultText;
10253
10253
  const hashedText = crypto.createHash("sha256").update(activeText).digest("hex");
10254
10254
  const currentBannerCount = bannerCounts[hashedText] || 0;
10255
- const showBanner = activeText !== "" && currentBannerCount < DEFAULT_MAX_BANNER_SHOWN_COUNT;
10255
+ const showBanner = activeText !== "" && (currentBannerCount < DEFAULT_MAX_BANNER_SHOWN_COUNT || activeText.includes("Antigravity"));
10256
10256
  const rawBannerText = showBanner ? activeText : "";
10257
10257
  const bannerText = rawBannerText.replace(/\\n/g, "\n");
10258
10258
  (0, import_react30.useEffect)(() => {
@@ -16652,6 +16652,7 @@ function ModelDialog({ onClose }) {
16652
16652
  const preferredModel = config?.getModel() || GEMINI_MODEL_ALIAS_AUTO;
16653
16653
  const shouldShowPreviewModels = config?.getHasAccessToPreviewModel() ?? false;
16654
16654
  const useGemini31 = config?.getGemini31LaunchedSync?.() ?? false;
16655
+ const useGemini3_5Flash = config?.hasGemini35FlashGAAccess?.() ?? false;
16655
16656
  const selectedAuthType = settings.merged.security.auth.selectedType;
16656
16657
  const useCustomToolModel = useGemini31 && selectedAuthType === AuthType.USE_GEMINI;
16657
16658
  const manualModelSelected = (0, import_react55.useMemo)(() => {
@@ -16696,6 +16697,7 @@ function ModelDialog({ onClose }) {
16696
16697
  if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
16697
16698
  const allOptions = config.getModelConfigService().getAvailableModelOptions({
16698
16699
  useGemini3_1: useGemini31,
16700
+ useGemini3_5Flash,
16699
16701
  useCustomTools: useCustomToolModel,
16700
16702
  hasAccessToPreview: shouldShowPreviewModels,
16701
16703
  hasAccessToProModel
@@ -16720,7 +16722,8 @@ function ModelDialog({ onClose }) {
16720
16722
  title: getDisplayString(GEMINI_MODEL_ALIAS_AUTO),
16721
16723
  description: getAutoModelDescription(
16722
16724
  shouldShowPreviewModels,
16723
- useGemini31
16725
+ useGemini31,
16726
+ useGemini3_5Flash
16724
16727
  ),
16725
16728
  key: GEMINI_MODEL_ALIAS_AUTO
16726
16729
  },
@@ -16737,6 +16740,7 @@ function ModelDialog({ onClose }) {
16737
16740
  shouldShowPreviewModels,
16738
16741
  manualModelSelected,
16739
16742
  useGemini31,
16743
+ useGemini3_5Flash,
16740
16744
  useCustomToolModel,
16741
16745
  hasAccessToProModel
16742
16746
  ]);
@@ -16744,6 +16748,7 @@ function ModelDialog({ onClose }) {
16744
16748
  if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
16745
16749
  const allOptions = config.getModelConfigService().getAvailableModelOptions({
16746
16750
  useGemini3_1: useGemini31,
16751
+ useGemini3_5Flash,
16747
16752
  useCustomTools: useCustomToolModel,
16748
16753
  hasAccessToPreview: shouldShowPreviewModels,
16749
16754
  hasAccessToProModel
@@ -16817,6 +16822,7 @@ function ModelDialog({ onClose }) {
16817
16822
  }, [
16818
16823
  shouldShowPreviewModels,
16819
16824
  useGemini31,
16825
+ useGemini3_5Flash,
16820
16826
  useCustomToolModel,
16821
16827
  hasAccessToProModel,
16822
16828
  config
@@ -33731,7 +33737,7 @@ ${queuedText}` : queuedText;
33731
33737
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33732
33738
  if (settings.merged.general.devtools) {
33733
33739
  void (async () => {
33734
- const { toggleDevToolsPanel } = await import("./devtoolsService-ZYCBBAV3.js");
33740
+ const { toggleDevToolsPanel } = await import("./devtoolsService-EJVCNXD4.js");
33735
33741
  await toggleDevToolsPanel(
33736
33742
  config,
33737
33743
  showErrorDetails,
@@ -155,13 +155,13 @@ import {
155
155
  widestLineFromStyledChars,
156
156
  wordBreakStyledChars,
157
157
  wrapStyledChars
158
- } from "./chunk-MFYAVF7Y.js";
158
+ } from "./chunk-QB7YVNGV.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-HZNEV3DS.js";
164
+ } from "./chunk-NV6UIB5A.js";
165
165
  import {
166
166
  ACTIVE_SHELL_MAX_LINES,
167
167
  COMPACT_TOOL_SUBVIEW_MAX_LINES,
@@ -211,24 +211,24 @@ import {
211
211
  stringWidth,
212
212
  stripUnsafeCharacters,
213
213
  toCodePoints
214
- } from "./chunk-ZXN4VW7M.js";
214
+ } from "./chunk-B5F4VQB4.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-F2LLVPPS.js";
220
+ } from "./chunk-WUZJ6YCQ.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-YMNECODB.js";
225
+ } from "./chunk-2K6L5FOH.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-QFEJQS5X.js";
231
+ } from "./chunk-PIZZXDDG.js";
232
232
  import {
233
233
  ACTIVATE_SKILL_TOOL_NAME,
234
234
  AGENT_TOOL_NAME,
@@ -410,7 +410,7 @@ import {
410
410
  validatePlanContent,
411
411
  validatePlanPath,
412
412
  writeToStdout
413
- } from "./chunk-XRDSBRG4.js";
413
+ } from "./chunk-E5QEVDYZ.js";
414
414
  import "./chunk-6HI7VNOG.js";
415
415
  import "./chunk-TUDYL3X4.js";
416
416
  import "./chunk-IUUIT4SU.js";
@@ -8243,7 +8243,7 @@ var ModelUsageTable = ({ models }) => {
8243
8243
  Object.entries(models).forEach(([name, metrics]) => {
8244
8244
  rows.push({
8245
8245
  name,
8246
- displayName: name,
8246
+ displayName: getDisplayString(name),
8247
8247
  requests: metrics.api.totalRequests,
8248
8248
  cachedTokens: metrics.tokens.cached.toLocaleString(),
8249
8249
  inputTokens: metrics.tokens.prompt.toLocaleString(),
@@ -8727,7 +8727,7 @@ var ModelStatsDisplay = ({
8727
8727
  },
8728
8728
  ...modelNames.map((name) => ({
8729
8729
  key: name,
8730
- header: name,
8730
+ header: getDisplayString(name),
8731
8731
  flexGrow: 1,
8732
8732
  renderCell: (row) => {
8733
8733
  if (row.isSection) return null;
@@ -10233,7 +10233,7 @@ function useBanner(bannerData) {
10233
10233
  const activeText = warningText ? warningText : defaultText;
10234
10234
  const hashedText = crypto.createHash("sha256").update(activeText).digest("hex");
10235
10235
  const currentBannerCount = bannerCounts[hashedText] || 0;
10236
- const showBanner = activeText !== "" && currentBannerCount < DEFAULT_MAX_BANNER_SHOWN_COUNT;
10236
+ const showBanner = activeText !== "" && (currentBannerCount < DEFAULT_MAX_BANNER_SHOWN_COUNT || activeText.includes("Antigravity"));
10237
10237
  const rawBannerText = showBanner ? activeText : "";
10238
10238
  const bannerText = rawBannerText.replace(/\\n/g, "\n");
10239
10239
  (0, import_react30.useEffect)(() => {
@@ -16633,6 +16633,7 @@ function ModelDialog({ onClose }) {
16633
16633
  const preferredModel = config?.getModel() || GEMINI_MODEL_ALIAS_AUTO;
16634
16634
  const shouldShowPreviewModels = config?.getHasAccessToPreviewModel() ?? false;
16635
16635
  const useGemini31 = config?.getGemini31LaunchedSync?.() ?? false;
16636
+ const useGemini3_5Flash = config?.hasGemini35FlashGAAccess?.() ?? false;
16636
16637
  const selectedAuthType = settings.merged.security.auth.selectedType;
16637
16638
  const useCustomToolModel = useGemini31 && selectedAuthType === "gemini-api-key" /* USE_GEMINI */;
16638
16639
  const manualModelSelected = (0, import_react55.useMemo)(() => {
@@ -16677,6 +16678,7 @@ function ModelDialog({ onClose }) {
16677
16678
  if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
16678
16679
  const allOptions = config.getModelConfigService().getAvailableModelOptions({
16679
16680
  useGemini3_1: useGemini31,
16681
+ useGemini3_5Flash,
16680
16682
  useCustomTools: useCustomToolModel,
16681
16683
  hasAccessToPreview: shouldShowPreviewModels,
16682
16684
  hasAccessToProModel
@@ -16701,7 +16703,8 @@ function ModelDialog({ onClose }) {
16701
16703
  title: getDisplayString(GEMINI_MODEL_ALIAS_AUTO),
16702
16704
  description: getAutoModelDescription(
16703
16705
  shouldShowPreviewModels,
16704
- useGemini31
16706
+ useGemini31,
16707
+ useGemini3_5Flash
16705
16708
  ),
16706
16709
  key: GEMINI_MODEL_ALIAS_AUTO
16707
16710
  },
@@ -16718,6 +16721,7 @@ function ModelDialog({ onClose }) {
16718
16721
  shouldShowPreviewModels,
16719
16722
  manualModelSelected,
16720
16723
  useGemini31,
16724
+ useGemini3_5Flash,
16721
16725
  useCustomToolModel,
16722
16726
  hasAccessToProModel
16723
16727
  ]);
@@ -16725,6 +16729,7 @@ function ModelDialog({ onClose }) {
16725
16729
  if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
16726
16730
  const allOptions = config.getModelConfigService().getAvailableModelOptions({
16727
16731
  useGemini3_1: useGemini31,
16732
+ useGemini3_5Flash,
16728
16733
  useCustomTools: useCustomToolModel,
16729
16734
  hasAccessToPreview: shouldShowPreviewModels,
16730
16735
  hasAccessToProModel
@@ -16798,6 +16803,7 @@ function ModelDialog({ onClose }) {
16798
16803
  }, [
16799
16804
  shouldShowPreviewModels,
16800
16805
  useGemini31,
16806
+ useGemini3_5Flash,
16801
16807
  useCustomToolModel,
16802
16808
  hasAccessToProModel,
16803
16809
  config
@@ -33712,7 +33718,7 @@ ${queuedText}` : queuedText;
33712
33718
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33713
33719
  if (settings.merged.general.devtools) {
33714
33720
  void (async () => {
33715
- const { toggleDevToolsPanel } = await import("./devtoolsService-GLW7S6PS.js");
33721
+ const { toggleDevToolsPanel } = await import("./devtoolsService-C64GR2SQ.js");
33716
33722
  await toggleDevToolsPanel(
33717
33723
  config,
33718
33724
  showErrorDetails,