@google/gemini-cli 0.45.0 → 0.46.0-preview.1

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-SG46YSQ3.js → chunk-24H54ISH.js} +7 -7
  2. package/bundle/{chunk-YI3KORH5.js → chunk-3EC3ZLRQ.js} +2 -2
  3. package/bundle/{chunk-EORX7LYI.js → chunk-3WW2LTMX.js} +1 -1
  4. package/bundle/{chunk-2ARYG3KE.js → chunk-4B7MDBUK.js} +1 -1
  5. package/bundle/{chunk-EUYIPFPA.js → chunk-5CWORGE3.js} +1 -1
  6. package/bundle/{chunk-K6WTIGVC.js → chunk-5IBYZHR7.js} +2 -2
  7. package/bundle/{chunk-TWSSMLUS.js → chunk-7Y6NU65D.js} +1 -1
  8. package/bundle/{chunk-4KOU3QNT.js → chunk-EG7USKV5.js} +8 -5
  9. package/bundle/{chunk-PNU4GACG.js → chunk-EZDKSTIF.js} +2 -2
  10. package/bundle/{chunk-THZMPVCN.js → chunk-GRD2P7HY.js} +1 -1
  11. package/bundle/chunk-HQNVDCXK.js +154 -0
  12. package/bundle/chunk-ILHDA6XU.js +17320 -0
  13. package/bundle/{chunk-6T7N6JF2.js → chunk-ITC7TFJU.js} +156 -50
  14. package/bundle/{chunk-53SRWMUU.js → chunk-JF6RJW53.js} +1 -1
  15. package/bundle/chunk-JPYTHGMI.js +398 -0
  16. package/bundle/{chunk-XV2YFH7B.js → chunk-KOJR46UO.js} +7654 -14056
  17. package/bundle/{chunk-4EBMYFID.js → chunk-KQ4V7ZN4.js} +67 -54
  18. package/bundle/chunk-O3UKVEBS.js +81685 -0
  19. package/bundle/{chunk-VL3FKVC7.js → chunk-ONUDATHO.js} +3 -3
  20. package/bundle/{chunk-N6QPQL7E.js → chunk-QEVRJ7HY.js} +183 -50
  21. package/bundle/{chunk-3TWZMAJU.js → chunk-QFWAILKU.js} +3 -3
  22. package/bundle/{chunk-GVEZJIV3.js → chunk-QMCEWHRR.js} +1 -1
  23. package/bundle/{chunk-IL7J46PP.js → chunk-R4LEIQZM.js} +3 -3
  24. package/bundle/{chunk-JLFE3KRS.js → chunk-RXYIE5L5.js} +1 -1
  25. package/bundle/{chunk-Z5F25543.js → chunk-UM53YDCH.js} +1 -1
  26. package/bundle/{chunk-PXEK5ENZ.js → chunk-VEHSYWQT.js} +9 -8
  27. package/bundle/chunk-VETILJQA.js +1571 -0
  28. package/bundle/chunk-VOFVOS4I.js +118 -0
  29. package/bundle/chunk-WRWCUHAM.js +512 -0
  30. package/bundle/chunk-XVDCGVTF.js +394545 -0
  31. package/bundle/{chunk-HFVEWB6N.js → chunk-YINW7YTJ.js} +1 -1
  32. package/bundle/{chunk-KSNTXH4E.js → chunk-YIOYXRDP.js} +7 -7
  33. package/bundle/{cleanup-3SMSXJJA.js → cleanup-4ZTB4WMN.js} +2 -2
  34. package/bundle/{cleanup-FNQ3LEWG.js → cleanup-7LLX4OFN.js} +2 -2
  35. package/bundle/{cleanup-I56KHTTC.js → cleanup-GI5426XS.js} +2 -2
  36. package/bundle/cleanup-ZBLVGXIK.js +32 -0
  37. package/bundle/{core-KGXBOJTX.js → core-3UQQYNJF.js} +7 -1
  38. package/bundle/{devtoolsService-EW3B2Y63.js → devtoolsService-GJWWZ2KK.js} +2 -2
  39. package/bundle/{devtoolsService-F7PHNBEQ.js → devtoolsService-UNQILSWI.js} +4 -3
  40. package/bundle/devtoolsService-Z2YXVMYF.js +856 -0
  41. package/bundle/{devtoolsService-VFEFRDYG.js → devtoolsService-ZYGDAPOV.js} +2 -2
  42. package/bundle/{dist-2G5KTD32.js → dist-4NVM6I2N.js} +7 -1
  43. package/bundle/{core-AQUUQTX2.js → dist-LIQULVXZ.js} +7 -1
  44. package/bundle/dist-XPP357J7.js +2140 -0
  45. package/bundle/docs/changelogs/index.md +14 -0
  46. package/bundle/docs/changelogs/latest.md +202 -199
  47. package/bundle/docs/changelogs/preview.md +44 -200
  48. package/bundle/docs/issue-and-pr-automation.md +29 -1
  49. package/bundle/docs/reference/configuration.md +71 -0
  50. package/bundle/{gemini-ORQHD633.js → gemini-5WY2YO7R.js} +18 -15
  51. package/bundle/{gemini-JMMBFICD.js → gemini-7GZVH4VW.js} +216 -197
  52. package/bundle/{gemini-4KS2EZX6.js → gemini-QDOVPRKF.js} +18 -15
  53. package/bundle/gemini-RBKWBGCC.js +16409 -0
  54. package/bundle/gemini.js +7 -7
  55. package/bundle/{interactiveCli-XUZZOZXX.js → interactiveCli-BMKHWEH4.js} +29 -13
  56. package/bundle/{interactiveCli-ESB66RW7.js → interactiveCli-OEFOYFJU.js} +335 -300
  57. package/bundle/interactiveCli-OGE5OTZB.js +34742 -0
  58. package/bundle/{interactiveCli-ZJXV4DW7.js → interactiveCli-W3CMLQIM.js} +29 -13
  59. package/bundle/{liteRtServerManager-HELKQKOZ.js → liteRtServerManager-3QOJEGNL.js} +4 -4
  60. package/bundle/{liteRtServerManager-RNNHEQJI.js → liteRtServerManager-HPVNUYFX.js} +4 -4
  61. package/bundle/{liteRtServerManager-DORIWEMR.js → liteRtServerManager-Q6LTEYH4.js} +4 -4
  62. package/bundle/liteRtServerManager-YL4YRHOA.js +65 -0
  63. package/bundle/{oauth2-provider-2IJNOFOO.js → oauth2-provider-3WXIASQA.js} +1 -1
  64. package/bundle/{oauth2-provider-7N4OFPTL.js → oauth2-provider-CTPS7JLT.js} +1 -1
  65. package/bundle/{oauth2-provider-YYLBPESU.js → oauth2-provider-K52EY6RG.js} +38 -72
  66. package/bundle/oauth2-provider-PJJE326A.js +235 -0
  67. package/bundle/{start-IGG6LDST.js → start-25W6VZG6.js} +6 -6
  68. package/bundle/{start-R7DTCFCN.js → start-JBJSIKIB.js} +6 -6
  69. package/bundle/{start-66KF6MVV.js → start-PK22QMBT.js} +6 -6
  70. package/bundle/start-XAEHV6FV.js +18 -0
  71. 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-K6WTIGVC.js";
8
- import "./chunk-Z5F25543.js";
9
- import "./chunk-EORX7LYI.js";
10
- import "./chunk-6T7N6JF2.js";
7
+ } from "./chunk-JPYTHGMI.js";
8
+ import "./chunk-WRWCUHAM.js";
9
+ import "./chunk-7Y6NU65D.js";
10
+ import "./chunk-ITC7TFJU.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-ORQHD633.js");
119
- const { FatalError, writeToStderr } = await import("./dist-2G5KTD32.js");
120
- const { runExitCleanup } = await import("./cleanup-I56KHTTC.js");
118
+ const { main } = await import("./gemini-5WY2YO7R.js");
119
+ const { FatalError, writeToStderr } = await import("./dist-LIQULVXZ.js");
120
+ const { runExitCleanup } = await import("./cleanup-4ZTB4WMN.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-SG46YSQ3.js";
158
+ } from "./chunk-24H54ISH.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-53SRWMUU.js";
164
+ } from "./chunk-QMCEWHRR.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-EUYIPFPA.js";
214
+ } from "./chunk-EG7USKV5.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-K6WTIGVC.js";
220
+ } from "./chunk-EZDKSTIF.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-Z5F25543.js";
225
+ } from "./chunk-UM53YDCH.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-EORX7LYI.js";
231
+ } from "./chunk-3WW2LTMX.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-6T7N6JF2.js";
432
+ } from "./chunk-KOJR46UO.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;
@@ -15046,9 +15046,18 @@ function EditorSettingsDialog({
15046
15046
  let editorIndex = currentPreference ? editorItems.findIndex(
15047
15047
  (item) => item.type === currentPreference
15048
15048
  ) : 0;
15049
- if (editorIndex === -1) {
15049
+ const isUnsupportedEditor = editorIndex === -1;
15050
+ if (isUnsupportedEditor) {
15050
15051
  editorIndex = 0;
15051
15052
  }
15053
+ (0, import_react50.useEffect)(() => {
15054
+ if (isUnsupportedEditor && currentPreference) {
15055
+ coreEvents.emitFeedback(
15056
+ "error",
15057
+ `Editor is not supported: ${currentPreference}`
15058
+ );
15059
+ }
15060
+ }, [isUnsupportedEditor, currentPreference]);
15052
15061
  const scopeItems = [
15053
15062
  {
15054
15063
  label: "User Settings",
@@ -16643,6 +16652,7 @@ function ModelDialog({ onClose }) {
16643
16652
  const preferredModel = config?.getModel() || GEMINI_MODEL_ALIAS_AUTO;
16644
16653
  const shouldShowPreviewModels = config?.getHasAccessToPreviewModel() ?? false;
16645
16654
  const useGemini31 = config?.getGemini31LaunchedSync?.() ?? false;
16655
+ const useGemini3_5Flash = config?.hasGemini35FlashGAAccess?.() ?? false;
16646
16656
  const selectedAuthType = settings.merged.security.auth.selectedType;
16647
16657
  const useCustomToolModel = useGemini31 && selectedAuthType === AuthType.USE_GEMINI;
16648
16658
  const manualModelSelected = (0, import_react55.useMemo)(() => {
@@ -16687,6 +16697,7 @@ function ModelDialog({ onClose }) {
16687
16697
  if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
16688
16698
  const allOptions = config.getModelConfigService().getAvailableModelOptions({
16689
16699
  useGemini3_1: useGemini31,
16700
+ useGemini3_5Flash,
16690
16701
  useCustomTools: useCustomToolModel,
16691
16702
  hasAccessToPreview: shouldShowPreviewModels,
16692
16703
  hasAccessToProModel
@@ -16711,7 +16722,8 @@ function ModelDialog({ onClose }) {
16711
16722
  title: getDisplayString(GEMINI_MODEL_ALIAS_AUTO),
16712
16723
  description: getAutoModelDescription(
16713
16724
  shouldShowPreviewModels,
16714
- useGemini31
16725
+ useGemini31,
16726
+ useGemini3_5Flash
16715
16727
  ),
16716
16728
  key: GEMINI_MODEL_ALIAS_AUTO
16717
16729
  },
@@ -16728,6 +16740,7 @@ function ModelDialog({ onClose }) {
16728
16740
  shouldShowPreviewModels,
16729
16741
  manualModelSelected,
16730
16742
  useGemini31,
16743
+ useGemini3_5Flash,
16731
16744
  useCustomToolModel,
16732
16745
  hasAccessToProModel
16733
16746
  ]);
@@ -16735,6 +16748,7 @@ function ModelDialog({ onClose }) {
16735
16748
  if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
16736
16749
  const allOptions = config.getModelConfigService().getAvailableModelOptions({
16737
16750
  useGemini3_1: useGemini31,
16751
+ useGemini3_5Flash,
16738
16752
  useCustomTools: useCustomToolModel,
16739
16753
  hasAccessToPreview: shouldShowPreviewModels,
16740
16754
  hasAccessToProModel
@@ -16808,6 +16822,7 @@ function ModelDialog({ onClose }) {
16808
16822
  }, [
16809
16823
  shouldShowPreviewModels,
16810
16824
  useGemini31,
16825
+ useGemini3_5Flash,
16811
16826
  useCustomToolModel,
16812
16827
  hasAccessToProModel,
16813
16828
  config
@@ -22619,7 +22634,8 @@ var WITTY_LOADING_PHRASES = [
22619
22634
  "Have you tried turning it off and on again? (The loading screen, not me.)",
22620
22635
  "Constructing additional pylons",
22621
22636
  "New line? That\u2019s Ctrl+J.",
22622
- "Releasing the HypnoDrones"
22637
+ "Releasing the HypnoDrones",
22638
+ "Pushing the button, Frank."
22623
22639
  ];
22624
22640
 
22625
22641
  // packages/cli/src/ui/hooks/usePhraseCycler.ts
@@ -33721,7 +33737,7 @@ ${queuedText}` : queuedText;
33721
33737
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33722
33738
  if (settings.merged.general.devtools) {
33723
33739
  void (async () => {
33724
- const { toggleDevToolsPanel } = await import("./devtoolsService-EW3B2Y63.js");
33740
+ const { toggleDevToolsPanel } = await import("./devtoolsService-UNQILSWI.js");
33725
33741
  await toggleDevToolsPanel(
33726
33742
  config,
33727
33743
  showErrorDetails,