apps 0.0.1-beta.1 → 0.0.1-beta.10

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 (118) hide show
  1. package/README.md +65 -43
  2. package/framework-reference.json +1 -1
  3. package/js/browser-XIPJGLH2.js +65 -0
  4. package/js/{chunk-SATWJKN6.js → chunk-27F7W2LG.js} +1 -1
  5. package/js/{chunk-HDJH3RPR.js → chunk-57RKNWL2.js} +2 -2
  6. package/js/{chunk-2HHMABB6.js → chunk-5T57N25Q.js} +61 -13
  7. package/js/{chunk-6IIO4NPI.js → chunk-72JNVHPK.js} +21 -9
  8. package/js/{chunk-FW5HBOIK.js → chunk-CDL5PM2Q.js} +307 -169
  9. package/js/{chunk-X7SFGU4Q.js → chunk-CRDWFA74.js} +28 -9
  10. package/js/{chunk-G7IE6BKC.js → chunk-EPT3ZP52.js} +8 -8
  11. package/js/chunk-FL2QR3XW.js +507 -0
  12. package/js/{chunk-OHRT55C4.js → chunk-IJX4CYZO.js} +3 -6
  13. package/js/{chunk-ZTFQHGEB.js → chunk-IPI4MFSN.js} +3 -5
  14. package/js/{chunk-YEJOQEII.js → chunk-JU7VHODU.js} +1 -1
  15. package/js/chunk-KUMBKVJD.js +39 -0
  16. package/js/{chunk-EVJUVWN2.js → chunk-M3B3DE4K.js} +2 -2
  17. package/js/{chunk-ZJWDMTE3.js → chunk-MKWZPDR6.js} +3 -3
  18. package/js/{chunk-BMOIAIVR.js → chunk-N7YDVXYJ.js} +49 -1
  19. package/js/chunk-NKLWZJLE.js +172 -0
  20. package/js/{chunk-ZCAMUXSG.js → chunk-ODEIDRGW.js} +3 -4
  21. package/js/{chunk-M6ZRRIBI.js → chunk-PJJ24GU7.js} +1 -1
  22. package/js/{chunk-FZJOYIZO.js → chunk-PZB6T6KU.js} +1 -1
  23. package/js/chunk-R3EV5FTO.js +97 -0
  24. package/js/{chunk-6YBRWRK3.js → chunk-RFVIONFX.js} +43 -14
  25. package/js/{chunk-QKHR7BMF.js → chunk-UK573G7W.js} +1 -1
  26. package/js/{chunk-NCYXZN2G.js → chunk-UVL56Z6E.js} +390 -23
  27. package/js/{chunk-KOXMLKTM.js → chunk-V5KNQVCT.js} +308 -316
  28. package/js/{chunk-4LPG6RCH.js → chunk-VFZKSM3T.js} +5 -25
  29. package/js/{chunk-IHQ4ML7K.js → chunk-WLE7WX2U.js} +554 -102
  30. package/js/{chunk-RBAC33PQ.js → chunk-YXQHV65J.js} +58 -83
  31. package/js/chunk-Z5M2LQOZ.js +209 -0
  32. package/js/{chunk-PLCMJREA.js → chunk-ZQINWV4W.js} +60 -20
  33. package/js/client.js +10 -26
  34. package/js/contracts.js +70 -15
  35. package/js/effect.js +19 -19
  36. package/js/es-APDZKREY.js +40968 -0
  37. package/js/graphql.js +34 -39
  38. package/js/host.js +23 -23
  39. package/js/index.js +199 -195
  40. package/js/mcp/effect.js +21 -21
  41. package/js/mcp/stdio.js +25 -25
  42. package/js/mcp.js +60 -44
  43. package/js/openapi.js +826 -41682
  44. package/js/react.js +3 -3
  45. package/js/skills/effect.js +3 -4
  46. package/js/skills.js +53 -17
  47. package/js/storage/facet.js +4 -4
  48. package/js/ui/auth/contracts.js +8 -9
  49. package/js/ui/auth.js +16 -14
  50. package/js/ui/contracts.js +4 -4
  51. package/js/ui/serving.js +9 -8
  52. package/package.json +1 -1
  53. package/runtime.json +1 -1
  54. package/types/app-cache/src/contracts/cache.d.ts +42 -2
  55. package/types/app-cache/src/index.d.ts +59 -1
  56. package/types/app-data/src/contracts/database.d.ts +33 -6
  57. package/types/app-data/src/implementation/schema.d.ts +2 -17
  58. package/types/apps/src/contracts/app.d.ts +7 -6
  59. package/types/apps/src/contracts/cache.d.ts +4 -1
  60. package/types/apps/src/contracts/failure.d.ts +25 -0
  61. package/types/apps/src/contracts/host.d.ts +34 -679
  62. package/types/apps/src/contracts/mcp.d.ts +16 -0
  63. package/types/apps/src/contracts/openapi.d.ts +11 -1
  64. package/types/apps/src/contracts/operations.d.ts +0 -5
  65. package/types/apps/src/contracts/protocol-version.d.ts +6 -0
  66. package/types/apps/src/contracts/protocols/1.d.ts +1589 -0
  67. package/types/apps/src/contracts/protocols/2.d.ts +668 -0
  68. package/types/apps/src/contracts/protocols/3.d.ts +676 -0
  69. package/types/apps/src/contracts/protocols/4.d.ts +1229 -0
  70. package/types/apps/src/contracts/protocols/5.d.ts +1090 -0
  71. package/types/apps/src/contracts/provider.d.ts +51 -5
  72. package/types/apps/src/contracts/router.d.ts +59 -0
  73. package/types/apps/src/contracts/skills.d.ts +17 -8
  74. package/types/apps/src/contracts/storage.d.ts +3 -3
  75. package/types/apps/src/contracts/ui-auth.d.ts +6 -14
  76. package/types/apps/src/contracts/workflows.d.ts +34 -3
  77. package/types/apps/src/graphql.d.ts +1 -3
  78. package/types/apps/src/implementation/account-router.d.ts +12 -0
  79. package/types/apps/src/implementation/app.d.ts +5 -4
  80. package/types/apps/src/implementation/cache.d.ts +3 -1
  81. package/types/apps/src/implementation/catalog-cache.d.ts +9 -2
  82. package/types/apps/src/implementation/elicitation.d.ts +1 -1
  83. package/types/apps/src/implementation/failure-detail.d.ts +25 -0
  84. package/types/apps/src/implementation/graphql-catalog.d.ts +1 -4
  85. package/types/apps/src/implementation/mcp-catalog.d.ts +1 -4
  86. package/types/apps/src/implementation/mcp-client.d.ts +35 -19
  87. package/types/apps/src/implementation/mcp.d.ts +35 -19
  88. package/types/apps/src/implementation/openapi-compile.d.ts +3 -2
  89. package/types/apps/src/implementation/openapi-document.d.ts +0 -2
  90. package/types/apps/src/implementation/openapi-names.d.ts +18 -0
  91. package/types/apps/src/implementation/openapi-request.d.ts +0 -1
  92. package/types/apps/src/implementation/openapi-source.d.ts +7 -7
  93. package/types/apps/src/implementation/operations.d.ts +26 -3
  94. package/types/apps/src/implementation/protocol-operations.d.ts +3 -4
  95. package/types/apps/src/implementation/provider.d.ts +9 -4
  96. package/types/apps/src/implementation/router-catalog.d.ts +225 -0
  97. package/types/apps/src/implementation/router.d.ts +59 -0
  98. package/types/apps/src/implementation/schema.d.ts +5 -6
  99. package/types/apps/src/implementation/storage.d.ts +5 -3
  100. package/types/apps/src/implementation/swagger-client.d.ts +28 -0
  101. package/types/apps/src/implementation/ui-auth.d.ts +11 -5
  102. package/types/apps/src/implementation/ui-serving.d.ts +4 -2
  103. package/types/apps/src/implementation/webhooks.d.ts +1 -1
  104. package/types/apps/src/implementation/workflow-context.d.ts +11 -3
  105. package/types/apps/src/index.d.ts +5 -4
  106. package/types/apps/src/mcp-stdio.d.ts +2 -5
  107. package/types/apps/src/mcp.d.ts +5 -4
  108. package/types/apps/src/openapi.d.ts +6 -6
  109. package/types/apps/src/skills.d.ts +6 -3
  110. package/types/apps/src/ui-auth.d.ts +2 -2
  111. package/types/telemetry/src/browser-operations.d.ts +5 -2
  112. package/js/chunk-PZ36XMXW.js +0 -93
  113. package/js/chunk-SWPD52J7.js +0 -35
  114. package/js/chunk-TE4KO4HI.js +0 -47
  115. package/js/chunk-W7D7WVSY.js +0 -18
  116. package/types/apps/src/contracts/dynamic-tools.d.ts +0 -13
  117. package/types/apps/src/implementation/account-operations.d.ts +0 -151
  118. package/types/apps/src/implementation/dynamic-tools.d.ts +0 -8
@@ -57,7 +57,7 @@ __export(Option_exports, {
57
57
  product: () => product,
58
58
  productMany: () => productMany,
59
59
  reduceCompact: () => reduceCompact,
60
- some: () => some2,
60
+ some: () => some3,
61
61
  tap: () => tap,
62
62
  toArray: () => toArray,
63
63
  toRefinement: () => toRefinement,
@@ -260,6 +260,68 @@ var getAllObjectKeys = (obj) => {
260
260
  var byReferenceInstances = /* @__PURE__ */ new WeakSet();
261
261
 
262
262
  // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/Predicate.js
263
+ var Predicate_exports = {};
264
+ __export(Predicate_exports, {
265
+ Struct: () => Struct,
266
+ Tuple: () => Tuple,
267
+ and: () => and,
268
+ compose: () => compose,
269
+ eqv: () => eqv,
270
+ every: () => every,
271
+ hasProperty: () => hasProperty,
272
+ implies: () => implies,
273
+ isBigInt: () => isBigInt,
274
+ isBoolean: () => isBoolean,
275
+ isDate: () => isDate,
276
+ isError: () => isError,
277
+ isFunction: () => isFunction,
278
+ isIterable: () => isIterable,
279
+ isMap: () => isMap,
280
+ isNever: () => isNever,
281
+ isNotNull: () => isNotNull,
282
+ isNotNullish: () => isNotNullish,
283
+ isNotUndefined: () => isNotUndefined,
284
+ isNull: () => isNull,
285
+ isNullish: () => isNullish,
286
+ isNumber: () => isNumber,
287
+ isObject: () => isObject,
288
+ isObjectKeyword: () => isObjectKeyword,
289
+ isObjectOrArray: () => isObjectOrArray,
290
+ isPromise: () => isPromise,
291
+ isPromiseLike: () => isPromiseLike,
292
+ isPropertyKey: () => isPropertyKey,
293
+ isReadonlyObject: () => isReadonlyObject,
294
+ isRegExp: () => isRegExp,
295
+ isSet: () => isSet,
296
+ isString: () => isString,
297
+ isSymbol: () => isSymbol,
298
+ isTagged: () => isTagged,
299
+ isTruthy: () => isTruthy,
300
+ isTupleOf: () => isTupleOf,
301
+ isTupleOfAtLeast: () => isTupleOfAtLeast,
302
+ isUint8Array: () => isUint8Array,
303
+ isUndefined: () => isUndefined,
304
+ isUnknown: () => isUnknown,
305
+ mapInput: () => mapInput,
306
+ nand: () => nand,
307
+ nor: () => nor,
308
+ not: () => not,
309
+ or: () => or,
310
+ some: () => some,
311
+ xor: () => xor
312
+ });
313
+ var mapInput = /* @__PURE__ */ dual(2, (self, f) => (b) => self(f(b)));
314
+ var isTupleOf = /* @__PURE__ */ dual(2, (self, n) => self.length === n);
315
+ var isTupleOfAtLeast = /* @__PURE__ */ dual(2, (self, n) => self.length >= n);
316
+ function isTruthy(input) {
317
+ return !!input;
318
+ }
319
+ function isSet(input) {
320
+ return input instanceof Set;
321
+ }
322
+ function isMap(input) {
323
+ return input instanceof Map;
324
+ }
263
325
  function isString(input) {
264
326
  return typeof input === "string";
265
327
  }
@@ -290,6 +352,12 @@ function isNotUndefined(input) {
290
352
  function isNull(input) {
291
353
  return input === null;
292
354
  }
355
+ function isNotNull(input) {
356
+ return input !== null;
357
+ }
358
+ function isNullish(input) {
359
+ return input === null || input === void 0;
360
+ }
293
361
  function isNotNullish(input) {
294
362
  return input != null;
295
363
  }
@@ -299,9 +367,15 @@ function isNever(_) {
299
367
  function isUnknown(_) {
300
368
  return true;
301
369
  }
370
+ function isObjectOrArray(input) {
371
+ return typeof input === "object" && input !== null;
372
+ }
302
373
  function isObject(input) {
303
374
  return typeof input === "object" && input !== null && !Array.isArray(input);
304
375
  }
376
+ function isReadonlyObject(input) {
377
+ return isObject(input);
378
+ }
305
379
  function isObjectKeyword(input) {
306
380
  return typeof input === "object" && input !== null || isFunction(input);
307
381
  }
@@ -310,13 +384,76 @@ var isTagged = /* @__PURE__ */ dual(2, (self, tag4) => hasProperty(self, "_tag")
310
384
  function isError(input) {
311
385
  return input instanceof Error;
312
386
  }
387
+ function isUint8Array(input) {
388
+ return input instanceof Uint8Array;
389
+ }
313
390
  function isDate(input) {
314
391
  return input instanceof Date;
315
392
  }
316
393
  function isIterable(input) {
317
394
  return hasProperty(input, Symbol.iterator) || isString(input);
318
395
  }
396
+ function isPromise(input) {
397
+ return hasProperty(input, "then") && "catch" in input && isFunction(input.then) && isFunction(input.catch);
398
+ }
399
+ function isPromiseLike(input) {
400
+ return hasProperty(input, "then") && isFunction(input.then);
401
+ }
402
+ function isRegExp(input) {
403
+ return input instanceof RegExp;
404
+ }
405
+ var compose = /* @__PURE__ */ dual(2, (ab, bc) => (a) => ab(a) && bc(a));
406
+ function Tuple(elements) {
407
+ return (as5) => {
408
+ for (let i = 0; i < elements.length; i++) {
409
+ if (elements[i](as5[i]) === false) {
410
+ return false;
411
+ }
412
+ }
413
+ return true;
414
+ };
415
+ }
416
+ function Struct(fields) {
417
+ const keys4 = Object.keys(fields);
418
+ return (a) => {
419
+ for (const key of keys4) {
420
+ if (!fields[key](a[key])) {
421
+ return false;
422
+ }
423
+ }
424
+ return true;
425
+ };
426
+ }
427
+ function not(self) {
428
+ return (a) => !self(a);
429
+ }
319
430
  var or = /* @__PURE__ */ dual(2, (self, that) => (a) => self(a) || that(a));
431
+ var and = /* @__PURE__ */ dual(2, (self, that) => (a) => self(a) && that(a));
432
+ var xor = /* @__PURE__ */ dual(2, (self, that) => (a) => self(a) !== that(a));
433
+ var eqv = /* @__PURE__ */ dual(2, (self, that) => (a) => self(a) === that(a));
434
+ var implies = /* @__PURE__ */ dual(2, (antecedent, consequent) => (a) => antecedent(a) ? consequent(a) : true);
435
+ var nor = /* @__PURE__ */ dual(2, (self, that) => (a) => !(self(a) || that(a)));
436
+ var nand = /* @__PURE__ */ dual(2, (self, that) => (a) => !(self(a) && that(a)));
437
+ function every(collection) {
438
+ return (a) => {
439
+ for (const p of collection) {
440
+ if (!p(a)) {
441
+ return false;
442
+ }
443
+ }
444
+ return true;
445
+ };
446
+ }
447
+ function some(collection) {
448
+ return (a) => {
449
+ for (const p of collection) {
450
+ if (p(a)) {
451
+ return true;
452
+ }
453
+ }
454
+ return false;
455
+ };
456
+ }
320
457
 
321
458
  // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/Hash.js
322
459
  var symbol = "~effect/Hash";
@@ -648,7 +785,7 @@ function make2(combine5, initialValue, combineAll) {
648
785
  var make3 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
649
786
  var isStrictEquivalent = (x, y) => x === y;
650
787
  var strictEqual = () => isStrictEquivalent;
651
- function Tuple(elements) {
788
+ function Tuple2(elements) {
652
789
  return make3((self, that) => {
653
790
  if (self.length !== that.length) {
654
791
  return false;
@@ -1421,7 +1558,7 @@ var SomeImpl = function(value6) {
1421
1558
  this.value = value6;
1422
1559
  };
1423
1560
  SomeImpl.prototype = SomeProto;
1424
- var some = (value6) => new SomeImpl(value6);
1561
+ var some2 = (value6) => new SomeImpl(value6);
1425
1562
 
1426
1563
  // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/internal/result.js
1427
1564
  var TypeId2 = "~effect/Result";
@@ -1489,8 +1626,8 @@ var SuccessImpl = function(success) {
1489
1626
  };
1490
1627
  SuccessImpl.prototype = SuccessProto;
1491
1628
  var succeed = (success) => new SuccessImpl(success);
1492
- var getFailure = (self) => isSuccess(self) ? none : some(self.failure);
1493
- var getSuccess = (self) => isFailure(self) ? none : some(self.success);
1629
+ var getFailure = (self) => isSuccess(self) ? none : some2(self.failure);
1630
+ var getSuccess = (self) => isFailure(self) ? none : some2(self.success);
1494
1631
  var fromOption = /* @__PURE__ */ dual(2, (self, onNone2) => isNone(self) ? fail(onNone2()) : succeed(self.value));
1495
1632
 
1496
1633
  // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/Order.js
@@ -1505,8 +1642,8 @@ var Number2 = /* @__PURE__ */ make4((self, that) => {
1505
1642
  return self < that ? -1 : 1;
1506
1643
  });
1507
1644
  var BigInt2 = /* @__PURE__ */ make4((self, that) => self < that ? -1 : 1);
1508
- var mapInput = /* @__PURE__ */ dual(2, (self, f) => make4((b1, b2) => self(f(b1), f(b2))));
1509
- var Date2 = /* @__PURE__ */ mapInput(Number2, (date2) => date2.getTime());
1645
+ var mapInput2 = /* @__PURE__ */ dual(2, (self, f) => make4((b1, b2) => self(f(b1), f(b2))));
1646
+ var Date2 = /* @__PURE__ */ mapInput2(Number2, (date2) => date2.getTime());
1510
1647
  var isLessThan = (O) => dual(2, (self, that) => O(self, that) === -1);
1511
1648
  var isGreaterThan = (O) => dual(2, (self, that) => O(self, that) === 1);
1512
1649
  var isLessThanOrEqualTo = (O) => dual(2, (self, that) => O(self, that) !== 1);
@@ -1518,7 +1655,7 @@ var isBetween = (O) => dual(2, (self, options) => !isLessThan(O)(self, options.m
1518
1655
 
1519
1656
  // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/Option.js
1520
1657
  var none2 = () => none;
1521
- var some2 = some;
1658
+ var some3 = some2;
1522
1659
  var isOption2 = isOption;
1523
1660
  var isNone2 = isNone;
1524
1661
  var isSome2 = isSome;
@@ -1529,7 +1666,7 @@ var match = /* @__PURE__ */ dual(2, (self, {
1529
1666
  var toRefinement = (f) => (a) => isSome2(f(a));
1530
1667
  var fromIterable = (collection) => {
1531
1668
  for (const a of collection) {
1532
- return some2(a);
1669
+ return some3(a);
1533
1670
  }
1534
1671
  return none2();
1535
1672
  };
@@ -1537,7 +1674,7 @@ var getSuccess2 = getSuccess;
1537
1674
  var getFailure2 = getFailure;
1538
1675
  var getOrElse = /* @__PURE__ */ dual(2, (self, onNone2) => isNone2(self) ? onNone2() : self.value);
1539
1676
  var orElse = /* @__PURE__ */ dual(2, (self, that) => isNone2(self) ? that() : self);
1540
- var orElseSome = /* @__PURE__ */ dual(2, (self, onNone2) => isNone2(self) ? some2(onNone2()) : self);
1677
+ var orElseSome = /* @__PURE__ */ dual(2, (self, onNone2) => isNone2(self) ? some3(onNone2()) : self);
1541
1678
  var orElseResult = /* @__PURE__ */ dual(2, (self, that) => isNone2(self) ? map(that(), succeed) : map(self, fail));
1542
1679
  var firstSomeOf = (collection) => {
1543
1680
  let out = none2();
@@ -1548,15 +1685,15 @@ var firstSomeOf = (collection) => {
1548
1685
  }
1549
1686
  return out;
1550
1687
  };
1551
- var fromNullishOr = (a) => a == null ? none2() : some2(a);
1552
- var fromUndefinedOr = (a) => a === void 0 ? none2() : some2(a);
1553
- var fromNullOr = (a) => a === null ? none2() : some2(a);
1688
+ var fromNullishOr = (a) => a == null ? none2() : some3(a);
1689
+ var fromUndefinedOr = (a) => a === void 0 ? none2() : some3(a);
1690
+ var fromNullOr = (a) => a === null ? none2() : some3(a);
1554
1691
  var liftNullishOr = (f) => (...a) => fromNullishOr(f(...a));
1555
1692
  var getOrNull = /* @__PURE__ */ getOrElse(constNull);
1556
1693
  var getOrUndefined = /* @__PURE__ */ getOrElse(constUndefined);
1557
1694
  var liftThrowable = (f) => (...a) => {
1558
1695
  try {
1559
- return some2(f(...a));
1696
+ return some3(f(...a));
1560
1697
  } catch {
1561
1698
  return none2();
1562
1699
  }
@@ -1568,14 +1705,14 @@ var getOrThrowWith = /* @__PURE__ */ dual(2, (self, onNone2) => {
1568
1705
  throw onNone2();
1569
1706
  });
1570
1707
  var getOrThrow = /* @__PURE__ */ getOrThrowWith(() => new Error("getOrThrow called on a None"));
1571
- var map = /* @__PURE__ */ dual(2, (self, f) => isNone2(self) ? none2() : some2(f(self.value)));
1708
+ var map = /* @__PURE__ */ dual(2, (self, f) => isNone2(self) ? none2() : some3(f(self.value)));
1572
1709
  var as = /* @__PURE__ */ dual(2, (self, b) => map(self, () => b));
1573
1710
  var asVoid = /* @__PURE__ */ as(void 0);
1574
- var void_ = /* @__PURE__ */ some2(void 0);
1711
+ var void_ = /* @__PURE__ */ some3(void 0);
1575
1712
  var flatMap = /* @__PURE__ */ dual(2, (self, f) => isNone2(self) ? none2() : f(self.value));
1576
1713
  var andThen = /* @__PURE__ */ dual(2, (self, f) => flatMap(self, (a) => {
1577
1714
  const b = isFunction(f) ? f(a) : f;
1578
- return isOption2(b) ? b : some2(b);
1715
+ return isOption2(b) ? b : some3(b);
1579
1716
  }));
1580
1717
  var flatMapNullishOr = /* @__PURE__ */ dual(2, (self, f) => isNone2(self) ? none2() : fromNullishOr(f(self.value)));
1581
1718
  var flatten = /* @__PURE__ */ flatMap(identity);
@@ -1583,7 +1720,7 @@ var zipRight = /* @__PURE__ */ dual(2, (self, that) => flatMap(self, () => that)
1583
1720
  var zipLeft = /* @__PURE__ */ dual(2, (self, that) => tap(self, () => that));
1584
1721
  var composeK = /* @__PURE__ */ dual(2, (afb, bfc) => (a) => flatMap(afb(a), bfc));
1585
1722
  var tap = /* @__PURE__ */ dual(2, (self, f) => flatMap(self, (a) => map(f(a), () => a)));
1586
- var product = (self, that) => isSome2(self) && isSome2(that) ? some2([self.value, that.value]) : none2();
1723
+ var product = (self, that) => isSome2(self) && isSome2(that) ? some3([self.value, that.value]) : none2();
1587
1724
  var productMany = (self, collection) => {
1588
1725
  if (isNone2(self)) {
1589
1726
  return none2();
@@ -1595,7 +1732,7 @@ var productMany = (self, collection) => {
1595
1732
  }
1596
1733
  out.push(o.value);
1597
1734
  }
1598
- return some2(out);
1735
+ return some3(out);
1599
1736
  };
1600
1737
  var all = (input) => {
1601
1738
  if (Symbol.iterator in input) {
@@ -1606,7 +1743,7 @@ var all = (input) => {
1606
1743
  }
1607
1744
  out2.push(o.value);
1608
1745
  }
1609
- return some2(out2);
1746
+ return some3(out2);
1610
1747
  }
1611
1748
  const out = {};
1612
1749
  for (const key of Object.keys(input)) {
@@ -1616,7 +1753,7 @@ var all = (input) => {
1616
1753
  }
1617
1754
  assignProperty(out, key, o.value);
1618
1755
  }
1619
- return some2(out);
1756
+ return some3(out);
1620
1757
  };
1621
1758
  var zipWith = /* @__PURE__ */ dual(3, (self, that, f) => map(product(self, that), ([a, b]) => f(a, b)));
1622
1759
  var reduceCompact = /* @__PURE__ */ dual(3, (self, b, f) => {
@@ -1634,27 +1771,27 @@ var partitionMap = /* @__PURE__ */ dual(2, (self, f) => {
1634
1771
  return [none2(), none2()];
1635
1772
  }
1636
1773
  const e = f(self.value);
1637
- return isFailure(e) ? [some2(e.failure), none2()] : [none2(), some2(e.success)];
1774
+ return isFailure(e) ? [some3(e.failure), none2()] : [none2(), some3(e.success)];
1638
1775
  });
1639
1776
  var filterMap = /* @__PURE__ */ dual(2, (self, f) => {
1640
1777
  if (isNone2(self)) {
1641
1778
  return none2();
1642
1779
  }
1643
1780
  const next2 = f(self.value);
1644
- return isSuccess(next2) ? some2(next2.success) : none2();
1781
+ return isSuccess(next2) ? some3(next2.success) : none2();
1645
1782
  });
1646
- var filter = /* @__PURE__ */ dual(2, (self, predicate) => isNone2(self) ? none2() : predicate(self.value) ? some2(self.value) : none2());
1783
+ var filter = /* @__PURE__ */ dual(2, (self, predicate) => isNone2(self) ? none2() : predicate(self.value) ? some3(self.value) : none2());
1647
1784
  var makeEquivalence = (isEquivalent) => make3((x, y) => isNone2(x) ? isNone2(y) : isNone2(y) ? false : isEquivalent(x.value, y.value));
1648
1785
  var makeOrder = (O) => make4((self, that) => isSome2(self) ? isSome2(that) ? O(self.value, that.value) : 1 : -1);
1649
1786
  var lift2 = (f) => dual(2, (self, that) => zipWith(self, that, f));
1650
- var liftPredicate = /* @__PURE__ */ dual(2, (b, predicate) => predicate(b) ? some2(b) : none2());
1787
+ var liftPredicate = /* @__PURE__ */ dual(2, (b, predicate) => predicate(b) ? some3(b) : none2());
1651
1788
  var containsWith = (isEquivalent) => dual(2, (self, a) => isNone2(self) ? false : isEquivalent(self.value, a));
1652
1789
  var contains = /* @__PURE__ */ containsWith(/* @__PURE__ */ asEquivalence());
1653
1790
  var exists = /* @__PURE__ */ dual(2, (self, refinement) => isNone2(self) ? false : refinement(self.value));
1654
1791
  var bindTo2 = /* @__PURE__ */ bindTo(map);
1655
1792
  var let_2 = /* @__PURE__ */ let_(map);
1656
1793
  var bind2 = /* @__PURE__ */ bind(map, flatMap);
1657
- var Do = /* @__PURE__ */ some2({});
1794
+ var Do = /* @__PURE__ */ some3({});
1658
1795
  var gen = (...args2) => {
1659
1796
  const f = args2.length === 1 ? args2[0] : args2[1].bind(args2[0]);
1660
1797
  const iterator = f();
@@ -1666,24 +1803,24 @@ var gen = (...args2) => {
1666
1803
  }
1667
1804
  state = iterator.next(current.value);
1668
1805
  }
1669
- return some2(state.value);
1806
+ return some3(state.value);
1670
1807
  };
1671
1808
  function makeReducer(combiner) {
1672
1809
  return make2((self, that) => {
1673
1810
  if (isNone2(self)) return that;
1674
1811
  if (isNone2(that)) return self;
1675
- return some2(combiner.combine(self.value, that.value));
1812
+ return some3(combiner.combine(self.value, that.value));
1676
1813
  }, none2());
1677
1814
  }
1678
1815
  function makeCombinerFailFast(combiner) {
1679
1816
  return make((self, that) => {
1680
1817
  if (isNone2(self) || isNone2(that)) return none2();
1681
- return some2(combiner.combine(self.value, that.value));
1818
+ return some3(combiner.combine(self.value, that.value));
1682
1819
  });
1683
1820
  }
1684
1821
  function makeReducerFailFast(reducer) {
1685
1822
  const combine5 = makeCombinerFailFast(reducer).combine;
1686
- const initialValue = some2(reducer.initialValue);
1823
+ const initialValue = some3(reducer.initialValue);
1687
1824
  return make2(combine5, initialValue, (collection) => {
1688
1825
  let out = initialValue;
1689
1826
  for (const value6 of collection) {
@@ -1918,8 +2055,8 @@ var serviceNotFoundError = (service4) => {
1918
2055
  };
1919
2056
  var getOption = /* @__PURE__ */ dual(2, (self, service4) => {
1920
2057
  const value6 = lookup(self, service4.key);
1921
- if (value6 !== notFound) return some2(value6);
1922
- return isReference(service4) ? some2(getDefaultValue(service4)) : none2();
2058
+ if (value6 !== notFound) return some3(value6);
2059
+ return isReference(service4) ? some3(getDefaultValue(service4)) : none2();
1923
2060
  });
1924
2061
  var merge = /* @__PURE__ */ dual(2, (self, that) => {
1925
2062
  if (self.mapUnsafe.size === 0) return that;
@@ -2276,11 +2413,11 @@ var bind3 = /* @__PURE__ */ bind(map2, flatMap2);
2276
2413
  var bindTo3 = /* @__PURE__ */ bindTo(map2);
2277
2414
  var let_3 = /* @__PURE__ */ let_(map2);
2278
2415
  var transposeOption = (self) => {
2279
- return isNone(self) ? succeedNone : map2(self.value, some);
2416
+ return isNone(self) ? succeedNone : map2(self.value, some2);
2280
2417
  };
2281
- var transposeMapOption = /* @__PURE__ */ dual(2, (self, f) => isNone(self) ? succeedNone : map2(f(self.value), some));
2418
+ var transposeMapOption = /* @__PURE__ */ dual(2, (self, f) => isNone(self) ? succeedNone : map2(f(self.value), some2));
2282
2419
  var succeedNone = /* @__PURE__ */ succeed2(none);
2283
- var succeedSome = (a) => succeed2(some(a));
2420
+ var succeedSome = (a) => succeed2(some2(a));
2284
2421
  var tap2 = /* @__PURE__ */ dual(2, (self, f) => {
2285
2422
  if (isSuccess2(self)) {
2286
2423
  f(self.success);
@@ -2289,7 +2426,7 @@ var tap2 = /* @__PURE__ */ dual(2, (self, f) => {
2289
2426
  });
2290
2427
 
2291
2428
  // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/Tuple.js
2292
- var makeEquivalence3 = Tuple;
2429
+ var makeEquivalence3 = Tuple2;
2293
2430
 
2294
2431
  // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/Iterable.js
2295
2432
  var makeBy = (f, options) => {
@@ -2330,7 +2467,7 @@ var findFirst = /* @__PURE__ */ dual(2, (self, f) => {
2330
2467
  const o = f(a, i);
2331
2468
  if (isBoolean(o)) {
2332
2469
  if (o) {
2333
- return some2(a);
2470
+ return some3(a);
2334
2471
  }
2335
2472
  } else {
2336
2473
  if (isSome2(o)) {
@@ -3003,16 +3140,16 @@ var divide = /* @__PURE__ */ dual(2, (self, by) => {
3003
3140
  if (!Number.isFinite(by)) return none2();
3004
3141
  if (by === 0 || Object.is(by, -0)) return none2();
3005
3142
  return match3(self, {
3006
- onMillis: (millis2) => some2(make6(millis2 / by)),
3143
+ onMillis: (millis2) => some3(make6(millis2 / by)),
3007
3144
  onNanos: (nanos2) => {
3008
3145
  try {
3009
- return some2(make6(nanos2 / BigInt(by)));
3146
+ return some3(make6(nanos2 / BigInt(by)));
3010
3147
  } catch {
3011
3148
  return none2();
3012
3149
  }
3013
3150
  },
3014
- onInfinity: () => some2(by > 0 ? infinity : negativeInfinity),
3015
- onNegativeInfinity: () => some2(by > 0 ? negativeInfinity : infinity)
3151
+ onInfinity: () => some3(by > 0 ? infinity : negativeInfinity),
3152
+ onNegativeInfinity: () => some3(by > 0 ? negativeInfinity : infinity)
3016
3153
  });
3017
3154
  });
3018
3155
  var divideUnsafe = /* @__PURE__ */ dual(2, (self, by) => {
@@ -3153,7 +3290,7 @@ var CombinerMin = /* @__PURE__ */ min(Order);
3153
3290
  var fromPredicate = (predicate) => (input) => predicate(input) ? succeed2(input) : fail2(input);
3154
3291
  var toPredicate = (self) => (input) => !isFailure2(self(input));
3155
3292
  var has2 = (key) => (input) => input.has(key) ? succeed2(input) : fail2(input);
3156
- var compose = /* @__PURE__ */ dual(2, (left, right) => (input) => {
3293
+ var compose2 = /* @__PURE__ */ dual(2, (left, right) => (input) => {
3157
3294
  const leftOut = left(input);
3158
3295
  if (isFailure2(leftOut)) return leftOut;
3159
3296
  return right(leftOut.success);
@@ -3167,7 +3304,7 @@ var composePassthrough = /* @__PURE__ */ dual(2, (left, right) => (input) => {
3167
3304
  });
3168
3305
  var toOption = (self) => (input) => {
3169
3306
  const result6 = self(input);
3170
- return isFailure2(result6) ? none2() : some2(result6.success);
3307
+ return isFailure2(result6) ? none2() : some3(result6.success);
3171
3308
  };
3172
3309
 
3173
3310
  // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/Tracer.js
@@ -4288,9 +4425,9 @@ var yieldNowWith = /* @__PURE__ */ makePrimitive({
4288
4425
  }
4289
4426
  });
4290
4427
  var yieldNow = /* @__PURE__ */ yieldNowWith(0);
4291
- var succeedSome2 = (a) => succeed3(some2(a));
4428
+ var succeedSome2 = (a) => succeed3(some3(a));
4292
4429
  var succeedNone2 = /* @__PURE__ */ succeed3(/* @__PURE__ */ none2());
4293
- var transposeOption2 = (self) => isNone2(self) ? succeedNone2 : map5(self.value, some2);
4430
+ var transposeOption2 = (self) => isNone2(self) ? succeedNone2 : map5(self.value, some3);
4294
4431
  var failCauseSync = (evaluate2) => suspend(() => failCause(internalCall(evaluate2)));
4295
4432
  var die = (defect) => exitDie(defect);
4296
4433
  var failSync = (error) => suspend(() => fail3(internalCall(error)));
@@ -4566,7 +4703,7 @@ var tapCont = function(value6) {
4566
4703
  var tapEffectCont = function(value6) {
4567
4704
  return new ContImpl(this.payload, returnPayload, exitSucceed(value6));
4568
4705
  };
4569
- var asSome = (self) => map5(self, some2);
4706
+ var asSome = (self) => map5(self, some3);
4570
4707
  var flip2 = (self) => matchEffect(self, {
4571
4708
  onFailure: succeed3,
4572
4709
  onSuccess: fail3
@@ -4710,11 +4847,11 @@ var exitAsVoidAll = (exits) => {
4710
4847
  }
4711
4848
  return failures.length === 0 ? exitVoid : exitFailCause(causeFromReasons(failures));
4712
4849
  };
4713
- var exitGetSuccess = (self) => exitIsSuccess(self) ? some2(self.value) : none2();
4714
- var exitGetCause = (self) => exitIsFailure(self) ? some2(self.cause) : none2();
4850
+ var exitGetSuccess = (self) => exitIsSuccess(self) ? some3(self.value) : none2();
4851
+ var exitGetCause = (self) => exitIsFailure(self) ? some3(self.cause) : none2();
4715
4852
  var exitFindErrorOption = (self) => {
4716
4853
  const error = exitFindError(self);
4717
- return isFailure2(error) ? none2() : some2(error.success);
4854
+ return isFailure2(error) ? none2() : some3(error.success);
4718
4855
  };
4719
4856
  var service = (service4) => service4;
4720
4857
  var serviceOption = (service4) => withFiber((fiber3) => succeed3(getOption(fiber3.context, service4)));
@@ -4928,7 +5065,7 @@ var ignoreCause = /* @__PURE__ */ dual((args2) => isEffect(args2[0]), (self, opt
4928
5065
  });
4929
5066
  var option = (self) => match4(self, {
4930
5067
  onFailure: none2,
4931
- onSuccess: some2
5068
+ onSuccess: some3
4932
5069
  });
4933
5070
  var result = (self) => matchEager(self, {
4934
5071
  onFailure: fail2,
@@ -5347,7 +5484,7 @@ var findFirst3 = /* @__PURE__ */ dual((args2) => isIterable(args2[0]) && !isEffe
5347
5484
  }));
5348
5485
  var findFirstLoop = (iterator, index2, predicate, value6) => flatMap3(predicate(value6, index2), (keep) => {
5349
5486
  if (keep) {
5350
- return succeed3(some2(value6));
5487
+ return succeed3(some3(value6));
5351
5488
  }
5352
5489
  const next2 = iterator.next();
5353
5490
  if (!next2.done) {
@@ -5365,7 +5502,7 @@ var findFirstFilter = /* @__PURE__ */ dual((args2) => isIterable(args2[0]) && !i
5365
5502
  }));
5366
5503
  var findFirstFilterLoop = (iterator, index2, filter11, value6) => flatMap3(filter11(value6, index2), (result6) => {
5367
5504
  if (isSuccess2(result6)) {
5368
- return succeed3(some2(result6.success));
5505
+ return succeed3(some3(result6.success));
5369
5506
  }
5370
5507
  const next2 = iterator.next();
5371
5508
  if (!next2.done) {
@@ -5871,11 +6008,11 @@ var NoopSpanProto = {
5871
6008
  var noopSpan = (options) => Object.assign(Object.create(NoopSpanProto), options);
5872
6009
  var filterDisablePropagation = (span2) => {
5873
6010
  if (!span2) return none2();
5874
- return get(span2.annotations, DisablePropagation) ? span2._tag === "Span" ? filterDisablePropagation(getOrUndefined(span2.parent)) : none2() : some2(span2);
6011
+ return get(span2.annotations, DisablePropagation) ? span2._tag === "Span" ? filterDisablePropagation(getOrUndefined(span2.parent)) : none2() : some3(span2);
5875
6012
  };
5876
6013
  var makeSpanUnsafe = (fiber3, name, options) => {
5877
6014
  const disablePropagation = !fiber3.getRef(TracerEnabled) || options?.annotations && get(options.annotations, DisablePropagation);
5878
- const parent = options?.parent !== void 0 ? some2(options.parent) : options?.root ? none2() : filterDisablePropagation(fiber3.cache.span);
6015
+ const parent = options?.parent !== void 0 ? some3(options.parent) : options?.root ? none2() : filterDisablePropagation(fiber3.cache.span);
5879
6016
  let span2;
5880
6017
  if (disablePropagation) {
5881
6018
  span2 = noopSpan({
@@ -6167,7 +6304,7 @@ var logLevelToOrder = (level) => {
6167
6304
  return Number.MAX_SAFE_INTEGER;
6168
6305
  }
6169
6306
  };
6170
- var LogLevelOrder = /* @__PURE__ */ mapInput(Number2, logLevelToOrder);
6307
+ var LogLevelOrder = /* @__PURE__ */ mapInput2(Number2, logLevelToOrder);
6171
6308
  var isLogLevelGreaterThan = /* @__PURE__ */ isGreaterThan(LogLevelOrder);
6172
6309
  var CurrentLoggers = /* @__PURE__ */ Reference("effect/Logger/CurrentLoggers", {
6173
6310
  defaultValue: () => /* @__PURE__ */ new Set([defaultLogger, tracerLogger])
@@ -7619,7 +7756,7 @@ var offsetZoneRegExp = /^(?:GMT|[+-])/;
7619
7756
  var zoneFromString = (zone) => {
7620
7757
  if (offsetZoneRegExp.test(zone)) {
7621
7758
  const offset = parseOffset(zone);
7622
- return offset === null ? none2() : some2(zoneMakeOffset(offset));
7759
+ return offset === null ? none2() : some3(zoneMakeOffset(offset));
7623
7760
  }
7624
7761
  return zoneMakeNamed(zone);
7625
7762
  };
@@ -7843,19 +7980,19 @@ var nextPow2 = (n) => {
7843
7980
  };
7844
7981
  var parse = (s) => {
7845
7982
  if (s === "NaN") {
7846
- return some2(NaN);
7983
+ return some3(NaN);
7847
7984
  }
7848
7985
  if (s === "Infinity") {
7849
- return some2(Infinity);
7986
+ return some3(Infinity);
7850
7987
  }
7851
7988
  if (s === "-Infinity") {
7852
- return some2(-Infinity);
7989
+ return some3(-Infinity);
7853
7990
  }
7854
7991
  if (s.trim() === "") {
7855
7992
  return none2();
7856
7993
  }
7857
7994
  const n = Number3(s);
7858
- return Number3.isNaN(n) ? none2() : some2(n);
7995
+ return Number3.isNaN(n) ? none2() : some3(n);
7859
7996
  };
7860
7997
 
7861
7998
  // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/String.js
@@ -8818,7 +8955,7 @@ var repeatOrElse = /* @__PURE__ */ dual(3, (self, schedule4, orElse6) => flatMap
8818
8955
  meta = meta_;
8819
8956
  })), {
8820
8957
  disableYield: true
8821
- }), (error) => isDone(error) ? succeed3(error.value) : orElse6(error, meta.attempt === 0 ? none2() : some2(meta)));
8958
+ }), (error) => isDone(error) ? succeed3(error.value) : orElse6(error, meta.attempt === 0 ? none2() : some3(meta)));
8822
8959
  }));
8823
8960
  var retryOrElse = /* @__PURE__ */ dual(3, (self, policy, orElse6) => flatMap3(toStepWithMetadata(policy), (step) => {
8824
8961
  let meta = CurrentMetadata2.defaultValue();
@@ -9140,7 +9277,7 @@ __export(Metric_exports, {
9140
9277
  histogram: () => histogram,
9141
9278
  isMetric: () => isMetric,
9142
9279
  linearBoundaries: () => linearBoundaries,
9143
- mapInput: () => mapInput2,
9280
+ mapInput: () => mapInput3,
9144
9281
  modify: () => modify,
9145
9282
  snapshot: () => snapshot,
9146
9283
  snapshotUnsafe: () => snapshotUnsafe,
@@ -9453,7 +9590,7 @@ var counter = (name, options) => new CounterMetric(name, options);
9453
9590
  var gauge = (name, options) => new GaugeMetric(name, options);
9454
9591
  var frequency = (name, options) => new FrequencyMetric(name, options);
9455
9592
  var histogram = (name, options) => new HistogramMetric(name, options);
9456
- var summary = (name, options) => mapInput2(summaryWithTimestamp(name, options), (input, context3) => [input, get(context3, ClockRef).currentTimeMillisUnsafe()]);
9593
+ var summary = (name, options) => mapInput3(summaryWithTimestamp(name, options), (input, context3) => [input, get(context3, ClockRef).currentTimeMillisUnsafe()]);
9457
9594
  var summaryWithTimestamp = (name, options) => new SummaryMetric(name, options);
9458
9595
  var timer = (name, options) => {
9459
9596
  const boundaries = isNotUndefined(options?.boundaries) ? options.boundaries : exponentialBoundaries({
@@ -9469,13 +9606,13 @@ var timer = (name, options) => {
9469
9606
  boundaries,
9470
9607
  attributes
9471
9608
  });
9472
- return mapInput2(metric, toMillis);
9609
+ return mapInput3(metric, toMillis);
9473
9610
  };
9474
9611
  var value = (self) => flatMap3(context(), (context3) => sync(() => self.valueUnsafe(context3)));
9475
9612
  var modify = /* @__PURE__ */ dual(2, (self, input) => flatMap3(context(), (context3) => sync(() => self.modifyUnsafe(input, context3))));
9476
9613
  var update = /* @__PURE__ */ dual(2, (self, input) => contextWith((services) => sync(() => self.updateUnsafe(input, services))));
9477
- var mapInput2 = /* @__PURE__ */ dual(2, (self, f) => new MetricTransform(self, (context3) => self.valueUnsafe(context3), (input, context3) => self.updateUnsafe(f(input, context3), context3), (input, context3) => self.modifyUnsafe(f(input, context3), context3)));
9478
- var withConstantInput = /* @__PURE__ */ dual(2, (self, input) => mapInput2(self, () => input));
9614
+ var mapInput3 = /* @__PURE__ */ dual(2, (self, f) => new MetricTransform(self, (context3) => self.valueUnsafe(context3), (input, context3) => self.updateUnsafe(f(input, context3), context3), (input, context3) => self.modifyUnsafe(f(input, context3), context3)));
9615
+ var withConstantInput = /* @__PURE__ */ dual(2, (self, input) => mapInput3(self, () => input));
9479
9616
  var withAttributes = /* @__PURE__ */ dual(2, (self, attributes) => new MetricTransform(self, (context3) => self.valueUnsafe(addAttributesToContext(context3, attributes)), (input, context3) => self.updateUnsafe(input, addAttributesToContext(context3, attributes)), (input, context3) => self.modifyUnsafe(input, addAttributesToContext(context3, attributes))));
9480
9617
  var snapshot = /* @__PURE__ */ map5(/* @__PURE__ */ context(), (context3) => snapshotUnsafe(context3));
9481
9618
  var dump = /* @__PURE__ */ flatMap3(/* @__PURE__ */ context(), (context3) => {
@@ -10306,7 +10443,7 @@ __export(Schema_exports, {
10306
10443
  StringFromBase64Url: () => StringFromBase64Url,
10307
10444
  StringFromHex: () => StringFromHex,
10308
10445
  StringFromUriComponent: () => StringFromUriComponent,
10309
- Struct: () => Struct,
10446
+ Struct: () => Struct2,
10310
10447
  StructWithRest: () => StructWithRest,
10311
10448
  Symbol: () => Symbol3,
10312
10449
  TaggedClass: () => TaggedClass2,
@@ -10324,7 +10461,7 @@ __export(Schema_exports, {
10324
10461
  Trim: () => Trim,
10325
10462
  Trimmed: () => Trimmed,
10326
10463
  TrueLiterals: () => TrueLiterals,
10327
- Tuple: () => Tuple2,
10464
+ Tuple: () => Tuple3,
10328
10465
  TupleWithRest: () => TupleWithRest,
10329
10466
  URL: () => URL2,
10330
10467
  URLFromString: () => URLFromString,
@@ -10620,7 +10757,7 @@ var Equivalence4 = /* @__PURE__ */ make3((self, that) => compare(self, that) ===
10620
10757
  var equals4 = /* @__PURE__ */ dual(2, (self, that) => Equivalence4(self, that));
10621
10758
  var fromString = (s) => {
10622
10759
  if (s === "") {
10623
- return some2(zero2);
10760
+ return some3(zero2);
10624
10761
  }
10625
10762
  let base;
10626
10763
  let exp;
@@ -10655,7 +10792,7 @@ var fromString = (s) => {
10655
10792
  if (!Number.isSafeInteger(scale)) {
10656
10793
  return none2();
10657
10794
  }
10658
- return some2(make14(BigInt(digits), scale));
10795
+ return some3(make14(BigInt(digits), scale));
10659
10796
  };
10660
10797
  var format4 = (n) => {
10661
10798
  const normalized = normalize2(n);
@@ -10707,7 +10844,7 @@ var toNumber = (b) => {
10707
10844
  if (b > BigInt3(Number.MAX_SAFE_INTEGER) || b < BigInt3(Number.MIN_SAFE_INTEGER)) {
10708
10845
  return none2();
10709
10846
  }
10710
- return some2(Number(b));
10847
+ return some3(Number(b));
10711
10848
  };
10712
10849
 
10713
10850
  // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/ByteSize.js
@@ -11140,7 +11277,7 @@ var LeafNode = class _LeafNode extends Node {
11140
11277
  }
11141
11278
  get(_shift, hash2, key) {
11142
11279
  if (this.hash === hash2 && equals(this.key, key)) {
11143
- return some2(this.value);
11280
+ return some3(this.value);
11144
11281
  }
11145
11282
  return none2();
11146
11283
  }
@@ -11205,7 +11342,7 @@ var CollisionNode = class _CollisionNode extends Node {
11205
11342
  }
11206
11343
  for (const [k, v] of this.entries) {
11207
11344
  if (equals(k, key)) {
11208
- return some2(v);
11345
+ return some3(v);
11209
11346
  }
11210
11347
  }
11211
11348
  return none2();
@@ -11717,7 +11854,7 @@ var HashSetProto = {
11717
11854
  return hash(HashSetTypeId);
11718
11855
  },
11719
11856
  [symbol2](that) {
11720
- return isHashSet(that) && size4(this) === size4(that) && every2(this, (value6) => has4(that, value6));
11857
+ return isHashSet(that) && size4(this) === size4(that) && every3(this, (value6) => has4(that, value6));
11721
11858
  },
11722
11859
  [Symbol.iterator]() {
11723
11860
  return keys2(keyMap(this));
@@ -11755,7 +11892,7 @@ var fromIterable6 = (values2) => {
11755
11892
  };
11756
11893
  var has4 = (self, value6) => has3(keyMap(self), value6);
11757
11894
  var size4 = (self) => size2(keyMap(self));
11758
- var every2 = (self, predicate) => {
11895
+ var every3 = (self, predicate) => {
11759
11896
  for (const value6 of self) {
11760
11897
  if (!predicate(value6)) {
11761
11898
  return false;
@@ -11846,7 +11983,7 @@ var make19 = (type3, mutable3) => {
11846
11983
  graph.reverseAdjacency = /* @__PURE__ */ new Map();
11847
11984
  graph.nextNodeIndex = 0;
11848
11985
  graph.nextEdgeIndex = 0;
11849
- graph.acyclic = some2(true);
11986
+ graph.acyclic = some3(true);
11850
11987
  return graph;
11851
11988
  };
11852
11989
  var snapshot2 = (graph) => {
@@ -11945,7 +12082,7 @@ var missing = /* @__PURE__ */ Symbol();
11945
12082
  var succeed8 = succeed5;
11946
12083
  var missingExit = /* @__PURE__ */ succeed8(missing);
11947
12084
  var sameExit = /* @__PURE__ */ succeed8(missing);
11948
- var toOption2 = (value6) => value6 === missing ? none2() : some2(value6);
12085
+ var toOption2 = (value6) => value6 === missing ? none2() : some3(value6);
11949
12086
  var fromOptionExit = (option6) => option6._tag === "None" ? missingExit : succeed8(option6.value);
11950
12087
 
11951
12088
  // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/SchemaIssue.js
@@ -12428,7 +12565,7 @@ function checkEffect(f) {
12428
12565
  return onSome((t, options) => {
12429
12566
  return f(t, options).pipe(flatMapEager2((out) => {
12430
12567
  const issue = makeSingle(out, t, options);
12431
- return issue ? fail7(issue) : succeed7(some2(t));
12568
+ return issue ? fail7(issue) : succeed7(some3(t));
12432
12569
  }));
12433
12570
  });
12434
12571
  }
@@ -12436,7 +12573,7 @@ function transform(f) {
12436
12573
  return transformOptional(map(f));
12437
12574
  }
12438
12575
  function transformEffect(f) {
12439
- return onSome((e, options) => f(e, options).pipe(mapEager2(some2)));
12576
+ return onSome((e, options) => f(e, options).pipe(mapEager2(some3)));
12440
12577
  }
12441
12578
  function transformOptional(f) {
12442
12579
  return new Getter((oe) => succeed7(f(oe)));
@@ -12447,7 +12584,7 @@ function omit2() {
12447
12584
  function withDefault(defaultValue) {
12448
12585
  return new Getter((o) => {
12449
12586
  const filtered = filter(o, isNotUndefined);
12450
- return isSome2(filtered) ? succeed7(filtered) : mapEager2(defaultValue, some2);
12587
+ return isSome2(filtered) ? succeed7(filtered) : mapEager2(defaultValue, some3);
12451
12588
  });
12452
12589
  }
12453
12590
  function String4() {
@@ -12488,7 +12625,7 @@ function toUpperCase2() {
12488
12625
  }
12489
12626
  function parseJson(options) {
12490
12627
  return onSome((input, parseOptions) => try_3({
12491
- try: () => some2(JSON.parse(input, options?.reviver)),
12628
+ try: () => some3(JSON.parse(input, options?.reviver)),
12492
12629
  catch: () => new InvalidValue({
12493
12630
  expected: "a valid JSON string"
12494
12631
  }, input, parseOptions)
@@ -12501,7 +12638,7 @@ function stringifyJson(options) {
12501
12638
  if (output === void 0) {
12502
12639
  throw new TypeError("Value cannot be represented as JSON");
12503
12640
  }
12504
- return some2(output);
12641
+ return some3(output);
12505
12642
  },
12506
12643
  catch: () => new InvalidValue({
12507
12644
  expected: "a JSON-serializable value"
@@ -12891,13 +13028,13 @@ function optionFromNullishOr(options) {
12891
13028
  }
12892
13029
  function optionFromOptionalKey() {
12893
13030
  return transformOptional2({
12894
- decode: some2,
13031
+ decode: some3,
12895
13032
  encode: flatten
12896
13033
  });
12897
13034
  }
12898
13035
  function optionFromOptional() {
12899
13036
  return transformOptional2({
12900
- decode: (ot) => ot.pipe(filter(isNotUndefined), some2),
13037
+ decode: (ot) => ot.pipe(filter(isNotUndefined), some3),
12901
13038
  encode: flatten
12902
13039
  });
12903
13040
  }
@@ -15071,7 +15208,7 @@ function makeOption(schema2) {
15071
15208
  return (input, options) => {
15072
15209
  const exit3 = runSyncExit2(parser(input, options));
15073
15210
  if (isSuccess4(exit3)) {
15074
- return some2(exit3.value);
15211
+ return some3(exit3.value);
15075
15212
  }
15076
15213
  getSchemaIssueOrThrow(exit3.cause, "Option adapter can only return none for schema issues");
15077
15214
  return none2();
@@ -15219,7 +15356,7 @@ function asOption(parser) {
15219
15356
  return (input, options) => {
15220
15357
  const exit3 = parserExit(input, options);
15221
15358
  if (isSuccess4(exit3)) {
15222
- return some2(exit3.value);
15359
+ return some3(exit3.value);
15223
15360
  }
15224
15361
  getSchemaIssueOrThrow(exit3.cause, "Option adapter can only return none for schema issues");
15225
15362
  return none2();
@@ -18284,7 +18421,7 @@ var CheckNode = class {
18284
18421
  this.get = (s) => runChecks(checks, s);
18285
18422
  }
18286
18423
  };
18287
- function compose2(a, b) {
18424
+ function compose3(a, b) {
18288
18425
  if (a.length === 0) return b;
18289
18426
  if (b.length === 0) return a;
18290
18427
  const nodes = a.slice();
@@ -18321,13 +18458,13 @@ var OptionalImpl = class {
18321
18458
  return (s) => getOrElse3(flatMap2(this.getResult(s), (a) => this.replaceResult(f(a), s)), () => s);
18322
18459
  }
18323
18460
  compose(that) {
18324
- return make23(compose2(this.node, that.node));
18461
+ return make23(compose3(this.node, that.node));
18325
18462
  }
18326
18463
  key(key) {
18327
- return make23(compose2(this.node, [new PathNode([key])]));
18464
+ return make23(compose3(this.node, [new PathNode([key])]));
18328
18465
  }
18329
18466
  optionalKey(key) {
18330
- return make23(compose2(this.node, primitiveNode("Lens", (s) => s[key], (a, s) => {
18467
+ return make23(compose3(this.node, primitiveNode("Lens", (s) => s[key], (a, s) => {
18331
18468
  const copy2 = cloneShallow(s);
18332
18469
  if (a === void 0) {
18333
18470
  if (Array.isArray(copy2) && (typeof key === "number" || typeof key === "string" && isCanonicalArrayIndex(key))) {
@@ -18342,20 +18479,20 @@ var OptionalImpl = class {
18342
18479
  })));
18343
18480
  }
18344
18481
  check(...checks) {
18345
- return make23(compose2(this.node, [new CheckNode(checks)]));
18482
+ return make23(compose3(this.node, [new CheckNode(checks)]));
18346
18483
  }
18347
18484
  refine(refinement, annotations2) {
18348
- return make23(compose2(this.node, [new CheckNode([makeFilterByGuard(refinement, annotations2)])]));
18485
+ return make23(compose3(this.node, [new CheckNode([makeFilterByGuard(refinement, annotations2)])]));
18349
18486
  }
18350
18487
  tag(tag4) {
18351
18488
  const err = fail2(new InvalidValue({
18352
18489
  expected: `${JSON.stringify(tag4)} tag`
18353
18490
  }));
18354
- return make23(compose2(this.node, primitiveNode("Prism", (s) => s._tag === tag4 ? succeed2(s) : err, identity)));
18491
+ return make23(compose3(this.node, primitiveNode("Prism", (s) => s._tag === tag4 ? succeed2(s) : err, identity)));
18355
18492
  }
18356
18493
  at(key, ..._rest) {
18357
18494
  const err = fail2(new Pointer([key], new MissingKey(void 0)));
18358
- return make23(compose2(this.node, primitiveNode("Optional", (s) => Object.hasOwn(s, key) ? succeed2(s[key]) : err, (a, s) => {
18495
+ return make23(compose3(this.node, primitiveNode("Optional", (s) => Object.hasOwn(s, key) ? succeed2(s[key]) : err, (a, s) => {
18359
18496
  if (Object.hasOwn(s, key)) {
18360
18497
  const copy2 = cloneShallow(s);
18361
18498
  assignProperty(copy2, key, a);
@@ -19991,7 +20128,7 @@ function makeStruct(ast, fields) {
19991
20128
  }
19992
20129
  });
19993
20130
  }
19994
- function Struct(fields) {
20131
+ function Struct2(fields) {
19995
20132
  return makeStruct(struct(fields, void 0), fields);
19996
20133
  }
19997
20134
  function fieldsAssign(fields) {
@@ -20019,7 +20156,7 @@ function encodeKeys(mapping) {
20019
20156
  reverseMapping[encodedKey] = k;
20020
20157
  }
20021
20158
  }
20022
- return Struct(fields).pipe(decodeTo2(self, transform2({
20159
+ return Struct2(fields).pipe(decodeTo2(self, transform2({
20023
20160
  decode: renameKeys(reverseMapping),
20024
20161
  encode: renameKeys(appliedMapping)
20025
20162
  })));
@@ -20028,7 +20165,7 @@ function encodeKeys(mapping) {
20028
20165
  function extendTo(fields, derive) {
20029
20166
  return (self) => {
20030
20167
  const f = map3(self.fields, toType2);
20031
- const to = Struct({
20168
+ const to = Struct2({
20032
20169
  ...f,
20033
20170
  ...fields
20034
20171
  });
@@ -20079,7 +20216,7 @@ function makeTuple(ast, elements) {
20079
20216
  }
20080
20217
  });
20081
20218
  }
20082
- function Tuple2(elements) {
20219
+ function Tuple3(elements) {
20083
20220
  return makeTuple(tuple(elements), elements);
20084
20221
  }
20085
20222
  function TupleWithRest(schema2, rest) {
@@ -20105,7 +20242,7 @@ var NonEmptyArray = /* @__PURE__ */ lambda((schema2) => make28(new Arrays(false,
20105
20242
  function ArrayEnsure(schema2) {
20106
20243
  const many = ArraySchema(schema2);
20107
20244
  const to = ArraySchema(toType2(schema2));
20108
- const one = decodeTo2(Tuple2([Unknown2]), transform2({
20245
+ const one = decodeTo2(Tuple3([Unknown2]), transform2({
20109
20246
  decode: (value6) => [value6],
20110
20247
  encode: ([value6]) => value6
20111
20248
  }))(schema2);
@@ -20275,7 +20412,7 @@ function tagDefaultOmit(literal) {
20275
20412
  }));
20276
20413
  }
20277
20414
  function TaggedStruct(value6, fields) {
20278
- return Struct({
20415
+ return Struct2({
20279
20416
  _tag: tag(value6),
20280
20417
  ...fields
20281
20418
  });
@@ -21554,7 +21691,7 @@ function Defect(options) {
21554
21691
  }
21555
21692
  function ReadonlyMap(key, value6) {
21556
21693
  const schema2 = declareConstructor()([key, value6], ([key2, value7]) => {
21557
- const array2 = ArraySchema(Tuple2([key2, value7]));
21694
+ const array2 = ArraySchema(Tuple3([key2, value7]));
21558
21695
  return (input, ast, options) => {
21559
21696
  if (input instanceof globalThis.Map) {
21560
21697
  return mapBothEager2(decodeUnknownEffect(array2)([...input], options), {
@@ -21576,7 +21713,7 @@ function ReadonlyMap(key, value6) {
21576
21713
  Type: `globalThis.ReadonlyMap<${typeParameters[0].Type}, ${typeParameters[1].Type}>`
21577
21714
  }),
21578
21715
  expected: "ReadonlyMap",
21579
- toCodec: ([key2, value7]) => link()(ArraySchema(Tuple2([key2, value7])), transform2({
21716
+ toCodec: ([key2, value7]) => link()(ArraySchema(Tuple3([key2, value7])), transform2({
21580
21717
  decode: (entries3) => new globalThis.Map(entries3),
21581
21718
  encode: (map17) => [...map17.entries()]
21582
21719
  }))
@@ -21629,7 +21766,7 @@ var RegExp3 = /* @__PURE__ */ instanceOf(globalThis.RegExp, {
21629
21766
  Type: `globalThis.RegExp`
21630
21767
  }),
21631
21768
  expected: "RegExp",
21632
- toCodecJson: () => link()(Struct({
21769
+ toCodecJson: () => link()(Struct2({
21633
21770
  source: String6,
21634
21771
  flags: String6
21635
21772
  }), transformEffect2({
@@ -21696,7 +21833,7 @@ var File = /* @__PURE__ */ instanceOf(globalThis.File, {
21696
21833
  Type: `globalThis.File`
21697
21834
  }),
21698
21835
  expected: "File",
21699
- toCodecJson: () => link()(Struct({
21836
+ toCodecJson: () => link()(Struct2({
21700
21837
  data: String6.check(isBase64()),
21701
21838
  type: String6,
21702
21839
  name: String6,
@@ -21740,10 +21877,10 @@ var FormData2 = /* @__PURE__ */ instanceOf(globalThis.FormData, {
21740
21877
  Type: `globalThis.FormData`
21741
21878
  }),
21742
21879
  expected: "FormData",
21743
- toCodecJson: () => link()(ArraySchema(Tuple2([String6, Union2([Struct({
21880
+ toCodecJson: () => link()(ArraySchema(Tuple3([String6, Union2([Struct2({
21744
21881
  _tag: tag("String"),
21745
21882
  value: String6
21746
- }), Struct({
21883
+ }), Struct2({
21747
21884
  _tag: tag("File"),
21748
21885
  value: File
21749
21886
  })])])), transformEffect2({
@@ -21818,10 +21955,10 @@ var StringFromUriComponent = /* @__PURE__ */ String6.annotate({
21818
21955
  expected: "a URI component encoded string that will be decoded as a UTF-8 string"
21819
21956
  }).pipe(/* @__PURE__ */ decodeTo2(String6, stringFromUriComponent));
21820
21957
  var PropertyKey = /* @__PURE__ */ Union2([Finite, Symbol3, String6]);
21821
- var StandardSchemaV1FailureResult = /* @__PURE__ */ Struct({
21822
- issues: /* @__PURE__ */ ArraySchema(/* @__PURE__ */ Struct({
21958
+ var StandardSchemaV1FailureResult = /* @__PURE__ */ Struct2({
21959
+ issues: /* @__PURE__ */ ArraySchema(/* @__PURE__ */ Struct2({
21823
21960
  message: String6,
21824
- path: /* @__PURE__ */ optional2(/* @__PURE__ */ ArraySchema(/* @__PURE__ */ Union2([PropertyKey, /* @__PURE__ */ Struct({
21961
+ path: /* @__PURE__ */ optional2(/* @__PURE__ */ ArraySchema(/* @__PURE__ */ Union2([PropertyKey, /* @__PURE__ */ Struct2({
21825
21962
  key: PropertyKey
21826
21963
  })])))
21827
21964
  }))
@@ -21909,7 +22046,7 @@ function bigDecimalValueAtScale(value6, scale) {
21909
22046
  }
21910
22047
  function bigDecimalArbitrarySchema(constraint) {
21911
22048
  if (constraint?.minimum === void 0 && constraint?.maximum === void 0) {
21912
- return Struct({
22049
+ return Struct2({
21913
22050
  value: BigInt6,
21914
22051
  scale: Int.check(isBetween2({
21915
22052
  minimum: 0,
@@ -21921,7 +22058,7 @@ function bigDecimalArbitrarySchema(constraint) {
21921
22058
  const minimum = constraint.minimum === void 0 ? void 0 : bigDecimalValueAtScale(constraint.minimum, scale) + (constraint.exclusiveMinimum === true ? globalThis.BigInt(1) : globalThis.BigInt(0));
21922
22059
  const maximum = constraint.maximum === void 0 ? void 0 : bigDecimalValueAtScale(constraint.maximum, scale) - (constraint.exclusiveMaximum === true ? globalThis.BigInt(1) : globalThis.BigInt(0));
21923
22060
  if (minimum !== void 0 && maximum !== void 0 && minimum > maximum) {
21924
- return Struct({
22061
+ return Struct2({
21925
22062
  value: BigInt6,
21926
22063
  scale: Int.check(isBetween2({
21927
22064
  minimum: 0,
@@ -21929,7 +22066,7 @@ function bigDecimalArbitrarySchema(constraint) {
21929
22066
  }))
21930
22067
  });
21931
22068
  }
21932
- return Struct({
22069
+ return Struct2({
21933
22070
  value: bigIntArbitrarySchema(minimum, maximum),
21934
22071
  scale: Literal2(scale)
21935
22072
  });
@@ -22010,13 +22147,13 @@ function CauseReason(error, defect) {
22010
22147
  importDeclarations: [`import * as Cause from "effect/Cause"`]
22011
22148
  }),
22012
22149
  expected: "Cause.Failure",
22013
- toCodec: ([error2, defect2]) => link()(Union2([Struct({
22150
+ toCodec: ([error2, defect2]) => link()(Union2([Struct2({
22014
22151
  _tag: Literal2("Fail"),
22015
22152
  error: error2
22016
- }), Struct({
22153
+ }), Struct2({
22017
22154
  _tag: Literal2("Die"),
22018
22155
  defect: defect2
22019
- }), Struct({
22156
+ }), Struct2({
22020
22157
  _tag: Literal2("Interrupt"),
22021
22158
  fiberId: UndefinedOr(Finite)
22022
22159
  })]), transform2({
@@ -22314,7 +22451,7 @@ var DateTimeZoned = /* @__PURE__ */ declare((u) => isDateTime2(u) && isZoned2(u)
22314
22451
  constraint
22315
22452
  }) => {
22316
22453
  const [minimum, maximum] = dateTimeArbitraryBounds(constraint, arbitraryMinimumZonedDateTimeTimestamp, arbitraryMaximumZonedDateTimeTimestamp);
22317
- return linkDecoding()(Struct({
22454
+ return linkDecoding()(Struct2({
22318
22455
  epochMilliseconds: dateTimeArbitraryInteger(minimum, maximum),
22319
22456
  timeZone: timeZoneArbitrarySchema()
22320
22457
  }), transform(({
@@ -22435,14 +22572,14 @@ var Duration = /* @__PURE__ */ declare(isDuration, {
22435
22572
  importDeclarations: [`import * as Duration from "effect/Duration"`]
22436
22573
  }),
22437
22574
  expected: "Duration",
22438
- toCodecJson: () => link()(Union2([Struct({
22575
+ toCodecJson: () => link()(Union2([Struct2({
22439
22576
  _tag: Literal2("Infinity")
22440
- }), Struct({
22577
+ }), Struct2({
22441
22578
  _tag: Literal2("NegativeInfinity")
22442
- }), Struct({
22579
+ }), Struct2({
22443
22580
  _tag: Literal2("Nanos"),
22444
22581
  value: BigInt6
22445
- }), Struct({
22582
+ }), Struct2({
22446
22583
  _tag: Literal2("Millis"),
22447
22584
  value: Int
22448
22585
  })]), transform2({
@@ -22521,10 +22658,10 @@ function Exit(value6, error, defect) {
22521
22658
  importDeclarations: [`import * as Exit from "effect/Exit"`]
22522
22659
  }),
22523
22660
  expected: "Exit",
22524
- toCodec: ([value7, error2, defect2]) => link()(Union2([Struct({
22661
+ toCodec: ([value7, error2, defect2]) => link()(Union2([Struct2({
22525
22662
  _tag: Literal2("Success"),
22526
22663
  value: value7
22527
- }), Struct({
22664
+ }), Struct2({
22528
22665
  _tag: Literal2("Failure"),
22529
22666
  cause: Cause(error2, defect2)
22530
22667
  })]), transform2({
@@ -22545,13 +22682,13 @@ function Exit(value6, error, defect) {
22545
22682
  });
22546
22683
  }
22547
22684
  function graphEncodedSchema(type3, node, edge) {
22548
- return Struct({
22685
+ return Struct2({
22549
22686
  type: Literal2(type3),
22550
- nodes: ArraySchema(Struct({
22687
+ nodes: ArraySchema(Struct2({
22551
22688
  index: Natural,
22552
22689
  data: node
22553
22690
  })),
22554
- edges: ArraySchema(Struct({
22691
+ edges: ArraySchema(Struct2({
22555
22692
  index: Natural,
22556
22693
  source: Natural,
22557
22694
  target: Natural,
@@ -22620,9 +22757,9 @@ function graphToEquivalence(node, edge) {
22620
22757
  };
22621
22758
  }
22622
22759
  function graphToArbitrary(type3, node, edge) {
22623
- return linkDecoding()(Union2([Null2, Struct({
22760
+ return linkDecoding()(Union2([Null2, Struct2({
22624
22761
  nodes: NonEmptyArray(node),
22625
- edges: ArraySchema(Tuple2([Natural, Natural, edge]))
22762
+ edges: ArraySchema(Tuple3([Natural, Natural, edge]))
22626
22763
  })]), transform((input) => {
22627
22764
  if (input === null) return hydrate({
22628
22765
  type: type3,
@@ -22690,7 +22827,7 @@ function hashMapLink(entries3) {
22690
22827
  }
22691
22828
  function HashMap(key, value6) {
22692
22829
  const schema2 = declareConstructor()([key, value6], ([key2, value7]) => {
22693
- const entries3 = ArraySchema(Tuple2([key2, value7]));
22830
+ const entries3 = ArraySchema(Tuple3([key2, value7]));
22694
22831
  return (input, ast, options) => {
22695
22832
  if (isHashMap2(input)) {
22696
22833
  return mapBothEager2(decodeUnknownEffect(entries3)(toEntries(input), options), {
@@ -22713,11 +22850,11 @@ function HashMap(key, value6) {
22713
22850
  importDeclarations: [`import * as HashMap from "effect/HashMap"`]
22714
22851
  }),
22715
22852
  expected: "HashMap",
22716
- toCodec: ([key2, value7]) => hashMapLink(ArraySchema(Tuple2([key2, value7]))),
22853
+ toCodec: ([key2, value7]) => hashMapLink(ArraySchema(Tuple3([key2, value7]))),
22717
22854
  toCodecArbitrary: ({
22718
22855
  constraint,
22719
22856
  typeParameters: [key2, value7]
22720
- }) => hashMapLink(withArrayLengthConstraints(ArraySchema(Tuple2([key2, value7])).check(isUniqueKey()), constraint?.minSize, constraint?.maxSize)),
22857
+ }) => hashMapLink(withArrayLengthConstraints(ArraySchema(Tuple3([key2, value7])).check(isUniqueKey()), constraint?.minSize, constraint?.maxSize)),
22721
22858
  toEquivalence: ([key2, value7]) => makeCompareMap(key2, value7)
22722
22859
  });
22723
22860
  return make28(schema2.ast, {
@@ -22773,7 +22910,7 @@ function Option(value6) {
22773
22910
  return succeedNone3;
22774
22911
  }
22775
22912
  return mapBothEager2(decodeUnknownEffect(value7)(input.value, options), {
22776
- onSuccess: some2,
22913
+ onSuccess: some3,
22777
22914
  onFailure: (issue) => makeCompositeAtKey(ast, "value", issue, input, options)
22778
22915
  });
22779
22916
  }
@@ -22791,13 +22928,13 @@ function Option(value6) {
22791
22928
  importDeclarations: [`import * as Option from "effect/Option"`]
22792
22929
  }),
22793
22930
  expected: "Option",
22794
- toCodec: ([value7]) => link()(Union2([Struct({
22931
+ toCodec: ([value7]) => link()(Union2([Struct2({
22795
22932
  _tag: Literal2("Some"),
22796
22933
  value: value7
22797
- }), Struct({
22934
+ }), Struct2({
22798
22935
  _tag: Literal2("None")
22799
22936
  })]), transform2({
22800
- decode: (e) => e._tag === "None" ? none2() : some2(e.value),
22937
+ decode: (e) => e._tag === "None" ? none2() : some3(e.value),
22801
22938
  encode: (o) => isSome2(o) ? {
22802
22939
  _tag: "Some",
22803
22940
  value: o.value
@@ -22886,7 +23023,7 @@ var UrlParams = /* @__PURE__ */ declare(isUrlParams, {
22886
23023
  }),
22887
23024
  expected: "UrlParams",
22888
23025
  toEquivalence: () => Equivalence8,
22889
- toCodec: () => link()(ArraySchema(Tuple2([String6, String6])), transform2({
23026
+ toCodec: () => link()(ArraySchema(Tuple3([String6, String6])), transform2({
22890
23027
  decode: make25,
22891
23028
  encode: (self) => self.params
22892
23029
  }))
@@ -22912,8 +23049,8 @@ function OptionFromOptionalNullOr(schema2, options) {
22912
23049
  const onNoneEncoding = options === void 0 ? "omit" : options.onNoneEncoding;
22913
23050
  const noneValue = onNoneEncoding === null ? null : void 0;
22914
23051
  return optional2(NullOr(schema2)).pipe(decodeTo2(Option(toType2(schema2)), transformOptional2({
22915
- decode: (oe) => oe.pipe(filter(isNotNullish), some2),
22916
- encode: onNoneEncoding === "omit" ? flatten : (ot) => some2(getOrElse(flatten(ot), () => noneValue))
23052
+ decode: (oe) => oe.pipe(filter(isNotNullish), some3),
23053
+ encode: onNoneEncoding === "omit" ? flatten : (ot) => some3(getOrElse(flatten(ot), () => noneValue))
22917
23054
  })));
22918
23055
  }
22919
23056
  function Redacted(value6, options) {
@@ -23005,10 +23142,10 @@ function Result(success, failure) {
23005
23142
  importDeclarations: [`import * as Result from "effect/Result"`]
23006
23143
  }),
23007
23144
  expected: "Result",
23008
- toCodec: ([success2, failure2]) => link()(Union2([Struct({
23145
+ toCodec: ([success2, failure2]) => link()(Union2([Struct2({
23009
23146
  _tag: Literal2("Success"),
23010
23147
  success: success2
23011
- }), Struct({
23148
+ }), Struct2({
23012
23149
  _tag: Literal2("Failure"),
23013
23150
  failure: failure2
23014
23151
  })]), transform2({
@@ -23082,7 +23219,7 @@ function makeClass(Inherited, identifier2, struct2, annotations2, proto) {
23082
23219
  }
23083
23220
  static extend(identifier3) {
23084
23221
  return (schema2, annotations3) => {
23085
- const extension = isStruct(schema2) ? schema2 : Struct(schema2);
23222
+ const extension = isStruct(schema2) ? schema2 : Struct2(schema2);
23086
23223
  const fields = {
23087
23224
  ...struct2.fields,
23088
23225
  ...extension.fields
@@ -23143,7 +23280,7 @@ function isStruct(schema2) {
23143
23280
  return isSchema(schema2);
23144
23281
  }
23145
23282
  var Class4 = (identifier2) => (schema2, annotations2) => {
23146
- const struct2 = isStruct(schema2) ? schema2 : Struct(schema2);
23283
+ const struct2 = isStruct(schema2) ? schema2 : Struct2(schema2);
23147
23284
  return makeClass(Class3, identifier2, struct2, annotations2, (identifier3) => ({
23148
23285
  toString() {
23149
23286
  return `${identifier3}(${format({
@@ -23164,7 +23301,7 @@ var TaggedClass2 = (identifier2) => {
23164
23301
  };
23165
23302
  };
23166
23303
  var Error4 = (identifier2) => (schema2, annotations2) => {
23167
- const struct2 = isStruct(schema2) ? schema2 : Struct(schema2);
23304
+ const struct2 = isStruct(schema2) ? schema2 : Struct2(schema2);
23168
23305
  const self = makeClass(Error2, identifier2, struct2, annotations2, (identifier3) => ({
23169
23306
  name: identifier3
23170
23307
  }));
@@ -23244,7 +23381,7 @@ var Json2 = /* @__PURE__ */ make28(/* @__PURE__ */ annotate2(Json, {
23244
23381
  })
23245
23382
  }));
23246
23383
  var JsonObject = /* @__PURE__ */ Record(String6, Json2);
23247
- var JsonError = /* @__PURE__ */ Struct({
23384
+ var JsonError = /* @__PURE__ */ Struct2({
23248
23385
  message: String6,
23249
23386
  name: /* @__PURE__ */ optionalKey2(String6),
23250
23387
  stack: /* @__PURE__ */ optionalKey2(String6),
@@ -25070,7 +25207,7 @@ var poll2 = (self) => suspend(() => {
25070
25207
  return succeed3(none2());
25071
25208
  }
25072
25209
  if (result6._tag === "Success") {
25073
- return succeed3(some2(result6.value));
25210
+ return succeed3(some3(result6.value));
25074
25211
  }
25075
25212
  return succeed3(none2());
25076
25213
  });
@@ -25328,7 +25465,7 @@ var acquireUseRelease3 = (acquire, use, release3) => fromTransformBracket(fnUntr
25328
25465
  let option6 = none2();
25329
25466
  yield* addFinalizerExit(forkedScope, (exit3) => isSome2(option6) ? release3(option6.value, exit3) : void_5);
25330
25467
  const value6 = yield* uninterruptible2(acquire);
25331
- option6 = some2(value6);
25468
+ option6 = some3(value6);
25332
25469
  return yield* toTransform(use(value6))(upstream, scope3);
25333
25470
  }));
25334
25471
  var fromArray = (array2) => fromPull(sync4(() => {
@@ -25349,7 +25486,7 @@ var fromIteratorArray = (iterator, chunkSize = DefaultChunkSize) => {
25349
25486
  if (buffer3.length === 0) {
25350
25487
  return done3(state.value);
25351
25488
  }
25352
- done4 = some2(state.value);
25489
+ done4 = some3(state.value);
25353
25490
  break;
25354
25491
  }
25355
25492
  buffer3.push(state.value);
@@ -25911,7 +26048,7 @@ var splitLines = () => fromTransform((upstream, _scope) => sync4(() => {
25911
26048
  onSuccess: loop,
25912
26049
  onFailure: failCause4,
25913
26050
  onDone: (leftover) => {
25914
- done4 = some2(leftover);
26051
+ done4 = some3(leftover);
25915
26052
  if (stringBuilder.length > 0) {
25916
26053
  const last = stringBuilder;
25917
26054
  stringBuilder = "";
@@ -26184,13 +26321,13 @@ var empty13 = () => {
26184
26321
  };
26185
26322
  var get6 = /* @__PURE__ */ dual(2, (self, key) => {
26186
26323
  if (self.backing.has(key)) {
26187
- return some2(self.backing.get(key));
26324
+ return some3(self.backing.get(key));
26188
26325
  } else if (isSimpleKey(key)) {
26189
26326
  return none2();
26190
26327
  }
26191
26328
  const refKey = referentialKeysCache.get(self);
26192
26329
  if (refKey !== void 0) {
26193
- return self.backing.has(refKey) ? some2(self.backing.get(refKey)) : none2();
26330
+ return self.backing.has(refKey) ? some3(self.backing.get(refKey)) : none2();
26194
26331
  }
26195
26332
  const hash2 = hash(key);
26196
26333
  const bucket = self.buckets.get(hash2);
@@ -26206,7 +26343,7 @@ var getFromBucket = (self, bucket, key) => {
26206
26343
  if (equals(key, bucket[i])) {
26207
26344
  const refKey = bucket[i];
26208
26345
  referentialKeysCache.set(key, refKey);
26209
- return some2(self.backing.get(refKey));
26346
+ return some3(self.backing.get(refKey));
26210
26347
  }
26211
26348
  }
26212
26349
  return none2();
@@ -26882,12 +27019,12 @@ var zipWithNext = (self) => mapAccumArray(self, none2, (acc, arr) => {
26882
27019
  let i = 0;
26883
27020
  if (acc._tag === "None") {
26884
27021
  i = 1;
26885
- acc = some2(arr[0]);
27022
+ acc = some3(arr[0]);
26886
27023
  }
26887
27024
  const pairs = empty3();
26888
27025
  for (; i < arr.length; i++) {
26889
27026
  const value6 = acc.value;
26890
- acc = some2(arr[i]);
27027
+ acc = some3(arr[i]);
26891
27028
  pairs.push([value6, acc]);
26892
27029
  }
26893
27030
  return [acc, pairs];
@@ -26901,7 +27038,7 @@ var zipWithPrevious = (self) => mapAccumArray(self, none2, (acc, arr) => {
26901
27038
  for (let i = 0; i < arr.length; i++) {
26902
27039
  const value6 = arr[i];
26903
27040
  pairs.push([acc, value6]);
26904
- acc = some2(arr[i]);
27041
+ acc = some3(arr[i]);
26905
27042
  }
26906
27043
  return [acc, pairs];
26907
27044
  });
@@ -26914,16 +27051,16 @@ var zipWithPreviousAndNext = (self) => mapAccumArray(self, () => ({
26914
27051
  if (acc.current._tag === "None") {
26915
27052
  i = 1;
26916
27053
  current = arr[0];
26917
- acc.current = some2(current);
27054
+ acc.current = some3(current);
26918
27055
  } else {
26919
27056
  current = acc.current.value;
26920
27057
  }
26921
27058
  const pairs = empty3();
26922
27059
  for (; i < arr.length; i++) {
26923
27060
  const element = arr[i];
26924
- acc.current = some2(element);
27061
+ acc.current = some3(element);
26925
27062
  pairs.push([acc.prev, current, acc.current]);
26926
- acc.prev = some2(current);
27063
+ acc.prev = some3(current);
26927
27064
  current = element;
26928
27065
  }
26929
27066
  return [acc, pairs];
@@ -27153,7 +27290,7 @@ var withExecutionPlan3 = /* @__PURE__ */ dual((args2) => isStream(args2[0]), (se
27153
27290
  if (preventFallbackOnPartialStream && receivedElements) {
27154
27291
  return fail11(error);
27155
27292
  }
27156
- lastError = some2(error);
27293
+ lastError = some3(error);
27157
27294
  return loop;
27158
27295
  });
27159
27296
  });
@@ -27757,7 +27894,7 @@ var aggregateWithin = /* @__PURE__ */ dual(3, (self, sink, schedule4) => fromCha
27757
27894
  });
27758
27895
  const catchSinkHalt = flatMap5(([value6, leftover_]) => {
27759
27896
  if (!sinkHasInput && buffer3.state._tag === "Done") return done3();
27760
- lastOutput = some2(value6);
27897
+ lastOutput = some3(value6);
27761
27898
  leftover = leftover_;
27762
27899
  return succeed7(of(value6));
27763
27900
  });
@@ -28654,10 +28791,10 @@ var Proto8 = {
28654
28791
  }
28655
28792
  };
28656
28793
  var identityPath = (path) => path;
28657
- function makeProvider(load, mapInput3) {
28794
+ function makeProvider(load, mapInput4) {
28658
28795
  const self = Object.create(Proto8);
28659
28796
  self.load = load;
28660
- self.mapInput = mapInput3;
28797
+ self.mapInput = mapInput4;
28661
28798
  return self;
28662
28799
  }
28663
28800
  function makeSource(get12, transform4) {
@@ -28852,7 +28989,7 @@ var resolveRecord = (results) => {
28852
28989
  var withDefault2 = /* @__PURE__ */ dual(2, (self, defaultValue) => {
28853
28990
  return make39((provider, pathPrefix) => mapEager2(evaluateAt(self, provider, pathPrefix), (resolution) => resolution._tag === "Absent" ? resolved(defaultValue, false) : resolution));
28854
28991
  });
28855
- var option3 = (self) => self.pipe(map14(some2), withDefault2(none2()));
28992
+ var option3 = (self) => self.pipe(map14(some3), withDefault2(none2()));
28856
28993
  var cursorToString = () => "<configuration>";
28857
28994
  var loadCursor = (provider, path) => provider.load(path).pipe(orDie3, mapEager2((node) => ({
28858
28995
  provider,
@@ -29070,7 +29207,7 @@ var make40 = () => acquireRelease2(sync4(() => makeUnsafe10(/* @__PURE__ */ new
29070
29207
  var makeRuntime = () => flatMap5(make40(), (self) => runtime(self)());
29071
29208
  var makeRuntimePromise = () => flatMap5(make40(), (self) => runtimePromise(self)());
29072
29209
  var internalFiberId = -1;
29073
- var isInternalInterruption = /* @__PURE__ */ toPredicate(/* @__PURE__ */ compose(filterInterruptors, /* @__PURE__ */ has2(internalFiberId)));
29210
+ var isInternalInterruption = /* @__PURE__ */ toPredicate(/* @__PURE__ */ compose2(filterInterruptors, /* @__PURE__ */ has2(internalFiberId)));
29074
29211
  var addUnsafe2 = /* @__PURE__ */ dual((args2) => isFiberSet(args2[0]), (self, fiber3, options) => {
29075
29212
  if (self.state._tag === "Closed") {
29076
29213
  fiber3.interruptUnsafe(internalFiberId);
@@ -29419,7 +29556,7 @@ __export(Match_exports, {
29419
29556
  instanceOfUnsafe: () => instanceOfUnsafe,
29420
29557
  is: () => is4,
29421
29558
  nonEmptyString: () => nonEmptyString2,
29422
- not: () => not2,
29559
+ not: () => not3,
29423
29560
  null: () => _null,
29424
29561
  number: () => number3,
29425
29562
  option: () => option5,
@@ -29613,7 +29750,7 @@ var tag2 = /* @__PURE__ */ discriminator("_tag");
29613
29750
  var tagStartsWith = /* @__PURE__ */ discriminatorStartsWith("_tag");
29614
29751
  var tags = /* @__PURE__ */ discriminators("_tag");
29615
29752
  var tagsExhaustive = /* @__PURE__ */ discriminatorsExhaustive("_tag");
29616
- var not = (pattern, f) => (self) => self.add(makeNot(makePredicate(pattern), f));
29753
+ var not2 = (pattern, f) => (self) => self.add(makeNot(makePredicate(pattern), f));
29617
29754
  var nonEmptyString = (u) => typeof u === "string" && u.length > 0;
29618
29755
  var is3 = (...literals) => {
29619
29756
  const len = literals.length;
@@ -29677,12 +29814,12 @@ var option4 = (self) => {
29677
29814
  if (isResult2(toResult)) {
29678
29815
  return match2(toResult, {
29679
29816
  onFailure: () => none2(),
29680
- onSuccess: some2
29817
+ onSuccess: some3
29681
29818
  });
29682
29819
  }
29683
29820
  return (...args2) => match2(toResult(...args2), {
29684
29821
  onFailure: () => none2(),
29685
- onSuccess: some2
29822
+ onSuccess: some3
29686
29823
  });
29687
29824
  };
29688
29825
  var getExhaustiveAbsurdErrorMessage = "effect/match/Match/exhaustive: absurd";
@@ -29721,7 +29858,7 @@ var tag3 = tag2;
29721
29858
  var tagStartsWith2 = tagStartsWith;
29722
29859
  var tags2 = tags;
29723
29860
  var tagsExhaustive2 = tagsExhaustive;
29724
- var not2 = not;
29861
+ var not3 = not2;
29725
29862
  var nonEmptyString2 = nonEmptyString;
29726
29863
  var is4 = is3;
29727
29864
  var string3 = isString;
@@ -29876,6 +30013,7 @@ export {
29876
30013
  hasProperty,
29877
30014
  isIterable,
29878
30015
  or,
30016
+ Predicate_exports,
29879
30017
  symbol,
29880
30018
  hash,
29881
30019
  combine,
@@ -29892,7 +30030,7 @@ export {
29892
30030
  getStackTraceLimit,
29893
30031
  PipeInspectableProto,
29894
30032
  none2 as none,
29895
- some2 as some,
30033
+ some3 as some,
29896
30034
  isOption2 as isOption,
29897
30035
  isNone2 as isNone,
29898
30036
  isSome2 as isSome,
@@ -30225,7 +30363,7 @@ export {
30225
30363
  String6 as String,
30226
30364
  Boolean3 as Boolean,
30227
30365
  Void2 as Void,
30228
- Struct,
30366
+ Struct2 as Struct,
30229
30367
  Record,
30230
30368
  StructWithRest,
30231
30369
  ArraySchema,