@google/gemini-cli 0.39.0 → 0.39.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.
Files changed (46) hide show
  1. package/bundle/{chunk-NWD4JYMB.js → chunk-APBWRLCM.js} +1590 -6638
  2. package/bundle/{chunk-5GTZHSZV.js → chunk-BEUOMVKF.js} +1587 -6636
  3. package/bundle/{chunk-67TFD6HC.js → chunk-FNPZLVJU.js} +16 -0
  4. package/bundle/{chunk-UQGLVPZQ.js → chunk-GDRLBWZL.js} +3884 -2279
  5. package/bundle/{chunk-BL3XXS2L.js → chunk-GRNHS2XR.js} +2 -2
  6. package/bundle/{chunk-LUWQB4AS.js → chunk-N6R5LJKJ.js} +2 -2
  7. package/bundle/{chunk-6NW5RNNH.js → chunk-QPDKVNK5.js} +1656 -6692
  8. package/bundle/{chunk-QM5IP3NK.js → chunk-R32ABRMT.js} +16 -0
  9. package/bundle/chunk-RNWNACRD.js +96654 -0
  10. package/bundle/{chunk-YYY7NKKR.js → chunk-RVSGPQMZ.js} +2 -2
  11. package/bundle/{chunk-RTKRL6Y5.js → chunk-UGFPG7AM.js} +10090 -13916
  12. package/bundle/chunk-UIBQS45C.js +361893 -0
  13. package/bundle/{chunk-3YUTTNJ7.js → chunk-WFCK2Z32.js} +3916 -2286
  14. package/bundle/chunk-ZIXTYG56.js +156 -0
  15. package/bundle/{cleanup-3LELZME2.js → cleanup-DORKD3KW.js} +3 -3
  16. package/bundle/{cleanup-JJEXOHOA.js → cleanup-ROCPAQIR.js} +3 -3
  17. package/bundle/{cleanup-TTGHQXQN.js → cleanup-RV4C23S4.js} +3 -3
  18. package/bundle/cleanup-VFR4VRPU.js +33 -0
  19. package/bundle/{core-LKKLDF4Z.js → core-NHADWRAT.js} +28 -2
  20. package/bundle/{devtoolsService-UQCUIXV5.js → devtoolsService-65SKYXJR.js} +3 -3
  21. package/bundle/{devtoolsService-H64VB4IA.js → devtoolsService-6GKOMHGW.js} +3 -3
  22. package/bundle/{devtoolsService-L5LFSMIR.js → devtoolsService-OIMHTGLW.js} +5 -4
  23. package/bundle/devtoolsService-XJQQUBHU.js +871 -0
  24. package/bundle/{core-Z2SYVMM5.js → dist-2DBCGLDI.js} +28 -2
  25. package/bundle/{dist-FWHS5IHN.js → dist-7UL5MZ3N.js} +28 -2
  26. package/bundle/dist-FMEYWTZB.js +2036 -0
  27. package/bundle/docs/cli/cli-reference.md +1 -0
  28. package/bundle/docs/cli/trusted-folders.md +28 -0
  29. package/bundle/docs/reference/configuration.md +14 -0
  30. package/bundle/{gemini-BI2PCDUT.js → gemini-APY42TPN.js} +62 -18
  31. package/bundle/{gemini-CMXEUOSI.js → gemini-ASA6UVNB.js} +60 -17
  32. package/bundle/{gemini-YNLABPKW.js → gemini-JN2NUSDI.js} +238 -179
  33. package/bundle/gemini-ZVQNZBQE.js +15365 -0
  34. package/bundle/gemini.js +3 -3
  35. package/bundle/{interactiveCli-C46TDPVW.js → interactiveCli-7OEI5K4E.js} +15 -165
  36. package/bundle/{interactiveCli-P35Q3KZ2.js → interactiveCli-F6YUYJT5.js} +28 -177
  37. package/bundle/{interactiveCli-LXXBYVNU.js → interactiveCli-MSV2JUI2.js} +298 -430
  38. package/bundle/interactiveCli-WY7NQZAW.js +34344 -0
  39. package/bundle/{memoryDiscovery-U3XUU4QY.js → memoryDiscovery-OGUXPAKW.js} +1 -1
  40. package/bundle/{memoryDiscovery-MYQ3ZWKM.js → memoryDiscovery-OJZ52WPE.js} +1 -1
  41. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  42. package/bundle/{oauth2-provider-7ZDLUOSM.js → oauth2-provider-5GKHTO3W.js} +2 -2
  43. package/bundle/{oauth2-provider-CRWFOXYR.js → oauth2-provider-J42P6NQU.js} +2 -2
  44. package/bundle/{oauth2-provider-FEM5AIRT.js → oauth2-provider-MJYS4GHA.js} +39 -73
  45. package/bundle/oauth2-provider-UI5C6WYR.js +237 -0
  46. package/package.json +1 -1
@@ -0,0 +1,156 @@
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
+ isTelemetrySdkInitialized,
5
+ resetBrowserSession,
6
+ shutdownTelemetry
7
+ } from "./chunk-GDRLBWZL.js";
8
+ import {
9
+ Storage
10
+ } from "./chunk-FNPZLVJU.js";
11
+
12
+ // packages/cli/src/utils/cleanup.ts
13
+ import { promises as fs } from "node:fs";
14
+ import { join } from "node:path";
15
+ var cleanupFunctions = [];
16
+ var syncCleanupFunctions = [];
17
+ var configForTelemetry = null;
18
+ var isShuttingDown = false;
19
+ function registerCleanup(fn) {
20
+ cleanupFunctions.push(fn);
21
+ }
22
+ function removeCleanup(fn) {
23
+ const index = cleanupFunctions.indexOf(fn);
24
+ if (index !== -1) {
25
+ cleanupFunctions.splice(index, 1);
26
+ }
27
+ }
28
+ function registerSyncCleanup(fn) {
29
+ syncCleanupFunctions.push(fn);
30
+ }
31
+ function removeSyncCleanup(fn) {
32
+ const index = syncCleanupFunctions.indexOf(fn);
33
+ if (index !== -1) {
34
+ syncCleanupFunctions.splice(index, 1);
35
+ }
36
+ }
37
+ function resetCleanupForTesting() {
38
+ cleanupFunctions.length = 0;
39
+ syncCleanupFunctions.length = 0;
40
+ configForTelemetry = null;
41
+ isShuttingDown = false;
42
+ }
43
+ function runSyncCleanup() {
44
+ for (const fn of syncCleanupFunctions) {
45
+ try {
46
+ fn();
47
+ } catch {
48
+ }
49
+ }
50
+ syncCleanupFunctions.length = 0;
51
+ }
52
+ function registerTelemetryConfig(config) {
53
+ configForTelemetry = config;
54
+ }
55
+ async function runExitCleanup() {
56
+ await drainStdin();
57
+ runSyncCleanup();
58
+ for (const fn of cleanupFunctions) {
59
+ try {
60
+ await fn();
61
+ } catch {
62
+ }
63
+ }
64
+ cleanupFunctions.length = 0;
65
+ try {
66
+ await resetBrowserSession();
67
+ } catch {
68
+ }
69
+ if (configForTelemetry) {
70
+ try {
71
+ await configForTelemetry.dispose();
72
+ } catch {
73
+ }
74
+ }
75
+ if (configForTelemetry && isTelemetrySdkInitialized()) {
76
+ try {
77
+ await shutdownTelemetry(configForTelemetry);
78
+ } catch {
79
+ }
80
+ }
81
+ }
82
+ async function drainStdin() {
83
+ if (!process.stdin?.isTTY) return;
84
+ process.stdin.resume().removeAllListeners("data").on("data", () => {
85
+ });
86
+ await new Promise((resolve) => setTimeout(resolve, 50));
87
+ }
88
+ async function gracefulShutdown(_reason) {
89
+ if (isShuttingDown) {
90
+ return;
91
+ }
92
+ isShuttingDown = true;
93
+ await runExitCleanup();
94
+ process.exit(ExitCodes.SUCCESS);
95
+ }
96
+ function setupSignalHandlers() {
97
+ process.on("SIGHUP", () => gracefulShutdown("SIGHUP"));
98
+ process.on("SIGTERM", () => gracefulShutdown("SIGTERM"));
99
+ process.on("SIGINT", () => gracefulShutdown("SIGINT"));
100
+ }
101
+ function setupTtyCheck() {
102
+ let intervalId = null;
103
+ let isCheckingTty = false;
104
+ intervalId = setInterval(async () => {
105
+ if (isCheckingTty || isShuttingDown) {
106
+ return;
107
+ }
108
+ if (process.env["SANDBOX"]) {
109
+ return;
110
+ }
111
+ if (!process.stdin.isTTY && !process.stdout.isTTY) {
112
+ isCheckingTty = true;
113
+ if (intervalId) {
114
+ clearInterval(intervalId);
115
+ intervalId = null;
116
+ }
117
+ await gracefulShutdown("TTY loss");
118
+ }
119
+ }, 5e3);
120
+ intervalId.unref();
121
+ return () => {
122
+ if (intervalId) {
123
+ clearInterval(intervalId);
124
+ intervalId = null;
125
+ }
126
+ };
127
+ }
128
+ async function cleanupCheckpoints() {
129
+ const storage = new Storage(process.cwd());
130
+ await storage.initialize();
131
+ const tempDir = storage.getProjectTempDir();
132
+ const checkpointsDir = join(tempDir, "checkpoints");
133
+ try {
134
+ await fs.rm(checkpointsDir, { recursive: true, force: true });
135
+ } catch {
136
+ }
137
+ }
138
+
139
+ export {
140
+ registerCleanup,
141
+ removeCleanup,
142
+ registerSyncCleanup,
143
+ removeSyncCleanup,
144
+ resetCleanupForTesting,
145
+ runSyncCleanup,
146
+ registerTelemetryConfig,
147
+ runExitCleanup,
148
+ setupSignalHandlers,
149
+ setupTtyCheck,
150
+ cleanupCheckpoints
151
+ };
152
+ /**
153
+ * @license
154
+ * Copyright 2025 Google LLC
155
+ * SPDX-License-Identifier: Apache-2.0
156
+ */
@@ -11,9 +11,9 @@ import {
11
11
  runSyncCleanup,
12
12
  setupSignalHandlers,
13
13
  setupTtyCheck
14
- } from "./chunk-YYY7NKKR.js";
15
- import "./chunk-3YUTTNJ7.js";
16
- import "./chunk-QM5IP3NK.js";
14
+ } from "./chunk-GRNHS2XR.js";
15
+ import "./chunk-WFCK2Z32.js";
16
+ import "./chunk-R32ABRMT.js";
17
17
  import "./chunk-664ZODQF.js";
18
18
  import "./chunk-RJTRUG2J.js";
19
19
  import "./chunk-IUUIT4SU.js";
@@ -11,9 +11,9 @@ import {
11
11
  runSyncCleanup,
12
12
  setupSignalHandlers,
13
13
  setupTtyCheck
14
- } from "./chunk-BL3XXS2L.js";
15
- import "./chunk-UQGLVPZQ.js";
16
- import "./chunk-67TFD6HC.js";
14
+ } from "./chunk-N6R5LJKJ.js";
15
+ import "./chunk-UIBQS45C.js";
16
+ import "./chunk-FNPZLVJU.js";
17
17
  import "./chunk-664ZODQF.js";
18
18
  import "./chunk-RJTRUG2J.js";
19
19
  import "./chunk-IUUIT4SU.js";
@@ -11,9 +11,9 @@ import {
11
11
  runSyncCleanup,
12
12
  setupSignalHandlers,
13
13
  setupTtyCheck
14
- } from "./chunk-LUWQB4AS.js";
15
- import "./chunk-RTKRL6Y5.js";
16
- import "./chunk-QM5IP3NK.js";
14
+ } from "./chunk-RVSGPQMZ.js";
15
+ import "./chunk-UGFPG7AM.js";
16
+ import "./chunk-FNPZLVJU.js";
17
17
  import "./chunk-664ZODQF.js";
18
18
  import "./chunk-RJTRUG2J.js";
19
19
  import "./chunk-IUUIT4SU.js";
@@ -0,0 +1,33 @@
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-ZIXTYG56.js";
15
+ import "./chunk-GDRLBWZL.js";
16
+ import "./chunk-FNPZLVJU.js";
17
+ import "./chunk-664ZODQF.js";
18
+ import "./chunk-RJTRUG2J.js";
19
+ import "./chunk-IUUIT4SU.js";
20
+ import "./chunk-34MYV7JD.js";
21
+ export {
22
+ cleanupCheckpoints,
23
+ registerCleanup,
24
+ registerSyncCleanup,
25
+ registerTelemetryConfig,
26
+ removeCleanup,
27
+ removeSyncCleanup,
28
+ resetCleanupForTesting,
29
+ runExitCleanup,
30
+ runSyncCleanup,
31
+ setupSignalHandlers,
32
+ setupTtyCheck
33
+ };
@@ -37,6 +37,8 @@ import {
37
37
  CODE_ASSIST_ENDPOINT,
38
38
  COMMON_DIRECTORY_EXCLUDES,
39
39
  COMMON_IGNORE_PATTERNS,
40
+ CONFIRMATION_REQUIRED_PRIORITY,
41
+ CORE_TOOLS_FLAG_PRIORITY,
40
42
  CacheService,
41
43
  ChatRecordingService,
42
44
  ClearcutLogger,
@@ -190,6 +192,7 @@ import {
190
192
  LegacyAgentProtocol,
191
193
  LegacyAgentSession,
192
194
  LlmRole,
195
+ LoadedTrustedFolders,
193
196
  LocalAgentExecutor,
194
197
  LocalSandboxManager,
195
198
  Logger,
@@ -238,6 +241,7 @@ import {
238
241
  PreCompressTrigger,
239
242
  PrivateIpError,
240
243
  ProjectIdRequiredError,
244
+ REDIRECTION_NAMES,
241
245
  ROOT_SCHEDULER_ID,
242
246
  RateLimiter,
243
247
  ReadFileTool,
@@ -302,6 +306,7 @@ import {
302
306
  TrackerTaskSchema,
303
307
  TrackerUpdateTaskTool,
304
308
  TrackerVisualizeTool,
309
+ TrustLevel,
305
310
  Turn,
306
311
  UPGRADE_URL_PAGE,
307
312
  USER_POLICY_TIER,
@@ -343,6 +348,7 @@ import {
343
348
  calculateReplacement,
344
349
  canUseRipgrep,
345
350
  checkExhaustive,
351
+ checkPathTrust,
346
352
  checkPolicy,
347
353
  classifyGoogleError,
348
354
  cleanupWorktree,
@@ -350,6 +356,7 @@ import {
350
356
  clearCachedCredentialFile,
351
357
  clearEmittedPolicyWarnings,
352
358
  clearOauthClientCache,
359
+ clearRealPathCacheForTesting,
353
360
  computeModelAddedAndRemovedLines,
354
361
  connectAndDiscover,
355
362
  connectToMcpServer,
@@ -563,6 +570,7 @@ import {
563
570
  isTmux,
564
571
  isToolActivityError,
565
572
  isToolCallResponseInfo,
573
+ isTrustLevel,
566
574
  isUserActive,
567
575
  isUserVisibleHook,
568
576
  isValidNonThoughtTextPart,
@@ -582,6 +590,7 @@ import {
582
590
  loadPoliciesFromToml,
583
591
  loadSkillFromFile,
584
592
  loadSkillsFromDir,
593
+ loadTrustedFolders,
585
594
  loadWasmBinary,
586
595
  logApiError,
587
596
  logApiRequest,
@@ -688,6 +697,7 @@ import {
688
697
  resetBrowserSession,
689
698
  resetEncodingCache,
690
699
  resetOauthClientForTesting,
700
+ resetTrustedFoldersForTesting,
691
701
  resetUserDataCacheForTesting,
692
702
  resetVersionCache,
693
703
  resolveAndValidatePlanPath,
@@ -706,6 +716,7 @@ import {
706
716
  sanitizeOutput,
707
717
  saveApiKey,
708
718
  saveTruncatedToolOutput,
719
+ saveTrustedFolders,
709
720
  scheduleAgentTools,
710
721
  serializeTerminalToObject,
711
722
  setGlobalProxy,
@@ -751,7 +762,7 @@ import {
751
762
  wrapInAccountChooser,
752
763
  writeToStderr,
753
764
  writeToStdout
754
- } from "./chunk-3YUTTNJ7.js";
765
+ } from "./chunk-WFCK2Z32.js";
755
766
  import {
756
767
  ACTIVATE_SKILL_TOOL_NAME,
757
768
  AGENT_TOOL_NAME,
@@ -813,6 +824,7 @@ import {
813
824
  FatalSandboxError,
814
825
  FatalToolExecutionError,
815
826
  FatalTurnLimitedError,
827
+ FatalUntrustedWorkspaceError,
816
828
  ForbiddenError,
817
829
  GEMINI_DIR,
818
830
  GEMINI_IGNORE_FILE_NAME,
@@ -909,6 +921,7 @@ import {
909
921
  TRACKER_LIST_TASKS_TOOL_NAME,
910
922
  TRACKER_UPDATE_TASK_TOOL_NAME,
911
923
  TRACKER_VISUALIZE_TOOL_NAME,
924
+ TRUSTED_FOLDERS_FILENAME,
912
925
  ToolConfirmationOutcome,
913
926
  ToolErrorType,
914
927
  UPDATE_TOPIC_DISPLAY_NAME,
@@ -999,7 +1012,7 @@ import {
999
1012
  toFriendlyError,
1000
1013
  toPathKey,
1001
1014
  unescapePath
1002
- } from "./chunk-QM5IP3NK.js";
1015
+ } from "./chunk-R32ABRMT.js";
1003
1016
  import "./chunk-664ZODQF.js";
1004
1017
  import "./chunk-RJTRUG2J.js";
1005
1018
  import {
@@ -1068,6 +1081,8 @@ export {
1068
1081
  COMMON_IGNORE_PATTERNS,
1069
1082
  COMPLETE_TASK_DISPLAY_NAME,
1070
1083
  COMPLETE_TASK_TOOL_NAME,
1084
+ CONFIRMATION_REQUIRED_PRIORITY,
1085
+ CORE_TOOLS_FLAG_PRIORITY,
1071
1086
  CacheService,
1072
1087
  CanceledError,
1073
1088
  ChangeAuthRequestedError,
@@ -1169,6 +1184,7 @@ export {
1169
1184
  FatalSandboxError,
1170
1185
  FatalToolExecutionError,
1171
1186
  FatalTurnLimitedError,
1187
+ FatalUntrustedWorkspaceError,
1172
1188
  FetchAdminControlsResponseSchema,
1173
1189
  FetchError,
1174
1190
  FileDiscoveryService,
@@ -1289,6 +1305,7 @@ export {
1289
1305
  LegacyAgentProtocol,
1290
1306
  LegacyAgentSession,
1291
1307
  LlmRole,
1308
+ LoadedTrustedFolders,
1292
1309
  LocalAgentExecutor,
1293
1310
  LocalSandboxManager,
1294
1311
  Logger,
@@ -1379,6 +1396,7 @@ export {
1379
1396
  READ_MANY_PARAM_RECURSIVE,
1380
1397
  READ_MANY_PARAM_USE_DEFAULT_EXCLUDES,
1381
1398
  READ_ONLY_KINDS,
1399
+ REDIRECTION_NAMES,
1382
1400
  REFERENCE_CONTENT_END,
1383
1401
  REFERENCE_CONTENT_START,
1384
1402
  ROOT_SCHEDULER_ID,
@@ -1446,6 +1464,7 @@ export {
1446
1464
  TRACKER_LIST_TASKS_TOOL_NAME,
1447
1465
  TRACKER_UPDATE_TASK_TOOL_NAME,
1448
1466
  TRACKER_VISUALIZE_TOOL_NAME,
1467
+ TRUSTED_FOLDERS_FILENAME,
1449
1468
  TRUSTED_MCP_SERVER_PRIORITY,
1450
1469
  TaskStatus,
1451
1470
  TaskStatusSchema,
@@ -1469,6 +1488,7 @@ export {
1469
1488
  TrackerTaskSchema,
1470
1489
  TrackerUpdateTaskTool,
1471
1490
  TrackerVisualizeTool,
1491
+ TrustLevel,
1472
1492
  Turn,
1473
1493
  UPDATE_TOPIC_DISPLAY_NAME,
1474
1494
  UPDATE_TOPIC_TOOL_NAME,
@@ -1527,6 +1547,7 @@ export {
1527
1547
  canUseRipgrep,
1528
1548
  categorizeAndConcatenate,
1529
1549
  checkExhaustive,
1550
+ checkPathTrust,
1530
1551
  checkPolicy,
1531
1552
  classifyGoogleError,
1532
1553
  cleanupWorktree,
@@ -1534,6 +1555,7 @@ export {
1534
1555
  clearCachedCredentialFile,
1535
1556
  clearEmittedPolicyWarnings,
1536
1557
  clearOauthClientCache,
1558
+ clearRealPathCacheForTesting,
1537
1559
  computeModelAddedAndRemovedLines,
1538
1560
  concatenateInstructions,
1539
1561
  connectAndDiscover,
@@ -1795,6 +1817,7 @@ export {
1795
1817
  isTool,
1796
1818
  isToolActivityError,
1797
1819
  isToolCallResponseInfo,
1820
+ isTrustLevel,
1798
1821
  isUserActive,
1799
1822
  isUserVisibleHook,
1800
1823
  isValidNonThoughtTextPart,
@@ -1819,6 +1842,7 @@ export {
1819
1842
  loadServerHierarchicalMemory,
1820
1843
  loadSkillFromFile,
1821
1844
  loadSkillsFromDir,
1845
+ loadTrustedFolders,
1822
1846
  loadWasmBinary,
1823
1847
  logApiError,
1824
1848
  logApiRequest,
@@ -1931,6 +1955,7 @@ export {
1931
1955
  resetBrowserSession,
1932
1956
  resetEncodingCache,
1933
1957
  resetOauthClientForTesting,
1958
+ resetTrustedFoldersForTesting,
1934
1959
  resetUserDataCacheForTesting,
1935
1960
  resetVersionCache,
1936
1961
  resolveAndValidatePlanPath,
@@ -1953,6 +1978,7 @@ export {
1953
1978
  sanitizeOutput,
1954
1979
  saveApiKey,
1955
1980
  saveTruncatedToolOutput,
1981
+ saveTrustedFolders,
1956
1982
  scheduleAgentTools,
1957
1983
  serializeTerminalToObject,
1958
1984
  setGeminiMdFilename,
@@ -1,9 +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
- import "./chunk-3YUTTNJ7.js";
2
+ import "./chunk-WFCK2Z32.js";
3
3
  import {
4
4
  coreEvents,
5
5
  debugLogger
6
- } from "./chunk-QM5IP3NK.js";
6
+ } from "./chunk-R32ABRMT.js";
7
7
  import {
8
8
  wrapper_default
9
9
  } from "./chunk-664ZODQF.js";
@@ -836,7 +836,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
836
836
  return;
837
837
  }
838
838
  try {
839
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-LKKLDF4Z.js");
839
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-NHADWRAT.js");
840
840
  const url = await startDevToolsServer(config);
841
841
  if (shouldLaunchBrowser()) {
842
842
  try {
@@ -1,10 +1,10 @@
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
- import "./chunk-UQGLVPZQ.js";
2
+ import "./chunk-UIBQS45C.js";
3
3
  import {
4
4
  CoreEvent,
5
5
  coreEvents,
6
6
  debugLogger
7
- } from "./chunk-67TFD6HC.js";
7
+ } from "./chunk-FNPZLVJU.js";
8
8
  import {
9
9
  wrapper_default
10
10
  } from "./chunk-664ZODQF.js";
@@ -837,7 +837,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
837
837
  return;
838
838
  }
839
839
  try {
840
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-FWHS5IHN.js");
840
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-7UL5MZ3N.js");
841
841
  const url = await startDevToolsServer(config);
842
842
  if (shouldLaunchBrowser()) {
843
843
  try {
@@ -1,9 +1,10 @@
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
- import "./chunk-RTKRL6Y5.js";
2
+ import "./chunk-UGFPG7AM.js";
3
3
  import {
4
+ CoreEvent,
4
5
  coreEvents,
5
6
  debugLogger
6
- } from "./chunk-QM5IP3NK.js";
7
+ } from "./chunk-FNPZLVJU.js";
7
8
  import {
8
9
  wrapper_default
9
10
  } from "./chunk-664ZODQF.js";
@@ -666,7 +667,7 @@ var bridgeAttached = false;
666
667
  function bridgeCoreEvents(capture) {
667
668
  if (bridgeAttached) return;
668
669
  bridgeAttached = true;
669
- coreEvents.on("console-log" /* ConsoleLog */, (payload) => {
670
+ coreEvents.on(CoreEvent.ConsoleLog, (payload) => {
670
671
  capture.logConsole(payload);
671
672
  });
672
673
  }
@@ -836,7 +837,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
836
837
  return;
837
838
  }
838
839
  try {
839
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-Z2SYVMM5.js");
840
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-2DBCGLDI.js");
840
841
  const url = await startDevToolsServer(config);
841
842
  if (shouldLaunchBrowser()) {
842
843
  try {