@google/gemini-cli 0.61.0-preview.0 → 0.61.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-YJFCJUWN.js → chunk-34PFYALD.js} +1 -1
- package/bundle/{chunk-3KWHN3A7.js → chunk-4D7PRDBS.js} +1 -1
- package/bundle/{chunk-ZJHBR7W3.js → chunk-4YQFFXRN.js} +1 -1
- package/bundle/{chunk-OZG5CLDY.js → chunk-7HAUMOMS.js} +7 -7
- package/bundle/{chunk-FIYKTSCR.js → chunk-BFB2YEJY.js} +1 -1
- package/bundle/{chunk-AIMNGITH.js → chunk-BHKACUMI.js} +3 -3
- package/bundle/{chunk-WFZMFTEE.js → chunk-EM2O5AOZ.js} +3 -3
- package/bundle/{chunk-HGJ3LRCZ.js → chunk-EUZJSBKR.js} +1 -1
- package/bundle/{chunk-DO6WSZ5A.js → chunk-FSZD7V6N.js} +2 -2
- package/bundle/{chunk-DOJZLPDE.js → chunk-GOOJJ7ZQ.js} +1 -1
- package/bundle/{chunk-LDL5PSV7.js → chunk-H6SLDOAI.js} +2 -2
- package/bundle/{chunk-ACTC6X24.js → chunk-HDPU5WOJ.js} +291 -134
- package/bundle/{chunk-4WJNJ3DK.js → chunk-JKUZ4FYJ.js} +1 -1
- package/bundle/{chunk-ZOKIJ2CA.js → chunk-KXVODVLE.js} +67 -54
- package/bundle/{chunk-HQQJ2XNS.js → chunk-LZGP7KFI.js} +17 -2
- package/bundle/{chunk-UUSSUQWL.js → chunk-MNBKYFEY.js} +9 -8
- package/bundle/{chunk-XL4BRDNV.js → chunk-MXQQJJNZ.js} +7 -7
- package/bundle/{chunk-OANXWSAG.js → chunk-NQXTLK5U.js} +8027 -14705
- package/bundle/chunk-NXDIRTLT.js +512 -0
- package/bundle/{chunk-GLGFO33Y.js → chunk-O4KOWLVM.js} +17 -2
- package/bundle/chunk-OO7JC2QX.js +399635 -0
- package/bundle/{chunk-UCLFGIUA.js → chunk-OTWH6H2T.js} +2 -2
- package/bundle/{chunk-BCGPZKAR.js → chunk-PBNOO4UX.js} +1 -1
- package/bundle/{chunk-6HVPDYWM.js → chunk-SABJGE2G.js} +3 -3
- package/bundle/chunk-TFQNPQHU.js +154 -0
- package/bundle/{chunk-KUWKDEHW.js → chunk-UEKG6P2N.js} +24 -6
- package/bundle/chunk-UST2ZL7P.js +1571 -0
- package/bundle/chunk-VSZD56FP.js +102678 -0
- package/bundle/{chunk-FH2AJT7C.js → chunk-X63OLHR4.js} +325 -136
- package/bundle/chunk-YD7YFB3H.js +398 -0
- package/bundle/chunk-ZAUQFML4.js +118 -0
- package/bundle/chunk-ZXK7SZMG.js +17368 -0
- package/bundle/{cleanup-AM5TUWBB.js → cleanup-DGDWVDXX.js} +2 -2
- package/bundle/{cleanup-FLPPBDLV.js → cleanup-ILJI4AEW.js} +2 -2
- package/bundle/{cleanup-KI735Y45.js → cleanup-QW4EQ3QR.js} +2 -2
- package/bundle/cleanup-R6YFTONK.js +32 -0
- package/bundle/{core-R7CF7CQD.js → core-HFCJBVEU.js} +17 -1
- package/bundle/{devtoolsService-MA34M6Q7.js → devtoolsService-KXJDH42U.js} +2 -2
- package/bundle/{devtoolsService-UUGXHVTK.js → devtoolsService-LWSF6JIT.js} +2 -2
- package/bundle/{devtoolsService-WOA7VJLA.js → devtoolsService-N3A5BSJN.js} +4 -3
- package/bundle/devtoolsService-N4LL6WGD.js +4359 -0
- package/bundle/{dist-VH7RJCTA.js → dist-2BSGBE32.js} +17 -1
- package/bundle/{core-F6IWXMFD.js → dist-6YQ35ICZ.js} +17 -1
- package/bundle/dist-C4IKSTQN.js +2232 -0
- package/bundle/docs/reference/configuration.md +88 -25
- package/bundle/{gemini-SRSLV7D2.js → gemini-5UNXMZT3.js} +219 -201
- package/bundle/gemini-ATQ3WGVL.js +17764 -0
- package/bundle/{gemini-NLU2EPRF.js → gemini-G7D5KPQ2.js} +18 -16
- package/bundle/{gemini-N24ID3HC.js → gemini-RWMUQAJ6.js} +18 -16
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-SOMGNC7U.js → interactiveCli-EAB7PSHJ.js} +19 -14
- package/bundle/{interactiveCli-DDJZ4B26.js → interactiveCli-JYJNFC5D.js} +326 -302
- package/bundle/interactiveCli-KQPTYHND.js +35029 -0
- package/bundle/{interactiveCli-PNXXOFIE.js → interactiveCli-WC6IXMOE.js} +19 -14
- package/bundle/{liteRtServerManager-HDIBGLHN.js → liteRtServerManager-27LLIZ3H.js} +4 -4
- package/bundle/{liteRtServerManager-XEOODEAA.js → liteRtServerManager-HB6JSWYM.js} +4 -4
- package/bundle/{liteRtServerManager-GW22Q7F4.js → liteRtServerManager-NSPOA7KV.js} +4 -4
- package/bundle/liteRtServerManager-WXCFUD52.js +65 -0
- package/bundle/{oauth2-provider-ZC45IIOS.js → oauth2-provider-5CXK7KFQ.js} +1 -1
- package/bundle/{oauth2-provider-SADAKLZ2.js → oauth2-provider-FYIOQREN.js} +1 -1
- package/bundle/{oauth2-provider-347DWYC5.js → oauth2-provider-N7JBWITO.js} +38 -72
- package/bundle/oauth2-provider-Z7WSYKBF.js +235 -0
- package/bundle/{start-IVH46CBG.js → start-4CI64D6Q.js} +6 -6
- package/bundle/{start-PRP35I6V.js → start-MHS6EQUA.js} +6 -6
- package/bundle/{start-H7F3LFFN.js → start-OO24SR5D.js} +6 -6
- package/bundle/start-WRVCTB7Z.js +18 -0
- 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
|
startCommand,
|
|
4
4
|
startServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EM2O5AOZ.js";
|
|
6
6
|
import {
|
|
7
7
|
BuiltinCommandLoader,
|
|
8
8
|
CommandService,
|
|
@@ -46,11 +46,11 @@ import {
|
|
|
46
46
|
updateExtension,
|
|
47
47
|
validateAuthMethod,
|
|
48
48
|
validateContextFilePath
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-MXQQJJNZ.js";
|
|
50
50
|
import {
|
|
51
51
|
exitCli,
|
|
52
52
|
require_source
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-EUZJSBKR.js";
|
|
54
54
|
import {
|
|
55
55
|
appEvents
|
|
56
56
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -88,11 +88,11 @@ import {
|
|
|
88
88
|
resolveGemmaConfig,
|
|
89
89
|
saveModelChange,
|
|
90
90
|
stripAnsi
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-O4KOWLVM.js";
|
|
92
92
|
import {
|
|
93
93
|
RELAUNCH_EXIT_CODE
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
94
|
+
} from "./chunk-OTWH6H2T.js";
|
|
95
|
+
import "./chunk-4YQFFXRN.js";
|
|
96
96
|
import {
|
|
97
97
|
cleanupCheckpoints,
|
|
98
98
|
registerCleanup,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
runExitCleanup,
|
|
102
102
|
runSyncCleanup,
|
|
103
103
|
setupSignalHandlers
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-PBNOO4UX.js";
|
|
105
105
|
import {
|
|
106
106
|
ASK_USER_TOOL_NAME,
|
|
107
107
|
AuthType,
|
|
@@ -239,7 +239,7 @@ import {
|
|
|
239
239
|
updatePolicy,
|
|
240
240
|
writeToStderr,
|
|
241
241
|
writeToStdout
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-X63OLHR4.js";
|
|
243
243
|
import "./chunk-664ZODQF.js";
|
|
244
244
|
import "./chunk-IUUIT4SU.js";
|
|
245
245
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -11510,7 +11510,7 @@ async function runNonInteractive({
|
|
|
11510
11510
|
}
|
|
11511
11511
|
});
|
|
11512
11512
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
11513
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
11513
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-KXJDH42U.js");
|
|
11514
11514
|
setupInitialActivityLogger(config);
|
|
11515
11515
|
}
|
|
11516
11516
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -12020,7 +12020,7 @@ async function runNonInteractive2(params) {
|
|
|
12020
12020
|
}
|
|
12021
12021
|
});
|
|
12022
12022
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
12023
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
12023
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-KXJDH42U.js");
|
|
12024
12024
|
setupInitialActivityLogger(config);
|
|
12025
12025
|
}
|
|
12026
12026
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -14983,13 +14983,15 @@ function buildAvailableModels(config, settings) {
|
|
|
14983
14983
|
const preferredModel = config.getModel() || GEMINI_MODEL_ALIAS_AUTO;
|
|
14984
14984
|
const shouldShowPreviewModels = config.getHasAccessToPreviewModel();
|
|
14985
14985
|
const useGemini31 = config.getGemini31LaunchedSync?.() ?? false;
|
|
14986
|
-
const
|
|
14986
|
+
const useLatestFlash = config.hasLatestFlashGAAccess?.() ?? false;
|
|
14987
|
+
const useLatestFlashLite = config.hasLatestFlashLiteGAAccess?.() ?? false;
|
|
14987
14988
|
const selectedAuthType = settings.merged.security.auth.selectedType;
|
|
14988
14989
|
const useCustomToolModel = useGemini31 && selectedAuthType === "gemini-api-key" /* USE_GEMINI */;
|
|
14989
14990
|
if (config.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
|
|
14990
14991
|
const options = config.getModelConfigService().getAvailableModelOptions({
|
|
14991
14992
|
useGemini3_1: useGemini31,
|
|
14992
|
-
|
|
14993
|
+
useLatestFlash,
|
|
14994
|
+
useLatestFlashLite,
|
|
14993
14995
|
useCustomTools: useCustomToolModel,
|
|
14994
14996
|
hasAccessToPreview: shouldShowPreviewModels
|
|
14995
14997
|
});
|
|
@@ -15005,7 +15007,7 @@ function buildAvailableModels(config, settings) {
|
|
|
15005
15007
|
description: getAutoModelDescription(
|
|
15006
15008
|
shouldShowPreviewModels,
|
|
15007
15009
|
useGemini31,
|
|
15008
|
-
|
|
15010
|
+
useLatestFlash
|
|
15009
15011
|
)
|
|
15010
15012
|
}
|
|
15011
15013
|
];
|
|
@@ -17230,7 +17232,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
17230
17232
|
}
|
|
17231
17233
|
}
|
|
17232
17234
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
17233
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
17235
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-WC6IXMOE.js");
|
|
17234
17236
|
await doStartUI(
|
|
17235
17237
|
config,
|
|
17236
17238
|
settings,
|
|
@@ -17439,7 +17441,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17439
17441
|
await config.storage.initialize();
|
|
17440
17442
|
adminControlsListner.setConfig(config);
|
|
17441
17443
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
17442
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
17444
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-KXJDH42U.js");
|
|
17443
17445
|
setupInitialActivityLogger(config);
|
|
17444
17446
|
}
|
|
17445
17447
|
registerTelemetryConfig(config);
|
|
@@ -17498,7 +17500,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17498
17500
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
17499
17501
|
const initializationResult = await initializeApp(config, settings);
|
|
17500
17502
|
initAppHandle?.end();
|
|
17501
|
-
import("./liteRtServerManager-
|
|
17503
|
+
import("./liteRtServerManager-27LLIZ3H.js").then(({ LiteRtServerManager }) => {
|
|
17502
17504
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
17503
17505
|
if (!mergedGemma) return;
|
|
17504
17506
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
startCommand,
|
|
4
4
|
startServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZAUQFML4.js";
|
|
6
6
|
import {
|
|
7
7
|
BuiltinCommandLoader,
|
|
8
8
|
CommandService,
|
|
@@ -46,11 +46,11 @@ import {
|
|
|
46
46
|
updateExtension,
|
|
47
47
|
validateAuthMethod,
|
|
48
48
|
validateContextFilePath
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-VSZD56FP.js";
|
|
50
50
|
import {
|
|
51
51
|
exitCli,
|
|
52
52
|
require_source
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-4D7PRDBS.js";
|
|
54
54
|
import {
|
|
55
55
|
appEvents
|
|
56
56
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -88,11 +88,11 @@ import {
|
|
|
88
88
|
resolveGemmaConfig,
|
|
89
89
|
saveModelChange,
|
|
90
90
|
stripAnsi
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-LZGP7KFI.js";
|
|
92
92
|
import {
|
|
93
93
|
RELAUNCH_EXIT_CODE
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
94
|
+
} from "./chunk-H6SLDOAI.js";
|
|
95
|
+
import "./chunk-MNBKYFEY.js";
|
|
96
96
|
import {
|
|
97
97
|
cleanupCheckpoints,
|
|
98
98
|
registerCleanup,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
runExitCleanup,
|
|
102
102
|
runSyncCleanup,
|
|
103
103
|
setupSignalHandlers
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-TFQNPQHU.js";
|
|
105
105
|
import {
|
|
106
106
|
ASK_USER_TOOL_NAME,
|
|
107
107
|
ApprovalMode,
|
|
@@ -255,7 +255,7 @@ import {
|
|
|
255
255
|
updatePolicy,
|
|
256
256
|
writeToStderr,
|
|
257
257
|
writeToStdout
|
|
258
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-HDPU5WOJ.js";
|
|
259
259
|
import "./chunk-664ZODQF.js";
|
|
260
260
|
import "./chunk-IUUIT4SU.js";
|
|
261
261
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -11526,7 +11526,7 @@ async function runNonInteractive({
|
|
|
11526
11526
|
}
|
|
11527
11527
|
});
|
|
11528
11528
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
11529
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
11529
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-N3A5BSJN.js");
|
|
11530
11530
|
setupInitialActivityLogger(config);
|
|
11531
11531
|
}
|
|
11532
11532
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -12036,7 +12036,7 @@ async function runNonInteractive2(params) {
|
|
|
12036
12036
|
}
|
|
12037
12037
|
});
|
|
12038
12038
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
12039
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
12039
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-N3A5BSJN.js");
|
|
12040
12040
|
setupInitialActivityLogger(config);
|
|
12041
12041
|
}
|
|
12042
12042
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -14999,13 +14999,15 @@ function buildAvailableModels(config, settings) {
|
|
|
14999
14999
|
const preferredModel = config.getModel() || GEMINI_MODEL_ALIAS_AUTO;
|
|
15000
15000
|
const shouldShowPreviewModels = config.getHasAccessToPreviewModel();
|
|
15001
15001
|
const useGemini31 = config.getGemini31LaunchedSync?.() ?? false;
|
|
15002
|
-
const
|
|
15002
|
+
const useLatestFlash = config.hasLatestFlashGAAccess?.() ?? false;
|
|
15003
|
+
const useLatestFlashLite = config.hasLatestFlashLiteGAAccess?.() ?? false;
|
|
15003
15004
|
const selectedAuthType = settings.merged.security.auth.selectedType;
|
|
15004
15005
|
const useCustomToolModel = useGemini31 && selectedAuthType === AuthType.USE_GEMINI;
|
|
15005
15006
|
if (config.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
|
|
15006
15007
|
const options = config.getModelConfigService().getAvailableModelOptions({
|
|
15007
15008
|
useGemini3_1: useGemini31,
|
|
15008
|
-
|
|
15009
|
+
useLatestFlash,
|
|
15010
|
+
useLatestFlashLite,
|
|
15009
15011
|
useCustomTools: useCustomToolModel,
|
|
15010
15012
|
hasAccessToPreview: shouldShowPreviewModels
|
|
15011
15013
|
});
|
|
@@ -15021,7 +15023,7 @@ function buildAvailableModels(config, settings) {
|
|
|
15021
15023
|
description: getAutoModelDescription(
|
|
15022
15024
|
shouldShowPreviewModels,
|
|
15023
15025
|
useGemini31,
|
|
15024
|
-
|
|
15026
|
+
useLatestFlash
|
|
15025
15027
|
)
|
|
15026
15028
|
}
|
|
15027
15029
|
];
|
|
@@ -17246,7 +17248,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
17246
17248
|
}
|
|
17247
17249
|
}
|
|
17248
17250
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
17249
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
17251
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-EAB7PSHJ.js");
|
|
17250
17252
|
await doStartUI(
|
|
17251
17253
|
config,
|
|
17252
17254
|
settings,
|
|
@@ -17455,7 +17457,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17455
17457
|
await config.storage.initialize();
|
|
17456
17458
|
adminControlsListner.setConfig(config);
|
|
17457
17459
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
17458
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
17460
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-N3A5BSJN.js");
|
|
17459
17461
|
setupInitialActivityLogger(config);
|
|
17460
17462
|
}
|
|
17461
17463
|
registerTelemetryConfig(config);
|
|
@@ -17514,7 +17516,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17514
17516
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
17515
17517
|
const initializationResult = await initializeApp(config, settings);
|
|
17516
17518
|
initAppHandle?.end();
|
|
17517
|
-
import("./liteRtServerManager-
|
|
17519
|
+
import("./liteRtServerManager-NSPOA7KV.js").then(({ LiteRtServerManager }) => {
|
|
17518
17520
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
17519
17521
|
if (!mergedGemma) return;
|
|
17520
17522
|
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-YD7YFB3H.js";
|
|
8
|
+
import "./chunk-NXDIRTLT.js";
|
|
9
|
+
import "./chunk-JKUZ4FYJ.js";
|
|
10
|
+
import "./chunk-OO7JC2QX.js";
|
|
11
11
|
import "./chunk-664ZODQF.js";
|
|
12
12
|
import "./chunk-IUUIT4SU.js";
|
|
13
13
|
import "./chunk-TUDYL3X4.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-ATQ3WGVL.js");
|
|
119
|
+
const { FatalError, writeToStderr } = await import("./dist-6YQ35ICZ.js");
|
|
120
|
+
const { runExitCleanup } = await import("./cleanup-R6YFTONK.js");
|
|
121
121
|
main().catch(async (error) => {
|
|
122
122
|
const cleanupTimeout = setTimeout(() => {
|
|
123
123
|
writeToStderr("Cleanup timed out, forcing exit...\n");
|
|
@@ -158,10 +158,10 @@ import {
|
|
|
158
158
|
widestLineFromStyledChars,
|
|
159
159
|
wordBreakStyledChars,
|
|
160
160
|
wrapStyledChars
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-VSZD56FP.js";
|
|
162
162
|
import {
|
|
163
163
|
require_source
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-4D7PRDBS.js";
|
|
165
165
|
import {
|
|
166
166
|
appEvents
|
|
167
167
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -215,24 +215,24 @@ import {
|
|
|
215
215
|
stripAnsi,
|
|
216
216
|
stripUnsafeCharacters,
|
|
217
217
|
toCodePoints
|
|
218
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-LZGP7KFI.js";
|
|
219
219
|
import {
|
|
220
220
|
handleAutoUpdate,
|
|
221
221
|
isDevelopment,
|
|
222
222
|
relaunchApp,
|
|
223
223
|
setUpdateHandler
|
|
224
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-H6SLDOAI.js";
|
|
225
225
|
import {
|
|
226
226
|
isTodoList,
|
|
227
227
|
mapCoreStatusToDisplayStatus,
|
|
228
228
|
require_react
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-MNBKYFEY.js";
|
|
230
230
|
import {
|
|
231
231
|
registerCleanup,
|
|
232
232
|
removeCleanup,
|
|
233
233
|
runExitCleanup,
|
|
234
234
|
setupTtyCheck
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-TFQNPQHU.js";
|
|
236
236
|
import {
|
|
237
237
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
238
238
|
AGENT_TOOL_NAME,
|
|
@@ -438,7 +438,7 @@ import {
|
|
|
438
438
|
validatePlanContent,
|
|
439
439
|
validatePlanPath,
|
|
440
440
|
writeToStdout
|
|
441
|
-
} from "./chunk-
|
|
441
|
+
} from "./chunk-HDPU5WOJ.js";
|
|
442
442
|
import "./chunk-664ZODQF.js";
|
|
443
443
|
import "./chunk-IUUIT4SU.js";
|
|
444
444
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -16792,7 +16792,8 @@ function ModelDialog({ onClose }) {
|
|
|
16792
16792
|
const preferredModel = config?.getModel() || GEMINI_MODEL_ALIAS_AUTO;
|
|
16793
16793
|
const shouldShowPreviewModels = config?.getHasAccessToPreviewModel() ?? false;
|
|
16794
16794
|
const useGemini31 = config?.getGemini31LaunchedSync?.() ?? false;
|
|
16795
|
-
const
|
|
16795
|
+
const useLatestFlash = config?.hasLatestFlashGAAccess?.() ?? false;
|
|
16796
|
+
const useLatestFlashLite = config?.hasLatestFlashLiteGAAccess?.() ?? false;
|
|
16796
16797
|
const selectedAuthType = settings.merged.security.auth.selectedType;
|
|
16797
16798
|
const useCustomToolModel = useGemini31 && selectedAuthType === AuthType.USE_GEMINI;
|
|
16798
16799
|
const manualModelSelected = (0, import_react55.useMemo)(() => {
|
|
@@ -16837,7 +16838,8 @@ function ModelDialog({ onClose }) {
|
|
|
16837
16838
|
if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
|
|
16838
16839
|
const allOptions = config.getModelConfigService().getAvailableModelOptions({
|
|
16839
16840
|
useGemini3_1: useGemini31,
|
|
16840
|
-
|
|
16841
|
+
useLatestFlash,
|
|
16842
|
+
useLatestFlashLite,
|
|
16841
16843
|
useCustomTools: useCustomToolModel,
|
|
16842
16844
|
hasAccessToPreview: shouldShowPreviewModels,
|
|
16843
16845
|
hasAccessToProModel
|
|
@@ -16863,7 +16865,7 @@ function ModelDialog({ onClose }) {
|
|
|
16863
16865
|
description: getAutoModelDescription(
|
|
16864
16866
|
shouldShowPreviewModels,
|
|
16865
16867
|
useGemini31,
|
|
16866
|
-
|
|
16868
|
+
useLatestFlash
|
|
16867
16869
|
),
|
|
16868
16870
|
key: GEMINI_MODEL_ALIAS_AUTO
|
|
16869
16871
|
},
|
|
@@ -16880,7 +16882,8 @@ function ModelDialog({ onClose }) {
|
|
|
16880
16882
|
shouldShowPreviewModels,
|
|
16881
16883
|
manualModelSelected,
|
|
16882
16884
|
useGemini31,
|
|
16883
|
-
|
|
16885
|
+
useLatestFlash,
|
|
16886
|
+
useLatestFlashLite,
|
|
16884
16887
|
useCustomToolModel,
|
|
16885
16888
|
hasAccessToProModel
|
|
16886
16889
|
]);
|
|
@@ -16888,7 +16891,8 @@ function ModelDialog({ onClose }) {
|
|
|
16888
16891
|
if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
|
|
16889
16892
|
const allOptions = config.getModelConfigService().getAvailableModelOptions({
|
|
16890
16893
|
useGemini3_1: useGemini31,
|
|
16891
|
-
|
|
16894
|
+
useLatestFlash,
|
|
16895
|
+
useLatestFlashLite,
|
|
16892
16896
|
useCustomTools: useCustomToolModel,
|
|
16893
16897
|
hasAccessToPreview: shouldShowPreviewModels,
|
|
16894
16898
|
hasAccessToProModel
|
|
@@ -16962,7 +16966,8 @@ function ModelDialog({ onClose }) {
|
|
|
16962
16966
|
}, [
|
|
16963
16967
|
shouldShowPreviewModels,
|
|
16964
16968
|
useGemini31,
|
|
16965
|
-
|
|
16969
|
+
useLatestFlash,
|
|
16970
|
+
useLatestFlashLite,
|
|
16966
16971
|
useCustomToolModel,
|
|
16967
16972
|
hasAccessToProModel,
|
|
16968
16973
|
config
|
|
@@ -34005,7 +34010,7 @@ ${queuedText}` : queuedText;
|
|
|
34005
34010
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
34006
34011
|
if (settings.merged.general.devtools) {
|
|
34007
34012
|
void (async () => {
|
|
34008
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
34013
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-N3A5BSJN.js");
|
|
34009
34014
|
await toggleDevToolsPanel(
|
|
34010
34015
|
config,
|
|
34011
34016
|
showErrorDetails,
|