@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.
- package/dist/{cli-a7k2dxdn.mjs → cli-5980z4hc.mjs} +10 -10
- package/dist/cli.mjs +9 -9
- package/dist/{helpers-84e9b406.mjs → helpers-h1mvscyw.mjs} +2 -2
- package/dist/{main-7dpg0mjz.mjs → main-5vffh0gd.mjs} +3 -3
- package/dist/{main-qdrd6jck.mjs → main-d1hydckg.mjs} +2 -2
- package/dist/{main-43zcz56n.mjs → main-j38051kb.mjs} +96 -15
- package/dist/{main-2bb5sfft.mjs → main-jkq3ey3t.mjs} +3 -3
- package/dist/{main-2d1fteqw.mjs → main-nhr7bg32.mjs} +1 -1
- package/dist/{main-fp9pzxmb.mjs → main-s5mqta5j.mjs} +2 -2
- package/dist/{main-q5y16xa8.mjs → main-tcae6pr3.mjs} +4 -4
- package/dist/main-wpbmhp3v.mjs +4 -0
- package/dist/{mcp-v0nqt3b0.mjs → mcp-x1vq2n6t.mjs} +214 -249
- package/dist/{relay-pbt8dmpa.mjs → relay-94r2w21z.mjs} +8 -8
- package/dist/{runtime-update-nhpkbvt2.mjs → runtime-update-g516gc7h.mjs} +4 -4
- package/dist/{setup-gt8mrdn6.mjs → setup-q1sfzdr9.mjs} +5 -5
- package/dist/{skill-text-q5tkbz98.mjs → skill-text-x7sccp6h.mjs} +6 -4
- package/dist/{supervisor-w0t2qaej.mjs → supervisor-e2w15458.mjs} +3 -3
- package/dist/{update-0ssj6chm.mjs → update-c8xwkt5v.mjs} +3 -3
- package/dist/{version-1mzgjxcn.mjs → version-0jtmhnzb.mjs} +1 -1
- package/package.json +1 -1
- package/skills/browse/SKILL.md +6 -4
- package/dist/main-7zgqqv4q.mjs +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
opencodeBrowserVersion2,
|
|
3
3
|
opencodeBrowserBuildId2
|
|
4
|
-
} from "./main-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
151
|
+
} from "./main-j38051kb.mjs";
|
|
152
152
|
import {
|
|
153
153
|
defaultJournalBaseDir,
|
|
154
154
|
makeJournalEntry,
|
|
155
155
|
appendJournalEntry,
|
|
156
156
|
startJournalRetention
|
|
157
|
-
} from "./main-
|
|
157
|
+
} from "./main-5vffh0gd.mjs";
|
|
158
158
|
import {
|
|
159
159
|
createUpdateWatcher2
|
|
160
|
-
} from "./main-
|
|
160
|
+
} from "./main-d1hydckg.mjs";
|
|
161
161
|
import {
|
|
162
162
|
isNone,
|
|
163
163
|
isSome,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./main-
|
|
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-
|
|
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-
|
|
29
|
-
import"./main-
|
|
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-
|
|
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-
|
|
29
|
+
} from "./main-jkq3ey3t.mjs";
|
|
30
30
|
import {
|
|
31
31
|
relayAuthorization
|
|
32
|
-
} from "./main-
|
|
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-
|
|
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-
|
|
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
|
|
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 \`
|
|
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-
|
|
1
|
+
import"./main-wpbmhp3v.mjs";
|
|
2
2
|
import {
|
|
3
3
|
versionEntry,
|
|
4
4
|
readCurrent,
|
|
5
5
|
npmRuntime
|
|
6
|
-
} from "./main-
|
|
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-
|
|
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-
|
|
7
|
+
} from "./main-d1hydckg.mjs";
|
|
8
8
|
import"./main-mrew6jy8.mjs";
|
|
9
|
-
import"./main-
|
|
10
|
-
import"./main-
|
|
9
|
+
import"./main-jkq3ey3t.mjs";
|
|
10
|
+
import"./main-wpbmhp3v.mjs";
|
|
11
11
|
export {
|
|
12
12
|
createUpdateWatcher2 as createUpdateWatcher,
|
|
13
13
|
formatUpdateNotice2 as formatUpdateNotice,
|
package/package.json
CHANGED
package/skills/browse/SKILL.md
CHANGED
|
@@ -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
|
|
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 `
|
|
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
|
|
package/dist/main-7zgqqv4q.mjs
DELETED