@google/gemini-cli 0.45.0 → 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.
- package/bundle/{chunk-2ARYG3KE.js → chunk-3TMWYG7A.js} +1 -1
- package/bundle/{chunk-53SRWMUU.js → chunk-4ISYEWVQ.js} +1 -1
- package/bundle/{chunk-6T7N6JF2.js → chunk-6HYYI5PZ.js} +155 -49
- package/bundle/{chunk-VL3FKVC7.js → chunk-7U7BOSLX.js} +3 -3
- package/bundle/{chunk-YI3KORH5.js → chunk-AFS5F2VL.js} +2 -2
- package/bundle/{chunk-K6WTIGVC.js → chunk-AJTJWT5R.js} +2 -2
- package/bundle/{chunk-EORX7LYI.js → chunk-BMS36MLD.js} +1 -1
- package/bundle/{chunk-SG46YSQ3.js → chunk-BRQZ5N67.js} +7 -7
- package/bundle/{chunk-3TWZMAJU.js → chunk-CGB6VOFW.js} +3 -3
- package/bundle/{chunk-Z5F25543.js → chunk-CXWB6LIZ.js} +1 -1
- package/bundle/{chunk-TWSSMLUS.js → chunk-EN62YYKQ.js} +1 -1
- package/bundle/{chunk-HFVEWB6N.js → chunk-FAMDZ3OS.js} +1 -1
- package/bundle/{chunk-XV2YFH7B.js → chunk-FFUBQCSE.js} +7654 -14056
- package/bundle/chunk-GIZG2CGQ.js +394545 -0
- package/bundle/{chunk-THZMPVCN.js → chunk-JKX72O3X.js} +1 -1
- package/bundle/{chunk-PNU4GACG.js → chunk-JTXGVKX5.js} +2 -2
- package/bundle/{chunk-4EBMYFID.js → chunk-NXVUP5BP.js} +67 -54
- package/bundle/chunk-OFSAI2ND.js +398 -0
- package/bundle/{chunk-EUYIPFPA.js → chunk-OJ7TLNJC.js} +1 -1
- package/bundle/{chunk-4KOU3QNT.js → chunk-QCGIKZK5.js} +8 -5
- package/bundle/{chunk-PXEK5ENZ.js → chunk-QDW2YJ2D.js} +9 -8
- package/bundle/chunk-S3TA2KSA.js +81685 -0
- package/bundle/{chunk-IL7J46PP.js → chunk-T3BZEZLU.js} +3 -3
- package/bundle/{chunk-KSNTXH4E.js → chunk-THHB2S2R.js} +7 -7
- package/bundle/{chunk-GVEZJIV3.js → chunk-TTFMSSFY.js} +1 -1
- package/bundle/chunk-VJA5NYRM.js +17320 -0
- package/bundle/{chunk-N6QPQL7E.js → chunk-VXAIUB7K.js} +181 -48
- package/bundle/chunk-W53HJSSZ.js +154 -0
- package/bundle/{chunk-JLFE3KRS.js → chunk-X5XPILBU.js} +1 -1
- package/bundle/chunk-XLA3MMYB.js +512 -0
- package/bundle/chunk-Y7YEJIFD.js +118 -0
- package/bundle/chunk-ZSZHQ7QN.js +1571 -0
- package/bundle/{cleanup-3SMSXJJA.js → cleanup-6QT55YQX.js} +2 -2
- package/bundle/{cleanup-FNQ3LEWG.js → cleanup-ASNHXVN2.js} +2 -2
- package/bundle/{cleanup-I56KHTTC.js → cleanup-SZ4DUWDJ.js} +2 -2
- package/bundle/cleanup-UWYNKBAK.js +32 -0
- package/bundle/{core-KGXBOJTX.js → core-FN764RWM.js} +7 -1
- package/bundle/{devtoolsService-EW3B2Y63.js → devtoolsService-5GK2JZD4.js} +2 -2
- package/bundle/{devtoolsService-F7PHNBEQ.js → devtoolsService-AWH6SSZC.js} +4 -3
- package/bundle/{devtoolsService-VFEFRDYG.js → devtoolsService-HS6NZVWU.js} +2 -2
- package/bundle/devtoolsService-VDTVF5OM.js +856 -0
- package/bundle/{dist-2G5KTD32.js → dist-CVH2R6ZI.js} +7 -1
- package/bundle/{core-AQUUQTX2.js → dist-LKE6MKVW.js} +7 -1
- package/bundle/dist-VK25J7B7.js +2140 -0
- package/bundle/docs/reference/configuration.md +71 -0
- package/bundle/{gemini-JMMBFICD.js → gemini-2CSQYYM7.js} +17 -14
- package/bundle/{gemini-4KS2EZX6.js → gemini-UUAZKUMD.js} +216 -197
- package/bundle/{gemini-ORQHD633.js → gemini-UZPU2BDT.js} +17 -14
- package/bundle/gemini-V3OTI3NY.js +16409 -0
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-XUZZOZXX.js → interactiveCli-3LDUDMZL.js} +17 -11
- package/bundle/{interactiveCli-ESB66RW7.js → interactiveCli-JBILZ4Z2.js} +323 -298
- package/bundle/interactiveCli-QUFKABYB.js +34732 -0
- package/bundle/{interactiveCli-ZJXV4DW7.js → interactiveCli-TRAAWA7S.js} +17 -11
- package/bundle/{liteRtServerManager-HELKQKOZ.js → liteRtServerManager-4LZDDC3B.js} +4 -4
- package/bundle/{liteRtServerManager-RNNHEQJI.js → liteRtServerManager-BONHUK6G.js} +4 -4
- package/bundle/{liteRtServerManager-DORIWEMR.js → liteRtServerManager-GNA7BP24.js} +4 -4
- package/bundle/liteRtServerManager-ILOJICS6.js +65 -0
- package/bundle/{oauth2-provider-2IJNOFOO.js → oauth2-provider-FBCFQYBU.js} +1 -1
- package/bundle/{oauth2-provider-YYLBPESU.js → oauth2-provider-LYKMC2R6.js} +38 -72
- package/bundle/{oauth2-provider-7N4OFPTL.js → oauth2-provider-P4WHK2SH.js} +1 -1
- package/bundle/oauth2-provider-WLJL6V4W.js +235 -0
- package/bundle/{start-IGG6LDST.js → start-45UFBKOY.js} +6 -6
- package/bundle/{start-R7DTCFCN.js → start-PCZ7YDTR.js} +6 -6
- package/bundle/{start-66KF6MVV.js → start-VVVRWNSH.js} +6 -6
- package/bundle/start-XMLICH3K.js +18 -0
- package/package.json +1 -1
package/bundle/gemini.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
RELAUNCH_EXIT_CODE,
|
|
5
5
|
getScriptArgs,
|
|
6
6
|
getSpawnConfig
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
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-
|
|
119
|
-
const { FatalError, writeToStderr } = await import("./dist-
|
|
120
|
-
const { runExitCleanup } = await import("./cleanup-
|
|
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-
|
|
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-
|
|
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-
|
|
214
|
+
} from "./chunk-OJ7TLNJC.js";
|
|
215
215
|
import {
|
|
216
216
|
handleAutoUpdate,
|
|
217
217
|
isDevelopment,
|
|
218
218
|
relaunchApp,
|
|
219
219
|
setUpdateHandler
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-JTXGVKX5.js";
|
|
221
221
|
import {
|
|
222
222
|
isTodoList,
|
|
223
223
|
mapCoreStatusToDisplayStatus,
|
|
224
224
|
require_react
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-QDW2YJ2D.js";
|
|
226
226
|
import {
|
|
227
227
|
registerCleanup,
|
|
228
228
|
removeCleanup,
|
|
229
229
|
runExitCleanup,
|
|
230
230
|
setupTtyCheck
|
|
231
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
33730
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-5GK2JZD4.js");
|
|
33725
33731
|
await toggleDevToolsPanel(
|
|
33726
33732
|
config,
|
|
33727
33733
|
showErrorDetails,
|