@opencode/browse 0.0.15-dev.110 → 0.0.15-dev.112
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/{Undici-88kyhfpm.mjs → Undici-mxpvn7gy.mjs} +1 -1
- package/dist/{cli-ftng02ff.mjs → cli-k4ep9bqh.mjs} +134 -130
- package/dist/cli.mjs +13 -13
- package/dist/{helpers-xcy6tqv8.mjs → helpers-z9sm10dt.mjs} +2 -2
- package/dist/{index-yzz55kxm.mjs → index-6gkr235e.mjs} +1 -1
- package/dist/{main-x8sv1x9z.mjs → main-4gta7aqg.mjs} +59 -57
- package/dist/{main-2vk5mg8n.mjs → main-7925awaa.mjs} +4 -4
- package/dist/main-9t2s5ptx.mjs +5405 -0
- package/dist/{main-vgzr4689.mjs → main-azpzpy0x.mjs} +1 -1
- package/dist/main-b5v6hjvs.mjs +1255 -0
- package/dist/{main-w79fw3mt.mjs → main-bw7m61nw.mjs} +3 -3
- package/dist/main-dbyqkg36.mjs +1694 -0
- package/dist/{main-8z9d979q.mjs → main-er120rjm.mjs} +2 -2
- package/dist/{main-yf9xhpn4.mjs → main-ken6azcs.mjs} +2 -2
- package/dist/{main-pnhrdk7y.mjs → main-meec74m9.mjs} +2 -2
- package/dist/main-pgnhq60v.mjs +4 -0
- package/dist/{main-7p43gjgk.mjs → main-r5pwe9d8.mjs} +4 -4
- package/dist/{main-dghqndja.mjs → main-trj5w92c.mjs} +2 -2
- package/dist/{main-fpc5be6h.mjs → main-wsgfvvd6.mjs} +8 -8
- package/dist/{main-tyydn3xk.mjs → main-ydew87vm.mjs} +2 -2
- package/dist/{main-csnx585b.mjs → main-yf5j8g79.mjs} +2800 -8017
- package/dist/{mcp-mhms2jng.mjs → mcp-j7sd8vrv.mjs} +415 -411
- package/dist/{migrate-w1ted1w6.mjs → migrate-bqb73tpb.mjs} +5 -5
- package/dist/{relay-xhz6s81w.mjs → relay-thq3nwb4.mjs} +127 -123
- package/dist/{runtime-update-fm0me22e.mjs → runtime-update-6mh1x6rt.mjs} +7 -6
- package/dist/{setup-g3fpqzqe.mjs → setup-072zcfcw.mjs} +19 -10
- package/dist/{supervisor-40ckz6kf.mjs → supervisor-2vwykyf5.mjs} +3 -3
- package/dist/{update-83zpyvjn.mjs → update-h5swvj6m.mjs} +3 -3
- package/dist/{version-njstahmg.mjs → version-2qbk7aw2.mjs} +1 -1
- package/package.json +1 -1
- package/dist/main-rty99vp8.mjs +0 -4
- package/dist/main-tams6t1b.mjs +0 -2924
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./main-
|
|
1
|
+
import"./main-pgnhq60v.mjs";
|
|
2
2
|
import {
|
|
3
3
|
cliCommand,
|
|
4
4
|
installCommand,
|
|
@@ -15,15 +15,17 @@ import {
|
|
|
15
15
|
registryUrl,
|
|
16
16
|
fetchPublished,
|
|
17
17
|
runInstaller
|
|
18
|
-
} from "./main-
|
|
18
|
+
} from "./main-wsgfvvd6.mjs";
|
|
19
19
|
import"./main-mrew6jy8.mjs";
|
|
20
20
|
import {
|
|
21
21
|
Service,
|
|
22
22
|
layerFetch,
|
|
23
23
|
restartRelay,
|
|
24
24
|
startManagedRelay
|
|
25
|
-
} from "./main-
|
|
26
|
-
import"./main-
|
|
25
|
+
} from "./main-4gta7aqg.mjs";
|
|
26
|
+
import"./main-azpzpy0x.mjs";
|
|
27
|
+
import"./main-9t2s5ptx.mjs";
|
|
28
|
+
import"./main-ydew87vm.mjs";
|
|
27
29
|
import {
|
|
28
30
|
succeed6,
|
|
29
31
|
gen,
|
|
@@ -31,8 +33,7 @@ import {
|
|
|
31
33
|
catch_,
|
|
32
34
|
provide3,
|
|
33
35
|
runPromise
|
|
34
|
-
} from "./main-
|
|
35
|
-
import"./main-tyydn3xk.mjs";
|
|
36
|
+
} from "./main-yf5j8g79.mjs";
|
|
36
37
|
|
|
37
38
|
// src/update/runtime-update.ts
|
|
38
39
|
var log = (line) => process.stdout.write(line + `
|
|
@@ -63,10 +63,10 @@ import {
|
|
|
63
63
|
installRuntime,
|
|
64
64
|
installedRuntime,
|
|
65
65
|
manualMcpEntry
|
|
66
|
-
} from "./main-
|
|
66
|
+
} from "./main-7925awaa.mjs";
|
|
67
67
|
import {
|
|
68
68
|
opencodeBrowserBuildId2
|
|
69
|
-
} from "./main-
|
|
69
|
+
} from "./main-pgnhq60v.mjs";
|
|
70
70
|
import {
|
|
71
71
|
installedBinaryPath,
|
|
72
72
|
installerBinaryPath,
|
|
@@ -83,8 +83,8 @@ import {
|
|
|
83
83
|
autoUpdateStatus,
|
|
84
84
|
describeAutoUpdate,
|
|
85
85
|
runCommand
|
|
86
|
-
} from "./main-
|
|
87
|
-
import"./main-
|
|
86
|
+
} from "./main-wsgfvvd6.mjs";
|
|
87
|
+
import"./main-azpzpy0x.mjs";
|
|
88
88
|
import {
|
|
89
89
|
pairingCodeTtlMs,
|
|
90
90
|
bundledPairingCodeTtlMs,
|
|
@@ -97,21 +97,24 @@ import {
|
|
|
97
97
|
revokeBrowserToken,
|
|
98
98
|
legacyPairingCode,
|
|
99
99
|
removeLegacyPairingCode
|
|
100
|
-
} from "./main-
|
|
100
|
+
} from "./main-meec74m9.mjs";
|
|
101
101
|
import {
|
|
102
102
|
unpackedExtensionId,
|
|
103
103
|
extensionProtocolSkew,
|
|
104
104
|
extensionProtocolAdvice
|
|
105
105
|
} from "./main-mrew6jy8.mjs";
|
|
106
|
+
import {
|
|
107
|
+
defaultSiteSecretsDir
|
|
108
|
+
} from "./main-b5v6hjvs.mjs";
|
|
106
109
|
import {
|
|
107
110
|
parseHostname,
|
|
108
111
|
readRelayConfig,
|
|
109
112
|
writeRelayConfig,
|
|
110
113
|
syncDevExtension
|
|
111
|
-
} from "./main-
|
|
114
|
+
} from "./main-bw7m61nw.mjs";
|
|
112
115
|
import {
|
|
113
116
|
relayAuthorization
|
|
114
|
-
} from "./main-
|
|
117
|
+
} from "./main-ydew87vm.mjs";
|
|
115
118
|
|
|
116
119
|
// src/setup.ts
|
|
117
120
|
import { mkdirSync as mkdirSync2, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
@@ -504,10 +507,16 @@ async function set(args) {
|
|
|
504
507
|
}
|
|
505
508
|
async function confirmSecretRemoval(args) {
|
|
506
509
|
const secrets = path.join(files.dir, "secrets");
|
|
507
|
-
const
|
|
508
|
-
|
|
510
|
+
const siteSecrets = defaultSiteSecretsDir();
|
|
511
|
+
const count = (directory) => existsSync(directory) ? readdirSync(directory).filter((name) => name.endsWith(".json")).length : 0;
|
|
512
|
+
const profiles = count(secrets);
|
|
513
|
+
const sites = count(siteSecrets);
|
|
514
|
+
if (profiles === 0 && sites === 0 || args.includes("--yes") || args.includes("-y"))
|
|
509
515
|
return;
|
|
510
|
-
const notice = `Uninstalling deletes ${
|
|
516
|
+
const notice = `Uninstalling deletes ${[
|
|
517
|
+
...profiles > 0 ? [`${profiles} stored secret profile${profiles === 1 ? "" : "s"} in ${secrets}`] : [],
|
|
518
|
+
...sites > 0 ? [`${sites} site secret${sites === 1 ? "" : "s"} in ${siteSecrets}`] : []
|
|
519
|
+
].join(" and ")}.`;
|
|
511
520
|
if (!process.stdin.isTTY)
|
|
512
521
|
fail(`${notice} Re-run with --yes to confirm.`);
|
|
513
522
|
const prompt = createInterface({ input: process.stdin, output: process.stdout });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import"./main-
|
|
1
|
+
import"./main-pgnhq60v.mjs";
|
|
2
2
|
import {
|
|
3
3
|
entrySpawnCommand,
|
|
4
4
|
installedRuntime2,
|
|
5
5
|
installedVersion
|
|
6
|
-
} from "./main-
|
|
6
|
+
} from "./main-wsgfvvd6.mjs";
|
|
7
7
|
|
|
8
8
|
// src/mcp/supervisor.ts
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
@@ -33,7 +33,7 @@ async function runBinaryMcp(args) {
|
|
|
33
33
|
const runtime = installedRuntime2();
|
|
34
34
|
if (!runtime || runtime.kind === "npx") {
|
|
35
35
|
process.env[directEnvironmentVariable] = "1";
|
|
36
|
-
const { runCli } = await import("./cli-
|
|
36
|
+
const { runCli } = await import("./cli-k4ep9bqh.mjs");
|
|
37
37
|
return runCli();
|
|
38
38
|
}
|
|
39
39
|
const REPLAY = "opencode-browser-shim-initialize";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
updateNotice2,
|
|
5
5
|
createUpdateWatcher2,
|
|
6
6
|
runUpdateCommand2
|
|
7
|
-
} from "./main-
|
|
7
|
+
} from "./main-trj5w92c.mjs";
|
|
8
8
|
import"./main-mrew6jy8.mjs";
|
|
9
|
-
import"./main-
|
|
10
|
-
import"./main-
|
|
9
|
+
import"./main-wsgfvvd6.mjs";
|
|
10
|
+
import"./main-pgnhq60v.mjs";
|
|
11
11
|
export {
|
|
12
12
|
createUpdateWatcher2 as createUpdateWatcher,
|
|
13
13
|
formatUpdateNotice2 as formatUpdateNotice,
|
package/package.json
CHANGED
package/dist/main-rty99vp8.mjs
DELETED