@opencode/browse 0.0.17-dev.167 → 0.0.17-dev.169

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 (27) hide show
  1. package/dist/{cli-py6ebe02.mjs → cli-zx7g8fek.mjs} +12 -12
  2. package/dist/cli.mjs +12 -12
  3. package/dist/{helpers-mert7md7.mjs → helpers-nxtpzjhw.mjs} +1 -1
  4. package/dist/{legacy-runtime-de2sceym.mjs → legacy-runtime-rvcn5zs6.mjs} +4 -4
  5. package/dist/{main-fvr1t5a4.mjs → main-6k1dq78p.mjs} +3 -3
  6. package/dist/main-9xbcy9q0.mjs +4 -0
  7. package/dist/{main-bcjvvmxe.mjs → main-dwjfhfpm.mjs} +1 -1
  8. package/dist/{main-fj2kx39g.mjs → main-fs2ymcvd.mjs} +3 -3
  9. package/dist/{main-qnqvw9p4.mjs → main-gbq7c729.mjs} +3 -3
  10. package/dist/{main-r4edfgmd.mjs → main-h55dwr1s.mjs} +2 -2
  11. package/dist/{main-kw4xb98p.mjs → main-m3xnn0cx.mjs} +2 -2
  12. package/dist/{main-4gkh3htw.mjs → main-rvmzfmb7.mjs} +2 -2
  13. package/dist/{main-p86jpn82.mjs → main-sx7qpdfw.mjs} +1 -1
  14. package/dist/{main-avzqdpgh.mjs → main-w80ghbx8.mjs} +1 -1
  15. package/dist/{main-4g70hy05.mjs → main-wf904nhj.mjs} +2 -2
  16. package/dist/{mcp-kge733se.mjs → mcp-37b0xgq0.mjs} +9 -9
  17. package/dist/{migrate-mgj7s730.mjs → migrate-49s4pykq.mjs} +4 -4
  18. package/dist/{relay-wy7xbnc2.mjs → relay-jkgh5rzg.mjs} +7072 -6603
  19. package/dist/{runtime-update-vtwx1n3a.mjs → runtime-update-9d3dsv6t.mjs} +4 -4
  20. package/dist/{setup-zdma4gsz.mjs → setup-74nz1gqg.mjs} +7 -7
  21. package/dist/{skill-text-1707p2cn.mjs → skill-text-z1pce87x.mjs} +31 -7
  22. package/dist/{supervisor-t8jfk3km.mjs → supervisor-5pjptkgz.mjs} +3 -3
  23. package/dist/{update-1jana23v.mjs → update-n4sw8eht.mjs} +3 -3
  24. package/dist/{version-4are1pb8.mjs → version-2cadxvsa.mjs} +1 -1
  25. package/package.json +1 -1
  26. package/skills/browse/SKILL.md +31 -7
  27. package/dist/main-hkgd08wq.mjs +0 -4
@@ -25,7 +25,7 @@ import"./main-pmfd055v.mjs";
25
25
  import {
26
26
  opencodeBrowserVersion2,
27
27
  opencodeBrowserBuildId2
28
- } from "./main-hkgd08wq.mjs";
28
+ } from "./main-9xbcy9q0.mjs";
29
29
  import {
30
30
  configRoot2,
31
31
  dataRoot,
@@ -38,7 +38,7 @@ import {
38
38
  devExtension,
39
39
  installCommand,
40
40
  autoUpdateStatus
41
- } from "./main-qnqvw9p4.mjs";
41
+ } from "./main-gbq7c729.mjs";
42
42
  import {
43
43
  extensionProtocolVersion,
44
44
  extensionProtocolAdvice
@@ -64,29 +64,29 @@ import {
64
64
  ensureExtensionConnected,
65
65
  stoppedRelayStatus,
66
66
  statusCollections
67
- } from "./main-fj2kx39g.mjs";
67
+ } from "./main-fs2ymcvd.mjs";
68
68
  import"./main-4h7rfhhr.mjs";
69
69
  import {
70
70
  updateJson2,
71
71
  formatUpdateNotice2,
72
72
  updateNotice2
73
- } from "./main-r4edfgmd.mjs";
73
+ } from "./main-h55dwr1s.mjs";
74
74
  import {
75
75
  settingKeys,
76
76
  formatSettings,
77
77
  ensureSessionExists
78
- } from "./main-4gkh3htw.mjs";
78
+ } from "./main-rvmzfmb7.mjs";
79
79
  import {
80
80
  addSecret,
81
81
  listSecrets,
82
82
  removeSecret
83
- } from "./main-p86jpn82.mjs";
83
+ } from "./main-sx7qpdfw.mjs";
84
84
  import {
85
85
  defaultJournalBaseDir,
86
86
  readJournalEntries,
87
87
  formatJournalEntry
88
- } from "./main-kw4xb98p.mjs";
89
- import"./main-avzqdpgh.mjs";
88
+ } from "./main-m3xnn0cx.mjs";
89
+ import"./main-w80ghbx8.mjs";
90
90
  import {
91
91
  taggedEnum,
92
92
  is2,
@@ -5844,7 +5844,7 @@ var status = make("status", {
5844
5844
  }
5845
5845
  })).pipe(withDescription4("Show relay, extension, and target status"));
5846
5846
  var mcp = make("mcp", {}, fn("Cli.mcp")(function* () {
5847
- const { runMcpServer } = yield* promise(() => import("./mcp-kge733se.mjs"));
5847
+ const { runMcpServer } = yield* promise(() => import("./mcp-37b0xgq0.mjs"));
5848
5848
  yield* runMcpServer;
5849
5849
  })).pipe(withDescription4("Run the browse MCP server over stdio"));
5850
5850
  registerCliCommand(400, () => tabs);
@@ -5865,7 +5865,7 @@ registerCliCommand(810, ({ packageRoot }) => make("doctor", {
5865
5865
  }
5866
5866
  })).pipe(withDescription4("Diagnose the local browse install and runtime")));
5867
5867
  registerCliCommand(820, () => make("skill", {}, fn("Cli.skill")(function* () {
5868
- const { skillText } = yield* promise(() => import("./skill-text-1707p2cn.mjs"));
5868
+ const { skillText } = yield* promise(() => import("./skill-text-z1pce87x.mjs"));
5869
5869
  yield* log(skillText.trimEnd());
5870
5870
  })).pipe(withDescription4("Print the browse agent skill text")));
5871
5871
  registerCliCommand(900, () => mcp);
@@ -6292,12 +6292,12 @@ registerCliCommand(710, () => flightRecorder);
6292
6292
 
6293
6293
  // src/cli/relay.ts
6294
6294
  var serve = make("serve", {}, fn("Cli.serve")(function* () {
6295
- const [{ startRelay }, { parseAdditionalExtensionOrigins }] = yield* promise(() => Promise.all([import("./relay-wy7xbnc2.mjs"), import("./helpers-mert7md7.mjs")]));
6295
+ const [{ startRelay }, { parseAdditionalExtensionOrigins }] = yield* promise(() => Promise.all([import("./relay-jkgh5rzg.mjs"), import("./helpers-nxtpzjhw.mjs")]));
6296
6296
  const port = yield* portConfig;
6297
6297
  const additionalExtensionOrigins = parseAdditionalExtensionOrigins(yield* extensionOriginsConfig);
6298
6298
  yield* scoped(gen(function* () {
6299
6299
  const relay = yield* startRelay({ port, additionalExtensionOrigins });
6300
- yield* promise(() => import("./legacy-runtime-de2sceym.mjs").then((module) => module.commitLegacyTakeover()));
6300
+ yield* promise(() => import("./legacy-runtime-rvcn5zs6.mjs").then((module) => module.commitLegacyTakeover()));
6301
6301
  yield* log(`browse relay listening at ${relay.url}`);
6302
6302
  yield* log(`browse connects automatically while the browser runs. Run \`${cliCommand("status")}\` to check.`);
6303
6303
  yield* never;
package/dist/cli.mjs CHANGED
@@ -8,7 +8,7 @@ import {
8
8
 
9
9
  // src/main.ts
10
10
  import path from "node:path";
11
- var embeddedVersion = "0.0.17-dev.167";
11
+ var embeddedVersion = "0.0.17-dev.169";
12
12
  var setupCommands = new Set(["install", "uninstall", "extension", "pair", "set"]);
13
13
  var command = process.argv[2];
14
14
  var args = process.argv.slice(3);
@@ -18,26 +18,26 @@ var options = separator === -1 ? args : args.slice(0, separator);
18
18
  var askedForHelp = command === "--help" || command === "-h" || options.some((arg) => arg === "--help" || arg === "-h");
19
19
  var preCliHelp = askedForHelp && (command === "update" || command !== undefined && setupCommands.has(command));
20
20
  var oldRuntime = legacyRuntime();
21
- var takingOver = command === "serve" && !askedForHelp && legacyRuntimeActive(oldRuntime) && await import("./legacy-runtime-de2sceym.mjs").then((module) => module.prepareLegacyTakeover(oldRuntime)).catch(() => false);
21
+ var takingOver = command === "serve" && !askedForHelp && legacyRuntimeActive(oldRuntime) && await import("./legacy-runtime-rvcn5zs6.mjs").then((module) => module.prepareLegacyTakeover(oldRuntime)).catch(() => false);
22
22
  if (!takingOver)
23
23
  settleLegacyHome(process.env, oldRuntime);
24
24
  if (command !== "--version" && command !== "-v" && !askedForHelp && !takingOver && !process.env.OPENCODE_BROWSER_HOME && legacyRootsLeft()) {
25
25
  try {
26
- const { migrateLegacy } = await import("./migrate-mgj7s730.mjs");
26
+ const { migrateLegacy } = await import("./migrate-49s4pykq.mjs");
27
27
  migrateLegacy();
28
28
  } catch {}
29
29
  }
30
30
  if (command === "--version" || command === "-v") {
31
- const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-4are1pb8.mjs")).opencodeBrowserVersion;
31
+ const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-2cadxvsa.mjs")).opencodeBrowserVersion;
32
32
  process.stdout.write(`${opencodeBrowserVersion}
33
33
  `);
34
- } else if (command === "mcp" && process.env.OPENCODE_BROWSER_MCP_DIRECT !== "1" && (await import("./supervisor-t8jfk3km.mjs")).supervisesMcp()) {
35
- const { runBinaryMcp } = await import("./supervisor-t8jfk3km.mjs");
34
+ } else if (command === "mcp" && process.env.OPENCODE_BROWSER_MCP_DIRECT !== "1" && (await import("./supervisor-5pjptkgz.mjs")).supervisesMcp()) {
35
+ const { runBinaryMcp } = await import("./supervisor-5pjptkgz.mjs");
36
36
  await runBinaryMcp(process.argv.slice(3));
37
37
  } else if (invokedAs === "opencode-browser-mcp" || command === "mcp" && process.argv.length === 3) {
38
38
  const { NodeRuntime } = await import("./index-yaf37ery.mjs");
39
39
  const { defaultTeardown } = await import("./Runtime-qfc1eg1n.mjs");
40
- const { runMcpServer } = await import("./mcp-kge733se.mjs");
40
+ const { runMcpServer } = await import("./mcp-37b0xgq0.mjs");
41
41
  let stdinGone = false;
42
42
  const onStdinGone = () => {
43
43
  stdinGone = true;
@@ -59,13 +59,13 @@ if (command === "--version" || command === "-v") {
59
59
  })
60
60
  }));
61
61
  } else if (command === "self-update" || command === "runtime-switch") {
62
- const { runSelfUpdate, runRuntimeSwitch } = await import("./runtime-update-vtwx1n3a.mjs");
62
+ const { runSelfUpdate, runRuntimeSwitch } = await import("./runtime-update-9d3dsv6t.mjs");
63
63
  await (command === "self-update" ? runSelfUpdate : runRuntimeSwitch)(process.argv.slice(3));
64
64
  } else if (command === "update" && !askedForHelp) {
65
- const { runUpdateCommand } = await import("./update-1jana23v.mjs");
65
+ const { runUpdateCommand } = await import("./update-n4sw8eht.mjs");
66
66
  await runUpdateCommand(process.argv.slice(3));
67
67
  } else if (command && setupCommands.has(command) && !askedForHelp) {
68
- const { runSetup } = await import("./setup-zdma4gsz.mjs");
68
+ const { runSetup } = await import("./setup-74nz1gqg.mjs");
69
69
  await runSetup(command, process.argv.slice(3));
70
70
  } else {
71
71
  if (preCliHelp || !command || command === "--help" || command === "-h") {
@@ -102,9 +102,9 @@ executable in ~/.local/bin (or $XDG_BIN_HOME).
102
102
  `);
103
103
  }
104
104
  if (command === "status" && !askedForHelp && !process.argv.includes("--json")) {
105
- const { printSetupStatus } = await import("./setup-zdma4gsz.mjs");
105
+ const { printSetupStatus } = await import("./setup-74nz1gqg.mjs");
106
106
  printSetupStatus();
107
107
  }
108
- const { runCli } = await import("./cli-py6ebe02.mjs");
108
+ const { runCli } = await import("./cli-zx7g8fek.mjs");
109
109
  runCli(preCliHelp ? ["--help"] : undefined);
110
110
  }
@@ -32,7 +32,7 @@ import {
32
32
  isRestrictedTarget2,
33
33
  isRestrictedUrl2,
34
34
  dataUrlDocument2
35
- } from "./main-fj2kx39g.mjs";
35
+ } from "./main-fs2ymcvd.mjs";
36
36
  import"./main-4h7rfhhr.mjs";
37
37
  import"./main-b3jrctcx.mjs";
38
38
  export {
@@ -5,13 +5,13 @@ import {
5
5
  } from "./main-pmfd055v.mjs";
6
6
  import {
7
7
  opencodeBrowserVersion2
8
- } from "./main-hkgd08wq.mjs";
8
+ } from "./main-9xbcy9q0.mjs";
9
9
  import {
10
10
  installerBinaryPath,
11
11
  compiledBinary,
12
12
  channelOf,
13
13
  installedRuntime2
14
- } from "./main-qnqvw9p4.mjs";
14
+ } from "./main-gbq7c729.mjs";
15
15
 
16
16
  // src/setup/legacy-runtime.ts
17
17
  import fs from "node:fs";
@@ -37,7 +37,7 @@ async function prepareLegacyTakeover(legacy, options = {}) {
37
37
  if (await portInUse(Number(env.OPENCODE_BROWSER_PORT) || 19988))
38
38
  return false;
39
39
  const home = options.home ?? os.homedir();
40
- const { copyLegacyData } = await import("./migrate-mgj7s730.mjs");
40
+ const { copyLegacyData } = await import("./migrate-49s4pykq.mjs");
41
41
  delete env.OPENCODE_BROWSER_HOME;
42
42
  copyLegacyData(home);
43
43
  pending = { legacy, install, home };
@@ -51,7 +51,7 @@ async function commitLegacyTakeover(now = Date.now()) {
51
51
  try {
52
52
  if (!adoptLegacyRuntime(legacy, install, now))
53
53
  return false;
54
- const { migrateLegacy } = await import("./migrate-mgj7s730.mjs");
54
+ const { migrateLegacy } = await import("./migrate-49s4pykq.mjs");
55
55
  migrateLegacy(home, now);
56
56
  return true;
57
57
  } catch {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  opencodeBrowserVersion2
3
- } from "./main-hkgd08wq.mjs";
3
+ } from "./main-9xbcy9q0.mjs";
4
4
  import {
5
5
  configRoot2,
6
6
  dataRoot,
@@ -21,13 +21,13 @@ import {
21
21
  npmGlobalRoot,
22
22
  installedVersion,
23
23
  runCommand
24
- } from "./main-qnqvw9p4.mjs";
24
+ } from "./main-gbq7c729.mjs";
25
25
  import {
26
26
  writeStdout
27
27
  } from "./main-tk4axre7.mjs";
28
28
  import {
29
29
  formatPairingCode
30
- } from "./main-bcjvvmxe.mjs";
30
+ } from "./main-dwjfhfpm.mjs";
31
31
  import {
32
32
  unpackedExtensionId
33
33
  } from "./main-b3jrctcx.mjs";
@@ -0,0 +1,4 @@
1
+ // src/version.ts
2
+ var opencodeBrowserVersion2 = "0.0.17-dev.169";
3
+ var opencodeBrowserBuildId2 = "2026-11-10T20:46:59.239Z";
4
+ export { opencodeBrowserVersion2, opencodeBrowserBuildId2 };
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  dataRoot,
6
6
  stateRoot
7
- } from "./main-qnqvw9p4.mjs";
7
+ } from "./main-gbq7c729.mjs";
8
8
 
9
9
  // src/relay/browser-pairing.ts
10
10
  import crypto from "node:crypto";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./main-jf7jberd.mjs";
19
19
  import {
20
20
  opencodeBrowserBuildId2
21
- } from "./main-hkgd08wq.mjs";
21
+ } from "./main-9xbcy9q0.mjs";
22
22
  import {
23
23
  stateRoot,
24
24
  compiledBinary,
@@ -28,10 +28,10 @@ import {
28
28
  compareVersions,
29
29
  installedRuntime2,
30
30
  installedVersion
31
- } from "./main-qnqvw9p4.mjs";
31
+ } from "./main-gbq7c729.mjs";
32
32
  import {
33
33
  relayAuthorization
34
- } from "./main-avzqdpgh.mjs";
34
+ } from "./main-w80ghbx8.mjs";
35
35
  import {
36
36
  Pointer,
37
37
  passthrough,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./main-pmfd055v.mjs";
5
5
  import {
6
6
  opencodeBrowserVersion2
7
- } from "./main-hkgd08wq.mjs";
7
+ } from "./main-9xbcy9q0.mjs";
8
8
 
9
9
  // src/paths.ts
10
10
  import fs from "node:fs";
@@ -114,7 +114,7 @@ function cliInstall() {
114
114
  return { kind: "binary", binary: installedBinary() ?? process.execPath, pathEnv: process.env.PATH };
115
115
  if (fromCheckout())
116
116
  return { kind: "checkout", bundle: path.join(packageRoot(), "dist", "cli.mjs") };
117
- return { kind: "npm", version: "0.0.17-dev.167", npx: /[/\\]_npx[/\\]/.test(process.argv[1] ?? "") };
117
+ return { kind: "npm", version: "0.0.17-dev.169", npx: /[/\\]_npx[/\\]/.test(process.argv[1] ?? "") };
118
118
  }
119
119
  function cliPrefix(install = cliInstall()) {
120
120
  if (install.kind === "binary") {
@@ -136,7 +136,7 @@ function storeConfig(env = process.env, baked = { id: "mfnicocicmmlkpjnaffgihfjh
136
136
  return id ? { id } : {};
137
137
  }
138
138
  var RELEASE_SERVICE = "https://anoma.ly/release";
139
- function devExtension(baked = { file: "browse-extension-0.0.17-dev.167.zip", sha256: "42b888a247d1558f4389f91c856eb6c21ad89544a0614931c21215249738c146", size: 184211 }) {
139
+ function devExtension(baked = { file: "browse-extension-0.0.17-dev.169.zip", sha256: "d54a8586fbbdb8d897c05574ad9bc698a11168dea26ceab9c3be1fa29517b55e", size: 184210 }) {
140
140
  return baked && /^[0-9a-f]{64}$/.test(baked.sha256) && /^[\w.-]+\.zip$/.test(baked.file) ? baked : undefined;
141
141
  }
142
142
  var devExtensionUrl = (extension, env = process.env) => `${(env.OPENCODE_BROWSER_RELEASE_SERVICE || RELEASE_SERVICE).replace(/\/+$/, "")}/browse/files/${extension.sha256}/${extension.file}`;
@@ -6,7 +6,7 @@ import {
6
6
  installedRuntime2,
7
7
  autoUpdateStatus,
8
8
  updateAvailable
9
- } from "./main-qnqvw9p4.mjs";
9
+ } from "./main-gbq7c729.mjs";
10
10
  import {
11
11
  unpackedReloadAdvice
12
12
  } from "./main-b3jrctcx.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 { runInstalledUpdate } = await import("./runtime-update-vtwx1n3a.mjs");
318
+ const { runInstalledUpdate } = await import("./runtime-update-9d3dsv6t.mjs");
319
319
  if (await runInstalledUpdate(args))
320
320
  return;
321
321
  if (compiledBinary()) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./main-4h7rfhhr.mjs";
4
4
  import {
5
5
  isValidSessionId2
6
- } from "./main-fj2kx39g.mjs";
6
+ } from "./main-fs2ymcvd.mjs";
7
7
  import {
8
8
  decodeUnknownOption,
9
9
  optionalKey,
@@ -19,7 +19,7 @@ import {
19
19
  } from "./main-xycdhwqs.mjs";
20
20
  import {
21
21
  stateRoot
22
- } from "./main-qnqvw9p4.mjs";
22
+ } from "./main-gbq7c729.mjs";
23
23
 
24
24
  // src/session-manager/journal.ts
25
25
  import fs from "node:fs";
@@ -12,7 +12,7 @@ import {
12
12
  parseTargetSelection2,
13
13
  getObject2,
14
14
  getString2
15
- } from "./main-fj2kx39g.mjs";
15
+ } from "./main-fs2ymcvd.mjs";
16
16
  import {
17
17
  isStream,
18
18
  provideContext
@@ -103,7 +103,7 @@ import {
103
103
  } from "./main-qazf3bhk.mjs";
104
104
  import {
105
105
  cliCommand
106
- } from "./main-qnqvw9p4.mjs";
106
+ } from "./main-gbq7c729.mjs";
107
107
 
108
108
  // node_modules/effect/dist/PrimaryKey.js
109
109
  var symbol = "~effect/PrimaryKey";
@@ -52,7 +52,7 @@ import {
52
52
  import {
53
53
  dataRoot,
54
54
  cliCommand
55
- } from "./main-qnqvw9p4.mjs";
55
+ } from "./main-gbq7c729.mjs";
56
56
 
57
57
  // node_modules/effect/dist/Semaphore.js
58
58
  var makeUnsafe = (permits) => new SemaphoreImpl(permits);
@@ -3,7 +3,7 @@ import {
3
3
  } from "./main-4h7rfhhr.mjs";
4
4
  import {
5
5
  dataRoot
6
- } from "./main-qnqvw9p4.mjs";
6
+ } from "./main-gbq7c729.mjs";
7
7
 
8
8
  // src/relay/secrets.ts
9
9
  import crypto from "node:crypto";
@@ -5,13 +5,13 @@ import {
5
5
  bundledPairingCodeTtlMs,
6
6
  mintPairingCode,
7
7
  writeExtensionPairing
8
- } from "./main-bcjvvmxe.mjs";
8
+ } from "./main-dwjfhfpm.mjs";
9
9
  import {
10
10
  configRoot2,
11
11
  cacheRoot,
12
12
  devExtensionUrl,
13
13
  devExtensionFolder
14
- } from "./main-qnqvw9p4.mjs";
14
+ } from "./main-gbq7c729.mjs";
15
15
 
16
16
  // src/setup/dev-extension.ts
17
17
  import { createHash } from "node:crypto";
@@ -46,11 +46,11 @@ import {
46
46
  import"./main-pmfd055v.mjs";
47
47
  import {
48
48
  opencodeBrowserVersion2
49
- } from "./main-hkgd08wq.mjs";
49
+ } from "./main-9xbcy9q0.mjs";
50
50
  import {
51
51
  cliCommand,
52
52
  autoUpdateStatus
53
- } from "./main-qnqvw9p4.mjs";
53
+ } from "./main-gbq7c729.mjs";
54
54
  import"./main-b3jrctcx.mjs";
55
55
  import {
56
56
  option,
@@ -70,12 +70,12 @@ import {
70
70
  relayBuildProblem,
71
71
  ensureRelay,
72
72
  ensureExtensionConnected
73
- } from "./main-fj2kx39g.mjs";
73
+ } from "./main-fs2ymcvd.mjs";
74
74
  import"./main-4h7rfhhr.mjs";
75
75
  import {
76
76
  updateJson2,
77
77
  createUpdateWatcher2
78
- } from "./main-r4edfgmd.mjs";
78
+ } from "./main-h55dwr1s.mjs";
79
79
  import {
80
80
  settingSpecs,
81
81
  securityVariables,
@@ -156,12 +156,12 @@ import {
156
156
  toolResultForValue2,
157
157
  mcpErrorMessage2,
158
158
  toolResult
159
- } from "./main-4gkh3htw.mjs";
159
+ } from "./main-rvmzfmb7.mjs";
160
160
  import {
161
161
  makeUnsafe,
162
162
  make3,
163
163
  listSecrets
164
- } from "./main-p86jpn82.mjs";
164
+ } from "./main-sx7qpdfw.mjs";
165
165
  import {
166
166
  Clock,
167
167
  type,
@@ -176,7 +176,7 @@ import {
176
176
  orElse,
177
177
  exhaustive
178
178
  } from "./main-4074weqb.mjs";
179
- import"./main-avzqdpgh.mjs";
179
+ import"./main-w80ghbx8.mjs";
180
180
  import {
181
181
  Class,
182
182
  taggedEnum,
@@ -8941,11 +8941,11 @@ registerMcpTools({
8941
8941
  build: (ctx) => [
8942
8942
  {
8943
8943
  name: "execute",
8944
- description: `Execute Playwright JavaScript against the browse session. Code runs in a restricted JavaScript realm on the relay without process, require, import(), fs, child_process, http/https or Node fetch; save and read files with the files helper inside the execute file roots, and cookie access is limited to the session's pages. Synchronous code stops after about 2 seconds. It is not a security boundary, so treat code as running as the user. The result includes console logs, warnings, a bounded execution-context diagnostic when relevant, and an aftermath summary (URL movement, navigations, error counts, handoffs, and a bot challenge or block page when one appears: hand interactive ones to the user with handoff(), never solve or retry-loop them).`,
8944
+ description: `Execute Playwright JavaScript against the browse session. Code runs in a restricted JavaScript realm on the relay without process, require, import(), fs, child_process, http/https or Node fetch; save and read files with the files helper inside the execute file roots (file paths, including Playwright options like screenshot({ path }), must be in folders you own without group/world write access; files.path(name) gives a safe one), and cookie access is limited to the session's pages. Synchronous code stops after about 2 seconds. It is not a security boundary, so treat code as running as the user. The result includes console logs, warnings, a bounded execution-context diagnostic when relevant, and an aftermath summary (URL movement, navigations, error counts, handoffs, and a bot challenge or block page when one appears: hand interactive ones to the user with handoff(), never solve or retry-loop them).`,
8945
8945
  inputSchema: objectSchema({
8946
8946
  code: {
8947
8947
  type: "string",
8948
- description: "JavaScript code to execute. It receives browser, context, page, state, modules (path, url, util, crypto, buffer, zlib, events, stream), files (dir and roots properties; path(name), write(target, data), read(target, encoding?)), fillInput, fillInputs, snapshot(options?) for compact semantic outlines (options: find to search them, diff or delta for changes), persistent compatible ref(id) locators, webmcp (list/call), screenshotWithLabels(options?) and screenshotDiff(options) for screenshots, ariaSnapshot, ghostCursor, handoff, demonstrate, network (start/status/stop/cancel), pageConsole (start/stop capturing the page's own console messages and errors, off by default because pages can detect it), and secrets.type(locator, name) to type a stored site secret (see secrets_list) only on its allowed origins, without seeing it. There is no location, document or fetch global (they belong to the page: use page.url() or page.evaluate(...)), and no structuredClone."
8948
+ description: "JavaScript code to execute. It receives browser, context, page, state, modules (path, url, util, crypto, buffer, zlib, events, stream), files (dir and roots properties; path(name), write(target, data), read(target, encoding?)), fillInput, fillInputs, snapshot(options?) for compact semantic outlines of the page and the content of its iframes (options: find to search them, diff or delta for changes, frames: false to leave iframe content out), persistent compatible ref(id) locators that resolve inside the frame they came from, webmcp (list/call), screenshotWithLabels(options?) and screenshotDiff(options) for screenshots, ariaSnapshot for Playwright's YAML tree followed by a labelled block per iframe with its content, ghostCursor, handoff, demonstrate, network (start/status/stop/cancel), pageConsole (start/stop capturing the page's own console messages and errors, off by default because pages can detect it), and secrets.type(locator, name) to type a stored site secret (see secrets_list) only on its allowed origins, without seeing it. There is no location, document or fetch global (they belong to the page: use page.url() or page.evaluate(...)), and no structuredClone."
8949
8949
  },
8950
8950
  session: {
8951
8951
  type: "string",
@@ -7,14 +7,14 @@ import {
7
7
  editAgentConfig,
8
8
  OPENCODE_CONFIG_NAMES,
9
9
  configureMcp
10
- } from "./main-fvr1t5a4.mjs";
10
+ } from "./main-6k1dq78p.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-hkgd08wq.mjs";
17
+ import"./main-9xbcy9q0.mjs";
18
18
  import {
19
19
  configRoot2,
20
20
  dataRoot,
@@ -23,10 +23,10 @@ import {
23
23
  binRoot,
24
24
  binaryName,
25
25
  devExtensionFolder
26
- } from "./main-qnqvw9p4.mjs";
26
+ } from "./main-gbq7c729.mjs";
27
27
  import"./main-tk4axre7.mjs";
28
28
  import"./main-4h7rfhhr.mjs";
29
- import"./main-bcjvvmxe.mjs";
29
+ import"./main-dwjfhfpm.mjs";
30
30
  import"./main-b3jrctcx.mjs";
31
31
 
32
32
  // src/setup/migrate.ts