@google/gemini-cli 0.44.0 → 0.45.0-nightly.20260528.g5cac7c10f
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-LM6XTSWQ.js → chunk-2H5DC5TA.js} +56 -2
- package/bundle/{chunk-CBT4PN4R.js → chunk-2RRZM3IR.js} +8 -8
- package/bundle/{chunk-FOOWNGAB.js → chunk-2SU33N7C.js} +1 -1
- package/bundle/{chunk-M3EDSAPV.js → chunk-4M3TG6ZU.js} +1 -1
- package/bundle/{chunk-TN4WXWFM.js → chunk-4TSRLQBZ.js} +3 -3
- package/bundle/{chunk-DALZZYPQ.js → chunk-767WVJKA.js} +1 -1
- package/bundle/{chunk-EKUU3KNX.js → chunk-B4GDSUR2.js} +1 -1
- package/bundle/{chunk-SIXPHUVZ.js → chunk-CWAXEILN.js} +423 -330
- package/bundle/{chunk-BE42OOYM.js → chunk-FBTNPKPG.js} +377 -297
- package/bundle/{chunk-3K52543M.js → chunk-GIXFMPPJ.js} +56 -2
- package/bundle/{chunk-TW47A6FW.js → chunk-GTQYFINA.js} +7827 -14242
- package/bundle/{chunk-6W2Z7FTE.js → chunk-HJCI56HE.js} +3 -3
- package/bundle/{chunk-5CABHQOE.js → chunk-HTTFLYNV.js} +1 -1
- package/bundle/{chunk-BOYNQXWU.js → chunk-HYC42UG2.js} +2 -2
- package/bundle/{chunk-G2L4VCSN.js → chunk-HYJ253BF.js} +9 -8
- package/bundle/{chunk-VUERI7WB.js → chunk-KETVRR7F.js} +8 -8
- package/bundle/{chunk-7ZH745HC.js → chunk-LM7IUUPG.js} +63 -6
- package/bundle/{chunk-QUZ62PY7.js → chunk-LUQGJPIY.js} +2 -2
- package/bundle/{chunk-N4SGO3W6.js → chunk-MGXTB4U2.js} +2 -2
- package/bundle/{chunk-ONQVFEHS.js → chunk-OY6QYVTR.js} +1 -1
- package/bundle/{chunk-7KIX5G5D.js → chunk-Q3UZDZZV.js} +3 -3
- package/bundle/{chunk-OLBOCZ5F.js → chunk-RL3BAOLP.js} +68 -55
- package/bundle/{chunk-OTLI6LZ3.js → chunk-RLOHM32C.js} +1 -1
- package/bundle/chunk-VONINEZL.js +512 -0
- package/bundle/chunk-WE2NPYLF.js +17320 -0
- package/bundle/{chunk-XTG4JBIR.js → chunk-WPCNMQ6J.js} +1 -1
- package/bundle/chunk-XBD7NYQK.js +398 -0
- package/bundle/chunk-XLNVYLTH.js +1571 -0
- package/bundle/chunk-XVJGS2PV.js +81685 -0
- package/bundle/chunk-YP6T4TTR.js +118 -0
- package/bundle/chunk-ZAP2IAMA.js +394429 -0
- package/bundle/chunk-ZQZFTBJB.js +154 -0
- package/bundle/{cleanup-PDT5ATZB.js → cleanup-7FHLTEXT.js} +2 -2
- package/bundle/{cleanup-SF7XW2P3.js → cleanup-OC2VH2NM.js} +2 -2
- package/bundle/{cleanup-UW3DZLXP.js → cleanup-QAYOZSYG.js} +2 -2
- package/bundle/cleanup-RSDKY26B.js +32 -0
- package/bundle/{core-LN2S4IOX.js → core-LD6MHGD6.js} +3 -7
- package/bundle/{devtoolsService-DUEWJW52.js → devtoolsService-4Y2RGEUE.js} +2 -2
- package/bundle/{devtoolsService-64QE2V7E.js → devtoolsService-72PYXNY7.js} +2 -2
- package/bundle/{devtoolsService-ZC7E4R2A.js → devtoolsService-A7GGCE5S.js} +4 -3
- package/bundle/devtoolsService-W6D2CBSD.js +856 -0
- package/bundle/{dist-J4RONYVV.js → dist-AWZHVQVU.js} +3 -7
- package/bundle/{core-GW6VAL53.js → dist-JIEO7BGB.js} +3 -7
- package/bundle/dist-NIOYWUBZ.js +2134 -0
- package/bundle/docs/changelogs/index.md +15 -0
- package/bundle/docs/changelogs/latest.md +198 -262
- package/bundle/docs/changelogs/preview.md +202 -181
- package/bundle/docs/reference/configuration.md +24 -29
- package/bundle/{gemini-SSQIKHR2.js → gemini-5BI3CAHU.js} +41 -30
- package/bundle/{gemini-CSPRLMWN.js → gemini-5ZI322FJ.js} +41 -30
- package/bundle/{gemini-CMBH5YG6.js → gemini-VGWW5S4X.js} +239 -212
- package/bundle/gemini-WNFLKYIG.js +16406 -0
- package/bundle/gemini.js +15 -10
- package/bundle/{interactiveCli-RDMZS6KL.js → interactiveCli-HERACVWI.js} +34 -58
- package/bundle/{interactiveCli-Q2A2JFLA.js → interactiveCli-MK4KMRE5.js} +340 -345
- package/bundle/interactiveCli-MV4UI2QW.js +34726 -0
- package/bundle/{interactiveCli-TOEU7LIO.js → interactiveCli-XM5HDVD7.js} +34 -58
- package/bundle/{liteRtServerManager-ASKAVAO7.js → liteRtServerManager-6ABLEPRZ.js} +4 -4
- package/bundle/{liteRtServerManager-6BWTXMUI.js → liteRtServerManager-6N5DYDEQ.js} +4 -4
- package/bundle/{liteRtServerManager-ZS3BCW53.js → liteRtServerManager-PCEFUKXR.js} +4 -4
- package/bundle/liteRtServerManager-PRFP3VM3.js +65 -0
- package/bundle/{oauth2-provider-SYRZDGL5.js → oauth2-provider-RHC4TM2M.js} +1 -1
- package/bundle/{oauth2-provider-7JOVY727.js → oauth2-provider-S3GQDX6M.js} +38 -72
- package/bundle/{oauth2-provider-FGI6QDEM.js → oauth2-provider-WS7LUQ5V.js} +1 -1
- package/bundle/oauth2-provider-YDSFC443.js +235 -0
- package/bundle/{start-KJCIH3GX.js → start-6J7J6MU3.js} +6 -6
- package/bundle/{start-TU5WNP77.js → start-SVVJOUJH.js} +6 -6
- package/bundle/{start-47OYCVVA.js → start-XLIGOOW3.js} +6 -6
- package/bundle/start-Z3RQJJU3.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-HYC42UG2.js";
|
|
8
|
+
import "./chunk-B4GDSUR2.js";
|
|
9
|
+
import "./chunk-767WVJKA.js";
|
|
10
|
+
import "./chunk-GTQYFINA.js";
|
|
11
11
|
import "./chunk-6HI7VNOG.js";
|
|
12
12
|
import "./chunk-TUDYL3X4.js";
|
|
13
13
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -18,8 +18,13 @@ import { spawn } from "node:child_process";
|
|
|
18
18
|
import os from "node:os";
|
|
19
19
|
import v8 from "node:v8";
|
|
20
20
|
process.on("uncaughtException", (error) => {
|
|
21
|
-
if (
|
|
22
|
-
|
|
21
|
+
if (error instanceof Error) {
|
|
22
|
+
const isPtyResizeError = error.message === "Cannot resize a pty that has already exited";
|
|
23
|
+
const isEbadfError = error.message.includes("EBADF");
|
|
24
|
+
const isFromNodePty = error.stack?.includes("node-pty") || error.stack?.includes("PtyResize");
|
|
25
|
+
if ((isPtyResizeError || isEbadfError) && isFromNodePty) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
23
28
|
}
|
|
24
29
|
if (error instanceof Error) {
|
|
25
30
|
process.stderr.write(error.stack + "\n");
|
|
@@ -95,7 +100,7 @@ async function run() {
|
|
|
95
100
|
while (true) {
|
|
96
101
|
try {
|
|
97
102
|
const exitCode = await runner();
|
|
98
|
-
if (exitCode !== RELAUNCH_EXIT_CODE) {
|
|
103
|
+
if (process.platform === "android" || exitCode !== RELAUNCH_EXIT_CODE) {
|
|
99
104
|
process.exit(exitCode);
|
|
100
105
|
}
|
|
101
106
|
} catch (error) {
|
|
@@ -109,9 +114,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
|
|
|
109
114
|
}
|
|
110
115
|
}
|
|
111
116
|
} else {
|
|
112
|
-
const { main } = await import("./gemini-
|
|
113
|
-
const { FatalError, writeToStderr } = await import("./dist-
|
|
114
|
-
const { runExitCleanup } = await import("./cleanup-
|
|
117
|
+
const { main } = await import("./gemini-WNFLKYIG.js");
|
|
118
|
+
const { FatalError, writeToStderr } = await import("./dist-JIEO7BGB.js");
|
|
119
|
+
const { runExitCleanup } = await import("./cleanup-OC2VH2NM.js");
|
|
115
120
|
main().catch(async (error) => {
|
|
116
121
|
const cleanupTimeout = setTimeout(() => {
|
|
117
122
|
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-XVJGS2PV.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-2SU33N7C.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-2H5DC5TA.js";
|
|
215
215
|
import {
|
|
216
216
|
handleAutoUpdate,
|
|
217
217
|
isDevelopment,
|
|
218
218
|
relaunchApp,
|
|
219
219
|
setUpdateHandler
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-XBD7NYQK.js";
|
|
221
221
|
import {
|
|
222
222
|
isTodoList,
|
|
223
223
|
mapCoreStatusToDisplayStatus,
|
|
224
224
|
require_react
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-HYJ253BF.js";
|
|
226
226
|
import {
|
|
227
227
|
registerCleanup,
|
|
228
228
|
removeCleanup,
|
|
229
229
|
runExitCleanup,
|
|
230
230
|
setupTtyCheck
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-ZQZFTBJB.js";
|
|
232
232
|
import {
|
|
233
233
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
234
234
|
AGENT_TOOL_NAME,
|
|
@@ -281,8 +281,8 @@ import {
|
|
|
281
281
|
OverageMenuShownEvent,
|
|
282
282
|
OverageOptionSelectedEvent,
|
|
283
283
|
PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL,
|
|
284
|
-
PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL,
|
|
285
284
|
PREVIEW_GEMINI_3_1_MODEL,
|
|
285
|
+
PREVIEW_GEMINI_FLASH_LITE_MODEL,
|
|
286
286
|
PREVIEW_GEMINI_FLASH_MODEL,
|
|
287
287
|
PREVIEW_GEMINI_MODEL,
|
|
288
288
|
PolicyIntegrityManager,
|
|
@@ -429,7 +429,7 @@ import {
|
|
|
429
429
|
validatePlanContent,
|
|
430
430
|
validatePlanPath,
|
|
431
431
|
writeToStdout
|
|
432
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-ZAP2IAMA.js";
|
|
433
433
|
import "./chunk-6HI7VNOG.js";
|
|
434
434
|
import "./chunk-TUDYL3X4.js";
|
|
435
435
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -16643,7 +16643,6 @@ 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 useGemini31FlashLite = config?.getGemini31FlashLiteLaunchedSync?.() ?? false;
|
|
16647
16646
|
const selectedAuthType = settings.merged.security.auth.selectedType;
|
|
16648
16647
|
const useCustomToolModel = useGemini31 && selectedAuthType === AuthType.USE_GEMINI;
|
|
16649
16648
|
const manualModelSelected = (0, import_react55.useMemo)(() => {
|
|
@@ -16658,9 +16657,9 @@ function ModelDialog({ onClose }) {
|
|
|
16658
16657
|
PREVIEW_GEMINI_MODEL,
|
|
16659
16658
|
PREVIEW_GEMINI_3_1_MODEL,
|
|
16660
16659
|
PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL,
|
|
16661
|
-
|
|
16660
|
+
PREVIEW_GEMINI_FLASH_LITE_MODEL,
|
|
16662
16661
|
PREVIEW_GEMINI_FLASH_MODEL
|
|
16663
|
-
];
|
|
16662
|
+
].filter((m) => m !== "none");
|
|
16664
16663
|
if (manualModels.includes(preferredModel)) {
|
|
16665
16664
|
return preferredModel;
|
|
16666
16665
|
}
|
|
@@ -16688,7 +16687,6 @@ function ModelDialog({ onClose }) {
|
|
|
16688
16687
|
if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
|
|
16689
16688
|
const allOptions = config.getModelConfigService().getAvailableModelOptions({
|
|
16690
16689
|
useGemini3_1: useGemini31,
|
|
16691
|
-
useGemini3_1FlashLite: useGemini31FlashLite,
|
|
16692
16690
|
useCustomTools: useCustomToolModel,
|
|
16693
16691
|
hasAccessToPreview: shouldShowPreviewModels,
|
|
16694
16692
|
hasAccessToProModel
|
|
@@ -16730,7 +16728,6 @@ function ModelDialog({ onClose }) {
|
|
|
16730
16728
|
shouldShowPreviewModels,
|
|
16731
16729
|
manualModelSelected,
|
|
16732
16730
|
useGemini31,
|
|
16733
|
-
useGemini31FlashLite,
|
|
16734
16731
|
useCustomToolModel,
|
|
16735
16732
|
hasAccessToProModel
|
|
16736
16733
|
]);
|
|
@@ -16738,7 +16735,6 @@ function ModelDialog({ onClose }) {
|
|
|
16738
16735
|
if (config?.getExperimentalDynamicModelConfiguration?.() === true && config.getModelConfigService) {
|
|
16739
16736
|
const allOptions = config.getModelConfigService().getAvailableModelOptions({
|
|
16740
16737
|
useGemini3_1: useGemini31,
|
|
16741
|
-
useGemini3_1FlashLite: useGemini31FlashLite,
|
|
16742
16738
|
useCustomTools: useCustomToolModel,
|
|
16743
16739
|
hasAccessToPreview: shouldShowPreviewModels,
|
|
16744
16740
|
hasAccessToProModel
|
|
@@ -16756,15 +16752,15 @@ function ModelDialog({ onClose }) {
|
|
|
16756
16752
|
title: getDisplayString(DEFAULT_GEMINI_MODEL),
|
|
16757
16753
|
key: DEFAULT_GEMINI_MODEL
|
|
16758
16754
|
},
|
|
16759
|
-
{
|
|
16760
|
-
value: DEFAULT_GEMINI_FLASH_MODEL,
|
|
16761
|
-
title: getDisplayString(DEFAULT_GEMINI_FLASH_MODEL),
|
|
16762
|
-
key: DEFAULT_GEMINI_FLASH_MODEL
|
|
16763
|
-
},
|
|
16764
16755
|
{
|
|
16765
16756
|
value: DEFAULT_GEMINI_FLASH_LITE_MODEL,
|
|
16766
16757
|
title: getDisplayString(DEFAULT_GEMINI_FLASH_LITE_MODEL),
|
|
16767
16758
|
key: DEFAULT_GEMINI_FLASH_LITE_MODEL
|
|
16759
|
+
},
|
|
16760
|
+
{
|
|
16761
|
+
value: DEFAULT_GEMINI_FLASH_MODEL,
|
|
16762
|
+
title: getDisplayString(DEFAULT_GEMINI_FLASH_MODEL),
|
|
16763
|
+
key: DEFAULT_GEMINI_FLASH_MODEL
|
|
16768
16764
|
}
|
|
16769
16765
|
];
|
|
16770
16766
|
if (showGemmaModels) {
|
|
@@ -16796,11 +16792,11 @@ function ModelDialog({ onClose }) {
|
|
|
16796
16792
|
key: PREVIEW_GEMINI_FLASH_MODEL
|
|
16797
16793
|
}
|
|
16798
16794
|
];
|
|
16799
|
-
if (
|
|
16795
|
+
if (PREVIEW_GEMINI_FLASH_LITE_MODEL !== "none") {
|
|
16800
16796
|
previewOptions.push({
|
|
16801
|
-
value:
|
|
16802
|
-
title: getDisplayString(
|
|
16803
|
-
key:
|
|
16797
|
+
value: PREVIEW_GEMINI_FLASH_LITE_MODEL,
|
|
16798
|
+
title: getDisplayString(PREVIEW_GEMINI_FLASH_LITE_MODEL),
|
|
16799
|
+
key: PREVIEW_GEMINI_FLASH_LITE_MODEL
|
|
16804
16800
|
});
|
|
16805
16801
|
}
|
|
16806
16802
|
options2.unshift(...previewOptions);
|
|
@@ -16812,12 +16808,21 @@ function ModelDialog({ onClose }) {
|
|
|
16812
16808
|
}, [
|
|
16813
16809
|
shouldShowPreviewModels,
|
|
16814
16810
|
useGemini31,
|
|
16815
|
-
useGemini31FlashLite,
|
|
16816
16811
|
useCustomToolModel,
|
|
16817
16812
|
hasAccessToProModel,
|
|
16818
16813
|
config
|
|
16819
16814
|
]);
|
|
16820
|
-
const options =
|
|
16815
|
+
const options = (0, import_react55.useMemo)(() => {
|
|
16816
|
+
const rawOptions = view === "main" ? mainOptions : manualOptions;
|
|
16817
|
+
const seen = /* @__PURE__ */ new Set();
|
|
16818
|
+
return rawOptions.filter((option) => {
|
|
16819
|
+
if (seen.has(option.value)) {
|
|
16820
|
+
return false;
|
|
16821
|
+
}
|
|
16822
|
+
seen.add(option.value);
|
|
16823
|
+
return true;
|
|
16824
|
+
});
|
|
16825
|
+
}, [view, mainOptions, manualOptions]);
|
|
16821
16826
|
const initialIndex = (0, import_react55.useMemo)(() => {
|
|
16822
16827
|
const idx = options.findIndex((option) => option.value === preferredModel);
|
|
16823
16828
|
if (idx !== -1) {
|
|
@@ -30014,7 +30019,7 @@ function useVim(buffer, onSubmit) {
|
|
|
30014
30019
|
return true;
|
|
30015
30020
|
}
|
|
30016
30021
|
dispatch({ type: "CLEAR_PENDING_STATES" });
|
|
30017
|
-
if (normalizedKey.insertable) {
|
|
30022
|
+
if (normalizedKey.insertable && !normalizedKey.ctrl && !normalizedKey.alt && !normalizedKey.cmd) {
|
|
30018
30023
|
return true;
|
|
30019
30024
|
}
|
|
30020
30025
|
return false;
|
|
@@ -31932,8 +31937,6 @@ import process11 from "node:process";
|
|
|
31932
31937
|
function useSuspend({
|
|
31933
31938
|
handleWarning,
|
|
31934
31939
|
setRawMode,
|
|
31935
|
-
refreshStatic,
|
|
31936
|
-
setForceRerenderKey,
|
|
31937
31940
|
shouldUseAlternateScreen
|
|
31938
31941
|
}) {
|
|
31939
31942
|
const [ctrlZPressCount, setCtrlZPressCount] = (0, import_react117.useState)(0);
|
|
@@ -31995,10 +31998,6 @@ function useSuspend({
|
|
|
31995
31998
|
enableMouseEvents();
|
|
31996
31999
|
}
|
|
31997
32000
|
process11.stdout.emit("resize");
|
|
31998
|
-
setImmediate(() => {
|
|
31999
|
-
refreshStatic();
|
|
32000
|
-
setForceRerenderKey((prev) => prev + 1);
|
|
32001
|
-
});
|
|
32002
32001
|
} finally {
|
|
32003
32002
|
if (onResumeHandlerRef.current === onResume) {
|
|
32004
32003
|
onResumeHandlerRef.current = null;
|
|
@@ -32021,14 +32020,7 @@ function useSuspend({
|
|
|
32021
32020
|
ctrlZTimerRef.current = null;
|
|
32022
32021
|
}, WARNING_PROMPT_DURATION_MS);
|
|
32023
32022
|
}
|
|
32024
|
-
}, [
|
|
32025
|
-
ctrlZPressCount,
|
|
32026
|
-
handleWarning,
|
|
32027
|
-
setRawMode,
|
|
32028
|
-
refreshStatic,
|
|
32029
|
-
setForceRerenderKey,
|
|
32030
|
-
shouldUseAlternateScreen
|
|
32031
|
-
]);
|
|
32023
|
+
}, [ctrlZPressCount, handleWarning, setRawMode, shouldUseAlternateScreen]);
|
|
32032
32024
|
const handleSuspend = (0, import_react117.useCallback)(() => {
|
|
32033
32025
|
setCtrlZPressCount((prev) => prev + 1);
|
|
32034
32026
|
}, []);
|
|
@@ -32447,7 +32439,6 @@ var AppContainer = (props) => {
|
|
|
32447
32439
|
}
|
|
32448
32440
|
}, [mouseMode, setOptions]);
|
|
32449
32441
|
const [corgiMode, setCorgiMode] = (0, import_react121.useState)(false);
|
|
32450
|
-
const [forceRerenderKey, setForceRerenderKey] = (0, import_react121.useState)(0);
|
|
32451
32442
|
const [debugMessage, setDebugMessage] = (0, import_react121.useState)("");
|
|
32452
32443
|
const [quittingMessages, setQuittingMessages] = (0, import_react121.useState)(null);
|
|
32453
32444
|
const [showPrivacyNotice, setShowPrivacyNotice] = (0, import_react121.useState)(false);
|
|
@@ -33562,7 +33553,6 @@ ${queuedText}` : queuedText;
|
|
|
33562
33553
|
needsRestart: ideNeedsRestart,
|
|
33563
33554
|
restartReason: ideTrustRestartReason
|
|
33564
33555
|
} = useIdeTrustListener();
|
|
33565
|
-
const isInitialMount = (0, import_react121.useRef)(true);
|
|
33566
33556
|
useIncludeDirsTrust(config, isTrustedFolder, historyManager, setCustomDialog);
|
|
33567
33557
|
const tabFocusTimeoutRef = (0, import_react121.useRef)(null);
|
|
33568
33558
|
(0, import_react121.useEffect)(() => {
|
|
@@ -33605,8 +33595,6 @@ ${queuedText}` : queuedText;
|
|
|
33605
33595
|
const { handleSuspend } = useSuspend({
|
|
33606
33596
|
handleWarning,
|
|
33607
33597
|
setRawMode,
|
|
33608
|
-
refreshStatic,
|
|
33609
|
-
setForceRerenderKey,
|
|
33610
33598
|
shouldUseAlternateScreen
|
|
33611
33599
|
});
|
|
33612
33600
|
(0, import_react121.useEffect)(() => {
|
|
@@ -33614,18 +33602,6 @@ ${queuedText}` : queuedText;
|
|
|
33614
33602
|
setShowIdeRestartPrompt(true);
|
|
33615
33603
|
}
|
|
33616
33604
|
}, [ideNeedsRestart]);
|
|
33617
|
-
(0, import_react121.useEffect)(() => {
|
|
33618
|
-
if (isInitialMount.current) {
|
|
33619
|
-
isInitialMount.current = false;
|
|
33620
|
-
return;
|
|
33621
|
-
}
|
|
33622
|
-
const handler = setTimeout(() => {
|
|
33623
|
-
refreshStatic();
|
|
33624
|
-
}, 300);
|
|
33625
|
-
return () => {
|
|
33626
|
-
clearTimeout(handler);
|
|
33627
|
-
};
|
|
33628
|
-
}, [terminalWidth, refreshStatic]);
|
|
33629
33605
|
(0, import_react121.useEffect)(() => {
|
|
33630
33606
|
const unsubscribe = ideContextStore.subscribe(setIdeContextState);
|
|
33631
33607
|
setIdeContextState(ideContextStore.get());
|
|
@@ -33745,7 +33721,7 @@ ${queuedText}` : queuedText;
|
|
|
33745
33721
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33746
33722
|
if (settings.merged.general.devtools) {
|
|
33747
33723
|
void (async () => {
|
|
33748
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33724
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-72PYXNY7.js");
|
|
33749
33725
|
await toggleDevToolsPanel(
|
|
33750
33726
|
config,
|
|
33751
33727
|
showErrorDetails,
|
|
@@ -34554,7 +34530,7 @@ ${queuedText}` : queuedText;
|
|
|
34554
34530
|
isExpanded,
|
|
34555
34531
|
toggleExpansion,
|
|
34556
34532
|
toggleAllExpansion,
|
|
34557
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(ShellFocusContext.Provider, { value: isFocused, children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(MouseProvider, { mouseEventsEnabled: mouseMode, children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(ScrollProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(App, {}
|
|
34533
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(ShellFocusContext.Provider, { value: isFocused, children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(MouseProvider, { mouseEventsEnabled: mouseMode, children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(ScrollProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(App, {}) }) }) })
|
|
34558
34534
|
}
|
|
34559
34535
|
)
|
|
34560
34536
|
}
|