@kitman-sh/cli 0.13.5 → 0.13.6
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-5zth85pj.js → chunk-27pv44t3.js} +2 -2
- package/dist/{chunk-5zhh41gb.js → chunk-2x1q8z5t.js} +4 -4
- package/dist/{chunk-scj257qb.js → chunk-3teferzd.js} +4 -4
- package/dist/{chunk-mtkstrh3.js → chunk-4nfan8t6.js} +14 -60
- package/dist/{chunk-0yj73sqp.js → chunk-89hds8q4.js} +24 -24
- package/dist/{chunk-rvqsm1w7.js → chunk-9t8afbrw.js} +6 -6
- package/dist/{chunk-jmhqrt90.js → chunk-a0wt1r43.js} +23 -23
- package/dist/{chunk-z0a98xqg.js → chunk-at4e0xvg.js} +7 -7
- package/dist/{chunk-gy9rf14f.js → chunk-bz4bp0q7.js} +3 -3
- package/dist/{chunk-cbpb2rww.js → chunk-cabmcvy1.js} +7 -7
- package/dist/{chunk-dpfxvmh3.js → chunk-cg3xstek.js} +3 -3
- package/dist/{chunk-pn9atvw8.js → chunk-hg8wgm04.js} +4 -4
- package/dist/{chunk-tkhxmk5r.js → chunk-j974anp7.js} +1 -1
- package/dist/{chunk-gq7y5v3e.js → chunk-mm2m3bys.js} +1 -1
- package/dist/{chunk-yfn0hs5r.js → chunk-mwkn1c5q.js} +111 -123
- package/dist/{chunk-vg39q6ac.js → chunk-qj412x98.js} +11 -11
- package/dist/{chunk-txf9spw3.js → chunk-r08sz4ry.js} +6 -6
- package/dist/{chunk-yqdmhwpd.js → chunk-s06x2ktk.js} +7 -7
- package/dist/{chunk-q5w3v4k1.js → chunk-s8m2tzdr.js} +1 -1
- package/dist/{chunk-y1krmnbv.js → chunk-skqn4h13.js} +2 -2
- package/dist/{chunk-0h49y8gf.js → chunk-vktjb2p7.js} +36 -164
- package/dist/{chunk-cvzyx4wy.js → chunk-vmzr8xcg.js} +7 -6
- package/dist/{chunk-zw3gf6r5.js → chunk-x3cc7dfc.js} +226 -40
- package/dist/{chunk-dgeyx2fa.js → chunk-xc1grg7y.js} +2 -2
- package/dist/{chunk-kymmwg71.js → chunk-xy7ze8dj.js} +22 -22
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -32,8 +32,8 @@ import {
|
|
|
32
32
|
toCodecJson,
|
|
33
33
|
Json,
|
|
34
34
|
encodePrettyJsonString
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import"./chunk-
|
|
35
|
+
} from "./chunk-x3cc7dfc.js";
|
|
36
|
+
import"./chunk-s8m2tzdr.js";
|
|
37
37
|
import {
|
|
38
38
|
SecureRandom,
|
|
39
39
|
layerWebCrypto,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
layer4,
|
|
46
46
|
kitmanMcpServer,
|
|
47
47
|
RunnerRpcProtocolVersion
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-mwkn1c5q.js";
|
|
49
49
|
import {
|
|
50
50
|
decodeText,
|
|
51
51
|
mkString,
|
|
@@ -53,23 +53,23 @@ import {
|
|
|
53
53
|
Path,
|
|
54
54
|
withDefault,
|
|
55
55
|
String2
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-vktjb2p7.js";
|
|
57
57
|
import {
|
|
58
58
|
Packument,
|
|
59
59
|
tarballMatches
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import"./chunk-
|
|
60
|
+
} from "./chunk-cg3xstek.js";
|
|
61
|
+
import"./chunk-at4e0xvg.js";
|
|
62
62
|
import {
|
|
63
63
|
AgentDeclaration,
|
|
64
64
|
KitDeclarations,
|
|
65
65
|
describeFlag,
|
|
66
66
|
Described
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-vmzr8xcg.js";
|
|
68
68
|
import {
|
|
69
69
|
ChildProcessSpawner,
|
|
70
|
-
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import"./chunk-
|
|
70
|
+
make2
|
|
71
|
+
} from "./chunk-4nfan8t6.js";
|
|
72
|
+
import"./chunk-r08sz4ry.js";
|
|
73
73
|
|
|
74
74
|
// packages/sdk/src/build/index.ts
|
|
75
75
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -108,7 +108,7 @@ var ConfigAgents = Record(String4, Struct({
|
|
|
108
108
|
}));
|
|
109
109
|
var run = (command, args, cwd) => gen(function* () {
|
|
110
110
|
const spawner = yield* ChildProcessSpawner;
|
|
111
|
-
const handle = yield* spawner.spawn(
|
|
111
|
+
const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
|
|
112
112
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
113
113
|
mkString(decodeText(handle.stdout)),
|
|
114
114
|
mkString(decodeText(handle.stderr)),
|
|
@@ -96,8 +96,9 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-x3cc7dfc.js";
|
|
100
100
|
import {
|
|
101
|
+
Clock,
|
|
101
102
|
interrupt,
|
|
102
103
|
getCurrent,
|
|
103
104
|
makeUnsafe2,
|
|
@@ -108,9 +109,8 @@ import {
|
|
|
108
109
|
shutdownUnsafe,
|
|
109
110
|
fromQueue,
|
|
110
111
|
unwrap
|
|
111
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-vktjb2p7.js";
|
|
112
113
|
import {
|
|
113
|
-
Clock,
|
|
114
114
|
empty,
|
|
115
115
|
fromInput,
|
|
116
116
|
merge,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-mwkn1c5q.js";
|
|
127
127
|
|
|
128
128
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
|
|
129
129
|
class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
|
|
@@ -483,7 +483,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
483
483
|
};
|
|
484
484
|
});
|
|
485
485
|
var clientIdCounter = 0;
|
|
486
|
-
var
|
|
486
|
+
var make3 = /* @__PURE__ */ fnUntraced(function* (group, options) {
|
|
487
487
|
const clientId = clientIdCounter++;
|
|
488
488
|
const {
|
|
489
489
|
codecFor,
|
|
@@ -829,4 +829,4 @@ var layerProtocolSocket = (options) => effect(Protocol)(makeProtocolSocket(optio
|
|
|
829
829
|
class ConnectionHooks extends (/* @__PURE__ */ Service2()("effect/rpc/RpcClient/ConnectionHooks")) {
|
|
830
830
|
}
|
|
831
831
|
|
|
832
|
-
export { layerJson,
|
|
832
|
+
export { layerJson, make3, withHeaders, layerProtocolSocket, ConnectionHooks };
|
|
@@ -13,27 +13,27 @@ import {
|
|
|
13
13
|
isJsonObject,
|
|
14
14
|
decodeJsonString,
|
|
15
15
|
encodePrettyJsonString
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import"./chunk-
|
|
16
|
+
} from "./chunk-x3cc7dfc.js";
|
|
17
|
+
import"./chunk-s8m2tzdr.js";
|
|
18
18
|
import {
|
|
19
19
|
FileSystem,
|
|
20
20
|
Path
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-vktjb2p7.js";
|
|
22
22
|
import {
|
|
23
23
|
tomlTableHeader2,
|
|
24
24
|
tomlKeyPath2,
|
|
25
25
|
kitmanSkillEntry,
|
|
26
26
|
isPathWithin2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3teferzd.js";
|
|
28
28
|
import {
|
|
29
29
|
instructionsStart,
|
|
30
30
|
instructionsEnd,
|
|
31
31
|
renderMcpServer,
|
|
32
32
|
materializeKitSetup,
|
|
33
33
|
tomlInline
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import"./chunk-
|
|
36
|
-
import"./chunk-
|
|
34
|
+
} from "./chunk-mwkn1c5q.js";
|
|
35
|
+
import"./chunk-cg3xstek.js";
|
|
36
|
+
import"./chunk-4nfan8t6.js";
|
|
37
37
|
|
|
38
38
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
39
39
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isMinLength,
|
|
19
19
|
isMaxLength,
|
|
20
20
|
FiniteFromString
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-x3cc7dfc.js";
|
|
22
22
|
|
|
23
23
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
|
|
24
24
|
var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-x3cc7dfc.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-s8m2tzdr.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -79,6 +79,8 @@ import {
|
|
|
79
79
|
fiberRunIn,
|
|
80
80
|
makeLatchUnsafe,
|
|
81
81
|
makeLatch,
|
|
82
|
+
ClockRef,
|
|
83
|
+
currentTimeMillis2,
|
|
82
84
|
succeed3,
|
|
83
85
|
failCause2,
|
|
84
86
|
fail4,
|
|
@@ -186,6 +188,7 @@ import {
|
|
|
186
188
|
mapEager,
|
|
187
189
|
flatMapEager,
|
|
188
190
|
catchEager,
|
|
191
|
+
fromInputUnsafe2,
|
|
189
192
|
Pointer,
|
|
190
193
|
passthrough,
|
|
191
194
|
transformEffect,
|
|
@@ -201,7 +204,7 @@ import {
|
|
|
201
204
|
String4,
|
|
202
205
|
toCodecStringTree,
|
|
203
206
|
encodeUnknownJsonStringSync
|
|
204
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-x3cc7dfc.js";
|
|
205
208
|
|
|
206
209
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
207
210
|
var headUnsafe = (self) => {
|
|
@@ -250,140 +253,9 @@ var makeEquivalence = (equivalence) => {
|
|
|
250
253
|
return (self, that) => is(self, that) && is(that, self);
|
|
251
254
|
};
|
|
252
255
|
|
|
253
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/
|
|
254
|
-
var
|
|
255
|
-
var
|
|
256
|
-
var decimalBase = /* @__PURE__ */ BigInt(1000);
|
|
257
|
-
var binaryBase = /* @__PURE__ */ BigInt(1024);
|
|
258
|
-
var decimalUnits = [{
|
|
259
|
-
symbol: "B",
|
|
260
|
-
factor: bigint1,
|
|
261
|
-
names: ["B", "byte", "bytes"]
|
|
262
|
-
}, {
|
|
263
|
-
symbol: "kB",
|
|
264
|
-
factor: decimalBase,
|
|
265
|
-
names: ["kB", "kilobyte", "kilobytes"]
|
|
266
|
-
}, {
|
|
267
|
-
symbol: "MB",
|
|
268
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(2),
|
|
269
|
-
names: ["MB", "megabyte", "megabytes"]
|
|
270
|
-
}, {
|
|
271
|
-
symbol: "GB",
|
|
272
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(3),
|
|
273
|
-
names: ["GB", "gigabyte", "gigabytes"]
|
|
274
|
-
}, {
|
|
275
|
-
symbol: "TB",
|
|
276
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(4),
|
|
277
|
-
names: ["TB", "terabyte", "terabytes"]
|
|
278
|
-
}, {
|
|
279
|
-
symbol: "PB",
|
|
280
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(5),
|
|
281
|
-
names: ["PB", "petabyte", "petabytes"]
|
|
282
|
-
}, {
|
|
283
|
-
symbol: "EB",
|
|
284
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(6),
|
|
285
|
-
names: ["EB", "exabyte", "exabytes"]
|
|
286
|
-
}, {
|
|
287
|
-
symbol: "ZB",
|
|
288
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(7),
|
|
289
|
-
names: ["ZB", "zettabyte", "zettabytes"]
|
|
290
|
-
}, {
|
|
291
|
-
symbol: "YB",
|
|
292
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(8),
|
|
293
|
-
names: ["YB", "yottabyte", "yottabytes"]
|
|
294
|
-
}, {
|
|
295
|
-
symbol: "RB",
|
|
296
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(9),
|
|
297
|
-
names: ["RB", "ronnabyte", "ronnabytes"]
|
|
298
|
-
}, {
|
|
299
|
-
symbol: "QB",
|
|
300
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(10),
|
|
301
|
-
names: ["QB", "quettabyte", "quettabytes"]
|
|
302
|
-
}];
|
|
303
|
-
var binaryUnits = [decimalUnits[0], {
|
|
304
|
-
symbol: "KiB",
|
|
305
|
-
factor: binaryBase,
|
|
306
|
-
names: ["KiB", "kibibyte", "kibibytes"]
|
|
307
|
-
}, {
|
|
308
|
-
symbol: "MiB",
|
|
309
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(2),
|
|
310
|
-
names: ["MiB", "mebibyte", "mebibytes"]
|
|
311
|
-
}, {
|
|
312
|
-
symbol: "GiB",
|
|
313
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(3),
|
|
314
|
-
names: ["GiB", "gibibyte", "gibibytes"]
|
|
315
|
-
}, {
|
|
316
|
-
symbol: "TiB",
|
|
317
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(4),
|
|
318
|
-
names: ["TiB", "tebibyte", "tebibytes"]
|
|
319
|
-
}, {
|
|
320
|
-
symbol: "PiB",
|
|
321
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(5),
|
|
322
|
-
names: ["PiB", "pebibyte", "pebibytes"]
|
|
323
|
-
}, {
|
|
324
|
-
symbol: "EiB",
|
|
325
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(6),
|
|
326
|
-
names: ["EiB", "exbibyte", "exbibytes"]
|
|
327
|
-
}, {
|
|
328
|
-
symbol: "ZiB",
|
|
329
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(7),
|
|
330
|
-
names: ["ZiB", "zebibyte", "zebibytes"]
|
|
331
|
-
}, {
|
|
332
|
-
symbol: "YiB",
|
|
333
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(8),
|
|
334
|
-
names: ["YiB", "yobibyte", "yobibytes"]
|
|
335
|
-
}];
|
|
336
|
-
var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
|
|
337
|
-
var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
|
|
338
|
-
var make = (value) => value;
|
|
339
|
-
var invalid = (message) => {
|
|
340
|
-
throw new Error(`Invalid ByteSize: ${message}`);
|
|
341
|
-
};
|
|
342
|
-
var fromNumber = (input) => {
|
|
343
|
-
if (!Number.isSafeInteger(input) || input < 0) {
|
|
344
|
-
return invalid(`expected a non-negative safe integer, received ${input}`);
|
|
345
|
-
}
|
|
346
|
-
return make(BigInt(input));
|
|
347
|
-
};
|
|
348
|
-
var maxSafeInteger = /* @__PURE__ */ BigInt(Number.MAX_SAFE_INTEGER);
|
|
349
|
-
var scaleDecimal = (quantity, factor) => {
|
|
350
|
-
const match = /^(\d+)(?:\.(\d+))?(?:e([+-]\d+))?$/.exec(quantity);
|
|
351
|
-
if (match === null)
|
|
352
|
-
return;
|
|
353
|
-
const fraction = match[2] ?? "";
|
|
354
|
-
const numerator = BigInt(match[1] + fraction) * factor;
|
|
355
|
-
const shift = Number(match[3] ?? 0) - fraction.length;
|
|
356
|
-
if (shift >= 0)
|
|
357
|
-
return numerator * BigInt(10) ** BigInt(shift);
|
|
358
|
-
const scale = BigInt(10) ** BigInt(-shift);
|
|
359
|
-
return numerator % scale === bigint0 ? numerator / scale : undefined;
|
|
360
|
-
};
|
|
361
|
-
var fromStringUnsafe = (input) => {
|
|
362
|
-
const match = /^\s*(\d+(?:\.\d+)?)\s*([A-Za-z]+)\s*$/.exec(input);
|
|
363
|
-
if (match === null)
|
|
364
|
-
return invalid(`unsupported syntax ${JSON.stringify(input)}`);
|
|
365
|
-
const unit = unitsByName.get(match[2]);
|
|
366
|
-
if (unit === undefined)
|
|
367
|
-
return invalid(`unsupported unit ${JSON.stringify(match[2])}`);
|
|
368
|
-
const value = scaleDecimal(match[1], unit.factor);
|
|
369
|
-
if (value === undefined)
|
|
370
|
-
return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
|
|
371
|
-
return make(value);
|
|
372
|
-
};
|
|
373
|
-
var fromInputUnsafe2 = (input) => {
|
|
374
|
-
switch (typeof input) {
|
|
375
|
-
case "bigint":
|
|
376
|
-
if (input < bigint0)
|
|
377
|
-
return invalid(`expected a non-negative bigint, received ${input}`);
|
|
378
|
-
return make(input);
|
|
379
|
-
case "number":
|
|
380
|
-
return fromNumber(input);
|
|
381
|
-
case "string":
|
|
382
|
-
return fromStringUnsafe(input);
|
|
383
|
-
}
|
|
384
|
-
return invalid(`unsupported input ${input}`);
|
|
385
|
-
};
|
|
386
|
-
var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
|
|
256
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
|
|
257
|
+
var Clock = ClockRef;
|
|
258
|
+
var currentTimeMillis = currentTimeMillis2;
|
|
387
259
|
|
|
388
260
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
|
|
389
261
|
var join = fiberJoin;
|
|
@@ -937,7 +809,7 @@ var isIgnorable = (error) => isMissing(error) || error.reason._tag === "Permissi
|
|
|
937
809
|
var isNotLink = (error) => isIgnorable(error) || error.reason._tag === "Unknown";
|
|
938
810
|
var DIRECTORY_CONCURRENCY = 16;
|
|
939
811
|
var byName = /* @__PURE__ */ mapInput(String3, (entry) => entry.name);
|
|
940
|
-
var
|
|
812
|
+
var make = (fs) => (pattern, options) => walk(fs, compile([pattern], options?.dot ?? false), options);
|
|
941
813
|
var walk = /* @__PURE__ */ fnUntraced(function* (fs, compiled, options) {
|
|
942
814
|
if (compiled.initial.size === 0) {
|
|
943
815
|
return [];
|
|
@@ -1115,7 +987,7 @@ var badArgument = (options) => new PlatformError(new BadArgument(options));
|
|
|
1115
987
|
|
|
1116
988
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Latch.js
|
|
1117
989
|
var makeUnsafe2 = makeLatchUnsafe;
|
|
1118
|
-
var
|
|
990
|
+
var make2 = makeLatch;
|
|
1119
991
|
|
|
1120
992
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableRef.js
|
|
1121
993
|
var TypeId2 = "~effect/MutableRef";
|
|
@@ -1129,7 +1001,7 @@ var MutableRefProto = {
|
|
|
1129
1001
|
};
|
|
1130
1002
|
}
|
|
1131
1003
|
};
|
|
1132
|
-
var
|
|
1004
|
+
var make7 = (value) => {
|
|
1133
1005
|
const ref = Object.create(MutableRefProto);
|
|
1134
1006
|
ref.current = value;
|
|
1135
1007
|
return ref;
|
|
@@ -1141,7 +1013,7 @@ var set = /* @__PURE__ */ dual(2, (self, value) => {
|
|
|
1141
1013
|
|
|
1142
1014
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableList.js
|
|
1143
1015
|
var Empty = /* @__PURE__ */ Symbol.for("effect/MutableList/Empty");
|
|
1144
|
-
var
|
|
1016
|
+
var make3 = () => ({
|
|
1145
1017
|
head: undefined,
|
|
1146
1018
|
tail: undefined,
|
|
1147
1019
|
length: 0
|
|
@@ -1290,8 +1162,8 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1290
1162
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1291
1163
|
var TypeId3 = "~effect/PubSub";
|
|
1292
1164
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1293
|
-
var
|
|
1294
|
-
var unbounded = (options) =>
|
|
1165
|
+
var make4 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
|
|
1166
|
+
var unbounded = (options) => make4({
|
|
1295
1167
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1296
1168
|
strategy: () => new DroppingStrategy
|
|
1297
1169
|
});
|
|
@@ -1385,7 +1257,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1385
1257
|
subscribers.delete(subscription);
|
|
1386
1258
|
}
|
|
1387
1259
|
};
|
|
1388
|
-
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(),
|
|
1260
|
+
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make3(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
|
|
1389
1261
|
class UnboundedPubSub {
|
|
1390
1262
|
publisherHead = {
|
|
1391
1263
|
value: AbsentValue,
|
|
@@ -1802,12 +1674,12 @@ var QueueProto = {
|
|
|
1802
1674
|
};
|
|
1803
1675
|
}
|
|
1804
1676
|
};
|
|
1805
|
-
var
|
|
1677
|
+
var make8 = (options) => withFiber((fiber) => {
|
|
1806
1678
|
const self = Object.create(QueueProto);
|
|
1807
1679
|
self.dispatcher = fiber.currentDispatcher;
|
|
1808
1680
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
1809
1681
|
self.strategy = options?.strategy ?? "suspend";
|
|
1810
|
-
self.messages =
|
|
1682
|
+
self.messages = make3();
|
|
1811
1683
|
self.scheduleRunning = false;
|
|
1812
1684
|
self.state = {
|
|
1813
1685
|
_tag: "Open",
|
|
@@ -1817,14 +1689,14 @@ var make9 = (options) => withFiber((fiber) => {
|
|
|
1817
1689
|
};
|
|
1818
1690
|
return succeed2(self);
|
|
1819
1691
|
});
|
|
1820
|
-
var bounded = (capacity) =>
|
|
1692
|
+
var bounded = (capacity) => make8({
|
|
1821
1693
|
capacity
|
|
1822
1694
|
});
|
|
1823
|
-
var sliding = (capacity) =>
|
|
1695
|
+
var sliding = (capacity) => make8({
|
|
1824
1696
|
capacity,
|
|
1825
1697
|
strategy: "sliding"
|
|
1826
1698
|
});
|
|
1827
|
-
var unbounded2 = () =>
|
|
1699
|
+
var unbounded2 = () => make8();
|
|
1828
1700
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1829
1701
|
var offerUnsafe = (self, message) => {
|
|
1830
1702
|
if (self.state._tag !== "Open") {
|
|
@@ -2250,7 +2122,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2250
2122
|
return onError(pull, onCause);
|
|
2251
2123
|
}));
|
|
2252
2124
|
var toTransform = (channel) => channel.transform;
|
|
2253
|
-
var asyncQueue = (scope, f, options) =>
|
|
2125
|
+
var asyncQueue = (scope, f, options) => make8({
|
|
2254
2126
|
capacity: options?.bufferSize,
|
|
2255
2127
|
strategy: options?.strategy
|
|
2256
2128
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2291,7 +2163,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2291
2163
|
}));
|
|
2292
2164
|
var readableStreamToPullUnsafe = (options) => {
|
|
2293
2165
|
const reader = options.readable.getReader();
|
|
2294
|
-
const exit = options.exit ??
|
|
2166
|
+
const exit = options.exit ?? make7(undefined);
|
|
2295
2167
|
const pull = suspend3(() => {
|
|
2296
2168
|
if (exit.current)
|
|
2297
2169
|
return exit.current;
|
|
@@ -2459,7 +2331,7 @@ var mergeAll = /* @__PURE__ */ dual(2, (channels, {
|
|
|
2459
2331
|
}) => fromTransformBracket(fnUntraced(function* (upstream, scope, forkedScope) {
|
|
2460
2332
|
const concurrencyN = concurrency === "unbounded" ? Number.MAX_SAFE_INTEGER : Math.max(1, concurrency);
|
|
2461
2333
|
const semaphore = switch_ ? undefined : makeUnsafe3(concurrencyN);
|
|
2462
|
-
const doneLatch = yield*
|
|
2334
|
+
const doneLatch = yield* make2(true);
|
|
2463
2335
|
const fibers = new Map;
|
|
2464
2336
|
const queue = yield* bounded(bufferSize);
|
|
2465
2337
|
yield* addFinalizer(forkedScope, shutdown(queue));
|
|
@@ -2796,7 +2668,7 @@ class RcRefImpl {
|
|
|
2796
2668
|
this.idleTimeToLive = idleTimeToLive;
|
|
2797
2669
|
}
|
|
2798
2670
|
}
|
|
2799
|
-
var
|
|
2671
|
+
var make5 = (options) => withFiber2((fiber) => {
|
|
2800
2672
|
const context = fiber.context;
|
|
2801
2673
|
const scope = get4(context, Scope);
|
|
2802
2674
|
const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
|
|
@@ -2905,7 +2777,7 @@ var release = (self, state) => {
|
|
|
2905
2777
|
};
|
|
2906
2778
|
|
|
2907
2779
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2908
|
-
var
|
|
2780
|
+
var make9 = make5;
|
|
2909
2781
|
var get3 = get2;
|
|
2910
2782
|
|
|
2911
2783
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2917,7 +2789,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2917
2789
|
var toChannel2 = (stream) => stream.channel;
|
|
2918
2790
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2919
2791
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2920
|
-
var
|
|
2792
|
+
var make10 = (...values) => fromArray2(values);
|
|
2921
2793
|
var suspend = (stream) => {
|
|
2922
2794
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2923
2795
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3082,10 +2954,10 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
3082
2954
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3083
2955
|
var TypeId10 = "~effect/FileSystem";
|
|
3084
2956
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3085
|
-
var
|
|
2957
|
+
var make11 = (impl) => FileSystem.of({
|
|
3086
2958
|
...impl,
|
|
3087
2959
|
[TypeId10]: TypeId10,
|
|
3088
|
-
glob:
|
|
2960
|
+
glob: make(impl),
|
|
3089
2961
|
exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
|
|
3090
2962
|
readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
|
|
3091
2963
|
try: () => new TextDecoder(encoding).decode(_),
|
|
@@ -3142,7 +3014,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3142
3014
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3143
3015
|
var TypeId11 = "~effect/Path";
|
|
3144
3016
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3145
|
-
var
|
|
3017
|
+
var make12 = (impl) => Path.of({
|
|
3146
3018
|
...impl,
|
|
3147
3019
|
[TypeId11]: TypeId11,
|
|
3148
3020
|
resolveWithin(root, input) {
|
|
@@ -3217,7 +3089,7 @@ function makeProvider(load, mapInput) {
|
|
|
3217
3089
|
function makeSource(get, transform) {
|
|
3218
3090
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3219
3091
|
}
|
|
3220
|
-
function
|
|
3092
|
+
function make6(get) {
|
|
3221
3093
|
return makeSource(get, identityPath);
|
|
3222
3094
|
}
|
|
3223
3095
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3226,7 +3098,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3226
3098
|
function fromEnvRecord(env, options) {
|
|
3227
3099
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3228
3100
|
const trie = buildEnvTrie(env);
|
|
3229
|
-
return
|
|
3101
|
+
return make6((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3230
3102
|
}
|
|
3231
3103
|
function fromEnv(options) {
|
|
3232
3104
|
const env = options?.env ?? {
|
|
@@ -3308,7 +3180,7 @@ var Proto2 = {
|
|
|
3308
3180
|
};
|
|
3309
3181
|
}
|
|
3310
3182
|
};
|
|
3311
|
-
function
|
|
3183
|
+
function make13(evaluator) {
|
|
3312
3184
|
const self = Object.create(Proto2);
|
|
3313
3185
|
self.evaluator = evaluator;
|
|
3314
3186
|
self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
|
|
@@ -3316,14 +3188,14 @@ function make14(evaluator) {
|
|
|
3316
3188
|
}
|
|
3317
3189
|
var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
|
|
3318
3190
|
var map3 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
3319
|
-
return
|
|
3191
|
+
return make13((provider, pathPrefix) => map8(evaluateAt(self, provider, pathPrefix), map5(f)));
|
|
3320
3192
|
});
|
|
3321
3193
|
function all(arg) {
|
|
3322
3194
|
const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
|
|
3323
|
-
return
|
|
3195
|
+
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));
|
|
3324
3196
|
}
|
|
3325
3197
|
var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
|
|
3326
|
-
return
|
|
3198
|
+
return make13((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
|
|
3327
3199
|
});
|
|
3328
3200
|
var option = (self) => self.pipe(map3(some), withDefault(none()));
|
|
3329
3201
|
var isSourceError = (u) => isTagged(u, "SourceError");
|
|
@@ -3442,7 +3314,7 @@ function schema(codec, path) {
|
|
|
3442
3314
|
const encodedAst = toEncoded(codecStringTree.ast);
|
|
3443
3315
|
const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
|
|
3444
3316
|
const localPath = typeof path === "string" ? [path] : path ?? [];
|
|
3445
|
-
return
|
|
3317
|
+
return make13((provider, pathPrefix) => {
|
|
3446
3318
|
const fullPath = [...pathPrefix, ...localPath];
|
|
3447
3319
|
return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
|
|
3448
3320
|
const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
|
|
@@ -3557,4 +3429,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3557
3429
|
...argv
|
|
3558
3430
|
];
|
|
3559
3431
|
|
|
3560
|
-
export { map, makeEquivalence,
|
|
3432
|
+
export { map, makeEquivalence, Clock, currentTimeMillis, join, interrupt, 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, empty2, make10, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make11, FileTypeId, WatchBackend, Path, make12, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -75,12 +75,11 @@ import {
|
|
|
75
75
|
toEquivalence,
|
|
76
76
|
toCodecJson,
|
|
77
77
|
Json
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-x3cc7dfc.js";
|
|
79
79
|
import {
|
|
80
80
|
guard
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-s8m2tzdr.js";
|
|
82
82
|
import {
|
|
83
|
-
currentTimeMillis,
|
|
84
83
|
WebCrypto,
|
|
85
84
|
SafeJson,
|
|
86
85
|
AgentSandboxNetwork,
|
|
@@ -105,11 +104,12 @@ import {
|
|
|
105
104
|
KitDigest,
|
|
106
105
|
KitSetup,
|
|
107
106
|
RunnerRpcError
|
|
108
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-mwkn1c5q.js";
|
|
109
108
|
import {
|
|
109
|
+
currentTimeMillis,
|
|
110
110
|
runForEach,
|
|
111
111
|
FileSystem
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-vktjb2p7.js";
|
|
113
113
|
|
|
114
114
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
|
|
115
115
|
var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
|
|
@@ -984,7 +984,8 @@ var Finding = Struct({
|
|
|
984
984
|
var MergedFinding = Struct({
|
|
985
985
|
id: String4,
|
|
986
986
|
...Finding.fields,
|
|
987
|
-
seats: ArraySchema(String4)
|
|
987
|
+
seats: ArraySchema(String4),
|
|
988
|
+
blockingSeats: optionalKey(ArraySchema(String4))
|
|
988
989
|
});
|
|
989
990
|
var Rebuttal = Struct({ findingId: String4, reason: String4 });
|
|
990
991
|
var RebuttalVerdict = Struct({ findingId: String4, accepted: Boolean2 });
|