@google/gemini-cli 0.46.0-preview.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 (67) hide show
  1. package/bundle/{chunk-4AGOZ7LL.js → chunk-24H54ISH.js} +7 -7
  2. package/bundle/{chunk-F2LLVPPS.js → chunk-3EC3ZLRQ.js} +2 -2
  3. package/bundle/{chunk-2GMVQS2Q.js → chunk-3WW2LTMX.js} +1 -1
  4. package/bundle/{chunk-ZXN4VW7M.js → chunk-4B7MDBUK.js} +1 -1
  5. package/bundle/{chunk-J444UQD3.js → chunk-5CWORGE3.js} +1 -1
  6. package/bundle/{chunk-HMR43ZX2.js → chunk-5IBYZHR7.js} +2 -2
  7. package/bundle/{chunk-QFEJQS5X.js → chunk-7Y6NU65D.js} +1 -1
  8. package/bundle/{chunk-4K3E3G6Z.js → chunk-EG7USKV5.js} +8 -5
  9. package/bundle/{chunk-SHFHGDWR.js → chunk-EZDKSTIF.js} +2 -2
  10. package/bundle/{chunk-RXG3JOOZ.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-XRDSBRG4.js → chunk-ITC7TFJU.js} +7560 -14072
  14. package/bundle/{chunk-BOJOJVNV.js → chunk-JF6RJW53.js} +1 -1
  15. package/bundle/chunk-JPYTHGMI.js +398 -0
  16. package/bundle/{chunk-FIM2LOYZ.js → chunk-KOJR46UO.js} +40 -23
  17. package/bundle/{chunk-MFYAVF7Y.js → chunk-KQ4V7ZN4.js} +67 -54
  18. package/bundle/chunk-O3UKVEBS.js +81685 -0
  19. package/bundle/{chunk-S2ICEQVC.js → chunk-ONUDATHO.js} +3 -3
  20. package/bundle/{chunk-HHFFICNK.js → chunk-QEVRJ7HY.js} +46 -23
  21. package/bundle/{chunk-LBE2WKE7.js → chunk-QFWAILKU.js} +3 -3
  22. package/bundle/{chunk-HZNEV3DS.js → chunk-QMCEWHRR.js} +1 -1
  23. package/bundle/{chunk-ZQGZKIDD.js → chunk-R4LEIQZM.js} +3 -3
  24. package/bundle/{chunk-5LUCCXOB.js → chunk-RXYIE5L5.js} +1 -1
  25. package/bundle/{chunk-GTRQQGSJ.js → chunk-UM53YDCH.js} +1 -1
  26. package/bundle/{chunk-YMNECODB.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-TDYUKPZH.js → chunk-YINW7YTJ.js} +1 -1
  32. package/bundle/{chunk-773AJHDP.js → chunk-YIOYXRDP.js} +7 -7
  33. package/bundle/{cleanup-2WXD6UQP.js → cleanup-4ZTB4WMN.js} +2 -2
  34. package/bundle/{cleanup-L3CLNVX6.js → cleanup-7LLX4OFN.js} +2 -2
  35. package/bundle/{cleanup-SUDL37MT.js → cleanup-GI5426XS.js} +2 -2
  36. package/bundle/cleanup-ZBLVGXIK.js +32 -0
  37. package/bundle/{core-VVRQ2GQD.js → core-3UQQYNJF.js} +3 -1
  38. package/bundle/{devtoolsService-ZYCBBAV3.js → devtoolsService-GJWWZ2KK.js} +2 -2
  39. package/bundle/{devtoolsService-E62WA3CY.js → devtoolsService-UNQILSWI.js} +4 -3
  40. package/bundle/devtoolsService-Z2YXVMYF.js +856 -0
  41. package/bundle/{devtoolsService-GLW7S6PS.js → devtoolsService-ZYGDAPOV.js} +2 -2
  42. package/bundle/{dist-GPCRVPKS.js → dist-4NVM6I2N.js} +3 -1
  43. package/bundle/{core-MOYKPEYV.js → dist-LIQULVXZ.js} +3 -1
  44. package/bundle/dist-XPP357J7.js +2140 -0
  45. package/bundle/docs/reference/configuration.md +3 -1
  46. package/bundle/{gemini-R5NCXCEL.js → gemini-5WY2YO7R.js} +216 -197
  47. package/bundle/gemini-7GZVH4VW.js +16409 -0
  48. package/bundle/{gemini-2JTOIMGM.js → gemini-QDOVPRKF.js} +17 -14
  49. package/bundle/{gemini-KV5CHM4H.js → gemini-RBKWBGCC.js} +17 -14
  50. package/bundle/gemini.js +7 -7
  51. package/bundle/{interactiveCli-RMWTSIEN.js → interactiveCli-BMKHWEH4.js} +17 -11
  52. package/bundle/{interactiveCli-7SIMXKNU.js → interactiveCli-OEFOYFJU.js} +323 -298
  53. package/bundle/interactiveCli-OGE5OTZB.js +34742 -0
  54. package/bundle/{interactiveCli-HVAQTBJK.js → interactiveCli-W3CMLQIM.js} +17 -11
  55. package/bundle/{liteRtServerManager-FY23PYSD.js → liteRtServerManager-3QOJEGNL.js} +4 -4
  56. package/bundle/{liteRtServerManager-LDS45QKP.js → liteRtServerManager-HPVNUYFX.js} +4 -4
  57. package/bundle/{liteRtServerManager-BP7XKGNU.js → liteRtServerManager-Q6LTEYH4.js} +4 -4
  58. package/bundle/liteRtServerManager-YL4YRHOA.js +65 -0
  59. package/bundle/{oauth2-provider-VVNBQH45.js → oauth2-provider-3WXIASQA.js} +1 -1
  60. package/bundle/{oauth2-provider-KL44D6HV.js → oauth2-provider-CTPS7JLT.js} +1 -1
  61. package/bundle/{oauth2-provider-4SSSEI6P.js → oauth2-provider-K52EY6RG.js} +38 -72
  62. package/bundle/oauth2-provider-PJJE326A.js +235 -0
  63. package/bundle/{start-FRM2XDGC.js → start-25W6VZG6.js} +6 -6
  64. package/bundle/{start-OEPJINIW.js → start-JBJSIKIB.js} +6 -6
  65. package/bundle/{start-DLEOBFRC.js → start-PK22QMBT.js} +6 -6
  66. package/bundle/start-XAEHV6FV.js +18 -0
  67. package/package.json +1 -1
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  exitCli,
4
4
  require_source
5
- } from "./chunk-BOJOJVNV.js";
5
+ } from "./chunk-RXYIE5L5.js";
6
6
  import {
7
7
  DEFAULT_PORT,
8
8
  SERVER_START_WAIT_MS,
@@ -14,10 +14,10 @@ import {
14
14
  isServerRunning,
15
15
  resolveGemmaConfig,
16
16
  writeServerProcessInfo
17
- } from "./chunk-4K3E3G6Z.js";
17
+ } from "./chunk-5CWORGE3.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-HHFFICNK.js";
20
+ } from "./chunk-ITC7TFJU.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -276237,6 +276237,7 @@ var PREVIEW_GEMINI_FLASH_MODEL = "gemini-3-flash-preview";
276237
276237
  var DEFAULT_GEMINI_MODEL = "gemini-2.5-pro";
276238
276238
  var DEFAULT_GEMINI_FLASH_MODEL = "gemini-2.5-flash";
276239
276239
  var DEFAULT_GEMINI_3_5_FLASH_MODEL = "gemini-3.5-flash";
276240
+ var SECONDARY_GEMINI_3_5_FLASH_MODEL = "gemini-3-flash";
276240
276241
  function setFlashModels(preview, defaultFlash) {
276241
276242
  PREVIEW_GEMINI_FLASH_MODEL = preview;
276242
276243
  DEFAULT_GEMINI_FLASH_MODEL = defaultFlash;
@@ -276254,6 +276255,7 @@ var VALID_GEMINI_MODELS = /* @__PURE__ */ new Set([
276254
276255
  DEFAULT_GEMINI_MODEL,
276255
276256
  DEFAULT_GEMINI_FLASH_MODEL,
276256
276257
  DEFAULT_GEMINI_3_5_FLASH_MODEL,
276258
+ SECONDARY_GEMINI_3_5_FLASH_MODEL,
276257
276259
  DEFAULT_GEMINI_FLASH_LITE_MODEL,
276258
276260
  GEMMA_4_31B_IT_MODEL,
276259
276261
  GEMMA_4_26B_A4B_IT_MODEL
@@ -276266,10 +276268,10 @@ var GEMINI_MODEL_ALIAS_FLASH = "flash";
276266
276268
  var GEMINI_MODEL_ALIAS_FLASH_LITE = "flash-lite";
276267
276269
  var DEFAULT_GEMINI_EMBEDDING_MODEL = "gemini-embedding-001";
276268
276270
  var DEFAULT_THINKING_MODE = 8192;
276269
- function getAutoModelDescription(hasAccessToPreview, useGemini3_1 = false) {
276271
+ function getAutoModelDescription(hasAccessToPreview, useGemini3_1 = false, useGemini3_5Flash = false) {
276270
276272
  const proModel = hasAccessToPreview ? useGemini3_1 ? PREVIEW_GEMINI_3_1_MODEL : PREVIEW_GEMINI_MODEL : DEFAULT_GEMINI_MODEL;
276271
- const flashModel = hasAccessToPreview ? PREVIEW_GEMINI_FLASH_MODEL : DEFAULT_GEMINI_FLASH_MODEL;
276272
- return `Let Gemini CLI decide the best model for the task: ${proModel}, ${flashModel}`;
276273
+ const flashModel = hasAccessToPreview ? useGemini3_5Flash ? DEFAULT_GEMINI_3_5_FLASH_MODEL : PREVIEW_GEMINI_FLASH_MODEL : DEFAULT_GEMINI_FLASH_MODEL;
276274
+ return `Let Gemini CLI decide the best model for the task: ${getDisplayString(proModel)}, ${getDisplayString(flashModel)}`;
276273
276275
  }
276274
276276
  function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel = false, hasAccessToPreview = true, config2, useGemini3_5Flash = false) {
276275
276277
  const normalizedModel = Array.isArray(requestedModel) ? String(requestedModel.at(-1) ?? "").trim() || "" : typeof requestedModel !== "string" ? String(requestedModel ?? "").trim() || "" : requestedModel.trim() || "";
@@ -276285,7 +276287,7 @@ function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel =
276285
276287
  return DEFAULT_GEMINI_FLASH_LITE_MODEL;
276286
276288
  }
276287
276289
  if (resolved2.includes("flash")) {
276288
- return useGemini3_5Flash ? DEFAULT_GEMINI_3_5_FLASH_MODEL : DEFAULT_GEMINI_FLASH_MODEL;
276290
+ return DEFAULT_GEMINI_FLASH_MODEL;
276289
276291
  }
276290
276292
  return DEFAULT_GEMINI_MODEL;
276291
276293
  }
@@ -276314,7 +276316,7 @@ function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel =
276314
276316
  break;
276315
276317
  }
276316
276318
  case GEMINI_MODEL_ALIAS_FLASH: {
276317
- resolved = useGemini3_5Flash ? DEFAULT_GEMINI_3_5_FLASH_MODEL : PREVIEW_GEMINI_FLASH_MODEL;
276319
+ resolved = useGemini3_5Flash ? DEFAULT_GEMINI_FLASH_MODEL : PREVIEW_GEMINI_FLASH_MODEL;
276318
276320
  break;
276319
276321
  }
276320
276322
  case GEMINI_MODEL_ALIAS_FLASH_LITE: {
@@ -276329,13 +276331,13 @@ function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel =
276329
276331
  if (resolved === "none") {
276330
276332
  return DEFAULT_GEMINI_FLASH_LITE_MODEL;
276331
276333
  }
276332
- if (useGemini3_5Flash && isFlashModel(resolved)) {
276333
- return DEFAULT_GEMINI_3_5_FLASH_MODEL;
276334
+ if (useGemini3_5Flash && isFlashModel(resolved) && normalizedModel !== PREVIEW_GEMINI_FLASH_MODEL) {
276335
+ return DEFAULT_GEMINI_FLASH_MODEL;
276334
276336
  }
276335
276337
  if (!hasAccessToPreview && isPreviewModel(resolved)) {
276336
276338
  switch (resolved) {
276337
276339
  case PREVIEW_GEMINI_FLASH_MODEL:
276338
- return useGemini3_5Flash ? DEFAULT_GEMINI_3_5_FLASH_MODEL : DEFAULT_GEMINI_FLASH_MODEL;
276340
+ return DEFAULT_GEMINI_FLASH_MODEL;
276339
276341
  case PREVIEW_GEMINI_MODEL:
276340
276342
  case PREVIEW_GEMINI_3_1_MODEL:
276341
276343
  case PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL:
@@ -276345,7 +276347,7 @@ function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel =
276345
276347
  return DEFAULT_GEMINI_FLASH_LITE_MODEL;
276346
276348
  }
276347
276349
  if (resolved.includes("flash")) {
276348
- return useGemini3_5Flash ? DEFAULT_GEMINI_3_5_FLASH_MODEL : DEFAULT_GEMINI_FLASH_MODEL;
276350
+ return DEFAULT_GEMINI_FLASH_MODEL;
276349
276351
  }
276350
276352
  return DEFAULT_GEMINI_MODEL;
276351
276353
  }
@@ -276353,7 +276355,7 @@ function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel =
276353
276355
  return resolved;
276354
276356
  }
276355
276357
  function isFlashModel(model) {
276356
- return model === DEFAULT_GEMINI_FLASH_MODEL || model === PREVIEW_GEMINI_FLASH_MODEL || model === DEFAULT_GEMINI_3_5_FLASH_MODEL || model === "flash" || model.endsWith("flash");
276358
+ return model === DEFAULT_GEMINI_FLASH_MODEL || model === PREVIEW_GEMINI_FLASH_MODEL || model === DEFAULT_GEMINI_3_5_FLASH_MODEL || model === SECONDARY_GEMINI_3_5_FLASH_MODEL || model === "flash" || model.endsWith("flash");
276357
276359
  }
276358
276360
  function resolveClassifierModel(requestedModel, modelAlias, useGemini3_1 = false, useCustomToolModel = false, hasAccessToPreview = true, config2, useGemini3_5Flash = false) {
276359
276361
  if (config2?.getExperimentalDynamicModelConfiguration?.() === true) {
@@ -276370,11 +276372,11 @@ function resolveClassifierModel(requestedModel, modelAlias, useGemini3_1 = false
276370
276372
  }
276371
276373
  if (modelAlias === GEMINI_MODEL_ALIAS_FLASH) {
276372
276374
  if (requestedModel === DEFAULT_GEMINI_MODEL_AUTO || requestedModel === DEFAULT_GEMINI_MODEL) {
276373
- return useGemini3_5Flash ? DEFAULT_GEMINI_3_5_FLASH_MODEL : DEFAULT_GEMINI_FLASH_MODEL;
276375
+ return DEFAULT_GEMINI_FLASH_MODEL;
276374
276376
  }
276375
276377
  if (requestedModel === PREVIEW_GEMINI_MODEL_AUTO || requestedModel === PREVIEW_GEMINI_MODEL || requestedModel === GEMINI_MODEL_ALIAS_AUTO) {
276376
276378
  if (useGemini3_5Flash) {
276377
- return DEFAULT_GEMINI_3_5_FLASH_MODEL;
276379
+ return DEFAULT_GEMINI_FLASH_MODEL;
276378
276380
  }
276379
276381
  return hasAccessToPreview ? PREVIEW_GEMINI_FLASH_MODEL : DEFAULT_GEMINI_FLASH_MODEL;
276380
276382
  }
@@ -276404,6 +276406,8 @@ function getDisplayString(model, config2) {
276404
276406
  }
276405
276407
  }
276406
276408
  switch (model) {
276409
+ case "gemini-3-flash":
276410
+ return DEFAULT_GEMINI_3_5_FLASH_MODEL;
276407
276411
  case GEMINI_MODEL_ALIAS_AUTO:
276408
276412
  return "Auto";
276409
276413
  case PREVIEW_GEMINI_MODEL_AUTO:
@@ -279555,7 +279559,7 @@ function isValidToolName(name3, options = {}) {
279555
279559
  }
279556
279560
 
279557
279561
  // packages/core/src/generated/git-commit.ts
279558
- var GIT_COMMIT_INFO = "cfcecebe8";
279562
+ var GIT_COMMIT_INFO = "700c96118";
279559
279563
  var CLI_VERSION = "0.46.0-preview.0";
279560
279564
 
279561
279565
  // packages/core/src/ide/detect-ide.ts
@@ -338369,7 +338373,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
338369
338373
  return provider;
338370
338374
  }
338371
338375
  case "oauth2": {
338372
- const { OAuth2AuthProvider } = await import("./oauth2-provider-KL44D6HV.js");
338376
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-CTPS7JLT.js");
338373
338377
  const provider = new OAuth2AuthProvider(
338374
338378
  authConfig,
338375
338379
  options.agentName ?? "unknown",
@@ -338540,6 +338544,7 @@ var ModelConfigService = class _ModelConfigService {
338540
338544
  const definitions = this.config.modelDefinitions ?? {};
338541
338545
  const shouldShowPreviewModels = context2.hasAccessToPreview ?? false;
338542
338546
  const useGemini31 = context2.useGemini3_1 ?? false;
338547
+ const useGemini3_5Flash = context2.useGemini3_5Flash ?? false;
338543
338548
  const mainOptions = Object.entries(definitions).filter(([_2, m]) => {
338544
338549
  if (m.isVisible !== true) return false;
338545
338550
  if (m.isPreview && !shouldShowPreviewModels) return false;
@@ -338550,7 +338555,8 @@ var ModelConfigService = class _ModelConfigService {
338550
338555
  if (id === "auto") {
338551
338556
  description = getAutoModelDescription(
338552
338557
  shouldShowPreviewModels,
338553
- useGemini31
338558
+ useGemini31,
338559
+ useGemini3_5Flash
338554
338560
  );
338555
338561
  } else if (id === "auto-gemini-3" && useGemini31) {
338556
338562
  description = description.replace("gemini-3-pro", "gemini-3.1-pro");
@@ -360043,13 +360049,15 @@ ${formattedHistory}
360043
360049
  config2.getUseCustomToolModel(),
360044
360050
  config2.getHasAccessToPreviewModel()
360045
360051
  ]);
360052
+ const useGemini3_5Flash = config2.hasGemini35FlashGAAccess?.() ?? false;
360046
360053
  const selectedModel = resolveClassifierModel(
360047
360054
  context2.requestedModel ?? config2.getModel(),
360048
360055
  routerResponse.model_choice,
360049
360056
  useGemini3_1,
360050
360057
  useCustomToolModel,
360051
360058
  hasAccessToPreview,
360052
- config2
360059
+ config2,
360060
+ useGemini3_5Flash
360053
360061
  );
360054
360062
  return {
360055
360063
  model: selectedModel,
@@ -360222,6 +360230,7 @@ var ClassifierStrategy = class {
360222
360230
  config2.getGemini31Launched(),
360223
360231
  config2.getUseCustomToolModel()
360224
360232
  ]);
360233
+ const useGemini3_5Flash = config2.hasGemini35FlashGAAccess?.() ?? false;
360225
360234
  const selectedModel = normalizeModelId(
360226
360235
  resolveClassifierModel(
360227
360236
  normalizeModelId(model),
@@ -360229,7 +360238,8 @@ var ClassifierStrategy = class {
360229
360238
  useGemini3_1,
360230
360239
  useCustomToolModel,
360231
360240
  config2.getHasAccessToPreviewModel?.() ?? true,
360232
- config2
360241
+ config2,
360242
+ useGemini3_5Flash
360233
360243
  )
360234
360244
  );
360235
360245
  const service = config2.getModelAvailabilityService();
@@ -360378,6 +360388,7 @@ var NumericalClassifierStrategy = class {
360378
360388
  config2.getGemini31Launched(),
360379
360389
  config2.getUseCustomToolModel()
360380
360390
  ]);
360391
+ const useGemini3_5Flash = config2.hasGemini35FlashGAAccess?.() ?? false;
360381
360392
  const selectedModel = normalizeModelId(
360382
360393
  resolveClassifierModel(
360383
360394
  normalizeModelId(model),
@@ -360385,7 +360396,8 @@ var NumericalClassifierStrategy = class {
360385
360396
  useGemini3_1,
360386
360397
  useCustomToolModel,
360387
360398
  config2.getHasAccessToPreviewModel?.() ?? true,
360388
- config2
360399
+ config2,
360400
+ useGemini3_5Flash
360389
360401
  )
360390
360402
  );
360391
360403
  const service = config2.getModelAvailabilityService();
@@ -360576,6 +360588,7 @@ var ApprovalModeStrategy = class {
360576
360588
  config2.getUseCustomToolModel(),
360577
360589
  config2.getHasAccessToPreviewModel()
360578
360590
  ]);
360591
+ const useGemini3_5Flash = config2.hasGemini35FlashGAAccess?.() ?? false;
360579
360592
  if (approvalMode === "plan" /* PLAN */) {
360580
360593
  const proModel = resolveClassifierModel(
360581
360594
  model,
@@ -360583,7 +360596,8 @@ var ApprovalModeStrategy = class {
360583
360596
  useGemini3_1,
360584
360597
  useCustomToolModel,
360585
360598
  hasAccessToPreview,
360586
- config2
360599
+ config2,
360600
+ useGemini3_5Flash
360587
360601
  );
360588
360602
  return {
360589
360603
  model: proModel,
@@ -360600,7 +360614,8 @@ var ApprovalModeStrategy = class {
360600
360614
  useGemini3_1,
360601
360615
  useCustomToolModel,
360602
360616
  hasAccessToPreview,
360603
- config2
360617
+ config2,
360618
+ useGemini3_5Flash
360604
360619
  );
360605
360620
  return {
360606
360621
  model: flashModel,
@@ -361173,9 +361188,12 @@ var DEFAULT_MODEL_CONFIGS = {
361173
361188
  "gemini-3-flash-preview": {
361174
361189
  default: "gemini-3-flash-preview",
361175
361190
  contexts: [
361176
- { condition: { useGemini3_5Flash: true }, target: "gemini-3.5-flash" },
361177
361191
  {
361178
- condition: { hasAccessToPreview: false },
361192
+ condition: { hasAccessToPreview: false, useGemini3_5Flash: true },
361193
+ target: "gemini-3.5-flash"
361194
+ },
361195
+ {
361196
+ condition: { hasAccessToPreview: false, useGemini3_5Flash: false },
361179
361197
  target: "gemini-2.5-flash"
361180
361198
  }
361181
361199
  ]
@@ -381434,7 +381452,11 @@ ${sections.join("\n")}
381434
381452
  return this.experiments?.flags[ExperimentFlags.GEMINI_3_5_FLASH_GA_LAUNCHED]?.boolValue ?? false;
381435
381453
  })();
381436
381454
  if (hasAccess) {
381437
- setFlashModels("gemini-3.5-flash", "gemini-3.5-flash");
381455
+ if (authType === "gemini-api-key" /* USE_GEMINI */) {
381456
+ setFlashModels("gemini-3-flash-preview", "gemini-3.5-flash");
381457
+ } else {
381458
+ setFlashModels("gemini-3-flash", "gemini-3-flash");
381459
+ }
381438
381460
  } else {
381439
381461
  setFlashModels("gemini-3-flash-preview", "gemini-2.5-flash");
381440
381462
  }
@@ -399870,6 +399892,7 @@ export {
399870
399892
  DEFAULT_GEMINI_MODEL,
399871
399893
  DEFAULT_GEMINI_FLASH_MODEL,
399872
399894
  DEFAULT_GEMINI_3_5_FLASH_MODEL,
399895
+ SECONDARY_GEMINI_3_5_FLASH_MODEL,
399873
399896
  setFlashModels,
399874
399897
  DEFAULT_GEMINI_FLASH_LITE_MODEL,
399875
399898
  PREVIEW_GEMINI_FLASH_LITE_MODEL,
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  exitCli,
4
4
  require_source
5
- } from "./chunk-HZNEV3DS.js";
5
+ } from "./chunk-QMCEWHRR.js";
6
6
  import {
7
7
  DEFAULT_PORT,
8
8
  SERVER_START_WAIT_MS,
@@ -14,10 +14,10 @@ import {
14
14
  isServerRunning,
15
15
  resolveGemmaConfig,
16
16
  writeServerProcessInfo
17
- } from "./chunk-ZXN4VW7M.js";
17
+ } from "./chunk-EG7USKV5.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-XRDSBRG4.js";
20
+ } from "./chunk-KOJR46UO.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -1,7 +1,7 @@
1
1
  const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
2
2
  import {
3
3
  runExitCleanup
4
- } from "./chunk-QFEJQS5X.js";
4
+ } from "./chunk-3WW2LTMX.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  exitCli,
4
4
  require_source
5
- } from "./chunk-5LUCCXOB.js";
5
+ } from "./chunk-VETILJQA.js";
6
6
  import {
7
7
  DEFAULT_PORT,
8
8
  SERVER_START_WAIT_MS,
@@ -14,10 +14,10 @@ import {
14
14
  isServerRunning,
15
15
  resolveGemmaConfig,
16
16
  writeServerProcessInfo
17
- } from "./chunk-J444UQD3.js";
17
+ } from "./chunk-4B7MDBUK.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-FIM2LOYZ.js";
20
+ } from "./chunk-QEVRJ7HY.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -1,7 +1,7 @@
1
1
  const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
2
2
  import {
3
3
  runExitCleanup
4
- } from "./chunk-RXG3JOOZ.js";
4
+ } from "./chunk-7Y6NU65D.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  CoreToolCallStatus,
4
4
  checkExhaustive
5
- } from "./chunk-FIM2LOYZ.js";
5
+ } from "./chunk-KOJR46UO.js";
6
6
  import {
7
7
  __commonJS,
8
8
  __toESM
@@ -1,7 +1,8 @@
1
1
  const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
2
2
  import {
3
+ CoreToolCallStatus,
3
4
  checkExhaustive
4
- } from "./chunk-XRDSBRG4.js";
5
+ } from "./chunk-XVDCGVTF.js";
5
6
  import {
6
7
  __commonJS,
7
8
  __toESM
@@ -464,19 +465,19 @@ var require_react = __commonJS({
464
465
  var import_react = __toESM(require_react(), 1);
465
466
  function mapCoreStatusToDisplayStatus(coreStatus) {
466
467
  switch (coreStatus) {
467
- case "validating" /* Validating */:
468
+ case CoreToolCallStatus.Validating:
468
469
  return "Pending" /* Pending */;
469
- case "awaiting_approval" /* AwaitingApproval */:
470
+ case CoreToolCallStatus.AwaitingApproval:
470
471
  return "Confirming" /* Confirming */;
471
- case "executing" /* Executing */:
472
+ case CoreToolCallStatus.Executing:
472
473
  return "Executing" /* Executing */;
473
- case "success" /* Success */:
474
+ case CoreToolCallStatus.Success:
474
475
  return "Success" /* Success */;
475
- case "cancelled" /* Cancelled */:
476
+ case CoreToolCallStatus.Cancelled:
476
477
  return "Canceled" /* Canceled */;
477
- case "error" /* Error */:
478
+ case CoreToolCallStatus.Error:
478
479
  return "Error" /* Error */;
479
- case "scheduled" /* Scheduled */:
480
+ case CoreToolCallStatus.Scheduled:
480
481
  return "Pending" /* Pending */;
481
482
  default:
482
483
  return checkExhaustive(coreStatus);