@google/gemini-cli 0.45.0-preview.0 → 0.45.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 (66) hide show
  1. package/bundle/{chunk-I7UI7NB6.js → chunk-2ZH72RHY.js} +3 -3
  2. package/bundle/{chunk-EZCW6IDX.js → chunk-3NDAYKF4.js} +1 -1
  3. package/bundle/{chunk-IPQLMJS5.js → chunk-4KX3ETW3.js} +1 -1
  4. package/bundle/{chunk-4FNXKOEB.js → chunk-565MWDPP.js} +23 -13
  5. package/bundle/{chunk-J4QUIOHJ.js → chunk-5BX5PJIE.js} +7 -7
  6. package/bundle/{chunk-J7SEBVDD.js → chunk-5YTIYFJO.js} +7544 -14042
  7. package/bundle/{chunk-GIXFMPPJ.js → chunk-6WWGBNKT.js} +1 -1
  8. package/bundle/{chunk-4M3TG6ZU.js → chunk-BLUAEAZN.js} +1 -1
  9. package/bundle/{chunk-2RRZM3IR.js → chunk-BO72FGK2.js} +7 -7
  10. package/bundle/{chunk-NOJPXYUJ.js → chunk-CJHCK2YW.js} +1 -1
  11. package/bundle/{chunk-S4CJ6KAO.js → chunk-CJTRYZPP.js} +3 -3
  12. package/bundle/chunk-DDJWQSDN.js +394439 -0
  13. package/bundle/{chunk-APSDEHHA.js → chunk-E3KBY4EQ.js} +1 -1
  14. package/bundle/{chunk-WPCNMQ6J.js → chunk-FEY3T6LA.js} +9 -8
  15. package/bundle/{chunk-Q3UZDZZV.js → chunk-HA5VES5S.js} +3 -3
  16. package/bundle/{chunk-Y5REX36P.js → chunk-HVWNKZSB.js} +1 -1
  17. package/bundle/{chunk-2O7YSVPU.js → chunk-HZCAEM2F.js} +2 -2
  18. package/bundle/{chunk-DMCSPKNM.js → chunk-IGJG7DNZ.js} +1 -1
  19. package/bundle/{chunk-TH3OOWK4.js → chunk-JWWA32XO.js} +67 -54
  20. package/bundle/{chunk-LUQGJPIY.js → chunk-JXVK53RJ.js} +2 -2
  21. package/bundle/{chunk-VS2OY6HJ.js → chunk-K43EAKOP.js} +8 -5
  22. package/bundle/{chunk-N4X4WHSW.js → chunk-NB2NOE4L.js} +2 -2
  23. package/bundle/chunk-NVJOR76X.js +1571 -0
  24. package/bundle/chunk-NYWYNF2Z.js +81685 -0
  25. package/bundle/chunk-OQLEYMM2.js +512 -0
  26. package/bundle/{chunk-OY6QYVTR.js → chunk-OWSYSTWM.js} +1 -1
  27. package/bundle/{chunk-CWAXEILN.js → chunk-R52453KY.js} +26 -16
  28. package/bundle/{chunk-R5OZKB4U.js → chunk-S6AQSJNU.js} +1 -1
  29. package/bundle/chunk-SKDT4PWC.js +118 -0
  30. package/bundle/chunk-TCAVPMJX.js +17320 -0
  31. package/bundle/chunk-WTRP3GGZ.js +154 -0
  32. package/bundle/chunk-Y6SLZFPD.js +398 -0
  33. package/bundle/{cleanup-2WCUS5XU.js → cleanup-2FHZMQ3Z.js} +2 -2
  34. package/bundle/{cleanup-7FHLTEXT.js → cleanup-F7XRM3DT.js} +2 -2
  35. package/bundle/{cleanup-WGOZFAQJ.js → cleanup-OZH3SJVM.js} +2 -2
  36. package/bundle/cleanup-ZO5CVKGH.js +32 -0
  37. package/bundle/{core-SIRU2VWJ.js → core-B47ZXN3Y.js} +1 -1
  38. package/bundle/{devtoolsService-IANYOK3R.js → devtoolsService-L7PYKOHR.js} +2 -2
  39. package/bundle/{devtoolsService-4Y2RGEUE.js → devtoolsService-OYQJHPEW.js} +4 -3
  40. package/bundle/devtoolsService-SGV7MSUA.js +856 -0
  41. package/bundle/{devtoolsService-F5XFL4BF.js → devtoolsService-XYSZCMQM.js} +2 -2
  42. package/bundle/{dist-67ZORME5.js → dist-C6L3MGQS.js} +1 -1
  43. package/bundle/{core-LD6MHGD6.js → dist-MOEHPHUN.js} +1 -1
  44. package/bundle/dist-WLKMTHZQ.js +2134 -0
  45. package/bundle/{gemini-5ZI322FJ.js → gemini-2XSNIT2N.js} +212 -196
  46. package/bundle/{gemini-24ENZ343.js → gemini-CHS2YNJG.js} +13 -13
  47. package/bundle/gemini-CQDPCFEE.js +16406 -0
  48. package/bundle/{gemini-74UML3PJ.js → gemini-LT5MWLZQ.js} +13 -13
  49. package/bundle/gemini.js +10 -9
  50. package/bundle/{interactiveCli-7GM3U7SA.js → interactiveCli-2YFAMDR5.js} +8 -8
  51. package/bundle/{interactiveCli-XM5HDVD7.js → interactiveCli-6EFCVZP7.js} +314 -295
  52. package/bundle/interactiveCli-HA3BASZN.js +34726 -0
  53. package/bundle/{interactiveCli-BVZLMTVC.js → interactiveCli-UUI7OUZK.js} +8 -8
  54. package/bundle/{liteRtServerManager-6N5DYDEQ.js → liteRtServerManager-2VKZTPMY.js} +4 -4
  55. package/bundle/{liteRtServerManager-JVMDH3TN.js → liteRtServerManager-4PZ3X7SS.js} +4 -4
  56. package/bundle/{liteRtServerManager-3HS3VUPU.js → liteRtServerManager-GH6VHWTU.js} +4 -4
  57. package/bundle/liteRtServerManager-OMSM6SJU.js +65 -0
  58. package/bundle/{oauth2-provider-U72EWZHQ.js → oauth2-provider-4UIWNIX3.js} +1 -1
  59. package/bundle/{oauth2-provider-RUFABDNL.js → oauth2-provider-BDX6V2YX.js} +1 -1
  60. package/bundle/{oauth2-provider-WS7LUQ5V.js → oauth2-provider-N2ZY2DXQ.js} +38 -72
  61. package/bundle/oauth2-provider-TRRJCE2P.js +235 -0
  62. package/bundle/{start-KOAGXRA2.js → start-3LEQZELI.js} +6 -6
  63. package/bundle/{start-XLIGOOW3.js → start-FH2E2VQ2.js} +6 -6
  64. package/bundle/{start-DJ6EBFEA.js → start-FPEO7KCZ.js} +6 -6
  65. package/bundle/start-J7G6YXDJ.js +18 -0
  66. package/package.json +1 -1
@@ -41,18 +41,18 @@ import {
41
41
  updateAllUpdatableExtensions,
42
42
  updateExtension,
43
43
  validateAuthMethod
44
- } from "./chunk-TH3OOWK4.js";
44
+ } from "./chunk-BO72FGK2.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-I7UI7NB6.js";
51
+ } from "./chunk-2ZH72RHY.js";
52
52
  import {
53
53
  exitCli,
54
54
  require_source
55
- } from "./chunk-IPQLMJS5.js";
55
+ } from "./chunk-4KX3ETW3.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-VS2OY6HJ.js";
89
+ } from "./chunk-6WWGBNKT.js";
90
90
  import {
91
91
  RELAUNCH_EXIT_CODE
92
- } from "./chunk-N4X4WHSW.js";
93
- import "./chunk-APSDEHHA.js";
92
+ } from "./chunk-NB2NOE4L.js";
93
+ import "./chunk-E3KBY4EQ.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-Y5REX36P.js";
102
+ } from "./chunk-HVWNKZSB.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-J7SEBVDD.js";
234
+ } from "./chunk-R52453KY.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-F5XFL4BF.js");
10236
+ const { setupInitialActivityLogger } = await import("./devtoolsService-XYSZCMQM.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-F5XFL4BF.js");
10707
+ const { setupInitialActivityLogger } = await import("./devtoolsService-XYSZCMQM.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-BVZLMTVC.js");
15895
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-UUI7OUZK.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-F5XFL4BF.js");
16104
+ const { setupInitialActivityLogger } = await import("./devtoolsService-XYSZCMQM.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-3HS3VUPU.js").then(({ LiteRtServerManager }) => {
16163
+ import("./liteRtServerManager-GH6VHWTU.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-HZCAEM2F.js";
8
+ import "./chunk-FEY3T6LA.js";
9
+ import "./chunk-OWSYSTWM.js";
10
+ import "./chunk-DDJWQSDN.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-2XSNIT2N.js");
119
+ const { FatalError, writeToStderr } = await import("./dist-MOEHPHUN.js");
120
+ const { runExitCleanup } = await import("./cleanup-2FHZMQ3Z.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-J4QUIOHJ.js";
158
+ } from "./chunk-NYWYNF2Z.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-BLUAEAZN.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-IGJG7DNZ.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-2O7YSVPU.js";
220
+ } from "./chunk-Y6SLZFPD.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-NOJPXYUJ.js";
225
+ } from "./chunk-OQLEYMM2.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-R5OZKB4U.js";
231
+ } from "./chunk-WTRP3GGZ.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-565MWDPP.js";
433
433
  import "./chunk-6HI7VNOG.js";
434
434
  import "./chunk-TUDYL3X4.js";
435
435
  import "./chunk-IUUIT4SU.js";
@@ -33721,7 +33721,7 @@ ${queuedText}` : queuedText;
33721
33721
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33722
33722
  if (settings.merged.general.devtools) {
33723
33723
  void (async () => {
33724
- const { toggleDevToolsPanel } = await import("./devtoolsService-IANYOK3R.js");
33724
+ const { toggleDevToolsPanel } = await import("./devtoolsService-OYQJHPEW.js");
33725
33725
  await toggleDevToolsPanel(
33726
33726
  config,
33727
33727
  showErrorDetails,