@kitman-sh/cli 0.32.0 → 0.34.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-nb6h112w.js → chunk-0m8ktgmz.js} +360 -187
  2. package/dist/{chunk-awx0zevr.js → chunk-2a40hhfz.js} +4 -4
  3. package/dist/{chunk-ah59jrtr.js → chunk-2gz59jcx.js} +1 -1
  4. package/dist/{chunk-z0gqrc8c.js → chunk-337drcr7.js} +35 -184
  5. package/dist/{chunk-r3mjxsmn.js → chunk-3jxdtkwd.js} +20 -20
  6. package/dist/{chunk-q8e58p57.js → chunk-6387vj9z.js} +2 -2
  7. package/dist/{chunk-4qrb09w4.js → chunk-6hxtg6eb.js} +3 -3
  8. package/dist/{chunk-rnm5ybw4.js → chunk-89ygm64f.js} +4 -4
  9. package/dist/{chunk-4tzzmrz2.js → chunk-8p5csa63.js} +64 -64
  10. package/dist/{chunk-5hp8ams4.js → chunk-9da9b7ys.js} +19 -19
  11. package/dist/{chunk-6e6t0f8y.js → chunk-a230abnk.js} +2 -2
  12. package/dist/{chunk-af8kftyw.js → chunk-d64j8v9n.js} +7 -7
  13. package/dist/{chunk-x4d4t28n.js → chunk-djzfaqaq.js} +352 -29
  14. package/dist/{chunk-61dmxexa.js → chunk-ew07nt2d.js} +60 -102
  15. package/dist/{chunk-c8eg05nh.js → chunk-fr0qseam.js} +4 -4
  16. package/dist/{chunk-56gs4z53.js → chunk-g5b61tek.js} +5 -5
  17. package/dist/{chunk-er0e8d8v.js → chunk-gy7nygep.js} +60 -14
  18. package/dist/{chunk-1hgsf81a.js → chunk-haq904fk.js} +1 -1
  19. package/dist/{chunk-qqb6djs7.js → chunk-hwjp28rh.js} +2 -2
  20. package/dist/{chunk-acmyagwp.js → chunk-phx3zffc.js} +8 -8
  21. package/dist/{chunk-rbpn35g5.js → chunk-qvpkwnky.js} +1 -1
  22. package/dist/{chunk-3cneth9k.js → chunk-r90j80q5.js} +9 -9
  23. package/dist/{chunk-abyssa8p.js → chunk-swc0ctf2.js} +3 -3
  24. package/dist/{chunk-a0bjjbhg.js → chunk-w8hf2etp.js} +81 -49
  25. package/dist/{chunk-1an3xh3b.js → chunk-wkbsbxp8.js} +6 -6
  26. package/dist/{chunk-znhjs0t6.js → chunk-y7bth30s.js} +1 -1
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -1567,7 +1567,7 @@ var ServiceProto = {
1567
1567
  .../* @__PURE__ */ Prototype({
1568
1568
  label: "Service",
1569
1569
  evaluate(fiber) {
1570
- return exitSucceed(get4(fiber.context, this));
1570
+ return exitSucceed(get3(fiber.context, this));
1571
1571
  }
1572
1572
  }),
1573
1573
  toJSON() {
@@ -1583,10 +1583,10 @@ var ServiceProto = {
1583
1583
  return make14(this, self);
1584
1584
  },
1585
1585
  use(f) {
1586
- return withFiber((fiber) => f(get4(fiber.context, this)));
1586
+ return withFiber((fiber) => f(get3(fiber.context, this)));
1587
1587
  },
1588
1588
  useSync(f) {
1589
- return withFiber((fiber) => exitSucceed(f(get4(fiber.context, this))));
1589
+ return withFiber((fiber) => exitSucceed(f(get3(fiber.context, this))));
1590
1590
  }
1591
1591
  };
1592
1592
  var cacheKeys = /* @__PURE__ */ new Set;
@@ -1716,7 +1716,7 @@ var getUnsafe = /* @__PURE__ */ dual(2, (self, service) => {
1716
1716
  }
1717
1717
  return value;
1718
1718
  });
1719
- var get4 = getUnsafe;
1719
+ var get3 = getUnsafe;
1720
1720
  var defaultValueCacheKey = "~effect/Context/defaultValue";
1721
1721
  var getDefaultValue = (ref) => {
1722
1722
  if (defaultValueCacheKey in ref) {
@@ -3047,7 +3047,7 @@ class FiberImpl {
3047
3047
  return this._dispatcher ??= this.cache.scheduler.makeDispatcher();
3048
3048
  }
3049
3049
  getRef(ref) {
3050
- return get4(this.context, ref);
3050
+ return get3(this.context, ref);
3051
3051
  }
3052
3052
  addObserver(cb) {
3053
3053
  if (this._exit) {
@@ -3248,17 +3248,17 @@ class FiberImpl {
3248
3248
  var makeFiberContextCache = (context) => {
3249
3249
  const currentTracer = getOrUndefinedUnsafe(context, TracerKey);
3250
3250
  return {
3251
- scheduler: get4(context, Scheduler),
3251
+ scheduler: get3(context, Scheduler),
3252
3252
  tracer: currentTracer,
3253
3253
  tracerContext: currentTracer ? currentTracer["context"] : undefined,
3254
- tracerEnabled: get4(context, TracerEnabled),
3254
+ tracerEnabled: get3(context, TracerEnabled),
3255
3255
  span: getOrUndefinedUnsafe(context, ParentSpanKey),
3256
- logLevel: get4(context, CurrentLogLevel),
3257
- minimumLogLevel: get4(context, MinimumLogLevel),
3258
- stackFrame: get4(context, CurrentStackFrame),
3256
+ logLevel: get3(context, CurrentLogLevel),
3257
+ minimumLogLevel: get3(context, MinimumLogLevel),
3258
+ stackFrame: get3(context, CurrentStackFrame),
3259
3259
  runtimeMetrics: getOrUndefinedUnsafe(context, FiberRuntimeMetricsKey),
3260
- maxOpsBeforeYield: get4(context, MaxOpsBeforeYield),
3261
- preventYield: get4(context, PreventSchedulerYield)
3260
+ maxOpsBeforeYield: get3(context, MaxOpsBeforeYield),
3261
+ preventYield: get3(context, PreventSchedulerYield)
3262
3262
  };
3263
3263
  };
3264
3264
  var deferredInterruptCont = {
@@ -4765,10 +4765,10 @@ var noopSpan = (options) => Object.assign(Object.create(NoopSpanProto), options)
4765
4765
  var filterDisablePropagation = (span) => {
4766
4766
  if (!span)
4767
4767
  return none();
4768
- return get4(span.annotations, DisablePropagation) ? span._tag === "Span" ? filterDisablePropagation(getOrUndefined(span.parent)) : none() : some(span);
4768
+ return get3(span.annotations, DisablePropagation) ? span._tag === "Span" ? filterDisablePropagation(getOrUndefined(span.parent)) : none() : some(span);
4769
4769
  };
4770
4770
  var makeSpanUnsafe = (fiber, name, options) => {
4771
- const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations && get4(options.annotations, DisablePropagation);
4771
+ const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations && get3(options.annotations, DisablePropagation);
4772
4772
  const parent = options?.parent !== undefined ? some(options.parent) : options?.root ? none() : filterDisablePropagation(fiber.cache.span);
4773
4773
  let span;
4774
4774
  if (disablePropagation) {
@@ -5985,48 +5985,6 @@ for (let i = 0;i < alphabet2.length; i++)
5985
5985
  var decodeString = (str) => map5(decode2(str), (_) => decoder2.decode(_));
5986
5986
  var decoder2 = /* @__PURE__ */ new TextDecoder;
5987
5987
 
5988
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
5989
- var redactedRegistry = /* @__PURE__ */ new WeakMap;
5990
- var value2 = (self) => {
5991
- if (redactedRegistry.has(self)) {
5992
- return redactedRegistry.get(self);
5993
- } else {
5994
- throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
5995
- }
5996
- };
5997
-
5998
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
5999
- var TypeId8 = "~effect/Redacted";
6000
- var isRedacted = (u) => hasProperty(u, TypeId8);
6001
- var make16 = (value, options) => {
6002
- const self = Object.create(Proto2);
6003
- if (options?.label) {
6004
- self.label = options.label;
6005
- }
6006
- redactedRegistry.set(self, value);
6007
- return self;
6008
- };
6009
- var Proto2 = {
6010
- [TypeId8]: {
6011
- _A: (_) => _
6012
- },
6013
- label: undefined,
6014
- ...PipeInspectableProto,
6015
- toJSON() {
6016
- return this.toString();
6017
- },
6018
- toString() {
6019
- return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
6020
- },
6021
- [symbol]() {
6022
- return hash(redactedRegistry.get(this));
6023
- },
6024
- [symbol2](that) {
6025
- return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
6026
- }
6027
- };
6028
- var value = value2;
6029
-
6030
5988
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
6031
5989
  function resolve(ast) {
6032
5990
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -6058,16 +6016,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
6058
6016
  var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
6059
6017
 
6060
6018
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
6061
- var TypeId9 = "~effect/SchemaIssue/Issue";
6019
+ var TypeId8 = "~effect/SchemaIssue/Issue";
6062
6020
  function isIssue(u) {
6063
- return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
6021
+ return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
6064
6022
  }
6065
6023
  function hasInput(issue) {
6066
6024
  return Object.hasOwn(issue, "input");
6067
6025
  }
6068
6026
 
6069
6027
  class IssueNodeImpl {
6070
- [TypeId9] = TypeId9;
6028
+ [TypeId8] = TypeId8;
6071
6029
  constructor(input, options) {
6072
6030
  if (options?.reportInput === true && input !== missing) {
6073
6031
  this.input = input;
@@ -6455,9 +6413,9 @@ function getContent(operation) {
6455
6413
  }
6456
6414
 
6457
6415
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
6458
- var TypeId10 = "~effect/SchemaTransformation/Transformation";
6416
+ var TypeId9 = "~effect/SchemaTransformation/Transformation";
6459
6417
  var Transformation = class extends Class3 {
6460
- [TypeId10] = TypeId10;
6418
+ [TypeId9] = TypeId9;
6461
6419
  _tag = "Transformation";
6462
6420
  decode;
6463
6421
  encode;
@@ -6471,7 +6429,7 @@ var Transformation = class extends Class3 {
6471
6429
  }
6472
6430
  };
6473
6431
  function isTransformation(u) {
6474
- return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
6432
+ return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
6475
6433
  }
6476
6434
  var makeTransformation = (options) => {
6477
6435
  if (isTransformation(options)) {
@@ -6591,10 +6549,10 @@ var Context = class {
6591
6549
  this.annotations = annotations;
6592
6550
  }
6593
6551
  };
6594
- var TypeId11 = "~effect/Schema";
6552
+ var TypeId10 = "~effect/Schema";
6595
6553
 
6596
6554
  class ASTNodeImpl {
6597
- [TypeId11] = TypeId11;
6555
+ [TypeId10] = TypeId10;
6598
6556
  annotations;
6599
6557
  checks;
6600
6558
  encoding;
@@ -8816,10 +8774,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
8816
8774
  var constructorCompiler = (ast) => resolve2(ast).makeEffect;
8817
8775
 
8818
8776
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
8819
- var TypeId12 = "~effect/Schema/Schema";
8777
+ var TypeId11 = "~effect/Schema/Schema";
8820
8778
  var RebuildOptions = /* @__PURE__ */ Symbol();
8821
8779
  var SchemaProto = {
8822
- [TypeId12]: TypeId12,
8780
+ [TypeId11]: TypeId11,
8823
8781
  get make() {
8824
8782
  const value = make4(this);
8825
8783
  Object.defineProperty(this, "make", {
@@ -10476,10 +10434,10 @@ function isSchemaError(u) {
10476
10434
  }
10477
10435
 
10478
10436
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
10479
- var TypeId13 = TypeId12;
10437
+ var TypeId12 = TypeId11;
10480
10438
  function declareConstructor() {
10481
10439
  return (typeParameters, run, annotations) => {
10482
- return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
10440
+ return make16(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make16(ast))), annotations));
10483
10441
  };
10484
10442
  }
10485
10443
  function declare(is, annotations) {
@@ -10587,27 +10545,27 @@ function encodeUnknownSync(schema, options) {
10587
10545
  };
10588
10546
  }
10589
10547
  var encodeSync = encodeUnknownSync;
10590
- var make17 = make5;
10548
+ var make16 = make5;
10591
10549
  function isSchema(u) {
10592
- return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
10550
+ return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
10593
10551
  }
10594
- var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
10552
+ var optionalKey = /* @__PURE__ */ lambda((schema) => make16(optionalKey2(schema.ast), {
10595
10553
  schema
10596
10554
  }));
10597
10555
  var optional = /* @__PURE__ */ lambda((self) => {
10598
10556
  const schema = UndefinedOr(self);
10599
- return make17(optional2(self.ast), {
10557
+ return make16(optional2(self.ast), {
10600
10558
  schema
10601
10559
  });
10602
10560
  });
10603
- var toType = /* @__PURE__ */ lambda((schema) => make17(toType2(schema.ast), {
10561
+ var toType = /* @__PURE__ */ lambda((schema) => make16(toType2(schema.ast), {
10604
10562
  schema
10605
10563
  }));
10606
- var toEncoded2 = /* @__PURE__ */ lambda((schema) => make17(toEncoded(schema.ast), {
10564
+ var toEncoded2 = /* @__PURE__ */ lambda((schema) => make16(toEncoded(schema.ast), {
10607
10565
  schema
10608
10566
  }));
10609
10567
  function Literal(literal) {
10610
- const out = make17(new Literal2(literal), {
10568
+ const out = make16(new Literal2(literal), {
10611
10569
  literal,
10612
10570
  transform(to) {
10613
10571
  return out.pipe(decodeTo2(Literal(to), {
@@ -10618,16 +10576,16 @@ function Literal(literal) {
10618
10576
  });
10619
10577
  return out;
10620
10578
  }
10621
- var Never = /* @__PURE__ */ make17(never3);
10622
- var Unknown = /* @__PURE__ */ make17(unknown);
10623
- var Null = /* @__PURE__ */ make17(null_);
10624
- var Undefined2 = /* @__PURE__ */ make17(undefined_3);
10625
- var String4 = /* @__PURE__ */ make17(string2);
10626
- var Number5 = /* @__PURE__ */ make17(number2);
10627
- var Boolean2 = /* @__PURE__ */ make17(boolean);
10628
- var Void = /* @__PURE__ */ make17(void_4);
10579
+ var Never = /* @__PURE__ */ make16(never3);
10580
+ var Unknown = /* @__PURE__ */ make16(unknown);
10581
+ var Null = /* @__PURE__ */ make16(null_);
10582
+ var Undefined2 = /* @__PURE__ */ make16(undefined_3);
10583
+ var String4 = /* @__PURE__ */ make16(string2);
10584
+ var Number5 = /* @__PURE__ */ make16(number2);
10585
+ var Boolean2 = /* @__PURE__ */ make16(boolean);
10586
+ var Void = /* @__PURE__ */ make16(void_4);
10629
10587
  function makeStruct(ast, fields) {
10630
- return make17(ast, {
10588
+ return make16(ast, {
10631
10589
  fields,
10632
10590
  mapFields(f, options) {
10633
10591
  const fields = f(this.fields);
@@ -10639,19 +10597,19 @@ function Struct(fields) {
10639
10597
  return makeStruct(struct(fields, undefined), fields);
10640
10598
  }
10641
10599
  function Record(key, value) {
10642
- return make17(record(key.ast, value.ast), {
10600
+ return make16(record(key.ast, value.ast), {
10643
10601
  key,
10644
10602
  value
10645
10603
  });
10646
10604
  }
10647
10605
  function StructWithRest(schema, records) {
10648
- return make17(structWithRest(schema.ast, records.map(getAST)), {
10606
+ return make16(structWithRest(schema.ast, records.map(getAST)), {
10649
10607
  schema,
10650
10608
  records
10651
10609
  });
10652
10610
  }
10653
10611
  function makeTuple(ast, elements) {
10654
- return make17(ast, {
10612
+ return make16(ast, {
10655
10613
  elements,
10656
10614
  mapElements(f, options) {
10657
10615
  const elements = f(this.elements);
@@ -10662,14 +10620,14 @@ function makeTuple(ast, elements) {
10662
10620
  function Tuple2(elements) {
10663
10621
  return makeTuple(tuple(elements), elements);
10664
10622
  }
10665
- var ArraySchema = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [], [schema.ast]), {
10623
+ var ArraySchema = /* @__PURE__ */ lambda((schema) => make16(new Arrays(false, [], [schema.ast]), {
10666
10624
  value: schema
10667
10625
  }));
10668
- var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [schema.ast], [schema.ast]), {
10626
+ var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make16(new Arrays(false, [schema.ast], [schema.ast]), {
10669
10627
  value: schema
10670
10628
  }));
10671
10629
  function makeUnion(ast, members) {
10672
- return make17(ast, {
10630
+ return make16(ast, {
10673
10631
  members,
10674
10632
  mapMembers(f, options) {
10675
10633
  const members = f(this.members);
@@ -10682,7 +10640,7 @@ function Union(members, options) {
10682
10640
  }
10683
10641
  function Literals(literals) {
10684
10642
  const members = literals.map(Literal);
10685
- return make17(union(members, undefined, undefined), {
10643
+ return make16(union(members, undefined, undefined), {
10686
10644
  literals,
10687
10645
  members,
10688
10646
  mapMembers(f) {
@@ -10699,18 +10657,18 @@ function Literals(literals) {
10699
10657
  var NullOr = /* @__PURE__ */ lambda((self) => Union([self, Null]));
10700
10658
  var UndefinedOr = /* @__PURE__ */ lambda((self) => Union([self, Undefined2]));
10701
10659
  function suspend4(f) {
10702
- return make17(new Suspend(() => f().ast));
10660
+ return make16(new Suspend(() => f().ast));
10703
10661
  }
10704
10662
  function decodeTo2(to, transformation) {
10705
10663
  return (from) => {
10706
- return make17(decodeTo(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
10664
+ return make16(decodeTo(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
10707
10665
  from,
10708
10666
  to
10709
10667
  });
10710
10668
  };
10711
10669
  }
10712
10670
  function withConstructorDefault2(defaultValue) {
10713
- return (schema) => make17(withConstructorDefault(schema.ast, defaultValue), {
10671
+ return (schema) => make16(withConstructorDefault(schema.ast, defaultValue), {
10714
10672
  schema
10715
10673
  });
10716
10674
  }
@@ -10786,7 +10744,7 @@ function isBase64(annotations) {
10786
10744
  ...annotations
10787
10745
  });
10788
10746
  }
10789
- var Finite = /* @__PURE__ */ make17(finite);
10747
+ var Finite = /* @__PURE__ */ make16(finite);
10790
10748
  function makeIsGreaterThan(options) {
10791
10749
  const gt = isGreaterThan2(options.order);
10792
10750
  const formatter = options.formatter ?? format;
@@ -11366,7 +11324,7 @@ function CauseReason(error, defect) {
11366
11324
  }
11367
11325
  }))
11368
11326
  });
11369
- return make17(schema.ast, {
11327
+ return make16(schema.ast, {
11370
11328
  error,
11371
11329
  defect
11372
11330
  });
@@ -11403,7 +11361,7 @@ function Cause(error, defect) {
11403
11361
  }) => failures
11404
11362
  }))
11405
11363
  });
11406
- return make17(schema.ast, {
11364
+ return make16(schema.ast, {
11407
11365
  error,
11408
11366
  defect
11409
11367
  });
@@ -11464,7 +11422,7 @@ function Exit(value, error, defect) {
11464
11422
  }
11465
11423
  }))
11466
11424
  });
11467
- return make17(schema.ast, {
11425
+ return make16(schema.ast, {
11468
11426
  value,
11469
11427
  error,
11470
11428
  defect
@@ -11489,7 +11447,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
11489
11447
  }
11490
11448
  });
11491
11449
  }
11492
- static [TypeId13] = TypeId13;
11450
+ static [TypeId12] = TypeId12;
11493
11451
  get [ClassTypeId]() {
11494
11452
  return ClassTypeId;
11495
11453
  }
@@ -11568,7 +11526,7 @@ function getClassSchemaFactory(from, identifier, annotations) {
11568
11526
  const ClassTypeId = getClassTypeId(identifier);
11569
11527
  const isClassValue = (input) => input instanceof self || hasProperty(input, ClassTypeId);
11570
11528
  const transformation = getClassTransformation(self);
11571
- const to = make17(new Declaration([from.ast], () => (input, ast, options) => {
11529
+ const to = make16(new Declaration([from.ast], () => (input, ast, options) => {
11572
11530
  return isClassValue(input) ? succeed6(input) : fail7(new InvalidType(ast, input, options));
11573
11531
  }, {
11574
11532
  identifier,
@@ -11636,7 +11594,7 @@ function toJsonSchemaDocument(schema, options) {
11636
11594
  }
11637
11595
  var toCodecJson = toCodecJson2;
11638
11596
  var toCodecStringTree = toCodecStringTree2;
11639
- var Json = /* @__PURE__ */ make17(/* @__PURE__ */ annotate(Json2, {
11597
+ var Json = /* @__PURE__ */ make16(/* @__PURE__ */ annotate(Json2, {
11640
11598
  toCode: () => ({
11641
11599
  runtime: "Schema.Json",
11642
11600
  Type: "Schema.Json"
@@ -11783,4 +11741,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
11783
11741
  var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
11784
11742
  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;
11785
11743
 
11786
- 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, 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 };
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, 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, get3, 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, 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, make16, 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 };
@@ -9,10 +9,10 @@ import {
9
9
  readOpencode2,
10
10
  databaseStamp2,
11
11
  runOpencodeReader2
12
- } from "./chunk-56gs4z53.js";
13
- import"./chunk-er0e8d8v.js";
14
- import"./chunk-z0gqrc8c.js";
15
- import"./chunk-61dmxexa.js";
12
+ } from "./chunk-g5b61tek.js";
13
+ import"./chunk-gy7nygep.js";
14
+ import"./chunk-337drcr7.js";
15
+ import"./chunk-ew07nt2d.js";
16
16
  export {
17
17
  databaseStamp2 as databaseStamp,
18
18
  decoded2 as decoded,
@@ -35,7 +35,7 @@ import {
35
35
  isJsonObject,
36
36
  isString2,
37
37
  encodeUnknownJsonStringSync
38
- } from "./chunk-61dmxexa.js";
38
+ } from "./chunk-ew07nt2d.js";
39
39
  import {
40
40
  currentTimeMillis,
41
41
  make10,
@@ -43,11 +43,11 @@ import {
43
43
  toPull,
44
44
  FileSystem,
45
45
  compiled2
46
- } from "./chunk-z0gqrc8c.js";
46
+ } from "./chunk-337drcr7.js";
47
47
  import {
48
48
  ChildProcessSpawner,
49
- make2
50
- } from "./chunk-er0e8d8v.js";
49
+ make3
50
+ } from "./chunk-gy7nygep.js";
51
51
 
52
52
  // packages/agent-runtime/src/opencode-store.ts
53
53
  import { lstatSync, readFileSync, realpathSync, writeSync } from "fs";
@@ -265,7 +265,7 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
265
265
  var spawnReader = (request) => gen(function* () {
266
266
  const spawner = yield* ChildProcessSpawner;
267
267
  const [command, ...args] = opencodeReaderCommand();
268
- return yield* spawner.spawn(make2(command, args, {
268
+ return yield* spawner.spawn(make3(command, args, {
269
269
  stdin: make10(new TextEncoder().encode(request)),
270
270
  stderr: "ignore",
271
271
  extendEnv: false,
@@ -1,6 +1,13 @@
1
1
  // @bun
2
2
  import {
3
+ isString,
4
+ hasProperty,
5
+ symbol,
6
+ hash,
7
+ symbol2,
8
+ equals,
3
9
  BaseProto,
10
+ PipeInspectableProto,
4
11
  Prototype,
5
12
  some,
6
13
  Service2,
@@ -14,11 +21,8 @@ import {
14
21
  andThen2,
15
22
  map9,
16
23
  raceFirst,
17
- scoped,
18
- isRedacted,
19
- make16,
20
- value
21
- } from "./chunk-61dmxexa.js";
24
+ scoped
25
+ } from "./chunk-ew07nt2d.js";
22
26
  import {
23
27
  unwrap,
24
28
  drainFork,
@@ -27,7 +31,49 @@ import {
27
31
  runCollect,
28
32
  runDrain,
29
33
  mkString
30
- } from "./chunk-z0gqrc8c.js";
34
+ } from "./chunk-337drcr7.js";
35
+
36
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
37
+ var redactedRegistry = /* @__PURE__ */ new WeakMap;
38
+ var value2 = (self) => {
39
+ if (redactedRegistry.has(self)) {
40
+ return redactedRegistry.get(self);
41
+ } else {
42
+ throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
43
+ }
44
+ };
45
+
46
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
47
+ var TypeId = "~effect/Redacted";
48
+ var isRedacted = (u) => hasProperty(u, TypeId);
49
+ var make = (value, options) => {
50
+ const self = Object.create(Proto);
51
+ if (options?.label) {
52
+ self.label = options.label;
53
+ }
54
+ redactedRegistry.set(self, value);
55
+ return self;
56
+ };
57
+ var Proto = {
58
+ [TypeId]: {
59
+ _A: (_) => _
60
+ },
61
+ label: undefined,
62
+ ...PipeInspectableProto,
63
+ toJSON() {
64
+ return this.toString();
65
+ },
66
+ toString() {
67
+ return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
68
+ },
69
+ [symbol]() {
70
+ return hash(redactedRegistry.get(this));
71
+ },
72
+ [symbol2](that) {
73
+ return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
74
+ }
75
+ };
76
+ var value = value2;
31
77
 
32
78
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
33
79
  function nominal() {
@@ -55,7 +101,7 @@ var HandleProto = {
55
101
  var makeHandle = (params) => Object.setPrototypeOf({
56
102
  ...params
57
103
  }, HandleProto);
58
- var make = (spawn) => {
104
+ var make2 = (spawn) => {
59
105
  const streamString = (command, options) => spawn(command).pipe(map9((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
60
106
  const streamLines = (command, options) => splitLines(streamString(command, options));
61
107
  return ChildProcessSpawner.of({
@@ -176,7 +222,7 @@ var parseTemplate = (texts, values) => {
176
222
  if (word.length === 0)
177
223
  return;
178
224
  const value = word.map(unwrap2).join("");
179
- words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make16(value) : value);
225
+ words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make(value) : value);
180
226
  word = [];
181
227
  plain = true;
182
228
  braceDepth = 0;
@@ -266,23 +312,23 @@ var parseTemplate = (texts, values) => {
266
312
  };
267
313
 
268
314
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/process/ChildProcess.js
269
- var TypeId = "~effect/process/ChildProcess";
270
- var Proto = {
315
+ var TypeId2 = "~effect/process/ChildProcess";
316
+ var Proto2 = {
271
317
  .../* @__PURE__ */ Prototype({
272
318
  label: "Command",
273
319
  evaluate(fiber) {
274
320
  return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
275
321
  }
276
322
  }),
277
- [TypeId]: TypeId
323
+ [TypeId2]: TypeId2
278
324
  };
279
- var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto), {
325
+ var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto2), {
280
326
  _tag: "StandardCommand",
281
327
  command,
282
328
  args,
283
329
  options
284
330
  });
285
- var make2 = function make(...args) {
331
+ var make3 = function make(...args) {
286
332
  if (isTemplateString(args[0])) {
287
333
  const [templates, ...expressions] = args;
288
334
  const [command, cmdArgs] = parseTemplate2(templates, expressions);
@@ -340,4 +386,4 @@ var shellScript = (templates, expressions) => {
340
386
  }
341
387
  return script;
342
388
  };
343
- export { ExitCode, ProcessId, makeHandle, make, ChildProcessSpawner, display, make2, parseFdName, fdName };
389
+ export { isRedacted, make, value, ExitCode, ProcessId, makeHandle, make2, ChildProcessSpawner, display, make3, parseFdName, fdName };
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  isString2
4
- } from "./chunk-61dmxexa.js";
4
+ } from "./chunk-ew07nt2d.js";
5
5
 
6
6
  // packages/core/src/question-recommendation.ts
7
7
  var optionValue = (option) => isString2(option) ? option : option.value;
@@ -15,8 +15,8 @@ import {
15
15
  writeSrtSettings2,
16
16
  srtStepArgv2,
17
17
  srtArgv2
18
- } from "./chunk-z0gqrc8c.js";
19
- import"./chunk-61dmxexa.js";
18
+ } from "./chunk-337drcr7.js";
19
+ import"./chunk-ew07nt2d.js";
20
20
  export {
21
21
  compiled2 as compiled,
22
22
  harnessesUnsupportedInDocker2 as harnessesUnsupportedInDocker,