@kitman-sh/cli 0.30.0 → 0.31.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-js64y97w.js → chunk-2sazk478.js} +4 -4
  2. package/dist/{chunk-msn6rrx9.js → chunk-38drrdzp.js} +4 -4
  3. package/dist/{chunk-cehbrs1y.js → chunk-5qrjf4xq.js} +5 -5
  4. package/dist/{chunk-samxkpbz.js → chunk-9a6wbk11.js} +3 -3
  5. package/dist/{chunk-sw0dadq5.js → chunk-9vqkjkya.js} +1 -1
  6. package/dist/{chunk-yr7np5eb.js → chunk-9yvknsnj.js} +3 -3
  7. package/dist/{chunk-39kjyh2y.js → chunk-emw9ragp.js} +21 -21
  8. package/dist/{chunk-d4h1p51s.js → chunk-fjdp3rd6.js} +24 -24
  9. package/dist/{chunk-my92qn4x.js → chunk-kx8rpa62.js} +10 -10
  10. package/dist/{chunk-5kqt4bqp.js → chunk-m1qp6swh.js} +1 -1
  11. package/dist/{chunk-3xg9zbmy.js → chunk-njgay1ed.js} +9 -9
  12. package/dist/{chunk-chxtmsns.js → chunk-nk0ew12p.js} +152 -109
  13. package/dist/{chunk-7j1kf6sa.js → chunk-nndgeync.js} +6 -6
  14. package/dist/{chunk-tsx0347c.js → chunk-pd3azxev.js} +1 -1
  15. package/dist/{chunk-wtea9nbk.js → chunk-qb11yda6.js} +24 -24
  16. package/dist/{chunk-bv4gcq1h.js → chunk-qbrkeg49.js} +7 -7
  17. package/dist/{chunk-1j38xtvp.js → chunk-qjxgew0k.js} +2 -2
  18. package/dist/{chunk-4qjfn1sa.js → chunk-r2kzvdrg.js} +1 -1
  19. package/dist/{chunk-yaa3gkpx.js → chunk-s4r49vbj.js} +9 -9
  20. package/dist/{chunk-gap0vmj7.js → chunk-vh2a72d1.js} +14 -60
  21. package/dist/{chunk-r7m32p2j.js → chunk-vwynec02.js} +1 -1
  22. package/dist/{chunk-0mg7k9b4.js → chunk-xxcxramy.js} +117 -118
  23. package/dist/{chunk-h2f26xbd.js → chunk-y64ssczv.js} +226 -40
  24. package/dist/{chunk-tbmht2qb.js → chunk-yjc2w86k.js} +10 -10
  25. package/dist/{chunk-63cyj9dh.js → chunk-z59pvcbk.js} +31 -174
  26. package/dist/{chunk-vz38kngm.js → chunk-zy21drtv.js} +2 -2
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -1331,11 +1331,11 @@ var Prototype = (options) => makePrimitiveProto({
1331
1331
  });
1332
1332
 
1333
1333
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Equivalence.js
1334
- var make14 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
1334
+ var make13 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
1335
1335
  var isStrictEquivalent = (x, y) => x === y;
1336
1336
  var strictEqual = () => isStrictEquivalent;
1337
1337
  function Tuple(elements) {
1338
- return make14((self, that) => {
1338
+ return make13((self, that) => {
1339
1339
  if (self.length !== that.length) {
1340
1340
  return false;
1341
1341
  }
@@ -1348,7 +1348,7 @@ function Tuple(elements) {
1348
1348
  });
1349
1349
  }
1350
1350
  function Array_(item) {
1351
- return make14((self, that) => {
1351
+ return make13((self, that) => {
1352
1352
  if (self.length !== that.length)
1353
1353
  return false;
1354
1354
  for (let i = 0;i < self.length; i++) {
@@ -1580,7 +1580,7 @@ var ServiceProto = {
1580
1580
  return self;
1581
1581
  },
1582
1582
  context(self) {
1583
- return make15(this, self);
1583
+ return make14(this, self);
1584
1584
  },
1585
1585
  use(f) {
1586
1586
  return withFiber((fiber) => f(get4(fiber.context, this)));
@@ -1684,7 +1684,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
1684
1684
  var isReference = (u) => !!u[ReferenceTypeId];
1685
1685
  var empty3 = () => emptyContext2;
1686
1686
  var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
1687
- var make15 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
1687
+ var make14 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
1688
1688
  var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
1689
1689
  var addUnsafe = (self, key, service) => {
1690
1690
  const impl = self;
@@ -3075,7 +3075,7 @@ class FiberImpl {
3075
3075
  }
3076
3076
  let cause = causeInterrupt(fiberId);
3077
3077
  if (this.cache.stackFrame) {
3078
- cause = causeAnnotate(cause, make15(StackTraceKey, this.cache.stackFrame));
3078
+ cause = causeAnnotate(cause, make14(StackTraceKey, this.cache.stackFrame));
3079
3079
  }
3080
3080
  if (annotations) {
3081
3081
  cause = causeAnnotate(cause, annotations);
@@ -5183,7 +5183,7 @@ var DeferredImpl = function() {
5183
5183
  };
5184
5184
  DeferredImpl.prototype = DeferredProto;
5185
5185
  var makeUnsafe5 = () => new DeferredImpl;
5186
- var make16 = () => sync(() => makeUnsafe5());
5186
+ var make15 = () => sync(() => makeUnsafe5());
5187
5187
  var _await = (self) => callback2((resume) => {
5188
5188
  if (self.effect)
5189
5189
  return resume(self.effect);
@@ -5331,9 +5331,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
5331
5331
  var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
5332
5332
  var succeed5 = function() {
5333
5333
  if (arguments.length === 1) {
5334
- return (resource) => succeedContext(make15(arguments[0], resource));
5334
+ return (resource) => succeedContext(make14(arguments[0], resource));
5335
5335
  }
5336
- return succeedContext(make15(arguments[0], arguments[1]));
5336
+ return succeedContext(make14(arguments[0], arguments[1]));
5337
5337
  };
5338
5338
  var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
5339
5339
  var effect = function() {
@@ -5342,7 +5342,7 @@ var effect = function() {
5342
5342
  }
5343
5343
  return effectImpl(arguments[0], arguments[1]);
5344
5344
  };
5345
- var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make15(service, value)));
5345
+ var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make14(service, value)));
5346
5346
  var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
5347
5347
  var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
5348
5348
  var mergeAllEffect = (layers, memoMap, scope) => {
@@ -5820,6 +5820,150 @@ var flatMapEager = flatMapEager2;
5820
5820
  var catchEager = catchEager2;
5821
5821
  var fnUntracedEager2 = fnUntracedEager;
5822
5822
 
5823
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
5824
+ var BigInt2 = globalThis.BigInt;
5825
+ var toNumber = (b) => {
5826
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
5827
+ return none();
5828
+ }
5829
+ return some(Number(b));
5830
+ };
5831
+
5832
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
5833
+ var bigint03 = /* @__PURE__ */ BigInt(0);
5834
+ var bigint12 = /* @__PURE__ */ BigInt(1);
5835
+ var decimalBase = /* @__PURE__ */ BigInt(1000);
5836
+ var binaryBase = /* @__PURE__ */ BigInt(1024);
5837
+ var decimalUnits = [{
5838
+ symbol: "B",
5839
+ factor: bigint12,
5840
+ names: ["B", "byte", "bytes"]
5841
+ }, {
5842
+ symbol: "kB",
5843
+ factor: decimalBase,
5844
+ names: ["kB", "kilobyte", "kilobytes"]
5845
+ }, {
5846
+ symbol: "MB",
5847
+ factor: decimalBase ** /* @__PURE__ */ BigInt(2),
5848
+ names: ["MB", "megabyte", "megabytes"]
5849
+ }, {
5850
+ symbol: "GB",
5851
+ factor: decimalBase ** /* @__PURE__ */ BigInt(3),
5852
+ names: ["GB", "gigabyte", "gigabytes"]
5853
+ }, {
5854
+ symbol: "TB",
5855
+ factor: decimalBase ** /* @__PURE__ */ BigInt(4),
5856
+ names: ["TB", "terabyte", "terabytes"]
5857
+ }, {
5858
+ symbol: "PB",
5859
+ factor: decimalBase ** /* @__PURE__ */ BigInt(5),
5860
+ names: ["PB", "petabyte", "petabytes"]
5861
+ }, {
5862
+ symbol: "EB",
5863
+ factor: decimalBase ** /* @__PURE__ */ BigInt(6),
5864
+ names: ["EB", "exabyte", "exabytes"]
5865
+ }, {
5866
+ symbol: "ZB",
5867
+ factor: decimalBase ** /* @__PURE__ */ BigInt(7),
5868
+ names: ["ZB", "zettabyte", "zettabytes"]
5869
+ }, {
5870
+ symbol: "YB",
5871
+ factor: decimalBase ** /* @__PURE__ */ BigInt(8),
5872
+ names: ["YB", "yottabyte", "yottabytes"]
5873
+ }, {
5874
+ symbol: "RB",
5875
+ factor: decimalBase ** /* @__PURE__ */ BigInt(9),
5876
+ names: ["RB", "ronnabyte", "ronnabytes"]
5877
+ }, {
5878
+ symbol: "QB",
5879
+ factor: decimalBase ** /* @__PURE__ */ BigInt(10),
5880
+ names: ["QB", "quettabyte", "quettabytes"]
5881
+ }];
5882
+ var binaryUnits = [decimalUnits[0], {
5883
+ symbol: "KiB",
5884
+ factor: binaryBase,
5885
+ names: ["KiB", "kibibyte", "kibibytes"]
5886
+ }, {
5887
+ symbol: "MiB",
5888
+ factor: binaryBase ** /* @__PURE__ */ BigInt(2),
5889
+ names: ["MiB", "mebibyte", "mebibytes"]
5890
+ }, {
5891
+ symbol: "GiB",
5892
+ factor: binaryBase ** /* @__PURE__ */ BigInt(3),
5893
+ names: ["GiB", "gibibyte", "gibibytes"]
5894
+ }, {
5895
+ symbol: "TiB",
5896
+ factor: binaryBase ** /* @__PURE__ */ BigInt(4),
5897
+ names: ["TiB", "tebibyte", "tebibytes"]
5898
+ }, {
5899
+ symbol: "PiB",
5900
+ factor: binaryBase ** /* @__PURE__ */ BigInt(5),
5901
+ names: ["PiB", "pebibyte", "pebibytes"]
5902
+ }, {
5903
+ symbol: "EiB",
5904
+ factor: binaryBase ** /* @__PURE__ */ BigInt(6),
5905
+ names: ["EiB", "exbibyte", "exbibytes"]
5906
+ }, {
5907
+ symbol: "ZiB",
5908
+ factor: binaryBase ** /* @__PURE__ */ BigInt(7),
5909
+ names: ["ZiB", "zebibyte", "zebibytes"]
5910
+ }, {
5911
+ symbol: "YiB",
5912
+ factor: binaryBase ** /* @__PURE__ */ BigInt(8),
5913
+ names: ["YiB", "yobibyte", "yobibytes"]
5914
+ }];
5915
+ var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
5916
+ var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
5917
+ var make4 = (value) => value;
5918
+ var invalid2 = (message) => {
5919
+ throw new Error(`Invalid ByteSize: ${message}`);
5920
+ };
5921
+ var fromNumber = (input) => {
5922
+ if (!Number.isSafeInteger(input) || input < 0) {
5923
+ return invalid2(`expected a non-negative safe integer, received ${input}`);
5924
+ }
5925
+ return make4(BigInt(input));
5926
+ };
5927
+ var maxSafeInteger = /* @__PURE__ */ BigInt(Number.MAX_SAFE_INTEGER);
5928
+ var scaleDecimal = (quantity, factor) => {
5929
+ const match = /^(\d+)(?:\.(\d+))?(?:e([+-]\d+))?$/.exec(quantity);
5930
+ if (match === null)
5931
+ return;
5932
+ const fraction = match[2] ?? "";
5933
+ const numerator = BigInt(match[1] + fraction) * factor;
5934
+ const shift = Number(match[3] ?? 0) - fraction.length;
5935
+ if (shift >= 0)
5936
+ return numerator * BigInt(10) ** BigInt(shift);
5937
+ const scale = BigInt(10) ** BigInt(-shift);
5938
+ return numerator % scale === bigint03 ? numerator / scale : undefined;
5939
+ };
5940
+ var fromStringUnsafe = (input) => {
5941
+ const match = /^\s*(\d+(?:\.\d+)?)\s*([A-Za-z]+)\s*$/.exec(input);
5942
+ if (match === null)
5943
+ return invalid2(`unsupported syntax ${JSON.stringify(input)}`);
5944
+ const unit = unitsByName.get(match[2]);
5945
+ if (unit === undefined)
5946
+ return invalid2(`unsupported unit ${JSON.stringify(match[2])}`);
5947
+ const value = scaleDecimal(match[1], unit.factor);
5948
+ if (value === undefined)
5949
+ return invalid2(`${JSON.stringify(input)} does not represent an integral number of bytes`);
5950
+ return make4(value);
5951
+ };
5952
+ var fromInputUnsafe2 = (input) => {
5953
+ switch (typeof input) {
5954
+ case "bigint":
5955
+ if (input < bigint03)
5956
+ return invalid2(`expected a non-negative bigint, received ${input}`);
5957
+ return make4(input);
5958
+ case "number":
5959
+ return fromNumber(input);
5960
+ case "string":
5961
+ return fromStringUnsafe(input);
5962
+ }
5963
+ return invalid2(`unsupported input ${input}`);
5964
+ };
5965
+ var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
5966
+
5823
5967
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/encoding/Base64.js
5824
5968
  var encode2 = (input) => encodeBytes(typeof input === "string" ? encoder2.encode(input) : input);
5825
5969
  var decode = (str) => {
@@ -5985,6 +6129,48 @@ for (let i = 0;i < alphabet2.length; i++)
5985
6129
  var decodeString = (str) => map5(decode2(str), (_) => decoder2.decode(_));
5986
6130
  var decoder2 = /* @__PURE__ */ new TextDecoder;
5987
6131
 
6132
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
6133
+ var redactedRegistry = /* @__PURE__ */ new WeakMap;
6134
+ var value2 = (self) => {
6135
+ if (redactedRegistry.has(self)) {
6136
+ return redactedRegistry.get(self);
6137
+ } else {
6138
+ throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
6139
+ }
6140
+ };
6141
+
6142
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
6143
+ var TypeId8 = "~effect/Redacted";
6144
+ var isRedacted = (u) => hasProperty(u, TypeId8);
6145
+ var make16 = (value, options) => {
6146
+ const self = Object.create(Proto2);
6147
+ if (options?.label) {
6148
+ self.label = options.label;
6149
+ }
6150
+ redactedRegistry.set(self, value);
6151
+ return self;
6152
+ };
6153
+ var Proto2 = {
6154
+ [TypeId8]: {
6155
+ _A: (_) => _
6156
+ },
6157
+ label: undefined,
6158
+ ...PipeInspectableProto,
6159
+ toJSON() {
6160
+ return this.toString();
6161
+ },
6162
+ toString() {
6163
+ return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
6164
+ },
6165
+ [symbol]() {
6166
+ return hash(redactedRegistry.get(this));
6167
+ },
6168
+ [symbol2](that) {
6169
+ return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
6170
+ }
6171
+ };
6172
+ var value = value2;
6173
+
5988
6174
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
5989
6175
  function resolve(ast) {
5990
6176
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -6016,16 +6202,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
6016
6202
  var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
6017
6203
 
6018
6204
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
6019
- var TypeId8 = "~effect/SchemaIssue/Issue";
6205
+ var TypeId9 = "~effect/SchemaIssue/Issue";
6020
6206
  function isIssue(u) {
6021
- return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
6207
+ return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
6022
6208
  }
6023
6209
  function hasInput(issue) {
6024
6210
  return Object.hasOwn(issue, "input");
6025
6211
  }
6026
6212
 
6027
6213
  class IssueNodeImpl {
6028
- [TypeId8] = TypeId8;
6214
+ [TypeId9] = TypeId9;
6029
6215
  constructor(input, options) {
6030
6216
  if (options?.reportInput === true && input !== missing) {
6031
6217
  this.input = input;
@@ -6413,9 +6599,9 @@ function getContent(operation) {
6413
6599
  }
6414
6600
 
6415
6601
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
6416
- var TypeId9 = "~effect/SchemaTransformation/Transformation";
6602
+ var TypeId10 = "~effect/SchemaTransformation/Transformation";
6417
6603
  var Transformation = class extends Class3 {
6418
- [TypeId9] = TypeId9;
6604
+ [TypeId10] = TypeId10;
6419
6605
  _tag = "Transformation";
6420
6606
  decode;
6421
6607
  encode;
@@ -6429,7 +6615,7 @@ var Transformation = class extends Class3 {
6429
6615
  }
6430
6616
  };
6431
6617
  function isTransformation(u) {
6432
- return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
6618
+ return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
6433
6619
  }
6434
6620
  var makeTransformation = (options) => {
6435
6621
  if (isTransformation(options)) {
@@ -6549,10 +6735,10 @@ var Context = class {
6549
6735
  this.annotations = annotations;
6550
6736
  }
6551
6737
  };
6552
- var TypeId10 = "~effect/Schema";
6738
+ var TypeId11 = "~effect/Schema";
6553
6739
 
6554
6740
  class ASTNodeImpl {
6555
- [TypeId10] = TypeId10;
6741
+ [TypeId11] = TypeId11;
6556
6742
  annotations;
6557
6743
  checks;
6558
6744
  encoding;
@@ -8478,7 +8664,7 @@ function compile(ast, compile, compileField, base, specialize) {
8478
8664
  }
8479
8665
 
8480
8666
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/compilerRegistry.js
8481
- var invalid2 = /* @__PURE__ */ Symbol();
8667
+ var invalid3 = /* @__PURE__ */ Symbol();
8482
8668
  var cache = /* @__PURE__ */ new WeakMap;
8483
8669
  var compiler;
8484
8670
  var compilerAdaptersEnabled = false;
@@ -8553,7 +8739,7 @@ function withDecode(fastDecode, decodeEffect) {
8553
8739
  if (input !== missing) {
8554
8740
  try {
8555
8741
  const value = fastDecode(input, options);
8556
- if (value !== invalid2)
8742
+ if (value !== invalid3)
8557
8743
  return value === input ? sameExit : succeed8(value);
8558
8744
  } catch (error) {
8559
8745
  return die3(error);
@@ -8603,7 +8789,7 @@ function makeOption(schema) {
8603
8789
  return none();
8604
8790
  };
8605
8791
  }
8606
- function make4(schema) {
8792
+ function make5(schema) {
8607
8793
  return makeConstructorSync(toType2(schema.ast));
8608
8794
  }
8609
8795
  function is2(schema) {
@@ -8750,7 +8936,7 @@ function constructSync(entry, input, options) {
8750
8936
  } catch (error) {
8751
8937
  throwConstructorDefect(error);
8752
8938
  }
8753
- if (output !== invalid2 && output !== missing)
8939
+ if (output !== invalid3 && output !== missing)
8754
8940
  return output;
8755
8941
  }
8756
8942
  return runSync3(parserResult(entry.makeEffect(input, parseOptions), input), constructorDefectMessage);
@@ -8774,12 +8960,12 @@ var normalCompiler = (ast) => resolve2(ast).parser;
8774
8960
  var constructorCompiler = (ast) => resolve2(ast).makeEffect;
8775
8961
 
8776
8962
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
8777
- var TypeId11 = "~effect/Schema/Schema";
8963
+ var TypeId12 = "~effect/Schema/Schema";
8778
8964
  var RebuildOptions = /* @__PURE__ */ Symbol();
8779
8965
  var SchemaProto = {
8780
- [TypeId11]: TypeId11,
8966
+ [TypeId12]: TypeId12,
8781
8967
  get make() {
8782
- const value = make4(this);
8968
+ const value = make5(this);
8783
8969
  Object.defineProperty(this, "make", {
8784
8970
  value,
8785
8971
  enumerable: true
@@ -8815,10 +9001,10 @@ var SchemaProto = {
8815
9001
  return this.rebuild(appendChecks(this.ast, checks));
8816
9002
  },
8817
9003
  rebuild(ast) {
8818
- return make5(ast, this[RebuildOptions]);
9004
+ return make6(ast, this[RebuildOptions]);
8819
9005
  }
8820
9006
  };
8821
- function make5(ast, options) {
9007
+ function make6(ast, options) {
8822
9008
  function Schema() {}
8823
9009
  const self = Object.setPrototypeOf(Schema, SchemaProto);
8824
9010
  if (options && (Object.hasOwn(options, "name") || Object.hasOwn(options, "length") || Object.hasOwn(options, "__proto__"))) {
@@ -8945,7 +9131,7 @@ var OPEN_API_30_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "$comment"
8945
9131
 
8946
9132
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/toCodec.js
8947
9133
  function toCodecJson2(schema) {
8948
- return make5(toCodecJsonAST(schema.ast), {
9134
+ return make6(toCodecJsonAST(schema.ast), {
8949
9135
  schema
8950
9136
  });
8951
9137
  }
@@ -9001,7 +9187,7 @@ function toCodecJsonASTStep(ast, recur) {
9001
9187
  if (!isFunction(getLink)) {
9002
9188
  return replaceEncoding(ast, [unknownToJson]);
9003
9189
  }
9004
- const typeParameters = ast.typeParameters.map((tp) => make5(toEncoded(tp)));
9190
+ const typeParameters = ast.typeParameters.map((tp) => make6(toEncoded(tp)));
9005
9191
  const link = getLink(typeParameters);
9006
9192
  return link === undefined ? ast : replaceEncoding(ast, [mapLink(link, recur)]);
9007
9193
  }
@@ -9036,7 +9222,7 @@ function toCodecJsonASTStep(ast, recur) {
9036
9222
  return ast;
9037
9223
  }
9038
9224
  function toCodecStringTree2(schema) {
9039
- return make5(toCodecStringTreeAST(schema.ast), {
9225
+ return make6(toCodecStringTreeAST(schema.ast), {
9040
9226
  schema
9041
9227
  });
9042
9228
  }
@@ -9056,7 +9242,7 @@ var toStringTreeReorder = /* @__PURE__ */ makeReorder((ast) => {
9056
9242
  function toCodecStringTreeASTStep(ast, recur, onMissingAnnotation) {
9057
9243
  switch (ast._tag) {
9058
9244
  case "Declaration": {
9059
- const typeParameters = ast.typeParameters.map((tp) => make5(recur(toEncoded(tp))));
9245
+ const typeParameters = ast.typeParameters.map((tp) => make6(recur(toEncoded(tp))));
9060
9246
  const getStringTreeLink = ast.annotations?.toCodecStringTree;
9061
9247
  if (isFunction(getStringTreeLink)) {
9062
9248
  const link = getStringTreeLink(typeParameters);
@@ -10250,7 +10436,7 @@ function recur(ast) {
10250
10436
  const rest = ast.rest.map(recur);
10251
10437
  const [head, ...tail] = rest;
10252
10438
  const tailLength = tail.length;
10253
- return make14((a, b) => {
10439
+ return make13((a, b) => {
10254
10440
  if (!Array.isArray(a) || !Array.isArray(b)) {
10255
10441
  return false;
10256
10442
  }
@@ -10285,7 +10471,7 @@ function recur(ast) {
10285
10471
  }
10286
10472
  const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
10287
10473
  const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
10288
- return make14((a, b) => {
10474
+ return make13((a, b) => {
10289
10475
  if (!isObject(a) || !isObject(b)) {
10290
10476
  return false;
10291
10477
  }
@@ -10323,7 +10509,7 @@ function recur(ast) {
10323
10509
  const types = toType2(ast).types;
10324
10510
  const index = getCandidateIndex(types);
10325
10511
  const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
10326
- return make14((a, b) => {
10512
+ return make13((a, b) => {
10327
10513
  const candidates = index(a, false);
10328
10514
  for (let i = 0;i < candidates.length; i++) {
10329
10515
  const [is, equivalence] = compiled[candidates[i]];
@@ -10336,7 +10522,7 @@ function recur(ast) {
10336
10522
  }
10337
10523
  case "Suspend": {
10338
10524
  let equivalence;
10339
- return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
10525
+ return make13((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
10340
10526
  }
10341
10527
  }
10342
10528
  }
@@ -10434,7 +10620,7 @@ function isSchemaError(u) {
10434
10620
  }
10435
10621
 
10436
10622
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
10437
- var TypeId12 = TypeId11;
10623
+ var TypeId13 = TypeId12;
10438
10624
  function declareConstructor() {
10439
10625
  return (typeParameters, run, annotations) => {
10440
10626
  return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
@@ -10545,9 +10731,9 @@ function encodeUnknownSync(schema, options) {
10545
10731
  };
10546
10732
  }
10547
10733
  var encodeSync = encodeUnknownSync;
10548
- var make17 = make5;
10734
+ var make17 = make6;
10549
10735
  function isSchema(u) {
10550
- return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
10736
+ return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
10551
10737
  }
10552
10738
  var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
10553
10739
  schema
@@ -11447,7 +11633,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
11447
11633
  }
11448
11634
  });
11449
11635
  }
11450
- static [TypeId12] = TypeId12;
11636
+ static [TypeId13] = TypeId13;
11451
11637
  get [ClassTypeId]() {
11452
11638
  return ClassTypeId;
11453
11639
  }
@@ -11741,4 +11927,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
11741
11927
  var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
11742
11928
  var storable = (value) => isString2(value) ? storableText(value) : Array.isArray(value) ? value.map(storable) : isJsonObject(value) ? Object.fromEntries(Object.entries(value).map(([key, field]) => [storableText(key), storable(field)])) : value;
11743
11929
 
11744
- export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make14, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make15, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty4, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, map8, asVoidAll, makeUnsafe5, make16, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, combine2, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map9, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, encode3, Pointer, makeFormatterStandardSchemaV1, passthrough, transform, transformEffect, encodeBase64Url, decodeBase64UrlString, Transformation, transform2, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map10, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, Tuple2, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, link, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, TaggedClass2, Error3, TaggedError2, toEquivalence, toJsonSchemaDocument, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };
11930
+ export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty4, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, map8, asVoidAll, makeUnsafe5, make15, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, combine2, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map9, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, toNumber, fromInputUnsafe2, bytes, encode2, decode, encode3, isRedacted, make16, value, Pointer, makeFormatterStandardSchemaV1, passthrough, transform, transformEffect, encodeBase64Url, decodeBase64UrlString, Transformation, transform2, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map10, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, Tuple2, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, link, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, TaggedClass2, Error3, TaggedError2, toEquivalence, toJsonSchemaDocument, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };
@@ -1,8 +1,4 @@
1
1
  // @bun
2
- import {
3
- FileSystem,
4
- Path
5
- } from "./chunk-63cyj9dh.js";
6
2
  import {
7
3
  isObject,
8
4
  isUint8Array,
@@ -17,13 +13,17 @@ import {
17
13
  isJsonObject,
18
14
  decodeJsonString,
19
15
  encodePrettyJsonString
20
- } from "./chunk-h2f26xbd.js";
16
+ } from "./chunk-y64ssczv.js";
17
+ import {
18
+ FileSystem,
19
+ Path
20
+ } from "./chunk-z59pvcbk.js";
21
21
  import {
22
22
  tomlTableHeader2,
23
23
  tomlKeyPath2,
24
24
  kitmanSkillEntry,
25
25
  isPathWithin2
26
- } from "./chunk-yaa3gkpx.js";
26
+ } from "./chunk-s4r49vbj.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-0mg7k9b4.js";
35
- import"./chunk-yr7np5eb.js";
36
- import"./chunk-gap0vmj7.js";
37
- import"./chunk-4qjfn1sa.js";
34
+ } from "./chunk-xxcxramy.js";
35
+ import"./chunk-vh2a72d1.js";
36
+ import"./chunk-9yvknsnj.js";
37
+ import"./chunk-r2kzvdrg.js";
38
38
 
39
39
  // packages/agent-runtime/src/kit-setup-sync.ts
40
40
  class KitSyncError extends TaggedError("KitSyncError") {