@kitman-sh/cli 0.13.6 → 0.13.8
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-s06x2ktk.js → chunk-08dyrk6y.js} +7 -7
- package/dist/{chunk-vktjb2p7.js → chunk-0h49y8gf.js} +164 -36
- package/dist/{chunk-2x1q8z5t.js → chunk-5zhh41gb.js} +4 -4
- package/dist/{chunk-27pv44t3.js → chunk-5zth85pj.js} +2 -2
- package/dist/{chunk-vmzr8xcg.js → chunk-7bytsxkf.js} +7 -5
- package/dist/{chunk-9t8afbrw.js → chunk-96svx416.js} +6 -6
- package/dist/{chunk-xc1grg7y.js → chunk-a24jc5rx.js} +69 -47
- package/dist/{chunk-cg3xstek.js → chunk-byeasm6x.js} +3 -3
- package/dist/{chunk-hg8wgm04.js → chunk-c4ccpwjy.js} +4 -4
- package/dist/{chunk-cabmcvy1.js → chunk-cbpb2rww.js} +7 -7
- package/dist/{chunk-at4e0xvg.js → chunk-cq2h8q9e.js} +7 -7
- package/dist/{chunk-xy7ze8dj.js → chunk-eg1n8wvf.js} +36 -22
- package/dist/{chunk-j974anp7.js → chunk-ff1r9vcq.js} +1 -1
- package/dist/{chunk-89hds8q4.js → chunk-gj1padza.js} +156 -89
- package/dist/{chunk-mm2m3bys.js → chunk-gq7y5v3e.js} +1 -1
- package/dist/{chunk-qj412x98.js → chunk-gr17n0z3.js} +11 -11
- package/dist/{chunk-bz4bp0q7.js → chunk-gy9rf14f.js} +3 -3
- package/dist/{chunk-r08sz4ry.js → chunk-h1rmw7yk.js} +6 -6
- package/dist/{chunk-4nfan8t6.js → chunk-mtkstrh3.js} +60 -14
- package/dist/{chunk-s8m2tzdr.js → chunk-q5w3v4k1.js} +1 -1
- package/dist/{chunk-mwkn1c5q.js → chunk-vm2qy986.js} +129 -111
- package/dist/{chunk-skqn4h13.js → chunk-y1krmnbv.js} +2 -2
- package/dist/{chunk-a0wt1r43.js → chunk-z68rzf0f.js} +23 -23
- package/dist/{chunk-x3cc7dfc.js → chunk-zw3gf6r5.js} +40 -226
- package/dist/{chunk-3teferzd.js → chunk-zz589n7a.js} +7 -7
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -13,27 +13,27 @@ import {
|
|
|
13
13
|
isJsonObject,
|
|
14
14
|
decodeJsonString,
|
|
15
15
|
encodePrettyJsonString
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import"./chunk-
|
|
16
|
+
} from "./chunk-zw3gf6r5.js";
|
|
17
|
+
import"./chunk-q5w3v4k1.js";
|
|
18
18
|
import {
|
|
19
19
|
FileSystem,
|
|
20
20
|
Path
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-0h49y8gf.js";
|
|
22
22
|
import {
|
|
23
23
|
tomlTableHeader2,
|
|
24
24
|
tomlKeyPath2,
|
|
25
25
|
kitmanSkillEntry,
|
|
26
26
|
isPathWithin2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-zz589n7a.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-vm2qy986.js";
|
|
35
|
+
import"./chunk-byeasm6x.js";
|
|
36
|
+
import"./chunk-mtkstrh3.js";
|
|
37
37
|
|
|
38
38
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
39
39
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -79,8 +79,6 @@ import {
|
|
|
79
79
|
fiberRunIn,
|
|
80
80
|
makeLatchUnsafe,
|
|
81
81
|
makeLatch,
|
|
82
|
-
ClockRef,
|
|
83
|
-
currentTimeMillis2,
|
|
84
82
|
succeed3,
|
|
85
83
|
failCause2,
|
|
86
84
|
fail4,
|
|
@@ -188,7 +186,6 @@ import {
|
|
|
188
186
|
mapEager,
|
|
189
187
|
flatMapEager,
|
|
190
188
|
catchEager,
|
|
191
|
-
fromInputUnsafe2,
|
|
192
189
|
Pointer,
|
|
193
190
|
passthrough,
|
|
194
191
|
transformEffect,
|
|
@@ -204,7 +201,7 @@ import {
|
|
|
204
201
|
String4,
|
|
205
202
|
toCodecStringTree,
|
|
206
203
|
encodeUnknownJsonStringSync
|
|
207
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-zw3gf6r5.js";
|
|
208
205
|
|
|
209
206
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
210
207
|
var headUnsafe = (self) => {
|
|
@@ -253,9 +250,140 @@ var makeEquivalence = (equivalence) => {
|
|
|
253
250
|
return (self, that) => is(self, that) && is(that, self);
|
|
254
251
|
};
|
|
255
252
|
|
|
256
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/
|
|
257
|
-
var
|
|
258
|
-
var
|
|
253
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
254
|
+
var bigint0 = /* @__PURE__ */ BigInt(0);
|
|
255
|
+
var bigint1 = /* @__PURE__ */ BigInt(1);
|
|
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);
|
|
259
387
|
|
|
260
388
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
|
|
261
389
|
var join = fiberJoin;
|
|
@@ -809,7 +937,7 @@ var isIgnorable = (error) => isMissing(error) || error.reason._tag === "Permissi
|
|
|
809
937
|
var isNotLink = (error) => isIgnorable(error) || error.reason._tag === "Unknown";
|
|
810
938
|
var DIRECTORY_CONCURRENCY = 16;
|
|
811
939
|
var byName = /* @__PURE__ */ mapInput(String3, (entry) => entry.name);
|
|
812
|
-
var
|
|
940
|
+
var make2 = (fs) => (pattern, options) => walk(fs, compile([pattern], options?.dot ?? false), options);
|
|
813
941
|
var walk = /* @__PURE__ */ fnUntraced(function* (fs, compiled, options) {
|
|
814
942
|
if (compiled.initial.size === 0) {
|
|
815
943
|
return [];
|
|
@@ -987,7 +1115,7 @@ var badArgument = (options) => new PlatformError(new BadArgument(options));
|
|
|
987
1115
|
|
|
988
1116
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Latch.js
|
|
989
1117
|
var makeUnsafe2 = makeLatchUnsafe;
|
|
990
|
-
var
|
|
1118
|
+
var make3 = makeLatch;
|
|
991
1119
|
|
|
992
1120
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableRef.js
|
|
993
1121
|
var TypeId2 = "~effect/MutableRef";
|
|
@@ -1001,7 +1129,7 @@ var MutableRefProto = {
|
|
|
1001
1129
|
};
|
|
1002
1130
|
}
|
|
1003
1131
|
};
|
|
1004
|
-
var
|
|
1132
|
+
var make8 = (value) => {
|
|
1005
1133
|
const ref = Object.create(MutableRefProto);
|
|
1006
1134
|
ref.current = value;
|
|
1007
1135
|
return ref;
|
|
@@ -1013,7 +1141,7 @@ var set = /* @__PURE__ */ dual(2, (self, value) => {
|
|
|
1013
1141
|
|
|
1014
1142
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableList.js
|
|
1015
1143
|
var Empty = /* @__PURE__ */ Symbol.for("effect/MutableList/Empty");
|
|
1016
|
-
var
|
|
1144
|
+
var make4 = () => ({
|
|
1017
1145
|
head: undefined,
|
|
1018
1146
|
tail: undefined,
|
|
1019
1147
|
length: 0
|
|
@@ -1162,8 +1290,8 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1162
1290
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1163
1291
|
var TypeId3 = "~effect/PubSub";
|
|
1164
1292
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1165
|
-
var
|
|
1166
|
-
var unbounded = (options) =>
|
|
1293
|
+
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
|
|
1294
|
+
var unbounded = (options) => make5({
|
|
1167
1295
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1168
1296
|
strategy: () => new DroppingStrategy
|
|
1169
1297
|
});
|
|
@@ -1257,7 +1385,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1257
1385
|
subscribers.delete(subscription);
|
|
1258
1386
|
}
|
|
1259
1387
|
};
|
|
1260
|
-
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(),
|
|
1388
|
+
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
|
|
1261
1389
|
class UnboundedPubSub {
|
|
1262
1390
|
publisherHead = {
|
|
1263
1391
|
value: AbsentValue,
|
|
@@ -1674,12 +1802,12 @@ var QueueProto = {
|
|
|
1674
1802
|
};
|
|
1675
1803
|
}
|
|
1676
1804
|
};
|
|
1677
|
-
var
|
|
1805
|
+
var make9 = (options) => withFiber((fiber) => {
|
|
1678
1806
|
const self = Object.create(QueueProto);
|
|
1679
1807
|
self.dispatcher = fiber.currentDispatcher;
|
|
1680
1808
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
1681
1809
|
self.strategy = options?.strategy ?? "suspend";
|
|
1682
|
-
self.messages =
|
|
1810
|
+
self.messages = make4();
|
|
1683
1811
|
self.scheduleRunning = false;
|
|
1684
1812
|
self.state = {
|
|
1685
1813
|
_tag: "Open",
|
|
@@ -1689,14 +1817,14 @@ var make8 = (options) => withFiber((fiber) => {
|
|
|
1689
1817
|
};
|
|
1690
1818
|
return succeed2(self);
|
|
1691
1819
|
});
|
|
1692
|
-
var bounded = (capacity) =>
|
|
1820
|
+
var bounded = (capacity) => make9({
|
|
1693
1821
|
capacity
|
|
1694
1822
|
});
|
|
1695
|
-
var sliding = (capacity) =>
|
|
1823
|
+
var sliding = (capacity) => make9({
|
|
1696
1824
|
capacity,
|
|
1697
1825
|
strategy: "sliding"
|
|
1698
1826
|
});
|
|
1699
|
-
var unbounded2 = () =>
|
|
1827
|
+
var unbounded2 = () => make9();
|
|
1700
1828
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1701
1829
|
var offerUnsafe = (self, message) => {
|
|
1702
1830
|
if (self.state._tag !== "Open") {
|
|
@@ -2122,7 +2250,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2122
2250
|
return onError(pull, onCause);
|
|
2123
2251
|
}));
|
|
2124
2252
|
var toTransform = (channel) => channel.transform;
|
|
2125
|
-
var asyncQueue = (scope, f, options) =>
|
|
2253
|
+
var asyncQueue = (scope, f, options) => make9({
|
|
2126
2254
|
capacity: options?.bufferSize,
|
|
2127
2255
|
strategy: options?.strategy
|
|
2128
2256
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2163,7 +2291,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2163
2291
|
}));
|
|
2164
2292
|
var readableStreamToPullUnsafe = (options) => {
|
|
2165
2293
|
const reader = options.readable.getReader();
|
|
2166
|
-
const exit = options.exit ??
|
|
2294
|
+
const exit = options.exit ?? make8(undefined);
|
|
2167
2295
|
const pull = suspend3(() => {
|
|
2168
2296
|
if (exit.current)
|
|
2169
2297
|
return exit.current;
|
|
@@ -2331,7 +2459,7 @@ var mergeAll = /* @__PURE__ */ dual(2, (channels, {
|
|
|
2331
2459
|
}) => fromTransformBracket(fnUntraced(function* (upstream, scope, forkedScope) {
|
|
2332
2460
|
const concurrencyN = concurrency === "unbounded" ? Number.MAX_SAFE_INTEGER : Math.max(1, concurrency);
|
|
2333
2461
|
const semaphore = switch_ ? undefined : makeUnsafe3(concurrencyN);
|
|
2334
|
-
const doneLatch = yield*
|
|
2462
|
+
const doneLatch = yield* make3(true);
|
|
2335
2463
|
const fibers = new Map;
|
|
2336
2464
|
const queue = yield* bounded(bufferSize);
|
|
2337
2465
|
yield* addFinalizer(forkedScope, shutdown(queue));
|
|
@@ -2668,7 +2796,7 @@ class RcRefImpl {
|
|
|
2668
2796
|
this.idleTimeToLive = idleTimeToLive;
|
|
2669
2797
|
}
|
|
2670
2798
|
}
|
|
2671
|
-
var
|
|
2799
|
+
var make6 = (options) => withFiber2((fiber) => {
|
|
2672
2800
|
const context = fiber.context;
|
|
2673
2801
|
const scope = get4(context, Scope);
|
|
2674
2802
|
const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
|
|
@@ -2777,7 +2905,7 @@ var release = (self, state) => {
|
|
|
2777
2905
|
};
|
|
2778
2906
|
|
|
2779
2907
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2780
|
-
var
|
|
2908
|
+
var make10 = make6;
|
|
2781
2909
|
var get3 = get2;
|
|
2782
2910
|
|
|
2783
2911
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2789,7 +2917,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2789
2917
|
var toChannel2 = (stream) => stream.channel;
|
|
2790
2918
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2791
2919
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2792
|
-
var
|
|
2920
|
+
var make11 = (...values) => fromArray2(values);
|
|
2793
2921
|
var suspend = (stream) => {
|
|
2794
2922
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2795
2923
|
suspendedStreams.set(suspended, stream);
|
|
@@ -2954,10 +3082,10 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
2954
3082
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
2955
3083
|
var TypeId10 = "~effect/FileSystem";
|
|
2956
3084
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
2957
|
-
var
|
|
3085
|
+
var make12 = (impl) => FileSystem.of({
|
|
2958
3086
|
...impl,
|
|
2959
3087
|
[TypeId10]: TypeId10,
|
|
2960
|
-
glob:
|
|
3088
|
+
glob: make2(impl),
|
|
2961
3089
|
exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
|
|
2962
3090
|
readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
|
|
2963
3091
|
try: () => new TextDecoder(encoding).decode(_),
|
|
@@ -3014,7 +3142,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3014
3142
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3015
3143
|
var TypeId11 = "~effect/Path";
|
|
3016
3144
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3017
|
-
var
|
|
3145
|
+
var make13 = (impl) => Path.of({
|
|
3018
3146
|
...impl,
|
|
3019
3147
|
[TypeId11]: TypeId11,
|
|
3020
3148
|
resolveWithin(root, input) {
|
|
@@ -3089,7 +3217,7 @@ function makeProvider(load, mapInput) {
|
|
|
3089
3217
|
function makeSource(get, transform) {
|
|
3090
3218
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3091
3219
|
}
|
|
3092
|
-
function
|
|
3220
|
+
function make7(get) {
|
|
3093
3221
|
return makeSource(get, identityPath);
|
|
3094
3222
|
}
|
|
3095
3223
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3098,7 +3226,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3098
3226
|
function fromEnvRecord(env, options) {
|
|
3099
3227
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3100
3228
|
const trie = buildEnvTrie(env);
|
|
3101
|
-
return
|
|
3229
|
+
return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3102
3230
|
}
|
|
3103
3231
|
function fromEnv(options) {
|
|
3104
3232
|
const env = options?.env ?? {
|
|
@@ -3180,7 +3308,7 @@ var Proto2 = {
|
|
|
3180
3308
|
};
|
|
3181
3309
|
}
|
|
3182
3310
|
};
|
|
3183
|
-
function
|
|
3311
|
+
function make14(evaluator) {
|
|
3184
3312
|
const self = Object.create(Proto2);
|
|
3185
3313
|
self.evaluator = evaluator;
|
|
3186
3314
|
self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
|
|
@@ -3188,14 +3316,14 @@ function make13(evaluator) {
|
|
|
3188
3316
|
}
|
|
3189
3317
|
var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
|
|
3190
3318
|
var map3 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
3191
|
-
return
|
|
3319
|
+
return make14((provider, pathPrefix) => map8(evaluateAt(self, provider, pathPrefix), map5(f)));
|
|
3192
3320
|
});
|
|
3193
3321
|
function all(arg) {
|
|
3194
3322
|
const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
|
|
3195
|
-
return
|
|
3323
|
+
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));
|
|
3196
3324
|
}
|
|
3197
3325
|
var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
|
|
3198
|
-
return
|
|
3326
|
+
return make14((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
|
|
3199
3327
|
});
|
|
3200
3328
|
var option = (self) => self.pipe(map3(some), withDefault(none()));
|
|
3201
3329
|
var isSourceError = (u) => isTagged(u, "SourceError");
|
|
@@ -3314,7 +3442,7 @@ function schema(codec, path) {
|
|
|
3314
3442
|
const encodedAst = toEncoded(codecStringTree.ast);
|
|
3315
3443
|
const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
|
|
3316
3444
|
const localPath = typeof path === "string" ? [path] : path ?? [];
|
|
3317
|
-
return
|
|
3445
|
+
return make14((provider, pathPrefix) => {
|
|
3318
3446
|
const fullPath = [...pathPrefix, ...localPath];
|
|
3319
3447
|
return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
|
|
3320
3448
|
const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
|
|
@@ -3429,4 +3557,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3429
3557
|
...argv
|
|
3430
3558
|
];
|
|
3431
3559
|
|
|
3432
|
-
export { map, makeEquivalence,
|
|
3560
|
+
export { map, makeEquivalence, 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, 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, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-cbpb2rww.js";
|
|
11
|
+
import"./chunk-mtkstrh3.js";
|
|
12
|
+
import"./chunk-0h49y8gf.js";
|
|
13
|
+
import"./chunk-zw3gf6r5.js";
|
|
14
14
|
export {
|
|
15
15
|
decoded2 as decoded,
|
|
16
16
|
decodedOption2 as decodedOption,
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-0h49y8gf.js";
|
|
18
|
+
import"./chunk-zw3gf6r5.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|
|
@@ -75,11 +75,12 @@ import {
|
|
|
75
75
|
toEquivalence,
|
|
76
76
|
toCodecJson,
|
|
77
77
|
Json
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-zw3gf6r5.js";
|
|
79
79
|
import {
|
|
80
80
|
guard
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-q5w3v4k1.js";
|
|
82
82
|
import {
|
|
83
|
+
currentTimeMillis,
|
|
83
84
|
WebCrypto,
|
|
84
85
|
SafeJson,
|
|
85
86
|
AgentSandboxNetwork,
|
|
@@ -104,12 +105,11 @@ import {
|
|
|
104
105
|
KitDigest,
|
|
105
106
|
KitSetup,
|
|
106
107
|
RunnerRpcError
|
|
107
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-vm2qy986.js";
|
|
108
109
|
import {
|
|
109
|
-
currentTimeMillis,
|
|
110
110
|
runForEach,
|
|
111
111
|
FileSystem
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-0h49y8gf.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");
|
|
@@ -587,6 +587,8 @@ var PlanTicket = Struct({
|
|
|
587
587
|
title: String4,
|
|
588
588
|
body: String4,
|
|
589
589
|
acceptanceCriteria: ArraySchema(String4),
|
|
590
|
+
promise: optional(String4),
|
|
591
|
+
outOfScope: optional(ArraySchema(String4)),
|
|
590
592
|
repoBindingId: optional(String4),
|
|
591
593
|
blockedBy: ArraySchema(String4),
|
|
592
594
|
outcome: optional(LoopOutcome)
|
|
@@ -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-cq2h8q9e.js";
|
|
8
|
+
import"./chunk-h1rmw7yk.js";
|
|
9
|
+
import"./chunk-vm2qy986.js";
|
|
10
|
+
import"./chunk-q5w3v4k1.js";
|
|
11
|
+
import"./chunk-0h49y8gf.js";
|
|
12
|
+
import"./chunk-zw3gf6r5.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|