@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
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
|
+
import {
|
|
3
|
+
ExitCodes,
|
|
4
|
+
Storage,
|
|
5
|
+
isTelemetrySdkInitialized,
|
|
6
|
+
resetBrowserSession,
|
|
7
|
+
shutdownTelemetry
|
|
8
|
+
} from "./chunk-ZAP2IAMA.js";
|
|
9
|
+
|
|
10
|
+
// packages/cli/src/utils/cleanup.ts
|
|
11
|
+
import { promises as fs } from "node:fs";
|
|
12
|
+
import { join } from "node:path";
|
|
13
|
+
var cleanupFunctions = [];
|
|
14
|
+
var syncCleanupFunctions = [];
|
|
15
|
+
var configForTelemetry = null;
|
|
16
|
+
var isShuttingDown = false;
|
|
17
|
+
function registerCleanup(fn) {
|
|
18
|
+
cleanupFunctions.push(fn);
|
|
19
|
+
}
|
|
20
|
+
function removeCleanup(fn) {
|
|
21
|
+
const index = cleanupFunctions.indexOf(fn);
|
|
22
|
+
if (index !== -1) {
|
|
23
|
+
cleanupFunctions.splice(index, 1);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function registerSyncCleanup(fn) {
|
|
27
|
+
syncCleanupFunctions.push(fn);
|
|
28
|
+
}
|
|
29
|
+
function removeSyncCleanup(fn) {
|
|
30
|
+
const index = syncCleanupFunctions.indexOf(fn);
|
|
31
|
+
if (index !== -1) {
|
|
32
|
+
syncCleanupFunctions.splice(index, 1);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
function resetCleanupForTesting() {
|
|
36
|
+
cleanupFunctions.length = 0;
|
|
37
|
+
syncCleanupFunctions.length = 0;
|
|
38
|
+
configForTelemetry = null;
|
|
39
|
+
isShuttingDown = false;
|
|
40
|
+
}
|
|
41
|
+
function runSyncCleanup() {
|
|
42
|
+
for (const fn of syncCleanupFunctions) {
|
|
43
|
+
try {
|
|
44
|
+
fn();
|
|
45
|
+
} catch {
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
syncCleanupFunctions.length = 0;
|
|
49
|
+
}
|
|
50
|
+
function registerTelemetryConfig(config) {
|
|
51
|
+
configForTelemetry = config;
|
|
52
|
+
}
|
|
53
|
+
async function runExitCleanup() {
|
|
54
|
+
await drainStdin();
|
|
55
|
+
runSyncCleanup();
|
|
56
|
+
for (const fn of cleanupFunctions) {
|
|
57
|
+
try {
|
|
58
|
+
await fn();
|
|
59
|
+
} catch {
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
cleanupFunctions.length = 0;
|
|
63
|
+
try {
|
|
64
|
+
await resetBrowserSession();
|
|
65
|
+
} catch {
|
|
66
|
+
}
|
|
67
|
+
if (configForTelemetry) {
|
|
68
|
+
try {
|
|
69
|
+
await configForTelemetry.dispose();
|
|
70
|
+
} catch {
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if (configForTelemetry && isTelemetrySdkInitialized()) {
|
|
74
|
+
try {
|
|
75
|
+
await shutdownTelemetry(configForTelemetry);
|
|
76
|
+
} catch {
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
async function drainStdin() {
|
|
81
|
+
if (!process.stdin?.isTTY) return;
|
|
82
|
+
process.stdin.resume().removeAllListeners("data").on("data", () => {
|
|
83
|
+
});
|
|
84
|
+
await new Promise((resolve) => setTimeout(resolve, 50));
|
|
85
|
+
}
|
|
86
|
+
async function gracefulShutdown(_reason) {
|
|
87
|
+
if (isShuttingDown) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
isShuttingDown = true;
|
|
91
|
+
await runExitCleanup();
|
|
92
|
+
process.exit(ExitCodes.SUCCESS);
|
|
93
|
+
}
|
|
94
|
+
function setupSignalHandlers() {
|
|
95
|
+
process.on("SIGHUP", () => gracefulShutdown("SIGHUP"));
|
|
96
|
+
process.on("SIGTERM", () => gracefulShutdown("SIGTERM"));
|
|
97
|
+
process.on("SIGINT", () => gracefulShutdown("SIGINT"));
|
|
98
|
+
}
|
|
99
|
+
function setupTtyCheck() {
|
|
100
|
+
let intervalId = null;
|
|
101
|
+
let isCheckingTty = false;
|
|
102
|
+
intervalId = setInterval(async () => {
|
|
103
|
+
if (isCheckingTty || isShuttingDown) {
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
if (process.env["SANDBOX"]) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
if (!process.stdin.isTTY && !process.stdout.isTTY) {
|
|
110
|
+
isCheckingTty = true;
|
|
111
|
+
if (intervalId) {
|
|
112
|
+
clearInterval(intervalId);
|
|
113
|
+
intervalId = null;
|
|
114
|
+
}
|
|
115
|
+
await gracefulShutdown("TTY loss");
|
|
116
|
+
}
|
|
117
|
+
}, 5e3);
|
|
118
|
+
intervalId.unref();
|
|
119
|
+
return () => {
|
|
120
|
+
if (intervalId) {
|
|
121
|
+
clearInterval(intervalId);
|
|
122
|
+
intervalId = null;
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
async function cleanupCheckpoints() {
|
|
127
|
+
const storage = new Storage(process.cwd());
|
|
128
|
+
await storage.initialize();
|
|
129
|
+
const tempDir = storage.getProjectTempDir();
|
|
130
|
+
const checkpointsDir = join(tempDir, "checkpoints");
|
|
131
|
+
try {
|
|
132
|
+
await fs.rm(checkpointsDir, { recursive: true, force: true });
|
|
133
|
+
} catch {
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export {
|
|
138
|
+
registerCleanup,
|
|
139
|
+
removeCleanup,
|
|
140
|
+
registerSyncCleanup,
|
|
141
|
+
removeSyncCleanup,
|
|
142
|
+
resetCleanupForTesting,
|
|
143
|
+
runSyncCleanup,
|
|
144
|
+
registerTelemetryConfig,
|
|
145
|
+
runExitCleanup,
|
|
146
|
+
setupSignalHandlers,
|
|
147
|
+
setupTtyCheck,
|
|
148
|
+
cleanupCheckpoints
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* @license
|
|
152
|
+
* Copyright 2025 Google LLC
|
|
153
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
154
|
+
*/
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-OY6QYVTR.js";
|
|
15
|
+
import "./chunk-CWAXEILN.js";
|
|
16
16
|
import "./chunk-6HI7VNOG.js";
|
|
17
17
|
import "./chunk-TUDYL3X4.js";
|
|
18
18
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-767WVJKA.js";
|
|
15
|
+
import "./chunk-GTQYFINA.js";
|
|
16
16
|
import "./chunk-6HI7VNOG.js";
|
|
17
17
|
import "./chunk-TUDYL3X4.js";
|
|
18
18
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-ZQZFTBJB.js";
|
|
15
|
+
import "./chunk-ZAP2IAMA.js";
|
|
16
16
|
import "./chunk-6HI7VNOG.js";
|
|
17
17
|
import "./chunk-TUDYL3X4.js";
|
|
18
18
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
|
+
import {
|
|
3
|
+
cleanupCheckpoints,
|
|
4
|
+
registerCleanup,
|
|
5
|
+
registerSyncCleanup,
|
|
6
|
+
registerTelemetryConfig,
|
|
7
|
+
removeCleanup,
|
|
8
|
+
removeSyncCleanup,
|
|
9
|
+
resetCleanupForTesting,
|
|
10
|
+
runExitCleanup,
|
|
11
|
+
runSyncCleanup,
|
|
12
|
+
setupSignalHandlers,
|
|
13
|
+
setupTtyCheck
|
|
14
|
+
} from "./chunk-HTTFLYNV.js";
|
|
15
|
+
import "./chunk-FBTNPKPG.js";
|
|
16
|
+
import "./chunk-6HI7VNOG.js";
|
|
17
|
+
import "./chunk-TUDYL3X4.js";
|
|
18
|
+
import "./chunk-IUUIT4SU.js";
|
|
19
|
+
import "./chunk-34MYV7JD.js";
|
|
20
|
+
export {
|
|
21
|
+
cleanupCheckpoints,
|
|
22
|
+
registerCleanup,
|
|
23
|
+
registerSyncCleanup,
|
|
24
|
+
registerTelemetryConfig,
|
|
25
|
+
removeCleanup,
|
|
26
|
+
removeSyncCleanup,
|
|
27
|
+
resetCleanupForTesting,
|
|
28
|
+
runExitCleanup,
|
|
29
|
+
runSyncCleanup,
|
|
30
|
+
setupSignalHandlers,
|
|
31
|
+
setupTtyCheck
|
|
32
|
+
};
|
|
@@ -48,7 +48,6 @@ import {
|
|
|
48
48
|
AudioRecorder,
|
|
49
49
|
AuthProviderType,
|
|
50
50
|
AuthType,
|
|
51
|
-
BASH_HUP_GUARD,
|
|
52
51
|
BINARY_EXTENSIONS,
|
|
53
52
|
BINARY_FILE_PATTERNS,
|
|
54
53
|
BINARY_INJECTION_KEY,
|
|
@@ -358,8 +357,8 @@ import {
|
|
|
358
357
|
PLAN_MODE_PARAM_REASON,
|
|
359
358
|
PLAN_MODE_TOOLS,
|
|
360
359
|
PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL,
|
|
361
|
-
PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL,
|
|
362
360
|
PREVIEW_GEMINI_3_1_MODEL,
|
|
361
|
+
PREVIEW_GEMINI_FLASH_LITE_MODEL,
|
|
363
362
|
PREVIEW_GEMINI_FLASH_MODEL,
|
|
364
363
|
PREVIEW_GEMINI_MODEL,
|
|
365
364
|
PREVIEW_GEMINI_MODEL_AUTO,
|
|
@@ -1030,7 +1029,6 @@ import {
|
|
|
1030
1029
|
stopGlobalMemoryMonitoring,
|
|
1031
1030
|
stressTestProfile,
|
|
1032
1031
|
stripAnsiFromBuffer,
|
|
1033
|
-
stripHupGuard,
|
|
1034
1032
|
stripShellWrapper,
|
|
1035
1033
|
stripToolCallIdPrefixes,
|
|
1036
1034
|
supports256Colors,
|
|
@@ -1062,7 +1060,7 @@ import {
|
|
|
1062
1060
|
wrapInAccountChooser,
|
|
1063
1061
|
writeToStderr,
|
|
1064
1062
|
writeToStdout
|
|
1065
|
-
} from "./chunk-
|
|
1063
|
+
} from "./chunk-CWAXEILN.js";
|
|
1066
1064
|
import "./chunk-6HI7VNOG.js";
|
|
1067
1065
|
import "./chunk-TUDYL3X4.js";
|
|
1068
1066
|
import {
|
|
@@ -1119,7 +1117,6 @@ export {
|
|
|
1119
1117
|
AudioRecorder,
|
|
1120
1118
|
AuthProviderType,
|
|
1121
1119
|
AuthType,
|
|
1122
|
-
BASH_HUP_GUARD,
|
|
1123
1120
|
BINARY_EXTENSIONS,
|
|
1124
1121
|
BINARY_FILE_PATTERNS,
|
|
1125
1122
|
BINARY_INJECTION_KEY,
|
|
@@ -1429,8 +1426,8 @@ export {
|
|
|
1429
1426
|
PLAN_MODE_PARAM_REASON,
|
|
1430
1427
|
PLAN_MODE_TOOLS,
|
|
1431
1428
|
PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL,
|
|
1432
|
-
PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL,
|
|
1433
1429
|
PREVIEW_GEMINI_3_1_MODEL,
|
|
1430
|
+
PREVIEW_GEMINI_FLASH_LITE_MODEL,
|
|
1434
1431
|
PREVIEW_GEMINI_FLASH_MODEL,
|
|
1435
1432
|
PREVIEW_GEMINI_MODEL,
|
|
1436
1433
|
PREVIEW_GEMINI_MODEL_AUTO,
|
|
@@ -2103,7 +2100,6 @@ export {
|
|
|
2103
2100
|
stopGlobalMemoryMonitoring,
|
|
2104
2101
|
stressTestProfile,
|
|
2105
2102
|
stripAnsiFromBuffer,
|
|
2106
|
-
stripHupGuard,
|
|
2107
2103
|
stripShellWrapper,
|
|
2108
2104
|
stripToolCallIdPrefixes,
|
|
2109
2105
|
supports256Colors,
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
coreEvents,
|
|
4
4
|
debugLogger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CWAXEILN.js";
|
|
6
6
|
import {
|
|
7
7
|
wrapper_default
|
|
8
8
|
} from "./chunk-6HI7VNOG.js";
|
|
@@ -821,7 +821,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
821
821
|
return;
|
|
822
822
|
}
|
|
823
823
|
try {
|
|
824
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-
|
|
824
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-LD6MHGD6.js");
|
|
825
825
|
const url = await startDevToolsServer(config);
|
|
826
826
|
if (shouldLaunchBrowser()) {
|
|
827
827
|
try {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
CoreEvent,
|
|
4
4
|
coreEvents,
|
|
5
5
|
debugLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZAP2IAMA.js";
|
|
7
7
|
import {
|
|
8
8
|
wrapper_default
|
|
9
9
|
} from "./chunk-6HI7VNOG.js";
|
|
@@ -822,7 +822,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
822
822
|
return;
|
|
823
823
|
}
|
|
824
824
|
try {
|
|
825
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
825
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-NIOYWUBZ.js");
|
|
826
826
|
const url = await startDevToolsServer(config);
|
|
827
827
|
if (shouldLaunchBrowser()) {
|
|
828
828
|
try {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
|
+
CoreEvent,
|
|
3
4
|
coreEvents,
|
|
4
5
|
debugLogger
|
|
5
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GTQYFINA.js";
|
|
6
7
|
import {
|
|
7
8
|
wrapper_default
|
|
8
9
|
} from "./chunk-6HI7VNOG.js";
|
|
@@ -670,7 +671,7 @@ var bridgeAttached = false;
|
|
|
670
671
|
function bridgeCoreEvents(capture) {
|
|
671
672
|
if (bridgeAttached) return;
|
|
672
673
|
bridgeAttached = true;
|
|
673
|
-
coreEvents.on(
|
|
674
|
+
coreEvents.on(CoreEvent.ConsoleLog, (payload) => {
|
|
674
675
|
capture.logConsole(payload);
|
|
675
676
|
});
|
|
676
677
|
}
|
|
@@ -821,7 +822,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
821
822
|
return;
|
|
822
823
|
}
|
|
823
824
|
try {
|
|
824
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./
|
|
825
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-JIEO7BGB.js");
|
|
825
826
|
const url = await startDevToolsServer(config);
|
|
826
827
|
if (shouldLaunchBrowser()) {
|
|
827
828
|
try {
|