@kitman-sh/cli 0.10.79 → 0.10.80

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 (26) hide show
  1. package/dist/{chunk-wq91rwr2.js → chunk-0dwnwx45.js} +5 -5
  2. package/dist/{chunk-ambnfp64.js → chunk-0wy2gwj2.js} +8 -8
  3. package/dist/{chunk-5mafe4g9.js → chunk-1xn27063.js} +5 -5
  4. package/dist/{chunk-76ctrqm6.js → chunk-2afjvt1c.js} +1 -1
  5. package/dist/{chunk-9zd52pda.js → chunk-4tjeks83.js} +5 -5
  6. package/dist/{chunk-fh762fzy.js → chunk-5v9pywm3.js} +62 -48
  7. package/dist/{chunk-0znt4wky.js → chunk-61jk9k82.js} +268 -187
  8. package/dist/{chunk-vt7p2dqj.js → chunk-7b6qsc4y.js} +23 -23
  9. package/dist/{chunk-tzz4fv17.js → chunk-80z95x19.js} +1 -1
  10. package/dist/{chunk-agmt5yte.js → chunk-84gm9qq8.js} +27 -26
  11. package/dist/{chunk-xb70ys3n.js → chunk-bxxym84e.js} +31 -165
  12. package/dist/{chunk-b0cscqbw.js → chunk-ctfv3bg6.js} +2 -2
  13. package/dist/{chunk-774x1zm9.js → chunk-czxcs1ce.js} +7 -7
  14. package/dist/{chunk-msejjzvq.js → chunk-f3k1vjtf.js} +14 -14
  15. package/dist/{chunk-545b129z.js → chunk-fwsq4r8a.js} +9 -2
  16. package/dist/{chunk-t07tn0ay.js → chunk-hr6etnzn.js} +4 -4
  17. package/dist/{chunk-fq47a5yd.js → chunk-kjms81x1.js} +2 -2
  18. package/dist/{chunk-kvv8n1nq.js → chunk-twms8y72.js} +4 -4
  19. package/dist/{chunk-jbwk6k6m.js → chunk-v9nqb2tp.js} +226 -40
  20. package/dist/{chunk-r3240g3z.js → chunk-vcvnk771.js} +4 -4
  21. package/dist/{chunk-98sg1yyd.js → chunk-wqv9y3dk.js} +14 -60
  22. package/dist/{chunk-e8zm8z3a.js → chunk-xkqbgz5j.js} +8 -8
  23. package/dist/{chunk-04h76486.js → chunk-yp10rhmv.js} +7 -7
  24. package/dist/{chunk-gntbq9g8.js → chunk-z0tv3ak5.js} +3 -3
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -184,6 +184,7 @@ import {
184
184
  mapEager,
185
185
  flatMapEager,
186
186
  catchEager,
187
+ fromInputUnsafe2,
187
188
  Pointer,
188
189
  passthrough,
189
190
  transformEffect,
@@ -199,7 +200,7 @@ import {
199
200
  String4,
200
201
  toCodecStringTree,
201
202
  encodeUnknownJsonStringSync
202
- } from "./chunk-jbwk6k6m.js";
203
+ } from "./chunk-v9nqb2tp.js";
203
204
 
204
205
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
205
206
  var headUnsafe = (self) => {
@@ -248,141 +249,6 @@ var makeEquivalence = (equivalence) => {
248
249
  return (self, that) => is(self, that) && is(that, self);
249
250
  };
250
251
 
251
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
252
- var bigint0 = /* @__PURE__ */ BigInt(0);
253
- var bigint1 = /* @__PURE__ */ BigInt(1);
254
- var decimalBase = /* @__PURE__ */ BigInt(1000);
255
- var binaryBase = /* @__PURE__ */ BigInt(1024);
256
- var decimalUnits = [{
257
- symbol: "B",
258
- factor: bigint1,
259
- names: ["B", "byte", "bytes"]
260
- }, {
261
- symbol: "kB",
262
- factor: decimalBase,
263
- names: ["kB", "kilobyte", "kilobytes"]
264
- }, {
265
- symbol: "MB",
266
- factor: decimalBase ** /* @__PURE__ */ BigInt(2),
267
- names: ["MB", "megabyte", "megabytes"]
268
- }, {
269
- symbol: "GB",
270
- factor: decimalBase ** /* @__PURE__ */ BigInt(3),
271
- names: ["GB", "gigabyte", "gigabytes"]
272
- }, {
273
- symbol: "TB",
274
- factor: decimalBase ** /* @__PURE__ */ BigInt(4),
275
- names: ["TB", "terabyte", "terabytes"]
276
- }, {
277
- symbol: "PB",
278
- factor: decimalBase ** /* @__PURE__ */ BigInt(5),
279
- names: ["PB", "petabyte", "petabytes"]
280
- }, {
281
- symbol: "EB",
282
- factor: decimalBase ** /* @__PURE__ */ BigInt(6),
283
- names: ["EB", "exabyte", "exabytes"]
284
- }, {
285
- symbol: "ZB",
286
- factor: decimalBase ** /* @__PURE__ */ BigInt(7),
287
- names: ["ZB", "zettabyte", "zettabytes"]
288
- }, {
289
- symbol: "YB",
290
- factor: decimalBase ** /* @__PURE__ */ BigInt(8),
291
- names: ["YB", "yottabyte", "yottabytes"]
292
- }, {
293
- symbol: "RB",
294
- factor: decimalBase ** /* @__PURE__ */ BigInt(9),
295
- names: ["RB", "ronnabyte", "ronnabytes"]
296
- }, {
297
- symbol: "QB",
298
- factor: decimalBase ** /* @__PURE__ */ BigInt(10),
299
- names: ["QB", "quettabyte", "quettabytes"]
300
- }];
301
- var binaryUnits = [decimalUnits[0], {
302
- symbol: "KiB",
303
- factor: binaryBase,
304
- names: ["KiB", "kibibyte", "kibibytes"]
305
- }, {
306
- symbol: "MiB",
307
- factor: binaryBase ** /* @__PURE__ */ BigInt(2),
308
- names: ["MiB", "mebibyte", "mebibytes"]
309
- }, {
310
- symbol: "GiB",
311
- factor: binaryBase ** /* @__PURE__ */ BigInt(3),
312
- names: ["GiB", "gibibyte", "gibibytes"]
313
- }, {
314
- symbol: "TiB",
315
- factor: binaryBase ** /* @__PURE__ */ BigInt(4),
316
- names: ["TiB", "tebibyte", "tebibytes"]
317
- }, {
318
- symbol: "PiB",
319
- factor: binaryBase ** /* @__PURE__ */ BigInt(5),
320
- names: ["PiB", "pebibyte", "pebibytes"]
321
- }, {
322
- symbol: "EiB",
323
- factor: binaryBase ** /* @__PURE__ */ BigInt(6),
324
- names: ["EiB", "exbibyte", "exbibytes"]
325
- }, {
326
- symbol: "ZiB",
327
- factor: binaryBase ** /* @__PURE__ */ BigInt(7),
328
- names: ["ZiB", "zebibyte", "zebibytes"]
329
- }, {
330
- symbol: "YiB",
331
- factor: binaryBase ** /* @__PURE__ */ BigInt(8),
332
- names: ["YiB", "yobibyte", "yobibytes"]
333
- }];
334
- var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
335
- var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
336
- var make = (value) => value;
337
- var invalid = (message) => {
338
- throw new Error(`Invalid ByteSize: ${message}`);
339
- };
340
- var fromNumber = (input) => {
341
- if (!Number.isSafeInteger(input) || input < 0) {
342
- return invalid(`expected a non-negative safe integer, received ${input}`);
343
- }
344
- return make(BigInt(input));
345
- };
346
- var maxSafeInteger = /* @__PURE__ */ BigInt(Number.MAX_SAFE_INTEGER);
347
- var scaleDecimal = (quantity, factor) => {
348
- const match = /^(\d+)(?:\.(\d+))?(?:e([+-]\d+))?$/.exec(quantity);
349
- if (match === null)
350
- return;
351
- const fraction = match[2] ?? "";
352
- const numerator = BigInt(match[1] + fraction) * factor;
353
- const shift = Number(match[3] ?? 0) - fraction.length;
354
- if (shift >= 0)
355
- return numerator * BigInt(10) ** BigInt(shift);
356
- const scale = BigInt(10) ** BigInt(-shift);
357
- return numerator % scale === bigint0 ? numerator / scale : undefined;
358
- };
359
- var fromStringUnsafe = (input) => {
360
- const match = /^\s*(\d+(?:\.\d+)?)\s*([A-Za-z]+)\s*$/.exec(input);
361
- if (match === null)
362
- return invalid(`unsupported syntax ${JSON.stringify(input)}`);
363
- const unit = unitsByName.get(match[2]);
364
- if (unit === undefined)
365
- return invalid(`unsupported unit ${JSON.stringify(match[2])}`);
366
- const value = scaleDecimal(match[1], unit.factor);
367
- if (value === undefined)
368
- return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
369
- return make(value);
370
- };
371
- var fromInputUnsafe2 = (input) => {
372
- switch (typeof input) {
373
- case "bigint":
374
- if (input < bigint0)
375
- return invalid(`expected a non-negative bigint, received ${input}`);
376
- return make(input);
377
- case "number":
378
- return fromNumber(input);
379
- case "string":
380
- return fromStringUnsafe(input);
381
- }
382
- return invalid(`unsupported input ${input}`);
383
- };
384
- var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
385
-
386
252
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
387
253
  var join = fiberJoin;
388
254
  var interrupt = fiberInterrupt;
@@ -935,7 +801,7 @@ var isIgnorable = (error) => isMissing(error) || error.reason._tag === "Permissi
935
801
  var isNotLink = (error) => isIgnorable(error) || error.reason._tag === "Unknown";
936
802
  var DIRECTORY_CONCURRENCY = 16;
937
803
  var byName = /* @__PURE__ */ mapInput(String3, (entry) => entry.name);
938
- var make2 = (fs) => (pattern, options) => walk(fs, compile([pattern], options?.dot ?? false), options);
804
+ var make = (fs) => (pattern, options) => walk(fs, compile([pattern], options?.dot ?? false), options);
939
805
  var walk = /* @__PURE__ */ fnUntraced(function* (fs, compiled, options) {
940
806
  if (compiled.initial.size === 0) {
941
807
  return [];
@@ -1113,7 +979,7 @@ var badArgument = (options) => new PlatformError(new BadArgument(options));
1113
979
 
1114
980
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Latch.js
1115
981
  var makeUnsafe2 = makeLatchUnsafe;
1116
- var make3 = makeLatch;
982
+ var make2 = makeLatch;
1117
983
 
1118
984
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableRef.js
1119
985
  var TypeId2 = "~effect/MutableRef";
@@ -1127,7 +993,7 @@ var MutableRefProto = {
1127
993
  };
1128
994
  }
1129
995
  };
1130
- var make8 = (value) => {
996
+ var make7 = (value) => {
1131
997
  const ref = Object.create(MutableRefProto);
1132
998
  ref.current = value;
1133
999
  return ref;
@@ -1139,7 +1005,7 @@ var set = /* @__PURE__ */ dual(2, (self, value) => {
1139
1005
 
1140
1006
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableList.js
1141
1007
  var Empty = /* @__PURE__ */ Symbol.for("effect/MutableList/Empty");
1142
- var make4 = () => ({
1008
+ var make3 = () => ({
1143
1009
  head: undefined,
1144
1010
  tail: undefined,
1145
1011
  length: 0
@@ -1288,8 +1154,8 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1288
1154
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1289
1155
  var TypeId3 = "~effect/PubSub";
1290
1156
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1291
- var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
1292
- var unbounded = (options) => make5({
1157
+ var make4 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1158
+ var unbounded = (options) => make4({
1293
1159
  atomicPubSub: () => makeAtomicUnbounded(options),
1294
1160
  strategy: () => new DroppingStrategy
1295
1161
  });
@@ -1383,7 +1249,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1383
1249
  subscribers.delete(subscription);
1384
1250
  }
1385
1251
  };
1386
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
1252
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make3(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1387
1253
  class UnboundedPubSub {
1388
1254
  publisherHead = {
1389
1255
  value: AbsentValue,
@@ -1800,12 +1666,12 @@ var QueueProto = {
1800
1666
  };
1801
1667
  }
1802
1668
  };
1803
- var make9 = (options) => withFiber((fiber) => {
1669
+ var make8 = (options) => withFiber((fiber) => {
1804
1670
  const self = Object.create(QueueProto);
1805
1671
  self.dispatcher = fiber.currentDispatcher;
1806
1672
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
1807
1673
  self.strategy = options?.strategy ?? "suspend";
1808
- self.messages = make4();
1674
+ self.messages = make3();
1809
1675
  self.scheduleRunning = false;
1810
1676
  self.state = {
1811
1677
  _tag: "Open",
@@ -1815,14 +1681,14 @@ var make9 = (options) => withFiber((fiber) => {
1815
1681
  };
1816
1682
  return succeed2(self);
1817
1683
  });
1818
- var bounded = (capacity) => make9({
1684
+ var bounded = (capacity) => make8({
1819
1685
  capacity
1820
1686
  });
1821
- var sliding = (capacity) => make9({
1687
+ var sliding = (capacity) => make8({
1822
1688
  capacity,
1823
1689
  strategy: "sliding"
1824
1690
  });
1825
- var unbounded2 = () => make9();
1691
+ var unbounded2 = () => make8();
1826
1692
  var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
1827
1693
  var offerUnsafe = (self, message) => {
1828
1694
  if (self.state._tag !== "Open") {
@@ -2248,7 +2114,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
2248
2114
  return onError(pull, onCause);
2249
2115
  }));
2250
2116
  var toTransform = (channel) => channel.transform;
2251
- var asyncQueue = (scope, f, options) => make9({
2117
+ var asyncQueue = (scope, f, options) => make8({
2252
2118
  capacity: options?.bufferSize,
2253
2119
  strategy: options?.strategy
2254
2120
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
@@ -2289,7 +2155,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
2289
2155
  }));
2290
2156
  var readableStreamToPullUnsafe = (options) => {
2291
2157
  const reader = options.readable.getReader();
2292
- const exit = options.exit ?? make8(undefined);
2158
+ const exit = options.exit ?? make7(undefined);
2293
2159
  const pull = suspend3(() => {
2294
2160
  if (exit.current)
2295
2161
  return exit.current;
@@ -2457,7 +2323,7 @@ var mergeAll = /* @__PURE__ */ dual(2, (channels, {
2457
2323
  }) => fromTransformBracket(fnUntraced(function* (upstream, scope, forkedScope) {
2458
2324
  const concurrencyN = concurrency === "unbounded" ? Number.MAX_SAFE_INTEGER : Math.max(1, concurrency);
2459
2325
  const semaphore = switch_ ? undefined : makeUnsafe3(concurrencyN);
2460
- const doneLatch = yield* make3(true);
2326
+ const doneLatch = yield* make2(true);
2461
2327
  const fibers = new Map;
2462
2328
  const queue = yield* bounded(bufferSize);
2463
2329
  yield* addFinalizer(forkedScope, shutdown(queue));
@@ -2794,7 +2660,7 @@ class RcRefImpl {
2794
2660
  this.idleTimeToLive = idleTimeToLive;
2795
2661
  }
2796
2662
  }
2797
- var make6 = (options) => withFiber2((fiber) => {
2663
+ var make5 = (options) => withFiber2((fiber) => {
2798
2664
  const context = fiber.context;
2799
2665
  const scope = get4(context, Scope);
2800
2666
  const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
@@ -2903,7 +2769,7 @@ var release = (self, state) => {
2903
2769
  };
2904
2770
 
2905
2771
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2906
- var make10 = make6;
2772
+ var make9 = make5;
2907
2773
  var get3 = get2;
2908
2774
 
2909
2775
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
@@ -2915,7 +2781,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
2915
2781
  var toChannel2 = (stream) => stream.channel;
2916
2782
  var callback = (f, options) => fromChannel2(callbackArray(f, options));
2917
2783
  var empty2 = /* @__PURE__ */ fromChannel2(empty);
2918
- var make11 = (...values) => fromArray2(values);
2784
+ var make10 = (...values) => fromArray2(values);
2919
2785
  var suspend = (stream) => {
2920
2786
  const suspended = fromChannel2(suspend4(() => stream().channel));
2921
2787
  suspendedStreams.set(suspended, stream);
@@ -3080,10 +2946,10 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
3080
2946
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
3081
2947
  var TypeId10 = "~effect/FileSystem";
3082
2948
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3083
- var make12 = (impl) => FileSystem.of({
2949
+ var make11 = (impl) => FileSystem.of({
3084
2950
  ...impl,
3085
2951
  [TypeId10]: TypeId10,
3086
- glob: make2(impl),
2952
+ glob: make(impl),
3087
2953
  exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
3088
2954
  readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
3089
2955
  try: () => new TextDecoder(encoding).decode(_),
@@ -3140,7 +3006,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3140
3006
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3141
3007
  var TypeId11 = "~effect/Path";
3142
3008
  var Path = /* @__PURE__ */ Service2("effect/Path");
3143
- var make13 = (impl) => Path.of({
3009
+ var make12 = (impl) => Path.of({
3144
3010
  ...impl,
3145
3011
  [TypeId11]: TypeId11,
3146
3012
  resolveWithin(root, input) {
@@ -3215,7 +3081,7 @@ function makeProvider(load, mapInput) {
3215
3081
  function makeSource(get, transform) {
3216
3082
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3217
3083
  }
3218
- function make7(get) {
3084
+ function make6(get) {
3219
3085
  return makeSource(get, identityPath);
3220
3086
  }
3221
3087
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3224,7 +3090,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3224
3090
  function fromEnvRecord(env, options) {
3225
3091
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3226
3092
  const trie = buildEnvTrie(env);
3227
- return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3093
+ return make6((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3228
3094
  }
3229
3095
  function fromEnv(options) {
3230
3096
  const env = options?.env ?? {
@@ -3306,7 +3172,7 @@ var Proto2 = {
3306
3172
  };
3307
3173
  }
3308
3174
  };
3309
- function make14(evaluator) {
3175
+ function make13(evaluator) {
3310
3176
  const self = Object.create(Proto2);
3311
3177
  self.evaluator = evaluator;
3312
3178
  self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
@@ -3314,14 +3180,14 @@ function make14(evaluator) {
3314
3180
  }
3315
3181
  var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
3316
3182
  var map3 = /* @__PURE__ */ dual(2, (self, f) => {
3317
- return make14((provider, pathPrefix) => map8(evaluateAt(self, provider, pathPrefix), map5(f)));
3183
+ return make13((provider, pathPrefix) => map8(evaluateAt(self, provider, pathPrefix), map5(f)));
3318
3184
  });
3319
3185
  function all(arg) {
3320
3186
  const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
3321
- 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));
3187
+ 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));
3322
3188
  }
3323
3189
  var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
3324
- return make14((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3190
+ return make13((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3325
3191
  });
3326
3192
  var option = (self) => self.pipe(map3(some), withDefault(none()));
3327
3193
  var isSourceError = (u) => isTagged(u, "SourceError");
@@ -3440,7 +3306,7 @@ function schema(codec, path) {
3440
3306
  const encodedAst = toEncoded(codecStringTree.ast);
3441
3307
  const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
3442
3308
  const localPath = typeof path === "string" ? [path] : path ?? [];
3443
- return make14((provider, pathPrefix) => {
3309
+ return make13((provider, pathPrefix) => {
3444
3310
  const fullPath = [...pathPrefix, ...localPath];
3445
3311
  return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
3446
3312
  const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
@@ -3552,4 +3418,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3552
3418
  ...argv
3553
3419
  ];
3554
3420
 
3555
- 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, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3421
+ export { map, makeEquivalence, 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, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -13,11 +13,11 @@ import {
13
13
  ArraySchema,
14
14
  decodeJsonStringOption,
15
15
  encodeUnknownJsonStringSync
16
- } from "./chunk-jbwk6k6m.js";
16
+ } from "./chunk-v9nqb2tp.js";
17
17
  import {
18
18
  replaceSecretReferences,
19
19
  secretReferencesIn
20
- } from "./chunk-545b129z.js";
20
+ } from "./chunk-fwsq4r8a.js";
21
21
 
22
22
  // packages/agent-runtime/src/srt-step.ts
23
23
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
@@ -6,10 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-jbwk6k6m.js";
9
+ } from "./chunk-v9nqb2tp.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-xb70ys3n.js";
12
+ } from "./chunk-bxxym84e.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-0znt4wky.js";
22
+ } from "./chunk-61jk9k82.js";
23
23
  import {
24
24
  layerJson,
25
- make4,
25
+ make3,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-5mafe4g9.js";
28
+ } from "./chunk-1xn27063.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -46,7 +46,7 @@ var authorizer = (options) => (call) => flatMap3(options.bearer, (token) => with
46
46
  var RunnerProcessRpcs = RunnerReplicaRpcs.merge(RunnerRunFileRpcs);
47
47
  var makeRunnerRpcClient2 = (options) => gen(function* () {
48
48
  const protocol = yield* build(options.protocol);
49
- const client = yield* make4(RunnerProcessRpcs).pipe(provideContext2(protocol));
49
+ const client = yield* make3(RunnerProcessRpcs).pipe(provideContext2(protocol));
50
50
  const authorized = authorizer(options);
51
51
  return {
52
52
  claim: (input) => authorized(client.Claim(input)),
@@ -74,7 +74,7 @@ var makeRunnerRpcClient2 = (options) => gen(function* () {
74
74
  });
75
75
  var makeProgramRpcClient2 = (options) => gen(function* () {
76
76
  const protocol = yield* build(options.protocol);
77
- const client = yield* make4(ProgramRpcs).pipe(provideContext2(protocol));
77
+ const client = yield* make3(ProgramRpcs).pipe(provideContext2(protocol));
78
78
  const authorized = authorizer(options);
79
79
  return {
80
80
  recordActivity: (input) => authorized(client.RecordActivity(input)),
@@ -32,9 +32,9 @@ import {
32
32
  toCodecJson,
33
33
  Json,
34
34
  encodePrettyJsonString
35
- } from "./chunk-jbwk6k6m.js";
36
- import"./chunk-545b129z.js";
37
- import"./chunk-tzz4fv17.js";
35
+ } from "./chunk-v9nqb2tp.js";
36
+ import"./chunk-fwsq4r8a.js";
37
+ import"./chunk-80z95x19.js";
38
38
  import {
39
39
  SecureRandom,
40
40
  layerWebCrypto,
@@ -46,7 +46,7 @@ import {
46
46
  layer4,
47
47
  kitmanMcpServer,
48
48
  RunnerRpcProtocolVersion
49
- } from "./chunk-0znt4wky.js";
49
+ } from "./chunk-61jk9k82.js";
50
50
  import {
51
51
  decodeText,
52
52
  mkString,
@@ -54,23 +54,23 @@ import {
54
54
  Path,
55
55
  withDefault,
56
56
  String2
57
- } from "./chunk-xb70ys3n.js";
57
+ } from "./chunk-bxxym84e.js";
58
58
  import {
59
59
  Packument,
60
60
  tarballMatches
61
- } from "./chunk-gntbq9g8.js";
62
- import"./chunk-774x1zm9.js";
61
+ } from "./chunk-z0tv3ak5.js";
62
+ import {
63
+ ChildProcessSpawner,
64
+ make2
65
+ } from "./chunk-wqv9y3dk.js";
66
+ import"./chunk-czxcs1ce.js";
63
67
  import {
64
68
  AgentDeclaration,
65
69
  KitDeclarations,
66
70
  describeFlag,
67
71
  Described
68
- } from "./chunk-r3240g3z.js";
69
- import {
70
- ChildProcessSpawner,
71
- make3
72
- } from "./chunk-98sg1yyd.js";
73
- import"./chunk-5mafe4g9.js";
72
+ } from "./chunk-vcvnk771.js";
73
+ import"./chunk-1xn27063.js";
74
74
 
75
75
  // packages/sdk/src/build/index.ts
76
76
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -109,7 +109,7 @@ var ConfigAgents = Record(String4, Struct({
109
109
  }));
110
110
  var run = (command, args, cwd) => gen(function* () {
111
111
  const spawner = yield* ChildProcessSpawner;
112
- const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
112
+ const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
113
113
  const [stdout, stderr, exitCode] = yield* all3([
114
114
  mkString(decodeText(handle.stdout)),
115
115
  mkString(decodeText(handle.stderr)),
@@ -18,7 +18,7 @@ import {
18
18
  isMinLength,
19
19
  isMaxLength,
20
20
  FiniteFromString
21
- } from "./chunk-jbwk6k6m.js";
21
+ } from "./chunk-v9nqb2tp.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"];
@@ -141,6 +141,13 @@ var referenceOf = (match, encoded) => {
141
141
  const reference = unhex(encoded);
142
142
  return isReference(reference) ? reference : undefined;
143
143
  };
144
+ var wholePlaceholder = new RegExp(`^(?:[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+\\.|proxy-ep=[A-Za-z0-9.-]+;|${tokenPrefix.source.slice(1)})?${placeholderMarker}((?:[0-9a-f]{2})+)$`);
145
+ var isSecretReference = (text) => {
146
+ if (isReference(text))
147
+ return true;
148
+ const encoded = wholePlaceholder.exec(text)?.[1];
149
+ return encoded !== undefined && isReference(unhex(encoded));
150
+ };
144
151
  var replaceSecretReferences = (text, swap) => text.replace(anyReference, (match, encoded) => {
145
152
  const reference = referenceOf(match, encoded);
146
153
  return reference === undefined ? match : swap(reference);
@@ -168,4 +175,4 @@ var SecretSet = Struct({
168
175
  });
169
176
  var SecretScopeQuery = Struct({ teamId: optionalKey(Id) });
170
177
 
171
- export { isDateTime, Numeric, isWholeNumber, guard, Id, Timestamp, ActorType, SecretName, SecretScope, SecretHosts, secretReference, secretPlaceholder, replaceSecretReferences, secretReferencesIn };
178
+ export { isDateTime, Numeric, isWholeNumber, guard, Id, Timestamp, ActorType, SecretName, SecretScope, SecretHosts, secretReference, secretPlaceholder, isSecretReference, replaceSecretReferences, secretReferencesIn };
@@ -4,10 +4,10 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-b0cscqbw.js";
8
- import"./chunk-545b129z.js";
9
- import"./chunk-tzz4fv17.js";
10
- import"./chunk-jbwk6k6m.js";
7
+ } from "./chunk-ctfv3bg6.js";
8
+ import"./chunk-fwsq4r8a.js";
9
+ import"./chunk-80z95x19.js";
10
+ import"./chunk-v9nqb2tp.js";
11
11
  export {
12
12
  isOpaqueConnectReason2 as isOpaqueConnectReason,
13
13
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-xb70ys3n.js";
18
- import"./chunk-jbwk6k6m.js";
17
+ } from "./chunk-bxxym84e.js";
18
+ import"./chunk-v9nqb2tp.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-98sg1yyd.js";
2
+ import"./chunk-wqv9y3dk.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-0znt4wky.js";
16
- import"./chunk-xb70ys3n.js";
17
- import"./chunk-jbwk6k6m.js";
15
+ } from "./chunk-61jk9k82.js";
16
+ import"./chunk-bxxym84e.js";
17
+ import"./chunk-v9nqb2tp.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,