@opencode/browse 0.0.15-dev.110 → 0.0.15-dev.111

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 (32) hide show
  1. package/dist/{Undici-88kyhfpm.mjs → Undici-mxpvn7gy.mjs} +1 -1
  2. package/dist/{cli-ftng02ff.mjs → cli-qbevp261.mjs} +134 -130
  3. package/dist/cli.mjs +13 -13
  4. package/dist/{helpers-xcy6tqv8.mjs → helpers-3qe84bs4.mjs} +2 -2
  5. package/dist/{index-yzz55kxm.mjs → index-6gkr235e.mjs} +1 -1
  6. package/dist/{main-w79fw3mt.mjs → main-08xv9zty.mjs} +3 -3
  7. package/dist/main-2r3wkhaa.mjs +4 -0
  8. package/dist/main-9t2s5ptx.mjs +5405 -0
  9. package/dist/{main-fpc5be6h.mjs → main-agbjz9vc.mjs} +3 -3
  10. package/dist/{main-vgzr4689.mjs → main-azpzpy0x.mjs} +1 -1
  11. package/dist/{main-8z9d979q.mjs → main-er120rjm.mjs} +2 -2
  12. package/dist/{main-yf9xhpn4.mjs → main-ken6azcs.mjs} +2 -2
  13. package/dist/main-m7hxrgtg.mjs +1694 -0
  14. package/dist/{main-pnhrdk7y.mjs → main-p8dn427e.mjs} +2 -2
  15. package/dist/{main-2vk5mg8n.mjs → main-qya10zvn.mjs} +4 -4
  16. package/dist/{main-dghqndja.mjs → main-vyr67qdb.mjs} +2 -2
  17. package/dist/main-wb8sbtr1.mjs +1255 -0
  18. package/dist/{main-tyydn3xk.mjs → main-wmpmewe1.mjs} +2 -2
  19. package/dist/{main-csnx585b.mjs → main-yf5j8g79.mjs} +2800 -8017
  20. package/dist/{main-7p43gjgk.mjs → main-ym0evywx.mjs} +4 -4
  21. package/dist/{main-x8sv1x9z.mjs → main-zptcnvy8.mjs} +59 -57
  22. package/dist/{mcp-mhms2jng.mjs → mcp-cstaf6x0.mjs} +415 -411
  23. package/dist/{migrate-w1ted1w6.mjs → migrate-bynvsqpe.mjs} +5 -5
  24. package/dist/{relay-xhz6s81w.mjs → relay-aems8waq.mjs} +127 -123
  25. package/dist/{runtime-update-fm0me22e.mjs → runtime-update-6gpw6b15.mjs} +7 -6
  26. package/dist/{setup-g3fpqzqe.mjs → setup-aca4zwxc.mjs} +19 -10
  27. package/dist/{supervisor-40ckz6kf.mjs → supervisor-xavypw3x.mjs} +3 -3
  28. package/dist/{update-83zpyvjn.mjs → update-v09y9tza.mjs} +3 -3
  29. package/dist/{version-njstahmg.mjs → version-pkmxp5at.mjs} +1 -1
  30. package/package.json +1 -1
  31. package/dist/main-rty99vp8.mjs +0 -4
  32. package/dist/main-tams6t1b.mjs +0 -2924
@@ -1,4 +1,4 @@
1
- import"./main-rty99vp8.mjs";
1
+ import"./main-2r3wkhaa.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-fpc5be6h.mjs";
18
+ } from "./main-agbjz9vc.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-x8sv1x9z.mjs";
26
- import"./main-vgzr4689.mjs";
25
+ } from "./main-zptcnvy8.mjs";
26
+ import"./main-azpzpy0x.mjs";
27
+ import"./main-9t2s5ptx.mjs";
28
+ import"./main-wmpmewe1.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-csnx585b.mjs";
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-2vk5mg8n.mjs";
66
+ } from "./main-qya10zvn.mjs";
67
67
  import {
68
68
  opencodeBrowserBuildId2
69
- } from "./main-rty99vp8.mjs";
69
+ } from "./main-2r3wkhaa.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-fpc5be6h.mjs";
87
- import"./main-vgzr4689.mjs";
86
+ } from "./main-agbjz9vc.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-pnhrdk7y.mjs";
100
+ } from "./main-p8dn427e.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-wb8sbtr1.mjs";
106
109
  import {
107
110
  parseHostname,
108
111
  readRelayConfig,
109
112
  writeRelayConfig,
110
113
  syncDevExtension
111
- } from "./main-w79fw3mt.mjs";
114
+ } from "./main-08xv9zty.mjs";
112
115
  import {
113
116
  relayAuthorization
114
- } from "./main-tyydn3xk.mjs";
117
+ } from "./main-wmpmewe1.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 profiles = existsSync(secrets) ? readdirSync(secrets).filter((name) => name.endsWith(".json")) : [];
508
- if (profiles.length === 0 || args.includes("--yes") || args.includes("-y"))
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 ${profiles.length} stored secret profile${profiles.length === 1 ? "" : "s"} in ${secrets}.`;
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-rty99vp8.mjs";
1
+ import"./main-2r3wkhaa.mjs";
2
2
  import {
3
3
  entrySpawnCommand,
4
4
  installedRuntime2,
5
5
  installedVersion
6
- } from "./main-fpc5be6h.mjs";
6
+ } from "./main-agbjz9vc.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-ftng02ff.mjs");
36
+ const { runCli } = await import("./cli-qbevp261.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-dghqndja.mjs";
7
+ } from "./main-vyr67qdb.mjs";
8
8
  import"./main-mrew6jy8.mjs";
9
- import"./main-fpc5be6h.mjs";
10
- import"./main-rty99vp8.mjs";
9
+ import"./main-agbjz9vc.mjs";
10
+ import"./main-2r3wkhaa.mjs";
11
11
  export {
12
12
  createUpdateWatcher2 as createUpdateWatcher,
13
13
  formatUpdateNotice2 as formatUpdateNotice,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  opencodeBrowserVersion2,
3
3
  opencodeBrowserBuildId2
4
- } from "./main-rty99vp8.mjs";
4
+ } from "./main-2r3wkhaa.mjs";
5
5
  export {
6
6
  opencodeBrowserBuildId2 as opencodeBrowserBuildId,
7
7
  opencodeBrowserVersion2 as opencodeBrowserVersion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode/browse",
3
- "version": "0.0.15-dev.110",
3
+ "version": "0.0.15-dev.111",
4
4
  "description": "browse: connect the extension to opencode, and drive your browser from any agent (CLI, MCP, Playwright).",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,4 +0,0 @@
1
- // src/version.ts
2
- var opencodeBrowserVersion2 = "0.0.15-dev.110";
3
- var opencodeBrowserBuildId2 = "2026-11-07T23:20:01.765Z";
4
- export { opencodeBrowserVersion2, opencodeBrowserBuildId2 };