@opencode/browse 0.0.17 → 0.0.18-dev.192

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 (28) hide show
  1. package/dist/{cli-ktqhzcbw.mjs → cli-54nftqxr.mjs} +13 -13
  2. package/dist/cli.mjs +11 -11
  3. package/dist/{helpers-nsfj0mfw.mjs → helpers-yksnc17b.mjs} +1 -1
  4. package/dist/{legacy-runtime-fgpmhx47.mjs → legacy-runtime-e6y2jnc6.mjs} +7 -7
  5. package/dist/{main-98dnkvn3.mjs → main-4fw36c57.mjs} +2 -2
  6. package/dist/{main-t9na9ekd.mjs → main-4wycvga6.mjs} +2 -2
  7. package/dist/{main-bbn1ah9d.mjs → main-c9qxrdzn.mjs} +2 -2
  8. package/dist/{main-n7w5a79r.mjs → main-de0xhbg0.mjs} +6 -6
  9. package/dist/{main-83z4fc6b.mjs → main-dyya6jpy.mjs} +2 -2
  10. package/dist/{main-j4n6hkxm.mjs → main-h65pjrag.mjs} +5 -5
  11. package/dist/{main-sx14bt3y.mjs → main-p44hff2a.mjs} +2 -2
  12. package/dist/{main-gqr4pk9f.mjs → main-p8jk5985.mjs} +2 -2
  13. package/dist/{main-mq9bc0zb.mjs → main-p8q3wrpd.mjs} +3 -3
  14. package/dist/{main-k4ys0swh.mjs → main-q5w61fgh.mjs} +1 -1
  15. package/dist/{main-xzx6aepf.mjs → main-t8hspw29.mjs} +1 -1
  16. package/dist/{main-5d9jn9px.mjs → main-t8xtycpr.mjs} +2 -2
  17. package/dist/{main-9fwqh5k7.mjs → main-w6180mxa.mjs} +3 -3
  18. package/dist/main-wds0wcmt.mjs +4 -0
  19. package/dist/{mcp-pxad1yrf.mjs → mcp-a2jkny55.mjs} +8 -8
  20. package/dist/{migrate-haeckv81.mjs → migrate-p84kbr3y.mjs} +7 -7
  21. package/dist/{relay-53zb68pj.mjs → relay-e9q9hfc3.mjs} +12 -12
  22. package/dist/{remove-stored-secrets-036hkbd6.mjs → remove-stored-secrets-c90a5h72.mjs} +1 -1
  23. package/dist/{runtime-update-5jvb2g53.mjs → runtime-update-jj6pa7vd.mjs} +7 -7
  24. package/dist/{setup-5j4kxeyp.mjs → setup-p86ywb7k.mjs} +9 -9
  25. package/dist/{update-ssnpp5hp.mjs → update-rh24h3m1.mjs} +3 -3
  26. package/dist/{version-yvaafhes.mjs → version-1p8wpyzk.mjs} +1 -1
  27. package/package.json +1 -1
  28. package/dist/main-ca2rymwh.mjs +0 -4
@@ -24,15 +24,15 @@ import {
24
24
  import"./main-pmfd055v.mjs";
25
25
  import {
26
26
  opencodeBrowserVersion2
27
- } from "./main-ca2rymwh.mjs";
27
+ } from "./main-wds0wcmt.mjs";
28
28
  import {
29
29
  extensionProtocolAdvice,
30
30
  autoUpdateStatus
31
- } from "./main-t9na9ekd.mjs";
31
+ } from "./main-4wycvga6.mjs";
32
32
  import {
33
33
  defaultPort2,
34
34
  isValidSessionId2
35
- } from "./main-xzx6aepf.mjs";
35
+ } from "./main-t8hspw29.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-n7w5a79r.mjs";
54
+ } from "./main-de0xhbg0.mjs";
55
55
  import {
56
56
  updateJson2,
57
57
  formatUpdateNotice2,
58
58
  updateNotice2
59
- } from "./main-mq9bc0zb.mjs";
59
+ } from "./main-p8q3wrpd.mjs";
60
60
  import {
61
61
  settingKeys,
62
62
  formatSettings,
63
63
  ensureSessionExists
64
- } from "./main-gqr4pk9f.mjs";
64
+ } from "./main-p8jk5985.mjs";
65
65
  import {
66
66
  defaultJournalBaseDir,
67
67
  readJournalEntries,
68
68
  formatJournalEntry
69
- } from "./main-5d9jn9px.mjs";
70
- import"./main-bbn1ah9d.mjs";
69
+ } from "./main-t8xtycpr.mjs";
70
+ import"./main-c9qxrdzn.mjs";
71
71
  import {
72
72
  endpointForPort
73
- } from "./main-sx14bt3y.mjs";
73
+ } from "./main-p44hff2a.mjs";
74
74
  import {
75
75
  stateRoot,
76
76
  cliCommand,
77
77
  installCommand
78
- } from "./main-83z4fc6b.mjs";
78
+ } from "./main-dyya6jpy.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-pxad1yrf.mjs"));
5383
+ const { runMcpServer } = yield* promise(() => import("./mcp-a2jkny55.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-53zb68pj.mjs"), import("./helpers-nsfj0mfw.mjs")]));
5695
+ const [{ startRelay }, { parseAdditionalExtensionOrigins }] = yield* promise(() => Promise.all([import("./relay-e9q9hfc3.mjs"), import("./helpers-yksnc17b.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-fgpmhx47.mjs").then((module) => module.commitLegacyTakeover()));
5700
+ yield* promise(() => import("./legacy-runtime-e6y2jnc6.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.18-dev.192";
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-fgpmhx47.mjs").then((module) => module.prepareLegacyTakeover(oldRuntime)).catch(() => false);
24
+ var takingOver = command === "serve" && !askedForHelp && legacyRuntimeActive(oldRuntime) && await import("./legacy-runtime-e6y2jnc6.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-036hkbd6.mjs");
28
+ const { removeStoredSecrets } = await import("./remove-stored-secrets-c90a5h72.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-haeckv81.mjs");
33
+ const { migrateLegacy } = await import("./migrate-p84kbr3y.mjs");
34
34
  migrateLegacy();
35
35
  } catch {}
36
36
  }
37
37
  if (command === "--version" || command === "-v") {
38
- const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-yvaafhes.mjs")).opencodeBrowserVersion;
38
+ const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-1p8wpyzk.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-pxad1yrf.mjs");
44
+ const { runMcpServer } = await import("./mcp-a2jkny55.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-5jvb2g53.mjs");
66
+ const { runSelfUpdate, runRuntimeSwitch } = await import("./runtime-update-jj6pa7vd.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-ssnpp5hp.mjs");
69
+ const { runUpdateCommand } = await import("./update-rh24h3m1.mjs");
70
70
  await runUpdateCommand(process.argv.slice(3));
71
71
  } else if (command && setupCommands.has(command) && !askedForHelp) {
72
- const { runSetup } = await import("./setup-5j4kxeyp.mjs");
72
+ const { runSetup } = await import("./setup-p86ywb7k.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-5j4kxeyp.mjs");
110
+ const { printSetupStatus } = await import("./setup-p86ywb7k.mjs");
111
111
  printSetupStatus();
112
112
  }
113
- const { runCli } = await import("./cli-ktqhzcbw.mjs");
113
+ const { runCli } = await import("./cli-54nftqxr.mjs");
114
114
  runCli(preCliHelp ? ["--help"] : undefined);
115
115
  }
@@ -32,7 +32,7 @@ import {
32
32
  isRestrictedTarget2,
33
33
  isRestrictedUrl2,
34
34
  dataUrlDocument2
35
- } from "./main-xzx6aepf.mjs";
35
+ } from "./main-t8hspw29.mjs";
36
36
  export {
37
37
  HttpRouteError2 as HttpRouteError,
38
38
  chromeExtensionOriginForPath2 as chromeExtensionOriginForPath,
@@ -1,8 +1,8 @@
1
- import"./main-xzx6aepf.mjs";
1
+ import"./main-t8hspw29.mjs";
2
2
  import {
3
3
  channelOf,
4
4
  installedRuntime2
5
- } from "./main-t9na9ekd.mjs";
5
+ } from "./main-4wycvga6.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-ca2rymwh.mjs";
13
+ } from "./main-wds0wcmt.mjs";
14
14
  import {
15
15
  relayPortPinned,
16
16
  resolveRelayPort,
17
17
  probeRelayPort
18
- } from "./main-sx14bt3y.mjs";
18
+ } from "./main-p44hff2a.mjs";
19
19
  import {
20
20
  installerBinaryPath,
21
21
  compiledBinary
22
- } from "./main-83z4fc6b.mjs";
22
+ } from "./main-dyya6jpy.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-haeckv81.mjs");
55
+ const { copyLegacyData } = await import("./migrate-p84kbr3y.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-haeckv81.mjs");
69
+ const { migrateLegacy } = await import("./migrate-p84kbr3y.mjs");
70
70
  migrateLegacy(home, now);
71
71
  return true;
72
72
  } catch {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  writePrivateJsonFileSync
3
- } from "./main-xzx6aepf.mjs";
3
+ } from "./main-t8hspw29.mjs";
4
4
  import {
5
5
  dataRoot,
6
6
  stateRoot
7
- } from "./main-83z4fc6b.mjs";
7
+ } from "./main-dyya6jpy.mjs";
8
8
 
9
9
  // src/relay/browser-pairing.ts
10
10
  import crypto from "node:crypto";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./main-pmfd055v.mjs";
5
5
  import {
6
6
  opencodeBrowserVersion2
7
- } from "./main-ca2rymwh.mjs";
7
+ } from "./main-wds0wcmt.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-83z4fc6b.mjs";
16
+ } from "./main-dyya6jpy.mjs";
17
17
 
18
18
  // src/protocol.ts
19
19
  var extensionProtocolVersion = 3;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ensurePrivateDirectorySync
3
- } from "./main-xzx6aepf.mjs";
3
+ } from "./main-t8hspw29.mjs";
4
4
  import {
5
5
  dataRoot
6
- } from "./main-83z4fc6b.mjs";
6
+ } from "./main-dyya6jpy.mjs";
7
7
 
8
8
  // src/relay/secrets.ts
9
9
  import crypto from "node:crypto";
@@ -5,7 +5,7 @@ import {
5
5
  compareVersions,
6
6
  installedRuntime2,
7
7
  installedVersion
8
- } from "./main-t9na9ekd.mjs";
8
+ } from "./main-4wycvga6.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-xzx6aepf.mjs";
36
+ } from "./main-t8hspw29.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-ca2rymwh.mjs";
47
+ } from "./main-wds0wcmt.mjs";
48
48
  import {
49
49
  relayAuthorization
50
- } from "./main-bbn1ah9d.mjs";
50
+ } from "./main-c9qxrdzn.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-sx14bt3y.mjs";
58
+ } from "./main-p44hff2a.mjs";
59
59
  import {
60
60
  stateRoot,
61
61
  compiledBinary,
62
62
  scriptEntry,
63
63
  cliCommand,
64
64
  installCommand
65
- } from "./main-83z4fc6b.mjs";
65
+ } from "./main-dyya6jpy.mjs";
66
66
  import {
67
67
  Pointer,
68
68
  passthrough,
@@ -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", npx: /[/\\]_npx[/\\]/.test(process.argv[1] ?? "") };
108
+ return { kind: "npm", version: "0.0.18-dev.192", 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 = undefined) {
130
+ function devExtension(baked = { file: "browse-extension-0.0.18-dev.192.zip", sha256: "b956b1111d8476de5d211732d78b4835dcf38910ef98714836cd5c1d48544238", size: 184460 }) {
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,21 +1,21 @@
1
1
  import {
2
2
  opencodeBrowserVersion2
3
- } from "./main-ca2rymwh.mjs";
3
+ } from "./main-wds0wcmt.mjs";
4
4
  import {
5
5
  unpackedExtensionId,
6
6
  npmGlobalRoot,
7
7
  installedVersion,
8
8
  runCommand
9
- } from "./main-t9na9ekd.mjs";
9
+ } from "./main-4wycvga6.mjs";
10
10
  import {
11
11
  writeStdout
12
12
  } from "./main-tk4axre7.mjs";
13
13
  import {
14
14
  defaultPort2
15
- } from "./main-xzx6aepf.mjs";
15
+ } from "./main-t8hspw29.mjs";
16
16
  import {
17
17
  formatPairingCode
18
- } from "./main-98dnkvn3.mjs";
18
+ } from "./main-4fw36c57.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-83z4fc6b.mjs";
36
+ } from "./main-dyya6jpy.mjs";
37
37
  import {
38
38
  __toESM,
39
39
  __commonJS,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  writePrivateJsonFileSync,
3
3
  defaultPort2
4
- } from "./main-xzx6aepf.mjs";
4
+ } from "./main-t8hspw29.mjs";
5
5
  import {
6
6
  stateRoot
7
- } from "./main-83z4fc6b.mjs";
7
+ } from "./main-dyya6jpy.mjs";
8
8
 
9
9
  // src/relay/port.ts
10
10
  import fs from "node:fs";
@@ -11,10 +11,10 @@ import {
11
11
  parseTargetSelection2,
12
12
  getObject2,
13
13
  getString2
14
- } from "./main-xzx6aepf.mjs";
14
+ } from "./main-t8hspw29.mjs";
15
15
  import {
16
16
  cliCommand
17
- } from "./main-83z4fc6b.mjs";
17
+ } from "./main-dyya6jpy.mjs";
18
18
  import {
19
19
  isStream,
20
20
  provideContext
@@ -3,13 +3,13 @@ import {
3
3
  installedRuntime2,
4
4
  autoUpdateStatus,
5
5
  updateAvailable
6
- } from "./main-t9na9ekd.mjs";
6
+ } from "./main-4wycvga6.mjs";
7
7
  import {
8
8
  cacheRoot,
9
9
  compiledBinary,
10
10
  checkoutRoot,
11
11
  cliCommand
12
- } from "./main-83z4fc6b.mjs";
12
+ } from "./main-dyya6jpy.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-5jvb2g53.mjs");
318
+ const { runInstalledUpdate } = await import("./runtime-update-jj6pa7vd.mjs");
319
319
  if (await runInstalledUpdate(args))
320
320
  return;
321
321
  if (compiledBinary()) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  dataRoot
3
- } from "./main-83z4fc6b.mjs";
3
+ } from "./main-dyya6jpy.mjs";
4
4
 
5
5
  // src/setup/remove-stored-secrets.ts
6
6
  import fs from "node:fs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  unpackedExtensionId,
3
3
  parseJsonObject
4
- } from "./main-t9na9ekd.mjs";
4
+ } from "./main-4wycvga6.mjs";
5
5
  import {
6
6
  decodeUnknownOption,
7
7
  optionalKey,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isNodeError,
3
3
  isValidSessionId2
4
- } from "./main-xzx6aepf.mjs";
4
+ } from "./main-t8hspw29.mjs";
5
5
  import {
6
6
  stateRoot
7
- } from "./main-83z4fc6b.mjs";
7
+ } from "./main-dyya6jpy.mjs";
8
8
  import {
9
9
  decodeUnknownOption,
10
10
  optionalKey,
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  writePrivateJsonFileSync
3
- } from "./main-xzx6aepf.mjs";
3
+ } from "./main-t8hspw29.mjs";
4
4
  import {
5
5
  bundledPairingCodeTtlMs,
6
6
  mintPairingCode,
7
7
  writeExtensionPairing
8
- } from "./main-98dnkvn3.mjs";
8
+ } from "./main-4fw36c57.mjs";
9
9
  import {
10
10
  configRoot2,
11
11
  cacheRoot,
12
12
  devExtensionUrl,
13
13
  devExtensionFolder
14
- } from "./main-83z4fc6b.mjs";
14
+ } from "./main-dyya6jpy.mjs";
15
15
 
16
16
  // src/setup/dev-extension.ts
17
17
  import { createHash } from "node:crypto";
@@ -0,0 +1,4 @@
1
+ // src/version.ts
2
+ var opencodeBrowserVersion2 = "0.0.18-dev.192";
3
+ var opencodeBrowserBuildId2 = "2026-11-14T18:41:00.716Z";
4
+ export { opencodeBrowserVersion2, opencodeBrowserBuildId2 };
@@ -46,10 +46,10 @@ import {
46
46
  import"./main-pmfd055v.mjs";
47
47
  import {
48
48
  opencodeBrowserVersion2
49
- } from "./main-ca2rymwh.mjs";
49
+ } from "./main-wds0wcmt.mjs";
50
50
  import {
51
51
  autoUpdateStatus
52
- } from "./main-t9na9ekd.mjs";
52
+ } from "./main-4wycvga6.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-xzx6aepf.mjs";
60
+ } from "./main-t8hspw29.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-n7w5a79r.mjs";
71
+ } from "./main-de0xhbg0.mjs";
72
72
  import {
73
73
  updateJson2,
74
74
  createUpdateWatcher2
75
- } from "./main-mq9bc0zb.mjs";
75
+ } from "./main-p8q3wrpd.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-gqr4pk9f.mjs";
153
+ } from "./main-p8jk5985.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-bbn1ah9d.mjs";
170
+ import"./main-c9qxrdzn.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-sx14bt3y.mjs";
177
+ import"./main-p44hff2a.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-j4n6hkxm.mjs";
10
+ } from "./main-h65pjrag.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-ca2rymwh.mjs";
18
- import"./main-t9na9ekd.mjs";
17
+ import"./main-wds0wcmt.mjs";
18
+ import"./main-4wycvga6.mjs";
19
19
  import"./main-tk4axre7.mjs";
20
- import"./main-xzx6aepf.mjs";
21
- import"./main-98dnkvn3.mjs";
20
+ import"./main-t8hspw29.mjs";
21
+ import"./main-4fw36c57.mjs";
22
22
  import {
23
23
  removeStoredSecrets2
24
- } from "./main-k4ys0swh.mjs";
24
+ } from "./main-q5w61fgh.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-83z4fc6b.mjs";
33
+ } from "./main-dyya6jpy.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-ca2rymwh.mjs";
7
+ } from "./main-wds0wcmt.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-t9na9ekd.mjs";
29
+ } from "./main-4wycvga6.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-xzx6aepf.mjs";
77
+ } from "./main-t8hspw29.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-98dnkvn3.mjs";
95
+ } from "./main-4fw36c57.mjs";
96
96
  import {
97
97
  defaultJournalBaseDir,
98
98
  makeJournalEntry,
99
99
  appendJournalEntry,
100
100
  startJournalRetention
101
- } from "./main-5d9jn9px.mjs";
101
+ } from "./main-t8xtycpr.mjs";
102
102
  import {
103
103
  createUpdateWatcher2
104
- } from "./main-mq9bc0zb.mjs";
104
+ } from "./main-p8q3wrpd.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-gqr4pk9f.mjs";
112
+ } from "./main-p8jk5985.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-9fwqh5k7.mjs";
126
+ } from "./main-w6180mxa.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-n7w5a79r.mjs";
136
+ } from "./main-de0xhbg0.mjs";
137
137
  import {
138
138
  relayTokenQueryParam,
139
139
  relayToken,
140
140
  secretsEqual,
141
141
  ensurePrivateDirectory
142
- } from "./main-bbn1ah9d.mjs";
142
+ } from "./main-c9qxrdzn.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-sx14bt3y.mjs";
150
+ } from "./main-p44hff2a.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-83z4fc6b.mjs";
167
+ } from "./main-dyya6jpy.mjs";
168
168
  import {
169
169
  join,
170
170
  interrupt,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  removeStoredSecrets2
3
- } from "./main-k4ys0swh.mjs";
3
+ } from "./main-q5w61fgh.mjs";
4
4
  export {
5
5
  removeStoredSecrets2 as removeStoredSecrets
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import"./main-zrjcdksk.mjs";
2
2
  import"./main-pmfd055v.mjs";
3
- import"./main-ca2rymwh.mjs";
3
+ import"./main-wds0wcmt.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-t9na9ekd.mjs";
20
- import"./main-xzx6aepf.mjs";
19
+ } from "./main-4wycvga6.mjs";
20
+ import"./main-t8hspw29.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-n7w5a79r.mjs";
28
- import"./main-bbn1ah9d.mjs";
29
- import"./main-sx14bt3y.mjs";
27
+ } from "./main-de0xhbg0.mjs";
28
+ import"./main-c9qxrdzn.mjs";
29
+ import"./main-p44hff2a.mjs";
30
30
  import {
31
31
  cliCommand,
32
32
  installCommand
33
- } from "./main-83z4fc6b.mjs";
33
+ } from "./main-dyya6jpy.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-j4n6hkxm.mjs";
66
+ } from "./main-h65pjrag.mjs";
67
67
  import"./main-pmfd055v.mjs";
68
68
  import {
69
69
  opencodeBrowserBuildId2
70
- } from "./main-ca2rymwh.mjs";
70
+ } from "./main-wds0wcmt.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-t9na9ekd.mjs";
78
+ } from "./main-4wycvga6.mjs";
79
79
  import {
80
80
  defaultPort2
81
- } from "./main-xzx6aepf.mjs";
81
+ } from "./main-t8hspw29.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-98dnkvn3.mjs";
94
+ } from "./main-4fw36c57.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-9fwqh5k7.mjs";
101
+ } from "./main-w6180mxa.mjs";
102
102
  import {
103
103
  relayAuthorization
104
- } from "./main-bbn1ah9d.mjs";
104
+ } from "./main-c9qxrdzn.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-sx14bt3y.mjs";
113
+ } from "./main-p44hff2a.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-83z4fc6b.mjs";
127
+ } from "./main-dyya6jpy.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-mq9bc0zb.mjs";
8
- import"./main-t9na9ekd.mjs";
7
+ } from "./main-p8q3wrpd.mjs";
8
+ import"./main-4wycvga6.mjs";
9
9
  import"./main-pmfd055v.mjs";
10
- import"./main-ca2rymwh.mjs";
10
+ import"./main-wds0wcmt.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-ca2rymwh.mjs";
4
+ } from "./main-wds0wcmt.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.17",
3
+ "version": "0.0.18-dev.192",
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.17";
3
- var opencodeBrowserBuildId2 = "2026-11-14T18:26:37.690Z";
4
- export { opencodeBrowserVersion2, opencodeBrowserBuildId2 };