@google/gemini-cli 0.36.0-preview.6 → 0.36.0-preview.8
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.
- package/bundle/{chunk-PDW366WH.js → chunk-5JDHTAA3.js} +85 -29
- package/bundle/{chunk-U2JBMR75.js → chunk-5Y6Y7SEB.js} +85 -29
- package/bundle/{chunk-4P6XQ35T.js → chunk-642LNT3F.js} +7382 -2769
- package/bundle/{chunk-5JYGJANN.js → chunk-FWCJAF6L.js} +7382 -2769
- package/bundle/{chunk-PXG3YTLU.js → chunk-MYI75E6G.js} +20 -6
- package/bundle/{chunk-OE54FCNN.js → chunk-N22U7LIR.js} +103 -18
- package/bundle/{chunk-QTNBTOHX.js → chunk-QBLIM2T2.js} +7382 -2769
- package/bundle/{chunk-HLML5SVJ.js → chunk-S2IQOR7T.js} +15 -6
- package/bundle/{chunk-NBSN2ZY6.js → chunk-UUJ4JLTB.js} +7382 -2769
- package/bundle/{chunk-I3Z6XPMI.js → chunk-X6CSYCBW.js} +85 -29
- package/bundle/{core-NSYWNIRO.js → core-N4UNRLQA.js} +2 -2
- package/bundle/{devtoolsService-3NAUMYXJ.js → devtoolsService-7D3WUF33.js} +3 -3
- package/bundle/{devtoolsService-MQCND52T.js → devtoolsService-NA7MR5UO.js} +3 -3
- package/bundle/{devtoolsService-2I6GE4QG.js → devtoolsService-VU7N6PSG.js} +3 -3
- package/bundle/{devtoolsService-FPXH5TOL.js → devtoolsService-Y53ZUB56.js} +3 -3
- package/bundle/{dist-2L2ZZ6UU.js → dist-HD2ZHBHJ.js} +2 -2
- package/bundle/{dist-ECE6U2CF.js → dist-JYY2GAAR.js} +2 -2
- package/bundle/{dist-JYBWVV27.js → dist-QEB25IFU.js} +2 -2
- package/bundle/docs/reference/configuration.md +26 -2
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-T2GH3MML.js → interactiveCli-2JRQPNZP.js} +210 -223
- package/bundle/{interactiveCli-HNW3RGAN.js → interactiveCli-A6H7VTMC.js} +210 -223
- package/bundle/{interactiveCli-NZ7FBLY6.js → interactiveCli-LFO7EWZS.js} +210 -223
- package/bundle/{interactiveCli-MKWLBXZL.js → interactiveCli-R5N55BDV.js} +210 -223
- package/bundle/{memoryDiscovery-JXHCZBWK.js → memoryDiscovery-BQGYT4OD.js} +1 -1
- package/bundle/{memoryDiscovery-VQKOP6YW.js → memoryDiscovery-FCEPFZ3M.js} +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-CD23TXNI.js → oauth2-provider-2WD22PTI.js} +2 -2
- package/bundle/{oauth2-provider-Q3ET7DXL.js → oauth2-provider-34BPLPQX.js} +2 -2
- package/bundle/{oauth2-provider-TMPMYL3F.js → oauth2-provider-MZAUZWUS.js} +2 -2
- package/bundle/{oauth2-provider-3IFRA7CZ.js → oauth2-provider-QOWLZC44.js} +2 -2
- package/package.json +1 -1
|
@@ -42922,10 +42922,11 @@ var GEMINI_MODEL_ALIAS_FLASH = "flash";
|
|
|
42922
42922
|
var GEMINI_MODEL_ALIAS_FLASH_LITE = "flash-lite";
|
|
42923
42923
|
var DEFAULT_GEMINI_EMBEDDING_MODEL = "gemini-embedding-001";
|
|
42924
42924
|
var DEFAULT_THINKING_MODE = 8192;
|
|
42925
|
-
function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel = false, hasAccessToPreview = true, config) {
|
|
42925
|
+
function resolveModel(requestedModel, useGemini3_1 = false, useGemini3_1FlashLite = false, useCustomToolModel = false, hasAccessToPreview = true, config) {
|
|
42926
42926
|
if (config?.getExperimentalDynamicModelConfiguration?.() === true) {
|
|
42927
42927
|
const resolved2 = config.modelConfigService.resolveModelId(requestedModel, {
|
|
42928
42928
|
useGemini3_1,
|
|
42929
|
+
useGemini3_1FlashLite,
|
|
42929
42930
|
useCustomTools: useCustomToolModel,
|
|
42930
42931
|
hasAccessToPreview
|
|
42931
42932
|
});
|
|
@@ -42962,7 +42963,7 @@ function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel =
|
|
|
42962
42963
|
break;
|
|
42963
42964
|
}
|
|
42964
42965
|
case GEMINI_MODEL_ALIAS_FLASH_LITE: {
|
|
42965
|
-
resolved = DEFAULT_GEMINI_FLASH_LITE_MODEL;
|
|
42966
|
+
resolved = useGemini3_1FlashLite ? PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL : DEFAULT_GEMINI_FLASH_LITE_MODEL;
|
|
42966
42967
|
break;
|
|
42967
42968
|
}
|
|
42968
42969
|
default: {
|
|
@@ -42974,6 +42975,8 @@ function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel =
|
|
|
42974
42975
|
switch (resolved) {
|
|
42975
42976
|
case PREVIEW_GEMINI_FLASH_MODEL:
|
|
42976
42977
|
return DEFAULT_GEMINI_FLASH_MODEL;
|
|
42978
|
+
case PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL:
|
|
42979
|
+
return DEFAULT_GEMINI_FLASH_LITE_MODEL;
|
|
42977
42980
|
case PREVIEW_GEMINI_MODEL:
|
|
42978
42981
|
case PREVIEW_GEMINI_3_1_MODEL:
|
|
42979
42982
|
case PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL:
|
|
@@ -42990,10 +42993,11 @@ function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel =
|
|
|
42990
42993
|
}
|
|
42991
42994
|
return resolved;
|
|
42992
42995
|
}
|
|
42993
|
-
function resolveClassifierModel(requestedModel, modelAlias, useGemini3_1 = false, useCustomToolModel = false, hasAccessToPreview = true, config) {
|
|
42996
|
+
function resolveClassifierModel(requestedModel, modelAlias, useGemini3_1 = false, useGemini3_1FlashLite = false, useCustomToolModel = false, hasAccessToPreview = true, config) {
|
|
42994
42997
|
if (config?.getExperimentalDynamicModelConfiguration?.() === true) {
|
|
42995
42998
|
return config.modelConfigService.resolveClassifierModelId(modelAlias, requestedModel, {
|
|
42996
42999
|
useGemini3_1,
|
|
43000
|
+
useGemini3_1FlashLite,
|
|
42997
43001
|
useCustomTools: useCustomToolModel,
|
|
42998
43002
|
hasAccessToPreview
|
|
42999
43003
|
});
|
|
@@ -43007,7 +43011,7 @@ function resolveClassifierModel(requestedModel, modelAlias, useGemini3_1 = false
|
|
|
43007
43011
|
}
|
|
43008
43012
|
return resolveModel(GEMINI_MODEL_ALIAS_FLASH);
|
|
43009
43013
|
}
|
|
43010
|
-
return resolveModel(requestedModel, useGemini3_1, useCustomToolModel);
|
|
43014
|
+
return resolveModel(requestedModel, useGemini3_1, useGemini3_1FlashLite, useCustomToolModel);
|
|
43011
43015
|
}
|
|
43012
43016
|
function getDisplayString(model, config) {
|
|
43013
43017
|
if (config?.getExperimentalDynamicModelConfiguration?.() === true) {
|
|
@@ -43027,6 +43031,8 @@ function getDisplayString(model, config) {
|
|
|
43027
43031
|
return PREVIEW_GEMINI_FLASH_MODEL;
|
|
43028
43032
|
case PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL:
|
|
43029
43033
|
return PREVIEW_GEMINI_3_1_MODEL;
|
|
43034
|
+
case PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL:
|
|
43035
|
+
return PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL;
|
|
43030
43036
|
default:
|
|
43031
43037
|
return model;
|
|
43032
43038
|
}
|
|
@@ -43056,7 +43062,7 @@ function isGemini2Model(model) {
|
|
|
43056
43062
|
}
|
|
43057
43063
|
function isCustomModel(model, config) {
|
|
43058
43064
|
if (config?.getExperimentalDynamicModelConfiguration?.() === true) {
|
|
43059
|
-
const resolved2 = resolveModel(model, false, false, true, config);
|
|
43065
|
+
const resolved2 = resolveModel(model, false, false, false, true, config);
|
|
43060
43066
|
return config.modelConfigService.getModelDefinition(resolved2)?.tier === "custom" || !resolved2.startsWith("gemini-");
|
|
43061
43067
|
}
|
|
43062
43068
|
const resolved = resolveModel(model);
|
|
@@ -43079,10 +43085,13 @@ function supportsMultimodalFunctionResponse(model, config) {
|
|
|
43079
43085
|
}
|
|
43080
43086
|
return model.startsWith("gemini-3-");
|
|
43081
43087
|
}
|
|
43082
|
-
function isActiveModel(model, useGemini3_1 = false, useCustomToolModel = false) {
|
|
43088
|
+
function isActiveModel(model, useGemini3_1 = false, useGemini3_1FlashLite = false, useCustomToolModel = false) {
|
|
43083
43089
|
if (!VALID_GEMINI_MODELS.has(model)) {
|
|
43084
43090
|
return false;
|
|
43085
43091
|
}
|
|
43092
|
+
if (model === PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL) {
|
|
43093
|
+
return useGemini3_1FlashLite;
|
|
43094
|
+
}
|
|
43086
43095
|
if (useGemini3_1) {
|
|
43087
43096
|
if (model === PREVIEW_GEMINI_MODEL) {
|
|
43088
43097
|
return false;
|