@kitman-sh/cli 0.10.56 → 0.10.58

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-bdxhb63t.js → chunk-4jbn6hma.js} +3 -3
  2. package/dist/{chunk-wbrv4705.js → chunk-59n1m39j.js} +7 -7
  3. package/dist/{chunk-7evwar6b.js → chunk-76y7v9rj.js} +1 -1
  4. package/dist/{chunk-4kssrezn.js → chunk-8y8ax1bt.js} +1 -1
  5. package/dist/{chunk-7kernadf.js → chunk-9rxwzn7y.js} +11 -11
  6. package/dist/{chunk-48dn3enn.js → chunk-ac19vqmc.js} +60 -60
  7. package/dist/{chunk-99ver3za.js → chunk-ac851090.js} +4 -4
  8. package/dist/{chunk-st9mym1j.js → chunk-ahtfwz4b.js} +2 -2
  9. package/dist/{chunk-hma82ban.js → chunk-bbsh3a70.js} +36 -36
  10. package/dist/{chunk-2t06f3vz.js → chunk-c6gyfqv4.js} +7 -7
  11. package/dist/{chunk-g53wn1q8.js → chunk-ec5df6ea.js} +2 -2
  12. package/dist/{chunk-2md3k83r.js → chunk-edf91eyv.js} +4 -4
  13. package/dist/{chunk-pvkwhesj.js → chunk-hegberew.js} +7 -7
  14. package/dist/{chunk-gwcqz1bj.js → chunk-jd8xhqgm.js} +1 -1
  15. package/dist/{chunk-emabyaj0.js → chunk-kvv9vzzr.js} +46 -186
  16. package/dist/{chunk-s97jvqxb.js → chunk-mfhmj6r6.js} +9 -9
  17. package/dist/{chunk-yfdktxzg.js → chunk-n1m89pnt.js} +5 -5
  18. package/dist/{chunk-61k67vxh.js → chunk-nk5h4cvx.js} +115 -73
  19. package/dist/{chunk-vn3x7bzf.js → chunk-qbyxcjy1.js} +11 -11
  20. package/dist/{chunk-w9kg1784.js → chunk-qkbnbr47.js} +21 -21
  21. package/dist/{chunk-jb9dcsfn.js → chunk-qmmer308.js} +345 -197
  22. package/dist/{chunk-kdyzndvx.js → chunk-tr80mjnp.js} +14 -60
  23. package/dist/{chunk-338c1c1x.js → chunk-zc214v7k.js} +8 -8
  24. package/dist/{chunk-zf3vq701.js → chunk-zxs37afg.js} +19 -19
  25. package/dist/index.js +4 -4
  26. 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 make12 = (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 make12((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 make12((self, that) => {
1352
1352
  if (self.length !== that.length)
1353
1353
  return false;
1354
1354
  for (let i = 0;i < self.length; i++) {
@@ -1565,7 +1565,7 @@ var ServiceProto = {
1565
1565
  .../* @__PURE__ */ Prototype({
1566
1566
  label: "Service",
1567
1567
  evaluate(fiber) {
1568
- return exitSucceed(get4(fiber.context, this));
1568
+ return exitSucceed(get3(fiber.context, this));
1569
1569
  }
1570
1570
  }),
1571
1571
  toJSON() {
@@ -1578,13 +1578,13 @@ var ServiceProto = {
1578
1578
  return self;
1579
1579
  },
1580
1580
  context(self) {
1581
- return make15(this, self);
1581
+ return make13(this, self);
1582
1582
  },
1583
1583
  use(f) {
1584
- return withFiber((fiber) => f(get4(fiber.context, this)));
1584
+ return withFiber((fiber) => f(get3(fiber.context, this)));
1585
1585
  },
1586
1586
  useSync(f) {
1587
- return withFiber((fiber) => exitSucceed(f(get4(fiber.context, this))));
1587
+ return withFiber((fiber) => exitSucceed(f(get3(fiber.context, this))));
1588
1588
  }
1589
1589
  };
1590
1590
  var cacheKeys = /* @__PURE__ */ new Set;
@@ -1682,7 +1682,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
1682
1682
  var isReference = (u) => !!u[ReferenceTypeId];
1683
1683
  var empty3 = () => emptyContext2;
1684
1684
  var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
1685
- var make15 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
1685
+ var make13 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
1686
1686
  var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
1687
1687
  var addUnsafe = (self, key, service) => {
1688
1688
  const impl = self;
@@ -1714,7 +1714,7 @@ var getUnsafe = /* @__PURE__ */ dual(2, (self, service) => {
1714
1714
  }
1715
1715
  return value;
1716
1716
  });
1717
- var get4 = getUnsafe;
1717
+ var get3 = getUnsafe;
1718
1718
  var defaultValueCacheKey = "~effect/Context/defaultValue";
1719
1719
  var getDefaultValue = (ref) => {
1720
1720
  if (defaultValueCacheKey in ref) {
@@ -2994,7 +2994,7 @@ class FiberImpl {
2994
2994
  return this._dispatcher ??= this.cache.scheduler.makeDispatcher();
2995
2995
  }
2996
2996
  getRef(ref) {
2997
- return get4(this.context, ref);
2997
+ return get3(this.context, ref);
2998
2998
  }
2999
2999
  addObserver(cb) {
3000
3000
  if (this._exit) {
@@ -3022,7 +3022,7 @@ class FiberImpl {
3022
3022
  }
3023
3023
  let cause = causeInterrupt(fiberId);
3024
3024
  if (this.cache.stackFrame) {
3025
- cause = causeAnnotate(cause, make15(StackTraceKey, this.cache.stackFrame));
3025
+ cause = causeAnnotate(cause, make13(StackTraceKey, this.cache.stackFrame));
3026
3026
  }
3027
3027
  if (annotations) {
3028
3028
  cause = causeAnnotate(cause, annotations);
@@ -3195,17 +3195,17 @@ class FiberImpl {
3195
3195
  var makeFiberContextCache = (context) => {
3196
3196
  const currentTracer = getOrUndefinedUnsafe(context, TracerKey);
3197
3197
  return {
3198
- scheduler: get4(context, Scheduler),
3198
+ scheduler: get3(context, Scheduler),
3199
3199
  tracer: currentTracer,
3200
3200
  tracerContext: currentTracer ? currentTracer["context"] : undefined,
3201
- tracerEnabled: get4(context, TracerEnabled),
3201
+ tracerEnabled: get3(context, TracerEnabled),
3202
3202
  span: getOrUndefinedUnsafe(context, ParentSpanKey),
3203
- logLevel: get4(context, CurrentLogLevel),
3204
- minimumLogLevel: get4(context, MinimumLogLevel),
3205
- stackFrame: get4(context, CurrentStackFrame),
3203
+ logLevel: get3(context, CurrentLogLevel),
3204
+ minimumLogLevel: get3(context, MinimumLogLevel),
3205
+ stackFrame: get3(context, CurrentStackFrame),
3206
3206
  runtimeMetrics: getOrUndefinedUnsafe(context, FiberRuntimeMetricsKey),
3207
- maxOpsBeforeYield: get4(context, MaxOpsBeforeYield),
3208
- preventYield: get4(context, PreventSchedulerYield)
3207
+ maxOpsBeforeYield: get3(context, MaxOpsBeforeYield),
3208
+ preventYield: get3(context, PreventSchedulerYield)
3209
3209
  };
3210
3210
  };
3211
3211
  var deferredInterruptCont = {
@@ -4702,10 +4702,10 @@ var noopSpan = (options) => Object.assign(Object.create(NoopSpanProto), options)
4702
4702
  var filterDisablePropagation = (span) => {
4703
4703
  if (!span)
4704
4704
  return none();
4705
- return get4(span.annotations, DisablePropagation) ? span._tag === "Span" ? filterDisablePropagation(getOrUndefined(span.parent)) : none() : some(span);
4705
+ return get3(span.annotations, DisablePropagation) ? span._tag === "Span" ? filterDisablePropagation(getOrUndefined(span.parent)) : none() : some(span);
4706
4706
  };
4707
4707
  var makeSpanUnsafe = (fiber, name, options) => {
4708
- const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations && get4(options.annotations, DisablePropagation);
4708
+ const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations && get3(options.annotations, DisablePropagation);
4709
4709
  const parent = options?.parent !== undefined ? some(options.parent) : options?.root ? none() : filterDisablePropagation(fiber.cache.span);
4710
4710
  let span;
4711
4711
  if (disablePropagation) {
@@ -5119,7 +5119,7 @@ var DeferredImpl = function() {
5119
5119
  };
5120
5120
  DeferredImpl.prototype = DeferredProto;
5121
5121
  var makeUnsafe5 = () => new DeferredImpl;
5122
- var make16 = () => sync(() => makeUnsafe5());
5122
+ var make14 = () => sync(() => makeUnsafe5());
5123
5123
  var _await = (self) => callback2((resume) => {
5124
5124
  if (self.effect)
5125
5125
  return resume(self.effect);
@@ -5267,9 +5267,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
5267
5267
  var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
5268
5268
  var succeed5 = function() {
5269
5269
  if (arguments.length === 1) {
5270
- return (resource) => succeedContext(make15(arguments[0], resource));
5270
+ return (resource) => succeedContext(make13(arguments[0], resource));
5271
5271
  }
5272
- return succeedContext(make15(arguments[0], arguments[1]));
5272
+ return succeedContext(make13(arguments[0], arguments[1]));
5273
5273
  };
5274
5274
  var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
5275
5275
  var effect = function() {
@@ -5278,7 +5278,7 @@ var effect = function() {
5278
5278
  }
5279
5279
  return effectImpl(arguments[0], arguments[1]);
5280
5280
  };
5281
- var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make15(service, value)));
5281
+ var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make13(service, value)));
5282
5282
  var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
5283
5283
  var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
5284
5284
  var mergeAllEffect = (layers, memoMap, scope) => {
@@ -5856,6 +5856,48 @@ var getCode = (charCode) => {
5856
5856
  return codes[charCode];
5857
5857
  };
5858
5858
 
5859
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
5860
+ var redactedRegistry = /* @__PURE__ */ new WeakMap;
5861
+ var value2 = (self) => {
5862
+ if (redactedRegistry.has(self)) {
5863
+ return redactedRegistry.get(self);
5864
+ } else {
5865
+ throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
5866
+ }
5867
+ };
5868
+
5869
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
5870
+ var TypeId8 = "~effect/Redacted";
5871
+ var isRedacted = (u) => hasProperty(u, TypeId8);
5872
+ var make15 = (value, options) => {
5873
+ const self = Object.create(Proto2);
5874
+ if (options?.label) {
5875
+ self.label = options.label;
5876
+ }
5877
+ redactedRegistry.set(self, value);
5878
+ return self;
5879
+ };
5880
+ var Proto2 = {
5881
+ [TypeId8]: {
5882
+ _A: (_) => _
5883
+ },
5884
+ label: undefined,
5885
+ ...PipeInspectableProto,
5886
+ toJSON() {
5887
+ return this.toString();
5888
+ },
5889
+ toString() {
5890
+ return `<redacted${isString2(this.label) ? ":" + this.label : ""}>`;
5891
+ },
5892
+ [symbol]() {
5893
+ return hash(redactedRegistry.get(this));
5894
+ },
5895
+ [symbol2](that) {
5896
+ return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
5897
+ }
5898
+ };
5899
+ var value = value2;
5900
+
5859
5901
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
5860
5902
  function resolve(ast) {
5861
5903
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -5879,16 +5921,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
5879
5921
  var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
5880
5922
 
5881
5923
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
5882
- var TypeId8 = "~effect/SchemaIssue/Issue";
5924
+ var TypeId9 = "~effect/SchemaIssue/Issue";
5883
5925
  function isIssue(u) {
5884
- return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
5926
+ return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
5885
5927
  }
5886
5928
  function hasInput(issue) {
5887
5929
  return Object.hasOwn(issue, "input");
5888
5930
  }
5889
5931
 
5890
5932
  class IssueNodeImpl {
5891
- [TypeId8] = TypeId8;
5933
+ [TypeId9] = TypeId9;
5892
5934
  constructor(input, options) {
5893
5935
  if (options?.reportInput === true && input !== missing) {
5894
5936
  this.input = input;
@@ -6262,9 +6304,9 @@ function setContent(operation, content) {
6262
6304
  }
6263
6305
 
6264
6306
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
6265
- var TypeId9 = "~effect/SchemaTransformation/Transformation";
6307
+ var TypeId10 = "~effect/SchemaTransformation/Transformation";
6266
6308
  var Transformation = class extends Class3 {
6267
- [TypeId9] = TypeId9;
6309
+ [TypeId10] = TypeId10;
6268
6310
  _tag = "Transformation";
6269
6311
  decode;
6270
6312
  encode;
@@ -6278,7 +6320,7 @@ var Transformation = class extends Class3 {
6278
6320
  }
6279
6321
  };
6280
6322
  function isTransformation(u) {
6281
- return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
6323
+ return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
6282
6324
  }
6283
6325
  var makeTransformation = (options) => {
6284
6326
  if (isTransformation(options)) {
@@ -6398,10 +6440,10 @@ var Context = class {
6398
6440
  this.annotations = annotations;
6399
6441
  }
6400
6442
  };
6401
- var TypeId10 = "~effect/Schema";
6443
+ var TypeId11 = "~effect/Schema";
6402
6444
 
6403
6445
  class ASTNodeImpl {
6404
- [TypeId10] = TypeId10;
6446
+ [TypeId11] = TypeId11;
6405
6447
  annotations;
6406
6448
  checks;
6407
6449
  encoding;
@@ -8616,10 +8658,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
8616
8658
  var constructorCompiler = (ast) => resolve2(ast).makeEffect;
8617
8659
 
8618
8660
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
8619
- var TypeId11 = "~effect/Schema/Schema";
8661
+ var TypeId12 = "~effect/Schema/Schema";
8620
8662
  var RebuildOptions = /* @__PURE__ */ Symbol();
8621
8663
  var SchemaProto = {
8622
- [TypeId11]: TypeId11,
8664
+ [TypeId12]: TypeId12,
8623
8665
  get make() {
8624
8666
  const value = make4(this);
8625
8667
  Object.defineProperty(this, "make", {
@@ -8880,7 +8922,7 @@ function recur(ast) {
8880
8922
  const rest = ast.rest.map(recur);
8881
8923
  const [head, ...tail] = rest;
8882
8924
  const tailLength = tail.length;
8883
- return make14((a, b) => {
8925
+ return make12((a, b) => {
8884
8926
  if (!Array.isArray(a) || !Array.isArray(b)) {
8885
8927
  return false;
8886
8928
  }
@@ -8915,7 +8957,7 @@ function recur(ast) {
8915
8957
  }
8916
8958
  const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
8917
8959
  const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
8918
- return make14((a, b) => {
8960
+ return make12((a, b) => {
8919
8961
  if (!isObject2(a) || !isObject2(b)) {
8920
8962
  return false;
8921
8963
  }
@@ -8953,7 +8995,7 @@ function recur(ast) {
8953
8995
  const types = toType2(ast).types;
8954
8996
  const index = getCandidateIndex(types);
8955
8997
  const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
8956
- return make14((a, b) => {
8998
+ return make12((a, b) => {
8957
8999
  const candidates = index(a, false);
8958
9000
  for (let i = 0;i < candidates.length; i++) {
8959
9001
  const [is, equivalence] = compiled[candidates[i]];
@@ -8966,7 +9008,7 @@ function recur(ast) {
8966
9008
  }
8967
9009
  case "Suspend": {
8968
9010
  let equivalence;
8969
- return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
9011
+ return make12((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
8970
9012
  }
8971
9013
  }
8972
9014
  }
@@ -9064,10 +9106,10 @@ function isSchemaError(u) {
9064
9106
  }
9065
9107
 
9066
9108
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
9067
- var TypeId12 = TypeId11;
9109
+ var TypeId13 = TypeId12;
9068
9110
  function declareConstructor() {
9069
9111
  return (typeParameters, run, annotations) => {
9070
- return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
9112
+ return make16(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make16(ast))), annotations));
9071
9113
  };
9072
9114
  }
9073
9115
  function declare(is, annotations) {
@@ -9175,27 +9217,27 @@ function encodeUnknownSync(schema, options) {
9175
9217
  };
9176
9218
  }
9177
9219
  var encodeSync = encodeUnknownSync;
9178
- var make17 = make5;
9220
+ var make16 = make5;
9179
9221
  function isSchema(u) {
9180
- return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
9222
+ return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
9181
9223
  }
9182
- var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
9224
+ var optionalKey = /* @__PURE__ */ lambda((schema) => make16(optionalKey2(schema.ast), {
9183
9225
  schema
9184
9226
  }));
9185
9227
  var optional = /* @__PURE__ */ lambda((self) => {
9186
9228
  const schema = UndefinedOr(self);
9187
- return make17(optional2(self.ast), {
9229
+ return make16(optional2(self.ast), {
9188
9230
  schema
9189
9231
  });
9190
9232
  });
9191
- var toType = /* @__PURE__ */ lambda((schema) => make17(toType2(schema.ast), {
9233
+ var toType = /* @__PURE__ */ lambda((schema) => make16(toType2(schema.ast), {
9192
9234
  schema
9193
9235
  }));
9194
- var toEncoded2 = /* @__PURE__ */ lambda((schema) => make17(toEncoded(schema.ast), {
9236
+ var toEncoded2 = /* @__PURE__ */ lambda((schema) => make16(toEncoded(schema.ast), {
9195
9237
  schema
9196
9238
  }));
9197
9239
  function Literal(literal) {
9198
- const out = make17(new Literal2(literal), {
9240
+ const out = make16(new Literal2(literal), {
9199
9241
  literal,
9200
9242
  transform(to) {
9201
9243
  return out.pipe(decodeTo2(Literal(to), {
@@ -9206,16 +9248,16 @@ function Literal(literal) {
9206
9248
  });
9207
9249
  return out;
9208
9250
  }
9209
- var Never = /* @__PURE__ */ make17(never3);
9210
- var Unknown = /* @__PURE__ */ make17(unknown);
9211
- var Null = /* @__PURE__ */ make17(null_);
9212
- var Undefined2 = /* @__PURE__ */ make17(undefined_3);
9213
- var String4 = /* @__PURE__ */ make17(string2);
9214
- var Number5 = /* @__PURE__ */ make17(number2);
9215
- var Boolean2 = /* @__PURE__ */ make17(boolean);
9216
- var Void = /* @__PURE__ */ make17(void_4);
9251
+ var Never = /* @__PURE__ */ make16(never3);
9252
+ var Unknown = /* @__PURE__ */ make16(unknown);
9253
+ var Null = /* @__PURE__ */ make16(null_);
9254
+ var Undefined2 = /* @__PURE__ */ make16(undefined_3);
9255
+ var String4 = /* @__PURE__ */ make16(string2);
9256
+ var Number5 = /* @__PURE__ */ make16(number2);
9257
+ var Boolean2 = /* @__PURE__ */ make16(boolean);
9258
+ var Void = /* @__PURE__ */ make16(void_4);
9217
9259
  function makeStruct(ast, fields) {
9218
- return make17(ast, {
9260
+ return make16(ast, {
9219
9261
  fields,
9220
9262
  mapFields(f, options) {
9221
9263
  const fields = f(this.fields);
@@ -9227,25 +9269,25 @@ function Struct(fields) {
9227
9269
  return makeStruct(struct(fields, undefined), fields);
9228
9270
  }
9229
9271
  function Record(key, value) {
9230
- return make17(record(key.ast, value.ast), {
9272
+ return make16(record(key.ast, value.ast), {
9231
9273
  key,
9232
9274
  value
9233
9275
  });
9234
9276
  }
9235
9277
  function StructWithRest(schema, records) {
9236
- return make17(structWithRest(schema.ast, records.map(getAST)), {
9278
+ return make16(structWithRest(schema.ast, records.map(getAST)), {
9237
9279
  schema,
9238
9280
  records
9239
9281
  });
9240
9282
  }
9241
- var ArraySchema = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [], [schema.ast]), {
9283
+ var ArraySchema = /* @__PURE__ */ lambda((schema) => make16(new Arrays(false, [], [schema.ast]), {
9242
9284
  value: schema
9243
9285
  }));
9244
- var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [schema.ast], [schema.ast]), {
9286
+ var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make16(new Arrays(false, [schema.ast], [schema.ast]), {
9245
9287
  value: schema
9246
9288
  }));
9247
9289
  function makeUnion(ast, members) {
9248
- return make17(ast, {
9290
+ return make16(ast, {
9249
9291
  members,
9250
9292
  mapMembers(f, options) {
9251
9293
  const members = f(this.members);
@@ -9258,7 +9300,7 @@ function Union(members, options) {
9258
9300
  }
9259
9301
  function Literals(literals) {
9260
9302
  const members = literals.map(Literal);
9261
- return make17(union(members, undefined, undefined), {
9303
+ return make16(union(members, undefined, undefined), {
9262
9304
  literals,
9263
9305
  members,
9264
9306
  mapMembers(f) {
@@ -9275,18 +9317,18 @@ function Literals(literals) {
9275
9317
  var NullOr = /* @__PURE__ */ lambda((self) => Union([self, Null]));
9276
9318
  var UndefinedOr = /* @__PURE__ */ lambda((self) => Union([self, Undefined2]));
9277
9319
  function suspend4(f) {
9278
- return make17(new Suspend(() => f().ast));
9320
+ return make16(new Suspend(() => f().ast));
9279
9321
  }
9280
9322
  function decodeTo2(to, transformation) {
9281
9323
  return (from) => {
9282
- return make17(decodeTo(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
9324
+ return make16(decodeTo(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
9283
9325
  from,
9284
9326
  to
9285
9327
  });
9286
9328
  };
9287
9329
  }
9288
9330
  function withConstructorDefault2(defaultValue) {
9289
- return (schema) => make17(withConstructorDefault(schema.ast, defaultValue), {
9331
+ return (schema) => make16(withConstructorDefault(schema.ast, defaultValue), {
9290
9332
  schema
9291
9333
  });
9292
9334
  }
@@ -9362,7 +9404,7 @@ function isBase64(annotations) {
9362
9404
  ...annotations
9363
9405
  });
9364
9406
  }
9365
- var Finite = /* @__PURE__ */ make17(finite);
9407
+ var Finite = /* @__PURE__ */ make16(finite);
9366
9408
  function makeIsGreaterThanOrEqualTo(options) {
9367
9409
  const gte = isGreaterThanOrEqualTo2(options.order);
9368
9410
  const formatter = options.formatter ?? format;
@@ -9848,7 +9890,7 @@ function CauseReason(error, defect) {
9848
9890
  }
9849
9891
  }))
9850
9892
  });
9851
- return make17(schema.ast, {
9893
+ return make16(schema.ast, {
9852
9894
  error,
9853
9895
  defect
9854
9896
  });
@@ -9885,7 +9927,7 @@ function Cause(error, defect) {
9885
9927
  }) => failures
9886
9928
  }))
9887
9929
  });
9888
- return make17(schema.ast, {
9930
+ return make16(schema.ast, {
9889
9931
  error,
9890
9932
  defect
9891
9933
  });
@@ -9946,7 +9988,7 @@ function Exit(value, error, defect) {
9946
9988
  }
9947
9989
  }))
9948
9990
  });
9949
- return make17(schema.ast, {
9991
+ return make16(schema.ast, {
9950
9992
  value,
9951
9993
  error,
9952
9994
  defect
@@ -9971,7 +10013,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
9971
10013
  }
9972
10014
  });
9973
10015
  }
9974
- static [TypeId12] = TypeId12;
10016
+ static [TypeId13] = TypeId13;
9975
10017
  get [ClassTypeId]() {
9976
10018
  return ClassTypeId;
9977
10019
  }
@@ -10050,7 +10092,7 @@ function getClassSchemaFactory(from, identifier, annotations) {
10050
10092
  const ClassTypeId = getClassTypeId(identifier);
10051
10093
  const isClassValue = (input) => input instanceof self || hasProperty(input, ClassTypeId);
10052
10094
  const transformation = getClassTransformation(self);
10053
- const to = make17(new Declaration([from.ast], () => (input, ast, options) => {
10095
+ const to = make16(new Declaration([from.ast], () => (input, ast, options) => {
10054
10096
  return isClassValue(input) ? succeed6(input) : fail7(new InvalidType(ast, input, options));
10055
10097
  }, {
10056
10098
  identifier,
@@ -10103,7 +10145,7 @@ function toEquivalence(schema) {
10103
10145
  }
10104
10146
  var toCodecJson = toCodecJson2;
10105
10147
  var toCodecStringTree = toCodecStringTree2;
10106
- var Json = /* @__PURE__ */ make17(/* @__PURE__ */ annotate(Json2, {
10148
+ var Json = /* @__PURE__ */ make16(/* @__PURE__ */ annotate(Json2, {
10107
10149
  toCode: () => ({
10108
10150
  runtime: "Schema.Json",
10109
10151
  Type: "Schema.Json"
@@ -10120,4 +10162,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
10120
10162
  var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
10121
10163
  var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
10122
10164
 
10123
- export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString2, isNumber2, isBoolean2, isBigInt2, isSymbol2, isFunction2, isUndefined2, isNotUndefined, isNotNull, isNullish, isObjectOrArray, isObject2, 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, Service2, makeUnsafe4, empty3, make15, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, 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, 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, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, 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, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceFirst, filter2, 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, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, Pointer, makeFormatterStandardSchemaV1, passthrough, transformEffect, Transformation, transform, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map9, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeEffect, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync };
10165
+ export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString2, isNumber2, isBoolean2, isBigInt2, isSymbol2, isFunction2, isUndefined2, isNotUndefined, isNotNull, isNullish, isObjectOrArray, isObject2, 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, make12, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, Service2, makeUnsafe4, empty3, make13, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get3, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, 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, asVoidAll, makeUnsafe5, make14, _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, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, 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, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceFirst, filter2, 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, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, isRedacted, make15, value, Pointer, makeFormatterStandardSchemaV1, passthrough, transformEffect, Transformation, transform, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map9, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeEffect, make16, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync };
@@ -1,4 +1,9 @@
1
1
  // @bun
2
+ import {
3
+ make9,
4
+ runForEach,
5
+ compiled2
6
+ } from "./chunk-kvv9vzzr.js";
2
7
  import {
3
8
  getOrUndefined,
4
9
  liftThrowable,
@@ -22,21 +27,16 @@ import {
22
27
  NullOr,
23
28
  Finite,
24
29
  encodeUnknownJsonStringSync
25
- } from "./chunk-61k67vxh.js";
30
+ } from "./chunk-nk5h4cvx.js";
26
31
  import {
27
32
  isNumber,
28
33
  isJsonObject,
29
34
  isString
30
- } from "./chunk-7evwar6b.js";
31
- import {
32
- make11,
33
- runForEach,
34
- compiled2
35
- } from "./chunk-emabyaj0.js";
35
+ } from "./chunk-76y7v9rj.js";
36
36
  import {
37
37
  ChildProcessSpawner,
38
- make3
39
- } from "./chunk-kdyzndvx.js";
38
+ make2
39
+ } from "./chunk-tr80mjnp.js";
40
40
 
41
41
  // packages/agent-runtime/src/opencode-store.ts
42
42
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -164,8 +164,8 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
164
164
  var isolatedRead = (store, name, input) => gen(function* () {
165
165
  const spawner = yield* ChildProcessSpawner;
166
166
  const [command, ...args] = opencodeReaderCommand();
167
- const handle = yield* spawner.spawn(make3(command, args, {
168
- stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
167
+ const handle = yield* spawner.spawn(make2(command, args, {
168
+ stdin: make9(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
169
169
  stderr: "ignore",
170
170
  extendEnv: false,
171
171
  env: {},