@kitman-sh/cli 0.44.0 → 0.46.0
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/{chunk-gw0pc35c.js → chunk-0511zsxk.js} +430 -55
- package/dist/{chunk-5ccz7ghp.js → chunk-16wyj1eq.js} +42 -33
- package/dist/{chunk-3mbp8cse.js → chunk-2xeq2a7j.js} +31 -174
- package/dist/{chunk-9h16pekj.js → chunk-5tgpa02q.js} +1 -1
- package/dist/{chunk-134jdvs6.js → chunk-6evexbdx.js} +14 -60
- package/dist/{chunk-wh3pjr9r.js → chunk-7wq13jgx.js} +13 -13
- package/dist/{chunk-zvmdyf3v.js → chunk-8qbem52x.js} +39 -39
- package/dist/{chunk-ncp13gyf.js → chunk-9hqskzqc.js} +2 -2
- package/dist/{chunk-8a7337s1.js → chunk-apv9h5tz.js} +1 -1
- package/dist/{chunk-qkwkxn4d.js → chunk-bc40mcq9.js} +76 -76
- package/dist/{chunk-d0rx9esz.js → chunk-c6pnj2aj.js} +7 -7
- package/dist/{chunk-3zy2vbp0.js → chunk-e1v0c57f.js} +10 -10
- package/dist/{chunk-wkg1v0kd.js → chunk-j0b47jdz.js} +5 -5
- package/dist/{chunk-k2re3tp5.js → chunk-k1fdsn2c.js} +1 -1
- package/dist/{chunk-hmctc4eq.js → chunk-m5wqyzhk.js} +3 -3
- package/dist/{chunk-dp6v658s.js → chunk-mxy4wzhs.js} +4 -4
- package/dist/{chunk-zkvrxna8.js → chunk-n00cpb86.js} +2 -2
- package/dist/{chunk-x0ma41ys.js → chunk-n381rqax.js} +226 -40
- package/dist/{chunk-7rj9d0rp.js → chunk-nyagtr2t.js} +3 -3
- package/dist/{chunk-1k6z8q79.js → chunk-pty4b78m.js} +299 -117
- package/dist/{chunk-1c4wk9dr.js → chunk-qfwhsqej.js} +3 -3
- package/dist/{chunk-dre4f6s4.js → chunk-qy0enebe.js} +9 -9
- package/dist/{chunk-j60f2tr1.js → chunk-t2x4p5sp.js} +4 -4
- package/dist/{chunk-d2tpz1yp.js → chunk-tsw66qp3.js} +1 -1
- package/dist/{chunk-wvnsqt17.js → chunk-w0tzm3fg.js} +6 -6
- package/dist/{chunk-dj873p0e.js → chunk-x38fytew.js} +92 -26
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
succeed,
|
|
13
13
|
isSuccess,
|
|
14
14
|
TaggedError,
|
|
15
|
-
|
|
15
|
+
make15,
|
|
16
16
|
_await,
|
|
17
17
|
fail5,
|
|
18
18
|
succeed4,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
decodeJsonStringOption,
|
|
110
110
|
encodeJsonStringSync,
|
|
111
111
|
encodePrettyJsonString
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-n381rqax.js";
|
|
113
113
|
import {
|
|
114
114
|
currentTimeMillis,
|
|
115
115
|
tap,
|
|
@@ -122,7 +122,11 @@ import {
|
|
|
122
122
|
withDefault,
|
|
123
123
|
option,
|
|
124
124
|
String2
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-2xeq2a7j.js";
|
|
126
|
+
import {
|
|
127
|
+
ChildProcessSpawner,
|
|
128
|
+
make2
|
|
129
|
+
} from "./chunk-6evexbdx.js";
|
|
126
130
|
import {
|
|
127
131
|
SecureRandom,
|
|
128
132
|
layerWebCrypto,
|
|
@@ -160,6 +164,7 @@ import {
|
|
|
160
164
|
outlineText,
|
|
161
165
|
outlineMermaid,
|
|
162
166
|
runOutlineText,
|
|
167
|
+
answerAccepts,
|
|
163
168
|
RunDisplayStates,
|
|
164
169
|
RunnerExecutionBackend,
|
|
165
170
|
PinnedImage,
|
|
@@ -186,7 +191,7 @@ import {
|
|
|
186
191
|
digestSha256,
|
|
187
192
|
sha256Hasher,
|
|
188
193
|
raw,
|
|
189
|
-
|
|
194
|
+
make4,
|
|
190
195
|
get,
|
|
191
196
|
put,
|
|
192
197
|
HttpClient,
|
|
@@ -252,15 +257,11 @@ import {
|
|
|
252
257
|
harnessNames,
|
|
253
258
|
herdrRunnerCapabilities2,
|
|
254
259
|
declaredChecks
|
|
255
|
-
} from "./chunk-
|
|
256
|
-
import {
|
|
257
|
-
ChildProcessSpawner,
|
|
258
|
-
make3
|
|
259
|
-
} from "./chunk-134jdvs6.js";
|
|
260
|
+
} from "./chunk-pty4b78m.js";
|
|
260
261
|
import {
|
|
261
262
|
Id,
|
|
262
263
|
Timestamp
|
|
263
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-5tgpa02q.js";
|
|
264
265
|
|
|
265
266
|
// apps/cli/src/cli-error.ts
|
|
266
267
|
function cliErrorCode(error, status) {
|
|
@@ -1328,10 +1329,10 @@ var sandboxMissing = (sandbox, missing) => ({
|
|
|
1328
1329
|
var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
|
|
1329
1330
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
1330
1331
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
1331
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1332
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-t2x4p5sp.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
1332
1333
|
});
|
|
1333
1334
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
1334
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1335
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-t2x4p5sp.js")), (module) => module.updateHerdrCore(options))
|
|
1335
1336
|
});
|
|
1336
1337
|
var herdrCoreMissing = (error) => {
|
|
1337
1338
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -1645,7 +1646,7 @@ var runnerUpdater = (input) => {
|
|
|
1645
1646
|
const drain = (version) => gen(function* () {
|
|
1646
1647
|
claiming = false;
|
|
1647
1648
|
const since = yield* currentTimeMillis;
|
|
1648
|
-
const switchNow = yield*
|
|
1649
|
+
const switchNow = yield* make15();
|
|
1649
1650
|
if (version !== undefined)
|
|
1650
1651
|
draining = {
|
|
1651
1652
|
report: {
|
|
@@ -1798,7 +1799,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
1798
1799
|
});
|
|
1799
1800
|
var syncKits = (input) => gen(function* () {
|
|
1800
1801
|
const fs = yield* FileSystem;
|
|
1801
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
1802
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-e1v0c57f.js"));
|
|
1802
1803
|
const harnesses = yield* syncTargets(input.harness);
|
|
1803
1804
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
1804
1805
|
for (const { name, problem } of chain.skipped)
|
|
@@ -2007,13 +2008,14 @@ var questionLines = (question) => {
|
|
|
2007
2008
|
}),
|
|
2008
2009
|
...recommended !== undefined && !options.includes(recommended) ? [` Recommended: ${recommended}`, ...reason === undefined ? [] : [indent(`Why: ${reason}`, " ")]] : [],
|
|
2009
2010
|
...question.informationOnly === true && reason !== undefined ? [` No recommendation: ${reason}`] : [],
|
|
2010
|
-
...options.length > 0 && question.freeText === true ? [" Or answer in your own words."] : []
|
|
2011
|
+
...options.length > 0 && question.freeText === true ? [" Or answer in your own words."] : [],
|
|
2012
|
+
...question.answerSchema === undefined ? [] : [indent(`Answer in JSON: ${answerAccepts(question.answerSchema)}`, " ")]
|
|
2011
2013
|
];
|
|
2012
2014
|
};
|
|
2013
2015
|
var answerPrompt = (question) => {
|
|
2014
2016
|
const count = question.options?.length ?? 0;
|
|
2015
|
-
const choices = count === 0 ? "Your answer" : `Answer 1${count === 1 ? "" : `-${count}`}`;
|
|
2016
2017
|
const recommended = enterAnswer(question);
|
|
2018
|
+
const choices = count > 0 ? `Answer 1${count === 1 ? "" : `-${count}`}` : question.answerSchema === undefined ? "Your answer" : "Your answer, in JSON";
|
|
2017
2019
|
return `${choices}${recommended === undefined ? "" : `, Enter for ${recommended}`}: `;
|
|
2018
2020
|
};
|
|
2019
2021
|
var readReply = (question, typed) => {
|
|
@@ -2315,7 +2317,7 @@ var ServiceManager = Reference("kitman/cli/ServiceManager", {
|
|
|
2315
2317
|
run: (command, args) => runCommand2(command, args),
|
|
2316
2318
|
attach: (command, args) => gen(function* () {
|
|
2317
2319
|
const spawner = yield* ChildProcessSpawner;
|
|
2318
|
-
const handle = yield* spawner.spawn(
|
|
2320
|
+
const handle = yield* spawner.spawn(make2(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
|
|
2319
2321
|
const exitCode = yield* handle.exitCode;
|
|
2320
2322
|
if (exitCode !== 0)
|
|
2321
2323
|
return yield* new CommandFailed2({ command, reason: `exit code ${exitCode}` });
|
|
@@ -3293,7 +3295,7 @@ var shipped_steps_generated_default = {
|
|
|
3293
3295
|
};
|
|
3294
3296
|
|
|
3295
3297
|
// apps/cli/src/scaffold-files.ts
|
|
3296
|
-
var cliVersion = "0.
|
|
3298
|
+
var cliVersion = "0.46.0";
|
|
3297
3299
|
var shippedLoopSteps = new Map(Object.entries(shipped_steps_generated_default));
|
|
3298
3300
|
var loopSteps = (loop) => shippedLoopSteps.get(loop) ?? [];
|
|
3299
3301
|
var replacedStep = (loop) => loopSteps(loop).find((step) => step.from === defaultKitName && step.exported?.startsWith("steps.") === true);
|
|
@@ -3558,7 +3560,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
|
|
|
3558
3560
|
|
|
3559
3561
|
// apps/cli/src/commands.ts
|
|
3560
3562
|
var ClientId = "kitman-cli";
|
|
3561
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
3563
|
+
var agentRuntime = promise(() => import("./chunk-bc40mcq9.js"));
|
|
3562
3564
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
3563
3565
|
defaultValue: () => gen(function* () {
|
|
3564
3566
|
const tui = yield* tryPromise({
|
|
@@ -5097,7 +5099,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
5097
5099
|
});
|
|
5098
5100
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
5099
5101
|
defaultValue: () => (options) => gen(function* () {
|
|
5100
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
5102
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-w0tzm3fg.js"));
|
|
5101
5103
|
return yield* makeRunnerRpcClient({
|
|
5102
5104
|
runnerId: options.runnerId,
|
|
5103
5105
|
bearer: options.bearer,
|
|
@@ -5443,7 +5445,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
5443
5445
|
yield* controlPlane.client.listRepoBindings(runner.workspaceId).pipe(flatMap3(({ items }) => forEach(items.filter((binding) => binding.status === "active" && (teamId === undefined || binding.teamId === teamId)), (repoBinding) => map9(checkouts.reaches(repoBinding), (reachable) => ({ repoBinding, reachable })), { concurrency: 4 })), tap2((probed) => sync2(() => reached = probed)), catch_((error) => logWarning("runner_repository_probe_failed", error.message)), flatMap3(() => sleep(reached.some((probe) => !probe.reachable) ? repositoryRetryInterval : repositoryProbeInterval)), forever, forkScoped);
|
|
5444
5446
|
yield* suspend3(() => sleep(ownerLogin.expired() ? ownerLoginRetryInterval : ownerLoginInterval)).pipe(andThen2(checkOwnerLogin), forever, forkScoped);
|
|
5445
5447
|
const platform = yield* context();
|
|
5446
|
-
const updated = yield*
|
|
5448
|
+
const updated = yield* make15();
|
|
5447
5449
|
const scope = yield* scope2;
|
|
5448
5450
|
const startUpdate = (update) => update.pipe(catch_((error) => andThen2(restartOntoUpdate(input.runnerId), fail5(updated, error))), provideContext2(platform), forkIn(scope), asVoid);
|
|
5449
5451
|
const refusedForProtocol = container ? updater.stopWhenDrained(new RunnerStopped({ problem: updateRequired })).pipe(catch_((stopped) => fail5(updated, stopped)), forkIn(scope), asVoid) : startUpdate(updater.updateRequired);
|
|
@@ -5709,7 +5711,7 @@ function mcpCommand(args) {
|
|
|
5709
5711
|
if (command.action === "run") {
|
|
5710
5712
|
if (command.args.length > 0)
|
|
5711
5713
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
5712
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
5714
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-8qbem52x.js"));
|
|
5713
5715
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
5714
5716
|
}
|
|
5715
5717
|
if (command.action !== "setup")
|
|
@@ -6209,7 +6211,7 @@ function programLoopCommand(command) {
|
|
|
6209
6211
|
return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
|
|
6210
6212
|
});
|
|
6211
6213
|
}
|
|
6212
|
-
var docsModule = promise(() => import("./chunk-
|
|
6214
|
+
var docsModule = promise(() => import("./chunk-tsw66qp3.js"));
|
|
6213
6215
|
function docsCommand(args) {
|
|
6214
6216
|
return gen(function* () {
|
|
6215
6217
|
const command = parseCommand(args);
|
|
@@ -6454,18 +6456,25 @@ var launchContext = (flags) => gen(function* () {
|
|
|
6454
6456
|
};
|
|
6455
6457
|
});
|
|
6456
6458
|
var questionLines2 = (questions) => questions.flatMap(questionLines);
|
|
6459
|
+
var refusedReplies = new Set(["answer_not_accepted", "answer_not_offered"]);
|
|
6457
6460
|
var answerInTerminal = (client, runId, questions) => forEach(questions, (question, index) => gen(function* () {
|
|
6458
6461
|
const progress = questions.length > 1 ? [`(${index + 1} of ${questions.length})`] : [];
|
|
6459
6462
|
yield* forEach([...progress, ...questionLines(question)], (line) => log(line), {
|
|
6460
6463
|
discard: true
|
|
6461
6464
|
});
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6465
|
+
for (;; ) {
|
|
6466
|
+
let reply = readReply(question, yield* promptLine(answerPrompt(question)));
|
|
6467
|
+
while ("retry" in reply) {
|
|
6468
|
+
yield* log(` ${reply.retry}`);
|
|
6469
|
+
reply = readReply(question, yield* promptLine(answerPrompt(question)));
|
|
6470
|
+
}
|
|
6471
|
+
const key = yield* idempotencyKey(undefined, "run-answer");
|
|
6472
|
+
const { answer } = reply;
|
|
6473
|
+
const refused = yield* client.answerRun(runId, { value: answer, question: question.id, idempotencyKey: key }).pipe(andThen2(log(`Answered ${question.stepKey}: ${answer}`)), as(undefined), catchIf((error) => error instanceof KitmanClientError && error.code === "question_not_open", (error) => log(`Not answered: ${question.stepKey} was settled while it waited here. ${error.responseMessage ?? error.message}`).pipe(as(undefined))), catchIf((error) => error instanceof KitmanClientError && refusedReplies.has(error.code ?? ""), (error) => succeed6(error instanceof KitmanClientError ? error.responseMessage ?? error.message : "")));
|
|
6474
|
+
if (refused === undefined)
|
|
6475
|
+
return;
|
|
6476
|
+
yield* log(` ${refused}`);
|
|
6466
6477
|
}
|
|
6467
|
-
const key = yield* idempotencyKey(undefined, "run-answer");
|
|
6468
|
-
yield* client.answerRun(runId, { value: reply.answer, question: question.id, idempotencyKey: key }).pipe(andThen2(log(`Answered ${question.stepKey}: ${reply.answer}`)), catchIf((error) => error instanceof KitmanClientError && error.code === "question_not_open", (error) => log(`Not answered: ${question.stepKey} was settled while it waited here. ${error.responseMessage ?? error.message}`)));
|
|
6469
6478
|
}), { discard: true });
|
|
6470
6479
|
var claimLines = (step) => step.output === undefined ? [] : isJsonObject(toJsonValue(step.output)) ? Object.entries(toJsonObject(step.output)).map(([field, value]) => ` Claim ${field}: ${isString2(value) ? value : encodeJsonStringSync(value)}`) : [` Claim: ${encodeJsonStringSync(toJsonValue(step.output))}`];
|
|
6471
6480
|
var evidenceLines = (evidence) => evidence.flatMap((entry) => {
|
|
@@ -7213,7 +7222,7 @@ function changeRequestCommand(args) {
|
|
|
7213
7222
|
yield* log(command.action === "approve" ? `Approved ${short} of ${changeRequest.title}. A Run waiting on approval of ${short} resumes; one waiting on another head does not.` : `Requested changes to ${short} of ${changeRequest.title}`);
|
|
7214
7223
|
});
|
|
7215
7224
|
}
|
|
7216
|
-
var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-
|
|
7225
|
+
var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-0511zsxk.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
|
|
7217
7226
|
var loopOutline = (command) => gen(function* () {
|
|
7218
7227
|
const path = yield* Path;
|
|
7219
7228
|
const loop = requiredArg(command, "a Loop id");
|
|
@@ -7233,9 +7242,9 @@ var loopOutline = (command) => gen(function* () {
|
|
|
7233
7242
|
`).pipe(mapError2((error) => new CliError({ message: error.message })));
|
|
7234
7243
|
yield* log(`Wrote the outline of ${loop} to ${out}`);
|
|
7235
7244
|
});
|
|
7236
|
-
var KitWriter = map9(promise(() => import("./chunk-
|
|
7245
|
+
var KitWriter = map9(promise(() => import("./chunk-0511zsxk.js")), (build) => build.writeKit);
|
|
7237
7246
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
7238
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
7247
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-0511zsxk.js")), (build) => build.buildKit(directory))
|
|
7239
7248
|
});
|
|
7240
7249
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
7241
7250
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -8014,7 +8023,7 @@ function downloadPresignedAsset(download, outputPath) {
|
|
|
8014
8023
|
return gen(function* () {
|
|
8015
8024
|
const fs = yield* FileSystem;
|
|
8016
8025
|
const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
|
|
8017
|
-
const response = yield* send(
|
|
8026
|
+
const response = yield* send(make4(download.method)(download.url), failed);
|
|
8018
8027
|
if (response.status < 200 || response.status >= 300)
|
|
8019
8028
|
return yield* new CliError({ message: `Asset download failed with ${response.status}` });
|
|
8020
8029
|
const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
|
|
@@ -191,6 +191,7 @@ import {
|
|
|
191
191
|
mapEager,
|
|
192
192
|
flatMapEager,
|
|
193
193
|
catchEager,
|
|
194
|
+
fromInputUnsafe2,
|
|
194
195
|
Pointer,
|
|
195
196
|
passthrough,
|
|
196
197
|
transformEffect,
|
|
@@ -206,7 +207,7 @@ import {
|
|
|
206
207
|
String4,
|
|
207
208
|
toCodecStringTree,
|
|
208
209
|
encodeUnknownJsonStringSync
|
|
209
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-n381rqax.js";
|
|
210
211
|
|
|
211
212
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
212
213
|
var headUnsafe = (self) => {
|
|
@@ -260,150 +261,6 @@ var makeEquivalence = (equivalence) => {
|
|
|
260
261
|
var Clock = ClockRef;
|
|
261
262
|
var currentTimeMillis = currentTimeMillis2;
|
|
262
263
|
|
|
263
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
264
|
-
var BigInt2 = globalThis.BigInt;
|
|
265
|
-
var toNumber = (b) => {
|
|
266
|
-
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
267
|
-
return none();
|
|
268
|
-
}
|
|
269
|
-
return some(Number(b));
|
|
270
|
-
};
|
|
271
|
-
|
|
272
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
273
|
-
var bigint0 = /* @__PURE__ */ BigInt(0);
|
|
274
|
-
var bigint1 = /* @__PURE__ */ BigInt(1);
|
|
275
|
-
var decimalBase = /* @__PURE__ */ BigInt(1000);
|
|
276
|
-
var binaryBase = /* @__PURE__ */ BigInt(1024);
|
|
277
|
-
var decimalUnits = [{
|
|
278
|
-
symbol: "B",
|
|
279
|
-
factor: bigint1,
|
|
280
|
-
names: ["B", "byte", "bytes"]
|
|
281
|
-
}, {
|
|
282
|
-
symbol: "kB",
|
|
283
|
-
factor: decimalBase,
|
|
284
|
-
names: ["kB", "kilobyte", "kilobytes"]
|
|
285
|
-
}, {
|
|
286
|
-
symbol: "MB",
|
|
287
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(2),
|
|
288
|
-
names: ["MB", "megabyte", "megabytes"]
|
|
289
|
-
}, {
|
|
290
|
-
symbol: "GB",
|
|
291
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(3),
|
|
292
|
-
names: ["GB", "gigabyte", "gigabytes"]
|
|
293
|
-
}, {
|
|
294
|
-
symbol: "TB",
|
|
295
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(4),
|
|
296
|
-
names: ["TB", "terabyte", "terabytes"]
|
|
297
|
-
}, {
|
|
298
|
-
symbol: "PB",
|
|
299
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(5),
|
|
300
|
-
names: ["PB", "petabyte", "petabytes"]
|
|
301
|
-
}, {
|
|
302
|
-
symbol: "EB",
|
|
303
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(6),
|
|
304
|
-
names: ["EB", "exabyte", "exabytes"]
|
|
305
|
-
}, {
|
|
306
|
-
symbol: "ZB",
|
|
307
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(7),
|
|
308
|
-
names: ["ZB", "zettabyte", "zettabytes"]
|
|
309
|
-
}, {
|
|
310
|
-
symbol: "YB",
|
|
311
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(8),
|
|
312
|
-
names: ["YB", "yottabyte", "yottabytes"]
|
|
313
|
-
}, {
|
|
314
|
-
symbol: "RB",
|
|
315
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(9),
|
|
316
|
-
names: ["RB", "ronnabyte", "ronnabytes"]
|
|
317
|
-
}, {
|
|
318
|
-
symbol: "QB",
|
|
319
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(10),
|
|
320
|
-
names: ["QB", "quettabyte", "quettabytes"]
|
|
321
|
-
}];
|
|
322
|
-
var binaryUnits = [decimalUnits[0], {
|
|
323
|
-
symbol: "KiB",
|
|
324
|
-
factor: binaryBase,
|
|
325
|
-
names: ["KiB", "kibibyte", "kibibytes"]
|
|
326
|
-
}, {
|
|
327
|
-
symbol: "MiB",
|
|
328
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(2),
|
|
329
|
-
names: ["MiB", "mebibyte", "mebibytes"]
|
|
330
|
-
}, {
|
|
331
|
-
symbol: "GiB",
|
|
332
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(3),
|
|
333
|
-
names: ["GiB", "gibibyte", "gibibytes"]
|
|
334
|
-
}, {
|
|
335
|
-
symbol: "TiB",
|
|
336
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(4),
|
|
337
|
-
names: ["TiB", "tebibyte", "tebibytes"]
|
|
338
|
-
}, {
|
|
339
|
-
symbol: "PiB",
|
|
340
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(5),
|
|
341
|
-
names: ["PiB", "pebibyte", "pebibytes"]
|
|
342
|
-
}, {
|
|
343
|
-
symbol: "EiB",
|
|
344
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(6),
|
|
345
|
-
names: ["EiB", "exbibyte", "exbibytes"]
|
|
346
|
-
}, {
|
|
347
|
-
symbol: "ZiB",
|
|
348
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(7),
|
|
349
|
-
names: ["ZiB", "zebibyte", "zebibytes"]
|
|
350
|
-
}, {
|
|
351
|
-
symbol: "YiB",
|
|
352
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(8),
|
|
353
|
-
names: ["YiB", "yobibyte", "yobibytes"]
|
|
354
|
-
}];
|
|
355
|
-
var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
|
|
356
|
-
var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
|
|
357
|
-
var make = (value) => value;
|
|
358
|
-
var invalid = (message) => {
|
|
359
|
-
throw new Error(`Invalid ByteSize: ${message}`);
|
|
360
|
-
};
|
|
361
|
-
var fromNumber = (input) => {
|
|
362
|
-
if (!Number.isSafeInteger(input) || input < 0) {
|
|
363
|
-
return invalid(`expected a non-negative safe integer, received ${input}`);
|
|
364
|
-
}
|
|
365
|
-
return make(BigInt(input));
|
|
366
|
-
};
|
|
367
|
-
var maxSafeInteger = /* @__PURE__ */ BigInt(Number.MAX_SAFE_INTEGER);
|
|
368
|
-
var scaleDecimal = (quantity, factor) => {
|
|
369
|
-
const match = /^(\d+)(?:\.(\d+))?(?:e([+-]\d+))?$/.exec(quantity);
|
|
370
|
-
if (match === null)
|
|
371
|
-
return;
|
|
372
|
-
const fraction = match[2] ?? "";
|
|
373
|
-
const numerator = BigInt(match[1] + fraction) * factor;
|
|
374
|
-
const shift = Number(match[3] ?? 0) - fraction.length;
|
|
375
|
-
if (shift >= 0)
|
|
376
|
-
return numerator * BigInt(10) ** BigInt(shift);
|
|
377
|
-
const scale = BigInt(10) ** BigInt(-shift);
|
|
378
|
-
return numerator % scale === bigint0 ? numerator / scale : undefined;
|
|
379
|
-
};
|
|
380
|
-
var fromStringUnsafe = (input) => {
|
|
381
|
-
const match = /^\s*(\d+(?:\.\d+)?)\s*([A-Za-z]+)\s*$/.exec(input);
|
|
382
|
-
if (match === null)
|
|
383
|
-
return invalid(`unsupported syntax ${JSON.stringify(input)}`);
|
|
384
|
-
const unit = unitsByName.get(match[2]);
|
|
385
|
-
if (unit === undefined)
|
|
386
|
-
return invalid(`unsupported unit ${JSON.stringify(match[2])}`);
|
|
387
|
-
const value = scaleDecimal(match[1], unit.factor);
|
|
388
|
-
if (value === undefined)
|
|
389
|
-
return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
|
|
390
|
-
return make(value);
|
|
391
|
-
};
|
|
392
|
-
var fromInputUnsafe2 = (input) => {
|
|
393
|
-
switch (typeof input) {
|
|
394
|
-
case "bigint":
|
|
395
|
-
if (input < bigint0)
|
|
396
|
-
return invalid(`expected a non-negative bigint, received ${input}`);
|
|
397
|
-
return make(input);
|
|
398
|
-
case "number":
|
|
399
|
-
return fromNumber(input);
|
|
400
|
-
case "string":
|
|
401
|
-
return fromStringUnsafe(input);
|
|
402
|
-
}
|
|
403
|
-
return invalid(`unsupported input ${input}`);
|
|
404
|
-
};
|
|
405
|
-
var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
|
|
406
|
-
|
|
407
264
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
|
|
408
265
|
var join = fiberJoin;
|
|
409
266
|
var interrupt = fiberInterrupt;
|
|
@@ -957,7 +814,7 @@ var isIgnorable = (error) => isMissing(error) || error.reason._tag === "Permissi
|
|
|
957
814
|
var isNotLink = (error) => isIgnorable(error) || error.reason._tag === "Unknown";
|
|
958
815
|
var DIRECTORY_CONCURRENCY = 16;
|
|
959
816
|
var byName = /* @__PURE__ */ mapInput(String3, (entry) => entry.name);
|
|
960
|
-
var
|
|
817
|
+
var make = (fs) => (pattern, options) => walk(fs, compile([pattern], options?.dot ?? false), options);
|
|
961
818
|
var walk = /* @__PURE__ */ fnUntraced(function* (fs, compiled, options) {
|
|
962
819
|
if (compiled.initial.size === 0) {
|
|
963
820
|
return [];
|
|
@@ -1135,7 +992,7 @@ var badArgument = (options) => new PlatformError(new BadArgument(options));
|
|
|
1135
992
|
|
|
1136
993
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Latch.js
|
|
1137
994
|
var makeUnsafe2 = makeLatchUnsafe;
|
|
1138
|
-
var
|
|
995
|
+
var make2 = makeLatch;
|
|
1139
996
|
|
|
1140
997
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableRef.js
|
|
1141
998
|
var TypeId2 = "~effect/MutableRef";
|
|
@@ -1149,7 +1006,7 @@ var MutableRefProto = {
|
|
|
1149
1006
|
};
|
|
1150
1007
|
}
|
|
1151
1008
|
};
|
|
1152
|
-
var
|
|
1009
|
+
var make7 = (value) => {
|
|
1153
1010
|
const ref = Object.create(MutableRefProto);
|
|
1154
1011
|
ref.current = value;
|
|
1155
1012
|
return ref;
|
|
@@ -1161,7 +1018,7 @@ var set = /* @__PURE__ */ dual(2, (self, value) => {
|
|
|
1161
1018
|
|
|
1162
1019
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableList.js
|
|
1163
1020
|
var Empty = /* @__PURE__ */ Symbol.for("effect/MutableList/Empty");
|
|
1164
|
-
var
|
|
1021
|
+
var make3 = () => ({
|
|
1165
1022
|
head: undefined,
|
|
1166
1023
|
tail: undefined,
|
|
1167
1024
|
length: 0
|
|
@@ -1310,8 +1167,8 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1310
1167
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1311
1168
|
var TypeId3 = "~effect/PubSub";
|
|
1312
1169
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1313
|
-
var
|
|
1314
|
-
var unbounded = (options) =>
|
|
1170
|
+
var make4 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
|
|
1171
|
+
var unbounded = (options) => make4({
|
|
1315
1172
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1316
1173
|
strategy: () => new DroppingStrategy
|
|
1317
1174
|
});
|
|
@@ -1405,7 +1262,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1405
1262
|
subscribers.delete(subscription);
|
|
1406
1263
|
}
|
|
1407
1264
|
};
|
|
1408
|
-
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(),
|
|
1265
|
+
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make3(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
|
|
1409
1266
|
class UnboundedPubSub {
|
|
1410
1267
|
publisherHead = {
|
|
1411
1268
|
value: AbsentValue,
|
|
@@ -1822,12 +1679,12 @@ var QueueProto = {
|
|
|
1822
1679
|
};
|
|
1823
1680
|
}
|
|
1824
1681
|
};
|
|
1825
|
-
var
|
|
1682
|
+
var make8 = (options) => withFiber((fiber) => {
|
|
1826
1683
|
const self = Object.create(QueueProto);
|
|
1827
1684
|
self.dispatcher = fiber.currentDispatcher;
|
|
1828
1685
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
1829
1686
|
self.strategy = options?.strategy ?? "suspend";
|
|
1830
|
-
self.messages =
|
|
1687
|
+
self.messages = make3();
|
|
1831
1688
|
self.scheduleRunning = false;
|
|
1832
1689
|
self.state = {
|
|
1833
1690
|
_tag: "Open",
|
|
@@ -1837,14 +1694,14 @@ var make9 = (options) => withFiber((fiber) => {
|
|
|
1837
1694
|
};
|
|
1838
1695
|
return succeed2(self);
|
|
1839
1696
|
});
|
|
1840
|
-
var bounded = (capacity) =>
|
|
1697
|
+
var bounded = (capacity) => make8({
|
|
1841
1698
|
capacity
|
|
1842
1699
|
});
|
|
1843
|
-
var sliding = (capacity) =>
|
|
1700
|
+
var sliding = (capacity) => make8({
|
|
1844
1701
|
capacity,
|
|
1845
1702
|
strategy: "sliding"
|
|
1846
1703
|
});
|
|
1847
|
-
var unbounded2 = () =>
|
|
1704
|
+
var unbounded2 = () => make8();
|
|
1848
1705
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1849
1706
|
var offerUnsafe = (self, message) => {
|
|
1850
1707
|
if (self.state._tag !== "Open") {
|
|
@@ -2270,7 +2127,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2270
2127
|
return onError(pull, onCause);
|
|
2271
2128
|
}));
|
|
2272
2129
|
var toTransform = (channel) => channel.transform;
|
|
2273
|
-
var asyncQueue = (scope, f, options) =>
|
|
2130
|
+
var asyncQueue = (scope, f, options) => make8({
|
|
2274
2131
|
capacity: options?.bufferSize,
|
|
2275
2132
|
strategy: options?.strategy
|
|
2276
2133
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2311,7 +2168,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2311
2168
|
}));
|
|
2312
2169
|
var readableStreamToPullUnsafe = (options) => {
|
|
2313
2170
|
const reader = options.readable.getReader();
|
|
2314
|
-
const exit = options.exit ??
|
|
2171
|
+
const exit = options.exit ?? make7(undefined);
|
|
2315
2172
|
const pull = suspend3(() => {
|
|
2316
2173
|
if (exit.current)
|
|
2317
2174
|
return exit.current;
|
|
@@ -2519,7 +2376,7 @@ var mergeAll = /* @__PURE__ */ dual(2, (channels, {
|
|
|
2519
2376
|
}) => fromTransformBracket(fnUntraced(function* (upstream, scope, forkedScope) {
|
|
2520
2377
|
const concurrencyN = concurrency === "unbounded" ? Number.MAX_SAFE_INTEGER : Math.max(1, concurrency);
|
|
2521
2378
|
const semaphore = switch_ ? undefined : makeUnsafe3(concurrencyN);
|
|
2522
|
-
const doneLatch = yield*
|
|
2379
|
+
const doneLatch = yield* make2(true);
|
|
2523
2380
|
const fibers = new Map;
|
|
2524
2381
|
const queue = yield* bounded(bufferSize);
|
|
2525
2382
|
yield* addFinalizer(forkedScope, shutdown(queue));
|
|
@@ -2863,7 +2720,7 @@ class RcRefImpl {
|
|
|
2863
2720
|
this.idleTimeToLive = idleTimeToLive;
|
|
2864
2721
|
}
|
|
2865
2722
|
}
|
|
2866
|
-
var
|
|
2723
|
+
var make5 = (options) => withFiber2((fiber) => {
|
|
2867
2724
|
const context = fiber.context;
|
|
2868
2725
|
const scope = get4(context, Scope);
|
|
2869
2726
|
const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
|
|
@@ -2972,7 +2829,7 @@ var release = (self, state) => {
|
|
|
2972
2829
|
};
|
|
2973
2830
|
|
|
2974
2831
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2975
|
-
var
|
|
2832
|
+
var make9 = make5;
|
|
2976
2833
|
var get3 = get2;
|
|
2977
2834
|
|
|
2978
2835
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2984,7 +2841,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2984
2841
|
var toChannel2 = (stream) => stream.channel;
|
|
2985
2842
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2986
2843
|
var empty3 = /* @__PURE__ */ fromChannel2(empty);
|
|
2987
|
-
var
|
|
2844
|
+
var make10 = (...values) => fromArray2(values);
|
|
2988
2845
|
var suspend = (stream) => {
|
|
2989
2846
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2990
2847
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3185,10 +3042,10 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
3185
3042
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3186
3043
|
var TypeId10 = "~effect/FileSystem";
|
|
3187
3044
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3188
|
-
var
|
|
3045
|
+
var make11 = (impl) => FileSystem.of({
|
|
3189
3046
|
...impl,
|
|
3190
3047
|
[TypeId10]: TypeId10,
|
|
3191
|
-
glob:
|
|
3048
|
+
glob: make(impl),
|
|
3192
3049
|
exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
|
|
3193
3050
|
readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
|
|
3194
3051
|
try: () => new TextDecoder(encoding).decode(_),
|
|
@@ -3245,7 +3102,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3245
3102
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3246
3103
|
var TypeId11 = "~effect/Path";
|
|
3247
3104
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3248
|
-
var
|
|
3105
|
+
var make12 = (impl) => Path.of({
|
|
3249
3106
|
...impl,
|
|
3250
3107
|
[TypeId11]: TypeId11,
|
|
3251
3108
|
resolveWithin(root, input) {
|
|
@@ -3320,7 +3177,7 @@ function makeProvider(load, mapInput) {
|
|
|
3320
3177
|
function makeSource(get, transform) {
|
|
3321
3178
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3322
3179
|
}
|
|
3323
|
-
function
|
|
3180
|
+
function make6(get) {
|
|
3324
3181
|
return makeSource(get, identityPath);
|
|
3325
3182
|
}
|
|
3326
3183
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3329,7 +3186,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3329
3186
|
function fromEnvRecord(env, options) {
|
|
3330
3187
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3331
3188
|
const trie = buildEnvTrie(env);
|
|
3332
|
-
return
|
|
3189
|
+
return make6((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3333
3190
|
}
|
|
3334
3191
|
function fromEnv(options) {
|
|
3335
3192
|
const env = options?.env ?? {
|
|
@@ -3411,7 +3268,7 @@ var Proto2 = {
|
|
|
3411
3268
|
};
|
|
3412
3269
|
}
|
|
3413
3270
|
};
|
|
3414
|
-
function
|
|
3271
|
+
function make13(evaluator) {
|
|
3415
3272
|
const self = Object.create(Proto2);
|
|
3416
3273
|
self.evaluator = evaluator;
|
|
3417
3274
|
self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
|
|
@@ -3419,14 +3276,14 @@ function make14(evaluator) {
|
|
|
3419
3276
|
}
|
|
3420
3277
|
var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
|
|
3421
3278
|
var map3 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
3422
|
-
return
|
|
3279
|
+
return make13((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
|
|
3423
3280
|
});
|
|
3424
3281
|
function all(arg) {
|
|
3425
3282
|
const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
|
|
3426
|
-
return
|
|
3283
|
+
return make13((provider, pathPrefix) => globalThis.Array.isArray(configs) ? mapEager(all3(configs.map((config) => evaluateAt(config, provider, pathPrefix))), all2) : mapEager(all3(map(configs, (config) => evaluateAt(config, provider, pathPrefix))), all2));
|
|
3427
3284
|
}
|
|
3428
3285
|
var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
|
|
3429
|
-
return
|
|
3286
|
+
return make13((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
|
|
3430
3287
|
});
|
|
3431
3288
|
var option = (self) => self.pipe(map3(some), withDefault(none()));
|
|
3432
3289
|
var isSourceError = (u) => isTagged(u, "SourceError");
|
|
@@ -3545,7 +3402,7 @@ function schema(codec, path) {
|
|
|
3545
3402
|
const encodedAst = toEncoded(codecStringTree.ast);
|
|
3546
3403
|
const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
|
|
3547
3404
|
const localPath = typeof path === "string" ? [path] : path ?? [];
|
|
3548
|
-
return
|
|
3405
|
+
return make13((provider, pathPrefix) => {
|
|
3549
3406
|
const fullPath = [...pathPrefix, ...localPath];
|
|
3550
3407
|
return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
|
|
3551
3408
|
const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
|
|
@@ -3675,4 +3532,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3675
3532
|
...argv
|
|
3676
3533
|
];
|
|
3677
3534
|
|
|
3678
|
-
export { empty2, map, makeEquivalence, Clock, currentTimeMillis,
|
|
3535
|
+
export { empty2, map, makeEquivalence, Clock, currentTimeMillis, join, interrupt, interruptAll, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make7, unbounded, publishUnsafe, make8, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make9, get3, isStream, fromChannel2, callback, empty3, make10, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, take2, mapAccum, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, toPull, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make11, FileTypeId, WatchBackend, Path, make12, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|