@opencode/browse 0.0.11-dev.75 → 0.0.11-dev.76

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.
@@ -105,7 +105,7 @@ import {
105
105
  import {
106
106
  opencodeBrowserVersion2,
107
107
  opencodeBrowserBuildId2
108
- } from "./main-wpbmhp3v.mjs";
108
+ } from "./main-exnm62gg.mjs";
109
109
  import {
110
110
  dataRoot,
111
111
  fromCheckout,
@@ -115,7 +115,7 @@ import {
115
115
  devExtension,
116
116
  installCommand,
117
117
  autoUpdateStatus
118
- } from "./main-jkq3ey3t.mjs";
118
+ } from "./main-rn7hdcq2.mjs";
119
119
  import {
120
120
  extensionProtocolVersion,
121
121
  extensionProtocolAdvice
@@ -141,13 +141,13 @@ import {
141
141
  ensureExtensionConnected,
142
142
  stoppedRelayStatus,
143
143
  statusCollections
144
- } from "./main-tcae6pr3.mjs";
145
- import"./main-nhr7bg32.mjs";
144
+ } from "./main-ajza8egc.mjs";
145
+ import"./main-hm4fcpfz.mjs";
146
146
  import {
147
147
  updateJson2,
148
148
  formatUpdateNotice2,
149
149
  updateNotice2
150
- } from "./main-d1hydckg.mjs";
150
+ } from "./main-brv9dhy5.mjs";
151
151
  import {
152
152
  settingKeys,
153
153
  formatSettings,
@@ -155,12 +155,12 @@ import {
155
155
  addSecret,
156
156
  listSecrets,
157
157
  removeSecret
158
- } from "./main-j38051kb.mjs";
158
+ } from "./main-nqmm7pdz.mjs";
159
159
  import {
160
160
  defaultJournalBaseDir,
161
161
  readJournalEntries,
162
162
  formatJournalEntry
163
- } from "./main-5vffh0gd.mjs";
163
+ } from "./main-eej5z0y5.mjs";
164
164
  import {
165
165
  pipeArguments,
166
166
  dual,
@@ -5856,7 +5856,7 @@ var status = make("status", {
5856
5856
  }
5857
5857
  })).pipe(withDescription4("Show relay, extension, and target status"));
5858
5858
  var mcp = make("mcp", {}, fn("Cli.mcp")(function* () {
5859
- const { runMcpServer } = yield* promise(() => import("./mcp-x1vq2n6t.mjs"));
5859
+ const { runMcpServer } = yield* promise(() => import("./mcp-sy8qgkyr.mjs"));
5860
5860
  yield* runMcpServer;
5861
5861
  })).pipe(withDescription4("Run the browse MCP server over stdio"));
5862
5862
  registerCliCommand(400, () => tabs);
@@ -6304,7 +6304,7 @@ registerCliCommand(710, () => flightRecorder);
6304
6304
 
6305
6305
  // src/cli/relay.ts
6306
6306
  var serve = make("serve", {}, fn("Cli.serve")(function* () {
6307
- const [{ startRelay }, { parseAdditionalExtensionOrigins }] = yield* promise(() => Promise.all([import("./relay-94r2w21z.mjs"), import("./helpers-h1mvscyw.mjs")]));
6307
+ const [{ startRelay }, { parseAdditionalExtensionOrigins }] = yield* promise(() => Promise.all([import("./relay-ateyg5ax.mjs"), import("./helpers-kp0j46jt.mjs")]));
6308
6308
  const port = yield* portConfig;
6309
6309
  const additionalExtensionOrigins = parseAdditionalExtensionOrigins(yield* extensionOriginsConfig);
6310
6310
  yield* scoped(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.11-dev.75";
5
+ var embeddedVersion = "0.0.11-dev.76";
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-0jtmhnzb.mjs")).opencodeBrowserVersion;
10
+ const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-4cjr3wpp.mjs")).opencodeBrowserVersion;
11
11
  process.stdout.write(`${opencodeBrowserVersion}
12
12
  `);
13
13
  } else if (command === "mcp" && globalThis.__OPENCODE_BROWSER_COMPILED__ && process.env.OPENCODE_BROWSER_MCP_DIRECT !== "1") {
14
- const { runBinaryMcp } = await import("./supervisor-e2w15458.mjs");
14
+ const { runBinaryMcp } = await import("./supervisor-0rvjpf4e.mjs");
15
15
  await runBinaryMcp(process.argv.slice(3));
16
16
  } else if (invokedAs === "opencode-browser-mcp" || command === "mcp" && process.argv.length === 3) {
17
17
  const { NodeRuntime } = await import("./index-0dcypq31.mjs");
18
- const { runMcpServer } = await import("./mcp-x1vq2n6t.mjs");
18
+ const { runMcpServer } = await import("./mcp-sy8qgkyr.mjs");
19
19
  runMcpServer.pipe(NodeRuntime.runMain);
20
20
  } else if (command === "runtime-install" || command === "runtime-switch") {
21
- const { runRuntimeInstall, runRuntimeSwitch } = await import("./runtime-update-g516gc7h.mjs");
21
+ const { runRuntimeInstall, runRuntimeSwitch } = await import("./runtime-update-70gqzynp.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-c8xwkt5v.mjs");
24
+ const { runUpdateCommand } = await import("./update-rbd2025v.mjs");
25
25
  await runUpdateCommand(process.argv.slice(3));
26
26
  } else if (command && setupCommands.has(command)) {
27
- const { runSetup } = await import("./setup-q1sfzdr9.mjs");
27
+ const { runSetup } = await import("./setup-j76yv51b.mjs");
28
28
  await runSetup(command, process.argv.slice(3));
29
29
  } else {
30
30
  if (!command || command === "--help" || command === "-h") {
@@ -59,9 +59,9 @@ if (command === "--version" || command === "-v") {
59
59
  `);
60
60
  }
61
61
  if (command === "status" && !process.argv.includes("--json")) {
62
- const { printSetupStatus } = await import("./setup-q1sfzdr9.mjs");
62
+ const { printSetupStatus } = await import("./setup-j76yv51b.mjs");
63
63
  printSetupStatus();
64
64
  }
65
- const { runCli } = await import("./cli-5980z4hc.mjs");
65
+ const { runCli } = await import("./cli-qpkh40gh.mjs");
66
66
  runCli();
67
67
  }
@@ -31,8 +31,8 @@ import {
31
31
  isRestrictedTarget2,
32
32
  isRestrictedUrl2,
33
33
  dataUrlDocument2
34
- } from "./main-tcae6pr3.mjs";
35
- import"./main-nhr7bg32.mjs";
34
+ } from "./main-ajza8egc.mjs";
35
+ import"./main-hm4fcpfz.mjs";
36
36
  import"./main-mrew6jy8.mjs";
37
37
  export {
38
38
  HttpRouteError2 as HttpRouteError,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  writePrivateJsonFileSync
3
- } from "./main-nhr7bg32.mjs";
3
+ } from "./main-hm4fcpfz.mjs";
4
4
  import {
5
5
  dataRoot,
6
6
  devExtensionUrl,
7
7
  devExtensionFolder
8
- } from "./main-jkq3ey3t.mjs";
8
+ } from "./main-rn7hdcq2.mjs";
9
9
 
10
10
  // src/relay/browser-pairing.ts
11
11
  import crypto from "node:crypto";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./main-mrew6jy8.mjs";
8
8
  import {
9
9
  relayAuthorization
10
- } from "./main-nhr7bg32.mjs";
10
+ } from "./main-hm4fcpfz.mjs";
11
11
  import {
12
12
  assignProperty,
13
13
  PipeInspectableProto,
@@ -110,14 +110,14 @@ import {
110
110
  } from "./main-gevbt7h7.mjs";
111
111
  import {
112
112
  opencodeBrowserBuildId2
113
- } from "./main-wpbmhp3v.mjs";
113
+ } from "./main-exnm62gg.mjs";
114
114
  import {
115
115
  compiledBinary,
116
116
  scriptEntry,
117
117
  cliCommand,
118
118
  installCommand,
119
119
  npmRuntime
120
- } from "./main-jkq3ey3t.mjs";
120
+ } from "./main-rn7hdcq2.mjs";
121
121
  import {
122
122
  dual,
123
123
  memoize,
@@ -6,7 +6,7 @@ import {
6
6
  compareVersions,
7
7
  npmRuntime,
8
8
  autoUpdateStatus
9
- } from "./main-jkq3ey3t.mjs";
9
+ } from "./main-rn7hdcq2.mjs";
10
10
  import {
11
11
  unpackedReloadAdvice
12
12
  } from "./main-mrew6jy8.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-g516gc7h.mjs");
318
+ const { runNpmUpdate } = await import("./runtime-update-70gqzynp.mjs");
319
319
  if (await runNpmUpdate(args))
320
320
  return;
321
321
  if (compiledBinary()) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  isNodeError
3
- } from "./main-nhr7bg32.mjs";
3
+ } from "./main-hm4fcpfz.mjs";
4
4
  import {
5
5
  isValidSessionId2
6
- } from "./main-tcae6pr3.mjs";
6
+ } from "./main-ajza8egc.mjs";
7
7
  import {
8
8
  isSome,
9
9
  decodeUnknownOption,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./main-gevbt7h7.mjs";
18
18
  import {
19
19
  dataRoot
20
- } from "./main-jkq3ey3t.mjs";
20
+ } from "./main-rn7hdcq2.mjs";
21
21
 
22
22
  // src/session-manager/journal.ts
23
23
  import fs from "node:fs";
@@ -0,0 +1,4 @@
1
+ // src/version.ts
2
+ var opencodeBrowserVersion2 = "0.0.11-dev.76";
3
+ var opencodeBrowserBuildId2 = "2026-11-06T22:26:14.062Z";
4
+ export { opencodeBrowserVersion2, opencodeBrowserBuildId2 };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./main-yf9xhpn4.mjs";
4
4
  import {
5
5
  dataRoot
6
- } from "./main-jkq3ey3t.mjs";
6
+ } from "./main-rn7hdcq2.mjs";
7
7
  // src/relay/secrets.ts
8
8
  import crypto2 from "node:crypto";
9
9
  import fs2 from "node:fs";
@@ -12,11 +12,11 @@ import {
12
12
  parseTargetSelection2,
13
13
  getObject2,
14
14
  getString2
15
- } from "./main-tcae6pr3.mjs";
15
+ } from "./main-ajza8egc.mjs";
16
16
  import {
17
17
  isNodeError,
18
18
  writeJsonFileAtomically
19
- } from "./main-nhr7bg32.mjs";
19
+ } from "./main-hm4fcpfz.mjs";
20
20
  import {
21
21
  getStackTraceLimit,
22
22
  setStackTraceLimit,
@@ -131,7 +131,7 @@ import {
131
131
  import {
132
132
  dataRoot,
133
133
  cliCommand
134
- } from "./main-jkq3ey3t.mjs";
134
+ } from "./main-rn7hdcq2.mjs";
135
135
 
136
136
  // node_modules/effect/dist/Semaphore.js
137
137
  var makeUnsafe = (permits) => new SemaphoreImpl(permits);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  opencodeBrowserVersion2
3
- } from "./main-wpbmhp3v.mjs";
3
+ } from "./main-exnm62gg.mjs";
4
4
 
5
5
  // src/update/auto-update.ts
6
6
  import { spawn } from "node:child_process";
@@ -53,7 +53,7 @@ function cliInstall() {
53
53
  return { kind: "binary", binary: installedBinary() ?? process.execPath, pathEnv: process.env.PATH };
54
54
  if (fromCheckout())
55
55
  return { kind: "checkout", bundle: path.join(packageRoot(), "dist", "cli.mjs") };
56
- return { kind: "npm", version: "0.0.11-dev.75" };
56
+ return { kind: "npm", version: "0.0.11-dev.76" };
57
57
  }
58
58
  function cliPrefix(install = cliInstall()) {
59
59
  if (install.kind === "binary") {
@@ -73,7 +73,7 @@ function storeConfig(env = process.env, baked = { id: "mfnicocicmmlkpjnaffgihfjh
73
73
  return id ? { id } : {};
74
74
  }
75
75
  var RELEASE_SERVICE = "https://anoma.ly/release";
76
- function devExtension(baked = { file: "browse-extension-0.0.11-dev.75.zip", sha256: "231c4d7c28c6f5d35763f22c949604fbc25b92a2e6cd13a764d7df98b8b56b85", size: 182613 }) {
76
+ function devExtension(baked = { file: "browse-extension-0.0.11-dev.76.zip", sha256: "5c792151b6364e3bb1deee255528588a8043fd65f530c4c250b7a9f72761e47b", size: 182615 }) {
77
77
  return baked && /^[0-9a-f]{64}$/.test(baked.sha256) && /^[\w.-]+\.zip$/.test(baked.file) ? baked : undefined;
78
78
  }
79
79
  var devExtensionUrl = (extension, env = process.env) => `${(env.OPENCODE_BROWSER_RELEASE_SERVICE || RELEASE_SERVICE).replace(/\/+$/, "")}/browse/files/${extension.sha256}/${extension.file}`;
@@ -256,11 +256,11 @@ import {
256
256
  } from "./main-gevbt7h7.mjs";
257
257
  import {
258
258
  opencodeBrowserVersion2
259
- } from "./main-wpbmhp3v.mjs";
259
+ } from "./main-exnm62gg.mjs";
260
260
  import {
261
261
  cliCommand,
262
262
  autoUpdateStatus
263
- } from "./main-jkq3ey3t.mjs";
263
+ } from "./main-rn7hdcq2.mjs";
264
264
  import"./main-mrew6jy8.mjs";
265
265
  import {
266
266
  option,
@@ -280,12 +280,12 @@ import {
280
280
  relayBuildProblem,
281
281
  ensureRelay,
282
282
  ensureExtensionConnected
283
- } from "./main-tcae6pr3.mjs";
284
- import"./main-nhr7bg32.mjs";
283
+ } from "./main-ajza8egc.mjs";
284
+ import"./main-hm4fcpfz.mjs";
285
285
  import {
286
286
  updateJson2,
287
287
  createUpdateWatcher2
288
- } from "./main-d1hydckg.mjs";
288
+ } from "./main-brv9dhy5.mjs";
289
289
  import {
290
290
  makeUnsafe,
291
291
  make,
@@ -369,7 +369,7 @@ import {
369
369
  mcpErrorMessage2,
370
370
  toolResult,
371
371
  listSecrets
372
- } from "./main-j38051kb.mjs";
372
+ } from "./main-nqmm7pdz.mjs";
373
373
  import {
374
374
  Clock,
375
375
  type,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  opencodeBrowserVersion2,
3
3
  opencodeBrowserBuildId2
4
- } from "./main-wpbmhp3v.mjs";
4
+ } from "./main-exnm62gg.mjs";
5
5
  import {
6
6
  dataRoot,
7
7
  oldStoreMarker,
@@ -19,7 +19,7 @@ import {
19
19
  setStoredMode,
20
20
  autoUpdateStatus,
21
21
  createAutoUpdater
22
- } from "./main-jkq3ey3t.mjs";
22
+ } from "./main-rn7hdcq2.mjs";
23
23
  import {
24
24
  extensionProtocolVersion,
25
25
  minExtensionProtocolVersion,
@@ -44,7 +44,7 @@ import {
44
44
  relayToken,
45
45
  secretsEqual,
46
46
  ensurePrivateDirectory
47
- } from "./main-nhr7bg32.mjs";
47
+ } from "./main-hm4fcpfz.mjs";
48
48
  import {
49
49
  withDefault,
50
50
  option,
@@ -98,7 +98,7 @@ import {
98
98
  isRestrictedTarget2,
99
99
  isRestrictedUrl2,
100
100
  dataUrlDocument2
101
- } from "./main-tcae6pr3.mjs";
101
+ } from "./main-ajza8egc.mjs";
102
102
  import {
103
103
  relayHostname,
104
104
  isLocalPeer,
@@ -120,7 +120,7 @@ import {
120
120
  wrapToken,
121
121
  installedDevExtension,
122
122
  syncDevExtension
123
- } from "./main-s5mqta5j.mjs";
123
+ } from "./main-7wgmq04v.mjs";
124
124
  import {
125
125
  makeUnsafe,
126
126
  SettingsInputError,
@@ -148,16 +148,16 @@ import {
148
148
  checkNavigationUrl,
149
149
  readSecret,
150
150
  secretText
151
- } from "./main-j38051kb.mjs";
151
+ } from "./main-nqmm7pdz.mjs";
152
152
  import {
153
153
  defaultJournalBaseDir,
154
154
  makeJournalEntry,
155
155
  appendJournalEntry,
156
156
  startJournalRetention
157
- } from "./main-5vffh0gd.mjs";
157
+ } from "./main-eej5z0y5.mjs";
158
158
  import {
159
159
  createUpdateWatcher2
160
- } from "./main-d1hydckg.mjs";
160
+ } from "./main-brv9dhy5.mjs";
161
161
  import {
162
162
  isNone,
163
163
  isSome,
@@ -14233,9 +14233,66 @@ var alwaysBlocked = new Map([
14233
14233
  ["Network.deleteCookies", "it would delete the user's cookies and can log them out"],
14234
14234
  ["Storage.clearDataForOrigin", "it would erase a site's cookies and stored data in the user's browser"],
14235
14235
  ["Storage.clearDataForStorageKey", "it would erase a site's stored data in the user's browser"],
14236
- ["Browser.close", "it would close the user's browser"]
14236
+ ["Browser.close", "it would close the user's browser"],
14237
+ ["Browser.grantPermissions", "it would grant a site permissions the user never approved"],
14238
+ ["Browser.setPermission", "it would change a site permission without the user's approval"],
14239
+ ["Browser.resetPermissions", "it would reset the user's site permissions"]
14237
14240
  ]);
14238
- var readOnlyBlockedPrefixes = ["Input."];
14241
+ var readOnlyAllowedMethods = new Set([
14242
+ "Browser.getVersion",
14243
+ "Browser.getWindowForTarget",
14244
+ "Browser.setDownloadBehavior",
14245
+ "Target.attachToBrowserTarget",
14246
+ "Target.attachToTarget",
14247
+ "Target.detachFromTarget",
14248
+ "Target.getTargetInfo",
14249
+ "Target.getTargets",
14250
+ "Target.setAutoAttach",
14251
+ "Target.setDiscoverTargets",
14252
+ "Page.getFrameTree",
14253
+ "Page.getLayoutMetrics",
14254
+ "Page.getNavigationHistory",
14255
+ "Page.getResourceTree",
14256
+ "Page.captureScreenshot",
14257
+ "Page.addScriptToEvaluateOnNewDocument",
14258
+ "Page.createIsolatedWorld",
14259
+ "Page.setLifecycleEventsEnabled",
14260
+ "Runtime.callFunctionOn",
14261
+ "Runtime.evaluate",
14262
+ "Runtime.getProperties",
14263
+ "Runtime.releaseObject",
14264
+ "Runtime.releaseObjectGroup",
14265
+ "Runtime.runIfWaitingForDebugger",
14266
+ "Accessibility.getAXNodeAndAncestors",
14267
+ "Accessibility.getFullAXTree",
14268
+ "Accessibility.getPartialAXTree",
14269
+ "Accessibility.getRootAXNode",
14270
+ "Accessibility.queryAXTree",
14271
+ "DOM.describeNode",
14272
+ "DOM.getAttributes",
14273
+ "DOM.getBoxModel",
14274
+ "DOM.getContentQuads",
14275
+ "DOM.getDocument",
14276
+ "DOM.getFrameOwner",
14277
+ "DOM.getNodeForLocation",
14278
+ "DOM.querySelector",
14279
+ "DOM.querySelectorAll",
14280
+ "DOM.resolveNode",
14281
+ "Network.getAllCookies",
14282
+ "Network.getCookies",
14283
+ "Storage.getCookies",
14284
+ "Emulation.setEmulatedMedia",
14285
+ "Emulation.setFocusEmulationEnabled",
14286
+ "Network.setCacheDisabled"
14287
+ ]);
14288
+ var readOnlySubscriptionDomains = ["Accessibility.", "DOM.", "Log.", "Network.", "Page.", "Performance.", "Runtime."];
14289
+ function isReadOnlyAllowed(method) {
14290
+ if (readOnlyAllowedMethods.has(method))
14291
+ return true;
14292
+ if (!method.endsWith(".enable") && !method.endsWith(".disable"))
14293
+ return false;
14294
+ return readOnlySubscriptionDomains.some((domain) => method.startsWith(domain));
14295
+ }
14239
14296
  var allowAllCookiesEnvironmentVariable = "OPENCODE_BROWSER_ALLOW_ALL_COOKIES";
14240
14297
  var allowsAllCookies = () => process.env[allowAllCookiesEnvironmentVariable] === "1";
14241
14298
  var allowsForeground = () => process.env.OPENCODE_BROWSER_ALLOW_FOREGROUND === "1";
@@ -14404,6 +14461,10 @@ function guardCdpMethod(context) {
14404
14461
  if (context.method.startsWith("WebAuthn.")) {
14405
14462
  return `browse blocked ${context.method}: agents can't drive WebAuthn or add virtual authenticators. This command is always blocked by the relay.`;
14406
14463
  }
14464
+ if (context.readOnly && !isReadOnlyAllowed(context.method)) {
14465
+ const session = context.sessionId ? `Session ${context.sessionId}` : "This session";
14466
+ return `${session} is read-only: ${context.method} is blocked because this tab is read-only. Read-only sessions can take snapshots and screenshots, read page information and subscribe to events. Use a session created without --read-only to interact with pages.`;
14467
+ }
14407
14468
  if (context.method === "Page.bringToFront" && !allowsForeground()) {
14408
14469
  return "browse blocked Page.bringToFront: it raises the user's browser window over their work. Use handoff() when the user needs to act in the tab, or set OPENCODE_BROWSER_ALLOW_FOREGROUND=1 on the relay to allow it.";
14409
14470
  }
@@ -14428,10 +14489,6 @@ function guardCdpMethod(context) {
14428
14489
  return `browse blocked Network.loadNetworkResource: it loads URLs with the user's credentials outside the page's same-origin policy, so only the hosts of this session's attached pages (${formatAllowedHosts(hosts)}) are allowed. Set ${allowAllStorageEnvironmentVariable}=1 on the relay to allow it.`;
14429
14490
  }
14430
14491
  }
14431
- if (context.readOnly && readOnlyBlockedPrefixes.some((prefix) => context.method.startsWith(prefix))) {
14432
- const session = context.sessionId ? `Session ${context.sessionId}` : "This session";
14433
- return `${session} is read-only: ${context.method} is blocked. Use a session created without --read-only to interact with pages.`;
14434
- }
14435
14492
  return null;
14436
14493
  }
14437
14494
  function scopeCdpResult(options) {
@@ -1,4 +1,4 @@
1
- import"./main-wpbmhp3v.mjs";
1
+ import"./main-exnm62gg.mjs";
2
2
  import {
3
3
  cliCommand,
4
4
  installCommand,
@@ -18,15 +18,15 @@ import {
18
18
  installVersion,
19
19
  pruneVersions,
20
20
  switchVersion
21
- } from "./main-jkq3ey3t.mjs";
21
+ } from "./main-rn7hdcq2.mjs";
22
22
  import"./main-mrew6jy8.mjs";
23
23
  import {
24
24
  Service,
25
25
  layerFetch,
26
26
  restartRelay,
27
27
  startManagedRelay
28
- } from "./main-tcae6pr3.mjs";
29
- import"./main-nhr7bg32.mjs";
28
+ } from "./main-ajza8egc.mjs";
29
+ import"./main-hm4fcpfz.mjs";
30
30
  import {
31
31
  succeed6,
32
32
  suspend2,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  opencodeBrowserVersion2,
3
3
  opencodeBrowserBuildId2
4
- } from "./main-wpbmhp3v.mjs";
4
+ } from "./main-exnm62gg.mjs";
5
5
  import {
6
6
  dataRoot,
7
7
  oldStoreMarker,
@@ -26,10 +26,10 @@ import {
26
26
  installVersion,
27
27
  pruneVersions,
28
28
  switchVersion
29
- } from "./main-jkq3ey3t.mjs";
29
+ } from "./main-rn7hdcq2.mjs";
30
30
  import {
31
31
  relayAuthorization
32
- } from "./main-nhr7bg32.mjs";
32
+ } from "./main-hm4fcpfz.mjs";
33
33
  import {
34
34
  parseHostname,
35
35
  readRelayConfig,
@@ -46,7 +46,7 @@ import {
46
46
  legacyPairingCode,
47
47
  removeLegacyPairingCode,
48
48
  syncDevExtension
49
- } from "./main-s5mqta5j.mjs";
49
+ } from "./main-7wgmq04v.mjs";
50
50
  import {
51
51
  unpackedExtensionId,
52
52
  extensionProtocolSkew,
@@ -12147,7 +12147,7 @@ async function runSetup(command, args) {
12147
12147
  if (command === "set")
12148
12148
  return set(args);
12149
12149
  if (command === "rollback") {
12150
- const { runRollback } = await import("./runtime-update-g516gc7h.mjs");
12150
+ const { runRollback } = await import("./runtime-update-70gqzynp.mjs");
12151
12151
  return runRollback(args);
12152
12152
  }
12153
12153
  }
@@ -1,9 +1,9 @@
1
- import"./main-wpbmhp3v.mjs";
1
+ import"./main-exnm62gg.mjs";
2
2
  import {
3
3
  versionEntry,
4
4
  readCurrent,
5
5
  npmRuntime
6
- } from "./main-jkq3ey3t.mjs";
6
+ } from "./main-rn7hdcq2.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-5980z4hc.mjs");
17
+ const { runCli } = await import("./cli-qpkh40gh.mjs");
18
18
  return runCli();
19
19
  }
20
20
  const { layout } = runtime;
@@ -4,10 +4,10 @@ import {
4
4
  updateNotice2,
5
5
  createUpdateWatcher2,
6
6
  runUpdateCommand2
7
- } from "./main-d1hydckg.mjs";
7
+ } from "./main-brv9dhy5.mjs";
8
8
  import"./main-mrew6jy8.mjs";
9
- import"./main-jkq3ey3t.mjs";
10
- import"./main-wpbmhp3v.mjs";
9
+ import"./main-rn7hdcq2.mjs";
10
+ import"./main-exnm62gg.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-wpbmhp3v.mjs";
4
+ } from "./main-exnm62gg.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.11-dev.75",
3
+ "version": "0.0.11-dev.76",
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.11-dev.75";
3
- var opencodeBrowserBuildId2 = "2026-11-06T22:15:58.647Z";
4
- export { opencodeBrowserVersion2, opencodeBrowserBuildId2 };