@opencode/browse 0.0.17-dev.168 → 0.0.17-dev.170
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/{Runtime-qfc1eg1n.mjs → Runtime-jrg7sc9p.mjs} +1 -1
- package/dist/{cli-5834k85r.mjs → cli-k6tgme5c.mjs} +49 -49
- package/dist/cli.mjs +14 -14
- package/dist/{helpers-xaj2ycfy.mjs → helpers-g8dsh6s5.mjs} +1 -1
- package/dist/{index-yaf37ery.mjs → index-j79y2me1.mjs} +2 -2
- package/dist/{legacy-runtime-34dh85e3.mjs → legacy-runtime-jj1srsz7.mjs} +4 -4
- package/dist/{main-4074weqb.mjs → main-048kx59h.mjs} +1 -1
- package/dist/{main-f5rfs18m.mjs → main-0tr21dqs.mjs} +18 -18
- package/dist/{main-5nns3hew.mjs → main-16tqhq5g.mjs} +1 -1
- package/dist/{main-84masb5k.mjs → main-32h1fmkw.mjs} +3 -3
- package/dist/{main-rtsm881v.mjs → main-3g0xky5y.mjs} +5 -5
- package/dist/{main-9bk4pprj.mjs → main-3mhynene.mjs} +1 -1
- package/dist/{main-4dtt7gft.mjs → main-43k95nh0.mjs} +1 -1
- package/dist/{main-nd3q2tgb.mjs → main-63xjd6ts.mjs} +2 -2
- package/dist/{main-jde7rd73.mjs → main-8k9qykpa.mjs} +3 -3
- package/dist/{main-8114va9r.mjs → main-99dxg777.mjs} +4 -4
- package/dist/{main-905p32ds.mjs → main-apebcva2.mjs} +3 -3
- package/dist/main-dsx1pjp8.mjs +4 -0
- package/dist/{main-4vpxzxr5.mjs → main-e17wqzky.mjs} +2 -2
- package/dist/{main-v6hzbxjd.mjs → main-f98q5tcf.mjs} +12 -12
- package/dist/{main-jf7jberd.mjs → main-s3g4jwx5.mjs} +41 -41
- package/dist/{main-xycdhwqs.mjs → main-wpt5ha44.mjs} +23 -23
- package/dist/{mcp-5ew0wby9.mjs → mcp-85av73hq.mjs} +61 -61
- package/dist/{migrate-s88qjtc8.mjs → migrate-1vqatsz2.mjs} +4 -4
- package/dist/{relay-tw3t5jpf.mjs → relay-xkw8xs4k.mjs} +7168 -6654
- package/dist/{runtime-update-htnbyjxn.mjs → runtime-update-ny5cgrba.mjs} +7 -7
- package/dist/{setup-0s98jsfn.mjs → setup-18revp9m.mjs} +7 -7
- package/dist/{skill-text-t7f2b8m7.mjs → skill-text-z1pce87x.mjs} +27 -6
- package/dist/{supervisor-k6wbp9ch.mjs → supervisor-93fvdjav.mjs} +3 -3
- package/dist/{update-7r0y0tbk.mjs → update-y6xqxqww.mjs} +3 -3
- package/dist/{version-h67b69y6.mjs → version-ngzs1vvq.mjs} +1 -1
- package/package.json +1 -1
- package/skills/browse/SKILL.md +27 -6
- package/dist/main-njw3wxwk.mjs +0 -4
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
errorExitCode2,
|
|
4
4
|
errorReported2
|
|
5
|
-
} from "./main-
|
|
5
|
+
} from "./main-3mhynene.mjs";
|
|
6
6
|
import {
|
|
7
7
|
make4,
|
|
8
8
|
value2,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
Terminal,
|
|
15
15
|
runMain,
|
|
16
16
|
layer2
|
|
17
|
-
} from "./main-
|
|
17
|
+
} from "./main-s3g4jwx5.mjs";
|
|
18
18
|
import {
|
|
19
19
|
ExitCode,
|
|
20
20
|
failure,
|
|
@@ -25,7 +25,7 @@ import"./main-pmfd055v.mjs";
|
|
|
25
25
|
import {
|
|
26
26
|
opencodeBrowserVersion2,
|
|
27
27
|
opencodeBrowserBuildId2
|
|
28
|
-
} from "./main-
|
|
28
|
+
} from "./main-dsx1pjp8.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-
|
|
41
|
+
} from "./main-apebcva2.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-
|
|
67
|
+
} from "./main-0tr21dqs.mjs";
|
|
68
68
|
import"./main-4h7rfhhr.mjs";
|
|
69
69
|
import {
|
|
70
70
|
updateJson2,
|
|
71
71
|
formatUpdateNotice2,
|
|
72
72
|
updateNotice2
|
|
73
|
-
} from "./main-
|
|
73
|
+
} from "./main-e17wqzky.mjs";
|
|
74
74
|
import {
|
|
75
75
|
settingKeys,
|
|
76
76
|
formatSettings,
|
|
77
77
|
ensureSessionExists
|
|
78
|
-
} from "./main-
|
|
78
|
+
} from "./main-3g0xky5y.mjs";
|
|
79
79
|
import {
|
|
80
80
|
addSecret,
|
|
81
81
|
listSecrets,
|
|
82
82
|
removeSecret
|
|
83
|
-
} from "./main-
|
|
83
|
+
} from "./main-8k9qykpa.mjs";
|
|
84
84
|
import {
|
|
85
85
|
defaultJournalBaseDir,
|
|
86
86
|
readJournalEntries,
|
|
87
87
|
formatJournalEntry
|
|
88
|
-
} from "./main-
|
|
89
|
-
import"./main-
|
|
88
|
+
} from "./main-99dxg777.mjs";
|
|
89
|
+
import"./main-16tqhq5g.mjs";
|
|
90
90
|
import {
|
|
91
91
|
taggedEnum,
|
|
92
92
|
is2,
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
Defect,
|
|
108
108
|
TaggedError2,
|
|
109
109
|
toCodecStringTree
|
|
110
|
-
} from "./main-
|
|
110
|
+
} from "./main-f98q5tcf.mjs";
|
|
111
111
|
import {
|
|
112
112
|
format,
|
|
113
113
|
assignProperty,
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
getOrElse,
|
|
122
122
|
fromUndefinedOr,
|
|
123
123
|
getOrUndefined,
|
|
124
|
-
|
|
124
|
+
map2,
|
|
125
125
|
exists,
|
|
126
126
|
Service2,
|
|
127
127
|
empty4,
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
findFirst,
|
|
137
137
|
findLast,
|
|
138
138
|
empty5,
|
|
139
|
-
|
|
139
|
+
map4,
|
|
140
140
|
reduce,
|
|
141
141
|
sync,
|
|
142
142
|
ConsoleRef,
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
flatMap3,
|
|
161
161
|
andThen2,
|
|
162
162
|
result,
|
|
163
|
-
|
|
163
|
+
map6,
|
|
164
164
|
catch_,
|
|
165
165
|
catchTag,
|
|
166
166
|
catchTags,
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
interrupt3,
|
|
180
180
|
fnUntraced,
|
|
181
181
|
fn
|
|
182
|
-
} from "./main-
|
|
182
|
+
} from "./main-wpt5ha44.mjs";
|
|
183
183
|
import {
|
|
184
184
|
pipeArguments,
|
|
185
185
|
dual,
|
|
@@ -504,7 +504,7 @@ var makeTheme = (options) => ({
|
|
|
504
504
|
var Theme = /* @__PURE__ */ Reference("effect/cli/Prompt/Theme", {
|
|
505
505
|
defaultValue: makeTheme
|
|
506
506
|
});
|
|
507
|
-
var getTheme = (options) =>
|
|
507
|
+
var getTheme = (options) => map6(Theme, (theme) => ({
|
|
508
508
|
...theme,
|
|
509
509
|
...options.theme
|
|
510
510
|
}));
|
|
@@ -651,8 +651,8 @@ var Int4 = (options) => {
|
|
|
651
651
|
clear: handleNumberClear(opts)
|
|
652
652
|
});
|
|
653
653
|
};
|
|
654
|
-
var
|
|
655
|
-
var Password = (options) => basePrompt(options, "password").pipe(
|
|
654
|
+
var map = /* @__PURE__ */ dual(2, (self, f) => flatMap(self, (a) => succeed2(f(a))));
|
|
655
|
+
var Password = (options) => basePrompt(options, "password").pipe(map(make4));
|
|
656
656
|
var run = /* @__PURE__ */ fnUntraced(function* (self) {
|
|
657
657
|
const terminal = yield* Terminal;
|
|
658
658
|
const input = yield* terminal.readInput;
|
|
@@ -743,11 +743,11 @@ var runLoop = /* @__PURE__ */ fnUntraced(function* (loop, terminal, input) {
|
|
|
743
743
|
yield* orDie(terminal.display(clear + msg));
|
|
744
744
|
clear = "";
|
|
745
745
|
if (loop.events) {
|
|
746
|
-
const takeInput = take2(input).pipe(
|
|
746
|
+
const takeInput = take2(input).pipe(map6((input) => ({
|
|
747
747
|
_tag: "Input",
|
|
748
748
|
input
|
|
749
749
|
})));
|
|
750
|
-
const result = yield* raceFirst(takeInput, take2(loop.events).pipe(
|
|
750
|
+
const result = yield* raceFirst(takeInput, take2(loop.events).pipe(map6((value) => ({
|
|
751
751
|
_tag: "Event",
|
|
752
752
|
value
|
|
753
753
|
}))));
|
|
@@ -787,7 +787,7 @@ var eraseText = (text, columns) => {
|
|
|
787
787
|
};
|
|
788
788
|
var lines = (prompt, columns) => {
|
|
789
789
|
const lines = prompt.split(NEWLINE_REGEXP);
|
|
790
|
-
return columns === 0 ? lines.length : pipe(
|
|
790
|
+
return columns === 0 ? lines.length : pipe(map4(lines, (line) => Math.ceil(line.length / columns)), reduce(0, (left, right) => left + right));
|
|
791
791
|
};
|
|
792
792
|
var clearOutputWithError = (outputText, columns, errorText) => {
|
|
793
793
|
if (errorText !== undefined && errorText.length > 0) {
|
|
@@ -889,7 +889,7 @@ var renderDateError = (state, pointer, theme) => {
|
|
|
889
889
|
const errorLines = state.error.value.split(NEWLINE_REGEXP);
|
|
890
890
|
if (isReadonlyArrayNonEmpty(errorLines)) {
|
|
891
891
|
const prefix = annotateSymbol(pointer, theme.errorColor);
|
|
892
|
-
const lines =
|
|
892
|
+
const lines = map4(errorLines, (str) => annotateErrorLine(str, theme.errorColor));
|
|
893
893
|
return cursorSavePosition + `
|
|
894
894
|
` + separateSymbol(prefix, lines.join(`
|
|
895
895
|
`)) + cursorRestorePosition;
|
|
@@ -1334,7 +1334,7 @@ var renderPrompt = (confirm, message, leadingSymbol, trailingSymbol, options) =>
|
|
|
1334
1334
|
return match3(message.split(NEWLINE_REGEXP), {
|
|
1335
1335
|
onEmpty: () => renderLine(""),
|
|
1336
1336
|
onNonEmpty: (promptLines) => {
|
|
1337
|
-
const lines =
|
|
1337
|
+
const lines = map4(promptLines, (line) => annotate(line));
|
|
1338
1338
|
return renderLine(lines.join(`
|
|
1339
1339
|
`));
|
|
1340
1340
|
}
|
|
@@ -1381,7 +1381,7 @@ var renderNumberError = (state, pointer, theme, renderOptions) => {
|
|
|
1381
1381
|
`));
|
|
1382
1382
|
}
|
|
1383
1383
|
const prefix = annotateSymbol(pointer, theme.errorColor);
|
|
1384
|
-
const lines =
|
|
1384
|
+
const lines = map4(errorLines, (str) => annotateErrorLine(str, theme.errorColor));
|
|
1385
1385
|
return cursorSavePosition + `
|
|
1386
1386
|
` + separateSymbol(prefix, lines.join(`
|
|
1387
1387
|
`)) + cursorRestorePosition;
|
|
@@ -1810,7 +1810,7 @@ var renderTextError = (nextState, pointer, theme, renderOptions) => {
|
|
|
1810
1810
|
`));
|
|
1811
1811
|
}
|
|
1812
1812
|
const prefix = annotateSymbol(pointer, theme.errorColor);
|
|
1813
|
-
const lines =
|
|
1813
|
+
const lines = map4(errorLines, (str) => annotateErrorLine(str, theme.errorColor));
|
|
1814
1814
|
return cursorSavePosition + `
|
|
1815
1815
|
` + separateSymbol(prefix, lines.join(`
|
|
1816
1816
|
`)) + cursorRestorePosition;
|
|
@@ -2192,8 +2192,8 @@ var withDescription = /* @__PURE__ */ dual(2, (self, description) => {
|
|
|
2192
2192
|
description: some(description)
|
|
2193
2193
|
}));
|
|
2194
2194
|
});
|
|
2195
|
-
var
|
|
2196
|
-
const parse = (args) =>
|
|
2195
|
+
var map3 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
2196
|
+
const parse = (args) => map6(self.parse(args), ([operands, value]) => [operands, f(value)]);
|
|
2197
2197
|
return Object.assign(Object.create(Proto2), {
|
|
2198
2198
|
_tag: "Map",
|
|
2199
2199
|
kind: self.kind,
|
|
@@ -2213,9 +2213,9 @@ var transform = (self, f, alternatives = []) => {
|
|
|
2213
2213
|
parse: f(self.parse, alternativeParsers)
|
|
2214
2214
|
});
|
|
2215
2215
|
};
|
|
2216
|
-
var mapEffect = /* @__PURE__ */ dual(2, (self, f) => transform(self, (parse) => (args) => flatMap3(parse(args), ([leftover, a]) => f(a).pipe(
|
|
2216
|
+
var mapEffect = /* @__PURE__ */ dual(2, (self, f) => transform(self, (parse) => (args) => flatMap3(parse(args), ([leftover, a]) => f(a).pipe(map6((b) => [leftover, b])))));
|
|
2217
2217
|
var optional2 = (param) => {
|
|
2218
|
-
const parse = (args) => param.parse(args).pipe(
|
|
2218
|
+
const parse = (args) => param.parse(args).pipe(map6(([leftover, value]) => [leftover, some(value)]), catchTags({
|
|
2219
2219
|
MissingOption: () => succeed6([args.arguments, none()]),
|
|
2220
2220
|
MissingArgument: () => succeed6([args.arguments, none()])
|
|
2221
2221
|
}));
|
|
@@ -2228,7 +2228,7 @@ var optional2 = (param) => {
|
|
|
2228
2228
|
};
|
|
2229
2229
|
var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
|
|
2230
2230
|
if (!isEffect(defaultValue)) {
|
|
2231
|
-
return
|
|
2231
|
+
return map3(optional2(self), getOrElse(() => defaultValue));
|
|
2232
2232
|
}
|
|
2233
2233
|
return mapEffect(optional2(self), match({
|
|
2234
2234
|
onNone: () => defaultValue,
|
|
@@ -2383,7 +2383,7 @@ var matchParam = (param, patterns) => {
|
|
|
2383
2383
|
var transformSingle = (param, f) => {
|
|
2384
2384
|
return matchParam(param, {
|
|
2385
2385
|
Single: (single) => f(single),
|
|
2386
|
-
Map: (mapped) =>
|
|
2386
|
+
Map: (mapped) => map3(transformSingle(mapped.param, f), mapped.f),
|
|
2387
2387
|
Transform: (mapped) => transform(transformSingle(mapped.param, f), mapped.f, mapped.alternatives.map((alternative) => () => transformSingle(alternative(), f))),
|
|
2388
2388
|
Optional: (p) => optional2(transformSingle(p.param, f)),
|
|
2389
2389
|
Variadic: (p) => variadic(transformSingle(p.param, f), {
|
|
@@ -3326,7 +3326,7 @@ var withDescription3 = /* @__PURE__ */ dual(2, (self, description) => withDescri
|
|
|
3326
3326
|
var withMetavar2 = /* @__PURE__ */ dual(2, (self, metavar) => withMetavar(self, metavar));
|
|
3327
3327
|
var optional4 = (param) => optional2(param);
|
|
3328
3328
|
var withDefault2 = withDefault;
|
|
3329
|
-
var
|
|
3329
|
+
var map5 = /* @__PURE__ */ dual(2, (self, f) => map3(self, f));
|
|
3330
3330
|
var atLeast2 = /* @__PURE__ */ dual(2, (self, min) => atLeast(self, min));
|
|
3331
3331
|
var atMost2 = /* @__PURE__ */ dual(2, (self, max) => atMost(self, max));
|
|
3332
3332
|
|
|
@@ -3462,7 +3462,7 @@ var makeCommand = (options) => {
|
|
|
3462
3462
|
continue;
|
|
3463
3463
|
subcommandDocs.push({
|
|
3464
3464
|
group: group.group,
|
|
3465
|
-
commands:
|
|
3465
|
+
commands: map4(visible, (subcommand) => ({
|
|
3466
3466
|
name: subcommand.name,
|
|
3467
3467
|
alias: subcommand.alias,
|
|
3468
3468
|
shortDescription: subcommand.shortDescription,
|
|
@@ -3886,7 +3886,7 @@ var Wizard = /* @__PURE__ */ Action2({
|
|
|
3886
3886
|
run: () => void_3
|
|
3887
3887
|
});
|
|
3888
3888
|
var Completions = /* @__PURE__ */ Action2({
|
|
3889
|
-
flag: /* @__PURE__ */ Literals2("completions", ["bash", "zsh", "fish", "sh"]).pipe(optional4, /* @__PURE__ */
|
|
3889
|
+
flag: /* @__PURE__ */ Literals2("completions", ["bash", "zsh", "fish", "sh"]).pipe(optional4, /* @__PURE__ */ map5((v) => map2(v, (s) => s === "sh" ? "bash" : s)), /* @__PURE__ */ withMetavar2("<bash|zsh|fish|sh>"), /* @__PURE__ */ withDescription3("Print shell completion script")),
|
|
3890
3890
|
run: /* @__PURE__ */ fnUntraced(function* (shell, {
|
|
3891
3891
|
command
|
|
3892
3892
|
}) {
|
|
@@ -4631,7 +4631,7 @@ var promptSingle = (single) => {
|
|
|
4631
4631
|
const message = renderParamMessage(single);
|
|
4632
4632
|
switch (single.primitiveType._tag) {
|
|
4633
4633
|
case "Boolean":
|
|
4634
|
-
return
|
|
4634
|
+
return map6(run(Confirm({
|
|
4635
4635
|
message,
|
|
4636
4636
|
label: {
|
|
4637
4637
|
confirm: "true",
|
|
@@ -4644,7 +4644,7 @@ var promptSingle = (single) => {
|
|
|
4644
4644
|
})), (value) => commandLineArg(String(value)));
|
|
4645
4645
|
case "Choice": {
|
|
4646
4646
|
const choices = getChoiceKeys(single.primitiveType) ?? [];
|
|
4647
|
-
return
|
|
4647
|
+
return map6(run(Select({
|
|
4648
4648
|
message,
|
|
4649
4649
|
choices: choices.map((choice) => ({
|
|
4650
4650
|
title: choice,
|
|
@@ -4653,23 +4653,23 @@ var promptSingle = (single) => {
|
|
|
4653
4653
|
})), commandLineArg);
|
|
4654
4654
|
}
|
|
4655
4655
|
case "Date":
|
|
4656
|
-
return
|
|
4656
|
+
return map6(run(Date({
|
|
4657
4657
|
message
|
|
4658
4658
|
})), (date) => commandLineArg(date.toISOString()));
|
|
4659
4659
|
case "Finite":
|
|
4660
|
-
return
|
|
4660
|
+
return map6(run(Number3({
|
|
4661
4661
|
message
|
|
4662
4662
|
})), (value) => commandLineArg(String(value)));
|
|
4663
4663
|
case "Int":
|
|
4664
|
-
return
|
|
4664
|
+
return map6(run(Int4({
|
|
4665
4665
|
message
|
|
4666
4666
|
})), (value) => commandLineArg(String(value)));
|
|
4667
4667
|
case "Redacted":
|
|
4668
|
-
return
|
|
4668
|
+
return map6(run(Password({
|
|
4669
4669
|
message
|
|
4670
4670
|
})), (value) => commandLineArg(value2(value), "<redacted>"));
|
|
4671
4671
|
default:
|
|
4672
|
-
return
|
|
4672
|
+
return map6(run(String5({
|
|
4673
4673
|
message
|
|
4674
4674
|
})), commandLineArg);
|
|
4675
4675
|
}
|
|
@@ -5038,7 +5038,7 @@ var make2 = fn("SessionStore.make")(function* (options) {
|
|
|
5038
5038
|
operation,
|
|
5039
5039
|
cause
|
|
5040
5040
|
});
|
|
5041
|
-
const readStore = fs.readFileString(filePath).pipe(
|
|
5041
|
+
const readStore = fs.readFileString(filePath).pipe(map6(some), catchTag("PlatformError", (error) => isTagged(error.reason, "NotFound") ? succeed6(none()) : fail6(error)), mapError2(storeError("read")), flatMap3(match({
|
|
5042
5042
|
onNone: () => succeed6({}),
|
|
5043
5043
|
onSome: (text) => try_2({
|
|
5044
5044
|
try: () => JSON.parse(text),
|
|
@@ -5054,7 +5054,7 @@ var make2 = fn("SessionStore.make")(function* (options) {
|
|
|
5054
5054
|
};
|
|
5055
5055
|
const writeStore = (entries) => fs.makeDirectory(path.dirname(filePath), { recursive: true, mode: 448 }).pipe(andThen2(fs.writeFileString(filePath, `${JSON.stringify({ endpoints: entries }, null, 2)}
|
|
5056
5056
|
`, { mode: 384 })), andThen2(fs.chmod(filePath, 384)), mapError2(storeError("write")));
|
|
5057
|
-
const read = readStore.pipe(
|
|
5057
|
+
const read = readStore.pipe(map6((store) => currentEntries(store)[endpoint]?.id));
|
|
5058
5058
|
const write = (id) => readStore.pipe(flatMap3((store) => {
|
|
5059
5059
|
const entries = currentEntries(store);
|
|
5060
5060
|
entries[endpoint] = { id };
|
|
@@ -5101,7 +5101,7 @@ var createDoctorReport = fn("Doctor.createReport")(function* (options) {
|
|
|
5101
5101
|
catch: () => new Error(`parse ${relativePath}: invalid JSON`)
|
|
5102
5102
|
})), flatMap3((value) => decodeUnknownEffect2(schema)(value).pipe(mapError2((cause) => new Error(`decode ${relativePath}: ${cause.message}`)))));
|
|
5103
5103
|
const compiled = compiledBinary();
|
|
5104
|
-
const readPackageInfo = compiled ? succeed6({ name: binaryPackage() ?? "@opencode/browse", version: opencodeBrowserVersion2, bin: { opencodeBrowser: process.execPath } }) : readJsonFile("package.json", PackageMetadata).pipe(
|
|
5104
|
+
const readPackageInfo = compiled ? succeed6({ name: binaryPackage() ?? "@opencode/browse", version: opencodeBrowserVersion2, bin: { opencodeBrowser: process.execPath } }) : readJsonFile("package.json", PackageMetadata).pipe(map6((metadata) => ({
|
|
5105
5105
|
name: metadata.name,
|
|
5106
5106
|
version: metadata.version,
|
|
5107
5107
|
bin: {
|
|
@@ -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-
|
|
5847
|
+
const { runMcpServer } = yield* promise(() => import("./mcp-85av73hq.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-
|
|
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);
|
|
@@ -5941,7 +5941,7 @@ var execute = make("execute", {
|
|
|
5941
5941
|
file: String8("file").pipe(optional4, withDescription3("Read execute code from a file")),
|
|
5942
5942
|
session: sessionFlag("Continue an existing browse session; defaults to the OpenCode agent's session"),
|
|
5943
5943
|
rm: Boolean4("rm").pipe(withDefault2(false), withDescription3("Use a fresh one-shot session and close its tabs afterward")),
|
|
5944
|
-
timeoutMs: Int6("timeout-ms").pipe(optional4, withDescription3("Overall script timeout in milliseconds (paused during handoff); defaults to 60000, 0 disables")),
|
|
5944
|
+
timeoutMs: Int6("timeout-ms").pipe(optional4, withDescription3("Overall script timeout in milliseconds (paused during handoff); defaults to 60000, 0 disables. When set, it is also the timeout for Playwright actions and navigations, at least 30 seconds; 0 removes those too")),
|
|
5945
5945
|
targetUrl: String8("target-url").pipe(optional4, withDescription3("Use the attached page whose URL contains this text")),
|
|
5946
5946
|
targetIndex: Int6("target-index").pipe(optional4, withDescription3("Use the attached page at this zero-based index")),
|
|
5947
5947
|
json: Boolean4("json").pipe(withDefault2(false), withDescription3("Print a machine-readable result envelope: { ok, isError, text, value, valueUnavailable, error?, logs, warnings, diagnostic?, aftermath, session }"))
|
|
@@ -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-
|
|
6295
|
+
const [{ startRelay }, { parseAdditionalExtensionOrigins }] = yield* promise(() => Promise.all([import("./relay-xkw8xs4k.mjs"), import("./helpers-g8dsh6s5.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-
|
|
6300
|
+
yield* promise(() => import("./legacy-runtime-jj1srsz7.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.
|
|
11
|
+
var embeddedVersion = "0.0.17-dev.170";
|
|
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-
|
|
21
|
+
var takingOver = command === "serve" && !askedForHelp && legacyRuntimeActive(oldRuntime) && await import("./legacy-runtime-jj1srsz7.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-
|
|
26
|
+
const { migrateLegacy } = await import("./migrate-1vqatsz2.mjs");
|
|
27
27
|
migrateLegacy();
|
|
28
28
|
} catch {}
|
|
29
29
|
}
|
|
30
30
|
if (command === "--version" || command === "-v") {
|
|
31
|
-
const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-
|
|
31
|
+
const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-ngzs1vvq.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-
|
|
35
|
-
const { runBinaryMcp } = await import("./supervisor-
|
|
34
|
+
} else if (command === "mcp" && process.env.OPENCODE_BROWSER_MCP_DIRECT !== "1" && (await import("./supervisor-93fvdjav.mjs")).supervisesMcp()) {
|
|
35
|
+
const { runBinaryMcp } = await import("./supervisor-93fvdjav.mjs");
|
|
36
36
|
await runBinaryMcp(process.argv.slice(3));
|
|
37
37
|
} else if (invokedAs === "opencode-browser-mcp" || command === "mcp" && process.argv.length === 3) {
|
|
38
|
-
const { NodeRuntime } = await import("./index-
|
|
39
|
-
const { defaultTeardown } = await import("./Runtime-
|
|
40
|
-
const { runMcpServer } = await import("./mcp-
|
|
38
|
+
const { NodeRuntime } = await import("./index-j79y2me1.mjs");
|
|
39
|
+
const { defaultTeardown } = await import("./Runtime-jrg7sc9p.mjs");
|
|
40
|
+
const { runMcpServer } = await import("./mcp-85av73hq.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-
|
|
62
|
+
const { runSelfUpdate, runRuntimeSwitch } = await import("./runtime-update-ny5cgrba.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-
|
|
65
|
+
const { runUpdateCommand } = await import("./update-y6xqxqww.mjs");
|
|
66
66
|
await runUpdateCommand(process.argv.slice(3));
|
|
67
67
|
} else if (command && setupCommands.has(command) && !askedForHelp) {
|
|
68
|
-
const { runSetup } = await import("./setup-
|
|
68
|
+
const { runSetup } = await import("./setup-18revp9m.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-
|
|
105
|
+
const { printSetupStatus } = await import("./setup-18revp9m.mjs");
|
|
106
106
|
printSetupStatus();
|
|
107
107
|
}
|
|
108
|
-
const { runCli } = await import("./cli-
|
|
108
|
+
const { runCli } = await import("./cli-k6tgme5c.mjs");
|
|
109
109
|
runCli(preCliHelp ? ["--help"] : undefined);
|
|
110
110
|
}
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
exports_NodeRuntime,
|
|
4
4
|
exports_NodeStdio,
|
|
5
5
|
exports_NodeServices
|
|
6
|
-
} from "./main-
|
|
7
|
-
import"./main-
|
|
6
|
+
} from "./main-s3g4jwx5.mjs";
|
|
7
|
+
import"./main-3mhynene.mjs";
|
|
8
8
|
export {
|
|
9
9
|
exports_NodeHttpClient as NodeHttpClient,
|
|
10
10
|
exports_NodeRuntime as NodeRuntime,
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./main-pmfd055v.mjs";
|
|
6
6
|
import {
|
|
7
7
|
opencodeBrowserVersion2
|
|
8
|
-
} from "./main-
|
|
8
|
+
} from "./main-dsx1pjp8.mjs";
|
|
9
9
|
import {
|
|
10
10
|
installerBinaryPath,
|
|
11
11
|
compiledBinary,
|
|
12
12
|
channelOf,
|
|
13
13
|
installedRuntime2
|
|
14
|
-
} from "./main-
|
|
14
|
+
} from "./main-apebcva2.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-
|
|
40
|
+
const { copyLegacyData } = await import("./migrate-1vqatsz2.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-
|
|
54
|
+
const { migrateLegacy } = await import("./migrate-1vqatsz2.mjs");
|
|
55
55
|
migrateLegacy(home, now);
|
|
56
56
|
return true;
|
|
57
57
|
} catch {
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
bodyJson,
|
|
16
16
|
HttpClient,
|
|
17
17
|
layerNodeHttp
|
|
18
|
-
} from "./main-
|
|
18
|
+
} from "./main-s3g4jwx5.mjs";
|
|
19
19
|
import {
|
|
20
20
|
opencodeBrowserBuildId2
|
|
21
|
-
} from "./main-
|
|
21
|
+
} from "./main-dsx1pjp8.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-
|
|
31
|
+
} from "./main-apebcva2.mjs";
|
|
32
32
|
import {
|
|
33
33
|
relayAuthorization
|
|
34
|
-
} from "./main-
|
|
34
|
+
} from "./main-16tqhq5g.mjs";
|
|
35
35
|
import {
|
|
36
36
|
Pointer,
|
|
37
37
|
passthrough,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
TaggedError2,
|
|
76
76
|
toCodecStringTree,
|
|
77
77
|
Json
|
|
78
|
-
} from "./main-
|
|
78
|
+
} from "./main-f98q5tcf.mjs";
|
|
79
79
|
import {
|
|
80
80
|
assignProperty,
|
|
81
81
|
PipeInspectableProto,
|
|
@@ -86,14 +86,14 @@ import {
|
|
|
86
86
|
isSome,
|
|
87
87
|
match,
|
|
88
88
|
getOrElse,
|
|
89
|
-
|
|
89
|
+
map2,
|
|
90
90
|
Service2,
|
|
91
91
|
Reference,
|
|
92
92
|
succeed,
|
|
93
93
|
fail2,
|
|
94
94
|
isFailure,
|
|
95
95
|
isSuccess,
|
|
96
|
-
|
|
96
|
+
map3,
|
|
97
97
|
isCanonicalArrayIndex,
|
|
98
98
|
effect,
|
|
99
99
|
provide2,
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
andThen2,
|
|
112
112
|
tap,
|
|
113
113
|
result,
|
|
114
|
-
|
|
114
|
+
map6,
|
|
115
115
|
catch_,
|
|
116
116
|
catchDefect,
|
|
117
117
|
mapError2,
|
|
@@ -127,7 +127,7 @@ import {
|
|
|
127
127
|
mapEager,
|
|
128
128
|
flatMapEager,
|
|
129
129
|
catchEager
|
|
130
|
-
} from "./main-
|
|
130
|
+
} from "./main-wpt5ha44.mjs";
|
|
131
131
|
import {
|
|
132
132
|
dual,
|
|
133
133
|
memoize,
|
|
@@ -280,13 +280,13 @@ function make2(evaluator) {
|
|
|
280
280
|
return self;
|
|
281
281
|
}
|
|
282
282
|
var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
|
|
283
|
-
var
|
|
284
|
-
return make2((provider, pathPrefix) =>
|
|
283
|
+
var map = /* @__PURE__ */ dual(2, (self, f) => {
|
|
284
|
+
return make2((provider, pathPrefix) => map6(evaluateAt(self, provider, pathPrefix), map3(f)));
|
|
285
285
|
});
|
|
286
286
|
var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
|
|
287
287
|
return make2((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
|
|
288
288
|
});
|
|
289
|
-
var option = (self) => self.pipe(
|
|
289
|
+
var option = (self) => self.pipe(map(some), withDefault(none()));
|
|
290
290
|
var isSourceError = (u) => isTagged(u, "SourceError");
|
|
291
291
|
var cursorToString = () => "<configuration>";
|
|
292
292
|
var loadCursor = (provider, path) => provider.load(path).pipe(orDie, mapEager((node) => ({
|
|
@@ -1395,7 +1395,7 @@ var make3 = fn("RelayClient.make")(function* (options) {
|
|
|
1395
1395
|
const handleResponse = (response, path, schema) => readBody(response, path).pipe(flatMap3((body) => {
|
|
1396
1396
|
if (response.status < 200 || response.status >= 300) {
|
|
1397
1397
|
const envelope = decodeErrorEnvelope(body);
|
|
1398
|
-
const message = isSome(envelope) ? envelope.value.error : getOrElse(
|
|
1398
|
+
const message = isSome(envelope) ? envelope.value.error : getOrElse(map2(decodeErrorMessage(body), (value) => value.error), () => `Relay responded with HTTP ${response.status} for ${path}`);
|
|
1399
1399
|
return fail6(new RelayRejected({
|
|
1400
1400
|
message,
|
|
1401
1401
|
status: response.status,
|
|
@@ -1463,18 +1463,18 @@ var make3 = fn("RelayClient.make")(function* (options) {
|
|
|
1463
1463
|
shutdown: (request) => postJson("/shutdown", { ...request }, RelayShutdownResponse),
|
|
1464
1464
|
extensionStatus: getJson("/extension/status", ExtensionStatus),
|
|
1465
1465
|
targets: getJson("/json/list", TargetSummaries),
|
|
1466
|
-
sessions: getJson("/cli/sessions", SessionsContainer).pipe(
|
|
1466
|
+
sessions: getJson("/cli/sessions", SessionsContainer).pipe(map6((container) => container.sessions)),
|
|
1467
1467
|
sessionNew: (id, options) => postJson("/cli/session/new", {
|
|
1468
1468
|
...id ? { id } : {},
|
|
1469
1469
|
...options?.readOnly ? { readOnly: true } : {},
|
|
1470
1470
|
...options?.allowedOrigins && options.allowedOrigins.length > 0 ? { allowedOrigins: [...options.allowedOrigins] } : {},
|
|
1471
1471
|
...options?.browser ? { browser: options.browser } : {}
|
|
1472
|
-
}, SessionContainer).pipe(
|
|
1473
|
-
sessionAllowlist: (id, allowedOrigins) => postJson("/cli/session/allowlist", { id, allowedOrigins: [...allowedOrigins] }, SessionContainer).pipe(
|
|
1472
|
+
}, SessionContainer).pipe(map6((container) => container.session)),
|
|
1473
|
+
sessionAllowlist: (id, allowedOrigins) => postJson("/cli/session/allowlist", { id, allowedOrigins: [...allowedOrigins] }, SessionContainer).pipe(map6((container) => container.session)),
|
|
1474
1474
|
sessionEnsure: (id, options) => postJson("/v1/sessions/ensure", {
|
|
1475
1475
|
id,
|
|
1476
1476
|
...options?.readOnly === undefined ? {} : { readOnly: options.readOnly }
|
|
1477
|
-
}, SessionContainer).pipe(
|
|
1477
|
+
}, SessionContainer).pipe(map6((container) => container.session)),
|
|
1478
1478
|
sessionReset: (id) => postJson("/cli/session/reset", { id }, SessionResetResponse),
|
|
1479
1479
|
sessionAdopt: ({ sessionId, ...request }) => postJson("/cli/session/adopt", {
|
|
1480
1480
|
...request,
|
|
@@ -2011,4 +2011,4 @@ function isRelayStartingOrUnreachable(error) {
|
|
|
2011
2011
|
return isRelayStarting(error) || isRelayUnreachable(error);
|
|
2012
2012
|
}
|
|
2013
2013
|
|
|
2014
|
-
export { withDefault, option, String2, Int, Boolean2, SessionContainer, SessionsContainer, SessionDeleted, SessionResetResponse, ExecuteRequest, SessionAdoptRequest, SessionNewRequest, SessionEnsureRequest, SessionIdRequest, SessionAllowlistRequest, SessionAdoptResponse, ExecuteLogEntry, ExecuteLogSummary, ExecuteAftermath, AuthenticatedJsonRequest, AuthenticatedJsonOutcome, ExtensionStatus, RelayVersion, RelayShutdownRequest, NetworkStartRequest, NetworkSessionRequest, NetworkStopRequest, AuthProfileSummary, NetworkStopResponse, AuthProfileRequest, AuthRefreshRequest, AuthRunRequest, AuthRunResponse, RecordingQuality, RecordingTargetRequest, RecordingStartRequest, TabsCleanupResponse, SettingsGetResponse, SettingsSetResponse, FlightRecorderStartRequest, FlightRecorderSaveRequest, HttpRouteError2, formatHostForUrl2, listenHttpServer2, closeHttpServer2, closeWebSocketServer2, logCloseError2, sendJson2, readJsonBody2, stableUnpackedExtensionOrigin2, chromeExtensionOriginForPath2, parseAdditionalExtensionOrigins2, validateHostHeader2, validateBrowserFetchSite2, validateWebSocketOrigin2, defaultHost2, defaultPort2, optionalSessionId2, isValidSessionId2, requiredSessionId2, parseTargetSelection2, generateSessionId2, sendCdpResponse2, sendCdpEvent2, getObject2, getString2, createTargetUrl2, getNumber2, getIdText2, headerValue2, getTargetInfo2, isRestrictedTarget2, isRestrictedUrl2, dataUrlDocument2, portConfig, extensionOriginsConfig, endpointForPort, RelayUnreachable, RelayRejected, Service, layerFetch, layerFetchMcp, appendManagedRelayProcessLog, relayLog, shouldWaitForExtensionReconnect, relayBuildProblem, ensureRelay, restartRelay, extensionReconnectWaitMs, ensureExtensionConnected, stoppedRelayStatus, statusCollections, startManagedRelay };
|
|
2014
|
+
export { map, withDefault, option, String2, Int, Boolean2, SessionContainer, SessionsContainer, SessionDeleted, SessionResetResponse, ExecuteRequest, SessionAdoptRequest, SessionNewRequest, SessionEnsureRequest, SessionIdRequest, SessionAllowlistRequest, SessionAdoptResponse, ExecuteLogEntry, ExecuteLogSummary, ExecuteAftermath, AuthenticatedJsonRequest, AuthenticatedJsonOutcome, ExtensionStatus, RelayVersion, RelayShutdownRequest, NetworkStartRequest, NetworkSessionRequest, NetworkStopRequest, AuthProfileSummary, NetworkStopResponse, AuthProfileRequest, AuthRefreshRequest, AuthRunRequest, AuthRunResponse, RecordingQuality, RecordingTargetRequest, RecordingStartRequest, TabsCleanupResponse, SettingsGetResponse, SettingsSetResponse, FlightRecorderStartRequest, FlightRecorderSaveRequest, HttpRouteError2, formatHostForUrl2, listenHttpServer2, closeHttpServer2, closeWebSocketServer2, logCloseError2, sendJson2, readJsonBody2, stableUnpackedExtensionOrigin2, chromeExtensionOriginForPath2, parseAdditionalExtensionOrigins2, validateHostHeader2, validateBrowserFetchSite2, validateWebSocketOrigin2, defaultHost2, defaultPort2, optionalSessionId2, isValidSessionId2, requiredSessionId2, parseTargetSelection2, generateSessionId2, sendCdpResponse2, sendCdpEvent2, getObject2, getString2, createTargetUrl2, getNumber2, getIdText2, headerValue2, getTargetInfo2, isRestrictedTarget2, isRestrictedUrl2, dataUrlDocument2, portConfig, extensionOriginsConfig, endpointForPort, RelayUnreachable, RelayRejected, Service, layerFetch, layerFetchMcp, appendManagedRelayProcessLog, relayLog, shouldWaitForExtensionReconnect, relayBuildProblem, ensureRelay, restartRelay, extensionReconnectWaitMs, ensureExtensionConnected, stoppedRelayStatus, statusCollections, startManagedRelay };
|