@google/gemini-cli 0.45.0 → 0.45.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-SG46YSQ3.js → chunk-25BU7OMU.js} +7 -7
  2. package/bundle/{chunk-EUYIPFPA.js → chunk-2B6NXQYE.js} +1 -1
  3. package/bundle/{chunk-HFVEWB6N.js → chunk-35YZAQWE.js} +1 -1
  4. package/bundle/{chunk-N6QPQL7E.js → chunk-3AIAY5PD.js} +183 -50
  5. package/bundle/{chunk-VL3FKVC7.js → chunk-4YNBYIJA.js} +3 -3
  6. package/bundle/{chunk-Z5F25543.js → chunk-5VGUJAN2.js} +1 -1
  7. package/bundle/{chunk-53SRWMUU.js → chunk-6GEZV4AF.js} +1 -1
  8. package/bundle/{chunk-4EBMYFID.js → chunk-7FGZGJNF.js} +67 -54
  9. package/bundle/{chunk-PXEK5ENZ.js → chunk-7ZDQV5DQ.js} +9 -8
  10. package/bundle/{chunk-GVEZJIV3.js → chunk-CTTYNCHI.js} +1 -1
  11. package/bundle/{chunk-EORX7LYI.js → chunk-CWO4SMA7.js} +1 -1
  12. package/bundle/{chunk-YI3KORH5.js → chunk-E65V7MX5.js} +2 -2
  13. package/bundle/{chunk-K6WTIGVC.js → chunk-FCYM73EG.js} +2 -2
  14. package/bundle/{chunk-TWSSMLUS.js → chunk-GGJVZUJT.js} +1 -1
  15. package/bundle/{chunk-6T7N6JF2.js → chunk-K2JT5CUB.js} +156 -50
  16. package/bundle/{chunk-3TWZMAJU.js → chunk-KAD4VDUI.js} +3 -3
  17. package/bundle/chunk-KB2JUDKD.js +81685 -0
  18. package/bundle/{chunk-XV2YFH7B.js → chunk-L4G73C3Y.js} +7654 -14056
  19. package/bundle/chunk-LSXUKR6W.js +394545 -0
  20. package/bundle/{chunk-THZMPVCN.js → chunk-LYEXUQ4X.js} +1 -1
  21. package/bundle/chunk-MHSMZKC6.js +512 -0
  22. package/bundle/chunk-MXTWZ3CE.js +154 -0
  23. package/bundle/{chunk-JLFE3KRS.js → chunk-NRSJ3JUA.js} +1 -1
  24. package/bundle/{chunk-2ARYG3KE.js → chunk-P3GSBAEP.js} +1 -1
  25. package/bundle/{chunk-4KOU3QNT.js → chunk-PMKKVFOZ.js} +8 -5
  26. package/bundle/{chunk-PNU4GACG.js → chunk-PUOWQXRH.js} +2 -2
  27. package/bundle/{chunk-KSNTXH4E.js → chunk-SG5DULX4.js} +7 -7
  28. package/bundle/{chunk-IL7J46PP.js → chunk-SSINWKB6.js} +3 -3
  29. package/bundle/chunk-VPNI55G3.js +1571 -0
  30. package/bundle/chunk-Y6JP7OVV.js +118 -0
  31. package/bundle/chunk-YEROR775.js +398 -0
  32. package/bundle/chunk-ZN7V2SWM.js +17320 -0
  33. package/bundle/{cleanup-3SMSXJJA.js → cleanup-G4VWZ3XN.js} +2 -2
  34. package/bundle/{cleanup-FNQ3LEWG.js → cleanup-LPS6MSYO.js} +2 -2
  35. package/bundle/{cleanup-I56KHTTC.js → cleanup-W3WS5ZAJ.js} +2 -2
  36. package/bundle/cleanup-XZSL4265.js +32 -0
  37. package/bundle/{core-KGXBOJTX.js → core-HZQW4AJT.js} +7 -1
  38. package/bundle/{devtoolsService-EW3B2Y63.js → devtoolsService-2KN6EUI5.js} +2 -2
  39. package/bundle/{devtoolsService-F7PHNBEQ.js → devtoolsService-CITULPO6.js} +4 -3
  40. package/bundle/devtoolsService-KOD5PTTB.js +856 -0
  41. package/bundle/{devtoolsService-VFEFRDYG.js → devtoolsService-NIPM7EYR.js} +2 -2
  42. package/bundle/{dist-2G5KTD32.js → dist-5NDSNRMN.js} +7 -1
  43. package/bundle/{core-AQUUQTX2.js → dist-Q5HIYSDI.js} +7 -1
  44. package/bundle/dist-X7BXM7FW.js +2140 -0
  45. package/bundle/docs/reference/configuration.md +71 -0
  46. package/bundle/{gemini-ORQHD633.js → gemini-4IQ2UBE4.js} +18 -15
  47. package/bundle/{gemini-4KS2EZX6.js → gemini-75GSY6S7.js} +216 -197
  48. package/bundle/{gemini-JMMBFICD.js → gemini-IHDGRWWD.js} +18 -15
  49. package/bundle/gemini-YZFND2X2.js +16409 -0
  50. package/bundle/gemini.js +7 -7
  51. package/bundle/{interactiveCli-ZJXV4DW7.js → interactiveCli-76DU2VGH.js} +18 -12
  52. package/bundle/{interactiveCli-XUZZOZXX.js → interactiveCli-B6OMNE4Q.js} +18 -12
  53. package/bundle/{interactiveCli-ESB66RW7.js → interactiveCli-CFXMMG32.js} +324 -299
  54. package/bundle/interactiveCli-EYDFUDAD.js +34732 -0
  55. package/bundle/{liteRtServerManager-HELKQKOZ.js → liteRtServerManager-5DJRY5PB.js} +4 -4
  56. package/bundle/{liteRtServerManager-RNNHEQJI.js → liteRtServerManager-HIX7EWET.js} +4 -4
  57. package/bundle/{liteRtServerManager-DORIWEMR.js → liteRtServerManager-JSJ7U5MN.js} +4 -4
  58. package/bundle/liteRtServerManager-LZAUADEL.js +65 -0
  59. package/bundle/{oauth2-provider-7N4OFPTL.js → oauth2-provider-D6YBGNZY.js} +1 -1
  60. package/bundle/{oauth2-provider-2IJNOFOO.js → oauth2-provider-GK36RHO3.js} +1 -1
  61. package/bundle/{oauth2-provider-YYLBPESU.js → oauth2-provider-JWOBX6HR.js} +38 -72
  62. package/bundle/oauth2-provider-PYU5GIOF.js +235 -0
  63. package/bundle/{start-IGG6LDST.js → start-EUUTULL6.js} +6 -6
  64. package/bundle/{start-R7DTCFCN.js → start-NSQH4XZZ.js} +6 -6
  65. package/bundle/{start-66KF6MVV.js → start-WUH65UMB.js} +6 -6
  66. package/bundle/start-WYV53B3R.js +18 -0
  67. package/package.json +1 -1
@@ -602,6 +602,12 @@ their corresponding top-level category object in your `settings.json` file.
602
602
  "model": "gemini-3.1-flash-lite"
603
603
  }
604
604
  },
605
+ "gemini-3.5-flash": {
606
+ "extends": "chat-base-3",
607
+ "modelConfig": {
608
+ "model": "gemini-3.5-flash"
609
+ }
610
+ },
605
611
  "gemma-4-31b-it": {
606
612
  "extends": "chat-base-3",
607
613
  "modelConfig": {
@@ -626,6 +632,12 @@ their corresponding top-level category object in your `settings.json` file.
626
632
  "model": "gemini-3-flash-preview"
627
633
  }
628
634
  },
635
+ "gemini-3.5-flash-base": {
636
+ "extends": "base",
637
+ "modelConfig": {
638
+ "model": "gemini-3.5-flash"
639
+ }
640
+ },
629
641
  "classifier": {
630
642
  "extends": "base",
631
643
  "modelConfig": {
@@ -868,6 +880,16 @@ their corresponding top-level category object in your `settings.json` file.
868
880
  "multimodalToolUse": true
869
881
  }
870
882
  },
883
+ "gemini-3.5-flash": {
884
+ "tier": "flash",
885
+ "family": "gemini-3",
886
+ "isPreview": false,
887
+ "isVisible": true,
888
+ "features": {
889
+ "thinking": false,
890
+ "multimodalToolUse": true
891
+ }
892
+ },
871
893
  "gemini-2.5-pro": {
872
894
  "tier": "pro",
873
895
  "family": "gemini-2.5",
@@ -1020,9 +1042,46 @@ their corresponding top-level category object in your `settings.json` file.
1020
1042
  "contexts": [
1021
1043
  {
1022
1044
  "condition": {
1045
+ "hasAccessToPreview": false,
1046
+ "useGemini3_5Flash": true
1047
+ },
1048
+ "target": "gemini-3.5-flash"
1049
+ },
1050
+ {
1051
+ "condition": {
1052
+ "hasAccessToPreview": false,
1053
+ "useGemini3_5Flash": false
1054
+ },
1055
+ "target": "gemini-2.5-flash"
1056
+ }
1057
+ ]
1058
+ },
1059
+ "gemini-3.5-flash": {
1060
+ "default": "gemini-3.5-flash",
1061
+ "contexts": [
1062
+ {
1063
+ "condition": {
1064
+ "useGemini3_5Flash": false,
1023
1065
  "hasAccessToPreview": false
1024
1066
  },
1025
1067
  "target": "gemini-2.5-flash"
1068
+ },
1069
+ {
1070
+ "condition": {
1071
+ "useGemini3_5Flash": false
1072
+ },
1073
+ "target": "gemini-3-flash-preview"
1074
+ }
1075
+ ]
1076
+ },
1077
+ "gemini-2.5-flash": {
1078
+ "default": "gemini-2.5-flash",
1079
+ "contexts": [
1080
+ {
1081
+ "condition": {
1082
+ "useGemini3_5Flash": true
1083
+ },
1084
+ "target": "gemini-3.5-flash"
1026
1085
  }
1027
1086
  ]
1028
1087
  },
@@ -1104,6 +1163,12 @@ their corresponding top-level category object in your `settings.json` file.
1104
1163
  "flash": {
1105
1164
  "default": "gemini-3-flash-preview",
1106
1165
  "contexts": [
1166
+ {
1167
+ "condition": {
1168
+ "useGemini3_5Flash": true
1169
+ },
1170
+ "target": "gemini-3.5-flash"
1171
+ },
1107
1172
  {
1108
1173
  "condition": {
1109
1174
  "hasAccessToPreview": false
@@ -1157,6 +1222,12 @@ their corresponding top-level category object in your `settings.json` file.
1157
1222
  "flash": {
1158
1223
  "default": "gemini-3-flash-preview",
1159
1224
  "contexts": [
1225
+ {
1226
+ "condition": {
1227
+ "useGemini3_5Flash": true
1228
+ },
1229
+ "target": "gemini-3.5-flash"
1230
+ },
1160
1231
  {
1161
1232
  "condition": {
1162
1233
  "hasAccessToPreview": false
@@ -41,18 +41,18 @@ import {
41
41
  updateAllUpdatableExtensions,
42
42
  updateExtension,
43
43
  validateAuthMethod
44
- } from "./chunk-SG46YSQ3.js";
44
+ } from "./chunk-25BU7OMU.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-IL7J46PP.js";
51
+ } from "./chunk-KAD4VDUI.js";
52
52
  import {
53
53
  exitCli,
54
54
  require_source
55
- } from "./chunk-53SRWMUU.js";
55
+ } from "./chunk-6GEZV4AF.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-EUYIPFPA.js";
89
+ } from "./chunk-2B6NXQYE.js";
90
90
  import {
91
91
  RELAUNCH_EXIT_CODE
92
- } from "./chunk-K6WTIGVC.js";
93
- import "./chunk-Z5F25543.js";
92
+ } from "./chunk-YEROR775.js";
93
+ import "./chunk-MHSMZKC6.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-EORX7LYI.js";
102
+ } from "./chunk-CWO4SMA7.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-6T7N6JF2.js";
250
+ } from "./chunk-K2JT5CUB.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" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7844
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.45.2" ?? 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-EW3B2Y63.js");
10252
+ const { setupInitialActivityLogger } = await import("./devtoolsService-CITULPO6.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-EW3B2Y63.js");
10723
+ const { setupInitialActivityLogger } = await import("./devtoolsService-CITULPO6.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-XUZZOZXX.js");
15914
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-EYDFUDAD.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-EW3B2Y63.js");
16123
+ const { setupInitialActivityLogger } = await import("./devtoolsService-CITULPO6.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-DORIWEMR.js").then(({ LiteRtServerManager }) => {
16182
+ import("./liteRtServerManager-HIX7EWET.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;