@opencode/browse 0.0.11-dev.70 → 0.0.11-dev.72
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-fvrcjg4g.mjs → cli-w445s77h.mjs} +11 -11
- package/dist/cli.mjs +10 -10
- package/dist/{helpers-6by6j39a.mjs → helpers-spk1cnxw.mjs} +2 -2
- package/dist/{index-8v65jg3n.mjs → index-0dcypq31.mjs} +1 -1
- package/dist/main-4qy2q686.mjs +4 -0
- package/dist/{main-8xg8gp0m.mjs → main-c03yxxa5.mjs} +4 -4
- package/dist/{main-0m7y7537.mjs → main-dfac31gt.mjs} +1 -1
- package/dist/{main-bfnwm4x3.mjs → main-g606v7zz.mjs} +2 -2
- package/dist/{main-ta3yc4kx.mjs → main-gevbt7h7.mjs} +1134 -2
- package/dist/{main-pgrahcqx.mjs → main-gz443nq8.mjs} +3 -3
- package/dist/{main-493hqqst.mjs → main-jfw7tc5g.mjs} +2 -2
- package/dist/{main-fx1xgftk.mjs → main-psy10am0.mjs} +128 -11
- package/dist/{main-kxbs88e4.mjs → main-rt6g5418.mjs} +1 -1
- package/dist/{main-2jk7tv3t.mjs → main-yz931fa0.mjs} +5 -5
- package/dist/{mcp-7cz1j97q.mjs → mcp-qw645sjd.mjs} +83 -32
- package/dist/{relay-6vm4z2c4.mjs → relay-pysa3c90.mjs} +10 -10
- package/dist/{runtime-update-7hq0ms16.mjs → runtime-update-kyd27gdx.mjs} +5 -5
- package/dist/{setup-9m7r8m7t.mjs → setup-p20qjea1.mjs} +5 -5
- package/dist/skill-text-q5tkbz98.mjs +402 -0
- package/dist/{supervisor-d62ebrqn.mjs → supervisor-68nzaabf.mjs} +3 -3
- package/dist/{update-8qjdkkza.mjs → update-4a7wp8tc.mjs} +3 -3
- package/dist/{version-7h7wv1pt.mjs → version-zy6f2nw4.mjs} +1 -1
- package/package.json +1 -1
- package/skills/browse/SKILL.md +229 -760
- package/dist/main-b39e4gny.mjs +0 -4
- package/dist/skill-text-g8avyxz3.mjs +0 -933
|
@@ -101,11 +101,11 @@ import {
|
|
|
101
101
|
isQuitError,
|
|
102
102
|
Terminal,
|
|
103
103
|
layer2
|
|
104
|
-
} from "./main-
|
|
104
|
+
} from "./main-gevbt7h7.mjs";
|
|
105
105
|
import {
|
|
106
106
|
opencodeBrowserVersion2,
|
|
107
107
|
opencodeBrowserBuildId2
|
|
108
|
-
} from "./main-
|
|
108
|
+
} from "./main-4qy2q686.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-
|
|
118
|
+
} from "./main-gz443nq8.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-
|
|
145
|
-
import"./main-
|
|
144
|
+
} from "./main-yz931fa0.mjs";
|
|
145
|
+
import"./main-dfac31gt.mjs";
|
|
146
146
|
import {
|
|
147
147
|
updateJson2,
|
|
148
148
|
formatUpdateNotice2,
|
|
149
149
|
updateNotice2
|
|
150
|
-
} from "./main-
|
|
150
|
+
} from "./main-jfw7tc5g.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-
|
|
158
|
+
} from "./main-psy10am0.mjs";
|
|
159
159
|
import {
|
|
160
160
|
defaultJournalBaseDir,
|
|
161
161
|
readJournalEntries,
|
|
162
162
|
formatJournalEntry
|
|
163
|
-
} from "./main-
|
|
163
|
+
} from "./main-c03yxxa5.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-
|
|
5859
|
+
const { runMcpServer } = yield* promise(() => import("./mcp-qw645sjd.mjs"));
|
|
5860
5860
|
yield* runMcpServer;
|
|
5861
5861
|
})).pipe(withDescription4("Run the browse MCP server over stdio"));
|
|
5862
5862
|
registerCliCommand(400, () => tabs);
|
|
@@ -5877,7 +5877,7 @@ registerCliCommand(810, ({ packageRoot }) => make("doctor", {
|
|
|
5877
5877
|
}
|
|
5878
5878
|
})).pipe(withDescription4("Diagnose the local browse install and runtime")));
|
|
5879
5879
|
registerCliCommand(820, () => make("skill", {}, fn("Cli.skill")(function* () {
|
|
5880
|
-
const { skillText } = yield* promise(() => import("./skill-text-
|
|
5880
|
+
const { skillText } = yield* promise(() => import("./skill-text-q5tkbz98.mjs"));
|
|
5881
5881
|
yield* log(skillText.trimEnd());
|
|
5882
5882
|
})).pipe(withDescription4("Print the browse agent skill text")));
|
|
5883
5883
|
registerCliCommand(900, () => mcp);
|
|
@@ -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-
|
|
6307
|
+
const [{ startRelay }, { parseAdditionalExtensionOrigins }] = yield* promise(() => Promise.all([import("./relay-pysa3c90.mjs"), import("./helpers-spk1cnxw.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.
|
|
5
|
+
var embeddedVersion = "0.0.11-dev.72";
|
|
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-
|
|
10
|
+
const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-zy6f2nw4.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-
|
|
14
|
+
const { runBinaryMcp } = await import("./supervisor-68nzaabf.mjs");
|
|
15
15
|
await runBinaryMcp(process.argv.slice(3));
|
|
16
16
|
} else if (invokedAs === "opencode-browser-mcp" || command === "mcp" && process.argv.length === 3) {
|
|
17
|
-
const { NodeRuntime } = await import("./index-
|
|
18
|
-
const { runMcpServer } = await import("./mcp-
|
|
17
|
+
const { NodeRuntime } = await import("./index-0dcypq31.mjs");
|
|
18
|
+
const { runMcpServer } = await import("./mcp-qw645sjd.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-
|
|
21
|
+
const { runRuntimeInstall, runRuntimeSwitch } = await import("./runtime-update-kyd27gdx.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-
|
|
24
|
+
const { runUpdateCommand } = await import("./update-4a7wp8tc.mjs");
|
|
25
25
|
await runUpdateCommand(process.argv.slice(3));
|
|
26
26
|
} else if (command && setupCommands.has(command)) {
|
|
27
|
-
const { runSetup } = await import("./setup-
|
|
27
|
+
const { runSetup } = await import("./setup-p20qjea1.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-
|
|
62
|
+
const { printSetupStatus } = await import("./setup-p20qjea1.mjs");
|
|
63
63
|
printSetupStatus();
|
|
64
64
|
}
|
|
65
|
-
const { runCli } = await import("./cli-
|
|
65
|
+
const { runCli } = await import("./cli-w445s77h.mjs");
|
|
66
66
|
runCli();
|
|
67
67
|
}
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
isRestrictedTarget2,
|
|
32
32
|
isRestrictedUrl2,
|
|
33
33
|
dataUrlDocument2
|
|
34
|
-
} from "./main-
|
|
35
|
-
import"./main-
|
|
34
|
+
} from "./main-yz931fa0.mjs";
|
|
35
|
+
import"./main-dfac31gt.mjs";
|
|
36
36
|
import"./main-mrew6jy8.mjs";
|
|
37
37
|
export {
|
|
38
38
|
HttpRouteError2 as HttpRouteError,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isNodeError
|
|
3
|
-
} from "./main-
|
|
3
|
+
} from "./main-dfac31gt.mjs";
|
|
4
4
|
import {
|
|
5
5
|
isValidSessionId2
|
|
6
|
-
} from "./main-
|
|
6
|
+
} from "./main-yz931fa0.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isSome,
|
|
9
9
|
decodeUnknownOption,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
Struct,
|
|
15
15
|
ArraySchema,
|
|
16
16
|
NullOr
|
|
17
|
-
} from "./main-
|
|
17
|
+
} from "./main-gevbt7h7.mjs";
|
|
18
18
|
import {
|
|
19
19
|
dataRoot
|
|
20
|
-
} from "./main-
|
|
20
|
+
} from "./main-gz443nq8.mjs";
|
|
21
21
|
|
|
22
22
|
// src/session-manager/journal.ts
|
|
23
23
|
import fs from "node:fs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writePrivateJsonFileSync
|
|
3
|
-
} from "./main-
|
|
3
|
+
} from "./main-dfac31gt.mjs";
|
|
4
4
|
import {
|
|
5
5
|
dataRoot,
|
|
6
6
|
devExtensionUrl,
|
|
7
7
|
devExtensionFolder
|
|
8
|
-
} from "./main-
|
|
8
|
+
} from "./main-gz443nq8.mjs";
|
|
9
9
|
|
|
10
10
|
// src/relay/browser-pairing.ts
|
|
11
11
|
import crypto from "node:crypto";
|