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

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.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  opencodeBrowserVersion2,
3
3
  opencodeBrowserBuildId2
4
- } from "./main-7zgqqv4q.mjs";
4
+ } from "./main-wpbmhp3v.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-2bb5sfft.mjs";
22
+ } from "./main-jkq3ey3t.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-2d1fteqw.mjs";
47
+ } from "./main-nhr7bg32.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-q5y16xa8.mjs";
101
+ } from "./main-tcae6pr3.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-fp9pzxmb.mjs";
123
+ } from "./main-s5mqta5j.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-43zcz56n.mjs";
151
+ } from "./main-j38051kb.mjs";
152
152
  import {
153
153
  defaultJournalBaseDir,
154
154
  makeJournalEntry,
155
155
  appendJournalEntry,
156
156
  startJournalRetention
157
- } from "./main-7dpg0mjz.mjs";
157
+ } from "./main-5vffh0gd.mjs";
158
158
  import {
159
159
  createUpdateWatcher2
160
- } from "./main-qdrd6jck.mjs";
160
+ } from "./main-d1hydckg.mjs";
161
161
  import {
162
162
  isNone,
163
163
  isSome,
@@ -1,4 +1,4 @@
1
- import"./main-7zgqqv4q.mjs";
1
+ import"./main-wpbmhp3v.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-2bb5sfft.mjs";
21
+ } from "./main-jkq3ey3t.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-q5y16xa8.mjs";
29
- import"./main-2d1fteqw.mjs";
28
+ } from "./main-tcae6pr3.mjs";
29
+ import"./main-nhr7bg32.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-7zgqqv4q.mjs";
4
+ } from "./main-wpbmhp3v.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-2bb5sfft.mjs";
29
+ } from "./main-jkq3ey3t.mjs";
30
30
  import {
31
31
  relayAuthorization
32
- } from "./main-2d1fteqw.mjs";
32
+ } from "./main-nhr7bg32.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-fp9pzxmb.mjs";
49
+ } from "./main-s5mqta5j.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-nhpkbvt2.mjs");
12150
+ const { runRollback } = await import("./runtime-update-g516gc7h.mjs");
12151
12151
  return runRollback(args);
12152
12152
  }
12153
12153
  }
@@ -301,8 +301,8 @@ browse secrets run github -- ./github-cli repositories
301
301
  \`\`\`
302
302
 
303
303
  A capture ends by itself after 30 minutes, and when the MCP server that started
304
- it exits; stop it before then. MCP exposes the equivalent \`network_*\` and
305
- \`secrets_*\` tools.
304
+ it exits; stop it before then. MCP exposes the same capture with the \`network\`
305
+ tool (\`action: "start"\` / \`"stop"\`) and the profiles with the \`secrets_*\` tools.
306
306
 
307
307
  ## Recording
308
308
 
@@ -314,7 +314,7 @@ browse recording stop --session github
314
314
  \`--mode auto\` uses tab capture for user-owned tabs and CDP for relay-owned tabs.
315
315
  Tab capture can include audio; CDP requires \`ffmpeg\` and has no audio.
316
316
  Recordings are clean by default: the ghost cursor stays off unless you pass
317
- \`--cursor\` (\`cursor: true\` on \`recording_start\`), and a handoff on a recorded tab
317
+ \`--cursor\` (\`cursor: true\` with \`action: "start"\` on \`recording\`), and a handoff on a recorded tab
318
318
  shows a system notification instead of the in-page card.
319
319
 
320
320
  For failures that are hard to reproduce, keep a rolling buffer and save recent
@@ -347,7 +347,9 @@ how they're grouped (\`grouping\`), when untouched agent tabs close (\`idleMinut
347
347
  the agent cursor (\`cursor\`), human-like input (\`humanInput\`) and handoff
348
348
  notifications (\`handoffNotifications\`). Tell the user what changed. Security
349
349
  switches (\`OPENCODE_BROWSER_ALLOW_*\`, \`OPENCODE_BROWSER_UPDATE_CHECK\`) are
350
- environment-only and no tool changes them.
350
+ environment-only and no tool changes them. Update behaviour is not available to
351
+ the tool either: only the user changes it (\`browse settings set autoUpdate=…\`
352
+ or the extension's options page), and \`status\` reports the current value.
351
353
 
352
354
  ## Updating browse
353
355
 
@@ -1,9 +1,9 @@
1
- import"./main-7zgqqv4q.mjs";
1
+ import"./main-wpbmhp3v.mjs";
2
2
  import {
3
3
  versionEntry,
4
4
  readCurrent,
5
5
  npmRuntime
6
- } from "./main-2bb5sfft.mjs";
6
+ } from "./main-jkq3ey3t.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-a7k2dxdn.mjs");
17
+ const { runCli } = await import("./cli-5980z4hc.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-qdrd6jck.mjs";
7
+ } from "./main-d1hydckg.mjs";
8
8
  import"./main-mrew6jy8.mjs";
9
- import"./main-2bb5sfft.mjs";
10
- import"./main-7zgqqv4q.mjs";
9
+ import"./main-jkq3ey3t.mjs";
10
+ import"./main-wpbmhp3v.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-7zgqqv4q.mjs";
4
+ } from "./main-wpbmhp3v.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.74",
3
+ "version": "0.0.11-dev.75",
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",
@@ -300,8 +300,8 @@ browse secrets run github -- ./github-cli repositories
300
300
  ```
301
301
 
302
302
  A capture ends by itself after 30 minutes, and when the MCP server that started
303
- it exits; stop it before then. MCP exposes the equivalent `network_*` and
304
- `secrets_*` tools.
303
+ it exits; stop it before then. MCP exposes the same capture with the `network`
304
+ tool (`action: "start"` / `"stop"`) and the profiles with the `secrets_*` tools.
305
305
 
306
306
  ## Recording
307
307
 
@@ -313,7 +313,7 @@ browse recording stop --session github
313
313
  `--mode auto` uses tab capture for user-owned tabs and CDP for relay-owned tabs.
314
314
  Tab capture can include audio; CDP requires `ffmpeg` and has no audio.
315
315
  Recordings are clean by default: the ghost cursor stays off unless you pass
316
- `--cursor` (`cursor: true` on `recording_start`), and a handoff on a recorded tab
316
+ `--cursor` (`cursor: true` with `action: "start"` on `recording`), and a handoff on a recorded tab
317
317
  shows a system notification instead of the in-page card.
318
318
 
319
319
  For failures that are hard to reproduce, keep a rolling buffer and save recent
@@ -346,7 +346,9 @@ how they're grouped (`grouping`), when untouched agent tabs close (`idleMinutes`
346
346
  the agent cursor (`cursor`), human-like input (`humanInput`) and handoff
347
347
  notifications (`handoffNotifications`). Tell the user what changed. Security
348
348
  switches (`OPENCODE_BROWSER_ALLOW_*`, `OPENCODE_BROWSER_UPDATE_CHECK`) are
349
- environment-only and no tool changes them.
349
+ environment-only and no tool changes them. Update behaviour is not available to
350
+ the tool either: only the user changes it (`browse settings set autoUpdate=…`
351
+ or the extension's options page), and `status` reports the current value.
350
352
 
351
353
  ## Updating browse
352
354
 
@@ -1,4 +0,0 @@
1
- // src/version.ts
2
- var opencodeBrowserVersion2 = "0.0.11-dev.74";
3
- var opencodeBrowserBuildId2 = "2026-11-06T22:05:33.490Z";
4
- export { opencodeBrowserVersion2, opencodeBrowserBuildId2 };