@kitman-sh/cli 0.50.1 → 0.51.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-apv9h5tz.js → chunk-04wqa07j.js} +1 -1
- package/dist/{chunk-g3c1vesf.js → chunk-2d1ck2fa.js} +1 -1
- package/dist/{chunk-5tgpa02q.js → chunk-4vxbxjf8.js} +1 -1
- package/dist/{chunk-q8m2ygyt.js → chunk-558rmyma.js} +4 -4
- package/dist/{chunk-k5cqc0cs.js → chunk-5hsqbwzd.js} +4 -6
- package/dist/{chunk-qfwhsqej.js → chunk-5pjbxhxy.js} +3 -3
- package/dist/{chunk-hyaq30ne.js → chunk-5smh4dp2.js} +161 -21
- package/dist/{chunk-watq46xe.js → chunk-6ryjppc7.js} +6 -8
- package/dist/{chunk-72ht3484.js → chunk-8gkrs473.js} +4 -4
- package/dist/{chunk-k1fdsn2c.js → chunk-9ykh05hz.js} +1 -1
- package/dist/{chunk-brbym443.js → chunk-a71b15k3.js} +2 -2
- package/dist/{chunk-rr0rem5d.js → chunk-adevz872.js} +6 -6
- package/dist/{chunk-v96hm634.js → chunk-c3yzdpwf.js} +4 -4
- package/dist/{chunk-8r9k7pqk.js → chunk-fqh4pj6b.js} +3 -9
- package/dist/{chunk-9vdy85kg.js → chunk-hasds4yd.js} +20 -20
- package/dist/{chunk-mtrhqr16.js → chunk-hf0chy5n.js} +3 -3
- package/dist/{chunk-s6z4sdkw.js → chunk-j3x7fcrd.js} +4 -4
- package/dist/{chunk-n381rqax.js → chunk-k462v2v7.js} +13 -157
- package/dist/{chunk-n00cpb86.js → chunk-n3jpxd14.js} +2 -2
- package/dist/{chunk-bk28dr40.js → chunk-ptqswdck.js} +13 -13
- package/dist/{chunk-h3wes7wf.js → chunk-s5qejghj.js} +7 -7
- package/dist/{chunk-ag79vvjy.js → chunk-tfwgeqx5.js} +4 -4
- package/dist/{chunk-s8ws5fqj.js → chunk-tse7tfe9.js} +16 -8
- package/dist/{chunk-9jz94mb7.js → chunk-vaeva1k8.js} +2 -2
- package/dist/{chunk-7y1w0dhd.js → chunk-whspb67e.js} +9 -11
- package/dist/{chunk-ecweehc6.js → chunk-xg5essbk.js} +18 -18
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-k462v2v7.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5smh4dp2.js";
|
|
13
13
|
import {
|
|
14
14
|
WebSocketConstructor,
|
|
15
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-tse7tfe9.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make3,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5hsqbwzd.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -96,8 +96,9 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-k462v2v7.js";
|
|
100
100
|
import {
|
|
101
|
+
Clock,
|
|
101
102
|
interrupt,
|
|
102
103
|
getCurrent,
|
|
103
104
|
makeUnsafe2,
|
|
@@ -108,7 +109,7 @@ import {
|
|
|
108
109
|
shutdownUnsafe,
|
|
109
110
|
fromQueue,
|
|
110
111
|
unwrap
|
|
111
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-5smh4dp2.js";
|
|
112
113
|
import {
|
|
113
114
|
empty,
|
|
114
115
|
fromInput,
|
|
@@ -122,10 +123,7 @@ import {
|
|
|
122
123
|
ParseOptions,
|
|
123
124
|
RpcClientDefect,
|
|
124
125
|
RpcClientError
|
|
125
|
-
} from "./chunk-
|
|
126
|
-
import {
|
|
127
|
-
Clock
|
|
128
|
-
} from "./chunk-8r9k7pqk.js";
|
|
126
|
+
} from "./chunk-tse7tfe9.js";
|
|
129
127
|
|
|
130
128
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
|
|
131
129
|
class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
opaqueTunnelRefusal2,
|
|
5
5
|
isOpaqueConnectReason2,
|
|
6
6
|
runSrtStep2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-n3jpxd14.js";
|
|
8
|
+
import"./chunk-4vxbxjf8.js";
|
|
9
|
+
import"./chunk-k462v2v7.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -82,6 +82,8 @@ import {
|
|
|
82
82
|
fiberRunIn,
|
|
83
83
|
makeLatchUnsafe,
|
|
84
84
|
makeLatch,
|
|
85
|
+
ClockRef,
|
|
86
|
+
currentTimeMillis2,
|
|
85
87
|
succeed3,
|
|
86
88
|
failCause2,
|
|
87
89
|
fail4,
|
|
@@ -189,7 +191,6 @@ import {
|
|
|
189
191
|
mapEager,
|
|
190
192
|
flatMapEager,
|
|
191
193
|
catchEager,
|
|
192
|
-
fromInputUnsafe2,
|
|
193
194
|
Pointer,
|
|
194
195
|
passthrough,
|
|
195
196
|
transformEffect,
|
|
@@ -205,7 +206,7 @@ import {
|
|
|
205
206
|
String4,
|
|
206
207
|
toCodecStringTree,
|
|
207
208
|
encodeUnknownJsonStringSync
|
|
208
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-k462v2v7.js";
|
|
209
210
|
|
|
210
211
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
211
212
|
var headUnsafe = (self) => {
|
|
@@ -255,6 +256,145 @@ var makeEquivalence = (equivalence) => {
|
|
|
255
256
|
return (self, that) => is(self, that) && is(that, self);
|
|
256
257
|
};
|
|
257
258
|
|
|
259
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
|
|
260
|
+
var Clock = ClockRef;
|
|
261
|
+
var currentTimeMillis = currentTimeMillis2;
|
|
262
|
+
|
|
263
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
264
|
+
var bigint0 = /* @__PURE__ */ BigInt(0);
|
|
265
|
+
var bigint1 = /* @__PURE__ */ BigInt(1);
|
|
266
|
+
var decimalBase = /* @__PURE__ */ BigInt(1000);
|
|
267
|
+
var binaryBase = /* @__PURE__ */ BigInt(1024);
|
|
268
|
+
var decimalUnits = [{
|
|
269
|
+
symbol: "B",
|
|
270
|
+
factor: bigint1,
|
|
271
|
+
names: ["B", "byte", "bytes"]
|
|
272
|
+
}, {
|
|
273
|
+
symbol: "kB",
|
|
274
|
+
factor: decimalBase,
|
|
275
|
+
names: ["kB", "kilobyte", "kilobytes"]
|
|
276
|
+
}, {
|
|
277
|
+
symbol: "MB",
|
|
278
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(2),
|
|
279
|
+
names: ["MB", "megabyte", "megabytes"]
|
|
280
|
+
}, {
|
|
281
|
+
symbol: "GB",
|
|
282
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(3),
|
|
283
|
+
names: ["GB", "gigabyte", "gigabytes"]
|
|
284
|
+
}, {
|
|
285
|
+
symbol: "TB",
|
|
286
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(4),
|
|
287
|
+
names: ["TB", "terabyte", "terabytes"]
|
|
288
|
+
}, {
|
|
289
|
+
symbol: "PB",
|
|
290
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(5),
|
|
291
|
+
names: ["PB", "petabyte", "petabytes"]
|
|
292
|
+
}, {
|
|
293
|
+
symbol: "EB",
|
|
294
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(6),
|
|
295
|
+
names: ["EB", "exabyte", "exabytes"]
|
|
296
|
+
}, {
|
|
297
|
+
symbol: "ZB",
|
|
298
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(7),
|
|
299
|
+
names: ["ZB", "zettabyte", "zettabytes"]
|
|
300
|
+
}, {
|
|
301
|
+
symbol: "YB",
|
|
302
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(8),
|
|
303
|
+
names: ["YB", "yottabyte", "yottabytes"]
|
|
304
|
+
}, {
|
|
305
|
+
symbol: "RB",
|
|
306
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(9),
|
|
307
|
+
names: ["RB", "ronnabyte", "ronnabytes"]
|
|
308
|
+
}, {
|
|
309
|
+
symbol: "QB",
|
|
310
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(10),
|
|
311
|
+
names: ["QB", "quettabyte", "quettabytes"]
|
|
312
|
+
}];
|
|
313
|
+
var binaryUnits = [decimalUnits[0], {
|
|
314
|
+
symbol: "KiB",
|
|
315
|
+
factor: binaryBase,
|
|
316
|
+
names: ["KiB", "kibibyte", "kibibytes"]
|
|
317
|
+
}, {
|
|
318
|
+
symbol: "MiB",
|
|
319
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(2),
|
|
320
|
+
names: ["MiB", "mebibyte", "mebibytes"]
|
|
321
|
+
}, {
|
|
322
|
+
symbol: "GiB",
|
|
323
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(3),
|
|
324
|
+
names: ["GiB", "gibibyte", "gibibytes"]
|
|
325
|
+
}, {
|
|
326
|
+
symbol: "TiB",
|
|
327
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(4),
|
|
328
|
+
names: ["TiB", "tebibyte", "tebibytes"]
|
|
329
|
+
}, {
|
|
330
|
+
symbol: "PiB",
|
|
331
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(5),
|
|
332
|
+
names: ["PiB", "pebibyte", "pebibytes"]
|
|
333
|
+
}, {
|
|
334
|
+
symbol: "EiB",
|
|
335
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(6),
|
|
336
|
+
names: ["EiB", "exbibyte", "exbibytes"]
|
|
337
|
+
}, {
|
|
338
|
+
symbol: "ZiB",
|
|
339
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(7),
|
|
340
|
+
names: ["ZiB", "zebibyte", "zebibytes"]
|
|
341
|
+
}, {
|
|
342
|
+
symbol: "YiB",
|
|
343
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(8),
|
|
344
|
+
names: ["YiB", "yobibyte", "yobibytes"]
|
|
345
|
+
}];
|
|
346
|
+
var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
|
|
347
|
+
var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
|
|
348
|
+
var make = (value) => value;
|
|
349
|
+
var invalid = (message) => {
|
|
350
|
+
throw new Error(`Invalid ByteSize: ${message}`);
|
|
351
|
+
};
|
|
352
|
+
var fromNumber = (input) => {
|
|
353
|
+
if (!Number.isSafeInteger(input) || input < 0) {
|
|
354
|
+
return invalid(`expected a non-negative safe integer, received ${input}`);
|
|
355
|
+
}
|
|
356
|
+
return make(BigInt(input));
|
|
357
|
+
};
|
|
358
|
+
var maxSafeInteger = /* @__PURE__ */ BigInt(Number.MAX_SAFE_INTEGER);
|
|
359
|
+
var scaleDecimal = (quantity, factor) => {
|
|
360
|
+
const match = /^(\d+)(?:\.(\d+))?(?:e([+-]\d+))?$/.exec(quantity);
|
|
361
|
+
if (match === null)
|
|
362
|
+
return;
|
|
363
|
+
const fraction = match[2] ?? "";
|
|
364
|
+
const numerator = BigInt(match[1] + fraction) * factor;
|
|
365
|
+
const shift = Number(match[3] ?? 0) - fraction.length;
|
|
366
|
+
if (shift >= 0)
|
|
367
|
+
return numerator * BigInt(10) ** BigInt(shift);
|
|
368
|
+
const scale = BigInt(10) ** BigInt(-shift);
|
|
369
|
+
return numerator % scale === bigint0 ? numerator / scale : undefined;
|
|
370
|
+
};
|
|
371
|
+
var fromStringUnsafe = (input) => {
|
|
372
|
+
const match = /^\s*(\d+(?:\.\d+)?)\s*([A-Za-z]+)\s*$/.exec(input);
|
|
373
|
+
if (match === null)
|
|
374
|
+
return invalid(`unsupported syntax ${JSON.stringify(input)}`);
|
|
375
|
+
const unit = unitsByName.get(match[2]);
|
|
376
|
+
if (unit === undefined)
|
|
377
|
+
return invalid(`unsupported unit ${JSON.stringify(match[2])}`);
|
|
378
|
+
const value = scaleDecimal(match[1], unit.factor);
|
|
379
|
+
if (value === undefined)
|
|
380
|
+
return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
|
|
381
|
+
return make(value);
|
|
382
|
+
};
|
|
383
|
+
var fromInputUnsafe2 = (input) => {
|
|
384
|
+
switch (typeof input) {
|
|
385
|
+
case "bigint":
|
|
386
|
+
if (input < bigint0)
|
|
387
|
+
return invalid(`expected a non-negative bigint, received ${input}`);
|
|
388
|
+
return make(input);
|
|
389
|
+
case "number":
|
|
390
|
+
return fromNumber(input);
|
|
391
|
+
case "string":
|
|
392
|
+
return fromStringUnsafe(input);
|
|
393
|
+
}
|
|
394
|
+
return invalid(`unsupported input ${input}`);
|
|
395
|
+
};
|
|
396
|
+
var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
|
|
397
|
+
|
|
258
398
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
|
|
259
399
|
var join = fiberJoin;
|
|
260
400
|
var interrupt = fiberInterrupt;
|
|
@@ -808,7 +948,7 @@ var isIgnorable = (error) => isMissing(error) || error.reason._tag === "Permissi
|
|
|
808
948
|
var isNotLink = (error) => isIgnorable(error) || error.reason._tag === "Unknown";
|
|
809
949
|
var DIRECTORY_CONCURRENCY = 16;
|
|
810
950
|
var byName = /* @__PURE__ */ mapInput(String3, (entry) => entry.name);
|
|
811
|
-
var
|
|
951
|
+
var make2 = (fs) => (pattern, options) => walk(fs, compile([pattern], options?.dot ?? false), options);
|
|
812
952
|
var walk = /* @__PURE__ */ fnUntraced(function* (fs, compiled, options) {
|
|
813
953
|
if (compiled.initial.size === 0) {
|
|
814
954
|
return [];
|
|
@@ -986,7 +1126,7 @@ var badArgument = (options) => new PlatformError(new BadArgument(options));
|
|
|
986
1126
|
|
|
987
1127
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Latch.js
|
|
988
1128
|
var makeUnsafe2 = makeLatchUnsafe;
|
|
989
|
-
var
|
|
1129
|
+
var make3 = makeLatch;
|
|
990
1130
|
|
|
991
1131
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableRef.js
|
|
992
1132
|
var TypeId2 = "~effect/MutableRef";
|
|
@@ -1012,7 +1152,7 @@ var set = /* @__PURE__ */ dual(2, (self, value) => {
|
|
|
1012
1152
|
|
|
1013
1153
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableList.js
|
|
1014
1154
|
var Empty = /* @__PURE__ */ Symbol.for("effect/MutableList/Empty");
|
|
1015
|
-
var
|
|
1155
|
+
var make4 = () => ({
|
|
1016
1156
|
head: undefined,
|
|
1017
1157
|
tail: undefined,
|
|
1018
1158
|
length: 0
|
|
@@ -1161,8 +1301,8 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1161
1301
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1162
1302
|
var TypeId3 = "~effect/PubSub";
|
|
1163
1303
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1164
|
-
var
|
|
1165
|
-
var unbounded = (options) =>
|
|
1304
|
+
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
|
|
1305
|
+
var unbounded = (options) => make5({
|
|
1166
1306
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1167
1307
|
strategy: () => new DroppingStrategy
|
|
1168
1308
|
});
|
|
@@ -1256,7 +1396,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1256
1396
|
subscribers.delete(subscription);
|
|
1257
1397
|
}
|
|
1258
1398
|
};
|
|
1259
|
-
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), make7(false), strategy, pubsub.replayWindow(), ended);
|
|
1260
1400
|
class UnboundedPubSub {
|
|
1261
1401
|
publisherHead = {
|
|
1262
1402
|
value: AbsentValue,
|
|
@@ -1678,7 +1818,7 @@ var make8 = (options) => withFiber((fiber) => {
|
|
|
1678
1818
|
self.dispatcher = fiber.currentDispatcher;
|
|
1679
1819
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
1680
1820
|
self.strategy = options?.strategy ?? "suspend";
|
|
1681
|
-
self.messages =
|
|
1821
|
+
self.messages = make4();
|
|
1682
1822
|
self.scheduleRunning = false;
|
|
1683
1823
|
self.state = {
|
|
1684
1824
|
_tag: "Open",
|
|
@@ -2370,7 +2510,7 @@ var mergeAll = /* @__PURE__ */ dual(2, (channels, {
|
|
|
2370
2510
|
}) => fromTransformBracket(fnUntraced(function* (upstream, scope, forkedScope) {
|
|
2371
2511
|
const concurrencyN = concurrency === "unbounded" ? Number.MAX_SAFE_INTEGER : Math.max(1, concurrency);
|
|
2372
2512
|
const semaphore = switch_ ? undefined : makeUnsafe3(concurrencyN);
|
|
2373
|
-
const doneLatch = yield*
|
|
2513
|
+
const doneLatch = yield* make3(true);
|
|
2374
2514
|
const fibers = new Map;
|
|
2375
2515
|
const queue = yield* bounded(bufferSize);
|
|
2376
2516
|
yield* addFinalizer(forkedScope, shutdown(queue));
|
|
@@ -2714,7 +2854,7 @@ class RcRefImpl {
|
|
|
2714
2854
|
this.idleTimeToLive = idleTimeToLive;
|
|
2715
2855
|
}
|
|
2716
2856
|
}
|
|
2717
|
-
var
|
|
2857
|
+
var make6 = (options) => withFiber2((fiber) => {
|
|
2718
2858
|
const context = fiber.context;
|
|
2719
2859
|
const scope = get4(context, Scope);
|
|
2720
2860
|
const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
|
|
@@ -2823,7 +2963,7 @@ var release = (self, state) => {
|
|
|
2823
2963
|
};
|
|
2824
2964
|
|
|
2825
2965
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2826
|
-
var make9 =
|
|
2966
|
+
var make9 = make6;
|
|
2827
2967
|
var get3 = get2;
|
|
2828
2968
|
|
|
2829
2969
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -3039,7 +3179,7 @@ var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
|
3039
3179
|
var make11 = (impl) => FileSystem.of({
|
|
3040
3180
|
...impl,
|
|
3041
3181
|
[TypeId10]: TypeId10,
|
|
3042
|
-
glob:
|
|
3182
|
+
glob: make2(impl),
|
|
3043
3183
|
exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
|
|
3044
3184
|
readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
|
|
3045
3185
|
try: () => new TextDecoder(encoding).decode(_),
|
|
@@ -3171,7 +3311,7 @@ function makeProvider(load, mapInput) {
|
|
|
3171
3311
|
function makeSource(get, transform) {
|
|
3172
3312
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3173
3313
|
}
|
|
3174
|
-
function
|
|
3314
|
+
function make13(get) {
|
|
3175
3315
|
return makeSource(get, identityPath);
|
|
3176
3316
|
}
|
|
3177
3317
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3180,7 +3320,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3180
3320
|
function fromEnvRecord(env, options) {
|
|
3181
3321
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3182
3322
|
const trie = buildEnvTrie(env);
|
|
3183
|
-
return
|
|
3323
|
+
return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3184
3324
|
}
|
|
3185
3325
|
function fromEnv(options) {
|
|
3186
3326
|
const env = options?.env ?? {
|
|
@@ -3262,7 +3402,7 @@ var Proto2 = {
|
|
|
3262
3402
|
};
|
|
3263
3403
|
}
|
|
3264
3404
|
};
|
|
3265
|
-
function
|
|
3405
|
+
function make14(evaluator) {
|
|
3266
3406
|
const self = Object.create(Proto2);
|
|
3267
3407
|
self.evaluator = evaluator;
|
|
3268
3408
|
self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
|
|
@@ -3270,14 +3410,14 @@ function make13(evaluator) {
|
|
|
3270
3410
|
}
|
|
3271
3411
|
var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
|
|
3272
3412
|
var map3 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
3273
|
-
return
|
|
3413
|
+
return make14((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
|
|
3274
3414
|
});
|
|
3275
3415
|
function all(arg) {
|
|
3276
3416
|
const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
|
|
3277
|
-
return
|
|
3417
|
+
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));
|
|
3278
3418
|
}
|
|
3279
3419
|
var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
|
|
3280
|
-
return
|
|
3420
|
+
return make14((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
|
|
3281
3421
|
});
|
|
3282
3422
|
var option = (self) => self.pipe(map3(some), withDefault(none()));
|
|
3283
3423
|
var isSourceError = (u) => isTagged(u, "SourceError");
|
|
@@ -3396,7 +3536,7 @@ function schema(codec, path) {
|
|
|
3396
3536
|
const encodedAst = toEncoded(codecStringTree.ast);
|
|
3397
3537
|
const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
|
|
3398
3538
|
const localPath = typeof path === "string" ? [path] : path ?? [];
|
|
3399
|
-
return
|
|
3539
|
+
return make14((provider, pathPrefix) => {
|
|
3400
3540
|
const fullPath = [...pathPrefix, ...localPath];
|
|
3401
3541
|
return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
|
|
3402
3542
|
const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
|
|
@@ -3526,4 +3666,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3526
3666
|
...argv
|
|
3527
3667
|
];
|
|
3528
3668
|
|
|
3529
|
-
export { empty2, map, makeEquivalence, 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 };
|
|
3669
|
+
export { empty2, map, makeEquivalence, Clock, currentTimeMillis, bytes, 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 };
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
toCodecJson,
|
|
140
140
|
Json,
|
|
141
141
|
encodeUnknownJsonStringSync
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-k462v2v7.js";
|
|
143
143
|
import {
|
|
144
144
|
WebCrypto,
|
|
145
145
|
makeUnsafe,
|
|
@@ -180,26 +180,24 @@ import {
|
|
|
180
180
|
StepManifest,
|
|
181
181
|
KitSetup,
|
|
182
182
|
RunnerRpcError
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-tse7tfe9.js";
|
|
184
184
|
import {
|
|
185
|
+
currentTimeMillis,
|
|
185
186
|
getCurrent,
|
|
186
187
|
runForEach,
|
|
187
188
|
FileSystem
|
|
188
|
-
} from "./chunk-
|
|
189
|
-
import {
|
|
190
|
-
currentTimeMillis
|
|
191
|
-
} from "./chunk-8r9k7pqk.js";
|
|
189
|
+
} from "./chunk-5smh4dp2.js";
|
|
192
190
|
import {
|
|
193
191
|
splitQuestionOptions,
|
|
194
192
|
recommendationProblem,
|
|
195
193
|
questionAdvice
|
|
196
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-9ykh05hz.js";
|
|
197
195
|
import {
|
|
198
196
|
guard,
|
|
199
197
|
Id,
|
|
200
198
|
Timestamp,
|
|
201
199
|
ActorType
|
|
202
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-4vxbxjf8.js";
|
|
203
201
|
var __defProp = Object.defineProperty;
|
|
204
202
|
var __returnValue = (v) => v;
|
|
205
203
|
function __exportSetter(name, newValue) {
|
|
@@ -35,19 +35,19 @@ import {
|
|
|
35
35
|
isJsonObject,
|
|
36
36
|
isString2,
|
|
37
37
|
encodeUnknownJsonStringSync
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-k462v2v7.js";
|
|
39
39
|
import {
|
|
40
|
+
currentTimeMillis,
|
|
40
41
|
make10,
|
|
41
42
|
runForEach,
|
|
42
43
|
toPull,
|
|
43
44
|
FileSystem,
|
|
44
45
|
compiled2
|
|
45
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-5smh4dp2.js";
|
|
46
47
|
import {
|
|
47
|
-
currentTimeMillis,
|
|
48
48
|
ChildProcessSpawner,
|
|
49
49
|
make2
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-fqh4pj6b.js";
|
|
51
51
|
|
|
52
52
|
// packages/agent-runtime/src/opencode-store.ts
|
|
53
53
|
import { lstatSync, readFileSync, realpathSync, writeSync } from "fs";
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
writeSrtSettings2,
|
|
16
16
|
srtStepArgv2,
|
|
17
17
|
srtArgv2
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import"./chunk-
|
|
18
|
+
} from "./chunk-5smh4dp2.js";
|
|
19
|
+
import"./chunk-k462v2v7.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-558rmyma.js";
|
|
8
|
+
import"./chunk-5hsqbwzd.js";
|
|
9
|
+
import"./chunk-tse7tfe9.js";
|
|
10
|
+
import"./chunk-4vxbxjf8.js";
|
|
11
|
+
import"./chunk-5smh4dp2.js";
|
|
12
|
+
import"./chunk-k462v2v7.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -25,21 +25,21 @@ import {
|
|
|
25
25
|
isString2,
|
|
26
26
|
encodePrettyJsonString,
|
|
27
27
|
decodeJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-k462v2v7.js";
|
|
29
29
|
import {
|
|
30
30
|
FileSystem,
|
|
31
31
|
Path,
|
|
32
32
|
optionalEnv,
|
|
33
33
|
tempDirectoryScoped
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5smh4dp2.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-tse7tfe9.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-hf0chy5n.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -9,8 +9,6 @@ import {
|
|
|
9
9
|
fail3,
|
|
10
10
|
getOrThrow,
|
|
11
11
|
TaggedError,
|
|
12
|
-
ClockRef,
|
|
13
|
-
currentTimeMillis2,
|
|
14
12
|
never,
|
|
15
13
|
flatMap3,
|
|
16
14
|
andThen2,
|
|
@@ -20,7 +18,7 @@ import {
|
|
|
20
18
|
isRedacted,
|
|
21
19
|
make16,
|
|
22
20
|
value
|
|
23
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-k462v2v7.js";
|
|
24
22
|
import {
|
|
25
23
|
unwrap,
|
|
26
24
|
drainFork,
|
|
@@ -29,11 +27,7 @@ import {
|
|
|
29
27
|
runCollect,
|
|
30
28
|
runDrain,
|
|
31
29
|
mkString
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
|
|
34
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
|
|
35
|
-
var Clock = ClockRef;
|
|
36
|
-
var currentTimeMillis = currentTimeMillis2;
|
|
30
|
+
} from "./chunk-5smh4dp2.js";
|
|
37
31
|
|
|
38
32
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
|
|
39
33
|
function nominal() {
|
|
@@ -346,4 +340,4 @@ var shellScript = (templates, expressions) => {
|
|
|
346
340
|
}
|
|
347
341
|
return script;
|
|
348
342
|
};
|
|
349
|
-
export {
|
|
343
|
+
export { ExitCode, ProcessId, makeHandle, make, ChildProcessSpawner, display, make2, parseFdName, fdName };
|