@opencode/browse 0.0.17-dev.190 → 0.0.17
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-187xhkq3.mjs → cli-ktqhzcbw.mjs} +13 -13
- package/dist/cli.mjs +11 -11
- package/dist/{helpers-fdvz3c3x.mjs → helpers-nsfj0mfw.mjs} +1 -1
- package/dist/{legacy-runtime-c21ek0kh.mjs → legacy-runtime-fgpmhx47.mjs} +7 -7
- package/dist/{main-t9q294sn.mjs → main-5d9jn9px.mjs} +2 -2
- package/dist/{main-15j1vqtd.mjs → main-83z4fc6b.mjs} +2 -2
- package/dist/{main-1hmertmt.mjs → main-98dnkvn3.mjs} +2 -2
- package/dist/{main-wxqxjtvp.mjs → main-9fwqh5k7.mjs} +3 -3
- package/dist/{main-hhrrx25a.mjs → main-bbn1ah9d.mjs} +2 -2
- package/dist/main-ca2rymwh.mjs +4 -0
- package/dist/{main-v7jcgh2s.mjs → main-gqr4pk9f.mjs} +2 -2
- package/dist/{main-v1r7bbf2.mjs → main-j4n6hkxm.mjs} +5 -5
- package/dist/{main-r7y01543.mjs → main-k4ys0swh.mjs} +1 -1
- package/dist/{main-ade65pcs.mjs → main-mq9bc0zb.mjs} +3 -3
- package/dist/{main-cpprv1ek.mjs → main-n7w5a79r.mjs} +6 -6
- package/dist/{main-p1jhnbyw.mjs → main-sx14bt3y.mjs} +2 -2
- package/dist/{main-0yz7xt96.mjs → main-t9na9ekd.mjs} +2 -2
- package/dist/{main-dhxzhqef.mjs → main-xzx6aepf.mjs} +1 -1
- package/dist/{mcp-w0fj2t98.mjs → mcp-pxad1yrf.mjs} +8 -8
- package/dist/{migrate-xa3dqz6m.mjs → migrate-haeckv81.mjs} +7 -7
- package/dist/{relay-p30czp06.mjs → relay-53zb68pj.mjs} +12 -12
- package/dist/{remove-stored-secrets-ss9dh620.mjs → remove-stored-secrets-036hkbd6.mjs} +1 -1
- package/dist/{runtime-update-bvpd4hbt.mjs → runtime-update-5jvb2g53.mjs} +7 -7
- package/dist/{setup-8cpwze4y.mjs → setup-5j4kxeyp.mjs} +9 -9
- package/dist/{update-mcrv8sjr.mjs → update-ssnpp5hp.mjs} +3 -3
- package/dist/{version-d9fdwjbr.mjs → version-yvaafhes.mjs} +1 -1
- package/package.json +1 -1
- package/dist/main-6cw1x4s6.mjs +0 -4
|
@@ -24,15 +24,15 @@ import {
|
|
|
24
24
|
import"./main-pmfd055v.mjs";
|
|
25
25
|
import {
|
|
26
26
|
opencodeBrowserVersion2
|
|
27
|
-
} from "./main-
|
|
27
|
+
} from "./main-ca2rymwh.mjs";
|
|
28
28
|
import {
|
|
29
29
|
extensionProtocolAdvice,
|
|
30
30
|
autoUpdateStatus
|
|
31
|
-
} from "./main-
|
|
31
|
+
} from "./main-t9na9ekd.mjs";
|
|
32
32
|
import {
|
|
33
33
|
defaultPort2,
|
|
34
34
|
isValidSessionId2
|
|
35
|
-
} from "./main-
|
|
35
|
+
} from "./main-xzx6aepf.mjs";
|
|
36
36
|
import {
|
|
37
37
|
option,
|
|
38
38
|
String2,
|
|
@@ -51,31 +51,31 @@ import {
|
|
|
51
51
|
ensureExtensionConnected,
|
|
52
52
|
stoppedRelayStatus,
|
|
53
53
|
statusCollections
|
|
54
|
-
} from "./main-
|
|
54
|
+
} from "./main-n7w5a79r.mjs";
|
|
55
55
|
import {
|
|
56
56
|
updateJson2,
|
|
57
57
|
formatUpdateNotice2,
|
|
58
58
|
updateNotice2
|
|
59
|
-
} from "./main-
|
|
59
|
+
} from "./main-mq9bc0zb.mjs";
|
|
60
60
|
import {
|
|
61
61
|
settingKeys,
|
|
62
62
|
formatSettings,
|
|
63
63
|
ensureSessionExists
|
|
64
|
-
} from "./main-
|
|
64
|
+
} from "./main-gqr4pk9f.mjs";
|
|
65
65
|
import {
|
|
66
66
|
defaultJournalBaseDir,
|
|
67
67
|
readJournalEntries,
|
|
68
68
|
formatJournalEntry
|
|
69
|
-
} from "./main-
|
|
70
|
-
import"./main-
|
|
69
|
+
} from "./main-5d9jn9px.mjs";
|
|
70
|
+
import"./main-bbn1ah9d.mjs";
|
|
71
71
|
import {
|
|
72
72
|
endpointForPort
|
|
73
|
-
} from "./main-
|
|
73
|
+
} from "./main-sx14bt3y.mjs";
|
|
74
74
|
import {
|
|
75
75
|
stateRoot,
|
|
76
76
|
cliCommand,
|
|
77
77
|
installCommand
|
|
78
|
-
} from "./main-
|
|
78
|
+
} from "./main-83z4fc6b.mjs";
|
|
79
79
|
import {
|
|
80
80
|
taggedEnum,
|
|
81
81
|
is2,
|
|
@@ -5380,7 +5380,7 @@ var status = make("status", {
|
|
|
5380
5380
|
}
|
|
5381
5381
|
})).pipe(withDescription4("Show relay, extension, and target status"));
|
|
5382
5382
|
var mcp = make("mcp", {}, fn("Cli.mcp")(function* () {
|
|
5383
|
-
const { runMcpServer } = yield* promise(() => import("./mcp-
|
|
5383
|
+
const { runMcpServer } = yield* promise(() => import("./mcp-pxad1yrf.mjs"));
|
|
5384
5384
|
yield* runMcpServer;
|
|
5385
5385
|
})).pipe(withDescription4("Run the browse MCP server over stdio"));
|
|
5386
5386
|
registerCliCommand(400, () => tabs);
|
|
@@ -5692,12 +5692,12 @@ registerCliCommand(700, () => recording);
|
|
|
5692
5692
|
|
|
5693
5693
|
// src/cli/relay.ts
|
|
5694
5694
|
var serve = make("serve", {}, fn("Cli.serve")(function* () {
|
|
5695
|
-
const [{ startRelay }, { parseAdditionalExtensionOrigins }] = yield* promise(() => Promise.all([import("./relay-
|
|
5695
|
+
const [{ startRelay }, { parseAdditionalExtensionOrigins }] = yield* promise(() => Promise.all([import("./relay-53zb68pj.mjs"), import("./helpers-nsfj0mfw.mjs")]));
|
|
5696
5696
|
const port = process.env.OPENCODE_BROWSER_PORT === undefined ? undefined : yield* portConfig;
|
|
5697
5697
|
const additionalExtensionOrigins = parseAdditionalExtensionOrigins(yield* extensionOriginsConfig);
|
|
5698
5698
|
yield* scoped(gen(function* () {
|
|
5699
5699
|
const relay = yield* startRelay({ ...port === undefined ? {} : { port }, additionalExtensionOrigins });
|
|
5700
|
-
yield* promise(() => import("./legacy-runtime-
|
|
5700
|
+
yield* promise(() => import("./legacy-runtime-fgpmhx47.mjs").then((module) => module.commitLegacyTakeover()));
|
|
5701
5701
|
yield* log(`browse relay listening at ${relay.url}`);
|
|
5702
5702
|
yield* log(`browse connects automatically while the browser runs. Run \`${cliCommand("status")}\` to check.`);
|
|
5703
5703
|
yield* never;
|
package/dist/cli.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
|
|
12
12
|
// src/main.ts
|
|
13
13
|
import path from "node:path";
|
|
14
|
-
var embeddedVersion = "0.0.17
|
|
14
|
+
var embeddedVersion = "0.0.17";
|
|
15
15
|
var setupCommands = new Set(["install", "uninstall", "extension", "pair", "set"]);
|
|
16
16
|
var command = process.argv[2];
|
|
17
17
|
var args = process.argv.slice(3);
|
|
@@ -21,27 +21,27 @@ var options = separator === -1 ? args : args.slice(0, separator);
|
|
|
21
21
|
var askedForHelp = command === "--help" || command === "-h" || options.some((arg) => arg === "--help" || arg === "-h");
|
|
22
22
|
var preCliHelp = askedForHelp && (command === "update" || command !== undefined && setupCommands.has(command));
|
|
23
23
|
var oldRuntime = legacyRuntime();
|
|
24
|
-
var takingOver = command === "serve" && !askedForHelp && legacyRuntimeActive(oldRuntime) && await import("./legacy-runtime-
|
|
24
|
+
var takingOver = command === "serve" && !askedForHelp && legacyRuntimeActive(oldRuntime) && await import("./legacy-runtime-fgpmhx47.mjs").then((module) => module.prepareLegacyTakeover(oldRuntime)).catch(() => false);
|
|
25
25
|
if (!takingOver)
|
|
26
26
|
settleLegacyHome(process.env, oldRuntime);
|
|
27
27
|
if (command !== "--version" && command !== "-v" && !askedForHelp && !takingOver) {
|
|
28
|
-
const { removeStoredSecrets } = await import("./remove-stored-secrets-
|
|
28
|
+
const { removeStoredSecrets } = await import("./remove-stored-secrets-036hkbd6.mjs");
|
|
29
29
|
removeStoredSecrets();
|
|
30
30
|
}
|
|
31
31
|
if (command !== "--version" && command !== "-v" && !askedForHelp && !takingOver && !process.env.OPENCODE_BROWSER_HOME && legacyRootsLeft()) {
|
|
32
32
|
try {
|
|
33
|
-
const { migrateLegacy } = await import("./migrate-
|
|
33
|
+
const { migrateLegacy } = await import("./migrate-haeckv81.mjs");
|
|
34
34
|
migrateLegacy();
|
|
35
35
|
} catch {}
|
|
36
36
|
}
|
|
37
37
|
if (command === "--version" || command === "-v") {
|
|
38
|
-
const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-
|
|
38
|
+
const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-yvaafhes.mjs")).opencodeBrowserVersion;
|
|
39
39
|
process.stdout.write(`${opencodeBrowserVersion}
|
|
40
40
|
`);
|
|
41
41
|
} else if (invokedAs === "opencode-browser-mcp" || command === "mcp" && process.argv.length === 3) {
|
|
42
42
|
const { NodeRuntime } = await import("./index-kmxtpxxk.mjs");
|
|
43
43
|
const { defaultTeardown } = await import("./Runtime-tvxdkp60.mjs");
|
|
44
|
-
const { runMcpServer } = await import("./mcp-
|
|
44
|
+
const { runMcpServer } = await import("./mcp-pxad1yrf.mjs");
|
|
45
45
|
let stdinGone = false;
|
|
46
46
|
const onStdinGone = () => {
|
|
47
47
|
stdinGone = true;
|
|
@@ -63,13 +63,13 @@ if (command === "--version" || command === "-v") {
|
|
|
63
63
|
})
|
|
64
64
|
}));
|
|
65
65
|
} else if (command === "self-update" || command === "runtime-switch") {
|
|
66
|
-
const { runSelfUpdate, runRuntimeSwitch } = await import("./runtime-update-
|
|
66
|
+
const { runSelfUpdate, runRuntimeSwitch } = await import("./runtime-update-5jvb2g53.mjs");
|
|
67
67
|
await (command === "self-update" ? runSelfUpdate : runRuntimeSwitch)(process.argv.slice(3));
|
|
68
68
|
} else if (command === "update" && !askedForHelp) {
|
|
69
|
-
const { runUpdateCommand } = await import("./update-
|
|
69
|
+
const { runUpdateCommand } = await import("./update-ssnpp5hp.mjs");
|
|
70
70
|
await runUpdateCommand(process.argv.slice(3));
|
|
71
71
|
} else if (command && setupCommands.has(command) && !askedForHelp) {
|
|
72
|
-
const { runSetup } = await import("./setup-
|
|
72
|
+
const { runSetup } = await import("./setup-5j4kxeyp.mjs");
|
|
73
73
|
await runSetup(command, process.argv.slice(3));
|
|
74
74
|
} else {
|
|
75
75
|
if (preCliHelp || !command || command === "--help" || command === "-h") {
|
|
@@ -107,9 +107,9 @@ ${agentHelp}
|
|
|
107
107
|
`);
|
|
108
108
|
}
|
|
109
109
|
if (command === "status" && !askedForHelp && !process.argv.includes("--json")) {
|
|
110
|
-
const { printSetupStatus } = await import("./setup-
|
|
110
|
+
const { printSetupStatus } = await import("./setup-5j4kxeyp.mjs");
|
|
111
111
|
printSetupStatus();
|
|
112
112
|
}
|
|
113
|
-
const { runCli } = await import("./cli-
|
|
113
|
+
const { runCli } = await import("./cli-ktqhzcbw.mjs");
|
|
114
114
|
runCli(preCliHelp ? ["--help"] : undefined);
|
|
115
115
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import"./main-
|
|
1
|
+
import"./main-xzx6aepf.mjs";
|
|
2
2
|
import {
|
|
3
3
|
channelOf,
|
|
4
4
|
installedRuntime2
|
|
5
|
-
} from "./main-
|
|
5
|
+
} from "./main-t9na9ekd.mjs";
|
|
6
6
|
import {
|
|
7
7
|
legacyRuntimeActive,
|
|
8
8
|
insidePath,
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
} from "./main-pmfd055v.mjs";
|
|
11
11
|
import {
|
|
12
12
|
opencodeBrowserVersion2
|
|
13
|
-
} from "./main-
|
|
13
|
+
} from "./main-ca2rymwh.mjs";
|
|
14
14
|
import {
|
|
15
15
|
relayPortPinned,
|
|
16
16
|
resolveRelayPort,
|
|
17
17
|
probeRelayPort
|
|
18
|
-
} from "./main-
|
|
18
|
+
} from "./main-sx14bt3y.mjs";
|
|
19
19
|
import {
|
|
20
20
|
installerBinaryPath,
|
|
21
21
|
compiledBinary
|
|
22
|
-
} from "./main-
|
|
22
|
+
} from "./main-83z4fc6b.mjs";
|
|
23
23
|
|
|
24
24
|
// src/setup/legacy-runtime.ts
|
|
25
25
|
import fs from "node:fs";
|
|
@@ -52,7 +52,7 @@ async function prepareLegacyTakeover(legacy, options = {}) {
|
|
|
52
52
|
return false;
|
|
53
53
|
}
|
|
54
54
|
const home = options.home ?? os.homedir();
|
|
55
|
-
const { copyLegacyData } = await import("./migrate-
|
|
55
|
+
const { copyLegacyData } = await import("./migrate-haeckv81.mjs");
|
|
56
56
|
delete env.OPENCODE_BROWSER_HOME;
|
|
57
57
|
copyLegacyData(home);
|
|
58
58
|
pending = { legacy, install, home };
|
|
@@ -66,7 +66,7 @@ async function commitLegacyTakeover(now = Date.now()) {
|
|
|
66
66
|
try {
|
|
67
67
|
if (!adoptLegacyRuntime(legacy, install, now))
|
|
68
68
|
return false;
|
|
69
|
-
const { migrateLegacy } = await import("./migrate-
|
|
69
|
+
const { migrateLegacy } = await import("./migrate-haeckv81.mjs");
|
|
70
70
|
migrateLegacy(home, now);
|
|
71
71
|
return true;
|
|
72
72
|
} catch {
|
|
@@ -105,7 +105,7 @@ function cliInstall() {
|
|
|
105
105
|
return { kind: "binary", binary: installedBinary() ?? process.execPath, pathEnv: process.env.PATH };
|
|
106
106
|
if (fromCheckout())
|
|
107
107
|
return { kind: "checkout", bundle: path.join(packageRoot(), "dist", "cli.mjs") };
|
|
108
|
-
return { kind: "npm", version: "0.0.17
|
|
108
|
+
return { kind: "npm", version: "0.0.17", npx: /[/\\]_npx[/\\]/.test(process.argv[1] ?? "") };
|
|
109
109
|
}
|
|
110
110
|
function cliPrefix(install = cliInstall()) {
|
|
111
111
|
if (install.kind === "binary") {
|
|
@@ -127,7 +127,7 @@ function storeConfig(env = process.env, baked = { id: "mfnicocicmmlkpjnaffgihfjh
|
|
|
127
127
|
return id ? { id } : {};
|
|
128
128
|
}
|
|
129
129
|
var RELEASE_SERVICE = "https://anoma.ly/release";
|
|
130
|
-
function devExtension(baked =
|
|
130
|
+
function devExtension(baked = undefined) {
|
|
131
131
|
return baked && /^[0-9a-f]{64}$/.test(baked.sha256) && /^[\w.-]+\.zip$/.test(baked.file) ? baked : undefined;
|
|
132
132
|
}
|
|
133
133
|
var devExtensionUrl = (extension, env = process.env) => `${(env.OPENCODE_BROWSER_RELEASE_SERVICE || RELEASE_SERVICE).replace(/\/+$/, "")}/browse/files/${extension.sha256}/${extension.file}`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writePrivateJsonFileSync
|
|
3
|
-
} from "./main-
|
|
3
|
+
} from "./main-xzx6aepf.mjs";
|
|
4
4
|
import {
|
|
5
5
|
dataRoot,
|
|
6
6
|
stateRoot
|
|
7
|
-
} from "./main-
|
|
7
|
+
} from "./main-83z4fc6b.mjs";
|
|
8
8
|
|
|
9
9
|
// src/relay/browser-pairing.ts
|
|
10
10
|
import crypto from "node:crypto";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writePrivateJsonFileSync
|
|
3
|
-
} from "./main-
|
|
3
|
+
} from "./main-xzx6aepf.mjs";
|
|
4
4
|
import {
|
|
5
5
|
bundledPairingCodeTtlMs,
|
|
6
6
|
mintPairingCode,
|
|
7
7
|
writeExtensionPairing
|
|
8
|
-
} from "./main-
|
|
8
|
+
} from "./main-98dnkvn3.mjs";
|
|
9
9
|
import {
|
|
10
10
|
configRoot2,
|
|
11
11
|
cacheRoot,
|
|
12
12
|
devExtensionUrl,
|
|
13
13
|
devExtensionFolder
|
|
14
|
-
} from "./main-
|
|
14
|
+
} from "./main-83z4fc6b.mjs";
|
|
15
15
|
|
|
16
16
|
// src/setup/dev-extension.ts
|
|
17
17
|
import { createHash } from "node:crypto";
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
parseTargetSelection2,
|
|
12
12
|
getObject2,
|
|
13
13
|
getString2
|
|
14
|
-
} from "./main-
|
|
14
|
+
} from "./main-xzx6aepf.mjs";
|
|
15
15
|
import {
|
|
16
16
|
cliCommand
|
|
17
|
-
} from "./main-
|
|
17
|
+
} from "./main-83z4fc6b.mjs";
|
|
18
18
|
import {
|
|
19
19
|
isStream,
|
|
20
20
|
provideContext
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
opencodeBrowserVersion2
|
|
3
|
-
} from "./main-
|
|
3
|
+
} from "./main-ca2rymwh.mjs";
|
|
4
4
|
import {
|
|
5
5
|
unpackedExtensionId,
|
|
6
6
|
npmGlobalRoot,
|
|
7
7
|
installedVersion,
|
|
8
8
|
runCommand
|
|
9
|
-
} from "./main-
|
|
9
|
+
} from "./main-t9na9ekd.mjs";
|
|
10
10
|
import {
|
|
11
11
|
writeStdout
|
|
12
12
|
} from "./main-tk4axre7.mjs";
|
|
13
13
|
import {
|
|
14
14
|
defaultPort2
|
|
15
|
-
} from "./main-
|
|
15
|
+
} from "./main-xzx6aepf.mjs";
|
|
16
16
|
import {
|
|
17
17
|
formatPairingCode
|
|
18
|
-
} from "./main-
|
|
18
|
+
} from "./main-98dnkvn3.mjs";
|
|
19
19
|
import {
|
|
20
20
|
configRoot2,
|
|
21
21
|
dataRoot,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
devExtension,
|
|
34
34
|
devExtensionFolder,
|
|
35
35
|
storeUrl
|
|
36
|
-
} from "./main-
|
|
36
|
+
} from "./main-83z4fc6b.mjs";
|
|
37
37
|
import {
|
|
38
38
|
__toESM,
|
|
39
39
|
__commonJS,
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
installedRuntime2,
|
|
4
4
|
autoUpdateStatus,
|
|
5
5
|
updateAvailable
|
|
6
|
-
} from "./main-
|
|
6
|
+
} from "./main-t9na9ekd.mjs";
|
|
7
7
|
import {
|
|
8
8
|
cacheRoot,
|
|
9
9
|
compiledBinary,
|
|
10
10
|
checkoutRoot,
|
|
11
11
|
cliCommand
|
|
12
|
-
} from "./main-
|
|
12
|
+
} from "./main-83z4fc6b.mjs";
|
|
13
13
|
|
|
14
14
|
// src/update.ts
|
|
15
15
|
import { execFile, spawnSync } from "node:child_process";
|
|
@@ -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 { runInstalledUpdate } = await import("./runtime-update-
|
|
318
|
+
const { runInstalledUpdate } = await import("./runtime-update-5jvb2g53.mjs");
|
|
319
319
|
if (await runInstalledUpdate(args))
|
|
320
320
|
return;
|
|
321
321
|
if (compiledBinary()) {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
compareVersions,
|
|
6
6
|
installedRuntime2,
|
|
7
7
|
installedVersion
|
|
8
|
-
} from "./main-
|
|
8
|
+
} from "./main-t9na9ekd.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ensurePrivateDirectorySync,
|
|
11
11
|
SessionContainer,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
RelayErrorCode,
|
|
34
34
|
ErrorEnvelope,
|
|
35
35
|
defaultPort2
|
|
36
|
-
} from "./main-
|
|
36
|
+
} from "./main-xzx6aepf.mjs";
|
|
37
37
|
import {
|
|
38
38
|
get,
|
|
39
39
|
post,
|
|
@@ -44,10 +44,10 @@ import {
|
|
|
44
44
|
} from "./main-hh16893t.mjs";
|
|
45
45
|
import {
|
|
46
46
|
opencodeBrowserBuildId2
|
|
47
|
-
} from "./main-
|
|
47
|
+
} from "./main-ca2rymwh.mjs";
|
|
48
48
|
import {
|
|
49
49
|
relayAuthorization
|
|
50
|
-
} from "./main-
|
|
50
|
+
} from "./main-bbn1ah9d.mjs";
|
|
51
51
|
import {
|
|
52
52
|
endpointForPort,
|
|
53
53
|
configuredRelayPort,
|
|
@@ -55,14 +55,14 @@ import {
|
|
|
55
55
|
readRelayState,
|
|
56
56
|
processAlive,
|
|
57
57
|
resolveRelayPort
|
|
58
|
-
} from "./main-
|
|
58
|
+
} from "./main-sx14bt3y.mjs";
|
|
59
59
|
import {
|
|
60
60
|
stateRoot,
|
|
61
61
|
compiledBinary,
|
|
62
62
|
scriptEntry,
|
|
63
63
|
cliCommand,
|
|
64
64
|
installCommand
|
|
65
|
-
} from "./main-
|
|
65
|
+
} from "./main-83z4fc6b.mjs";
|
|
66
66
|
import {
|
|
67
67
|
Pointer,
|
|
68
68
|
passthrough,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writePrivateJsonFileSync,
|
|
3
3
|
defaultPort2
|
|
4
|
-
} from "./main-
|
|
4
|
+
} from "./main-xzx6aepf.mjs";
|
|
5
5
|
import {
|
|
6
6
|
stateRoot
|
|
7
|
-
} from "./main-
|
|
7
|
+
} from "./main-83z4fc6b.mjs";
|
|
8
8
|
|
|
9
9
|
// src/relay/port.ts
|
|
10
10
|
import fs from "node:fs";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./main-pmfd055v.mjs";
|
|
5
5
|
import {
|
|
6
6
|
opencodeBrowserVersion2
|
|
7
|
-
} from "./main-
|
|
7
|
+
} from "./main-ca2rymwh.mjs";
|
|
8
8
|
import {
|
|
9
9
|
stateRoot,
|
|
10
10
|
fromCheckout,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
installedBinary,
|
|
14
14
|
cliPrefix,
|
|
15
15
|
RELEASE_SERVICE
|
|
16
|
-
} from "./main-
|
|
16
|
+
} from "./main-83z4fc6b.mjs";
|
|
17
17
|
|
|
18
18
|
// src/protocol.ts
|
|
19
19
|
var extensionProtocolVersion = 3;
|
|
@@ -46,10 +46,10 @@ import {
|
|
|
46
46
|
import"./main-pmfd055v.mjs";
|
|
47
47
|
import {
|
|
48
48
|
opencodeBrowserVersion2
|
|
49
|
-
} from "./main-
|
|
49
|
+
} from "./main-ca2rymwh.mjs";
|
|
50
50
|
import {
|
|
51
51
|
autoUpdateStatus
|
|
52
|
-
} from "./main-
|
|
52
|
+
} from "./main-t9na9ekd.mjs";
|
|
53
53
|
import {
|
|
54
54
|
SessionContainer,
|
|
55
55
|
SessionsContainer,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
SessionAdoptResponse,
|
|
58
58
|
TabsCleanupResponse,
|
|
59
59
|
getObject2
|
|
60
|
-
} from "./main-
|
|
60
|
+
} from "./main-xzx6aepf.mjs";
|
|
61
61
|
import {
|
|
62
62
|
option,
|
|
63
63
|
String2,
|
|
@@ -68,11 +68,11 @@ import {
|
|
|
68
68
|
olderMcpClientAdvice,
|
|
69
69
|
ensureRelay,
|
|
70
70
|
ensureExtensionConnected
|
|
71
|
-
} from "./main-
|
|
71
|
+
} from "./main-n7w5a79r.mjs";
|
|
72
72
|
import {
|
|
73
73
|
updateJson2,
|
|
74
74
|
createUpdateWatcher2
|
|
75
|
-
} from "./main-
|
|
75
|
+
} from "./main-mq9bc0zb.mjs";
|
|
76
76
|
import {
|
|
77
77
|
isStreamSchema,
|
|
78
78
|
getStreamSchemas,
|
|
@@ -150,7 +150,7 @@ import {
|
|
|
150
150
|
toolResultForValue2,
|
|
151
151
|
mcpErrorMessage2,
|
|
152
152
|
toolResult
|
|
153
|
-
} from "./main-
|
|
153
|
+
} from "./main-gqr4pk9f.mjs";
|
|
154
154
|
import {
|
|
155
155
|
Clock,
|
|
156
156
|
makeUnsafe,
|
|
@@ -167,14 +167,14 @@ import {
|
|
|
167
167
|
orElse,
|
|
168
168
|
exhaustive
|
|
169
169
|
} from "./main-jtgan144.mjs";
|
|
170
|
-
import"./main-
|
|
170
|
+
import"./main-bbn1ah9d.mjs";
|
|
171
171
|
import {
|
|
172
172
|
whatBrowseIs,
|
|
173
173
|
inspectActVerify,
|
|
174
174
|
handoffAdvice,
|
|
175
175
|
sessionAdvice
|
|
176
176
|
} from "./main-gexpjhk5.mjs";
|
|
177
|
-
import"./main-
|
|
177
|
+
import"./main-sx14bt3y.mjs";
|
|
178
178
|
import {
|
|
179
179
|
Class,
|
|
180
180
|
taggedEnum,
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
editAgentConfig,
|
|
8
8
|
OPENCODE_CONFIG_NAMES,
|
|
9
9
|
configureMcp
|
|
10
|
-
} from "./main-
|
|
10
|
+
} from "./main-j4n6hkxm.mjs";
|
|
11
11
|
import {
|
|
12
12
|
legacyDataRoot,
|
|
13
13
|
legacyRoots,
|
|
14
14
|
legacyRuntime,
|
|
15
15
|
LEGACY_HANDOVER_GRACE_MS
|
|
16
16
|
} from "./main-pmfd055v.mjs";
|
|
17
|
-
import"./main-
|
|
18
|
-
import"./main-
|
|
17
|
+
import"./main-ca2rymwh.mjs";
|
|
18
|
+
import"./main-t9na9ekd.mjs";
|
|
19
19
|
import"./main-tk4axre7.mjs";
|
|
20
|
-
import"./main-
|
|
21
|
-
import"./main-
|
|
20
|
+
import"./main-xzx6aepf.mjs";
|
|
21
|
+
import"./main-98dnkvn3.mjs";
|
|
22
22
|
import {
|
|
23
23
|
removeStoredSecrets2
|
|
24
|
-
} from "./main-
|
|
24
|
+
} from "./main-k4ys0swh.mjs";
|
|
25
25
|
import {
|
|
26
26
|
configRoot2,
|
|
27
27
|
dataRoot,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
binRoot,
|
|
31
31
|
binaryName,
|
|
32
32
|
devExtensionFolder
|
|
33
|
-
} from "./main-
|
|
33
|
+
} from "./main-83z4fc6b.mjs";
|
|
34
34
|
|
|
35
35
|
// src/setup/migrate.ts
|
|
36
36
|
import fs from "node:fs";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
opencodeBrowserVersion2,
|
|
6
6
|
opencodeBrowserBuildId2
|
|
7
|
-
} from "./main-
|
|
7
|
+
} from "./main-ca2rymwh.mjs";
|
|
8
8
|
import {
|
|
9
9
|
extensionProtocolVersion,
|
|
10
10
|
minExtensionProtocolVersion,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
setStoredMode,
|
|
27
27
|
autoUpdateStatus,
|
|
28
28
|
createAutoUpdater
|
|
29
|
-
} from "./main-
|
|
29
|
+
} from "./main-t9na9ekd.mjs";
|
|
30
30
|
import {
|
|
31
31
|
isNodeError,
|
|
32
32
|
isUnsupportedDirectorySyncError,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
isRestrictedTarget2,
|
|
75
75
|
isRestrictedUrl2,
|
|
76
76
|
dataUrlDocument2
|
|
77
|
-
} from "./main-
|
|
77
|
+
} from "./main-xzx6aepf.mjs";
|
|
78
78
|
import {
|
|
79
79
|
context,
|
|
80
80
|
pendingPairingCodeKeys,
|
|
@@ -92,16 +92,16 @@ import {
|
|
|
92
92
|
pairingSessionKey,
|
|
93
93
|
sessionProof,
|
|
94
94
|
wrapToken
|
|
95
|
-
} from "./main-
|
|
95
|
+
} from "./main-98dnkvn3.mjs";
|
|
96
96
|
import {
|
|
97
97
|
defaultJournalBaseDir,
|
|
98
98
|
makeJournalEntry,
|
|
99
99
|
appendJournalEntry,
|
|
100
100
|
startJournalRetention
|
|
101
|
-
} from "./main-
|
|
101
|
+
} from "./main-5d9jn9px.mjs";
|
|
102
102
|
import {
|
|
103
103
|
createUpdateWatcher2
|
|
104
|
-
} from "./main-
|
|
104
|
+
} from "./main-mq9bc0zb.mjs";
|
|
105
105
|
import {
|
|
106
106
|
SettingsInputError,
|
|
107
107
|
parseSettingChanges,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
settingsToExtension,
|
|
110
110
|
describeSettings,
|
|
111
111
|
describeChanges
|
|
112
|
-
} from "./main-
|
|
112
|
+
} from "./main-gqr4pk9f.mjs";
|
|
113
113
|
import {
|
|
114
114
|
currentTimeMillis,
|
|
115
115
|
makeUnsafe,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
syncDevExtension,
|
|
124
124
|
relayHostname,
|
|
125
125
|
isLocalPeer
|
|
126
|
-
} from "./main-
|
|
126
|
+
} from "./main-9fwqh5k7.mjs";
|
|
127
127
|
import {
|
|
128
128
|
map,
|
|
129
129
|
withDefault,
|
|
@@ -133,13 +133,13 @@ import {
|
|
|
133
133
|
Boolean2,
|
|
134
134
|
appendManagedRelayProcessLog,
|
|
135
135
|
relayLog
|
|
136
|
-
} from "./main-
|
|
136
|
+
} from "./main-n7w5a79r.mjs";
|
|
137
137
|
import {
|
|
138
138
|
relayTokenQueryParam,
|
|
139
139
|
relayToken,
|
|
140
140
|
secretsEqual,
|
|
141
141
|
ensurePrivateDirectory
|
|
142
|
-
} from "./main-
|
|
142
|
+
} from "./main-bbn1ah9d.mjs";
|
|
143
143
|
import {
|
|
144
144
|
configuredRelayPort,
|
|
145
145
|
relayPortPinned,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
writeRelayState,
|
|
148
148
|
removeRelayState,
|
|
149
149
|
chooseRelayPort
|
|
150
|
-
} from "./main-
|
|
150
|
+
} from "./main-sx14bt3y.mjs";
|
|
151
151
|
import {
|
|
152
152
|
defaultRoots,
|
|
153
153
|
configRoot2,
|
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
devExtension,
|
|
165
165
|
storeUrl,
|
|
166
166
|
installCommand
|
|
167
|
-
} from "./main-
|
|
167
|
+
} from "./main-83z4fc6b.mjs";
|
|
168
168
|
import {
|
|
169
169
|
join,
|
|
170
170
|
interrupt,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import"./main-zrjcdksk.mjs";
|
|
2
2
|
import"./main-pmfd055v.mjs";
|
|
3
|
-
import"./main-
|
|
3
|
+
import"./main-ca2rymwh.mjs";
|
|
4
4
|
import {
|
|
5
5
|
runningServiceTarget,
|
|
6
6
|
releaseChannel,
|
|
@@ -16,21 +16,21 @@ import {
|
|
|
16
16
|
registryUrl,
|
|
17
17
|
fetchPublished,
|
|
18
18
|
runInstaller
|
|
19
|
-
} from "./main-
|
|
20
|
-
import"./main-
|
|
19
|
+
} from "./main-t9na9ekd.mjs";
|
|
20
|
+
import"./main-xzx6aepf.mjs";
|
|
21
21
|
import"./main-hh16893t.mjs";
|
|
22
22
|
import {
|
|
23
23
|
Service,
|
|
24
24
|
layerFetch,
|
|
25
25
|
restartRelay,
|
|
26
26
|
startManagedRelay
|
|
27
|
-
} from "./main-
|
|
28
|
-
import"./main-
|
|
29
|
-
import"./main-
|
|
27
|
+
} from "./main-n7w5a79r.mjs";
|
|
28
|
+
import"./main-bbn1ah9d.mjs";
|
|
29
|
+
import"./main-sx14bt3y.mjs";
|
|
30
30
|
import {
|
|
31
31
|
cliCommand,
|
|
32
32
|
installCommand
|
|
33
|
-
} from "./main-
|
|
33
|
+
} from "./main-83z4fc6b.mjs";
|
|
34
34
|
import {
|
|
35
35
|
succeed6,
|
|
36
36
|
gen,
|
|
@@ -63,11 +63,11 @@ import {
|
|
|
63
63
|
installRuntime,
|
|
64
64
|
installedRuntime,
|
|
65
65
|
manualMcpEntry
|
|
66
|
-
} from "./main-
|
|
66
|
+
} from "./main-j4n6hkxm.mjs";
|
|
67
67
|
import"./main-pmfd055v.mjs";
|
|
68
68
|
import {
|
|
69
69
|
opencodeBrowserBuildId2
|
|
70
|
-
} from "./main-
|
|
70
|
+
} from "./main-ca2rymwh.mjs";
|
|
71
71
|
import {
|
|
72
72
|
unpackedExtensionId,
|
|
73
73
|
extensionProtocolSkew,
|
|
@@ -75,10 +75,10 @@ import {
|
|
|
75
75
|
autoUpdateStatus,
|
|
76
76
|
describeAutoUpdate,
|
|
77
77
|
runCommand
|
|
78
|
-
} from "./main-
|
|
78
|
+
} from "./main-t9na9ekd.mjs";
|
|
79
79
|
import {
|
|
80
80
|
defaultPort2
|
|
81
|
-
} from "./main-
|
|
81
|
+
} from "./main-xzx6aepf.mjs";
|
|
82
82
|
import {
|
|
83
83
|
pairingCodeTtlMs,
|
|
84
84
|
bundledPairingCodeTtlMs,
|
|
@@ -91,17 +91,17 @@ import {
|
|
|
91
91
|
revokeBrowserToken,
|
|
92
92
|
legacyPairingCode,
|
|
93
93
|
removeLegacyPairingCode
|
|
94
|
-
} from "./main-
|
|
94
|
+
} from "./main-98dnkvn3.mjs";
|
|
95
95
|
import"./main-tk4axre7.mjs";
|
|
96
96
|
import {
|
|
97
97
|
syncDevExtension,
|
|
98
98
|
parseHostname,
|
|
99
99
|
readRelayConfig,
|
|
100
100
|
writeRelayConfig
|
|
101
|
-
} from "./main-
|
|
101
|
+
} from "./main-9fwqh5k7.mjs";
|
|
102
102
|
import {
|
|
103
103
|
relayAuthorization
|
|
104
|
-
} from "./main-
|
|
104
|
+
} from "./main-bbn1ah9d.mjs";
|
|
105
105
|
import {
|
|
106
106
|
endpointForPort,
|
|
107
107
|
configuredRelayPort,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
verifiedRelay,
|
|
111
111
|
verifiedRelayEndpoint,
|
|
112
112
|
liveRelayPort
|
|
113
|
-
} from "./main-
|
|
113
|
+
} from "./main-sx14bt3y.mjs";
|
|
114
114
|
import {
|
|
115
115
|
installedBinaryPath,
|
|
116
116
|
installerBinaryPath,
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
cliCommand,
|
|
125
125
|
devExtensionFolder,
|
|
126
126
|
installCommand
|
|
127
|
-
} from "./main-
|
|
127
|
+
} from "./main-83z4fc6b.mjs";
|
|
128
128
|
|
|
129
129
|
// src/setup.ts
|
|
130
130
|
import { mkdirSync as mkdirSync2, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
updateNotice2,
|
|
5
5
|
createUpdateWatcher2,
|
|
6
6
|
runUpdateCommand2
|
|
7
|
-
} from "./main-
|
|
8
|
-
import"./main-
|
|
7
|
+
} from "./main-mq9bc0zb.mjs";
|
|
8
|
+
import"./main-t9na9ekd.mjs";
|
|
9
9
|
import"./main-pmfd055v.mjs";
|
|
10
|
-
import"./main-
|
|
10
|
+
import"./main-ca2rymwh.mjs";
|
|
11
11
|
export {
|
|
12
12
|
createUpdateWatcher2 as createUpdateWatcher,
|
|
13
13
|
formatUpdateNotice2 as formatUpdateNotice,
|
package/package.json
CHANGED
package/dist/main-6cw1x4s6.mjs
DELETED