@kitman-sh/cli 0.17.0 → 0.18.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-qjxgew0k.js → chunk-1j38xtvp.js} +2 -2
- package/dist/{chunk-ebpjd7kg.js → chunk-2bagaygt.js} +6 -6
- package/dist/{chunk-jg1pjhba.js → chunk-4p1k3yyc.js} +21 -21
- package/dist/{chunk-r2kzvdrg.js → chunk-4qjfn1sa.js} +1 -1
- package/dist/{chunk-m1qp6swh.js → chunk-5kqt4bqp.js} +1 -1
- package/dist/{chunk-z59pvcbk.js → chunk-63cyj9dh.js} +174 -31
- package/dist/{chunk-0wqkz371.js → chunk-9jffw2mk.js} +3 -3
- package/dist/{chunk-0f67q0tf.js → chunk-bqhfbng3.js} +9 -9
- package/dist/{chunk-2928qj8m.js → chunk-d3gs4jvd.js} +69 -69
- package/dist/{chunk-vh2a72d1.js → chunk-gap0vmj7.js} +60 -14
- package/dist/{chunk-y64ssczv.js → chunk-h2f26xbd.js} +40 -226
- package/dist/{chunk-829r4kya.js → chunk-hj8ex4x6.js} +4 -4
- package/dist/{chunk-8r1a93rc.js → chunk-jaa8qjky.js} +9 -9
- package/dist/{chunk-2sazk478.js → chunk-js64y97w.js} +4 -4
- package/dist/{chunk-5me7tnrw.js → chunk-mca2zp8p.js} +2 -2
- package/dist/{chunk-g3jqqpky.js → chunk-mg3mxhxe.js} +7 -7
- package/dist/{chunk-pnckztvv.js → chunk-mqsxwm53.js} +5 -5
- package/dist/{chunk-kx8rpa62.js → chunk-my92qn4x.js} +10 -10
- package/dist/{chunk-nf9rfrvv.js → chunk-n05bj55h.js} +24 -24
- package/dist/{chunk-r3d2yjsh.js → chunk-nfnw3dh1.js} +24 -24
- package/dist/{chunk-9a6wbk11.js → chunk-samxkpbz.js} +3 -3
- package/dist/{chunk-pd3azxev.js → chunk-tsx0347c.js} +1 -1
- package/dist/{chunk-zy21drtv.js → chunk-vz38kngm.js} +2 -2
- package/dist/{chunk-nqh0pbgt.js → chunk-wg6xkkcr.js} +1 -1
- package/dist/{chunk-ekyj0bps.js → chunk-x8zzax0f.js} +10 -10
- package/dist/{chunk-j37p2y71.js → chunk-zmqm4mrm.js} +118 -117
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
writeSrtSettings2,
|
|
16
16
|
srtStepArgv2,
|
|
17
17
|
srtArgv2
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import"./chunk-
|
|
18
|
+
} from "./chunk-63cyj9dh.js";
|
|
19
|
+
import"./chunk-h2f26xbd.js";
|
|
20
20
|
export {
|
|
21
21
|
compiled2 as compiled,
|
|
22
22
|
harnessesUnsupportedInDocker2 as harnessesUnsupportedInDocker,
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-mg3mxhxe.js";
|
|
8
|
+
import"./chunk-mqsxwm53.js";
|
|
9
|
+
import"./chunk-zmqm4mrm.js";
|
|
10
|
+
import"./chunk-4qjfn1sa.js";
|
|
11
|
+
import"./chunk-63cyj9dh.js";
|
|
12
|
+
import"./chunk-h2f26xbd.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
decodeText,
|
|
4
|
+
mkString,
|
|
5
|
+
FileSystem,
|
|
6
|
+
Path,
|
|
7
|
+
withDefault,
|
|
8
|
+
String2
|
|
9
|
+
} from "./chunk-63cyj9dh.js";
|
|
2
10
|
import {
|
|
3
11
|
isString,
|
|
4
12
|
isObject,
|
|
@@ -35,15 +43,7 @@ import {
|
|
|
35
43
|
toCodecJson,
|
|
36
44
|
Json,
|
|
37
45
|
encodePrettyJsonString
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import {
|
|
40
|
-
decodeText,
|
|
41
|
-
mkString,
|
|
42
|
-
FileSystem,
|
|
43
|
-
Path,
|
|
44
|
-
withDefault,
|
|
45
|
-
String2
|
|
46
|
-
} from "./chunk-z59pvcbk.js";
|
|
46
|
+
} from "./chunk-h2f26xbd.js";
|
|
47
47
|
import {
|
|
48
48
|
SecureRandom,
|
|
49
49
|
layerWebCrypto,
|
|
@@ -60,26 +60,26 @@ import {
|
|
|
60
60
|
KitDeclarations,
|
|
61
61
|
kitmanMcpServer,
|
|
62
62
|
RunnerRpcProtocolVersion
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-zmqm4mrm.js";
|
|
64
64
|
import {
|
|
65
65
|
Packument,
|
|
66
66
|
tarballMatches
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import {
|
|
69
|
-
ChildProcessSpawner,
|
|
70
|
-
make2
|
|
71
|
-
} from "./chunk-vh2a72d1.js";
|
|
67
|
+
} from "./chunk-9jffw2mk.js";
|
|
72
68
|
import {
|
|
73
69
|
stepDefinedTwice,
|
|
74
70
|
hostSteps,
|
|
75
71
|
exports_activities,
|
|
76
72
|
describeFlag,
|
|
77
73
|
Described
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import"./chunk-
|
|
80
|
-
import"./chunk-
|
|
81
|
-
import
|
|
82
|
-
|
|
74
|
+
} from "./chunk-bqhfbng3.js";
|
|
75
|
+
import"./chunk-mg3mxhxe.js";
|
|
76
|
+
import"./chunk-tsx0347c.js";
|
|
77
|
+
import {
|
|
78
|
+
ChildProcessSpawner,
|
|
79
|
+
make3
|
|
80
|
+
} from "./chunk-gap0vmj7.js";
|
|
81
|
+
import"./chunk-mqsxwm53.js";
|
|
82
|
+
import"./chunk-4qjfn1sa.js";
|
|
83
83
|
|
|
84
84
|
// packages/sdk/src/build/outline/graph.ts
|
|
85
85
|
import {
|
|
@@ -3891,7 +3891,7 @@ var ConfigAgents = Record(String4, Struct({
|
|
|
3891
3891
|
}));
|
|
3892
3892
|
var run = (command, args, cwd) => gen(function* () {
|
|
3893
3893
|
const spawner = yield* ChildProcessSpawner;
|
|
3894
|
-
const handle = yield* spawner.spawn(
|
|
3894
|
+
const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
|
|
3895
3895
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
3896
3896
|
mkString(decodeText(handle.stdout)),
|
|
3897
3897
|
mkString(decodeText(handle.stderr)),
|
|
@@ -188,7 +188,6 @@ import {
|
|
|
188
188
|
mapEager,
|
|
189
189
|
flatMapEager,
|
|
190
190
|
catchEager,
|
|
191
|
-
fromInputUnsafe2,
|
|
192
191
|
Pointer,
|
|
193
192
|
passthrough,
|
|
194
193
|
transformEffect,
|
|
@@ -204,7 +203,7 @@ import {
|
|
|
204
203
|
String4,
|
|
205
204
|
toCodecStringTree,
|
|
206
205
|
encodeUnknownJsonStringSync
|
|
207
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-h2f26xbd.js";
|
|
208
207
|
|
|
209
208
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
210
209
|
var headUnsafe = (self) => {
|
|
@@ -253,6 +252,150 @@ var makeEquivalence = (equivalence) => {
|
|
|
253
252
|
return (self, that) => is(self, that) && is(that, self);
|
|
254
253
|
};
|
|
255
254
|
|
|
255
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
256
|
+
var BigInt2 = globalThis.BigInt;
|
|
257
|
+
var toNumber = (b) => {
|
|
258
|
+
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
259
|
+
return none();
|
|
260
|
+
}
|
|
261
|
+
return some(Number(b));
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
265
|
+
var bigint0 = /* @__PURE__ */ BigInt(0);
|
|
266
|
+
var bigint1 = /* @__PURE__ */ BigInt(1);
|
|
267
|
+
var decimalBase = /* @__PURE__ */ BigInt(1000);
|
|
268
|
+
var binaryBase = /* @__PURE__ */ BigInt(1024);
|
|
269
|
+
var decimalUnits = [{
|
|
270
|
+
symbol: "B",
|
|
271
|
+
factor: bigint1,
|
|
272
|
+
names: ["B", "byte", "bytes"]
|
|
273
|
+
}, {
|
|
274
|
+
symbol: "kB",
|
|
275
|
+
factor: decimalBase,
|
|
276
|
+
names: ["kB", "kilobyte", "kilobytes"]
|
|
277
|
+
}, {
|
|
278
|
+
symbol: "MB",
|
|
279
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(2),
|
|
280
|
+
names: ["MB", "megabyte", "megabytes"]
|
|
281
|
+
}, {
|
|
282
|
+
symbol: "GB",
|
|
283
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(3),
|
|
284
|
+
names: ["GB", "gigabyte", "gigabytes"]
|
|
285
|
+
}, {
|
|
286
|
+
symbol: "TB",
|
|
287
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(4),
|
|
288
|
+
names: ["TB", "terabyte", "terabytes"]
|
|
289
|
+
}, {
|
|
290
|
+
symbol: "PB",
|
|
291
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(5),
|
|
292
|
+
names: ["PB", "petabyte", "petabytes"]
|
|
293
|
+
}, {
|
|
294
|
+
symbol: "EB",
|
|
295
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(6),
|
|
296
|
+
names: ["EB", "exabyte", "exabytes"]
|
|
297
|
+
}, {
|
|
298
|
+
symbol: "ZB",
|
|
299
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(7),
|
|
300
|
+
names: ["ZB", "zettabyte", "zettabytes"]
|
|
301
|
+
}, {
|
|
302
|
+
symbol: "YB",
|
|
303
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(8),
|
|
304
|
+
names: ["YB", "yottabyte", "yottabytes"]
|
|
305
|
+
}, {
|
|
306
|
+
symbol: "RB",
|
|
307
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(9),
|
|
308
|
+
names: ["RB", "ronnabyte", "ronnabytes"]
|
|
309
|
+
}, {
|
|
310
|
+
symbol: "QB",
|
|
311
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(10),
|
|
312
|
+
names: ["QB", "quettabyte", "quettabytes"]
|
|
313
|
+
}];
|
|
314
|
+
var binaryUnits = [decimalUnits[0], {
|
|
315
|
+
symbol: "KiB",
|
|
316
|
+
factor: binaryBase,
|
|
317
|
+
names: ["KiB", "kibibyte", "kibibytes"]
|
|
318
|
+
}, {
|
|
319
|
+
symbol: "MiB",
|
|
320
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(2),
|
|
321
|
+
names: ["MiB", "mebibyte", "mebibytes"]
|
|
322
|
+
}, {
|
|
323
|
+
symbol: "GiB",
|
|
324
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(3),
|
|
325
|
+
names: ["GiB", "gibibyte", "gibibytes"]
|
|
326
|
+
}, {
|
|
327
|
+
symbol: "TiB",
|
|
328
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(4),
|
|
329
|
+
names: ["TiB", "tebibyte", "tebibytes"]
|
|
330
|
+
}, {
|
|
331
|
+
symbol: "PiB",
|
|
332
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(5),
|
|
333
|
+
names: ["PiB", "pebibyte", "pebibytes"]
|
|
334
|
+
}, {
|
|
335
|
+
symbol: "EiB",
|
|
336
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(6),
|
|
337
|
+
names: ["EiB", "exbibyte", "exbibytes"]
|
|
338
|
+
}, {
|
|
339
|
+
symbol: "ZiB",
|
|
340
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(7),
|
|
341
|
+
names: ["ZiB", "zebibyte", "zebibytes"]
|
|
342
|
+
}, {
|
|
343
|
+
symbol: "YiB",
|
|
344
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(8),
|
|
345
|
+
names: ["YiB", "yobibyte", "yobibytes"]
|
|
346
|
+
}];
|
|
347
|
+
var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
|
|
348
|
+
var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
|
|
349
|
+
var make = (value) => value;
|
|
350
|
+
var invalid = (message) => {
|
|
351
|
+
throw new Error(`Invalid ByteSize: ${message}`);
|
|
352
|
+
};
|
|
353
|
+
var fromNumber = (input) => {
|
|
354
|
+
if (!Number.isSafeInteger(input) || input < 0) {
|
|
355
|
+
return invalid(`expected a non-negative safe integer, received ${input}`);
|
|
356
|
+
}
|
|
357
|
+
return make(BigInt(input));
|
|
358
|
+
};
|
|
359
|
+
var maxSafeInteger = /* @__PURE__ */ BigInt(Number.MAX_SAFE_INTEGER);
|
|
360
|
+
var scaleDecimal = (quantity, factor) => {
|
|
361
|
+
const match = /^(\d+)(?:\.(\d+))?(?:e([+-]\d+))?$/.exec(quantity);
|
|
362
|
+
if (match === null)
|
|
363
|
+
return;
|
|
364
|
+
const fraction = match[2] ?? "";
|
|
365
|
+
const numerator = BigInt(match[1] + fraction) * factor;
|
|
366
|
+
const shift = Number(match[3] ?? 0) - fraction.length;
|
|
367
|
+
if (shift >= 0)
|
|
368
|
+
return numerator * BigInt(10) ** BigInt(shift);
|
|
369
|
+
const scale = BigInt(10) ** BigInt(-shift);
|
|
370
|
+
return numerator % scale === bigint0 ? numerator / scale : undefined;
|
|
371
|
+
};
|
|
372
|
+
var fromStringUnsafe = (input) => {
|
|
373
|
+
const match = /^\s*(\d+(?:\.\d+)?)\s*([A-Za-z]+)\s*$/.exec(input);
|
|
374
|
+
if (match === null)
|
|
375
|
+
return invalid(`unsupported syntax ${JSON.stringify(input)}`);
|
|
376
|
+
const unit = unitsByName.get(match[2]);
|
|
377
|
+
if (unit === undefined)
|
|
378
|
+
return invalid(`unsupported unit ${JSON.stringify(match[2])}`);
|
|
379
|
+
const value = scaleDecimal(match[1], unit.factor);
|
|
380
|
+
if (value === undefined)
|
|
381
|
+
return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
|
|
382
|
+
return make(value);
|
|
383
|
+
};
|
|
384
|
+
var fromInputUnsafe2 = (input) => {
|
|
385
|
+
switch (typeof input) {
|
|
386
|
+
case "bigint":
|
|
387
|
+
if (input < bigint0)
|
|
388
|
+
return invalid(`expected a non-negative bigint, received ${input}`);
|
|
389
|
+
return make(input);
|
|
390
|
+
case "number":
|
|
391
|
+
return fromNumber(input);
|
|
392
|
+
case "string":
|
|
393
|
+
return fromStringUnsafe(input);
|
|
394
|
+
}
|
|
395
|
+
return invalid(`unsupported input ${input}`);
|
|
396
|
+
};
|
|
397
|
+
var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
|
|
398
|
+
|
|
256
399
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
|
|
257
400
|
var join = fiberJoin;
|
|
258
401
|
var interrupt = fiberInterrupt;
|
|
@@ -805,7 +948,7 @@ var isIgnorable = (error) => isMissing(error) || error.reason._tag === "Permissi
|
|
|
805
948
|
var isNotLink = (error) => isIgnorable(error) || error.reason._tag === "Unknown";
|
|
806
949
|
var DIRECTORY_CONCURRENCY = 16;
|
|
807
950
|
var byName = /* @__PURE__ */ mapInput(String3, (entry) => entry.name);
|
|
808
|
-
var
|
|
951
|
+
var make2 = (fs) => (pattern, options) => walk(fs, compile([pattern], options?.dot ?? false), options);
|
|
809
952
|
var walk = /* @__PURE__ */ fnUntraced(function* (fs, compiled, options) {
|
|
810
953
|
if (compiled.initial.size === 0) {
|
|
811
954
|
return [];
|
|
@@ -983,7 +1126,7 @@ var badArgument = (options) => new PlatformError(new BadArgument(options));
|
|
|
983
1126
|
|
|
984
1127
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Latch.js
|
|
985
1128
|
var makeUnsafe2 = makeLatchUnsafe;
|
|
986
|
-
var
|
|
1129
|
+
var make3 = makeLatch;
|
|
987
1130
|
|
|
988
1131
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableRef.js
|
|
989
1132
|
var TypeId2 = "~effect/MutableRef";
|
|
@@ -997,7 +1140,7 @@ var MutableRefProto = {
|
|
|
997
1140
|
};
|
|
998
1141
|
}
|
|
999
1142
|
};
|
|
1000
|
-
var
|
|
1143
|
+
var make8 = (value) => {
|
|
1001
1144
|
const ref = Object.create(MutableRefProto);
|
|
1002
1145
|
ref.current = value;
|
|
1003
1146
|
return ref;
|
|
@@ -1009,7 +1152,7 @@ var set = /* @__PURE__ */ dual(2, (self, value) => {
|
|
|
1009
1152
|
|
|
1010
1153
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableList.js
|
|
1011
1154
|
var Empty = /* @__PURE__ */ Symbol.for("effect/MutableList/Empty");
|
|
1012
|
-
var
|
|
1155
|
+
var make4 = () => ({
|
|
1013
1156
|
head: undefined,
|
|
1014
1157
|
tail: undefined,
|
|
1015
1158
|
length: 0
|
|
@@ -1158,8 +1301,8 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1158
1301
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1159
1302
|
var TypeId3 = "~effect/PubSub";
|
|
1160
1303
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1161
|
-
var
|
|
1162
|
-
var unbounded = (options) =>
|
|
1304
|
+
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
|
|
1305
|
+
var unbounded = (options) => make5({
|
|
1163
1306
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1164
1307
|
strategy: () => new DroppingStrategy
|
|
1165
1308
|
});
|
|
@@ -1253,7 +1396,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1253
1396
|
subscribers.delete(subscription);
|
|
1254
1397
|
}
|
|
1255
1398
|
};
|
|
1256
|
-
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(),
|
|
1399
|
+
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
|
|
1257
1400
|
class UnboundedPubSub {
|
|
1258
1401
|
publisherHead = {
|
|
1259
1402
|
value: AbsentValue,
|
|
@@ -1670,12 +1813,12 @@ var QueueProto = {
|
|
|
1670
1813
|
};
|
|
1671
1814
|
}
|
|
1672
1815
|
};
|
|
1673
|
-
var
|
|
1816
|
+
var make9 = (options) => withFiber((fiber) => {
|
|
1674
1817
|
const self = Object.create(QueueProto);
|
|
1675
1818
|
self.dispatcher = fiber.currentDispatcher;
|
|
1676
1819
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
1677
1820
|
self.strategy = options?.strategy ?? "suspend";
|
|
1678
|
-
self.messages =
|
|
1821
|
+
self.messages = make4();
|
|
1679
1822
|
self.scheduleRunning = false;
|
|
1680
1823
|
self.state = {
|
|
1681
1824
|
_tag: "Open",
|
|
@@ -1685,14 +1828,14 @@ var make8 = (options) => withFiber((fiber) => {
|
|
|
1685
1828
|
};
|
|
1686
1829
|
return succeed2(self);
|
|
1687
1830
|
});
|
|
1688
|
-
var bounded = (capacity) =>
|
|
1831
|
+
var bounded = (capacity) => make9({
|
|
1689
1832
|
capacity
|
|
1690
1833
|
});
|
|
1691
|
-
var sliding = (capacity) =>
|
|
1834
|
+
var sliding = (capacity) => make9({
|
|
1692
1835
|
capacity,
|
|
1693
1836
|
strategy: "sliding"
|
|
1694
1837
|
});
|
|
1695
|
-
var unbounded2 = () =>
|
|
1838
|
+
var unbounded2 = () => make9();
|
|
1696
1839
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1697
1840
|
var offerUnsafe = (self, message) => {
|
|
1698
1841
|
if (self.state._tag !== "Open") {
|
|
@@ -2118,7 +2261,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2118
2261
|
return onError(pull, onCause);
|
|
2119
2262
|
}));
|
|
2120
2263
|
var toTransform = (channel) => channel.transform;
|
|
2121
|
-
var asyncQueue = (scope, f, options) =>
|
|
2264
|
+
var asyncQueue = (scope, f, options) => make9({
|
|
2122
2265
|
capacity: options?.bufferSize,
|
|
2123
2266
|
strategy: options?.strategy
|
|
2124
2267
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2159,7 +2302,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2159
2302
|
}));
|
|
2160
2303
|
var readableStreamToPullUnsafe = (options) => {
|
|
2161
2304
|
const reader = options.readable.getReader();
|
|
2162
|
-
const exit = options.exit ??
|
|
2305
|
+
const exit = options.exit ?? make8(undefined);
|
|
2163
2306
|
const pull = suspend3(() => {
|
|
2164
2307
|
if (exit.current)
|
|
2165
2308
|
return exit.current;
|
|
@@ -2367,7 +2510,7 @@ var mergeAll = /* @__PURE__ */ dual(2, (channels, {
|
|
|
2367
2510
|
}) => fromTransformBracket(fnUntraced(function* (upstream, scope, forkedScope) {
|
|
2368
2511
|
const concurrencyN = concurrency === "unbounded" ? Number.MAX_SAFE_INTEGER : Math.max(1, concurrency);
|
|
2369
2512
|
const semaphore = switch_ ? undefined : makeUnsafe3(concurrencyN);
|
|
2370
|
-
const doneLatch = yield*
|
|
2513
|
+
const doneLatch = yield* make3(true);
|
|
2371
2514
|
const fibers = new Map;
|
|
2372
2515
|
const queue = yield* bounded(bufferSize);
|
|
2373
2516
|
yield* addFinalizer(forkedScope, shutdown(queue));
|
|
@@ -2704,7 +2847,7 @@ class RcRefImpl {
|
|
|
2704
2847
|
this.idleTimeToLive = idleTimeToLive;
|
|
2705
2848
|
}
|
|
2706
2849
|
}
|
|
2707
|
-
var
|
|
2850
|
+
var make6 = (options) => withFiber2((fiber) => {
|
|
2708
2851
|
const context = fiber.context;
|
|
2709
2852
|
const scope = get4(context, Scope);
|
|
2710
2853
|
const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
|
|
@@ -2813,7 +2956,7 @@ var release = (self, state) => {
|
|
|
2813
2956
|
};
|
|
2814
2957
|
|
|
2815
2958
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2816
|
-
var
|
|
2959
|
+
var make10 = make6;
|
|
2817
2960
|
var get3 = get2;
|
|
2818
2961
|
|
|
2819
2962
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2825,7 +2968,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2825
2968
|
var toChannel2 = (stream) => stream.channel;
|
|
2826
2969
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2827
2970
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2828
|
-
var
|
|
2971
|
+
var make11 = (...values) => fromArray2(values);
|
|
2829
2972
|
var suspend = (stream) => {
|
|
2830
2973
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2831
2974
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3025,10 +3168,10 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
3025
3168
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3026
3169
|
var TypeId10 = "~effect/FileSystem";
|
|
3027
3170
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3028
|
-
var
|
|
3171
|
+
var make12 = (impl) => FileSystem.of({
|
|
3029
3172
|
...impl,
|
|
3030
3173
|
[TypeId10]: TypeId10,
|
|
3031
|
-
glob:
|
|
3174
|
+
glob: make2(impl),
|
|
3032
3175
|
exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
|
|
3033
3176
|
readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
|
|
3034
3177
|
try: () => new TextDecoder(encoding).decode(_),
|
|
@@ -3085,7 +3228,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3085
3228
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3086
3229
|
var TypeId11 = "~effect/Path";
|
|
3087
3230
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3088
|
-
var
|
|
3231
|
+
var make13 = (impl) => Path.of({
|
|
3089
3232
|
...impl,
|
|
3090
3233
|
[TypeId11]: TypeId11,
|
|
3091
3234
|
resolveWithin(root, input) {
|
|
@@ -3160,7 +3303,7 @@ function makeProvider(load, mapInput) {
|
|
|
3160
3303
|
function makeSource(get, transform) {
|
|
3161
3304
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3162
3305
|
}
|
|
3163
|
-
function
|
|
3306
|
+
function make7(get) {
|
|
3164
3307
|
return makeSource(get, identityPath);
|
|
3165
3308
|
}
|
|
3166
3309
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3169,7 +3312,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3169
3312
|
function fromEnvRecord(env, options) {
|
|
3170
3313
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3171
3314
|
const trie = buildEnvTrie(env);
|
|
3172
|
-
return
|
|
3315
|
+
return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3173
3316
|
}
|
|
3174
3317
|
function fromEnv(options) {
|
|
3175
3318
|
const env = options?.env ?? {
|
|
@@ -3251,7 +3394,7 @@ var Proto2 = {
|
|
|
3251
3394
|
};
|
|
3252
3395
|
}
|
|
3253
3396
|
};
|
|
3254
|
-
function
|
|
3397
|
+
function make14(evaluator) {
|
|
3255
3398
|
const self = Object.create(Proto2);
|
|
3256
3399
|
self.evaluator = evaluator;
|
|
3257
3400
|
self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
|
|
@@ -3259,14 +3402,14 @@ function make13(evaluator) {
|
|
|
3259
3402
|
}
|
|
3260
3403
|
var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
|
|
3261
3404
|
var map3 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
3262
|
-
return
|
|
3405
|
+
return make14((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
|
|
3263
3406
|
});
|
|
3264
3407
|
function all(arg) {
|
|
3265
3408
|
const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
|
|
3266
|
-
return
|
|
3409
|
+
return make14((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));
|
|
3267
3410
|
}
|
|
3268
3411
|
var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
|
|
3269
|
-
return
|
|
3412
|
+
return make14((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
|
|
3270
3413
|
});
|
|
3271
3414
|
var option = (self) => self.pipe(map3(some), withDefault(none()));
|
|
3272
3415
|
var isSourceError = (u) => isTagged(u, "SourceError");
|
|
@@ -3385,7 +3528,7 @@ function schema(codec, path) {
|
|
|
3385
3528
|
const encodedAst = toEncoded(codecStringTree.ast);
|
|
3386
3529
|
const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
|
|
3387
3530
|
const localPath = typeof path === "string" ? [path] : path ?? [];
|
|
3388
|
-
return
|
|
3531
|
+
return make14((provider, pathPrefix) => {
|
|
3389
3532
|
const fullPath = [...pathPrefix, ...localPath];
|
|
3390
3533
|
return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
|
|
3391
3534
|
const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
|
|
@@ -3501,4 +3644,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3501
3644
|
...argv
|
|
3502
3645
|
];
|
|
3503
3646
|
|
|
3504
|
-
export { map, makeEquivalence, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2,
|
|
3647
|
+
export { map, makeEquivalence, toNumber, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, 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, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, 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 };
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-h2f26xbd.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-63cyj9dh.js";
|
|
32
32
|
import {
|
|
33
33
|
newerKitmanVersion,
|
|
34
34
|
digestSha256,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
get2,
|
|
40
40
|
layer4,
|
|
41
41
|
KitDigest
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-zmqm4mrm.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
|
@@ -138,7 +138,12 @@ import {
|
|
|
138
138
|
toJsonSchemaDocument,
|
|
139
139
|
toCodecJson,
|
|
140
140
|
Json
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-h2f26xbd.js";
|
|
142
|
+
import {
|
|
143
|
+
getCurrent,
|
|
144
|
+
runForEach,
|
|
145
|
+
FileSystem
|
|
146
|
+
} from "./chunk-63cyj9dh.js";
|
|
142
147
|
import {
|
|
143
148
|
currentTimeMillis,
|
|
144
149
|
WebCrypto,
|
|
@@ -176,23 +181,18 @@ import {
|
|
|
176
181
|
StepManifest,
|
|
177
182
|
KitSetup,
|
|
178
183
|
RunnerRpcError
|
|
179
|
-
} from "./chunk-
|
|
180
|
-
import {
|
|
181
|
-
getCurrent,
|
|
182
|
-
runForEach,
|
|
183
|
-
FileSystem
|
|
184
|
-
} from "./chunk-z59pvcbk.js";
|
|
184
|
+
} from "./chunk-zmqm4mrm.js";
|
|
185
185
|
import {
|
|
186
186
|
splitQuestionOptions,
|
|
187
187
|
recommendationProblem,
|
|
188
188
|
questionAdvice
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-tsx0347c.js";
|
|
190
190
|
import {
|
|
191
191
|
guard,
|
|
192
192
|
Id,
|
|
193
193
|
Timestamp,
|
|
194
194
|
ActorType
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-4qjfn1sa.js";
|
|
196
196
|
var __defProp = Object.defineProperty;
|
|
197
197
|
var __returnValue = (v) => v;
|
|
198
198
|
function __exportSetter(name, newValue) {
|