@google/gemini-cli 0.40.0-preview.2 → 0.41.0-nightly.20260423.gd1c91f526
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-NO7STVVM.js → chunk-4PEADYI5.js} +4 -4
- package/bundle/{chunk-QK7UWGBN.js → chunk-5RWN2VOG.js} +4 -4
- package/bundle/{chunk-3GU3LF3I.js → chunk-BE3FMR6C.js} +6 -6
- package/bundle/{chunk-IMEC72NS.js → chunk-BGTQF57Z.js} +1 -1
- package/bundle/{chunk-EFCQXWIF.js → chunk-BM7TRCHV.js} +2 -2
- package/bundle/{chunk-WL5MCPV2.js → chunk-BXO2CSHU.js} +1 -1
- package/bundle/{chunk-PLUWJHZZ.js → chunk-CMDSUNBE.js} +64 -52
- package/bundle/{chunk-33ANPP4S.js → chunk-DOZGGGM3.js} +2 -2
- package/bundle/{chunk-TDW6FM3A.js → chunk-FLEXF7OP.js} +1 -1
- package/bundle/{chunk-HV36F4CL.js → chunk-HGAC7IIS.js} +1 -1
- package/bundle/{chunk-UBXB5AEJ.js → chunk-ILGARB2Y.js} +3 -3
- package/bundle/{chunk-4IJPDKI6.js → chunk-ILSUW45Y.js} +14 -12
- package/bundle/{chunk-MUGUV6RZ.js → chunk-JI66QA3S.js} +2 -2
- package/bundle/{chunk-RM43GNQQ.js → chunk-KCEU7UY3.js} +6356 -11853
- package/bundle/{chunk-WHIWQCI5.js → chunk-LO2U5DX7.js} +1 -1
- package/bundle/chunk-MJ35NORG.js +1571 -0
- package/bundle/chunk-MRRUSUAI.js +79847 -0
- package/bundle/chunk-MURNAVEF.js +350850 -0
- package/bundle/chunk-NF5KE423.js +17725 -0
- package/bundle/{chunk-IUVLJUOL.js → chunk-OKARZDAC.js} +1 -1
- package/bundle/chunk-RFYY2EXK.js +156 -0
- package/bundle/chunk-ULLQZW4G.js +118 -0
- package/bundle/{chunk-GXRQOXQF.js → chunk-ZRHJDW4J.js} +6 -6
- package/bundle/{chunk-NIVCRM5L.js → chunk-ZRZIZSCI.js} +1 -1
- package/bundle/{cleanup-A7WXWAMI.js → cleanup-CM5YE3PO.js} +2 -2
- package/bundle/{cleanup-IPLJJT5S.js → cleanup-GCC3QSXL.js} +3 -3
- package/bundle/{cleanup-EWPIME2M.js → cleanup-JSTWYHMS.js} +2 -2
- package/bundle/cleanup-WQ3P3JRW.js +33 -0
- package/bundle/{core-VCDK23ZC.js → core-WAVEV7SE.js} +1 -1
- package/bundle/{devtoolsService-B5VVZ752.js → devtoolsService-65PTC72C.js} +2 -2
- package/bundle/{devtoolsService-6Y6YER6T.js → devtoolsService-KHTP2AVU.js} +2 -2
- package/bundle/{devtoolsService-2JXSALRU.js → devtoolsService-QZON66HV.js} +5 -4
- package/bundle/devtoolsService-YL2DS7JV.js +852 -0
- package/bundle/{dist-UIXQETMC.js → dist-IJE6ZESE.js} +1 -1
- package/bundle/{core-BQT6T3CH.js → dist-JJVAY7EX.js} +2 -2
- package/bundle/dist-S3PCMM76.js +2020 -0
- package/bundle/{gemini-54LH6RUH.js → gemini-5Z5FJY4B.js} +12 -12
- package/bundle/{gemini-ID44Z5SV.js → gemini-LFI3ENEH.js} +12 -12
- package/bundle/{gemini-44W2QEZI.js → gemini-MAC54OQS.js} +188 -173
- package/bundle/gemini-UPKTLJJZ.js +16043 -0
- package/bundle/gemini.js +3 -3
- package/bundle/{interactiveCli-JFBPGMNM.js → interactiveCli-3UQTFU2M.js} +6 -6
- package/bundle/{interactiveCli-5B3X6RNB.js → interactiveCli-7ZE7G6ZY.js} +277 -260
- package/bundle/{interactiveCli-5MTJDFYC.js → interactiveCli-FZUKC563.js} +6 -6
- package/bundle/interactiveCli-JE4PLDY5.js +34597 -0
- package/bundle/{liteRtServerManager-6GJWEP5W.js → liteRtServerManager-L6OWAEH4.js} +3 -3
- package/bundle/{liteRtServerManager-76V63PRJ.js → liteRtServerManager-OARJ4EUZ.js} +4 -4
- package/bundle/{liteRtServerManager-WQMDPACQ.js → liteRtServerManager-WJT6SPLU.js} +3 -3
- package/bundle/liteRtServerManager-ZDS6QYLO.js +65 -0
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-EX6SQEZP.js → oauth2-provider-JPWXPXQ6.js} +1 -1
- package/bundle/{oauth2-provider-ZF52AWQY.js → oauth2-provider-Q4A4U7PX.js} +39 -73
- package/bundle/oauth2-provider-WW42PZXK.js +237 -0
- package/bundle/{oauth2-provider-JCKLNKRV.js → oauth2-provider-ZW2I3O4T.js} +1 -1
- package/bundle/{start-SHOUHW3Y.js → start-BXEBAKTI.js} +5 -5
- package/bundle/{start-B6EMQCH5.js → start-JFRQSQYB.js} +6 -6
- package/bundle/start-PMSOWXLI.js +18 -0
- package/bundle/{start-CYDJTOAP.js → start-XEUSMK4W.js} +5 -5
- 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-KCEU7UY3.js";
|
|
8
|
+
import {
|
|
9
|
+
Storage
|
|
10
|
+
} from "./chunk-VCGILCZV.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
|
+
*/
|
|
@@ -0,0 +1,118 @@
|
|
|
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
|
+
exitCli,
|
|
4
|
+
require_source
|
|
5
|
+
} from "./chunk-MJ35NORG.js";
|
|
6
|
+
import {
|
|
7
|
+
DEFAULT_PORT,
|
|
8
|
+
SERVER_START_WAIT_MS,
|
|
9
|
+
getBinaryPath,
|
|
10
|
+
getLiteRtBinDir,
|
|
11
|
+
getLogFilePath,
|
|
12
|
+
getPidFilePath,
|
|
13
|
+
isBinaryInstalled,
|
|
14
|
+
isServerRunning,
|
|
15
|
+
resolveGemmaConfig,
|
|
16
|
+
writeServerProcessInfo
|
|
17
|
+
} from "./chunk-ILSUW45Y.js";
|
|
18
|
+
import {
|
|
19
|
+
debugLogger
|
|
20
|
+
} from "./chunk-VCGILCZV.js";
|
|
21
|
+
import {
|
|
22
|
+
__toESM
|
|
23
|
+
} from "./chunk-34MYV7JD.js";
|
|
24
|
+
|
|
25
|
+
// packages/cli/src/commands/gemma/start.ts
|
|
26
|
+
var import_chalk = __toESM(require_source(), 1);
|
|
27
|
+
import fs from "node:fs";
|
|
28
|
+
import path from "node:path";
|
|
29
|
+
import { spawn } from "node:child_process";
|
|
30
|
+
async function startServer(binaryPath, port) {
|
|
31
|
+
const alreadyRunning = await isServerRunning(port);
|
|
32
|
+
if (alreadyRunning) {
|
|
33
|
+
debugLogger.log(`LiteRT server already running on port ${port}`);
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
const logPath = getLogFilePath();
|
|
37
|
+
fs.mkdirSync(getLiteRtBinDir(), { recursive: true });
|
|
38
|
+
const tmpDir = path.dirname(getPidFilePath());
|
|
39
|
+
fs.mkdirSync(tmpDir, { recursive: true });
|
|
40
|
+
const logFd = fs.openSync(logPath, "a");
|
|
41
|
+
try {
|
|
42
|
+
const child = spawn(binaryPath, ["serve", `--port=${port}`, "--verbose"], {
|
|
43
|
+
detached: true,
|
|
44
|
+
stdio: ["ignore", logFd, logFd]
|
|
45
|
+
});
|
|
46
|
+
if (child.pid) {
|
|
47
|
+
writeServerProcessInfo({
|
|
48
|
+
pid: child.pid,
|
|
49
|
+
binaryPath,
|
|
50
|
+
port
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
child.unref();
|
|
54
|
+
} finally {
|
|
55
|
+
fs.closeSync(logFd);
|
|
56
|
+
}
|
|
57
|
+
await new Promise((resolve) => setTimeout(resolve, SERVER_START_WAIT_MS));
|
|
58
|
+
return isServerRunning(port);
|
|
59
|
+
}
|
|
60
|
+
var startCommand = {
|
|
61
|
+
command: "start",
|
|
62
|
+
describe: "Start the LiteRT-LM server",
|
|
63
|
+
builder: (yargs) => yargs.option("port", {
|
|
64
|
+
type: "number",
|
|
65
|
+
description: "Port for the LiteRT server"
|
|
66
|
+
}),
|
|
67
|
+
handler: async (argv) => {
|
|
68
|
+
let port;
|
|
69
|
+
if (argv["port"] !== void 0) {
|
|
70
|
+
port = Number(argv["port"]);
|
|
71
|
+
}
|
|
72
|
+
if (!port) {
|
|
73
|
+
const { configuredPort } = resolveGemmaConfig(DEFAULT_PORT);
|
|
74
|
+
port = configuredPort;
|
|
75
|
+
}
|
|
76
|
+
const binaryPath = getBinaryPath();
|
|
77
|
+
if (!binaryPath || !isBinaryInstalled(binaryPath)) {
|
|
78
|
+
debugLogger.error(
|
|
79
|
+
import_chalk.default.red(
|
|
80
|
+
'LiteRT-LM binary not found. Run "gemini gemma setup" first.'
|
|
81
|
+
)
|
|
82
|
+
);
|
|
83
|
+
await exitCli(1);
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
const alreadyRunning = await isServerRunning(port);
|
|
87
|
+
if (alreadyRunning) {
|
|
88
|
+
debugLogger.log(
|
|
89
|
+
import_chalk.default.green(`LiteRT server is already running on port ${port}.`)
|
|
90
|
+
);
|
|
91
|
+
await exitCli(0);
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
debugLogger.log(`Starting LiteRT server on port ${port}...`);
|
|
95
|
+
const started = await startServer(binaryPath, port);
|
|
96
|
+
if (started) {
|
|
97
|
+
debugLogger.log(import_chalk.default.green(`LiteRT server started on port ${port}.`));
|
|
98
|
+
debugLogger.log(import_chalk.default.dim(`Logs: ${getLogFilePath()}`));
|
|
99
|
+
await exitCli(0);
|
|
100
|
+
} else {
|
|
101
|
+
debugLogger.error(
|
|
102
|
+
import_chalk.default.red("Server may not have started correctly. Check logs:")
|
|
103
|
+
);
|
|
104
|
+
debugLogger.error(import_chalk.default.dim(` ${getLogFilePath()}`));
|
|
105
|
+
await exitCli(1);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export {
|
|
111
|
+
startServer,
|
|
112
|
+
startCommand
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* @license
|
|
116
|
+
* Copyright 2026 Google LLC
|
|
117
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
118
|
+
*/
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
exitCli,
|
|
8
8
|
require_source
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BGTQF57Z.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_BACKGROUND_OPACITY,
|
|
12
12
|
DEFAULT_BORDER_OPACITY,
|
|
@@ -58,10 +58,10 @@ import {
|
|
|
58
58
|
stripUnsafeCharacters,
|
|
59
59
|
toCodePoints,
|
|
60
60
|
validateCustomTheme
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-ZRZIZSCI.js";
|
|
62
62
|
import {
|
|
63
63
|
runExitCleanup
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-OKARZDAC.js";
|
|
65
65
|
import {
|
|
66
66
|
AsyncFzf,
|
|
67
67
|
Config,
|
|
@@ -195,7 +195,7 @@ import {
|
|
|
195
195
|
stripAnsi,
|
|
196
196
|
tokenLimit,
|
|
197
197
|
uiTelemetryService
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-4PEADYI5.js";
|
|
199
199
|
import {
|
|
200
200
|
ApprovalMode,
|
|
201
201
|
CoreEvent,
|
|
@@ -54837,7 +54837,7 @@ var authCommand = {
|
|
|
54837
54837
|
import process29 from "node:process";
|
|
54838
54838
|
|
|
54839
54839
|
// packages/cli/src/generated/git-commit.ts
|
|
54840
|
-
var GIT_COMMIT_INFO = "
|
|
54840
|
+
var GIT_COMMIT_INFO = "d1c91f526";
|
|
54841
54841
|
|
|
54842
54842
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
54843
54843
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -60322,7 +60322,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
60322
60322
|
type: "info",
|
|
60323
60323
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
60324
60324
|
});
|
|
60325
|
-
const { MCPOAuthProvider } = await import("./core-
|
|
60325
|
+
const { MCPOAuthProvider } = await import("./core-WAVEV7SE.js");
|
|
60326
60326
|
let oauthConfig = server.oauth;
|
|
60327
60327
|
if (!oauthConfig) {
|
|
60328
60328
|
oauthConfig = { enabled: false };
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-JI66QA3S.js";
|
|
15
|
+
import "./chunk-MURNAVEF.js";
|
|
16
16
|
import "./chunk-VCGILCZV.js";
|
|
17
17
|
import "./chunk-664ZODQF.js";
|
|
18
18
|
import "./chunk-RJTRUG2J.js";
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-RFYY2EXK.js";
|
|
15
|
+
import "./chunk-KCEU7UY3.js";
|
|
16
|
+
import "./chunk-VCGILCZV.js";
|
|
17
17
|
import "./chunk-664ZODQF.js";
|
|
18
18
|
import "./chunk-RJTRUG2J.js";
|
|
19
19
|
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-OKARZDAC.js";
|
|
15
|
+
import "./chunk-4PEADYI5.js";
|
|
16
16
|
import "./chunk-2RHFUIH4.js";
|
|
17
17
|
import "./chunk-664ZODQF.js";
|
|
18
18
|
import "./chunk-RJTRUG2J.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-BXO2CSHU.js";
|
|
15
|
+
import "./chunk-5RWN2VOG.js";
|
|
16
|
+
import "./chunk-VCGILCZV.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
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
+
import "./chunk-5RWN2VOG.js";
|
|
3
3
|
import {
|
|
4
4
|
CoreEvent,
|
|
5
5
|
coreEvents,
|
|
@@ -818,7 +818,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
818
818
|
return;
|
|
819
819
|
}
|
|
820
820
|
try {
|
|
821
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
821
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-IJE6ZESE.js");
|
|
822
822
|
const url = await startDevToolsServer(config);
|
|
823
823
|
if (shouldLaunchBrowser()) {
|
|
824
824
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
+
import "./chunk-4PEADYI5.js";
|
|
3
3
|
import {
|
|
4
4
|
coreEvents,
|
|
5
5
|
debugLogger
|
|
@@ -817,7 +817,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
817
817
|
return;
|
|
818
818
|
}
|
|
819
819
|
try {
|
|
820
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-
|
|
820
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-WAVEV7SE.js");
|
|
821
821
|
const url = await startDevToolsServer(config);
|
|
822
822
|
if (shouldLaunchBrowser()) {
|
|
823
823
|
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-
|
|
2
|
+
import "./chunk-MURNAVEF.js";
|
|
3
3
|
import {
|
|
4
|
+
CoreEvent,
|
|
4
5
|
coreEvents,
|
|
5
6
|
debugLogger
|
|
6
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VCGILCZV.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(
|
|
670
|
+
coreEvents.on(CoreEvent.ConsoleLog, (payload) => {
|
|
670
671
|
capture.logConsole(payload);
|
|
671
672
|
});
|
|
672
673
|
}
|
|
@@ -817,7 +818,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
817
818
|
return;
|
|
818
819
|
}
|
|
819
820
|
try {
|
|
820
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./
|
|
821
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-S3PCMM76.js");
|
|
821
822
|
const url = await startDevToolsServer(config);
|
|
822
823
|
if (shouldLaunchBrowser()) {
|
|
823
824
|
try {
|