@google/gemini-cli 0.45.0-preview.0 → 0.46.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 (55) hide show
  1. package/bundle/{chunk-Y5REX36P.js → chunk-2GMVQS2Q.js} +1 -1
  2. package/bundle/{chunk-J4QUIOHJ.js → chunk-4AGOZ7LL.js} +7 -7
  3. package/bundle/{chunk-GIXFMPPJ.js → chunk-4K3E3G6Z.js} +1 -1
  4. package/bundle/{chunk-EZCW6IDX.js → chunk-5LUCCXOB.js} +1 -1
  5. package/bundle/{chunk-2RRZM3IR.js → chunk-773AJHDP.js} +7 -7
  6. package/bundle/{chunk-IPQLMJS5.js → chunk-BOJOJVNV.js} +1 -1
  7. package/bundle/{chunk-2O7YSVPU.js → chunk-F2LLVPPS.js} +2 -2
  8. package/bundle/{chunk-4FNXKOEB.js → chunk-FIM2LOYZ.js} +153 -54
  9. package/bundle/{chunk-NOJPXYUJ.js → chunk-GTRQQGSJ.js} +1 -1
  10. package/bundle/{chunk-J7SEBVDD.js → chunk-HHFFICNK.js} +176 -56
  11. package/bundle/{chunk-LUQGJPIY.js → chunk-HMR43ZX2.js} +2 -2
  12. package/bundle/{chunk-4M3TG6ZU.js → chunk-HZNEV3DS.js} +1 -1
  13. package/bundle/{chunk-DMCSPKNM.js → chunk-J444UQD3.js} +1 -1
  14. package/bundle/{chunk-I7UI7NB6.js → chunk-LBE2WKE7.js} +3 -3
  15. package/bundle/{chunk-TH3OOWK4.js → chunk-MFYAVF7Y.js} +7 -7
  16. package/bundle/{chunk-OY6QYVTR.js → chunk-QFEJQS5X.js} +1 -1
  17. package/bundle/{chunk-R5OZKB4U.js → chunk-RXG3JOOZ.js} +1 -1
  18. package/bundle/{chunk-S4CJ6KAO.js → chunk-S2ICEQVC.js} +3 -3
  19. package/bundle/{chunk-N4X4WHSW.js → chunk-SHFHGDWR.js} +2 -2
  20. package/bundle/{chunk-APSDEHHA.js → chunk-TDYUKPZH.js} +1 -1
  21. package/bundle/{chunk-CWAXEILN.js → chunk-XRDSBRG4.js} +174 -54
  22. package/bundle/{chunk-WPCNMQ6J.js → chunk-YMNECODB.js} +1 -1
  23. package/bundle/{chunk-Q3UZDZZV.js → chunk-ZQGZKIDD.js} +3 -3
  24. package/bundle/{chunk-VS2OY6HJ.js → chunk-ZXN4VW7M.js} +1 -1
  25. package/bundle/{cleanup-2WCUS5XU.js → cleanup-2WXD6UQP.js} +2 -2
  26. package/bundle/{cleanup-7FHLTEXT.js → cleanup-L3CLNVX6.js} +2 -2
  27. package/bundle/{cleanup-WGOZFAQJ.js → cleanup-SUDL37MT.js} +2 -2
  28. package/bundle/{core-SIRU2VWJ.js → core-MOYKPEYV.js} +5 -1
  29. package/bundle/{dist-67ZORME5.js → core-VVRQ2GQD.js} +5 -1
  30. package/bundle/{devtoolsService-F5XFL4BF.js → devtoolsService-E62WA3CY.js} +2 -2
  31. package/bundle/{devtoolsService-4Y2RGEUE.js → devtoolsService-GLW7S6PS.js} +2 -2
  32. package/bundle/{devtoolsService-IANYOK3R.js → devtoolsService-ZYCBBAV3.js} +2 -2
  33. package/bundle/{core-LD6MHGD6.js → dist-GPCRVPKS.js} +5 -1
  34. package/bundle/docs/changelogs/index.md +14 -0
  35. package/bundle/docs/changelogs/latest.md +202 -199
  36. package/bundle/docs/changelogs/preview.md +44 -200
  37. package/bundle/docs/issue-and-pr-automation.md +29 -1
  38. package/bundle/docs/reference/configuration.md +69 -0
  39. package/bundle/{gemini-74UML3PJ.js → gemini-2JTOIMGM.js} +14 -14
  40. package/bundle/{gemini-24ENZ343.js → gemini-KV5CHM4H.js} +14 -14
  41. package/bundle/{gemini-5ZI322FJ.js → gemini-R5NCXCEL.js} +13 -13
  42. package/bundle/gemini.js +10 -9
  43. package/bundle/{interactiveCli-BVZLMTVC.js → interactiveCli-7SIMXKNU.js} +20 -10
  44. package/bundle/{interactiveCli-XM5HDVD7.js → interactiveCli-HVAQTBJK.js} +20 -10
  45. package/bundle/{interactiveCli-7GM3U7SA.js → interactiveCli-RMWTSIEN.js} +20 -10
  46. package/bundle/{liteRtServerManager-6N5DYDEQ.js → liteRtServerManager-BP7XKGNU.js} +4 -4
  47. package/bundle/{liteRtServerManager-JVMDH3TN.js → liteRtServerManager-FY23PYSD.js} +4 -4
  48. package/bundle/{liteRtServerManager-3HS3VUPU.js → liteRtServerManager-LDS45QKP.js} +4 -4
  49. package/bundle/{oauth2-provider-U72EWZHQ.js → oauth2-provider-4SSSEI6P.js} +1 -1
  50. package/bundle/{oauth2-provider-WS7LUQ5V.js → oauth2-provider-KL44D6HV.js} +1 -1
  51. package/bundle/{oauth2-provider-RUFABDNL.js → oauth2-provider-VVNBQH45.js} +1 -1
  52. package/bundle/{start-KOAGXRA2.js → start-DLEOBFRC.js} +6 -6
  53. package/bundle/{start-XLIGOOW3.js → start-FRM2XDGC.js} +6 -6
  54. package/bundle/{start-DJ6EBFEA.js → start-OEPJINIW.js} +6 -6
  55. package/package.json +1 -1
@@ -41,18 +41,18 @@ import {
41
41
  updateAllUpdatableExtensions,
42
42
  updateExtension,
43
43
  validateAuthMethod
44
- } from "./chunk-2RRZM3IR.js";
44
+ } from "./chunk-MFYAVF7Y.js";
45
45
  import {
46
46
  appEvents
47
47
  } from "./chunk-5PS3AYFU.js";
48
48
  import {
49
49
  startCommand,
50
50
  startServer
51
- } from "./chunk-Q3UZDZZV.js";
51
+ } from "./chunk-LBE2WKE7.js";
52
52
  import {
53
53
  exitCli,
54
54
  require_source
55
- } from "./chunk-4M3TG6ZU.js";
55
+ } from "./chunk-HZNEV3DS.js";
56
56
  import {
57
57
  DEFAULT_PORT,
58
58
  GEMMA_MODEL_NAME,
@@ -86,11 +86,11 @@ import {
86
86
  readServerProcessInfo,
87
87
  resolveGemmaConfig,
88
88
  saveModelChange
89
- } from "./chunk-GIXFMPPJ.js";
89
+ } from "./chunk-ZXN4VW7M.js";
90
90
  import {
91
91
  RELAUNCH_EXIT_CODE
92
- } from "./chunk-LUQGJPIY.js";
93
- import "./chunk-WPCNMQ6J.js";
92
+ } from "./chunk-F2LLVPPS.js";
93
+ import "./chunk-YMNECODB.js";
94
94
  import {
95
95
  cleanupCheckpoints,
96
96
  registerCleanup,
@@ -99,7 +99,7 @@ import {
99
99
  runExitCleanup,
100
100
  runSyncCleanup,
101
101
  setupSignalHandlers
102
- } from "./chunk-OY6QYVTR.js";
102
+ } from "./chunk-QFEJQS5X.js";
103
103
  import {
104
104
  ASK_USER_TOOL_NAME,
105
105
  AuthType,
@@ -231,7 +231,7 @@ import {
231
231
  updatePolicy,
232
232
  writeToStderr,
233
233
  writeToStdout
234
- } from "./chunk-CWAXEILN.js";
234
+ } from "./chunk-XRDSBRG4.js";
235
235
  import "./chunk-6HI7VNOG.js";
236
236
  import "./chunk-TUDYL3X4.js";
237
237
  import "./chunk-IUUIT4SU.js";
@@ -10233,7 +10233,7 @@ async function runNonInteractive({
10233
10233
  }
10234
10234
  });
10235
10235
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10236
- const { setupInitialActivityLogger } = await import("./devtoolsService-4Y2RGEUE.js");
10236
+ const { setupInitialActivityLogger } = await import("./devtoolsService-GLW7S6PS.js");
10237
10237
  setupInitialActivityLogger(config);
10238
10238
  }
10239
10239
  const { stdout: workingStdout } = createWorkingStdio();
@@ -10704,7 +10704,7 @@ async function runNonInteractive2(params) {
10704
10704
  }
10705
10705
  });
10706
10706
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10707
- const { setupInitialActivityLogger } = await import("./devtoolsService-4Y2RGEUE.js");
10707
+ const { setupInitialActivityLogger } = await import("./devtoolsService-GLW7S6PS.js");
10708
10708
  setupInitialActivityLogger(config);
10709
10709
  }
10710
10710
  const { stdout: workingStdout } = createWorkingStdio();
@@ -15892,7 +15892,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
15892
15892
  }
15893
15893
  }
15894
15894
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
15895
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-XM5HDVD7.js");
15895
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-HVAQTBJK.js");
15896
15896
  await doStartUI(
15897
15897
  config,
15898
15898
  settings,
@@ -16101,7 +16101,7 @@ ${finalArgs[promptIndex + 1]}`;
16101
16101
  await config.storage.initialize();
16102
16102
  adminControlsListner.setConfig(config);
16103
16103
  if (config.isInteractive() && settings.merged.general.devtools) {
16104
- const { setupInitialActivityLogger } = await import("./devtoolsService-4Y2RGEUE.js");
16104
+ const { setupInitialActivityLogger } = await import("./devtoolsService-GLW7S6PS.js");
16105
16105
  setupInitialActivityLogger(config);
16106
16106
  }
16107
16107
  registerTelemetryConfig(config);
@@ -16160,7 +16160,7 @@ ${finalArgs[promptIndex + 1]}`;
16160
16160
  const initAppHandle = startupProfiler.start("initialize_app");
16161
16161
  const initializationResult = await initializeApp(config, settings);
16162
16162
  initAppHandle?.end();
16163
- import("./liteRtServerManager-6N5DYDEQ.js").then(({ LiteRtServerManager }) => {
16163
+ import("./liteRtServerManager-BP7XKGNU.js").then(({ LiteRtServerManager }) => {
16164
16164
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
16165
16165
  if (!mergedGemma) return;
16166
16166
  const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
package/bundle/gemini.js CHANGED
@@ -4,10 +4,10 @@ import {
4
4
  RELAUNCH_EXIT_CODE,
5
5
  getScriptArgs,
6
6
  getSpawnConfig
7
- } from "./chunk-2O7YSVPU.js";
8
- import "./chunk-NOJPXYUJ.js";
9
- import "./chunk-R5OZKB4U.js";
10
- import "./chunk-4FNXKOEB.js";
7
+ } from "./chunk-HMR43ZX2.js";
8
+ import "./chunk-GTRQQGSJ.js";
9
+ import "./chunk-RXG3JOOZ.js";
10
+ import "./chunk-FIM2LOYZ.js";
11
11
  import "./chunk-6HI7VNOG.js";
12
12
  import "./chunk-TUDYL3X4.js";
13
13
  import "./chunk-IUUIT4SU.js";
@@ -19,8 +19,9 @@ import os from "node:os";
19
19
  import v8 from "node:v8";
20
20
  process.on("uncaughtException", (error) => {
21
21
  if (error instanceof Error) {
22
- const isPtyResizeError = error.message === "Cannot resize a pty that has already exited";
23
- const isEbadfError = error.message.includes("EBADF");
22
+ const message = error.message || "";
23
+ const isPtyResizeError = message === "Cannot resize a pty that has already exited";
24
+ const isEbadfError = message.includes("EBADF") || error.code === "EBADF";
24
25
  const isFromNodePty = error.stack?.includes("node-pty") || error.stack?.includes("PtyResize");
25
26
  if ((isPtyResizeError || isEbadfError) && isFromNodePty) {
26
27
  return;
@@ -114,9 +115,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
114
115
  }
115
116
  }
116
117
  } else {
117
- const { main } = await import("./gemini-24ENZ343.js");
118
- const { FatalError, writeToStderr } = await import("./dist-67ZORME5.js");
119
- const { runExitCleanup } = await import("./cleanup-2WCUS5XU.js");
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");
120
121
  main().catch(async (error) => {
121
122
  const cleanupTimeout = setTimeout(() => {
122
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-TH3OOWK4.js";
158
+ } from "./chunk-773AJHDP.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-IPQLMJS5.js";
164
+ } from "./chunk-BOJOJVNV.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-VS2OY6HJ.js";
214
+ } from "./chunk-4K3E3G6Z.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-N4X4WHSW.js";
220
+ } from "./chunk-SHFHGDWR.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-APSDEHHA.js";
225
+ } from "./chunk-TDYUKPZH.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-Y5REX36P.js";
231
+ } from "./chunk-2GMVQS2Q.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-J7SEBVDD.js";
413
+ } from "./chunk-HHFFICNK.js";
414
414
  import "./chunk-6HI7VNOG.js";
415
415
  import "./chunk-TUDYL3X4.js";
416
416
  import "./chunk-IUUIT4SU.js";
@@ -15027,9 +15027,18 @@ function EditorSettingsDialog({
15027
15027
  let editorIndex = currentPreference ? editorItems.findIndex(
15028
15028
  (item) => item.type === currentPreference
15029
15029
  ) : 0;
15030
- if (editorIndex === -1) {
15030
+ const isUnsupportedEditor = editorIndex === -1;
15031
+ if (isUnsupportedEditor) {
15031
15032
  editorIndex = 0;
15032
15033
  }
15034
+ (0, import_react50.useEffect)(() => {
15035
+ if (isUnsupportedEditor && currentPreference) {
15036
+ coreEvents.emitFeedback(
15037
+ "error",
15038
+ `Editor is not supported: ${currentPreference}`
15039
+ );
15040
+ }
15041
+ }, [isUnsupportedEditor, currentPreference]);
15033
15042
  const scopeItems = [
15034
15043
  {
15035
15044
  label: "User Settings",
@@ -22600,7 +22609,8 @@ var WITTY_LOADING_PHRASES = [
22600
22609
  "Have you tried turning it off and on again? (The loading screen, not me.)",
22601
22610
  "Constructing additional pylons",
22602
22611
  "New line? That\u2019s Ctrl+J.",
22603
- "Releasing the HypnoDrones"
22612
+ "Releasing the HypnoDrones",
22613
+ "Pushing the button, Frank."
22604
22614
  ];
22605
22615
 
22606
22616
  // packages/cli/src/ui/hooks/usePhraseCycler.ts
@@ -33702,7 +33712,7 @@ ${queuedText}` : queuedText;
33702
33712
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33703
33713
  if (settings.merged.general.devtools) {
33704
33714
  void (async () => {
33705
- const { toggleDevToolsPanel } = await import("./devtoolsService-F5XFL4BF.js");
33715
+ const { toggleDevToolsPanel } = await import("./devtoolsService-E62WA3CY.js");
33706
33716
  await toggleDevToolsPanel(
33707
33717
  config,
33708
33718
  showErrorDetails,
@@ -155,13 +155,13 @@ import {
155
155
  widestLineFromStyledChars,
156
156
  wordBreakStyledChars,
157
157
  wrapStyledChars
158
- } from "./chunk-2RRZM3IR.js";
158
+ } from "./chunk-MFYAVF7Y.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-4M3TG6ZU.js";
164
+ } from "./chunk-HZNEV3DS.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-GIXFMPPJ.js";
214
+ } from "./chunk-ZXN4VW7M.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-LUQGJPIY.js";
220
+ } from "./chunk-F2LLVPPS.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-WPCNMQ6J.js";
225
+ } from "./chunk-YMNECODB.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-OY6QYVTR.js";
231
+ } from "./chunk-QFEJQS5X.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-CWAXEILN.js";
413
+ } from "./chunk-XRDSBRG4.js";
414
414
  import "./chunk-6HI7VNOG.js";
415
415
  import "./chunk-TUDYL3X4.js";
416
416
  import "./chunk-IUUIT4SU.js";
@@ -15027,9 +15027,18 @@ function EditorSettingsDialog({
15027
15027
  let editorIndex = currentPreference ? editorItems.findIndex(
15028
15028
  (item) => item.type === currentPreference
15029
15029
  ) : 0;
15030
- if (editorIndex === -1) {
15030
+ const isUnsupportedEditor = editorIndex === -1;
15031
+ if (isUnsupportedEditor) {
15031
15032
  editorIndex = 0;
15032
15033
  }
15034
+ (0, import_react50.useEffect)(() => {
15035
+ if (isUnsupportedEditor && currentPreference) {
15036
+ coreEvents.emitFeedback(
15037
+ "error",
15038
+ `Editor is not supported: ${currentPreference}`
15039
+ );
15040
+ }
15041
+ }, [isUnsupportedEditor, currentPreference]);
15033
15042
  const scopeItems = [
15034
15043
  {
15035
15044
  label: "User Settings",
@@ -22600,7 +22609,8 @@ var WITTY_LOADING_PHRASES = [
22600
22609
  "Have you tried turning it off and on again? (The loading screen, not me.)",
22601
22610
  "Constructing additional pylons",
22602
22611
  "New line? That\u2019s Ctrl+J.",
22603
- "Releasing the HypnoDrones"
22612
+ "Releasing the HypnoDrones",
22613
+ "Pushing the button, Frank."
22604
22614
  ];
22605
22615
 
22606
22616
  // packages/cli/src/ui/hooks/usePhraseCycler.ts
@@ -33702,7 +33712,7 @@ ${queuedText}` : queuedText;
33702
33712
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33703
33713
  if (settings.merged.general.devtools) {
33704
33714
  void (async () => {
33705
- const { toggleDevToolsPanel } = await import("./devtoolsService-4Y2RGEUE.js");
33715
+ const { toggleDevToolsPanel } = await import("./devtoolsService-GLW7S6PS.js");
33706
33716
  await toggleDevToolsPanel(
33707
33717
  config,
33708
33718
  showErrorDetails,
@@ -155,13 +155,13 @@ import {
155
155
  widestLineFromStyledChars,
156
156
  wordBreakStyledChars,
157
157
  wrapStyledChars
158
- } from "./chunk-J4QUIOHJ.js";
158
+ } from "./chunk-4AGOZ7LL.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-EZCW6IDX.js";
164
+ } from "./chunk-5LUCCXOB.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-DMCSPKNM.js";
214
+ } from "./chunk-J444UQD3.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-2O7YSVPU.js";
220
+ } from "./chunk-HMR43ZX2.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-NOJPXYUJ.js";
225
+ } from "./chunk-GTRQQGSJ.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-R5OZKB4U.js";
231
+ } from "./chunk-RXG3JOOZ.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-4FNXKOEB.js";
432
+ } from "./chunk-FIM2LOYZ.js";
433
433
  import "./chunk-6HI7VNOG.js";
434
434
  import "./chunk-TUDYL3X4.js";
435
435
  import "./chunk-IUUIT4SU.js";
@@ -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",
@@ -22619,7 +22628,8 @@ var WITTY_LOADING_PHRASES = [
22619
22628
  "Have you tried turning it off and on again? (The loading screen, not me.)",
22620
22629
  "Constructing additional pylons",
22621
22630
  "New line? That\u2019s Ctrl+J.",
22622
- "Releasing the HypnoDrones"
22631
+ "Releasing the HypnoDrones",
22632
+ "Pushing the button, Frank."
22623
22633
  ];
22624
22634
 
22625
22635
  // packages/cli/src/ui/hooks/usePhraseCycler.ts
@@ -33721,7 +33731,7 @@ ${queuedText}` : queuedText;
33721
33731
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33722
33732
  if (settings.merged.general.devtools) {
33723
33733
  void (async () => {
33724
- const { toggleDevToolsPanel } = await import("./devtoolsService-IANYOK3R.js");
33734
+ const { toggleDevToolsPanel } = await import("./devtoolsService-ZYCBBAV3.js");
33725
33735
  await toggleDevToolsPanel(
33726
33736
  config,
33727
33737
  showErrorDetails,
@@ -3,11 +3,11 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-GIXFMPPJ.js";
7
- import "./chunk-WPCNMQ6J.js";
6
+ } from "./chunk-ZXN4VW7M.js";
7
+ import "./chunk-YMNECODB.js";
8
8
  import {
9
9
  debugLogger
10
- } from "./chunk-CWAXEILN.js";
10
+ } from "./chunk-XRDSBRG4.js";
11
11
  import "./chunk-6HI7VNOG.js";
12
12
  import "./chunk-TUDYL3X4.js";
13
13
  import "./chunk-IUUIT4SU.js";
@@ -41,7 +41,7 @@ var LiteRtServerManager = class {
41
41
  `[LiteRtServerManager] Auto-starting LiteRT server on port ${port}...`
42
42
  );
43
43
  try {
44
- const { startServer } = await import("./start-XLIGOOW3.js");
44
+ const { startServer } = await import("./start-FRM2XDGC.js");
45
45
  const started = await startServer(binaryPath, port);
46
46
  if (started) {
47
47
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);
@@ -3,11 +3,11 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-DMCSPKNM.js";
7
- import "./chunk-NOJPXYUJ.js";
6
+ } from "./chunk-4K3E3G6Z.js";
7
+ import "./chunk-TDYUKPZH.js";
8
8
  import {
9
9
  debugLogger
10
- } from "./chunk-4FNXKOEB.js";
10
+ } from "./chunk-HHFFICNK.js";
11
11
  import "./chunk-6HI7VNOG.js";
12
12
  import "./chunk-TUDYL3X4.js";
13
13
  import "./chunk-IUUIT4SU.js";
@@ -41,7 +41,7 @@ var LiteRtServerManager = class {
41
41
  `[LiteRtServerManager] Auto-starting LiteRT server on port ${port}...`
42
42
  );
43
43
  try {
44
- const { startServer } = await import("./start-KOAGXRA2.js");
44
+ const { startServer } = await import("./start-OEPJINIW.js");
45
45
  const started = await startServer(binaryPath, port);
46
46
  if (started) {
47
47
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);
@@ -3,11 +3,11 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-VS2OY6HJ.js";
7
- import "./chunk-APSDEHHA.js";
6
+ } from "./chunk-J444UQD3.js";
7
+ import "./chunk-GTRQQGSJ.js";
8
8
  import {
9
9
  debugLogger
10
- } from "./chunk-J7SEBVDD.js";
10
+ } from "./chunk-FIM2LOYZ.js";
11
11
  import "./chunk-6HI7VNOG.js";
12
12
  import "./chunk-TUDYL3X4.js";
13
13
  import "./chunk-IUUIT4SU.js";
@@ -41,7 +41,7 @@ var LiteRtServerManager = class {
41
41
  `[LiteRtServerManager] Auto-starting LiteRT server on port ${port}...`
42
42
  );
43
43
  try {
44
- const { startServer } = await import("./start-DJ6EBFEA.js");
44
+ const { startServer } = await import("./start-DLEOBFRC.js");
45
45
  const started = await startServer(binaryPath, port);
46
46
  if (started) {
47
47
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);
@@ -16,7 +16,7 @@ import {
16
16
  openBrowserSecurely,
17
17
  refreshAccessToken,
18
18
  startCallbackServer
19
- } from "./chunk-J7SEBVDD.js";
19
+ } from "./chunk-XRDSBRG4.js";
20
20
  import "./chunk-6HI7VNOG.js";
21
21
  import "./chunk-TUDYL3X4.js";
22
22
  import "./chunk-IUUIT4SU.js";
@@ -16,7 +16,7 @@ import {
16
16
  openBrowserSecurely,
17
17
  refreshAccessToken,
18
18
  startCallbackServer
19
- } from "./chunk-CWAXEILN.js";
19
+ } from "./chunk-HHFFICNK.js";
20
20
  import "./chunk-6HI7VNOG.js";
21
21
  import "./chunk-TUDYL3X4.js";
22
22
  import "./chunk-IUUIT4SU.js";
@@ -16,7 +16,7 @@ import {
16
16
  openBrowserSecurely,
17
17
  refreshAccessToken,
18
18
  startCallbackServer
19
- } from "./chunk-4FNXKOEB.js";
19
+ } from "./chunk-FIM2LOYZ.js";
20
20
  import "./chunk-6HI7VNOG.js";
21
21
  import "./chunk-TUDYL3X4.js";
22
22
  import "./chunk-IUUIT4SU.js";
@@ -2,12 +2,12 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  startCommand,
4
4
  startServer
5
- } from "./chunk-S4CJ6KAO.js";
6
- import "./chunk-EZCW6IDX.js";
7
- import "./chunk-DMCSPKNM.js";
8
- import "./chunk-NOJPXYUJ.js";
9
- import "./chunk-R5OZKB4U.js";
10
- import "./chunk-4FNXKOEB.js";
5
+ } from "./chunk-ZQGZKIDD.js";
6
+ import "./chunk-5LUCCXOB.js";
7
+ import "./chunk-J444UQD3.js";
8
+ import "./chunk-GTRQQGSJ.js";
9
+ import "./chunk-RXG3JOOZ.js";
10
+ import "./chunk-FIM2LOYZ.js";
11
11
  import "./chunk-6HI7VNOG.js";
12
12
  import "./chunk-TUDYL3X4.js";
13
13
  import "./chunk-IUUIT4SU.js";
@@ -2,12 +2,12 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  startCommand,
4
4
  startServer
5
- } from "./chunk-Q3UZDZZV.js";
6
- import "./chunk-4M3TG6ZU.js";
7
- import "./chunk-GIXFMPPJ.js";
8
- import "./chunk-WPCNMQ6J.js";
9
- import "./chunk-OY6QYVTR.js";
10
- import "./chunk-CWAXEILN.js";
5
+ } from "./chunk-LBE2WKE7.js";
6
+ import "./chunk-HZNEV3DS.js";
7
+ import "./chunk-ZXN4VW7M.js";
8
+ import "./chunk-YMNECODB.js";
9
+ import "./chunk-QFEJQS5X.js";
10
+ import "./chunk-XRDSBRG4.js";
11
11
  import "./chunk-6HI7VNOG.js";
12
12
  import "./chunk-TUDYL3X4.js";
13
13
  import "./chunk-IUUIT4SU.js";
@@ -2,12 +2,12 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  startCommand,
4
4
  startServer
5
- } from "./chunk-I7UI7NB6.js";
6
- import "./chunk-IPQLMJS5.js";
7
- import "./chunk-VS2OY6HJ.js";
8
- import "./chunk-APSDEHHA.js";
9
- import "./chunk-Y5REX36P.js";
10
- import "./chunk-J7SEBVDD.js";
5
+ } from "./chunk-S2ICEQVC.js";
6
+ import "./chunk-BOJOJVNV.js";
7
+ import "./chunk-4K3E3G6Z.js";
8
+ import "./chunk-TDYUKPZH.js";
9
+ import "./chunk-2GMVQS2Q.js";
10
+ import "./chunk-HHFFICNK.js";
11
11
  import "./chunk-6HI7VNOG.js";
12
12
  import "./chunk-TUDYL3X4.js";
13
13
  import "./chunk-IUUIT4SU.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google/gemini-cli",
3
- "version": "0.45.0-preview.0",
3
+ "version": "0.46.0-preview.0",
4
4
  "description": "Gemini CLI",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {