@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.
- package/bundle/{chunk-4AGOZ7LL.js → chunk-24H54ISH.js} +7 -7
- package/bundle/{chunk-F2LLVPPS.js → chunk-3EC3ZLRQ.js} +2 -2
- package/bundle/{chunk-2GMVQS2Q.js → chunk-3WW2LTMX.js} +1 -1
- package/bundle/{chunk-ZXN4VW7M.js → chunk-4B7MDBUK.js} +1 -1
- package/bundle/{chunk-J444UQD3.js → chunk-5CWORGE3.js} +1 -1
- package/bundle/{chunk-HMR43ZX2.js → chunk-5IBYZHR7.js} +2 -2
- package/bundle/{chunk-QFEJQS5X.js → chunk-7Y6NU65D.js} +1 -1
- package/bundle/{chunk-4K3E3G6Z.js → chunk-EG7USKV5.js} +8 -5
- package/bundle/{chunk-SHFHGDWR.js → chunk-EZDKSTIF.js} +2 -2
- package/bundle/{chunk-RXG3JOOZ.js → chunk-GRD2P7HY.js} +1 -1
- package/bundle/chunk-HQNVDCXK.js +154 -0
- package/bundle/chunk-ILHDA6XU.js +17320 -0
- package/bundle/{chunk-XRDSBRG4.js → chunk-ITC7TFJU.js} +7560 -14072
- package/bundle/{chunk-BOJOJVNV.js → chunk-JF6RJW53.js} +1 -1
- package/bundle/chunk-JPYTHGMI.js +398 -0
- package/bundle/{chunk-FIM2LOYZ.js → chunk-KOJR46UO.js} +40 -23
- package/bundle/{chunk-MFYAVF7Y.js → chunk-KQ4V7ZN4.js} +67 -54
- package/bundle/chunk-O3UKVEBS.js +81685 -0
- package/bundle/{chunk-S2ICEQVC.js → chunk-ONUDATHO.js} +3 -3
- package/bundle/{chunk-HHFFICNK.js → chunk-QEVRJ7HY.js} +46 -23
- package/bundle/{chunk-LBE2WKE7.js → chunk-QFWAILKU.js} +3 -3
- package/bundle/{chunk-HZNEV3DS.js → chunk-QMCEWHRR.js} +1 -1
- package/bundle/{chunk-ZQGZKIDD.js → chunk-R4LEIQZM.js} +3 -3
- package/bundle/{chunk-5LUCCXOB.js → chunk-RXYIE5L5.js} +1 -1
- package/bundle/{chunk-GTRQQGSJ.js → chunk-UM53YDCH.js} +1 -1
- package/bundle/{chunk-YMNECODB.js → chunk-VEHSYWQT.js} +9 -8
- package/bundle/chunk-VETILJQA.js +1571 -0
- package/bundle/chunk-VOFVOS4I.js +118 -0
- package/bundle/chunk-WRWCUHAM.js +512 -0
- package/bundle/chunk-XVDCGVTF.js +394545 -0
- package/bundle/{chunk-TDYUKPZH.js → chunk-YINW7YTJ.js} +1 -1
- package/bundle/{chunk-773AJHDP.js → chunk-YIOYXRDP.js} +7 -7
- package/bundle/{cleanup-2WXD6UQP.js → cleanup-4ZTB4WMN.js} +2 -2
- package/bundle/{cleanup-L3CLNVX6.js → cleanup-7LLX4OFN.js} +2 -2
- package/bundle/{cleanup-SUDL37MT.js → cleanup-GI5426XS.js} +2 -2
- package/bundle/cleanup-ZBLVGXIK.js +32 -0
- package/bundle/{core-VVRQ2GQD.js → core-3UQQYNJF.js} +3 -1
- package/bundle/{devtoolsService-ZYCBBAV3.js → devtoolsService-GJWWZ2KK.js} +2 -2
- package/bundle/{devtoolsService-E62WA3CY.js → devtoolsService-UNQILSWI.js} +4 -3
- package/bundle/devtoolsService-Z2YXVMYF.js +856 -0
- package/bundle/{devtoolsService-GLW7S6PS.js → devtoolsService-ZYGDAPOV.js} +2 -2
- package/bundle/{dist-GPCRVPKS.js → dist-4NVM6I2N.js} +3 -1
- package/bundle/{core-MOYKPEYV.js → dist-LIQULVXZ.js} +3 -1
- package/bundle/dist-XPP357J7.js +2140 -0
- package/bundle/docs/reference/configuration.md +3 -1
- package/bundle/{gemini-R5NCXCEL.js → gemini-5WY2YO7R.js} +216 -197
- package/bundle/gemini-7GZVH4VW.js +16409 -0
- package/bundle/{gemini-2JTOIMGM.js → gemini-QDOVPRKF.js} +17 -14
- package/bundle/{gemini-KV5CHM4H.js → gemini-RBKWBGCC.js} +17 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-RMWTSIEN.js → interactiveCli-BMKHWEH4.js} +17 -11
- package/bundle/{interactiveCli-7SIMXKNU.js → interactiveCli-OEFOYFJU.js} +323 -298
- package/bundle/interactiveCli-OGE5OTZB.js +34742 -0
- package/bundle/{interactiveCli-HVAQTBJK.js → interactiveCli-W3CMLQIM.js} +17 -11
- package/bundle/{liteRtServerManager-FY23PYSD.js → liteRtServerManager-3QOJEGNL.js} +4 -4
- package/bundle/{liteRtServerManager-LDS45QKP.js → liteRtServerManager-HPVNUYFX.js} +4 -4
- package/bundle/{liteRtServerManager-BP7XKGNU.js → liteRtServerManager-Q6LTEYH4.js} +4 -4
- package/bundle/liteRtServerManager-YL4YRHOA.js +65 -0
- package/bundle/{oauth2-provider-VVNBQH45.js → oauth2-provider-3WXIASQA.js} +1 -1
- package/bundle/{oauth2-provider-KL44D6HV.js → oauth2-provider-CTPS7JLT.js} +1 -1
- package/bundle/{oauth2-provider-4SSSEI6P.js → oauth2-provider-K52EY6RG.js} +38 -72
- package/bundle/oauth2-provider-PJJE326A.js +235 -0
- package/bundle/{start-FRM2XDGC.js → start-25W6VZG6.js} +6 -6
- package/bundle/{start-OEPJINIW.js → start-JBJSIKIB.js} +6 -6
- package/bundle/{start-DLEOBFRC.js → start-PK22QMBT.js} +6 -6
- package/bundle/start-XAEHV6FV.js +18 -0
- package/package.json +1 -1
|
@@ -41,18 +41,18 @@ import {
|
|
|
41
41
|
updateAllUpdatableExtensions,
|
|
42
42
|
updateExtension,
|
|
43
43
|
validateAuthMethod
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-YIOYXRDP.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-
|
|
51
|
+
} from "./chunk-R4LEIQZM.js";
|
|
52
52
|
import {
|
|
53
53
|
exitCli,
|
|
54
54
|
require_source
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-VETILJQA.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-
|
|
89
|
+
} from "./chunk-4B7MDBUK.js";
|
|
90
90
|
import {
|
|
91
91
|
RELAUNCH_EXIT_CODE
|
|
92
|
-
} from "./chunk-
|
|
93
|
-
import "./chunk-
|
|
92
|
+
} from "./chunk-3EC3ZLRQ.js";
|
|
93
|
+
import "./chunk-YINW7YTJ.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-
|
|
102
|
+
} from "./chunk-HQNVDCXK.js";
|
|
103
103
|
import {
|
|
104
104
|
ASK_USER_TOOL_NAME,
|
|
105
105
|
AuthType,
|
|
@@ -231,7 +231,7 @@ import {
|
|
|
231
231
|
updatePolicy,
|
|
232
232
|
writeToStderr,
|
|
233
233
|
writeToStdout
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-QEVRJ7HY.js";
|
|
235
235
|
import "./chunk-6HI7VNOG.js";
|
|
236
236
|
import "./chunk-TUDYL3X4.js";
|
|
237
237
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -10233,7 +10233,7 @@ async function runNonInteractive({
|
|
|
10233
10233
|
}
|
|
10234
10234
|
});
|
|
10235
10235
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10236
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10236
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-ZYGDAPOV.js");
|
|
10237
10237
|
setupInitialActivityLogger(config);
|
|
10238
10238
|
}
|
|
10239
10239
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10704,7 +10704,7 @@ async function runNonInteractive2(params) {
|
|
|
10704
10704
|
}
|
|
10705
10705
|
});
|
|
10706
10706
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10707
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10707
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-ZYGDAPOV.js");
|
|
10708
10708
|
setupInitialActivityLogger(config);
|
|
10709
10709
|
}
|
|
10710
10710
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -13648,11 +13648,13 @@ function buildAvailableModels(config, settings) {
|
|
|
13648
13648
|
const preferredModel = config.getModel() || GEMINI_MODEL_ALIAS_AUTO;
|
|
13649
13649
|
const shouldShowPreviewModels = config.getHasAccessToPreviewModel();
|
|
13650
13650
|
const useGemini31 = config.getGemini31LaunchedSync?.() ?? false;
|
|
13651
|
+
const useGemini3_5Flash = config.hasGemini35FlashGAAccess?.() ?? false;
|
|
13651
13652
|
const selectedAuthType = settings.merged.security.auth.selectedType;
|
|
13652
13653
|
const useCustomToolModel = useGemini31 && selectedAuthType === "gemini-api-key" /* USE_GEMINI */;
|
|
13653
13654
|
if (config.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
|
|
13654
13655
|
const options = config.getModelConfigService().getAvailableModelOptions({
|
|
13655
13656
|
useGemini3_1: useGemini31,
|
|
13657
|
+
useGemini3_5Flash,
|
|
13656
13658
|
useCustomTools: useCustomToolModel,
|
|
13657
13659
|
hasAccessToPreview: shouldShowPreviewModels
|
|
13658
13660
|
});
|
|
@@ -13667,7 +13669,8 @@ function buildAvailableModels(config, settings) {
|
|
|
13667
13669
|
title: getDisplayString(GEMINI_MODEL_ALIAS_AUTO),
|
|
13668
13670
|
description: getAutoModelDescription(
|
|
13669
13671
|
shouldShowPreviewModels,
|
|
13670
|
-
useGemini31
|
|
13672
|
+
useGemini31,
|
|
13673
|
+
useGemini3_5Flash
|
|
13671
13674
|
)
|
|
13672
13675
|
}
|
|
13673
13676
|
];
|
|
@@ -15892,7 +15895,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
15892
15895
|
}
|
|
15893
15896
|
}
|
|
15894
15897
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15895
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15898
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-W3CMLQIM.js");
|
|
15896
15899
|
await doStartUI(
|
|
15897
15900
|
config,
|
|
15898
15901
|
settings,
|
|
@@ -16101,7 +16104,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16101
16104
|
await config.storage.initialize();
|
|
16102
16105
|
adminControlsListner.setConfig(config);
|
|
16103
16106
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
16104
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
16107
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-ZYGDAPOV.js");
|
|
16105
16108
|
setupInitialActivityLogger(config);
|
|
16106
16109
|
}
|
|
16107
16110
|
registerTelemetryConfig(config);
|
|
@@ -16160,7 +16163,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16160
16163
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
16161
16164
|
const initializationResult = await initializeApp(config, settings);
|
|
16162
16165
|
initAppHandle?.end();
|
|
16163
|
-
import("./liteRtServerManager-
|
|
16166
|
+
import("./liteRtServerManager-YL4YRHOA.js").then(({ LiteRtServerManager }) => {
|
|
16164
16167
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
16165
16168
|
if (!mergedGemma) return;
|
|
16166
16169
|
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-
|
|
44
|
+
} from "./chunk-24H54ISH.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-
|
|
51
|
+
} from "./chunk-QFWAILKU.js";
|
|
52
52
|
import {
|
|
53
53
|
exitCli,
|
|
54
54
|
require_source
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-QMCEWHRR.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-
|
|
89
|
+
} from "./chunk-EG7USKV5.js";
|
|
90
90
|
import {
|
|
91
91
|
RELAUNCH_EXIT_CODE
|
|
92
|
-
} from "./chunk-
|
|
93
|
-
import "./chunk-
|
|
92
|
+
} from "./chunk-EZDKSTIF.js";
|
|
93
|
+
import "./chunk-UM53YDCH.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-
|
|
102
|
+
} from "./chunk-3WW2LTMX.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-
|
|
250
|
+
} from "./chunk-KOJR46UO.js";
|
|
251
251
|
import "./chunk-6HI7VNOG.js";
|
|
252
252
|
import "./chunk-TUDYL3X4.js";
|
|
253
253
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -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-
|
|
10252
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-UNQILSWI.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-
|
|
10723
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-UNQILSWI.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-
|
|
15914
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-BMKHWEH4.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-
|
|
16123
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-UNQILSWI.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-
|
|
16182
|
+
import("./liteRtServerManager-HPVNUYFX.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-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-JPYTHGMI.js";
|
|
8
|
+
import "./chunk-WRWCUHAM.js";
|
|
9
|
+
import "./chunk-7Y6NU65D.js";
|
|
10
|
+
import "./chunk-ITC7TFJU.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-5WY2YO7R.js");
|
|
119
|
+
const { FatalError, writeToStderr } = await import("./dist-LIQULVXZ.js");
|
|
120
|
+
const { runExitCleanup } = await import("./cleanup-4ZTB4WMN.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-24H54ISH.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-QMCEWHRR.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-EG7USKV5.js";
|
|
215
215
|
import {
|
|
216
216
|
handleAutoUpdate,
|
|
217
217
|
isDevelopment,
|
|
218
218
|
relaunchApp,
|
|
219
219
|
setUpdateHandler
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-EZDKSTIF.js";
|
|
221
221
|
import {
|
|
222
222
|
isTodoList,
|
|
223
223
|
mapCoreStatusToDisplayStatus,
|
|
224
224
|
require_react
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-UM53YDCH.js";
|
|
226
226
|
import {
|
|
227
227
|
registerCleanup,
|
|
228
228
|
removeCleanup,
|
|
229
229
|
runExitCleanup,
|
|
230
230
|
setupTtyCheck
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-3WW2LTMX.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-KOJR46UO.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;
|
|
@@ -16652,6 +16652,7 @@ function ModelDialog({ onClose }) {
|
|
|
16652
16652
|
const preferredModel = config?.getModel() || GEMINI_MODEL_ALIAS_AUTO;
|
|
16653
16653
|
const shouldShowPreviewModels = config?.getHasAccessToPreviewModel() ?? false;
|
|
16654
16654
|
const useGemini31 = config?.getGemini31LaunchedSync?.() ?? false;
|
|
16655
|
+
const useGemini3_5Flash = config?.hasGemini35FlashGAAccess?.() ?? false;
|
|
16655
16656
|
const selectedAuthType = settings.merged.security.auth.selectedType;
|
|
16656
16657
|
const useCustomToolModel = useGemini31 && selectedAuthType === AuthType.USE_GEMINI;
|
|
16657
16658
|
const manualModelSelected = (0, import_react55.useMemo)(() => {
|
|
@@ -16696,6 +16697,7 @@ function ModelDialog({ onClose }) {
|
|
|
16696
16697
|
if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
|
|
16697
16698
|
const allOptions = config.getModelConfigService().getAvailableModelOptions({
|
|
16698
16699
|
useGemini3_1: useGemini31,
|
|
16700
|
+
useGemini3_5Flash,
|
|
16699
16701
|
useCustomTools: useCustomToolModel,
|
|
16700
16702
|
hasAccessToPreview: shouldShowPreviewModels,
|
|
16701
16703
|
hasAccessToProModel
|
|
@@ -16720,7 +16722,8 @@ function ModelDialog({ onClose }) {
|
|
|
16720
16722
|
title: getDisplayString(GEMINI_MODEL_ALIAS_AUTO),
|
|
16721
16723
|
description: getAutoModelDescription(
|
|
16722
16724
|
shouldShowPreviewModels,
|
|
16723
|
-
useGemini31
|
|
16725
|
+
useGemini31,
|
|
16726
|
+
useGemini3_5Flash
|
|
16724
16727
|
),
|
|
16725
16728
|
key: GEMINI_MODEL_ALIAS_AUTO
|
|
16726
16729
|
},
|
|
@@ -16737,6 +16740,7 @@ function ModelDialog({ onClose }) {
|
|
|
16737
16740
|
shouldShowPreviewModels,
|
|
16738
16741
|
manualModelSelected,
|
|
16739
16742
|
useGemini31,
|
|
16743
|
+
useGemini3_5Flash,
|
|
16740
16744
|
useCustomToolModel,
|
|
16741
16745
|
hasAccessToProModel
|
|
16742
16746
|
]);
|
|
@@ -16744,6 +16748,7 @@ function ModelDialog({ onClose }) {
|
|
|
16744
16748
|
if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
|
|
16745
16749
|
const allOptions = config.getModelConfigService().getAvailableModelOptions({
|
|
16746
16750
|
useGemini3_1: useGemini31,
|
|
16751
|
+
useGemini3_5Flash,
|
|
16747
16752
|
useCustomTools: useCustomToolModel,
|
|
16748
16753
|
hasAccessToPreview: shouldShowPreviewModels,
|
|
16749
16754
|
hasAccessToProModel
|
|
@@ -16817,6 +16822,7 @@ function ModelDialog({ onClose }) {
|
|
|
16817
16822
|
}, [
|
|
16818
16823
|
shouldShowPreviewModels,
|
|
16819
16824
|
useGemini31,
|
|
16825
|
+
useGemini3_5Flash,
|
|
16820
16826
|
useCustomToolModel,
|
|
16821
16827
|
hasAccessToProModel,
|
|
16822
16828
|
config
|
|
@@ -33731,7 +33737,7 @@ ${queuedText}` : queuedText;
|
|
|
33731
33737
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33732
33738
|
if (settings.merged.general.devtools) {
|
|
33733
33739
|
void (async () => {
|
|
33734
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33740
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-UNQILSWI.js");
|
|
33735
33741
|
await toggleDevToolsPanel(
|
|
33736
33742
|
config,
|
|
33737
33743
|
showErrorDetails,
|