@kitman-sh/cli 0.53.0 → 0.54.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.
Files changed (28) hide show
  1. package/dist/{chunk-c9vcvseh.js → chunk-0my9yc76.js} +69 -69
  2. package/dist/{chunk-stx87en6.js → chunk-0yqsrr9j.js} +4 -4
  3. package/dist/{chunk-38prvh9d.js → chunk-176b6p9g.js} +101 -29
  4. package/dist/{chunk-7enqpa5x.js → chunk-47ftjd7j.js} +38 -20
  5. package/dist/{chunk-1zvfqdby.js → chunk-7eqzzcvj.js} +19 -9
  6. package/dist/{chunk-brbym443.js → chunk-b0zap0sc.js} +2 -2
  7. package/dist/{chunk-ab7r6p1s.js → chunk-ctrk0mrt.js} +4 -6
  8. package/dist/{chunk-n381rqax.js → chunk-e4ced6vj.js} +13 -157
  9. package/dist/{chunk-qfwhsqej.js → chunk-fd9cfazr.js} +3 -3
  10. package/dist/{chunk-jwr750jd.js → chunk-h52fkf0n.js} +20 -20
  11. package/dist/{chunk-apv9h5tz.js → chunk-hnfq9egr.js} +1 -1
  12. package/dist/{chunk-k1fdsn2c.js → chunk-hs9frges.js} +2 -2
  13. package/dist/{chunk-hyaq30ne.js → chunk-jz2b3htb.js} +170 -21
  14. package/dist/{chunk-ag79vvjy.js → chunk-keveyqbv.js} +4 -4
  15. package/dist/{chunk-5bpp6k0h.js → chunk-kpgkhx9j.js} +3 -3
  16. package/dist/{chunk-c6yxzkz2.js → chunk-p77428sa.js} +1 -1
  17. package/dist/{chunk-n00cpb86.js → chunk-q22ar0q6.js} +2 -2
  18. package/dist/{chunk-vdaq7292.js → chunk-sygnhza2.js} +10 -10
  19. package/dist/{chunk-cy13pst5.js → chunk-t94stfev.js} +9 -9
  20. package/dist/{chunk-jh5vjc8h.js → chunk-wsm4adrn.js} +1 -1
  21. package/dist/{chunk-e627b064.js → chunk-xfhrsdc6.js} +10 -12
  22. package/dist/{chunk-y52g539d.js → chunk-xs1cdxfn.js} +4 -4
  23. package/dist/{chunk-5tgpa02q.js → chunk-xwte7af6.js} +1 -1
  24. package/dist/{chunk-72ht3484.js → chunk-yn5c3tzd.js} +10 -10
  25. package/dist/{chunk-8r9k7pqk.js → chunk-z1d5jx6m.js} +3 -9
  26. package/dist/{chunk-7y50jhm7.js → chunk-zs1maxqg.js} +6 -6
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-n381rqax.js";
6
+ } from "./chunk-e4ced6vj.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  isString2
4
- } from "./chunk-n381rqax.js";
4
+ } from "./chunk-e4ced6vj.js";
5
5
 
6
6
  // packages/core/src/question-recommendation.ts
7
7
  var optionValue = (option) => isString2(option) ? option : option.value;
@@ -36,4 +36,4 @@ var questionAdvice = (question) => ({
36
36
  ...question.informationOnly === true ? { informationOnly: true } : undefined
37
37
  });
38
38
 
39
- export { splitQuestionOptions, recommendationProblem, questionAdvice };
39
+ export { optionValue, splitQuestionOptions, recommendationProblem, questionAdvice };
@@ -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-n381rqax.js";
209
+ } from "./chunk-e4ced6vj.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,154 @@ 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/BigInt.js
264
+ var BigInt2 = globalThis.BigInt;
265
+ var toNumber = (b) => {
266
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
267
+ return none();
268
+ }
269
+ return some(Number(b));
270
+ };
271
+
272
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
273
+ var bigint0 = /* @__PURE__ */ BigInt(0);
274
+ var bigint1 = /* @__PURE__ */ BigInt(1);
275
+ var decimalBase = /* @__PURE__ */ BigInt(1000);
276
+ var binaryBase = /* @__PURE__ */ BigInt(1024);
277
+ var decimalUnits = [{
278
+ symbol: "B",
279
+ factor: bigint1,
280
+ names: ["B", "byte", "bytes"]
281
+ }, {
282
+ symbol: "kB",
283
+ factor: decimalBase,
284
+ names: ["kB", "kilobyte", "kilobytes"]
285
+ }, {
286
+ symbol: "MB",
287
+ factor: decimalBase ** /* @__PURE__ */ BigInt(2),
288
+ names: ["MB", "megabyte", "megabytes"]
289
+ }, {
290
+ symbol: "GB",
291
+ factor: decimalBase ** /* @__PURE__ */ BigInt(3),
292
+ names: ["GB", "gigabyte", "gigabytes"]
293
+ }, {
294
+ symbol: "TB",
295
+ factor: decimalBase ** /* @__PURE__ */ BigInt(4),
296
+ names: ["TB", "terabyte", "terabytes"]
297
+ }, {
298
+ symbol: "PB",
299
+ factor: decimalBase ** /* @__PURE__ */ BigInt(5),
300
+ names: ["PB", "petabyte", "petabytes"]
301
+ }, {
302
+ symbol: "EB",
303
+ factor: decimalBase ** /* @__PURE__ */ BigInt(6),
304
+ names: ["EB", "exabyte", "exabytes"]
305
+ }, {
306
+ symbol: "ZB",
307
+ factor: decimalBase ** /* @__PURE__ */ BigInt(7),
308
+ names: ["ZB", "zettabyte", "zettabytes"]
309
+ }, {
310
+ symbol: "YB",
311
+ factor: decimalBase ** /* @__PURE__ */ BigInt(8),
312
+ names: ["YB", "yottabyte", "yottabytes"]
313
+ }, {
314
+ symbol: "RB",
315
+ factor: decimalBase ** /* @__PURE__ */ BigInt(9),
316
+ names: ["RB", "ronnabyte", "ronnabytes"]
317
+ }, {
318
+ symbol: "QB",
319
+ factor: decimalBase ** /* @__PURE__ */ BigInt(10),
320
+ names: ["QB", "quettabyte", "quettabytes"]
321
+ }];
322
+ var binaryUnits = [decimalUnits[0], {
323
+ symbol: "KiB",
324
+ factor: binaryBase,
325
+ names: ["KiB", "kibibyte", "kibibytes"]
326
+ }, {
327
+ symbol: "MiB",
328
+ factor: binaryBase ** /* @__PURE__ */ BigInt(2),
329
+ names: ["MiB", "mebibyte", "mebibytes"]
330
+ }, {
331
+ symbol: "GiB",
332
+ factor: binaryBase ** /* @__PURE__ */ BigInt(3),
333
+ names: ["GiB", "gibibyte", "gibibytes"]
334
+ }, {
335
+ symbol: "TiB",
336
+ factor: binaryBase ** /* @__PURE__ */ BigInt(4),
337
+ names: ["TiB", "tebibyte", "tebibytes"]
338
+ }, {
339
+ symbol: "PiB",
340
+ factor: binaryBase ** /* @__PURE__ */ BigInt(5),
341
+ names: ["PiB", "pebibyte", "pebibytes"]
342
+ }, {
343
+ symbol: "EiB",
344
+ factor: binaryBase ** /* @__PURE__ */ BigInt(6),
345
+ names: ["EiB", "exbibyte", "exbibytes"]
346
+ }, {
347
+ symbol: "ZiB",
348
+ factor: binaryBase ** /* @__PURE__ */ BigInt(7),
349
+ names: ["ZiB", "zebibyte", "zebibytes"]
350
+ }, {
351
+ symbol: "YiB",
352
+ factor: binaryBase ** /* @__PURE__ */ BigInt(8),
353
+ names: ["YiB", "yobibyte", "yobibytes"]
354
+ }];
355
+ var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
356
+ var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
357
+ var make = (value) => value;
358
+ var invalid = (message) => {
359
+ throw new Error(`Invalid ByteSize: ${message}`);
360
+ };
361
+ var fromNumber = (input) => {
362
+ if (!Number.isSafeInteger(input) || input < 0) {
363
+ return invalid(`expected a non-negative safe integer, received ${input}`);
364
+ }
365
+ return make(BigInt(input));
366
+ };
367
+ var maxSafeInteger = /* @__PURE__ */ BigInt(Number.MAX_SAFE_INTEGER);
368
+ var scaleDecimal = (quantity, factor) => {
369
+ const match = /^(\d+)(?:\.(\d+))?(?:e([+-]\d+))?$/.exec(quantity);
370
+ if (match === null)
371
+ return;
372
+ const fraction = match[2] ?? "";
373
+ const numerator = BigInt(match[1] + fraction) * factor;
374
+ const shift = Number(match[3] ?? 0) - fraction.length;
375
+ if (shift >= 0)
376
+ return numerator * BigInt(10) ** BigInt(shift);
377
+ const scale = BigInt(10) ** BigInt(-shift);
378
+ return numerator % scale === bigint0 ? numerator / scale : undefined;
379
+ };
380
+ var fromStringUnsafe = (input) => {
381
+ const match = /^\s*(\d+(?:\.\d+)?)\s*([A-Za-z]+)\s*$/.exec(input);
382
+ if (match === null)
383
+ return invalid(`unsupported syntax ${JSON.stringify(input)}`);
384
+ const unit = unitsByName.get(match[2]);
385
+ if (unit === undefined)
386
+ return invalid(`unsupported unit ${JSON.stringify(match[2])}`);
387
+ const value = scaleDecimal(match[1], unit.factor);
388
+ if (value === undefined)
389
+ return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
390
+ return make(value);
391
+ };
392
+ var fromInputUnsafe2 = (input) => {
393
+ switch (typeof input) {
394
+ case "bigint":
395
+ if (input < bigint0)
396
+ return invalid(`expected a non-negative bigint, received ${input}`);
397
+ return make(input);
398
+ case "number":
399
+ return fromNumber(input);
400
+ case "string":
401
+ return fromStringUnsafe(input);
402
+ }
403
+ return invalid(`unsupported input ${input}`);
404
+ };
405
+ var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
406
+
258
407
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
259
408
  var join = fiberJoin;
260
409
  var interrupt = fiberInterrupt;
@@ -808,7 +957,7 @@ var isIgnorable = (error) => isMissing(error) || error.reason._tag === "Permissi
808
957
  var isNotLink = (error) => isIgnorable(error) || error.reason._tag === "Unknown";
809
958
  var DIRECTORY_CONCURRENCY = 16;
810
959
  var byName = /* @__PURE__ */ mapInput(String3, (entry) => entry.name);
811
- var make = (fs) => (pattern, options) => walk(fs, compile([pattern], options?.dot ?? false), options);
960
+ var make2 = (fs) => (pattern, options) => walk(fs, compile([pattern], options?.dot ?? false), options);
812
961
  var walk = /* @__PURE__ */ fnUntraced(function* (fs, compiled, options) {
813
962
  if (compiled.initial.size === 0) {
814
963
  return [];
@@ -986,7 +1135,7 @@ var badArgument = (options) => new PlatformError(new BadArgument(options));
986
1135
 
987
1136
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Latch.js
988
1137
  var makeUnsafe2 = makeLatchUnsafe;
989
- var make2 = makeLatch;
1138
+ var make3 = makeLatch;
990
1139
 
991
1140
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableRef.js
992
1141
  var TypeId2 = "~effect/MutableRef";
@@ -1012,7 +1161,7 @@ var set = /* @__PURE__ */ dual(2, (self, value) => {
1012
1161
 
1013
1162
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableList.js
1014
1163
  var Empty = /* @__PURE__ */ Symbol.for("effect/MutableList/Empty");
1015
- var make3 = () => ({
1164
+ var make4 = () => ({
1016
1165
  head: undefined,
1017
1166
  tail: undefined,
1018
1167
  length: 0
@@ -1161,8 +1310,8 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1161
1310
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1162
1311
  var TypeId3 = "~effect/PubSub";
1163
1312
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1164
- var make4 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1165
- var unbounded = (options) => make4({
1313
+ var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1314
+ var unbounded = (options) => make5({
1166
1315
  atomicPubSub: () => makeAtomicUnbounded(options),
1167
1316
  strategy: () => new DroppingStrategy
1168
1317
  });
@@ -1256,7 +1405,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1256
1405
  subscribers.delete(subscription);
1257
1406
  }
1258
1407
  };
1259
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make3(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1408
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1260
1409
  class UnboundedPubSub {
1261
1410
  publisherHead = {
1262
1411
  value: AbsentValue,
@@ -1678,7 +1827,7 @@ var make8 = (options) => withFiber((fiber) => {
1678
1827
  self.dispatcher = fiber.currentDispatcher;
1679
1828
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
1680
1829
  self.strategy = options?.strategy ?? "suspend";
1681
- self.messages = make3();
1830
+ self.messages = make4();
1682
1831
  self.scheduleRunning = false;
1683
1832
  self.state = {
1684
1833
  _tag: "Open",
@@ -2370,7 +2519,7 @@ var mergeAll = /* @__PURE__ */ dual(2, (channels, {
2370
2519
  }) => fromTransformBracket(fnUntraced(function* (upstream, scope, forkedScope) {
2371
2520
  const concurrencyN = concurrency === "unbounded" ? Number.MAX_SAFE_INTEGER : Math.max(1, concurrency);
2372
2521
  const semaphore = switch_ ? undefined : makeUnsafe3(concurrencyN);
2373
- const doneLatch = yield* make2(true);
2522
+ const doneLatch = yield* make3(true);
2374
2523
  const fibers = new Map;
2375
2524
  const queue = yield* bounded(bufferSize);
2376
2525
  yield* addFinalizer(forkedScope, shutdown(queue));
@@ -2714,7 +2863,7 @@ class RcRefImpl {
2714
2863
  this.idleTimeToLive = idleTimeToLive;
2715
2864
  }
2716
2865
  }
2717
- var make5 = (options) => withFiber2((fiber) => {
2866
+ var make6 = (options) => withFiber2((fiber) => {
2718
2867
  const context = fiber.context;
2719
2868
  const scope = get4(context, Scope);
2720
2869
  const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
@@ -2823,7 +2972,7 @@ var release = (self, state) => {
2823
2972
  };
2824
2973
 
2825
2974
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2826
- var make9 = make5;
2975
+ var make9 = make6;
2827
2976
  var get3 = get2;
2828
2977
 
2829
2978
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
@@ -3039,7 +3188,7 @@ var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3039
3188
  var make11 = (impl) => FileSystem.of({
3040
3189
  ...impl,
3041
3190
  [TypeId10]: TypeId10,
3042
- glob: make(impl),
3191
+ glob: make2(impl),
3043
3192
  exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
3044
3193
  readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
3045
3194
  try: () => new TextDecoder(encoding).decode(_),
@@ -3171,7 +3320,7 @@ function makeProvider(load, mapInput) {
3171
3320
  function makeSource(get, transform) {
3172
3321
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3173
3322
  }
3174
- function make6(get) {
3323
+ function make13(get) {
3175
3324
  return makeSource(get, identityPath);
3176
3325
  }
3177
3326
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3180,7 +3329,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3180
3329
  function fromEnvRecord(env, options) {
3181
3330
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3182
3331
  const trie = buildEnvTrie(env);
3183
- return make6((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3332
+ return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3184
3333
  }
3185
3334
  function fromEnv(options) {
3186
3335
  const env = options?.env ?? {
@@ -3262,7 +3411,7 @@ var Proto2 = {
3262
3411
  };
3263
3412
  }
3264
3413
  };
3265
- function make13(evaluator) {
3414
+ function make14(evaluator) {
3266
3415
  const self = Object.create(Proto2);
3267
3416
  self.evaluator = evaluator;
3268
3417
  self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
@@ -3270,14 +3419,14 @@ function make13(evaluator) {
3270
3419
  }
3271
3420
  var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
3272
3421
  var map3 = /* @__PURE__ */ dual(2, (self, f) => {
3273
- return make13((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
3422
+ return make14((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
3274
3423
  });
3275
3424
  function all(arg) {
3276
3425
  const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
3277
- 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));
3426
+ 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
3427
  }
3279
3428
  var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
3280
- return make13((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3429
+ return make14((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3281
3430
  });
3282
3431
  var option = (self) => self.pipe(map3(some), withDefault(none()));
3283
3432
  var isSourceError = (u) => isTagged(u, "SourceError");
@@ -3396,7 +3545,7 @@ function schema(codec, path) {
3396
3545
  const encodedAst = toEncoded(codecStringTree.ast);
3397
3546
  const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
3398
3547
  const localPath = typeof path === "string" ? [path] : path ?? [];
3399
- return make13((provider, pathPrefix) => {
3548
+ return make14((provider, pathPrefix) => {
3400
3549
  const fullPath = [...pathPrefix, ...localPath];
3401
3550
  return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
3402
3551
  const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
@@ -3526,4 +3675,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3526
3675
  ...argv
3527
3676
  ];
3528
3677
 
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 };
3678
+ export { empty2, map, makeEquivalence, Clock, currentTimeMillis, toNumber, 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 };
@@ -9,10 +9,10 @@ import {
9
9
  readOpencode2,
10
10
  databaseStamp2,
11
11
  runOpencodeReader2
12
- } from "./chunk-72ht3484.js";
13
- import"./chunk-8r9k7pqk.js";
14
- import"./chunk-hyaq30ne.js";
15
- import"./chunk-n381rqax.js";
12
+ } from "./chunk-yn5c3tzd.js";
13
+ import"./chunk-z1d5jx6m.js";
14
+ import"./chunk-jz2b3htb.js";
15
+ import"./chunk-e4ced6vj.js";
16
16
  export {
17
17
  databaseStamp2 as databaseStamp,
18
18
  decoded2 as decoded,
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-n381rqax.js";
27
+ } from "./chunk-e4ced6vj.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-hyaq30ne.js";
31
+ } from "./chunk-jz2b3htb.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-1zvfqdby.js";
42
+ } from "./chunk-7eqzzcvj.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -2222,7 +2222,7 @@ var pathOfLink = (link) => {
2222
2222
  return page === null ? link : page[1] || "index";
2223
2223
  };
2224
2224
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
2225
- var pinnedLink2 = (link, version = "0.53.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2225
+ var pinnedLink2 = (link, version = "0.54.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2226
2226
  var pageOf = (path) => path.split("#")[0];
2227
2227
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
2228
2228
  function excerpt(text, queryTerms) {
@@ -13,11 +13,11 @@ import {
13
13
  ArraySchema,
14
14
  decodeJsonStringOption,
15
15
  encodeUnknownJsonStringSync
16
- } from "./chunk-n381rqax.js";
16
+ } from "./chunk-e4ced6vj.js";
17
17
  import {
18
18
  replaceSecretReferences,
19
19
  secretReferencesIn
20
- } from "./chunk-5tgpa02q.js";
20
+ } from "./chunk-xwte7af6.js";
21
21
 
22
22
  // packages/agent-runtime/src/srt-step.ts
23
23
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
@@ -1,4 +1,8 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path
5
+ } from "./chunk-jz2b3htb.js";
2
6
  import {
3
7
  isObject,
4
8
  isUint8Array,
@@ -13,17 +17,13 @@ import {
13
17
  isJsonObject,
14
18
  decodeJsonString,
15
19
  encodePrettyJsonString
16
- } from "./chunk-n381rqax.js";
17
- import {
18
- FileSystem,
19
- Path
20
- } from "./chunk-hyaq30ne.js";
20
+ } from "./chunk-e4ced6vj.js";
21
21
  import {
22
22
  tomlTableHeader2,
23
23
  tomlKeyPath2,
24
24
  kitmanSkillEntry,
25
25
  isPathWithin2
26
- } from "./chunk-cy13pst5.js";
26
+ } from "./chunk-t94stfev.js";
27
27
  import {
28
28
  instructionsStart,
29
29
  instructionsEnd,
@@ -31,10 +31,10 @@ import {
31
31
  antigravityPlugins,
32
32
  materializeKitSetup,
33
33
  tomlInline
34
- } from "./chunk-1zvfqdby.js";
35
- import"./chunk-8r9k7pqk.js";
36
- import"./chunk-5bpp6k0h.js";
37
- import"./chunk-5tgpa02q.js";
34
+ } from "./chunk-7eqzzcvj.js";
35
+ import"./chunk-kpgkhx9j.js";
36
+ import"./chunk-z1d5jx6m.js";
37
+ import"./chunk-xwte7af6.js";
38
38
 
39
39
  // packages/agent-runtime/src/kit-setup-sync.ts
40
40
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -1,4 +1,10 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path,
5
+ optionalEnv,
6
+ tempDirectoryScoped
7
+ } from "./chunk-jz2b3htb.js";
2
8
  import {
3
9
  Reference,
4
10
  TaggedError,
@@ -25,21 +31,15 @@ import {
25
31
  isString2,
26
32
  encodePrettyJsonString,
27
33
  decodeJsonStringSync
28
- } from "./chunk-n381rqax.js";
29
- import {
30
- FileSystem,
31
- Path,
32
- optionalEnv,
33
- tempDirectoryScoped
34
- } from "./chunk-hyaq30ne.js";
34
+ } from "./chunk-e4ced6vj.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-1zvfqdby.js";
39
+ } from "./chunk-7eqzzcvj.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-5bpp6k0h.js";
42
+ } from "./chunk-kpgkhx9j.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-c6yxzkz2.js";
7
+ } from "./chunk-p77428sa.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -139,7 +139,13 @@ import {
139
139
  toCodecJson,
140
140
  Json,
141
141
  encodeUnknownJsonStringSync
142
- } from "./chunk-n381rqax.js";
142
+ } from "./chunk-e4ced6vj.js";
143
+ import {
144
+ currentTimeMillis,
145
+ getCurrent,
146
+ runForEach,
147
+ FileSystem
148
+ } from "./chunk-jz2b3htb.js";
143
149
  import {
144
150
  WebCrypto,
145
151
  makeUnsafe,
@@ -180,26 +186,18 @@ import {
180
186
  StepManifest,
181
187
  KitSetup,
182
188
  RunnerRpcError
183
- } from "./chunk-1zvfqdby.js";
184
- import {
185
- getCurrent,
186
- runForEach,
187
- FileSystem
188
- } from "./chunk-hyaq30ne.js";
189
- import {
190
- currentTimeMillis
191
- } from "./chunk-8r9k7pqk.js";
189
+ } from "./chunk-7eqzzcvj.js";
192
190
  import {
193
191
  splitQuestionOptions,
194
192
  recommendationProblem,
195
193
  questionAdvice
196
- } from "./chunk-k1fdsn2c.js";
194
+ } from "./chunk-hs9frges.js";
197
195
  import {
198
196
  guard,
199
197
  Id,
200
198
  Timestamp,
201
199
  ActorType
202
- } from "./chunk-5tgpa02q.js";
200
+ } from "./chunk-xwte7af6.js";
203
201
  var __defProp = Object.defineProperty;
204
202
  var __returnValue = (v) => v;
205
203
  function __exportSetter(name, newValue) {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-8r9k7pqk.js";
2
+ import"./chunk-z1d5jx6m.js";
3
3
  import {
4
4
  HERDR_CORE_GENERATION2,
5
5
  HERDR_CORE_INSTALL_COMMAND2,
@@ -12,9 +12,9 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-1zvfqdby.js";
16
- import"./chunk-hyaq30ne.js";
17
- import"./chunk-n381rqax.js";
15
+ } from "./chunk-7eqzzcvj.js";
16
+ import"./chunk-jz2b3htb.js";
17
+ import"./chunk-e4ced6vj.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -18,7 +18,7 @@ import {
18
18
  isMinLength,
19
19
  isMaxLength,
20
20
  FiniteFromString
21
- } from "./chunk-n381rqax.js";
21
+ } from "./chunk-e4ced6vj.js";
22
22
 
23
23
  // packages/core/src/schema.ts
24
24
  var Days = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
@@ -1,4 +1,12 @@
1
1
  // @bun
2
+ import {
3
+ currentTimeMillis,
4
+ make10,
5
+ runForEach,
6
+ toPull,
7
+ FileSystem,
8
+ compiled2
9
+ } from "./chunk-jz2b3htb.js";
2
10
  import {
3
11
  isSome,
4
12
  getOrElse,
@@ -35,19 +43,11 @@ import {
35
43
  isJsonObject,
36
44
  isString2,
37
45
  encodeUnknownJsonStringSync
38
- } from "./chunk-n381rqax.js";
46
+ } from "./chunk-e4ced6vj.js";
39
47
  import {
40
- make10,
41
- runForEach,
42
- toPull,
43
- FileSystem,
44
- compiled2
45
- } from "./chunk-hyaq30ne.js";
46
- import {
47
- currentTimeMillis,
48
48
  ChildProcessSpawner,
49
49
  make2
50
- } from "./chunk-8r9k7pqk.js";
50
+ } from "./chunk-z1d5jx6m.js";
51
51
 
52
52
  // packages/agent-runtime/src/opencode-store.ts
53
53
  import { lstatSync, readFileSync, realpathSync, writeSync } from "fs";
@@ -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-n381rqax.js";
21
+ } from "./chunk-e4ced6vj.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-hyaq30ne.js";
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-jz2b3htb.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 { Clock, currentTimeMillis, ExitCode, ProcessId, makeHandle, make, ChildProcessSpawner, display, make2, parseFdName, fdName };
343
+ export { ExitCode, ProcessId, makeHandle, make, ChildProcessSpawner, display, make2, parseFdName, fdName };