@opencode/browse 0.0.17-dev.188 → 0.0.17-dev.190
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-hmy7zww1.mjs → Runtime-tvxdkp60.mjs} +1 -1
- package/dist/{cli-5ezftnv2.mjs → cli-187xhkq3.mjs} +58 -640
- package/dist/cli.mjs +18 -13
- package/dist/{helpers-k5ybc61c.mjs → helpers-fdvz3c3x.mjs} +1 -1
- package/dist/{index-37ssbv86.mjs → index-kmxtpxxk.mjs} +2 -2
- package/dist/{legacy-runtime-j0sw664c.mjs → legacy-runtime-c21ek0kh.mjs} +7 -7
- package/dist/{main-m9n50a86.mjs → main-0yz7xt96.mjs} +2 -7
- package/dist/{main-tryp3jph.mjs → main-15j1vqtd.mjs} +3 -4
- package/dist/{main-d8km89cz.mjs → main-1hmertmt.mjs} +2 -2
- package/dist/main-6cw1x4s6.mjs +4 -0
- package/dist/{main-7v4scg8t.mjs → main-ade65pcs.mjs} +3 -3
- package/dist/{main-ba028a85.mjs → main-cpprv1ek.mjs} +84 -47
- package/dist/{main-0h387a1q.mjs → main-d1th6z2h.mjs} +3 -3
- package/dist/{main-mvjg1jye.mjs → main-dhxzhqef.mjs} +37 -94
- package/dist/main-gexpjhk5.mjs +32 -0
- package/dist/{main-3514h33n.mjs → main-hh16893t.mjs} +3 -3
- package/dist/{main-pqxrvknr.mjs → main-hhrrx25a.mjs} +2 -2
- package/dist/{main-9q9919e3.mjs → main-jtgan144.mjs} +3 -3
- package/dist/{main-4qq4n32k.mjs → main-p1jhnbyw.mjs} +2 -2
- package/dist/{main-dab23et4.mjs → main-r7y01543.mjs} +1 -1
- package/dist/{main-kzcrfvmh.mjs → main-t9q294sn.mjs} +4 -4
- package/dist/{main-7h3v45ag.mjs → main-v1r7bbf2.mjs} +5 -5
- package/dist/{main-66fy08h5.mjs → main-v7jcgh2s.mjs} +58 -62
- package/dist/{main-svhdexdh.mjs → main-wxqxjtvp.mjs} +3 -3
- package/dist/{main-8xd753k5.mjs → main-z4c819pg.mjs} +4 -37
- package/dist/{main-j4kq90pw.mjs → main-zrjcdksk.mjs} +1 -1
- package/dist/{mcp-jh4atts2.mjs → mcp-w0fj2t98.mjs} +132 -293
- package/dist/{migrate-r433scvg.mjs → migrate-xa3dqz6m.mjs} +7 -7
- package/dist/{relay-1epy67be.mjs → relay-p30czp06.mjs} +2082 -4323
- package/dist/{remove-stored-secrets-wy3pakjj.mjs → remove-stored-secrets-ss9dh620.mjs} +1 -1
- package/dist/{runtime-update-ww2pejn2.mjs → runtime-update-bvpd4hbt.mjs} +10 -10
- package/dist/{setup-n1hpbkz2.mjs → setup-8cpwze4y.mjs} +10 -10
- package/dist/{update-z7qvagkc.mjs → update-mcrv8sjr.mjs} +3 -3
- package/dist/{version-2123c138.mjs → version-d9fdwjbr.mjs} +1 -1
- package/package.json +2 -3
- package/dist/main-qrqem3fy.mjs +0 -4
- package/dist/skill-text-0ndr12dz.mjs +0 -492
- package/skills/browse/SKILL.md +0 -484
package/dist/cli.mjs
CHANGED
|
@@ -5,10 +5,13 @@ import {
|
|
|
5
5
|
legacyRuntimeActive,
|
|
6
6
|
settleLegacyHome
|
|
7
7
|
} from "./main-pmfd055v.mjs";
|
|
8
|
+
import {
|
|
9
|
+
agentHelp
|
|
10
|
+
} from "./main-gexpjhk5.mjs";
|
|
8
11
|
|
|
9
12
|
// src/main.ts
|
|
10
13
|
import path from "node:path";
|
|
11
|
-
var embeddedVersion = "0.0.17-dev.
|
|
14
|
+
var embeddedVersion = "0.0.17-dev.190";
|
|
12
15
|
var setupCommands = new Set(["install", "uninstall", "extension", "pair", "set"]);
|
|
13
16
|
var command = process.argv[2];
|
|
14
17
|
var args = process.argv.slice(3);
|
|
@@ -18,27 +21,27 @@ var options = separator === -1 ? args : args.slice(0, separator);
|
|
|
18
21
|
var askedForHelp = command === "--help" || command === "-h" || options.some((arg) => arg === "--help" || arg === "-h");
|
|
19
22
|
var preCliHelp = askedForHelp && (command === "update" || command !== undefined && setupCommands.has(command));
|
|
20
23
|
var oldRuntime = legacyRuntime();
|
|
21
|
-
var takingOver = command === "serve" && !askedForHelp && legacyRuntimeActive(oldRuntime) && await import("./legacy-runtime-
|
|
24
|
+
var takingOver = command === "serve" && !askedForHelp && legacyRuntimeActive(oldRuntime) && await import("./legacy-runtime-c21ek0kh.mjs").then((module) => module.prepareLegacyTakeover(oldRuntime)).catch(() => false);
|
|
22
25
|
if (!takingOver)
|
|
23
26
|
settleLegacyHome(process.env, oldRuntime);
|
|
24
27
|
if (command !== "--version" && command !== "-v" && !askedForHelp && !takingOver) {
|
|
25
|
-
const { removeStoredSecrets } = await import("./remove-stored-secrets-
|
|
28
|
+
const { removeStoredSecrets } = await import("./remove-stored-secrets-ss9dh620.mjs");
|
|
26
29
|
removeStoredSecrets();
|
|
27
30
|
}
|
|
28
31
|
if (command !== "--version" && command !== "-v" && !askedForHelp && !takingOver && !process.env.OPENCODE_BROWSER_HOME && legacyRootsLeft()) {
|
|
29
32
|
try {
|
|
30
|
-
const { migrateLegacy } = await import("./migrate-
|
|
33
|
+
const { migrateLegacy } = await import("./migrate-xa3dqz6m.mjs");
|
|
31
34
|
migrateLegacy();
|
|
32
35
|
} catch {}
|
|
33
36
|
}
|
|
34
37
|
if (command === "--version" || command === "-v") {
|
|
35
|
-
const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-
|
|
38
|
+
const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-d9fdwjbr.mjs")).opencodeBrowserVersion;
|
|
36
39
|
process.stdout.write(`${opencodeBrowserVersion}
|
|
37
40
|
`);
|
|
38
41
|
} else if (invokedAs === "opencode-browser-mcp" || command === "mcp" && process.argv.length === 3) {
|
|
39
|
-
const { NodeRuntime } = await import("./index-
|
|
40
|
-
const { defaultTeardown } = await import("./Runtime-
|
|
41
|
-
const { runMcpServer } = await import("./mcp-
|
|
42
|
+
const { NodeRuntime } = await import("./index-kmxtpxxk.mjs");
|
|
43
|
+
const { defaultTeardown } = await import("./Runtime-tvxdkp60.mjs");
|
|
44
|
+
const { runMcpServer } = await import("./mcp-w0fj2t98.mjs");
|
|
42
45
|
let stdinGone = false;
|
|
43
46
|
const onStdinGone = () => {
|
|
44
47
|
stdinGone = true;
|
|
@@ -60,13 +63,13 @@ if (command === "--version" || command === "-v") {
|
|
|
60
63
|
})
|
|
61
64
|
}));
|
|
62
65
|
} else if (command === "self-update" || command === "runtime-switch") {
|
|
63
|
-
const { runSelfUpdate, runRuntimeSwitch } = await import("./runtime-update-
|
|
66
|
+
const { runSelfUpdate, runRuntimeSwitch } = await import("./runtime-update-bvpd4hbt.mjs");
|
|
64
67
|
await (command === "self-update" ? runSelfUpdate : runRuntimeSwitch)(process.argv.slice(3));
|
|
65
68
|
} else if (command === "update" && !askedForHelp) {
|
|
66
|
-
const { runUpdateCommand } = await import("./update-
|
|
69
|
+
const { runUpdateCommand } = await import("./update-mcrv8sjr.mjs");
|
|
67
70
|
await runUpdateCommand(process.argv.slice(3));
|
|
68
71
|
} else if (command && setupCommands.has(command) && !askedForHelp) {
|
|
69
|
-
const { runSetup } = await import("./setup-
|
|
72
|
+
const { runSetup } = await import("./setup-8cpwze4y.mjs");
|
|
70
73
|
await runSetup(command, process.argv.slice(3));
|
|
71
74
|
} else {
|
|
72
75
|
if (preCliHelp || !command || command === "--help" || command === "-h") {
|
|
@@ -99,12 +102,14 @@ browse keeps its files in $XDG_CONFIG_HOME/browse, $XDG_DATA_HOME/browse, $XDG_S
|
|
|
99
102
|
$XDG_CACHE_HOME/browse (defaults under ~/.config, ~/.local/share, ~/.local/state and ~/.cache), and the
|
|
100
103
|
executable in ~/.local/bin (or $XDG_BIN_HOME).
|
|
101
104
|
|
|
105
|
+
${agentHelp}
|
|
106
|
+
|
|
102
107
|
`);
|
|
103
108
|
}
|
|
104
109
|
if (command === "status" && !askedForHelp && !process.argv.includes("--json")) {
|
|
105
|
-
const { printSetupStatus } = await import("./setup-
|
|
110
|
+
const { printSetupStatus } = await import("./setup-8cpwze4y.mjs");
|
|
106
111
|
printSetupStatus();
|
|
107
112
|
}
|
|
108
|
-
const { runCli } = await import("./cli-
|
|
113
|
+
const { runCli } = await import("./cli-187xhkq3.mjs");
|
|
109
114
|
runCli(preCliHelp ? ["--help"] : undefined);
|
|
110
115
|
}
|
|
@@ -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-hh16893t.mjs";
|
|
7
|
+
import"./main-zrjcdksk.mjs";
|
|
8
8
|
export {
|
|
9
9
|
exports_NodeHttpClient as NodeHttpClient,
|
|
10
10
|
exports_NodeRuntime as NodeRuntime,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import"./main-
|
|
1
|
+
import"./main-dhxzhqef.mjs";
|
|
2
2
|
import {
|
|
3
3
|
channelOf,
|
|
4
4
|
installedRuntime2
|
|
5
|
-
} from "./main-
|
|
5
|
+
} from "./main-0yz7xt96.mjs";
|
|
6
6
|
import {
|
|
7
7
|
legacyRuntimeActive,
|
|
8
8
|
insidePath,
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
} from "./main-pmfd055v.mjs";
|
|
11
11
|
import {
|
|
12
12
|
opencodeBrowserVersion2
|
|
13
|
-
} from "./main-
|
|
13
|
+
} from "./main-6cw1x4s6.mjs";
|
|
14
14
|
import {
|
|
15
15
|
relayPortPinned,
|
|
16
16
|
resolveRelayPort,
|
|
17
17
|
probeRelayPort
|
|
18
|
-
} from "./main-
|
|
18
|
+
} from "./main-p1jhnbyw.mjs";
|
|
19
19
|
import {
|
|
20
20
|
installerBinaryPath,
|
|
21
21
|
compiledBinary
|
|
22
|
-
} from "./main-
|
|
22
|
+
} from "./main-15j1vqtd.mjs";
|
|
23
23
|
|
|
24
24
|
// src/setup/legacy-runtime.ts
|
|
25
25
|
import fs from "node:fs";
|
|
@@ -52,7 +52,7 @@ async function prepareLegacyTakeover(legacy, options = {}) {
|
|
|
52
52
|
return false;
|
|
53
53
|
}
|
|
54
54
|
const home = options.home ?? os.homedir();
|
|
55
|
-
const { copyLegacyData } = await import("./migrate-
|
|
55
|
+
const { copyLegacyData } = await import("./migrate-xa3dqz6m.mjs");
|
|
56
56
|
delete env.OPENCODE_BROWSER_HOME;
|
|
57
57
|
copyLegacyData(home);
|
|
58
58
|
pending = { legacy, install, home };
|
|
@@ -66,7 +66,7 @@ async function commitLegacyTakeover(now = Date.now()) {
|
|
|
66
66
|
try {
|
|
67
67
|
if (!adoptLegacyRuntime(legacy, install, now))
|
|
68
68
|
return false;
|
|
69
|
-
const { migrateLegacy } = await import("./migrate-
|
|
69
|
+
const { migrateLegacy } = await import("./migrate-xa3dqz6m.mjs");
|
|
70
70
|
migrateLegacy(home, now);
|
|
71
71
|
return true;
|
|
72
72
|
} catch {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./main-pmfd055v.mjs";
|
|
5
5
|
import {
|
|
6
6
|
opencodeBrowserVersion2
|
|
7
|
-
} from "./main-
|
|
7
|
+
} from "./main-6cw1x4s6.mjs";
|
|
8
8
|
import {
|
|
9
9
|
stateRoot,
|
|
10
10
|
fromCheckout,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
installedBinary,
|
|
14
14
|
cliPrefix,
|
|
15
15
|
RELEASE_SERVICE
|
|
16
|
-
} from "./main-
|
|
16
|
+
} from "./main-15j1vqtd.mjs";
|
|
17
17
|
|
|
18
18
|
// src/protocol.ts
|
|
19
19
|
var extensionProtocolVersion = 3;
|
|
@@ -77,10 +77,6 @@ var extensionCommandMethodValues = [
|
|
|
77
77
|
"pageStatus.set",
|
|
78
78
|
"pageStatus.clear",
|
|
79
79
|
"runtime.reload",
|
|
80
|
-
"recording.start",
|
|
81
|
-
"recording.stop",
|
|
82
|
-
"recording.status",
|
|
83
|
-
"recording.cancel",
|
|
84
80
|
"tabs.cleanup",
|
|
85
81
|
"update.notice",
|
|
86
82
|
"relay.settings",
|
|
@@ -102,7 +98,6 @@ var extensionEventMethodValues = [
|
|
|
102
98
|
"tabs.opened",
|
|
103
99
|
"pong",
|
|
104
100
|
"log",
|
|
105
|
-
"recording.cancelled",
|
|
106
101
|
"pageStatus.requested",
|
|
107
102
|
"settings"
|
|
108
103
|
];
|
|
@@ -49,7 +49,6 @@ function fromCheckout() {
|
|
|
49
49
|
return !compiledBinary() && fs.existsSync(path.join(packageRoot(), "src", "main.ts"));
|
|
50
50
|
}
|
|
51
51
|
var compiledBinary = () => globalThis.__OPENCODE_BROWSER_COMPILED__ === true;
|
|
52
|
-
var binaryPackage = () => globalThis.__OPENCODE_BROWSER_TARGET__ ? `@opencode/browse-${globalThis.__OPENCODE_BROWSER_TARGET__}` : undefined;
|
|
53
52
|
var binaryName = (platform = process.platform) => platform === "win32" ? "browse.exe" : "browse";
|
|
54
53
|
var scriptEntry = (entry) => /\.[cm]?[jt]s$/.test(entry);
|
|
55
54
|
var entryCommand = (entry, node = process.execPath) => scriptEntry(entry) ? [node, entry] : [entry];
|
|
@@ -106,7 +105,7 @@ function cliInstall() {
|
|
|
106
105
|
return { kind: "binary", binary: installedBinary() ?? process.execPath, pathEnv: process.env.PATH };
|
|
107
106
|
if (fromCheckout())
|
|
108
107
|
return { kind: "checkout", bundle: path.join(packageRoot(), "dist", "cli.mjs") };
|
|
109
|
-
return { kind: "npm", version: "0.0.17-dev.
|
|
108
|
+
return { kind: "npm", version: "0.0.17-dev.190", npx: /[/\\]_npx[/\\]/.test(process.argv[1] ?? "") };
|
|
110
109
|
}
|
|
111
110
|
function cliPrefix(install = cliInstall()) {
|
|
112
111
|
if (install.kind === "binary") {
|
|
@@ -128,7 +127,7 @@ function storeConfig(env = process.env, baked = { id: "mfnicocicmmlkpjnaffgihfjh
|
|
|
128
127
|
return id ? { id } : {};
|
|
129
128
|
}
|
|
130
129
|
var RELEASE_SERVICE = "https://anoma.ly/release";
|
|
131
|
-
function devExtension(baked = { file: "browse-extension-0.0.17-dev.
|
|
130
|
+
function devExtension(baked = { file: "browse-extension-0.0.17-dev.190.zip", sha256: "3a82201d82c411fe1b6a54de650affdc77aa59eef1f8e318ae4c49674a5712d4", size: 184458 }) {
|
|
132
131
|
return baked && /^[0-9a-f]{64}$/.test(baked.sha256) && /^[\w.-]+\.zip$/.test(baked.file) ? baked : undefined;
|
|
133
132
|
}
|
|
134
133
|
var devExtensionUrl = (extension, env = process.env) => `${(env.OPENCODE_BROWSER_RELEASE_SERVICE || RELEASE_SERVICE).replace(/\/+$/, "")}/browse/files/${extension.sha256}/${extension.file}`;
|
|
@@ -138,4 +137,4 @@ function installCommand() {
|
|
|
138
137
|
return fromCheckout() ? `cd ${quoted(path.dirname(packageRoot()))} && bun run setup` : cliCommand("install");
|
|
139
138
|
}
|
|
140
139
|
|
|
141
|
-
export { defaultRoots, configRoot2, dataRoot, stateRoot, cacheRoot, binRoot, installedBinaryPath, installerBinaryPath, defaultSettingsPath, oldStoreMarker, fromCheckout, compiledBinary,
|
|
140
|
+
export { defaultRoots, configRoot2, dataRoot, stateRoot, cacheRoot, binRoot, installedBinaryPath, installerBinaryPath, defaultSettingsPath, oldStoreMarker, fromCheckout, compiledBinary, binaryName, scriptEntry, entryCommand, resolveWindowsShim, entrySpawnCommand, installedBinary, runningEntry, checkoutRoot, cliPrefix, cliCommand, PUBLIC_STORE_ID, storeConfig, RELEASE_SERVICE, devExtension, devExtensionUrl, devExtensionFolder, storeUrl, installCommand };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writePrivateJsonFileSync
|
|
3
|
-
} from "./main-
|
|
3
|
+
} from "./main-dhxzhqef.mjs";
|
|
4
4
|
import {
|
|
5
5
|
dataRoot,
|
|
6
6
|
stateRoot
|
|
7
|
-
} from "./main-
|
|
7
|
+
} from "./main-15j1vqtd.mjs";
|
|
8
8
|
|
|
9
9
|
// src/relay/browser-pairing.ts
|
|
10
10
|
import crypto from "node:crypto";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
installedRuntime2,
|
|
4
4
|
autoUpdateStatus,
|
|
5
5
|
updateAvailable
|
|
6
|
-
} from "./main-
|
|
6
|
+
} from "./main-0yz7xt96.mjs";
|
|
7
7
|
import {
|
|
8
8
|
cacheRoot,
|
|
9
9
|
compiledBinary,
|
|
10
10
|
checkoutRoot,
|
|
11
11
|
cliCommand
|
|
12
|
-
} from "./main-
|
|
12
|
+
} from "./main-15j1vqtd.mjs";
|
|
13
13
|
|
|
14
14
|
// src/update.ts
|
|
15
15
|
import { execFile, spawnSync } from "node:child_process";
|
|
@@ -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-
|
|
318
|
+
const { runInstalledUpdate } = await import("./runtime-update-bvpd4hbt.mjs");
|
|
319
319
|
if (await runInstalledUpdate(args))
|
|
320
320
|
return;
|
|
321
321
|
if (compiledBinary()) {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
compareVersions,
|
|
6
6
|
installedRuntime2,
|
|
7
7
|
installedVersion
|
|
8
|
-
} from "./main-
|
|
8
|
+
} from "./main-0yz7xt96.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ensurePrivateDirectorySync,
|
|
11
11
|
SessionContainer,
|
|
@@ -30,13 +30,10 @@ import {
|
|
|
30
30
|
SettingsGetResponse,
|
|
31
31
|
SettingsSetResponse,
|
|
32
32
|
RecordingCancelResponse,
|
|
33
|
-
FlightRecorderStatusResponse,
|
|
34
|
-
FlightRecorderSaveResponse,
|
|
35
|
-
FlightRecorderCancelResponse,
|
|
36
33
|
RelayErrorCode,
|
|
37
34
|
ErrorEnvelope,
|
|
38
35
|
defaultPort2
|
|
39
|
-
} from "./main-
|
|
36
|
+
} from "./main-dhxzhqef.mjs";
|
|
40
37
|
import {
|
|
41
38
|
get,
|
|
42
39
|
post,
|
|
@@ -44,13 +41,13 @@ import {
|
|
|
44
41
|
bodyJson,
|
|
45
42
|
HttpClient,
|
|
46
43
|
layerNodeHttp
|
|
47
|
-
} from "./main-
|
|
44
|
+
} from "./main-hh16893t.mjs";
|
|
48
45
|
import {
|
|
49
46
|
opencodeBrowserBuildId2
|
|
50
|
-
} from "./main-
|
|
47
|
+
} from "./main-6cw1x4s6.mjs";
|
|
51
48
|
import {
|
|
52
49
|
relayAuthorization
|
|
53
|
-
} from "./main-
|
|
50
|
+
} from "./main-hhrrx25a.mjs";
|
|
54
51
|
import {
|
|
55
52
|
endpointForPort,
|
|
56
53
|
configuredRelayPort,
|
|
@@ -58,14 +55,14 @@ import {
|
|
|
58
55
|
readRelayState,
|
|
59
56
|
processAlive,
|
|
60
57
|
resolveRelayPort
|
|
61
|
-
} from "./main-
|
|
58
|
+
} from "./main-p1jhnbyw.mjs";
|
|
62
59
|
import {
|
|
63
60
|
stateRoot,
|
|
64
61
|
compiledBinary,
|
|
65
62
|
scriptEntry,
|
|
66
63
|
cliCommand,
|
|
67
64
|
installCommand
|
|
68
|
-
} from "./main-
|
|
65
|
+
} from "./main-15j1vqtd.mjs";
|
|
69
66
|
import {
|
|
70
67
|
Pointer,
|
|
71
68
|
passthrough,
|
|
@@ -92,7 +89,7 @@ import {
|
|
|
92
89
|
Defect,
|
|
93
90
|
TaggedError2,
|
|
94
91
|
toCodecStringTree
|
|
95
|
-
} from "./main-
|
|
92
|
+
} from "./main-z4c819pg.mjs";
|
|
96
93
|
import {
|
|
97
94
|
__require
|
|
98
95
|
} from "./main-j98fzrvv.mjs";
|
|
@@ -148,7 +145,7 @@ import {
|
|
|
148
145
|
mapEager,
|
|
149
146
|
flatMapEager,
|
|
150
147
|
catchEager
|
|
151
|
-
} from "./main-
|
|
148
|
+
} from "./main-d1th6z2h.mjs";
|
|
152
149
|
|
|
153
150
|
// node_modules/effect/dist/ConfigProvider.js
|
|
154
151
|
function makeValue(value) {
|
|
@@ -510,8 +507,8 @@ var make3 = fn("RelayClient.make")(function* (options) {
|
|
|
510
507
|
cause
|
|
511
508
|
})));
|
|
512
509
|
}));
|
|
513
|
-
const transportError = (path) => (cause) => {
|
|
514
|
-
const endpoint = currentEndpoint();
|
|
510
|
+
const transportError = (path, at) => (cause) => {
|
|
511
|
+
const endpoint = at ?? currentEndpoint();
|
|
515
512
|
return new RelayUnreachable({
|
|
516
513
|
message: `browse relay is not reachable at ${endpoint}. Relay-backed CLI commands start it automatically; use \`${cliCommand("serve")}\` only for foreground debugging.`,
|
|
517
514
|
endpoint,
|
|
@@ -531,7 +528,7 @@ var make3 = fn("RelayClient.make")(function* (options) {
|
|
|
531
528
|
return options?.clientPid === undefined ? authorized : setHeader(authorized, "opencode-browser-client-pid", String(options.clientPid));
|
|
532
529
|
};
|
|
533
530
|
let relayAnswered = false;
|
|
534
|
-
const executeUnauthorized = (path, request) => httpClient.execute(request).pipe(mapError2(transportError(path)), tap(() => sync2(() => {
|
|
531
|
+
const executeUnauthorized = (path, request, at) => httpClient.execute(request).pipe(mapError2(transportError(path, at)), tap(() => sync2(() => {
|
|
535
532
|
relayAnswered = true;
|
|
536
533
|
})));
|
|
537
534
|
let verified;
|
|
@@ -551,7 +548,7 @@ var make3 = fn("RelayClient.make")(function* (options) {
|
|
|
551
548
|
const sameLiveState = (left, right) => left === undefined ? right === undefined : right !== undefined && left.port === right.port && left.instanceId === right.instanceId;
|
|
552
549
|
const verifyEndpoint = (endpoint, state = liveRelayState()) => suspend2(() => {
|
|
553
550
|
const seconds = relayAnswered ? busyRelayReadSeconds : unknownRelayReadSeconds;
|
|
554
|
-
return executeUnauthorized("/version", get(new URL("/version", endpoint))).pipe(flatMap3((response) => readBody(response, "/version").pipe(map6((body) => ({ response, body })))), flatMap3(({ response, body }) => {
|
|
551
|
+
return executeUnauthorized("/version", get(new URL("/version", endpoint)), endpoint).pipe(flatMap3((response) => readBody(response, "/version").pipe(mapError2((error) => state !== undefined && liveRelayState() === undefined ? transportError("/version", endpoint)(error) : error), map6((body) => ({ response, body })))), flatMap3(({ response, body }) => {
|
|
555
552
|
const reply = typeof body === "object" && body !== null ? body : undefined;
|
|
556
553
|
if (response.status === 503 && reply?.code === "relay-starting") {
|
|
557
554
|
const envelope = decodeErrorEnvelope(body);
|
|
@@ -565,6 +562,8 @@ var make3 = fn("RelayClient.make")(function* (options) {
|
|
|
565
562
|
if (response.status !== 200 || typeof reply?.version !== "string" || typeof reply.instanceId !== "string")
|
|
566
563
|
return fail6(notBrowse(endpoint, body));
|
|
567
564
|
const after = liveRelayState();
|
|
565
|
+
if (state !== undefined && after === undefined)
|
|
566
|
+
return fail6(transportError("/version", endpoint)(body));
|
|
568
567
|
if (state !== undefined && !sameLiveState(state, after))
|
|
569
568
|
return fail6(notBrowse(endpoint, body));
|
|
570
569
|
if (after !== undefined && (after.port !== Number(new URL(endpoint).port) || after.instanceId !== reply.instanceId))
|
|
@@ -644,11 +643,19 @@ var make3 = fn("RelayClient.make")(function* (options) {
|
|
|
644
643
|
},
|
|
645
644
|
version: suspend2(() => {
|
|
646
645
|
const state = liveRelayState();
|
|
647
|
-
|
|
646
|
+
const probed = currentEndpoint();
|
|
647
|
+
const probe = requestJson("/version", RelayVersion).pipe(mapError2((error) => {
|
|
648
|
+
if (!(error instanceof RelayDecodeFailed || error instanceof RelayRejected && !error.code && error.status === 404))
|
|
649
|
+
return error;
|
|
650
|
+
return state !== undefined && liveRelayState() === undefined ? transportError("/version", probed)(error) : notBrowse(probed, error);
|
|
651
|
+
}));
|
|
652
|
+
return probe.pipe(flatMap3(({ value: version, endpoint }) => {
|
|
648
653
|
const instanceId = version.instanceId;
|
|
649
654
|
if (typeof instanceId !== "string")
|
|
650
655
|
return fail6(notBrowse(endpoint, version));
|
|
651
656
|
const after = liveRelayState();
|
|
657
|
+
if (state !== undefined && after === undefined)
|
|
658
|
+
return fail6(transportError("/version", endpoint)(version));
|
|
652
659
|
if (state !== undefined && !sameLiveState(state, after))
|
|
653
660
|
return fail6(notBrowse(endpoint, version));
|
|
654
661
|
if (after !== undefined && (after.port !== Number(new URL(endpoint).port) || after.instanceId !== instanceId))
|
|
@@ -657,7 +664,7 @@ var make3 = fn("RelayClient.make")(function* (options) {
|
|
|
657
664
|
verified = { endpoint, instanceId, recorded: after?.instanceId };
|
|
658
665
|
return version;
|
|
659
666
|
});
|
|
660
|
-
})
|
|
667
|
+
}));
|
|
661
668
|
}),
|
|
662
669
|
shutdown: (request) => postJson("/shutdown", { ...request }, RelayShutdownResponse),
|
|
663
670
|
extensionStatus: getJson("/extension/status", ExtensionStatus),
|
|
@@ -696,11 +703,7 @@ var make3 = fn("RelayClient.make")(function* (options) {
|
|
|
696
703
|
recordingCancel: (target) => postJson("/recording/cancel", recordingTargetBody(target), RecordingCancelResponse),
|
|
697
704
|
tabsCleanup: (idleMinutes, sessions) => postJson("/tabs/cleanup", { ...idleMinutes === undefined ? {} : { idleMinutes }, ...sessions ? { sessions } : {} }, TabsCleanupResponse),
|
|
698
705
|
settingsGet: getJson("/settings", SettingsGetResponse),
|
|
699
|
-
settingsSet: (changes) => postJson("/settings", { set: changes }, SettingsSetResponse)
|
|
700
|
-
flightRecorderStart: ({ sessionId, tabId, ...request }) => postJson("/flight-recorder/start", { ...recordingTargetBody({ sessionId, tabId }), ...request }, FlightRecorderStatusResponse),
|
|
701
|
-
flightRecorderStatus: (target) => getJson(`/flight-recorder/status${recordingTargetQuery(target)}`, FlightRecorderStatusResponse),
|
|
702
|
-
flightRecorderSaveLast: ({ sessionId, tabId, ...request }) => postJson("/flight-recorder/save-last", { ...recordingTargetBody({ sessionId, tabId }), ...request }, FlightRecorderSaveResponse),
|
|
703
|
-
flightRecorderCancel: (target) => postJson("/flight-recorder/cancel", recordingTargetBody(target), FlightRecorderCancelResponse)
|
|
706
|
+
settingsSet: (changes) => postJson("/settings", { set: changes }, SettingsSetResponse)
|
|
704
707
|
});
|
|
705
708
|
});
|
|
706
709
|
var layer = effect(Service, make3());
|
|
@@ -888,6 +891,11 @@ function shouldWaitForExtensionReconnect(readiness) {
|
|
|
888
891
|
}
|
|
889
892
|
|
|
890
893
|
class RelayStillRunning extends Error {
|
|
894
|
+
cutProbe;
|
|
895
|
+
constructor(message, cutProbe) {
|
|
896
|
+
super(message);
|
|
897
|
+
this.cutProbe = cutProbe;
|
|
898
|
+
}
|
|
891
899
|
}
|
|
892
900
|
|
|
893
901
|
class RelayStartFailed extends TaggedError2()("RelayLifecycle.RelayStartFailed", {
|
|
@@ -940,20 +948,25 @@ function olderMcpClientAdvice(version, error, buildId = opencodeBrowserBuildId2)
|
|
|
940
948
|
}
|
|
941
949
|
var ensureRelay = fn("RelayLifecycle.ensureRelay")(function* (options) {
|
|
942
950
|
const buildId = options.buildId ?? opencodeBrowserBuildId2;
|
|
943
|
-
const
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
const relayWasAbsent = isRelayUnreachable(initial.failure) || isForeignListener(initial.failure, options.pinned);
|
|
954
|
-
if (!relayWasAbsent && !isRelayStarting(initial.failure)) {
|
|
951
|
+
const found = (version, started) => {
|
|
952
|
+
const buildProblem = relayBuildProblem(version, buildId);
|
|
953
|
+
return { version, started, ...buildProblem ? { buildProblem } : {} };
|
|
954
|
+
};
|
|
955
|
+
const initial = yield* result(options.relay.version);
|
|
956
|
+
if (isSuccess(initial))
|
|
957
|
+
return found(initial.success, false);
|
|
958
|
+
const draining = relayDraining(initial.failure);
|
|
959
|
+
let relayWasAbsent = isRelayUnreachable(initial.failure) || isForeignListener(initial.failure, options.pinned);
|
|
960
|
+
if (!relayWasAbsent && !isRelayStarting(initial.failure) && !draining) {
|
|
955
961
|
return yield* initial.failure;
|
|
956
962
|
}
|
|
963
|
+
if (draining) {
|
|
964
|
+
const recorded = liveRelayInstanceId();
|
|
965
|
+
const replacement = recorded === undefined ? undefined : yield* startPastDrain(waitForRelayExitOrReplacement({ ...options, instanceId: recorded }), options.pinned);
|
|
966
|
+
if (replacement !== undefined)
|
|
967
|
+
return found(replacement, false);
|
|
968
|
+
relayWasAbsent = true;
|
|
969
|
+
}
|
|
957
970
|
if (relayWasAbsent) {
|
|
958
971
|
const autoStart = yield* Boolean2("OPENCODE_BROWSER_AUTOSTART").pipe(withDefault(true), mapError2((cause) => new Error("Invalid OPENCODE_BROWSER_AUTOSTART configuration", { cause })));
|
|
959
972
|
if (!autoStart) {
|
|
@@ -963,8 +976,7 @@ var ensureRelay = fn("RelayLifecycle.ensureRelay")(function* (options) {
|
|
|
963
976
|
yield* options.start ?? startManagedRelay();
|
|
964
977
|
}
|
|
965
978
|
const version = yield* waitForRelayReady(options);
|
|
966
|
-
|
|
967
|
-
return { version, started: relayWasAbsent, ...buildProblem ? { buildProblem } : {} };
|
|
979
|
+
return found(version, relayWasAbsent);
|
|
968
980
|
});
|
|
969
981
|
function waitForRelayReady(options) {
|
|
970
982
|
const retry2 = (error) => isRelayStartingOrUnreachable(error) || isForeignListener(error, options.pinned);
|
|
@@ -989,8 +1001,12 @@ var restartRelay = fn("RelayLifecycle.restartRelay")(function* (options) {
|
|
|
989
1001
|
original = initial.success;
|
|
990
1002
|
} else if (isRelayStarting(initial.failure)) {
|
|
991
1003
|
original = yield* waitForRelayReady(options);
|
|
992
|
-
} else
|
|
993
|
-
|
|
1004
|
+
} else {
|
|
1005
|
+
const recorded = relayDraining(initial.failure) ? liveRelayInstanceId() : undefined;
|
|
1006
|
+
if (recorded !== undefined) {
|
|
1007
|
+
replacement = yield* startPastDrain(waitForRelayExitOrReplacement({ ...options, instanceId: recorded }), options.pinned);
|
|
1008
|
+
} else if (!absent(initial.failure))
|
|
1009
|
+
return yield* initial.failure;
|
|
994
1010
|
}
|
|
995
1011
|
if (original) {
|
|
996
1012
|
if (original.managed !== true || !original.instanceId) {
|
|
@@ -1007,7 +1023,10 @@ var restartRelay = fn("RelayLifecycle.restartRelay")(function* (options) {
|
|
|
1007
1023
|
}
|
|
1008
1024
|
const confirmed = yield* result(options.relay.version);
|
|
1009
1025
|
if (isFailure(confirmed)) {
|
|
1010
|
-
|
|
1026
|
+
const recorded = relayDraining(confirmed.failure) ? liveRelayInstanceId() : undefined;
|
|
1027
|
+
if (recorded !== undefined) {
|
|
1028
|
+
replacement = yield* startPastDrain(waitForRelayExitOrReplacement({ ...options, instanceId: recorded }), options.pinned);
|
|
1029
|
+
} else if (!absent(confirmed.failure))
|
|
1011
1030
|
return yield* confirmed.failure;
|
|
1012
1031
|
} else if (!isSameRelayInstance(original, confirmed.success)) {
|
|
1013
1032
|
replacement = confirmed.success;
|
|
@@ -1030,7 +1049,7 @@ var restartRelay = fn("RelayLifecycle.restartRelay")(function* (options) {
|
|
|
1030
1049
|
} else if (!isRelayUnreachable(shutdown.failure) && !isRelayInstanceChanged(shutdown.failure)) {
|
|
1031
1050
|
return yield* shutdown.failure;
|
|
1032
1051
|
}
|
|
1033
|
-
replacement = yield* waitForRelayExitOrReplacement({ ...options,
|
|
1052
|
+
replacement = yield* waitForRelayExitOrReplacement({ ...options, instanceId: original.instanceId });
|
|
1034
1053
|
}
|
|
1035
1054
|
}
|
|
1036
1055
|
const started = replacement === undefined;
|
|
@@ -1047,15 +1066,22 @@ var restartRelay = fn("RelayLifecycle.restartRelay")(function* (options) {
|
|
|
1047
1066
|
return { version: replacement, started, waitForReconnect: true };
|
|
1048
1067
|
});
|
|
1049
1068
|
function waitForRelayExitOrReplacement(options) {
|
|
1050
|
-
const stillRecorded = () =>
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1069
|
+
const stillRecorded = () => relayRecorded(options.instanceId);
|
|
1070
|
+
return options.relay.version.pipe(flatMap3((version) => version.instanceId !== undefined && version.instanceId === options.instanceId ? fail6(new RelayStillRunning("browse relay is still draining; no replacement was started")) : succeed6(version)), catch_((error) => {
|
|
1071
|
+
if (isRelayUnreachable(error))
|
|
1072
|
+
return succeed6(undefined);
|
|
1073
|
+
if (error instanceof RelayDecodeFailed && stillRecorded()) {
|
|
1074
|
+
return fail6(new RelayStillRunning("browse relay is still draining; no replacement was started", error));
|
|
1075
|
+
}
|
|
1076
|
+
return isForeignListener(error, options.pinned) ? succeed6(undefined) : fail6(error);
|
|
1077
|
+
}), retry({
|
|
1055
1078
|
times: options.retryTimes ?? 200,
|
|
1056
1079
|
schedule: spaced(options.retryDelayMs ?? 50),
|
|
1057
1080
|
while: (error) => error instanceof RelayStillRunning || isRelayStarting(error)
|
|
1058
|
-
}));
|
|
1081
|
+
}), mapError2((error) => error instanceof RelayStillRunning ? error.cutProbe ?? error : error));
|
|
1082
|
+
}
|
|
1083
|
+
function startPastDrain(drain, pinned) {
|
|
1084
|
+
return drain.pipe(catch_((error) => isForeignListener(error, pinned) ? succeed6(undefined) : fail6(error)));
|
|
1059
1085
|
}
|
|
1060
1086
|
function isSameRelayInstance(left, right) {
|
|
1061
1087
|
return left.instanceId !== undefined && left.instanceId === right.instanceId;
|
|
@@ -1223,6 +1249,17 @@ function isRelayStarting(error) {
|
|
|
1223
1249
|
function isRelayStartingOrUnreachable(error) {
|
|
1224
1250
|
return isRelayStarting(error) || isRelayUnreachable(error);
|
|
1225
1251
|
}
|
|
1252
|
+
function liveRelayInstanceId() {
|
|
1253
|
+
const state = readRelayState();
|
|
1254
|
+
return state !== undefined && state.configuredPort === configuredRelayPort() && processAlive(state.pid) ? state.instanceId : undefined;
|
|
1255
|
+
}
|
|
1256
|
+
function relayRecorded(instanceId) {
|
|
1257
|
+
const live = liveRelayInstanceId();
|
|
1258
|
+
return live !== undefined && (instanceId === undefined || live === instanceId);
|
|
1259
|
+
}
|
|
1260
|
+
function relayDraining(error) {
|
|
1261
|
+
return error instanceof RelayDecodeFailed && relayRecorded();
|
|
1262
|
+
}
|
|
1226
1263
|
function isForeignListener(error, pinned) {
|
|
1227
1264
|
if (pinned ?? relayPortPinned())
|
|
1228
1265
|
return false;
|
|
@@ -1404,7 +1404,7 @@ var Number3 = /* @__PURE__ */ make((self, that) => {
|
|
|
1404
1404
|
});
|
|
1405
1405
|
var mapInput = /* @__PURE__ */ dual(2, (self, f) => make((b1, b2) => self(f(b1), f(b2))));
|
|
1406
1406
|
var isLessThan = (O) => dual(2, (self, that) => O(self, that) === -1);
|
|
1407
|
-
var
|
|
1407
|
+
var isGreaterThan = (O) => dual(2, (self, that) => O(self, that) === 1);
|
|
1408
1408
|
var isLessThanOrEqualTo = (O) => dual(2, (self, that) => O(self, that) !== 1);
|
|
1409
1409
|
var isGreaterThanOrEqualTo2 = (O) => dual(2, (self, that) => O(self, that) !== -1);
|
|
1410
1410
|
|
|
@@ -4676,7 +4676,7 @@ var logLevelToOrder = (level) => {
|
|
|
4676
4676
|
}
|
|
4677
4677
|
};
|
|
4678
4678
|
var LogLevelOrder = /* @__PURE__ */ mapInput(Number3, logLevelToOrder);
|
|
4679
|
-
var isLogLevelGreaterThan = /* @__PURE__ */
|
|
4679
|
+
var isLogLevelGreaterThan = /* @__PURE__ */ isGreaterThan(LogLevelOrder);
|
|
4680
4680
|
var CurrentLoggers = /* @__PURE__ */ Reference("effect/Logger/CurrentLoggers", {
|
|
4681
4681
|
defaultValue: () => new Set([defaultLogger, tracerLogger])
|
|
4682
4682
|
});
|
|
@@ -5392,4 +5392,4 @@ var flatMapEager = flatMapEager2;
|
|
|
5392
5392
|
var catchEager = catchEager2;
|
|
5393
5393
|
var fnUntracedEager = fnUntracedEager2;
|
|
5394
5394
|
|
|
5395
|
-
export { pipeArguments, Prototype, Class3, dual, identity, constant, constTrue, constFalse, constUndefined, constVoid, pipe, flow, memoize, memoizeIdempotent, isString, isNumber, isBoolean, isBigInt, isSymbol, isPropertyKey, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isNotNullish, isNever, isUnknown, isObjectOrArray, isObject, isReadonlyObject, isObjectKeyword, hasProperty, isTagged, isError, symbol2, hash, structure, array, symbol3, equals, symbolRedactable, redact, format, formatPropertyKey, formatPath, formatJson, NodeInspectSymbol, toJson, BaseProto, Class4, getStackTraceLimit, setStackTraceLimit, assignProperty, assignProperties, args, PipeInspectableProto, causeFail, exitSucceed, exitFailCause, exitFail, withFiber, Error4, TaggedError3, Done, Prototype2, make9, strictEqual, Tuple2, Number3, isLessThan,
|
|
5395
|
+
export { pipeArguments, Prototype, Class3, dual, identity, constant, constTrue, constFalse, constUndefined, constVoid, pipe, flow, memoize, memoizeIdempotent, isString, isNumber, isBoolean, isBigInt, isSymbol, isPropertyKey, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isNotNullish, isNever, isUnknown, isObjectOrArray, isObject, isReadonlyObject, isObjectKeyword, hasProperty, isTagged, isError, symbol2, hash, structure, array, symbol3, equals, symbolRedactable, redact, format, formatPropertyKey, formatPath, formatJson, NodeInspectSymbol, toJson, BaseProto, Class4, getStackTraceLimit, setStackTraceLimit, assignProperty, assignProperties, args, PipeInspectableProto, causeFail, exitSucceed, exitFailCause, exitFail, withFiber, Error4, TaggedError3, Done, Prototype2, make9, strictEqual, Tuple2, Number3, isLessThan, isGreaterThan, isLessThanOrEqualTo, isGreaterThanOrEqualTo2, none, some, isNone, isSome, match, getOrElse, fromNullishOr, fromUndefinedOr, getOrUndefined, map2, flatMap, filter2, exists, Service2, makeUnsafe3, empty4, make10, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get2, merge2, Reference, normalize, succeed, fail2, try_, isResult, isFailure, isSuccess, mapError, map3, match2, fromIterable, match3, append2, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, take3, findFirstIndex, findFirst, findLast, empty5, of, map4, reduce, makeEquivalence, fromInputUnsafe, isFinite2, isZero, zero, millis, seconds, toMillis, Scheduler, ParentSpan, externalSpan, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend, succeedNone, void_, callback, asSome, andThen, flatMap2, effectIsExit, exitInterrupt, exitVoid, exitZipRight, onExitPrimitive, uninterruptibleMask, resolveConcurrency, iterateEager, iterateConcurrent, fiberRunIn, makeLatchUnsafe, ClockRef, currentTimeMillis2, ConsoleRef, LogLevelOrder, reportCauseUnsafe, isCause, isReason, isFailReason, fromReasons, fail3, die, makeFailReason, makeDieReason, makeInterruptReason, hasInterruptsOnly, map5, squash, findError, hasDies, hasInterrupts, interruptors, Done2, done, IllegalArgumentError, ExceededCapacityError, UnknownError, StackTrace, isExit, succeed3, failCause2, fail4, die2, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts2, asVoid, isDeferred, makeUnsafe4, make11, _await, done2, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, CurrentLogLevel, MinimumLogLevel, Scope, make12, makeUnsafe5, provide, addFinalizerExit, addFinalizer, fork, forkUnsafe, close, closeUnsafe, use, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, launch, catchDone, isDoneCause, doneExitFromCause, matchEffect, modifyDelay, spaced, setInputType, isEffect, all, forEach, whileLoop, promise, tryPromise, succeed6, succeedNone2, suspend2, sync2, void_3, callback2, never, gen, fail6, failCause3, failCauseSync, die3, try_2, withFiber2, fromResult, flatMap3, andThen2, tap, result, exit, map6, as, asVoid2, zipWith, catch_, catchTag, catchTags, catchCause, catchDefect, catchIf, catchFilter, catchCauseIf, mapError2, orDie, tapError, tapCause, retry, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, sleep, race, raceFirst, when2, match4, matchCauseEffect, matchEffect2, context2, contextWith, provide3, provideContext2, serviceOption, updateContext, provideService, scope, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring, onError, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runSync, runSyncExit, fnUntraced, fn, clockWith, logFatal, logError, logDebug, annotateLogs, effectify, mapEager, mapErrorEager, mapBothEager, flatMapEager, catchEager, fnUntracedEager };
|