@opencode/browse 0.0.6-dev.22 → 0.0.6-dev.23
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/dist/{cli-m512fj63.mjs → cli-7gak979j.mjs} +9 -9
- package/dist/cli.mjs +9 -9
- package/dist/{helpers-sw7a93kt.mjs → helpers-j20tr0ga.mjs} +1 -1
- package/dist/main-4h9rx7ja.mjs +4 -0
- package/dist/{main-5nv4psze.mjs → main-81n1amvw.mjs} +2 -2
- package/dist/{main-z53824j2.mjs → main-d09cc4y3.mjs} +1 -1
- package/dist/{main-eee8hvt4.mjs → main-dhjjawr3.mjs} +3 -3
- package/dist/{main-t1whqg21.mjs → main-dzy3vqzb.mjs} +3 -3
- package/dist/{main-kwrx5taj.mjs → main-pcv13qd4.mjs} +2 -2
- package/dist/{main-drvnesx3.mjs → main-takqm8gm.mjs} +2 -2
- package/dist/{main-xwrjyf0g.mjs → main-x3zqh8h0.mjs} +3 -3
- package/dist/{mcp-xpvr31x7.mjs → mcp-mc98y9xh.mjs} +6 -6
- package/dist/{relay-zavh37kd.mjs → relay-nwfchw14.mjs} +22 -11
- package/dist/{runtime-update-3nekhds7.mjs → runtime-update-fgbp4msy.mjs} +4 -4
- package/dist/{setup-zcw84asa.mjs → setup-90ta52j4.mjs} +5 -5
- package/dist/{supervisor-qnxhpqga.mjs → supervisor-8edj7zb0.mjs} +3 -3
- package/dist/{update-rw771t74.mjs → update-98y7g71c.mjs} +3 -3
- package/dist/{version-s8j3z7ht.mjs → version-gfd47kys.mjs} +1 -1
- package/package.json +1 -1
- package/dist/main-q8c2ta3y.mjs +0 -4
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
opencodeBrowserVersion2,
|
|
4
4
|
opencodeBrowserBuildId2
|
|
5
|
-
} from "./main-
|
|
5
|
+
} from "./main-4h9rx7ja.mjs";
|
|
6
6
|
import {
|
|
7
7
|
dataRoot,
|
|
8
8
|
fromCheckout,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
devExtension,
|
|
13
13
|
installCommand,
|
|
14
14
|
autoUpdateStatus
|
|
15
|
-
} from "./main-
|
|
15
|
+
} from "./main-takqm8gm.mjs";
|
|
16
16
|
import {
|
|
17
17
|
extensionProtocolVersion,
|
|
18
18
|
extensionProtocolAdvice
|
|
@@ -35,13 +35,13 @@ import {
|
|
|
35
35
|
ensureExtensionConnected,
|
|
36
36
|
stoppedRelayStatus,
|
|
37
37
|
statusCollections
|
|
38
|
-
} from "./main-
|
|
39
|
-
import"./main-
|
|
38
|
+
} from "./main-x3zqh8h0.mjs";
|
|
39
|
+
import"./main-d09cc4y3.mjs";
|
|
40
40
|
import {
|
|
41
41
|
updateJson2,
|
|
42
42
|
formatUpdateNotice2,
|
|
43
43
|
updateNotice2
|
|
44
|
-
} from "./main-
|
|
44
|
+
} from "./main-pcv13qd4.mjs";
|
|
45
45
|
import {
|
|
46
46
|
settingKeys,
|
|
47
47
|
formatSettings,
|
|
@@ -54,12 +54,12 @@ import {
|
|
|
54
54
|
addSecret,
|
|
55
55
|
listSecrets,
|
|
56
56
|
removeSecret
|
|
57
|
-
} from "./main-
|
|
57
|
+
} from "./main-dhjjawr3.mjs";
|
|
58
58
|
import {
|
|
59
59
|
defaultJournalBaseDir,
|
|
60
60
|
readJournalEntries,
|
|
61
61
|
formatJournalEntry
|
|
62
|
-
} from "./main-
|
|
62
|
+
} from "./main-dzy3vqzb.mjs";
|
|
63
63
|
|
|
64
64
|
// src/cli.ts
|
|
65
65
|
import { NodeRuntime, NodeServices } from "@effect/platform-node";
|
|
@@ -950,7 +950,7 @@ var status = Command.make("status", {
|
|
|
950
950
|
}
|
|
951
951
|
})).pipe(Command.withDescription("Show relay, extension, and target status"));
|
|
952
952
|
var mcp = Command.make("mcp", {}, Effect4.fn("Cli.mcp")(function* () {
|
|
953
|
-
const { runMcpServer } = yield* Effect4.promise(() => import("./mcp-
|
|
953
|
+
const { runMcpServer } = yield* Effect4.promise(() => import("./mcp-mc98y9xh.mjs"));
|
|
954
954
|
yield* runMcpServer;
|
|
955
955
|
})).pipe(Command.withDescription("Run the browse MCP server over stdio"));
|
|
956
956
|
registerCliCommand(400, () => tabs);
|
|
@@ -1406,7 +1406,7 @@ registerCliCommand(710, () => flightRecorder);
|
|
|
1406
1406
|
import { Console as Console6, Effect as Effect8 } from "effect";
|
|
1407
1407
|
import { Command as Command5, Flag as Flag6 } from "effect/cli";
|
|
1408
1408
|
var serve = Command5.make("serve", {}, Effect8.fn("Cli.serve")(function* () {
|
|
1409
|
-
const [{ startRelay }, { parseAdditionalExtensionOrigins }] = yield* Effect8.promise(() => Promise.all([import("./relay-
|
|
1409
|
+
const [{ startRelay }, { parseAdditionalExtensionOrigins }] = yield* Effect8.promise(() => Promise.all([import("./relay-nwfchw14.mjs"), import("./helpers-j20tr0ga.mjs")]));
|
|
1410
1410
|
const port = yield* portConfig;
|
|
1411
1411
|
const additionalExtensionOrigins = parseAdditionalExtensionOrigins(yield* extensionOriginsConfig);
|
|
1412
1412
|
yield* Effect8.scoped(Effect8.gen(function* () {
|
package/dist/cli.mjs
CHANGED
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
// src/main.ts
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
var embeddedVersion = "0.0.6-dev.
|
|
5
|
+
var embeddedVersion = "0.0.6-dev.23";
|
|
6
6
|
var setupCommands = new Set(["install", "uninstall", "extension", "pair", "rollback", "set"]);
|
|
7
7
|
var command = process.argv[2];
|
|
8
8
|
var invokedAs = path.basename(process.argv[1] ?? "");
|
|
9
9
|
if (command === "--version" || command === "-v") {
|
|
10
|
-
const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-
|
|
10
|
+
const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-gfd47kys.mjs")).opencodeBrowserVersion;
|
|
11
11
|
process.stdout.write(`${opencodeBrowserVersion}
|
|
12
12
|
`);
|
|
13
13
|
} else if (invokedAs === "opencode-browser-mcp" || command === "mcp" && process.argv.length === 3) {
|
|
14
14
|
const { NodeRuntime } = await import("@effect/platform-node");
|
|
15
|
-
const { runMcpServer } = await import("./mcp-
|
|
15
|
+
const { runMcpServer } = await import("./mcp-mc98y9xh.mjs");
|
|
16
16
|
runMcpServer.pipe(NodeRuntime.runMain);
|
|
17
17
|
} else if (command === "mcp" && globalThis.__OPENCODE_BROWSER_COMPILED__ && process.env.OPENCODE_BROWSER_MCP_DIRECT !== "1") {
|
|
18
|
-
const { runBinaryMcp } = await import("./supervisor-
|
|
18
|
+
const { runBinaryMcp } = await import("./supervisor-8edj7zb0.mjs");
|
|
19
19
|
await runBinaryMcp(process.argv.slice(3));
|
|
20
20
|
} else if (command === "runtime-install" || command === "runtime-switch") {
|
|
21
|
-
const { runRuntimeInstall, runRuntimeSwitch } = await import("./runtime-update-
|
|
21
|
+
const { runRuntimeInstall, runRuntimeSwitch } = await import("./runtime-update-fgbp4msy.mjs");
|
|
22
22
|
await (command === "runtime-install" ? runRuntimeInstall : runRuntimeSwitch)(process.argv.slice(3));
|
|
23
23
|
} else if (command === "update") {
|
|
24
|
-
const { runUpdateCommand } = await import("./update-
|
|
24
|
+
const { runUpdateCommand } = await import("./update-98y7g71c.mjs");
|
|
25
25
|
await runUpdateCommand(process.argv.slice(3));
|
|
26
26
|
} else if (command && setupCommands.has(command)) {
|
|
27
|
-
const { runSetup } = await import("./setup-
|
|
27
|
+
const { runSetup } = await import("./setup-90ta52j4.mjs");
|
|
28
28
|
await runSetup(command, process.argv.slice(3));
|
|
29
29
|
} else {
|
|
30
30
|
if (!command || command === "--help" || command === "-h") {
|
|
@@ -60,9 +60,9 @@ if (command === "--version" || command === "-v") {
|
|
|
60
60
|
`);
|
|
61
61
|
}
|
|
62
62
|
if (command === "status" && !process.argv.includes("--json")) {
|
|
63
|
-
const { printSetupStatus } = await import("./setup-
|
|
63
|
+
const { printSetupStatus } = await import("./setup-90ta52j4.mjs");
|
|
64
64
|
printSetupStatus();
|
|
65
65
|
}
|
|
66
|
-
const { runCli } = await import("./cli-
|
|
66
|
+
const { runCli } = await import("./cli-7gak979j.mjs");
|
|
67
67
|
runCli();
|
|
68
68
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writePrivateJsonFileSync
|
|
3
|
-
} from "./main-
|
|
3
|
+
} from "./main-d09cc4y3.mjs";
|
|
4
4
|
import {
|
|
5
5
|
dataRoot,
|
|
6
6
|
devExtensionUrl,
|
|
7
7
|
devExtensionFolder
|
|
8
|
-
} from "./main-
|
|
8
|
+
} from "./main-takqm8gm.mjs";
|
|
9
9
|
|
|
10
10
|
// src/relay/browser-pairing.ts
|
|
11
11
|
import crypto from "node:crypto";
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
parseTargetSelection2,
|
|
3
3
|
getObject2,
|
|
4
4
|
getString2
|
|
5
|
-
} from "./main-
|
|
5
|
+
} from "./main-x3zqh8h0.mjs";
|
|
6
6
|
import {
|
|
7
7
|
isNodeError,
|
|
8
8
|
writeJsonFileAtomically
|
|
9
|
-
} from "./main-
|
|
9
|
+
} from "./main-d09cc4y3.mjs";
|
|
10
10
|
import {
|
|
11
11
|
dataRoot,
|
|
12
12
|
cliCommand
|
|
13
|
-
} from "./main-
|
|
13
|
+
} from "./main-takqm8gm.mjs";
|
|
14
14
|
|
|
15
15
|
// src/relay/user-settings.ts
|
|
16
16
|
var settingKeys = ["window", "grouping", "idleMinutes", "cursor", "humanInput", "handoffNotifications", "autoUpdate"];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isNodeError
|
|
3
|
-
} from "./main-
|
|
3
|
+
} from "./main-d09cc4y3.mjs";
|
|
4
4
|
import {
|
|
5
5
|
isValidSessionId2
|
|
6
|
-
} from "./main-
|
|
6
|
+
} from "./main-x3zqh8h0.mjs";
|
|
7
7
|
import {
|
|
8
8
|
dataRoot
|
|
9
|
-
} from "./main-
|
|
9
|
+
} from "./main-takqm8gm.mjs";
|
|
10
10
|
|
|
11
11
|
// src/session-manager/journal.ts
|
|
12
12
|
import fs from "node:fs";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
compareVersions,
|
|
7
7
|
npmRuntime,
|
|
8
8
|
autoUpdateStatus
|
|
9
|
-
} from "./main-
|
|
9
|
+
} from "./main-takqm8gm.mjs";
|
|
10
10
|
import {
|
|
11
11
|
unpackedReloadAdvice
|
|
12
12
|
} from "./main-3gthmkzw.mjs";
|
|
@@ -315,7 +315,7 @@ function runUpdate(args, deps) {
|
|
|
315
315
|
async function runUpdateCommand2(args) {
|
|
316
316
|
const log = (line) => process.stdout.write(line + `
|
|
317
317
|
`);
|
|
318
|
-
const { runNpmUpdate } = await import("./runtime-update-
|
|
318
|
+
const { runNpmUpdate } = await import("./runtime-update-fgbp4msy.mjs");
|
|
319
319
|
if (await runNpmUpdate(args))
|
|
320
320
|
return;
|
|
321
321
|
if (compiledBinary()) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
opencodeBrowserVersion2
|
|
3
|
-
} from "./main-
|
|
3
|
+
} from "./main-4h9rx7ja.mjs";
|
|
4
4
|
|
|
5
5
|
// src/update/auto-update.ts
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
@@ -69,7 +69,7 @@ function storeConfig(env = process.env, baked = { id: "mfnicocicmmlkpjnaffgihfjh
|
|
|
69
69
|
return id ? { id } : {};
|
|
70
70
|
}
|
|
71
71
|
var RELEASE_SERVICE = "https://anoma.ly/release";
|
|
72
|
-
function devExtension(baked = { file: "browse-extension-0.0.6-dev.
|
|
72
|
+
function devExtension(baked = { file: "browse-extension-0.0.6-dev.23.zip", sha256: "59d2d8a9a0564226647505915150911fbee1ccf03ecb84e17a9a7729bd48b3c9", size: 172630 }) {
|
|
73
73
|
return baked && /^[0-9a-f]{64}$/.test(baked.sha256) && /^[\w.-]+\.zip$/.test(baked.file) ? baked : undefined;
|
|
74
74
|
}
|
|
75
75
|
var devExtensionUrl = (extension, env = process.env) => `${(env.OPENCODE_BROWSER_RELEASE_SERVICE || RELEASE_SERVICE).replace(/\/+$/, "")}/browse/files/${extension.sha256}/${extension.file}`;
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
} from "./main-3gthmkzw.mjs";
|
|
7
7
|
import {
|
|
8
8
|
relayAuthorization
|
|
9
|
-
} from "./main-
|
|
9
|
+
} from "./main-d09cc4y3.mjs";
|
|
10
10
|
import {
|
|
11
11
|
opencodeBrowserBuildId2
|
|
12
|
-
} from "./main-
|
|
12
|
+
} from "./main-4h9rx7ja.mjs";
|
|
13
13
|
import {
|
|
14
14
|
compiledBinary,
|
|
15
15
|
scriptEntry,
|
|
16
16
|
cliCommand,
|
|
17
17
|
installCommand,
|
|
18
18
|
npmRuntime
|
|
19
|
-
} from "./main-
|
|
19
|
+
} from "./main-takqm8gm.mjs";
|
|
20
20
|
|
|
21
21
|
// src/relay/helpers.ts
|
|
22
22
|
import { Option, Predicate, Schema as Schema3 } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
opencodeBrowserVersion2
|
|
3
|
-
} from "./main-
|
|
3
|
+
} from "./main-4h9rx7ja.mjs";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateStatus
|
|
6
|
-
} from "./main-
|
|
6
|
+
} from "./main-takqm8gm.mjs";
|
|
7
7
|
import"./main-3gthmkzw.mjs";
|
|
8
8
|
import {
|
|
9
9
|
getObject2,
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
relayBuildProblem,
|
|
13
13
|
ensureRelay,
|
|
14
14
|
ensureExtensionConnected
|
|
15
|
-
} from "./main-
|
|
16
|
-
import"./main-
|
|
15
|
+
} from "./main-x3zqh8h0.mjs";
|
|
16
|
+
import"./main-d09cc4y3.mjs";
|
|
17
17
|
import {
|
|
18
18
|
updateJson2,
|
|
19
19
|
createUpdateWatcher2
|
|
20
|
-
} from "./main-
|
|
20
|
+
} from "./main-pcv13qd4.mjs";
|
|
21
21
|
import {
|
|
22
22
|
settingKeys,
|
|
23
23
|
settingSpecs,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
toolResult,
|
|
44
44
|
readClient,
|
|
45
45
|
listSecrets
|
|
46
|
-
} from "./main-
|
|
46
|
+
} from "./main-dhjjawr3.mjs";
|
|
47
47
|
|
|
48
48
|
// src/mcp.ts
|
|
49
49
|
import { NodeStdio } from "@effect/platform-node";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
opencodeBrowserVersion2,
|
|
3
3
|
opencodeBrowserBuildId2
|
|
4
|
-
} from "./main-
|
|
4
|
+
} from "./main-4h9rx7ja.mjs";
|
|
5
5
|
import {
|
|
6
6
|
dataRoot,
|
|
7
7
|
oldStoreMarker,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
setStoredMode,
|
|
19
19
|
autoUpdateStatus,
|
|
20
20
|
createAutoUpdater
|
|
21
|
-
} from "./main-
|
|
21
|
+
} from "./main-takqm8gm.mjs";
|
|
22
22
|
import {
|
|
23
23
|
extensionProtocolVersion,
|
|
24
24
|
minExtensionProtocolVersion,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
relayToken,
|
|
43
43
|
secretsEqual,
|
|
44
44
|
ensurePrivateDirectory
|
|
45
|
-
} from "./main-
|
|
45
|
+
} from "./main-d09cc4y3.mjs";
|
|
46
46
|
import {
|
|
47
47
|
ExecuteRequest,
|
|
48
48
|
SessionAdoptRequest,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
isRestrictedTarget2,
|
|
93
93
|
isRestrictedUrl2,
|
|
94
94
|
dataUrlDocument2
|
|
95
|
-
} from "./main-
|
|
95
|
+
} from "./main-x3zqh8h0.mjs";
|
|
96
96
|
import {
|
|
97
97
|
relayHostname,
|
|
98
98
|
isLocalPeer,
|
|
@@ -114,7 +114,7 @@ import {
|
|
|
114
114
|
wrapToken,
|
|
115
115
|
installedDevExtension,
|
|
116
116
|
syncDevExtension
|
|
117
|
-
} from "./main-
|
|
117
|
+
} from "./main-81n1amvw.mjs";
|
|
118
118
|
import {
|
|
119
119
|
SettingsInputError,
|
|
120
120
|
parseSettingChanges,
|
|
@@ -152,16 +152,16 @@ import {
|
|
|
152
152
|
checkNavigationUrl,
|
|
153
153
|
readSecret,
|
|
154
154
|
secretText
|
|
155
|
-
} from "./main-
|
|
155
|
+
} from "./main-dhjjawr3.mjs";
|
|
156
156
|
import {
|
|
157
157
|
defaultJournalBaseDir,
|
|
158
158
|
makeJournalEntry,
|
|
159
159
|
appendJournalEntry,
|
|
160
160
|
startJournalRetention
|
|
161
|
-
} from "./main-
|
|
161
|
+
} from "./main-dzy3vqzb.mjs";
|
|
162
162
|
import {
|
|
163
163
|
createUpdateWatcher2
|
|
164
|
-
} from "./main-
|
|
164
|
+
} from "./main-pcv13qd4.mjs";
|
|
165
165
|
|
|
166
166
|
// src/relay.ts
|
|
167
167
|
import crypto10 from "node:crypto";
|
|
@@ -4157,6 +4157,16 @@ class ExecuteCodeError extends Error {
|
|
|
4157
4157
|
}
|
|
4158
4158
|
}
|
|
4159
4159
|
}
|
|
4160
|
+
var executeFilename = "execute.js";
|
|
4161
|
+
var stackFramePattern = /^\s+at /;
|
|
4162
|
+
var userStackFramePattern = new RegExp(`[\\s(]${executeFilename.replace(".", "\\.")}:\\d+:\\d+\\)?$`);
|
|
4163
|
+
function userCodeStack(error) {
|
|
4164
|
+
if (!error.stack)
|
|
4165
|
+
return error.message;
|
|
4166
|
+
return error.stack.split(`
|
|
4167
|
+
`).filter((line) => !stackFramePattern.test(line) || userStackFramePattern.test(line)).join(`
|
|
4168
|
+
`).trimEnd();
|
|
4169
|
+
}
|
|
4160
4170
|
var challengeProbeTimeoutMs = 2000;
|
|
4161
4171
|
var challengePollMs = 1000;
|
|
4162
4172
|
var defaultChallengeWaitMs = 15000;
|
|
@@ -4308,14 +4318,15 @@ async function runUserCode({ code, globals, realm }) {
|
|
|
4308
4318
|
"use strict";
|
|
4309
4319
|
${wrapCodeWithModuleAliases(code, Object.keys(sandboxModules))}
|
|
4310
4320
|
})`,
|
|
4311
|
-
filename:
|
|
4321
|
+
filename: executeFilename,
|
|
4312
4322
|
args: values,
|
|
4313
4323
|
sandboxArgs: new Map([[stateIndex, globals.state]])
|
|
4314
4324
|
});
|
|
4315
4325
|
return { result, ...buildResultMetadata() };
|
|
4316
4326
|
}
|
|
4317
4327
|
const AsyncFunction = async function() {}.constructor;
|
|
4318
|
-
const fn = new AsyncFunction("console", ...sandboxGlobalKeys, wrapCodeWithModuleAliases(code, Object.keys(nodeModules))
|
|
4328
|
+
const fn = new AsyncFunction("console", ...sandboxGlobalKeys, `${wrapCodeWithModuleAliases(code, Object.keys(nodeModules))}
|
|
4329
|
+
//# sourceURL=${executeFilename}`);
|
|
4319
4330
|
const result = await fn(...values);
|
|
4320
4331
|
return { result, ...buildResultMetadata() };
|
|
4321
4332
|
} catch (cause) {
|
|
@@ -10529,7 +10540,7 @@ class ExecuteSandbox extends DefaultPageHost {
|
|
|
10529
10540
|
const closedUnderScript = (this.closedDefaultPage !== undefined || this.pendingTargetRebind === "replaced") && /has been closed/i.test(error.message);
|
|
10530
10541
|
const warnings = this.finalizeWarnings(logSummary, closedUnderScript ? `${defaultPageReattachedWarning} The tab kept any navigation it made; continue from it in the next execute.` : undefined, diagnostic === protectedExtensionUiDiagnostic ? protectedExtensionUiWarning : undefined, error instanceof ExecuteCodeError ? formatNodeContextWarning(error.originalError) : undefined, error instanceof ExecuteCodeError ? formatPointerInterceptionWarning(error.originalError) : formatPointerInterceptionWarning(error), diagnostic === protectedExtensionUiDiagnostic ? undefined : formatLocatorFailurePageWarning(error instanceof ExecuteCodeError ? error.originalError : error, aftermath, this.recreatedFromClosedUrl));
|
|
10531
10542
|
return {
|
|
10532
|
-
text: this.secrets.redactOutputText(error instanceof ExecuteCodeError ? error
|
|
10543
|
+
text: this.secrets.redactOutputText(error instanceof ExecuteCodeError ? userCodeStack(error) : error.message),
|
|
10533
10544
|
isError: true,
|
|
10534
10545
|
logs: this.secrets.redactCaptureLogs(error instanceof ExecuteCodeError ? error.logs : []),
|
|
10535
10546
|
logSummary,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./main-
|
|
1
|
+
import"./main-4h9rx7ja.mjs";
|
|
2
2
|
import {
|
|
3
3
|
cliCommand,
|
|
4
4
|
installCommand,
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
installVersion,
|
|
18
18
|
pruneVersions,
|
|
19
19
|
switchVersion
|
|
20
|
-
} from "./main-
|
|
20
|
+
} from "./main-takqm8gm.mjs";
|
|
21
21
|
import"./main-3gthmkzw.mjs";
|
|
22
22
|
import {
|
|
23
23
|
Service,
|
|
24
24
|
layerFetch,
|
|
25
25
|
restartRelay,
|
|
26
26
|
startManagedRelay
|
|
27
|
-
} from "./main-
|
|
28
|
-
import"./main-
|
|
27
|
+
} from "./main-x3zqh8h0.mjs";
|
|
28
|
+
import"./main-d09cc4y3.mjs";
|
|
29
29
|
|
|
30
30
|
// src/update/runtime-update.ts
|
|
31
31
|
import { Effect } from "effect";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
opencodeBrowserVersion2
|
|
3
|
-
} from "./main-
|
|
3
|
+
} from "./main-4h9rx7ja.mjs";
|
|
4
4
|
import {
|
|
5
5
|
dataRoot,
|
|
6
6
|
oldStoreMarker,
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
installVersion,
|
|
25
25
|
pruneVersions,
|
|
26
26
|
switchVersion
|
|
27
|
-
} from "./main-
|
|
27
|
+
} from "./main-takqm8gm.mjs";
|
|
28
28
|
import {
|
|
29
29
|
relayAuthorization
|
|
30
|
-
} from "./main-
|
|
30
|
+
} from "./main-d09cc4y3.mjs";
|
|
31
31
|
import {
|
|
32
32
|
parseHostname,
|
|
33
33
|
readRelayConfig,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
legacyPairingCode,
|
|
45
45
|
removeLegacyPairingCode,
|
|
46
46
|
syncDevExtension
|
|
47
|
-
} from "./main-
|
|
47
|
+
} from "./main-81n1amvw.mjs";
|
|
48
48
|
import {
|
|
49
49
|
unpackedExtensionId,
|
|
50
50
|
unpackedReloadAdvice,
|
|
@@ -12128,7 +12128,7 @@ async function runSetup(command, args) {
|
|
|
12128
12128
|
if (command === "set")
|
|
12129
12129
|
return set(args);
|
|
12130
12130
|
if (command === "rollback") {
|
|
12131
|
-
const { runRollback } = await import("./runtime-update-
|
|
12131
|
+
const { runRollback } = await import("./runtime-update-fgbp4msy.mjs");
|
|
12132
12132
|
return runRollback(args);
|
|
12133
12133
|
}
|
|
12134
12134
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import"./main-
|
|
1
|
+
import"./main-4h9rx7ja.mjs";
|
|
2
2
|
import {
|
|
3
3
|
versionEntry,
|
|
4
4
|
readCurrent,
|
|
5
5
|
npmRuntime
|
|
6
|
-
} from "./main-
|
|
6
|
+
} from "./main-takqm8gm.mjs";
|
|
7
7
|
|
|
8
8
|
// src/mcp/supervisor.ts
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
@@ -14,7 +14,7 @@ async function runBinaryMcp(args) {
|
|
|
14
14
|
const runtime = npmRuntime();
|
|
15
15
|
if (!runtime) {
|
|
16
16
|
process.env[directEnvironmentVariable] = "1";
|
|
17
|
-
const { runCli } = await import("./cli-
|
|
17
|
+
const { runCli } = await import("./cli-7gak979j.mjs");
|
|
18
18
|
return runCli();
|
|
19
19
|
}
|
|
20
20
|
const { layout } = runtime;
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
updateNotice2,
|
|
5
5
|
createUpdateWatcher2,
|
|
6
6
|
runUpdateCommand2
|
|
7
|
-
} from "./main-
|
|
8
|
-
import"./main-
|
|
9
|
-
import"./main-
|
|
7
|
+
} from "./main-pcv13qd4.mjs";
|
|
8
|
+
import"./main-takqm8gm.mjs";
|
|
9
|
+
import"./main-4h9rx7ja.mjs";
|
|
10
10
|
import"./main-3gthmkzw.mjs";
|
|
11
11
|
export {
|
|
12
12
|
createUpdateWatcher2 as createUpdateWatcher,
|
package/package.json
CHANGED
package/dist/main-q8c2ta3y.mjs
DELETED