@google/gemini-cli 0.62.0-preview.0 → 0.63.0-nightly.20260926.g2fe7c2d3f
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-VNI6B2SC.js → chunk-2AXHER6I.js} +1 -1
- package/bundle/{chunk-7P7I4GYC.js → chunk-2HPN5QAH.js} +1 -1
- package/bundle/{chunk-67JFSAOI.js → chunk-4PBNRKYJ.js} +8 -5
- package/bundle/{chunk-UDX2JG4X.js → chunk-4SQTLFVK.js} +45 -11
- package/bundle/chunk-5OA4MZUE.js +17368 -0
- package/bundle/{chunk-ZOLMIYBF.js → chunk-A6CY66PY.js} +109 -62
- package/bundle/{chunk-IP26BEPK.js → chunk-BMW3TCBN.js} +1 -1
- package/bundle/{chunk-X3MDVQ2M.js → chunk-C2KZGMGL.js} +1 -1
- package/bundle/{chunk-DSHGGNYE.js → chunk-DQIFLHPX.js} +3 -3
- package/bundle/{chunk-QE6MNPCN.js → chunk-EATZTV2L.js} +45 -11
- package/bundle/{chunk-UCTTKDYX.js → chunk-EYGY6SJV.js} +1 -1
- package/bundle/{chunk-ZNLZV6KB.js → chunk-GCXBFYJK.js} +1 -1
- package/bundle/{chunk-4B6A2PDH.js → chunk-JBO7A25S.js} +9 -8
- package/bundle/{chunk-FX7H3YXM.js → chunk-JRB2XGR5.js} +1 -1
- package/bundle/{chunk-2MIF7TLR.js → chunk-KRI5JA76.js} +680 -165
- package/bundle/{chunk-RQBLUWGO.js → chunk-PAIQESPE.js} +3 -3
- package/bundle/{chunk-IZ7EEAUQ.js → chunk-QO5HKIZU.js} +2 -2
- package/bundle/{chunk-HCJU65X4.js → chunk-QX7M3XMQ.js} +3 -3
- package/bundle/{chunk-7LRWECUM.js → chunk-R2KYUMIM.js} +612 -158
- package/bundle/{chunk-KYWRBXUN.js → chunk-RCREII42.js} +2 -2
- package/bundle/{chunk-4SYYS7FT.js → chunk-RFR5KZGU.js} +1 -1
- package/bundle/chunk-SCOXV26L.js +118 -0
- package/bundle/{chunk-UVWRONOW.js → chunk-SJFSOFYJ.js} +2 -2
- package/bundle/chunk-SZK5XAFL.js +398 -0
- package/bundle/chunk-T7LJ6AR4.js +512 -0
- package/bundle/{chunk-YHJCOL52.js → chunk-TXWIPUPY.js} +8372 -14832
- package/bundle/chunk-UFNI7OME.js +400484 -0
- package/bundle/chunk-UGKG4OIB.js +102951 -0
- package/bundle/chunk-VAGYZO4R.js +1571 -0
- package/bundle/{chunk-LXVOSY26.js → chunk-VNGBTT2C.js} +1 -1
- package/bundle/{chunk-ZXPUBJYD.js → chunk-ZAM747AR.js} +1 -1
- package/bundle/chunk-ZV5QN465.js +154 -0
- package/bundle/{cleanup-FHA2KSXH.js → cleanup-33SXPBZY.js} +2 -2
- package/bundle/{cleanup-HY2KJG6D.js → cleanup-6IDD7Q3X.js} +2 -2
- package/bundle/{cleanup-UNKT2DM4.js → cleanup-7UL3PRLF.js} +2 -2
- package/bundle/cleanup-ZMIILI4I.js +32 -0
- package/bundle/{core-FGYHAZ6H.js → core-IIFMZU4H.js} +11 -1
- package/bundle/{devtoolsService-WDMSDVS7.js → devtoolsService-3DTEOSCQ.js} +2 -2
- package/bundle/{devtoolsService-2RNXWTDT.js → devtoolsService-AK7UU2FI.js} +2 -2
- package/bundle/{devtoolsService-FYN3P465.js → devtoolsService-BHWAPOMO.js} +4 -3
- package/bundle/devtoolsService-REQSIEPU.js +4359 -0
- package/bundle/{dist-42YIZWSU.js → dist-4S434TWJ.js} +11 -1
- package/bundle/{core-CYZFUAYU.js → dist-6CWFFN6Z.js} +11 -1
- package/bundle/dist-I74UZ4GA.js +2248 -0
- package/bundle/docs/changelogs/index.md +16 -0
- package/bundle/docs/changelogs/latest.md +34 -55
- package/bundle/docs/changelogs/preview.md +65 -29
- package/bundle/{gemini-H6C5T6NZ.js → gemini-3326ZSFC.js} +21 -21
- package/bundle/{gemini-5VI65FOO.js → gemini-I47O5YI2.js} +221 -205
- package/bundle/{gemini-DRDYGTKK.js → gemini-PGIEQLQD.js} +21 -21
- package/bundle/gemini-YJG7YFT4.js +17863 -0
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-TLTKI2C4.js → interactiveCli-A6SNZNGC.js} +31 -14
- package/bundle/{interactiveCli-SOVSAZ32.js → interactiveCli-JF6LE6RN.js} +334 -298
- package/bundle/{interactiveCli-KSL5ASTL.js → interactiveCli-JLFFVRVY.js} +31 -14
- package/bundle/interactiveCli-MHB4B6S7.js +34907 -0
- package/bundle/{liteRtServerManager-KO56TKLF.js → liteRtServerManager-4LVWWKUV.js} +4 -4
- package/bundle/{liteRtServerManager-T2GG72NW.js → liteRtServerManager-5LUGQWRF.js} +4 -4
- package/bundle/{liteRtServerManager-2CCV35OQ.js → liteRtServerManager-DVDNFJNH.js} +4 -4
- package/bundle/liteRtServerManager-FWIPKCGI.js +65 -0
- package/bundle/{oauth2-provider-TBQ7JUDB.js → oauth2-provider-IBKEWCFT.js} +1 -1
- package/bundle/{oauth2-provider-UY26FDAA.js → oauth2-provider-KPLVYPVA.js} +1 -1
- package/bundle/{oauth2-provider-BSRUMVCL.js → oauth2-provider-MTCBHRXI.js} +38 -72
- package/bundle/oauth2-provider-TDMWN5ME.js +235 -0
- package/bundle/{start-NGSQCGCK.js → start-2A3VVOAH.js} +6 -6
- package/bundle/{start-RUS2QGZK.js → start-665BHOTS.js} +6 -6
- package/bundle/{start-GCXJMSER.js → start-6PINHVUA.js} +6 -6
- package/bundle/start-DXGEU2SK.js +18 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
checkExhaustive
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KRI5JA76.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__toESM
|
|
@@ -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-UFNI7OME.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-ZV5QN465.js";
|
|
15
|
+
import "./chunk-UFNI7OME.js";
|
|
16
16
|
import "./chunk-664ZODQF.js";
|
|
17
17
|
import "./chunk-IUUIT4SU.js";
|
|
18
18
|
import "./chunk-L6PII3GR.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-VNGBTT2C.js";
|
|
15
|
+
import "./chunk-KRI5JA76.js";
|
|
16
16
|
import "./chunk-664ZODQF.js";
|
|
17
17
|
import "./chunk-IUUIT4SU.js";
|
|
18
18
|
import "./chunk-L6PII3GR.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-2AXHER6I.js";
|
|
15
|
+
import "./chunk-TXWIPUPY.js";
|
|
16
16
|
import "./chunk-664ZODQF.js";
|
|
17
17
|
import "./chunk-IUUIT4SU.js";
|
|
18
18
|
import "./chunk-L6PII3GR.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-JRB2XGR5.js";
|
|
15
|
+
import "./chunk-R2KYUMIM.js";
|
|
16
|
+
import "./chunk-664ZODQF.js";
|
|
17
|
+
import "./chunk-IUUIT4SU.js";
|
|
18
|
+
import "./chunk-L6PII3GR.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
|
+
};
|
|
@@ -314,6 +314,7 @@ import {
|
|
|
314
314
|
MAX_FILE_SIZE_MB,
|
|
315
315
|
MAX_HISTORY_MESSAGES,
|
|
316
316
|
MAX_LINE_LENGTH_TEXT_FILE,
|
|
317
|
+
MAX_STORED_TOOL_OUTPUT_BYTES,
|
|
317
318
|
MAX_TOKENS_EXCEEDED_SUGGESTION,
|
|
318
319
|
MAX_TOOL_OUTPUT_SIZE,
|
|
319
320
|
MCPDiscoveryState,
|
|
@@ -777,6 +778,7 @@ import {
|
|
|
777
778
|
getTruncatedCheckpointNames,
|
|
778
779
|
getUserProjectMemoryPaths,
|
|
779
780
|
getVersion,
|
|
781
|
+
getWindowsPowerShellPath,
|
|
780
782
|
getWorktreePath,
|
|
781
783
|
handleFallback,
|
|
782
784
|
hasBlockedPathSegment,
|
|
@@ -973,6 +975,7 @@ import {
|
|
|
973
975
|
readGeminiMdFiles,
|
|
974
976
|
readPathFromWorkspace,
|
|
975
977
|
readPolicyFiles,
|
|
978
|
+
readSecureFileBuffer,
|
|
976
979
|
readWasmBinaryFromDisk,
|
|
977
980
|
recordApiErrorMetrics,
|
|
978
981
|
recordApiRequestBreakdown,
|
|
@@ -1093,7 +1096,9 @@ import {
|
|
|
1093
1096
|
translateEvent,
|
|
1094
1097
|
trimTrailingSpacesAndDots,
|
|
1095
1098
|
truncateFastAckInput,
|
|
1099
|
+
truncateFunctionResponsePart,
|
|
1096
1100
|
truncateString,
|
|
1101
|
+
truncateToolOutput,
|
|
1097
1102
|
uiTelemetryService,
|
|
1098
1103
|
unescapePath,
|
|
1099
1104
|
updateGlobalFetchTimeouts,
|
|
@@ -1112,7 +1117,7 @@ import {
|
|
|
1112
1117
|
wrapUntrusted,
|
|
1113
1118
|
writeToStderr,
|
|
1114
1119
|
writeToStdout
|
|
1115
|
-
} from "./chunk-
|
|
1120
|
+
} from "./chunk-KRI5JA76.js";
|
|
1116
1121
|
import "./chunk-664ZODQF.js";
|
|
1117
1122
|
import {
|
|
1118
1123
|
SpanStatusCode,
|
|
@@ -1435,6 +1440,7 @@ export {
|
|
|
1435
1440
|
MAX_FILE_SIZE_MB,
|
|
1436
1441
|
MAX_HISTORY_MESSAGES,
|
|
1437
1442
|
MAX_LINE_LENGTH_TEXT_FILE,
|
|
1443
|
+
MAX_STORED_TOOL_OUTPUT_BYTES,
|
|
1438
1444
|
MAX_TOKENS_EXCEEDED_SUGGESTION,
|
|
1439
1445
|
MAX_TOOL_OUTPUT_SIZE,
|
|
1440
1446
|
MCPDiscoveryState,
|
|
@@ -1899,6 +1905,7 @@ export {
|
|
|
1899
1905
|
getTruncatedCheckpointNames,
|
|
1900
1906
|
getUserProjectMemoryPaths,
|
|
1901
1907
|
getVersion,
|
|
1908
|
+
getWindowsPowerShellPath,
|
|
1902
1909
|
getWorktreePath,
|
|
1903
1910
|
handleFallback,
|
|
1904
1911
|
hasBlockedPathSegment,
|
|
@@ -2096,6 +2103,7 @@ export {
|
|
|
2096
2103
|
readGeminiMdFiles,
|
|
2097
2104
|
readPathFromWorkspace,
|
|
2098
2105
|
readPolicyFiles,
|
|
2106
|
+
readSecureFileBuffer,
|
|
2099
2107
|
readWasmBinaryFromDisk,
|
|
2100
2108
|
recordApiErrorMetrics,
|
|
2101
2109
|
recordApiRequestBreakdown,
|
|
@@ -2216,7 +2224,9 @@ export {
|
|
|
2216
2224
|
translateEvent,
|
|
2217
2225
|
trimTrailingSpacesAndDots,
|
|
2218
2226
|
truncateFastAckInput,
|
|
2227
|
+
truncateFunctionResponsePart,
|
|
2219
2228
|
truncateString,
|
|
2229
|
+
truncateToolOutput,
|
|
2220
2230
|
uiTelemetryService,
|
|
2221
2231
|
unescapePath,
|
|
2222
2232
|
updateGlobalFetchTimeouts,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
CoreEvent,
|
|
4
4
|
coreEvents,
|
|
5
5
|
debugLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-R2KYUMIM.js";
|
|
7
7
|
import "./chunk-664ZODQF.js";
|
|
8
8
|
import "./chunk-IUUIT4SU.js";
|
|
9
9
|
import "./chunk-L6PII3GR.js";
|
|
@@ -4325,7 +4325,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
4325
4325
|
return;
|
|
4326
4326
|
}
|
|
4327
4327
|
try {
|
|
4328
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
4328
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-6CWFFN6Z.js");
|
|
4329
4329
|
const url = await startDevToolsServer(config);
|
|
4330
4330
|
if (shouldLaunchBrowser()) {
|
|
4331
4331
|
try {
|
|
@@ -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-KRI5JA76.js";
|
|
6
6
|
import "./chunk-664ZODQF.js";
|
|
7
7
|
import "./chunk-IUUIT4SU.js";
|
|
8
8
|
import "./chunk-L6PII3GR.js";
|
|
@@ -4324,7 +4324,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
4324
4324
|
return;
|
|
4325
4325
|
}
|
|
4326
4326
|
try {
|
|
4327
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-
|
|
4327
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-IIFMZU4H.js");
|
|
4328
4328
|
const url = await startDevToolsServer(config);
|
|
4329
4329
|
if (shouldLaunchBrowser()) {
|
|
4330
4330
|
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-UFNI7OME.js";
|
|
6
7
|
import "./chunk-664ZODQF.js";
|
|
7
8
|
import "./chunk-IUUIT4SU.js";
|
|
8
9
|
import "./chunk-L6PII3GR.js";
|
|
@@ -4173,7 +4174,7 @@ var bridgeAttached = false;
|
|
|
4173
4174
|
function bridgeCoreEvents(capture) {
|
|
4174
4175
|
if (bridgeAttached) return;
|
|
4175
4176
|
bridgeAttached = true;
|
|
4176
|
-
coreEvents.on(
|
|
4177
|
+
coreEvents.on(CoreEvent.ConsoleLog, (payload) => {
|
|
4177
4178
|
capture.logConsole(payload);
|
|
4178
4179
|
});
|
|
4179
4180
|
}
|
|
@@ -4324,7 +4325,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
4324
4325
|
return;
|
|
4325
4326
|
}
|
|
4326
4327
|
try {
|
|
4327
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./
|
|
4328
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-4S434TWJ.js");
|
|
4328
4329
|
const url = await startDevToolsServer(config);
|
|
4329
4330
|
if (shouldLaunchBrowser()) {
|
|
4330
4331
|
try {
|