@google/gemini-cli 0.45.0-preview.1 → 0.45.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 (67) hide show
  1. package/bundle/{chunk-6WWGBNKT.js → chunk-3TMWYG7A.js} +1 -1
  2. package/bundle/{chunk-BLUAEAZN.js → chunk-4ISYEWVQ.js} +1 -1
  3. package/bundle/{chunk-5YTIYFJO.js → chunk-6HYYI5PZ.js} +156 -50
  4. package/bundle/{chunk-2ZH72RHY.js → chunk-7U7BOSLX.js} +3 -3
  5. package/bundle/{chunk-JXVK53RJ.js → chunk-AFS5F2VL.js} +2 -2
  6. package/bundle/{chunk-Y6SLZFPD.js → chunk-AJTJWT5R.js} +2 -2
  7. package/bundle/{chunk-OWSYSTWM.js → chunk-BMS36MLD.js} +1 -1
  8. package/bundle/{chunk-5BX5PJIE.js → chunk-BRQZ5N67.js} +7 -7
  9. package/bundle/{chunk-CJTRYZPP.js → chunk-CGB6VOFW.js} +3 -3
  10. package/bundle/{chunk-CJHCK2YW.js → chunk-CXWB6LIZ.js} +1 -1
  11. package/bundle/{chunk-S6AQSJNU.js → chunk-EN62YYKQ.js} +1 -1
  12. package/bundle/{chunk-E3KBY4EQ.js → chunk-FAMDZ3OS.js} +1 -1
  13. package/bundle/{chunk-DDJWQSDN.js → chunk-FFUBQCSE.js} +156 -50
  14. package/bundle/{chunk-565MWDPP.js → chunk-GIZG2CGQ.js} +156 -50
  15. package/bundle/{chunk-WTRP3GGZ.js → chunk-JKX72O3X.js} +1 -1
  16. package/bundle/{chunk-NB2NOE4L.js → chunk-JTXGVKX5.js} +2 -2
  17. package/bundle/{chunk-JWWA32XO.js → chunk-NXVUP5BP.js} +7 -7
  18. package/bundle/{chunk-HZCAEM2F.js → chunk-OFSAI2ND.js} +2 -2
  19. package/bundle/{chunk-IGJG7DNZ.js → chunk-OJ7TLNJC.js} +1 -1
  20. package/bundle/{chunk-K43EAKOP.js → chunk-QCGIKZK5.js} +1 -1
  21. package/bundle/{chunk-FEY3T6LA.js → chunk-QDW2YJ2D.js} +1 -1
  22. package/bundle/{chunk-NYWYNF2Z.js → chunk-S3TA2KSA.js} +7 -7
  23. package/bundle/{chunk-HA5VES5S.js → chunk-T3BZEZLU.js} +3 -3
  24. package/bundle/{chunk-BO72FGK2.js → chunk-THHB2S2R.js} +7 -7
  25. package/bundle/{chunk-3NDAYKF4.js → chunk-TTFMSSFY.js} +1 -1
  26. package/bundle/{chunk-TCAVPMJX.js → chunk-VJA5NYRM.js} +1 -1
  27. package/bundle/{chunk-R52453KY.js → chunk-VXAIUB7K.js} +183 -50
  28. package/bundle/{chunk-HVWNKZSB.js → chunk-W53HJSSZ.js} +1 -1
  29. package/bundle/{chunk-4KX3ETW3.js → chunk-X5XPILBU.js} +1 -1
  30. package/bundle/{chunk-OQLEYMM2.js → chunk-XLA3MMYB.js} +1 -1
  31. package/bundle/{chunk-SKDT4PWC.js → chunk-Y7YEJIFD.js} +3 -3
  32. package/bundle/{chunk-NVJOR76X.js → chunk-ZSZHQ7QN.js} +1 -1
  33. package/bundle/{cleanup-2FHZMQ3Z.js → cleanup-6QT55YQX.js} +2 -2
  34. package/bundle/{cleanup-F7XRM3DT.js → cleanup-ASNHXVN2.js} +2 -2
  35. package/bundle/{cleanup-OZH3SJVM.js → cleanup-SZ4DUWDJ.js} +2 -2
  36. package/bundle/{cleanup-ZO5CVKGH.js → cleanup-UWYNKBAK.js} +2 -2
  37. package/bundle/{core-B47ZXN3Y.js → core-FN764RWM.js} +7 -1
  38. package/bundle/{devtoolsService-L7PYKOHR.js → devtoolsService-5GK2JZD4.js} +2 -2
  39. package/bundle/{devtoolsService-OYQJHPEW.js → devtoolsService-AWH6SSZC.js} +2 -2
  40. package/bundle/{devtoolsService-XYSZCMQM.js → devtoolsService-HS6NZVWU.js} +2 -2
  41. package/bundle/{devtoolsService-SGV7MSUA.js → devtoolsService-VDTVF5OM.js} +2 -2
  42. package/bundle/{dist-C6L3MGQS.js → dist-CVH2R6ZI.js} +7 -1
  43. package/bundle/{dist-MOEHPHUN.js → dist-LKE6MKVW.js} +7 -1
  44. package/bundle/{dist-WLKMTHZQ.js → dist-VK25J7B7.js} +7 -1
  45. package/bundle/docs/reference/configuration.md +71 -0
  46. package/bundle/{gemini-LT5MWLZQ.js → gemini-2CSQYYM7.js} +18 -15
  47. package/bundle/{gemini-2XSNIT2N.js → gemini-UUAZKUMD.js} +18 -15
  48. package/bundle/{gemini-CHS2YNJG.js → gemini-UZPU2BDT.js} +18 -15
  49. package/bundle/{gemini-CQDPCFEE.js → gemini-V3OTI3NY.js} +18 -15
  50. package/bundle/gemini.js +7 -7
  51. package/bundle/{interactiveCli-2YFAMDR5.js → interactiveCli-3LDUDMZL.js} +17 -11
  52. package/bundle/{interactiveCli-6EFCVZP7.js → interactiveCli-JBILZ4Z2.js} +17 -11
  53. package/bundle/{interactiveCli-HA3BASZN.js → interactiveCli-QUFKABYB.js} +17 -11
  54. package/bundle/{interactiveCli-UUI7OUZK.js → interactiveCli-TRAAWA7S.js} +17 -11
  55. package/bundle/{liteRtServerManager-2VKZTPMY.js → liteRtServerManager-4LZDDC3B.js} +4 -4
  56. package/bundle/{liteRtServerManager-4PZ3X7SS.js → liteRtServerManager-BONHUK6G.js} +4 -4
  57. package/bundle/{liteRtServerManager-GH6VHWTU.js → liteRtServerManager-GNA7BP24.js} +4 -4
  58. package/bundle/{liteRtServerManager-OMSM6SJU.js → liteRtServerManager-ILOJICS6.js} +4 -4
  59. package/bundle/{oauth2-provider-BDX6V2YX.js → oauth2-provider-FBCFQYBU.js} +1 -1
  60. package/bundle/{oauth2-provider-N2ZY2DXQ.js → oauth2-provider-LYKMC2R6.js} +1 -1
  61. package/bundle/{oauth2-provider-4UIWNIX3.js → oauth2-provider-P4WHK2SH.js} +1 -1
  62. package/bundle/{oauth2-provider-TRRJCE2P.js → oauth2-provider-WLJL6V4W.js} +1 -1
  63. package/bundle/{start-3LEQZELI.js → start-45UFBKOY.js} +6 -6
  64. package/bundle/{start-FH2E2VQ2.js → start-PCZ7YDTR.js} +6 -6
  65. package/bundle/{start-FPEO7KCZ.js → start-VVVRWNSH.js} +6 -6
  66. package/bundle/{start-J7G6YXDJ.js → start-XMLICH3K.js} +6 -6
  67. package/package.json +1 -1
@@ -41,18 +41,18 @@ import {
41
41
  updateAllUpdatableExtensions,
42
42
  updateExtension,
43
43
  validateAuthMethod
44
- } from "./chunk-5BX5PJIE.js";
44
+ } from "./chunk-NXVUP5BP.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-CJTRYZPP.js";
51
+ } from "./chunk-7U7BOSLX.js";
52
52
  import {
53
53
  exitCli,
54
54
  require_source
55
- } from "./chunk-3NDAYKF4.js";
55
+ } from "./chunk-4ISYEWVQ.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-K43EAKOP.js";
89
+ } from "./chunk-OJ7TLNJC.js";
90
90
  import {
91
91
  RELAUNCH_EXIT_CODE
92
- } from "./chunk-HZCAEM2F.js";
93
- import "./chunk-FEY3T6LA.js";
92
+ } from "./chunk-JTXGVKX5.js";
93
+ import "./chunk-QDW2YJ2D.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-OWSYSTWM.js";
102
+ } from "./chunk-JKX72O3X.js";
103
103
  import {
104
104
  ASK_USER_TOOL_NAME,
105
105
  ApprovalMode,
@@ -247,7 +247,7 @@ import {
247
247
  updatePolicy,
248
248
  writeToStderr,
249
249
  writeToStdout
250
- } from "./chunk-DDJWQSDN.js";
250
+ } from "./chunk-6HYYI5PZ.js";
251
251
  import "./chunk-6HI7VNOG.js";
252
252
  import "./chunk-TUDYL3X4.js";
253
253
  import "./chunk-IUUIT4SU.js";
@@ -7841,7 +7841,7 @@ async function loadSandboxConfig(settings, argv) {
7841
7841
  }
7842
7842
  const command2 = getSandboxCommand(sandboxValue);
7843
7843
  const packageJson = await getPackageJson(__dirname3);
7844
- const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.45.0-preview.1" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7844
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.45.1" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7845
7845
  const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
7846
7846
  return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
7847
7847
  }
@@ -10249,7 +10249,7 @@ async function runNonInteractive({
10249
10249
  }
10250
10250
  });
10251
10251
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10252
- const { setupInitialActivityLogger } = await import("./devtoolsService-L7PYKOHR.js");
10252
+ const { setupInitialActivityLogger } = await import("./devtoolsService-5GK2JZD4.js");
10253
10253
  setupInitialActivityLogger(config);
10254
10254
  }
10255
10255
  const { stdout: workingStdout } = createWorkingStdio();
@@ -10720,7 +10720,7 @@ async function runNonInteractive2(params) {
10720
10720
  }
10721
10721
  });
10722
10722
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10723
- const { setupInitialActivityLogger } = await import("./devtoolsService-L7PYKOHR.js");
10723
+ const { setupInitialActivityLogger } = await import("./devtoolsService-5GK2JZD4.js");
10724
10724
  setupInitialActivityLogger(config);
10725
10725
  }
10726
10726
  const { stdout: workingStdout } = createWorkingStdio();
@@ -13664,11 +13664,13 @@ function buildAvailableModels(config, settings) {
13664
13664
  const preferredModel = config.getModel() || GEMINI_MODEL_ALIAS_AUTO;
13665
13665
  const shouldShowPreviewModels = config.getHasAccessToPreviewModel();
13666
13666
  const useGemini31 = config.getGemini31LaunchedSync?.() ?? false;
13667
+ const useGemini3_5Flash = config.hasGemini35FlashGAAccess?.() ?? false;
13667
13668
  const selectedAuthType = settings.merged.security.auth.selectedType;
13668
13669
  const useCustomToolModel = useGemini31 && selectedAuthType === AuthType.USE_GEMINI;
13669
13670
  if (config.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
13670
13671
  const options = config.getModelConfigService().getAvailableModelOptions({
13671
13672
  useGemini3_1: useGemini31,
13673
+ useGemini3_5Flash,
13672
13674
  useCustomTools: useCustomToolModel,
13673
13675
  hasAccessToPreview: shouldShowPreviewModels
13674
13676
  });
@@ -13683,7 +13685,8 @@ function buildAvailableModels(config, settings) {
13683
13685
  title: getDisplayString(GEMINI_MODEL_ALIAS_AUTO),
13684
13686
  description: getAutoModelDescription(
13685
13687
  shouldShowPreviewModels,
13686
- useGemini31
13688
+ useGemini31,
13689
+ useGemini3_5Flash
13687
13690
  )
13688
13691
  }
13689
13692
  ];
@@ -15908,7 +15911,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
15908
15911
  }
15909
15912
  }
15910
15913
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
15911
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-HA3BASZN.js");
15914
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-3LDUDMZL.js");
15912
15915
  await doStartUI(
15913
15916
  config,
15914
15917
  settings,
@@ -16117,7 +16120,7 @@ ${finalArgs[promptIndex + 1]}`;
16117
16120
  await config.storage.initialize();
16118
16121
  adminControlsListner.setConfig(config);
16119
16122
  if (config.isInteractive() && settings.merged.general.devtools) {
16120
- const { setupInitialActivityLogger } = await import("./devtoolsService-L7PYKOHR.js");
16123
+ const { setupInitialActivityLogger } = await import("./devtoolsService-5GK2JZD4.js");
16121
16124
  setupInitialActivityLogger(config);
16122
16125
  }
16123
16126
  registerTelemetryConfig(config);
@@ -16176,7 +16179,7 @@ ${finalArgs[promptIndex + 1]}`;
16176
16179
  const initAppHandle = startupProfiler.start("initialize_app");
16177
16180
  const initializationResult = await initializeApp(config, settings);
16178
16181
  initAppHandle?.end();
16179
- import("./liteRtServerManager-OMSM6SJU.js").then(({ LiteRtServerManager }) => {
16182
+ import("./liteRtServerManager-ILOJICS6.js").then(({ LiteRtServerManager }) => {
16180
16183
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
16181
16184
  if (!mergedGemma) return;
16182
16185
  const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
@@ -41,18 +41,18 @@ import {
41
41
  updateAllUpdatableExtensions,
42
42
  updateExtension,
43
43
  validateAuthMethod
44
- } from "./chunk-JWWA32XO.js";
44
+ } from "./chunk-BRQZ5N67.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-SKDT4PWC.js";
51
+ } from "./chunk-Y7YEJIFD.js";
52
52
  import {
53
53
  exitCli,
54
54
  require_source
55
- } from "./chunk-NVJOR76X.js";
55
+ } from "./chunk-ZSZHQ7QN.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-TCAVPMJX.js";
89
+ } from "./chunk-VJA5NYRM.js";
90
90
  import {
91
91
  RELAUNCH_EXIT_CODE
92
- } from "./chunk-JXVK53RJ.js";
93
- import "./chunk-CJHCK2YW.js";
92
+ } from "./chunk-AFS5F2VL.js";
93
+ import "./chunk-XLA3MMYB.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-S6AQSJNU.js";
102
+ } from "./chunk-EN62YYKQ.js";
103
103
  import {
104
104
  ASK_USER_TOOL_NAME,
105
105
  ApprovalMode,
@@ -247,7 +247,7 @@ import {
247
247
  updatePolicy,
248
248
  writeToStderr,
249
249
  writeToStdout
250
- } from "./chunk-5YTIYFJO.js";
250
+ } from "./chunk-GIZG2CGQ.js";
251
251
  import "./chunk-6HI7VNOG.js";
252
252
  import "./chunk-TUDYL3X4.js";
253
253
  import "./chunk-IUUIT4SU.js";
@@ -7841,7 +7841,7 @@ async function loadSandboxConfig(settings, argv) {
7841
7841
  }
7842
7842
  const command2 = getSandboxCommand(sandboxValue);
7843
7843
  const packageJson = await getPackageJson(__dirname3);
7844
- const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.45.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7844
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.45.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7845
7845
  const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
7846
7846
  return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
7847
7847
  }
@@ -10249,7 +10249,7 @@ async function runNonInteractive({
10249
10249
  }
10250
10250
  });
10251
10251
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10252
- const { setupInitialActivityLogger } = await import("./devtoolsService-SGV7MSUA.js");
10252
+ const { setupInitialActivityLogger } = await import("./devtoolsService-AWH6SSZC.js");
10253
10253
  setupInitialActivityLogger(config);
10254
10254
  }
10255
10255
  const { stdout: workingStdout } = createWorkingStdio();
@@ -10720,7 +10720,7 @@ async function runNonInteractive2(params) {
10720
10720
  }
10721
10721
  });
10722
10722
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10723
- const { setupInitialActivityLogger } = await import("./devtoolsService-SGV7MSUA.js");
10723
+ const { setupInitialActivityLogger } = await import("./devtoolsService-AWH6SSZC.js");
10724
10724
  setupInitialActivityLogger(config);
10725
10725
  }
10726
10726
  const { stdout: workingStdout } = createWorkingStdio();
@@ -13664,11 +13664,13 @@ function buildAvailableModels(config, settings) {
13664
13664
  const preferredModel = config.getModel() || GEMINI_MODEL_ALIAS_AUTO;
13665
13665
  const shouldShowPreviewModels = config.getHasAccessToPreviewModel();
13666
13666
  const useGemini31 = config.getGemini31LaunchedSync?.() ?? false;
13667
+ const useGemini3_5Flash = config.hasGemini35FlashGAAccess?.() ?? false;
13667
13668
  const selectedAuthType = settings.merged.security.auth.selectedType;
13668
13669
  const useCustomToolModel = useGemini31 && selectedAuthType === AuthType.USE_GEMINI;
13669
13670
  if (config.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
13670
13671
  const options = config.getModelConfigService().getAvailableModelOptions({
13671
13672
  useGemini3_1: useGemini31,
13673
+ useGemini3_5Flash,
13672
13674
  useCustomTools: useCustomToolModel,
13673
13675
  hasAccessToPreview: shouldShowPreviewModels
13674
13676
  });
@@ -13683,7 +13685,8 @@ function buildAvailableModels(config, settings) {
13683
13685
  title: getDisplayString(GEMINI_MODEL_ALIAS_AUTO),
13684
13686
  description: getAutoModelDescription(
13685
13687
  shouldShowPreviewModels,
13686
- useGemini31
13688
+ useGemini31,
13689
+ useGemini3_5Flash
13687
13690
  )
13688
13691
  }
13689
13692
  ];
@@ -15908,7 +15911,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
15908
15911
  }
15909
15912
  }
15910
15913
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
15911
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-6EFCVZP7.js");
15914
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-QUFKABYB.js");
15912
15915
  await doStartUI(
15913
15916
  config,
15914
15917
  settings,
@@ -16117,7 +16120,7 @@ ${finalArgs[promptIndex + 1]}`;
16117
16120
  await config.storage.initialize();
16118
16121
  adminControlsListner.setConfig(config);
16119
16122
  if (config.isInteractive() && settings.merged.general.devtools) {
16120
- const { setupInitialActivityLogger } = await import("./devtoolsService-SGV7MSUA.js");
16123
+ const { setupInitialActivityLogger } = await import("./devtoolsService-AWH6SSZC.js");
16121
16124
  setupInitialActivityLogger(config);
16122
16125
  }
16123
16126
  registerTelemetryConfig(config);
@@ -16176,7 +16179,7 @@ ${finalArgs[promptIndex + 1]}`;
16176
16179
  const initAppHandle = startupProfiler.start("initialize_app");
16177
16180
  const initializationResult = await initializeApp(config, settings);
16178
16181
  initAppHandle?.end();
16179
- import("./liteRtServerManager-2VKZTPMY.js").then(({ LiteRtServerManager }) => {
16182
+ import("./liteRtServerManager-GNA7BP24.js").then(({ LiteRtServerManager }) => {
16180
16183
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
16181
16184
  if (!mergedGemma) return;
16182
16185
  const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
@@ -41,18 +41,18 @@ import {
41
41
  updateAllUpdatableExtensions,
42
42
  updateExtension,
43
43
  validateAuthMethod
44
- } from "./chunk-NYWYNF2Z.js";
44
+ } from "./chunk-S3TA2KSA.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-HA5VES5S.js";
51
+ } from "./chunk-CGB6VOFW.js";
52
52
  import {
53
53
  exitCli,
54
54
  require_source
55
- } from "./chunk-BLUAEAZN.js";
55
+ } from "./chunk-TTFMSSFY.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-IGJG7DNZ.js";
89
+ } from "./chunk-QCGIKZK5.js";
90
90
  import {
91
91
  RELAUNCH_EXIT_CODE
92
- } from "./chunk-Y6SLZFPD.js";
93
- import "./chunk-OQLEYMM2.js";
92
+ } from "./chunk-OFSAI2ND.js";
93
+ import "./chunk-CXWB6LIZ.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-WTRP3GGZ.js";
102
+ } from "./chunk-W53HJSSZ.js";
103
103
  import {
104
104
  ASK_USER_TOOL_NAME,
105
105
  ApprovalMode,
@@ -247,7 +247,7 @@ import {
247
247
  updatePolicy,
248
248
  writeToStderr,
249
249
  writeToStdout
250
- } from "./chunk-565MWDPP.js";
250
+ } from "./chunk-FFUBQCSE.js";
251
251
  import "./chunk-6HI7VNOG.js";
252
252
  import "./chunk-TUDYL3X4.js";
253
253
  import "./chunk-IUUIT4SU.js";
@@ -7841,7 +7841,7 @@ async function loadSandboxConfig(settings, argv) {
7841
7841
  }
7842
7842
  const command2 = getSandboxCommand(sandboxValue);
7843
7843
  const packageJson = await getPackageJson(__dirname3);
7844
- const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.45.0-preview.1" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7844
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.45.1" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7845
7845
  const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
7846
7846
  return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
7847
7847
  }
@@ -10249,7 +10249,7 @@ async function runNonInteractive({
10249
10249
  }
10250
10250
  });
10251
10251
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10252
- const { setupInitialActivityLogger } = await import("./devtoolsService-OYQJHPEW.js");
10252
+ const { setupInitialActivityLogger } = await import("./devtoolsService-VDTVF5OM.js");
10253
10253
  setupInitialActivityLogger(config);
10254
10254
  }
10255
10255
  const { stdout: workingStdout } = createWorkingStdio();
@@ -10720,7 +10720,7 @@ async function runNonInteractive2(params) {
10720
10720
  }
10721
10721
  });
10722
10722
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10723
- const { setupInitialActivityLogger } = await import("./devtoolsService-OYQJHPEW.js");
10723
+ const { setupInitialActivityLogger } = await import("./devtoolsService-VDTVF5OM.js");
10724
10724
  setupInitialActivityLogger(config);
10725
10725
  }
10726
10726
  const { stdout: workingStdout } = createWorkingStdio();
@@ -13664,11 +13664,13 @@ function buildAvailableModels(config, settings) {
13664
13664
  const preferredModel = config.getModel() || GEMINI_MODEL_ALIAS_AUTO;
13665
13665
  const shouldShowPreviewModels = config.getHasAccessToPreviewModel();
13666
13666
  const useGemini31 = config.getGemini31LaunchedSync?.() ?? false;
13667
+ const useGemini3_5Flash = config.hasGemini35FlashGAAccess?.() ?? false;
13667
13668
  const selectedAuthType = settings.merged.security.auth.selectedType;
13668
13669
  const useCustomToolModel = useGemini31 && selectedAuthType === AuthType.USE_GEMINI;
13669
13670
  if (config.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
13670
13671
  const options = config.getModelConfigService().getAvailableModelOptions({
13671
13672
  useGemini3_1: useGemini31,
13673
+ useGemini3_5Flash,
13672
13674
  useCustomTools: useCustomToolModel,
13673
13675
  hasAccessToPreview: shouldShowPreviewModels
13674
13676
  });
@@ -13683,7 +13685,8 @@ function buildAvailableModels(config, settings) {
13683
13685
  title: getDisplayString(GEMINI_MODEL_ALIAS_AUTO),
13684
13686
  description: getAutoModelDescription(
13685
13687
  shouldShowPreviewModels,
13686
- useGemini31
13688
+ useGemini31,
13689
+ useGemini3_5Flash
13687
13690
  )
13688
13691
  }
13689
13692
  ];
@@ -15908,7 +15911,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
15908
15911
  }
15909
15912
  }
15910
15913
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
15911
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-2YFAMDR5.js");
15914
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-JBILZ4Z2.js");
15912
15915
  await doStartUI(
15913
15916
  config,
15914
15917
  settings,
@@ -16117,7 +16120,7 @@ ${finalArgs[promptIndex + 1]}`;
16117
16120
  await config.storage.initialize();
16118
16121
  adminControlsListner.setConfig(config);
16119
16122
  if (config.isInteractive() && settings.merged.general.devtools) {
16120
- const { setupInitialActivityLogger } = await import("./devtoolsService-OYQJHPEW.js");
16123
+ const { setupInitialActivityLogger } = await import("./devtoolsService-VDTVF5OM.js");
16121
16124
  setupInitialActivityLogger(config);
16122
16125
  }
16123
16126
  registerTelemetryConfig(config);
@@ -16176,7 +16179,7 @@ ${finalArgs[promptIndex + 1]}`;
16176
16179
  const initAppHandle = startupProfiler.start("initialize_app");
16177
16180
  const initializationResult = await initializeApp(config, settings);
16178
16181
  initAppHandle?.end();
16179
- import("./liteRtServerManager-4PZ3X7SS.js").then(({ LiteRtServerManager }) => {
16182
+ import("./liteRtServerManager-BONHUK6G.js").then(({ LiteRtServerManager }) => {
16180
16183
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
16181
16184
  if (!mergedGemma) return;
16182
16185
  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-HZCAEM2F.js";
8
- import "./chunk-FEY3T6LA.js";
9
- import "./chunk-OWSYSTWM.js";
10
- import "./chunk-DDJWQSDN.js";
7
+ } from "./chunk-OFSAI2ND.js";
8
+ import "./chunk-CXWB6LIZ.js";
9
+ import "./chunk-W53HJSSZ.js";
10
+ import "./chunk-FFUBQCSE.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-2XSNIT2N.js");
119
- const { FatalError, writeToStderr } = await import("./dist-MOEHPHUN.js");
120
- const { runExitCleanup } = await import("./cleanup-2FHZMQ3Z.js");
118
+ const { main } = await import("./gemini-V3OTI3NY.js");
119
+ const { FatalError, writeToStderr } = await import("./dist-CVH2R6ZI.js");
120
+ const { runExitCleanup } = await import("./cleanup-6QT55YQX.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-NYWYNF2Z.js";
158
+ } from "./chunk-NXVUP5BP.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-BLUAEAZN.js";
164
+ } from "./chunk-4ISYEWVQ.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-IGJG7DNZ.js";
214
+ } from "./chunk-OJ7TLNJC.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-Y6SLZFPD.js";
220
+ } from "./chunk-JTXGVKX5.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-OQLEYMM2.js";
225
+ } from "./chunk-QDW2YJ2D.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-WTRP3GGZ.js";
231
+ } from "./chunk-JKX72O3X.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-565MWDPP.js";
432
+ } from "./chunk-6HYYI5PZ.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;
@@ -16643,6 +16643,7 @@ function ModelDialog({ onClose }) {
16643
16643
  const preferredModel = config?.getModel() || GEMINI_MODEL_ALIAS_AUTO;
16644
16644
  const shouldShowPreviewModels = config?.getHasAccessToPreviewModel() ?? false;
16645
16645
  const useGemini31 = config?.getGemini31LaunchedSync?.() ?? false;
16646
+ const useGemini3_5Flash = config?.hasGemini35FlashGAAccess?.() ?? false;
16646
16647
  const selectedAuthType = settings.merged.security.auth.selectedType;
16647
16648
  const useCustomToolModel = useGemini31 && selectedAuthType === AuthType.USE_GEMINI;
16648
16649
  const manualModelSelected = (0, import_react55.useMemo)(() => {
@@ -16687,6 +16688,7 @@ function ModelDialog({ onClose }) {
16687
16688
  if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
16688
16689
  const allOptions = config.getModelConfigService().getAvailableModelOptions({
16689
16690
  useGemini3_1: useGemini31,
16691
+ useGemini3_5Flash,
16690
16692
  useCustomTools: useCustomToolModel,
16691
16693
  hasAccessToPreview: shouldShowPreviewModels,
16692
16694
  hasAccessToProModel
@@ -16711,7 +16713,8 @@ function ModelDialog({ onClose }) {
16711
16713
  title: getDisplayString(GEMINI_MODEL_ALIAS_AUTO),
16712
16714
  description: getAutoModelDescription(
16713
16715
  shouldShowPreviewModels,
16714
- useGemini31
16716
+ useGemini31,
16717
+ useGemini3_5Flash
16715
16718
  ),
16716
16719
  key: GEMINI_MODEL_ALIAS_AUTO
16717
16720
  },
@@ -16728,6 +16731,7 @@ function ModelDialog({ onClose }) {
16728
16731
  shouldShowPreviewModels,
16729
16732
  manualModelSelected,
16730
16733
  useGemini31,
16734
+ useGemini3_5Flash,
16731
16735
  useCustomToolModel,
16732
16736
  hasAccessToProModel
16733
16737
  ]);
@@ -16735,6 +16739,7 @@ function ModelDialog({ onClose }) {
16735
16739
  if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
16736
16740
  const allOptions = config.getModelConfigService().getAvailableModelOptions({
16737
16741
  useGemini3_1: useGemini31,
16742
+ useGemini3_5Flash,
16738
16743
  useCustomTools: useCustomToolModel,
16739
16744
  hasAccessToPreview: shouldShowPreviewModels,
16740
16745
  hasAccessToProModel
@@ -16808,6 +16813,7 @@ function ModelDialog({ onClose }) {
16808
16813
  }, [
16809
16814
  shouldShowPreviewModels,
16810
16815
  useGemini31,
16816
+ useGemini3_5Flash,
16811
16817
  useCustomToolModel,
16812
16818
  hasAccessToProModel,
16813
16819
  config
@@ -33721,7 +33727,7 @@ ${queuedText}` : queuedText;
33721
33727
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33722
33728
  if (settings.merged.general.devtools) {
33723
33729
  void (async () => {
33724
- const { toggleDevToolsPanel } = await import("./devtoolsService-OYQJHPEW.js");
33730
+ const { toggleDevToolsPanel } = await import("./devtoolsService-5GK2JZD4.js");
33725
33731
  await toggleDevToolsPanel(
33726
33732
  config,
33727
33733
  showErrorDetails,
@@ -155,13 +155,13 @@ import {
155
155
  widestLineFromStyledChars,
156
156
  wordBreakStyledChars,
157
157
  wrapStyledChars
158
- } from "./chunk-JWWA32XO.js";
158
+ } from "./chunk-S3TA2KSA.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-NVJOR76X.js";
164
+ } from "./chunk-TTFMSSFY.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-TCAVPMJX.js";
214
+ } from "./chunk-QCGIKZK5.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-JXVK53RJ.js";
220
+ } from "./chunk-OFSAI2ND.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-CJHCK2YW.js";
225
+ } from "./chunk-CXWB6LIZ.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-S6AQSJNU.js";
231
+ } from "./chunk-W53HJSSZ.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-5YTIYFJO.js";
432
+ } from "./chunk-FFUBQCSE.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;
@@ -16643,6 +16643,7 @@ function ModelDialog({ onClose }) {
16643
16643
  const preferredModel = config?.getModel() || GEMINI_MODEL_ALIAS_AUTO;
16644
16644
  const shouldShowPreviewModels = config?.getHasAccessToPreviewModel() ?? false;
16645
16645
  const useGemini31 = config?.getGemini31LaunchedSync?.() ?? false;
16646
+ const useGemini3_5Flash = config?.hasGemini35FlashGAAccess?.() ?? false;
16646
16647
  const selectedAuthType = settings.merged.security.auth.selectedType;
16647
16648
  const useCustomToolModel = useGemini31 && selectedAuthType === AuthType.USE_GEMINI;
16648
16649
  const manualModelSelected = (0, import_react55.useMemo)(() => {
@@ -16687,6 +16688,7 @@ function ModelDialog({ onClose }) {
16687
16688
  if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
16688
16689
  const allOptions = config.getModelConfigService().getAvailableModelOptions({
16689
16690
  useGemini3_1: useGemini31,
16691
+ useGemini3_5Flash,
16690
16692
  useCustomTools: useCustomToolModel,
16691
16693
  hasAccessToPreview: shouldShowPreviewModels,
16692
16694
  hasAccessToProModel
@@ -16711,7 +16713,8 @@ function ModelDialog({ onClose }) {
16711
16713
  title: getDisplayString(GEMINI_MODEL_ALIAS_AUTO),
16712
16714
  description: getAutoModelDescription(
16713
16715
  shouldShowPreviewModels,
16714
- useGemini31
16716
+ useGemini31,
16717
+ useGemini3_5Flash
16715
16718
  ),
16716
16719
  key: GEMINI_MODEL_ALIAS_AUTO
16717
16720
  },
@@ -16728,6 +16731,7 @@ function ModelDialog({ onClose }) {
16728
16731
  shouldShowPreviewModels,
16729
16732
  manualModelSelected,
16730
16733
  useGemini31,
16734
+ useGemini3_5Flash,
16731
16735
  useCustomToolModel,
16732
16736
  hasAccessToProModel
16733
16737
  ]);
@@ -16735,6 +16739,7 @@ function ModelDialog({ onClose }) {
16735
16739
  if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
16736
16740
  const allOptions = config.getModelConfigService().getAvailableModelOptions({
16737
16741
  useGemini3_1: useGemini31,
16742
+ useGemini3_5Flash,
16738
16743
  useCustomTools: useCustomToolModel,
16739
16744
  hasAccessToPreview: shouldShowPreviewModels,
16740
16745
  hasAccessToProModel
@@ -16808,6 +16813,7 @@ function ModelDialog({ onClose }) {
16808
16813
  }, [
16809
16814
  shouldShowPreviewModels,
16810
16815
  useGemini31,
16816
+ useGemini3_5Flash,
16811
16817
  useCustomToolModel,
16812
16818
  hasAccessToProModel,
16813
16819
  config
@@ -33721,7 +33727,7 @@ ${queuedText}` : queuedText;
33721
33727
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33722
33728
  if (settings.merged.general.devtools) {
33723
33729
  void (async () => {
33724
- const { toggleDevToolsPanel } = await import("./devtoolsService-SGV7MSUA.js");
33730
+ const { toggleDevToolsPanel } = await import("./devtoolsService-VDTVF5OM.js");
33725
33731
  await toggleDevToolsPanel(
33726
33732
  config,
33727
33733
  showErrorDetails,