brass-runtime 1.18.0 → 1.18.2

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 (84) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/dist/agent/cli/main.cjs +31 -31
  3. package/dist/agent/cli/main.js +3 -3
  4. package/dist/agent/cli/main.mjs +3 -3
  5. package/dist/agent/index.cjs +4 -4
  6. package/dist/agent/index.d.ts +1 -1
  7. package/dist/agent/index.js +3 -3
  8. package/dist/agent/index.mjs +3 -3
  9. package/dist/{chunk-PSEU65ND.js → chunk-2R3RVNS2.js} +6 -6
  10. package/dist/{chunk-ITZQ526U.mjs → chunk-3NKXUX4T.mjs} +2 -2
  11. package/dist/{chunk-JH4GI3DW.js → chunk-4PKBNG2H.js} +38 -18
  12. package/dist/{chunk-Z3PSSXP3.mjs → chunk-5RVHSBJ6.mjs} +292 -36
  13. package/dist/{chunk-QZ6QFJNM.mjs → chunk-5UBJT4RW.mjs} +4 -4
  14. package/dist/{chunk-7TXQJFZX.cjs → chunk-6STX4PS3.cjs} +13 -13
  15. package/dist/{chunk-VIFA4DPN.cjs → chunk-7FZUTJM3.cjs} +508 -252
  16. package/dist/{chunk-4YQHPIWJ.js → chunk-A6EG5WRL.js} +3 -3
  17. package/dist/{chunk-XSAHV5HQ.js → chunk-APQBU7TM.js} +264 -133
  18. package/dist/{chunk-RREBJX2S.mjs → chunk-AQQQFNYD.mjs} +38 -18
  19. package/dist/{chunk-AADFFVYS.js → chunk-B2VXVNIS.js} +1 -1
  20. package/dist/{chunk-R6WDSZA6.mjs → chunk-BLXBZ6RE.mjs} +1 -1
  21. package/dist/{chunk-ITG6I7ZS.js → chunk-C3CWI42G.js} +1 -1
  22. package/dist/{chunk-LXBU5E77.cjs → chunk-DV644N7P.cjs} +85 -85
  23. package/dist/{chunk-G5JTCFMI.mjs → chunk-EKLEDIVJ.mjs} +2 -2
  24. package/dist/{chunk-IBRHSH5H.js → chunk-EXBGIC66.js} +1 -1
  25. package/dist/{chunk-W6WR37HN.js → chunk-FC5N5QHJ.js} +2 -2
  26. package/dist/{chunk-6MLAZPBL.mjs → chunk-FNWOH2T2.js} +18 -6
  27. package/dist/{chunk-AJMKZXRB.cjs → chunk-FYWWU3Z7.cjs} +2 -2
  28. package/dist/{chunk-IFRBVMWJ.cjs → chunk-GOEO763K.cjs} +21 -21
  29. package/dist/{chunk-S4HHFUYP.js → chunk-GXOIUBKE.js} +2 -2
  30. package/dist/{chunk-BG5RNEA2.js → chunk-H4ZRUQZL.js} +4 -4
  31. package/dist/{chunk-OI4ESUMC.mjs → chunk-HW2CLRJ3.mjs} +6 -6
  32. package/dist/{chunk-3PHU7FWS.js → chunk-JWFOWPMB.js} +163 -155
  33. package/dist/{chunk-OT2TESZU.mjs → chunk-KAPZHDO4.mjs} +1 -1
  34. package/dist/{chunk-ELLF55ER.mjs → chunk-KDXNWGPB.mjs} +1 -1
  35. package/dist/{chunk-UUMKZJRJ.cjs → chunk-KPOL2YEO.cjs} +18 -6
  36. package/dist/{chunk-2SLT3X6G.cjs → chunk-MA74OYCI.cjs} +6 -6
  37. package/dist/{chunk-2QNREG6K.mjs → chunk-MUMBUXU6.mjs} +264 -133
  38. package/dist/{chunk-YTX2JYYP.cjs → chunk-NQW3YUFN.cjs} +18 -18
  39. package/dist/{chunk-3PFZGP23.cjs → chunk-OO7BGCC3.cjs} +54 -34
  40. package/dist/{chunk-QCOLAHU3.mjs → chunk-OX6MF7SZ.mjs} +163 -155
  41. package/dist/{chunk-KHACHFBQ.cjs → chunk-QBVS3UYN.cjs} +245 -237
  42. package/dist/{chunk-H5GYX7RZ.js → chunk-RZGB3DXR.js} +292 -36
  43. package/dist/{chunk-KRYP6CAE.mjs → chunk-URVS2OE2.mjs} +3 -3
  44. package/dist/{chunk-HCJ4S3YB.js → chunk-UZQ3BB6W.mjs} +18 -6
  45. package/dist/{chunk-N6QNSTWD.cjs → chunk-YQWZ7FZX.cjs} +5 -5
  46. package/dist/{chunk-5XADBMSU.cjs → chunk-Z2YIDHRI.cjs} +5 -5
  47. package/dist/{chunk-SSQJKDN3.cjs → chunk-ZDZNV6NA.cjs} +286 -155
  48. package/dist/core/index.cjs +14 -8
  49. package/dist/core/index.d.ts +6 -6
  50. package/dist/core/index.js +13 -7
  51. package/dist/core/index.mjs +13 -7
  52. package/dist/{defaultClient-DhpCQW9m.d.ts → defaultClient-Cid0JoUR.d.ts} +29 -4
  53. package/dist/{effect-CtUDl5M5.d.ts → effect-DnGUuhw6.d.ts} +22 -1
  54. package/dist/http/index.cjs +58 -54
  55. package/dist/http/index.d.ts +8 -8
  56. package/dist/http/index.js +11 -7
  57. package/dist/http/index.mjs +11 -7
  58. package/dist/http/testing.cjs +9 -9
  59. package/dist/http/testing.d.ts +4 -4
  60. package/dist/http/testing.js +5 -5
  61. package/dist/http/testing.mjs +5 -5
  62. package/dist/index.cjs +92 -86
  63. package/dist/index.d.ts +7 -7
  64. package/dist/index.js +14 -8
  65. package/dist/index.mjs +14 -8
  66. package/dist/{layer-BalPI6cN.d.ts → layer-D2LFcBVx.d.ts} +1 -1
  67. package/dist/observability/index.cjs +10 -10
  68. package/dist/observability/index.d.ts +7 -7
  69. package/dist/observability/index.js +9 -9
  70. package/dist/observability/index.mjs +9 -9
  71. package/dist/perf/cli.cjs +26 -26
  72. package/dist/perf/cli.js +11 -11
  73. package/dist/perf/cli.mjs +11 -11
  74. package/dist/perf/index.cjs +13 -13
  75. package/dist/perf/index.js +11 -11
  76. package/dist/perf/index.mjs +11 -11
  77. package/dist/schema/index.cjs +2 -2
  78. package/dist/schema/index.js +1 -1
  79. package/dist/schema/index.mjs +1 -1
  80. package/dist/{server-C1zVmqE6.d.ts → server-Bf1zNYZk.d.ts} +4 -4
  81. package/dist/{stream-Bb4FTejt.d.ts → stream-I7bkvF7a.d.ts} +1 -1
  82. package/dist/{tracer-DzfuE6um.d.ts → tracer-DF83nLn6.d.ts} +2 -2
  83. package/dist/{tracing-BABA5arE.d.ts → tracing-CWV4gT0u.d.ts} +1 -1
  84. package/package.json +3 -2
@@ -2,14 +2,14 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkAJMKZXRBcjs = require('./chunk-AJMKZXRB.cjs');
5
+ var _chunkFYWWU3Z7cjs = require('./chunk-FYWWU3Z7.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkSSQJKDN3cjs = require('./chunk-SSQJKDN3.cjs');
12
+ var _chunkZDZNV6NAcjs = require('./chunk-ZDZNV6NA.cjs');
13
13
 
14
14
 
15
15
 
@@ -20,7 +20,7 @@ var _chunkMVGUEJ5Zcjs = require('./chunk-MVGUEJ5Z.cjs');
20
20
 
21
21
 
22
22
 
23
- var _chunkUUMKZJRJcjs = require('./chunk-UUMKZJRJ.cjs');
23
+ var _chunkKPOL2YEOcjs = require('./chunk-KPOL2YEO.cjs');
24
24
 
25
25
  // src/observability/health.ts
26
26
  function snapshotRuntimeHealth(options = {}) {
@@ -796,10 +796,10 @@ function makeOtlpHttpLogExporter(source, options) {
796
796
  }
797
797
  function logEffect(level, message, fields = {}) {
798
798
  return _chunkMVGUEJ5Zcjs.asyncSync.call(void 0, () => {
799
- const fiber = _chunkSSQJKDN3cjs.getCurrentFiber.call(void 0, );
799
+ const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
800
800
  const runtime = _optionalChain([fiber, 'optionalAccess', _34 => _34.runtime]);
801
801
  if (!runtime) return;
802
- const inherited = _optionalChain([fiber, 'access', _35 => _35.fiberContext, 'optionalAccess', _36 => _36.log]) ? _chunkSSQJKDN3cjs.ctxToObject.call(void 0, fiber.fiberContext.log) : {};
802
+ const inherited = _optionalChain([fiber, 'access', _35 => _35.fiberContext, 'optionalAccess', _36 => _36.log]) ? _chunkZDZNV6NAcjs.ctxToObject.call(void 0, fiber.fiberContext.log) : {};
803
803
  runtime.log(level, message, { ...inherited, ...fields });
804
804
  });
805
805
  }
@@ -815,11 +815,11 @@ function withLogContext(patch, effect) {
815
815
  }
816
816
  function startLogContext(patch) {
817
817
  return _chunkMVGUEJ5Zcjs.asyncSync.call(void 0, () => {
818
- const fiber = _chunkSSQJKDN3cjs.getCurrentFiber.call(void 0, );
818
+ const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
819
819
  if (!_optionalChain([fiber, 'optionalAccess', _37 => _37.fiberContext])) return void 0;
820
- const previous = _nullishCoalesce(fiber.fiberContext.log, () => ( _chunkSSQJKDN3cjs.emptyContext));
820
+ const previous = _nullishCoalesce(fiber.fiberContext.log, () => ( _chunkZDZNV6NAcjs.emptyContext));
821
821
  const state = { fiber, previous, ended: false };
822
- fiber.fiberContext = { ...fiber.fiberContext, log: _chunkSSQJKDN3cjs.ctxExtend.call(void 0, previous, patch) };
822
+ fiber.fiberContext = { ...fiber.fiberContext, log: _chunkZDZNV6NAcjs.ctxExtend.call(void 0, previous, patch) };
823
823
  _optionalChain([fiber, 'access', _38 => _38.addFinalizer, 'optionalCall', _39 => _39(() => restoreLogContext(state))]);
824
824
  return state;
825
825
  });
@@ -994,7 +994,7 @@ function spanLink(trace, attributes) {
994
994
  };
995
995
  }
996
996
  function currentSpanLink(attributes) {
997
- const fiber = _chunkSSQJKDN3cjs.getCurrentFiber.call(void 0, );
997
+ const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
998
998
  const trace = _optionalChain([fiber, 'optionalAccess', _46 => _46.fiberContext, 'optionalAccess', _47 => _47.trace]);
999
999
  return _optionalChain([trace, 'optionalAccess', _48 => _48.traceId]) && _optionalChain([trace, 'optionalAccess', _49 => _49.spanId]) ? spanLink(trace, attributes) : void 0;
1000
1000
  }
@@ -1009,13 +1009,13 @@ function withBaggage(baggage, effect) {
1009
1009
  );
1010
1010
  }
1011
1011
  function currentBaggage() {
1012
- const fiber = _chunkSSQJKDN3cjs.getCurrentFiber.call(void 0, );
1012
+ const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
1013
1013
  const baggage = _optionalChain([fiber, 'optionalAccess', _50 => _50.fiberContext, 'optionalAccess', _51 => _51.trace, 'optionalAccess', _52 => _52.baggage]);
1014
1014
  return baggage ? { ...baggage } : void 0;
1015
1015
  }
1016
1016
  function spanEvent(name, attributes = {}) {
1017
1017
  return _chunkMVGUEJ5Zcjs.asyncSync.call(void 0, () => {
1018
- const fiber = _chunkSSQJKDN3cjs.getCurrentFiber.call(void 0, );
1018
+ const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
1019
1019
  const trace = _optionalChain([fiber, 'optionalAccess', _53 => _53.fiberContext, 'optionalAccess', _54 => _54.trace]);
1020
1020
  if (!_optionalChain([fiber, 'optionalAccess', _55 => _55.runtime]) || !trace || trace.sampled === false) return;
1021
1021
  fiber.runtime.hooks.emit(
@@ -1049,7 +1049,7 @@ function makeOtlpHttpSpanExporter(source, options) {
1049
1049
  }
1050
1050
  function startSpan(name, options) {
1051
1051
  return _chunkMVGUEJ5Zcjs.asyncSync.call(void 0, () => {
1052
- const fiber = _chunkSSQJKDN3cjs.getCurrentFiber.call(void 0, );
1052
+ const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
1053
1053
  const runtime = _optionalChain([fiber, 'optionalAccess', _56 => _56.runtime]);
1054
1054
  if (!_optionalChain([fiber, 'optionalAccess', _57 => _57.fiberContext]) || !runtime) return void 0;
1055
1055
  const previousTrace = _nullishCoalesce(fiber.fiberContext.trace, () => ( null));
@@ -1132,7 +1132,7 @@ function spanContext(fiber, trace) {
1132
1132
  }
1133
1133
  function startBaggage(baggage) {
1134
1134
  return _chunkMVGUEJ5Zcjs.asyncSync.call(void 0, () => {
1135
- const fiber = _chunkSSQJKDN3cjs.getCurrentFiber.call(void 0, );
1135
+ const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
1136
1136
  if (!_optionalChain([fiber, 'optionalAccess', _76 => _76.fiberContext])) return void 0;
1137
1137
  const previousTrace = _nullishCoalesce(fiber.fiberContext.trace, () => ( null));
1138
1138
  if (!previousTrace) return void 0;
@@ -1474,54 +1474,54 @@ function sanitizeHttpTarget(url) {
1474
1474
  }
1475
1475
 
1476
1476
  // src/observability/configValidation.ts
1477
- var fn = _chunkUUMKZJRJcjs.Schema.custom((value) => typeof value === "function", "function");
1478
- var object = _chunkUUMKZJRJcjs.Schema.custom(
1477
+ var fn = _chunkKPOL2YEOcjs.Schema.custom((value) => typeof value === "function", "function");
1478
+ var object = _chunkKPOL2YEOcjs.Schema.custom(
1479
1479
  (value) => typeof value === "object" && value !== null && !Array.isArray(value),
1480
1480
  "object"
1481
1481
  );
1482
- var falseOrObject = _chunkUUMKZJRJcjs.Schema.union([_chunkUUMKZJRJcjs.Schema.literal(false), object]);
1483
- var ratio = _chunkUUMKZJRJcjs.Schema.number({ min: 0, max: 1 });
1484
- var logLevel = _chunkUUMKZJRJcjs.Schema.enum(["debug", "info", "warn", "error"]);
1485
- var retryOptions = _chunkUUMKZJRJcjs.Schema.object({
1486
- attempts: _chunkUUMKZJRJcjs.Schema.number({ min: 0, int: true }).optional(),
1487
- initialDelayMs: _chunkUUMKZJRJcjs.Schema.number({ min: 0, int: true }).optional(),
1488
- maxDelayMs: _chunkUUMKZJRJcjs.Schema.number({ min: 0, int: true }).optional(),
1489
- jitterRatio: _chunkUUMKZJRJcjs.Schema.number({ min: 0, max: 1 }).optional(),
1482
+ var falseOrObject = _chunkKPOL2YEOcjs.Schema.union([_chunkKPOL2YEOcjs.Schema.literal(false), object]);
1483
+ var ratio = _chunkKPOL2YEOcjs.Schema.number({ min: 0, max: 1 });
1484
+ var logLevel = _chunkKPOL2YEOcjs.Schema.enum(["debug", "info", "warn", "error"]);
1485
+ var retryOptions = _chunkKPOL2YEOcjs.Schema.object({
1486
+ attempts: _chunkKPOL2YEOcjs.Schema.number({ min: 0, int: true }).optional(),
1487
+ initialDelayMs: _chunkKPOL2YEOcjs.Schema.number({ min: 0, int: true }).optional(),
1488
+ maxDelayMs: _chunkKPOL2YEOcjs.Schema.number({ min: 0, int: true }).optional(),
1489
+ jitterRatio: _chunkKPOL2YEOcjs.Schema.number({ min: 0, max: 1 }).optional(),
1490
1490
  sleep: fn.optional()
1491
1491
  }, { unknownKeys: "passthrough" });
1492
- var pipelineOptions = _chunkUUMKZJRJcjs.Schema.object({
1493
- maxQueueSize: _chunkUUMKZJRJcjs.Schema.number({ min: 0, int: true }).optional(),
1494
- batchSize: _chunkUUMKZJRJcjs.Schema.number({ min: 1, int: true }).optional(),
1495
- timeoutMs: _chunkUUMKZJRJcjs.Schema.number({ min: 0, int: true }).optional(),
1492
+ var pipelineOptions = _chunkKPOL2YEOcjs.Schema.object({
1493
+ maxQueueSize: _chunkKPOL2YEOcjs.Schema.number({ min: 0, int: true }).optional(),
1494
+ batchSize: _chunkKPOL2YEOcjs.Schema.number({ min: 1, int: true }).optional(),
1495
+ timeoutMs: _chunkKPOL2YEOcjs.Schema.number({ min: 0, int: true }).optional(),
1496
1496
  retry: retryOptions.optional(),
1497
- dropPolicy: _chunkUUMKZJRJcjs.Schema.enum(["drop-oldest", "drop-newest"]).optional(),
1498
- shutdownTimeoutMs: _chunkUUMKZJRJcjs.Schema.number({ min: 0, int: true }).optional()
1497
+ dropPolicy: _chunkKPOL2YEOcjs.Schema.enum(["drop-oldest", "drop-newest"]).optional(),
1498
+ shutdownTimeoutMs: _chunkKPOL2YEOcjs.Schema.number({ min: 0, int: true }).optional()
1499
1499
  }, { unknownKeys: "passthrough" });
1500
- var otlpOptions = _chunkUUMKZJRJcjs.Schema.object({
1501
- metricsUrl: _chunkUUMKZJRJcjs.Schema.string().optional(),
1502
- tracesUrl: _chunkUUMKZJRJcjs.Schema.string().optional(),
1503
- logsUrl: _chunkUUMKZJRJcjs.Schema.string().optional(),
1504
- headers: _chunkUUMKZJRJcjs.Schema.record(_chunkUUMKZJRJcjs.Schema.string()).optional(),
1500
+ var otlpOptions = _chunkKPOL2YEOcjs.Schema.object({
1501
+ metricsUrl: _chunkKPOL2YEOcjs.Schema.string().optional(),
1502
+ tracesUrl: _chunkKPOL2YEOcjs.Schema.string().optional(),
1503
+ logsUrl: _chunkKPOL2YEOcjs.Schema.string().optional(),
1504
+ headers: _chunkKPOL2YEOcjs.Schema.record(_chunkKPOL2YEOcjs.Schema.string()).optional(),
1505
1505
  fetch: fn.optional(),
1506
- timeoutMs: _chunkUUMKZJRJcjs.Schema.number({ min: 1, int: true }).optional(),
1506
+ timeoutMs: _chunkKPOL2YEOcjs.Schema.number({ min: 1, int: true }).optional(),
1507
1507
  retry: retryOptions.optional(),
1508
1508
  pipeline: pipelineOptions.optional()
1509
1509
  }, { unknownKeys: "passthrough" });
1510
- var samplingOptions = _chunkUUMKZJRJcjs.Schema.union([
1511
- _chunkUUMKZJRJcjs.Schema.literal(false),
1510
+ var samplingOptions = _chunkKPOL2YEOcjs.Schema.union([
1511
+ _chunkKPOL2YEOcjs.Schema.literal(false),
1512
1512
  ratio,
1513
1513
  fn,
1514
- _chunkUUMKZJRJcjs.Schema.object({
1514
+ _chunkKPOL2YEOcjs.Schema.object({
1515
1515
  ratio: ratio.optional(),
1516
- rules: _chunkUUMKZJRJcjs.Schema.array(object).optional(),
1517
- sampler: _chunkUUMKZJRJcjs.Schema.union([fn, object]).optional(),
1518
- respectRemoteSampled: _chunkUUMKZJRJcjs.Schema.boolean().optional(),
1519
- forceSampleOnError: _chunkUUMKZJRJcjs.Schema.boolean().optional()
1516
+ rules: _chunkKPOL2YEOcjs.Schema.array(object).optional(),
1517
+ sampler: _chunkKPOL2YEOcjs.Schema.union([fn, object]).optional(),
1518
+ respectRemoteSampled: _chunkKPOL2YEOcjs.Schema.boolean().optional(),
1519
+ forceSampleOnError: _chunkKPOL2YEOcjs.Schema.boolean().optional()
1520
1520
  }, { unknownKeys: "passthrough" })
1521
1521
  ]);
1522
- var observabilityOptions = _chunkUUMKZJRJcjs.Schema.object({
1523
- serviceName: _chunkUUMKZJRJcjs.Schema.string({ minLength: 1 }).optional(),
1524
- serviceVersion: _chunkUUMKZJRJcjs.Schema.string({ minLength: 1 }).optional(),
1522
+ var observabilityOptions = _chunkKPOL2YEOcjs.Schema.object({
1523
+ serviceName: _chunkKPOL2YEOcjs.Schema.string({ minLength: 1 }).optional(),
1524
+ serviceVersion: _chunkKPOL2YEOcjs.Schema.string({ minLength: 1 }).optional(),
1525
1525
  resource: object.optional(),
1526
1526
  eventBus: object.optional(),
1527
1527
  metrics: falseOrObject.optional(),
@@ -1529,64 +1529,64 @@ var observabilityOptions = _chunkUUMKZJRJcjs.Schema.object({
1529
1529
  traces: falseOrObject.optional(),
1530
1530
  sampling: samplingOptions.optional(),
1531
1531
  redaction: falseOrObject.optional(),
1532
- cardinality: _chunkUUMKZJRJcjs.Schema.union([
1533
- _chunkUUMKZJRJcjs.Schema.literal(false),
1534
- _chunkUUMKZJRJcjs.Schema.object({
1535
- maxValuesPerLabel: _chunkUUMKZJRJcjs.Schema.number({ min: 1, int: true }).optional(),
1536
- overflowValue: _chunkUUMKZJRJcjs.Schema.string({ minLength: 1 }).optional()
1532
+ cardinality: _chunkKPOL2YEOcjs.Schema.union([
1533
+ _chunkKPOL2YEOcjs.Schema.literal(false),
1534
+ _chunkKPOL2YEOcjs.Schema.object({
1535
+ maxValuesPerLabel: _chunkKPOL2YEOcjs.Schema.number({ min: 1, int: true }).optional(),
1536
+ overflowValue: _chunkKPOL2YEOcjs.Schema.string({ minLength: 1 }).optional()
1537
1537
  }, { unknownKeys: "passthrough" })
1538
1538
  ]).optional(),
1539
1539
  otlp: otlpOptions.optional(),
1540
- flushIntervalMs: _chunkUUMKZJRJcjs.Schema.number({ min: 1, int: true }).optional(),
1541
- autoStart: _chunkUUMKZJRJcjs.Schema.boolean().optional(),
1540
+ flushIntervalMs: _chunkKPOL2YEOcjs.Schema.number({ min: 1, int: true }).optional(),
1541
+ autoStart: _chunkKPOL2YEOcjs.Schema.boolean().optional(),
1542
1542
  traceSeed: object.optional(),
1543
1543
  childName: fn.optional(),
1544
1544
  onFlushError: fn.optional()
1545
1545
  }, { unknownKeys: "passthrough" });
1546
- var httpObservabilityOptions = _chunkUUMKZJRJcjs.Schema.object({
1546
+ var httpObservabilityOptions = _chunkKPOL2YEOcjs.Schema.object({
1547
1547
  metrics: falseOrObject.optional(),
1548
- logs: _chunkUUMKZJRJcjs.Schema.union([
1549
- _chunkUUMKZJRJcjs.Schema.literal(false),
1550
- _chunkUUMKZJRJcjs.Schema.object({
1551
- requestLevel: _chunkUUMKZJRJcjs.Schema.union([logLevel, _chunkUUMKZJRJcjs.Schema.literal(false)]).optional(),
1552
- responseLevel: _chunkUUMKZJRJcjs.Schema.union([logLevel, _chunkUUMKZJRJcjs.Schema.literal(false)]).optional(),
1553
- errorLevel: _chunkUUMKZJRJcjs.Schema.union([logLevel, _chunkUUMKZJRJcjs.Schema.literal(false)]).optional()
1548
+ logs: _chunkKPOL2YEOcjs.Schema.union([
1549
+ _chunkKPOL2YEOcjs.Schema.literal(false),
1550
+ _chunkKPOL2YEOcjs.Schema.object({
1551
+ requestLevel: _chunkKPOL2YEOcjs.Schema.union([logLevel, _chunkKPOL2YEOcjs.Schema.literal(false)]).optional(),
1552
+ responseLevel: _chunkKPOL2YEOcjs.Schema.union([logLevel, _chunkKPOL2YEOcjs.Schema.literal(false)]).optional(),
1553
+ errorLevel: _chunkKPOL2YEOcjs.Schema.union([logLevel, _chunkKPOL2YEOcjs.Schema.literal(false)]).optional()
1554
1554
  }, { unknownKeys: "passthrough" })
1555
1555
  ]).optional(),
1556
- spans: _chunkUUMKZJRJcjs.Schema.union([
1557
- _chunkUUMKZJRJcjs.Schema.literal(false),
1558
- _chunkUUMKZJRJcjs.Schema.object({
1559
- name: _chunkUUMKZJRJcjs.Schema.union([_chunkUUMKZJRJcjs.Schema.string({ minLength: 1 }), fn]).optional(),
1560
- attributes: _chunkUUMKZJRJcjs.Schema.union([object, fn]).optional(),
1561
- events: _chunkUUMKZJRJcjs.Schema.boolean().optional(),
1556
+ spans: _chunkKPOL2YEOcjs.Schema.union([
1557
+ _chunkKPOL2YEOcjs.Schema.literal(false),
1558
+ _chunkKPOL2YEOcjs.Schema.object({
1559
+ name: _chunkKPOL2YEOcjs.Schema.union([_chunkKPOL2YEOcjs.Schema.string({ minLength: 1 }), fn]).optional(),
1560
+ attributes: _chunkKPOL2YEOcjs.Schema.union([object, fn]).optional(),
1561
+ events: _chunkKPOL2YEOcjs.Schema.boolean().optional(),
1562
1562
  sampleRate: ratio.optional()
1563
1563
  }, { unknownKeys: "passthrough" })
1564
1564
  ]).optional(),
1565
- adaptiveLimiter: _chunkUUMKZJRJcjs.Schema.union([
1566
- _chunkUUMKZJRJcjs.Schema.boolean(),
1567
- _chunkUUMKZJRJcjs.Schema.object({
1568
- enabled: _chunkUUMKZJRJcjs.Schema.boolean().optional(),
1569
- includeKeyLabel: _chunkUUMKZJRJcjs.Schema.boolean().optional()
1565
+ adaptiveLimiter: _chunkKPOL2YEOcjs.Schema.union([
1566
+ _chunkKPOL2YEOcjs.Schema.boolean(),
1567
+ _chunkKPOL2YEOcjs.Schema.object({
1568
+ enabled: _chunkKPOL2YEOcjs.Schema.boolean().optional(),
1569
+ includeKeyLabel: _chunkKPOL2YEOcjs.Schema.boolean().optional()
1570
1570
  }, { unknownKeys: "passthrough" })
1571
1571
  ]).optional(),
1572
- policy: _chunkUUMKZJRJcjs.Schema.union([
1573
- _chunkUUMKZJRJcjs.Schema.boolean(),
1574
- _chunkUUMKZJRJcjs.Schema.object({
1575
- enabled: _chunkUUMKZJRJcjs.Schema.boolean().optional(),
1576
- labelKeys: _chunkUUMKZJRJcjs.Schema.array(_chunkUUMKZJRJcjs.Schema.enum(["preset", "lane", "poolKey", "dedupKey", "priority", "retry"])).optional()
1572
+ policy: _chunkKPOL2YEOcjs.Schema.union([
1573
+ _chunkKPOL2YEOcjs.Schema.boolean(),
1574
+ _chunkKPOL2YEOcjs.Schema.object({
1575
+ enabled: _chunkKPOL2YEOcjs.Schema.boolean().optional(),
1576
+ labelKeys: _chunkKPOL2YEOcjs.Schema.array(_chunkKPOL2YEOcjs.Schema.enum(["preset", "lane", "poolKey", "dedupKey", "priority", "retry"])).optional()
1577
1577
  }, { unknownKeys: "passthrough" })
1578
1578
  ]).optional(),
1579
- injectTraceHeaders: _chunkUUMKZJRJcjs.Schema.boolean().optional(),
1580
- includeHostLabel: _chunkUUMKZJRJcjs.Schema.boolean().optional(),
1581
- route: _chunkUUMKZJRJcjs.Schema.union([_chunkUUMKZJRJcjs.Schema.string({ minLength: 1 }), fn]).optional(),
1579
+ injectTraceHeaders: _chunkKPOL2YEOcjs.Schema.boolean().optional(),
1580
+ includeHostLabel: _chunkKPOL2YEOcjs.Schema.boolean().optional(),
1581
+ route: _chunkKPOL2YEOcjs.Schema.union([_chunkKPOL2YEOcjs.Schema.string({ minLength: 1 }), fn]).optional(),
1582
1582
  clock: fn.optional(),
1583
- durationBuckets: _chunkUUMKZJRJcjs.Schema.array(_chunkUUMKZJRJcjs.Schema.number({ min: 0 }).refine((n) => n > 0, "duration bucket must be > 0")).optional()
1583
+ durationBuckets: _chunkKPOL2YEOcjs.Schema.array(_chunkKPOL2YEOcjs.Schema.number({ min: 0 }).refine((n) => n > 0, "duration bucket must be > 0")).optional()
1584
1584
  }, { unknownKeys: "passthrough" });
1585
1585
  function validateObservabilityOptions(options) {
1586
- _chunkUUMKZJRJcjs.parseConfig.call(void 0, "ObservabilityOptions", observabilityOptions, options);
1586
+ _chunkKPOL2YEOcjs.parseConfig.call(void 0, "ObservabilityOptions", observabilityOptions, options);
1587
1587
  }
1588
1588
  function validateHttpObservabilityOptions(options) {
1589
- _chunkUUMKZJRJcjs.parseConfig.call(void 0, "HttpObservabilityOptions", httpObservabilityOptions, options);
1589
+ _chunkKPOL2YEOcjs.parseConfig.call(void 0, "HttpObservabilityOptions", httpObservabilityOptions, options);
1590
1590
  }
1591
1591
 
1592
1592
  // src/observability/setup.ts
@@ -1620,12 +1620,12 @@ function normalizeOtlpEndpoint(endpoint) {
1620
1620
  function makeObservability(options = {}) {
1621
1621
  validateObservabilityOptions(options);
1622
1622
  const serviceName = _nullishCoalesce(options.serviceName, () => ( "brass-runtime"));
1623
- const eventBus = _nullishCoalesce(options.eventBus, () => ( new (0, _chunkAJMKZXRBcjs.EventBus)()));
1624
- const rawMetrics = _chunkAJMKZXRBcjs.makeMetrics.call(void 0, );
1623
+ const eventBus = _nullishCoalesce(options.eventBus, () => ( new (0, _chunkFYWWU3Z7cjs.EventBus)()));
1624
+ const rawMetrics = _chunkFYWWU3Z7cjs.makeMetrics.call(void 0, );
1625
1625
  const metrics = options.cardinality === false ? rawMetrics : makeCardinalityLimitedMetrics(rawMetrics, _nullishCoalesce(options.cardinality, () => ( {})));
1626
1626
  const redactor = makeObservabilityRedactor(options.redaction);
1627
1627
  const traceOptions = options.traces && typeof options.traces === "object" ? options.traces : {};
1628
- const tracer = new (0, _chunkAJMKZXRBcjs.InMemoryTracer)({
1628
+ const tracer = new (0, _chunkFYWWU3Z7cjs.InMemoryTracer)({
1629
1629
  maxFinishedSpans: _nullishCoalesce(traceOptions.maxFinishedSpans, () => ( 1e4)),
1630
1630
  maxSpanAgeMs: _nullishCoalesce(traceOptions.maxSpanAgeMs, () => ( 10 * 6e4)),
1631
1631
  clock: traceOptions.clock,
@@ -1982,7 +1982,7 @@ function makeRequestObservabilityContext(observability, input = {}) {
1982
1982
  const env = observability.envForRequest(input);
1983
1983
  const attributes = requestSpanAttributes(input);
1984
1984
  const defaultSpanName = _nullishCoalesce(input.spanName, () => ( (input.method && input.route ? `${input.method} ${input.route}` : _nullishCoalesce(input.route, () => ( "request")))));
1985
- const makeRuntime = (extraEnv, options = {}) => new (0, _chunkSSQJKDN3cjs.Runtime)({
1985
+ const makeRuntime = (extraEnv, options = {}) => new (0, _chunkZDZNV6NAcjs.Runtime)({
1986
1986
  ...options,
1987
1987
  env: mergeEnv(extraEnv, env),
1988
1988
  hooks: observability.hooks
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  makeRuntimeEventRecord
3
- } from "./chunk-OT2TESZU.mjs";
3
+ } from "./chunk-KAPZHDO4.mjs";
4
4
  import {
5
5
  emptyContext,
6
6
  getCurrentFiber
7
- } from "./chunk-2QNREG6K.mjs";
7
+ } from "./chunk-MUMBUXU6.mjs";
8
8
  import {
9
9
  Cause,
10
10
  asyncFlatMap,
@@ -3,7 +3,7 @@ import {
3
3
  liveClock,
4
4
  runtimeClockFromEnv,
5
5
  unsafeGetCurrentRuntime
6
- } from "./chunk-XSAHV5HQ.js";
6
+ } from "./chunk-APQBU7TM.js";
7
7
  import {
8
8
  Async,
9
9
  Cause,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  layerEffect,
3
3
  makeServiceTag
4
- } from "./chunk-IBRHSH5H.js";
4
+ } from "./chunk-EXBGIC66.js";
5
5
  import {
6
6
  Runtime
7
- } from "./chunk-XSAHV5HQ.js";
7
+ } from "./chunk-APQBU7TM.js";
8
8
  import {
9
9
  asyncSync
10
10
  } from "./chunk-UB4B6OFY.js";
@@ -237,7 +237,14 @@ function arraySchema(item) {
237
237
  function objectSchema(shape, options = {}) {
238
238
  const unknownKeys = options.unknownKeys ?? "strip";
239
239
  const shapeEntries = Object.entries(shape);
240
- const knownKeys = unknownKeys === "strict" ? new Set(shapeEntries.map(([key]) => key)) : void 0;
240
+ const fieldKeys = new Array(shapeEntries.length);
241
+ const fieldSchemas = new Array(shapeEntries.length);
242
+ for (let i = 0; i < shapeEntries.length; i++) {
243
+ fieldKeys[i] = shapeEntries[i][0];
244
+ fieldSchemas[i] = shapeEntries[i][1];
245
+ }
246
+ const fieldCount = fieldKeys.length;
247
+ const knownKeys = unknownKeys === "strict" ? new Set(fieldKeys) : void 0;
241
248
  return makeSchema("object", false, (input, path) => {
242
249
  if (typeof input !== "object" || input === null || Array.isArray(input)) {
243
250
  return fail([makeSchemaIssue(path, options.name ?? "object", input)]);
@@ -246,11 +253,13 @@ function objectSchema(shape, options = {}) {
246
253
  const out = unknownKeys === "passthrough" ? { ...source } : {};
247
254
  const childPath = path.length === 0 ? [] : [...path];
248
255
  let issues;
249
- for (const [key, fieldSchema] of shapeEntries) {
256
+ for (let i = 0; i < fieldCount; i++) {
257
+ const key = fieldKeys[i];
258
+ const fieldSchema = fieldSchemas[i];
250
259
  childPath.push(key);
251
260
  if (!(key in source)) {
252
261
  if (!fieldSchema.isOptional) {
253
- issues ??= [];
262
+ if (!issues) issues = [];
254
263
  issues.push(makeSchemaIssue(childPath, fieldSchema.name ?? fieldSchema.kind, void 0, "Required field is missing"));
255
264
  }
256
265
  childPath.pop();
@@ -261,15 +270,18 @@ function objectSchema(shape, options = {}) {
261
270
  if (result.success) {
262
271
  out[key] = result.data;
263
272
  } else {
264
- issues ??= [];
265
- issues.push(...result.issues);
273
+ if (!issues) issues = [];
274
+ const resultIssues = result.issues;
275
+ for (let j = 0; j < resultIssues.length; j++) {
276
+ issues.push(resultIssues[j]);
277
+ }
266
278
  }
267
279
  }
268
280
  if (knownKeys) {
269
281
  for (const key of Object.keys(source)) {
270
282
  if (!knownKeys.has(key)) {
271
283
  childPath.push(key);
272
- issues ??= [];
284
+ if (!issues) issues = [];
273
285
  issues.push(makeSchemaIssue(childPath, "known key", source[key], "Unknown key is not allowed"));
274
286
  childPath.pop();
275
287
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2;
2
2
 
3
- var _chunkSSQJKDN3cjs = require('./chunk-SSQJKDN3.cjs');
3
+ var _chunkZDZNV6NAcjs = require('./chunk-ZDZNV6NA.cjs');
4
4
 
5
5
 
6
6
  var _chunkMVGUEJ5Zcjs = require('./chunk-MVGUEJ5Z.cjs');
@@ -164,7 +164,7 @@ var EventBus = (_class = class {
164
164
  subscribe(handler, perSubscriberCapacity = 2048) {
165
165
  this.subs.push({
166
166
  handler,
167
- q: _chunkSSQJKDN3cjs.makeBoundedRingBuffer.call(void 0, perSubscriberCapacity, perSubscriberCapacity, this.options),
167
+ q: _chunkZDZNV6NAcjs.makeBoundedRingBuffer.call(void 0, perSubscriberCapacity, perSubscriberCapacity, this.options),
168
168
  dropped: 0
169
169
  });
170
170
  return () => {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5;
2
2
 
3
- var _chunkAJMKZXRBcjs = require('./chunk-AJMKZXRB.cjs');
3
+ var _chunkFYWWU3Z7cjs = require('./chunk-FYWWU3Z7.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunk7TXQJFZXcjs = require('./chunk-7TXQJFZX.cjs');
7
+ var _chunk6STX4PS3cjs = require('./chunk-6STX4PS3.cjs');
8
8
 
9
9
 
10
10
 
@@ -12,7 +12,7 @@ var _chunk7TXQJFZXcjs = require('./chunk-7TXQJFZX.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkSSQJKDN3cjs = require('./chunk-SSQJKDN3.cjs');
15
+ var _chunkZDZNV6NAcjs = require('./chunk-ZDZNV6NA.cjs');
16
16
 
17
17
 
18
18
 
@@ -26,7 +26,7 @@ var _chunkSSQJKDN3cjs = require('./chunk-SSQJKDN3.cjs');
26
26
  var _chunkMVGUEJ5Zcjs = require('./chunk-MVGUEJ5Z.cjs');
27
27
 
28
28
 
29
- var _chunkUUMKZJRJcjs = require('./chunk-UUMKZJRJ.cjs');
29
+ var _chunkKPOL2YEOcjs = require('./chunk-KPOL2YEO.cjs');
30
30
 
31
31
  // src/core/types/cancel.ts
32
32
  function makeCancelToken() {
@@ -63,19 +63,19 @@ function linkAbortController(token, ac) {
63
63
 
64
64
  // src/core/runtime/dx.ts
65
65
  function makeRuntime(env = {}, options = {}) {
66
- return new (0, _chunkSSQJKDN3cjs.Runtime)({ ...options, env });
66
+ return new (0, _chunkZDZNV6NAcjs.Runtime)({ ...options, env });
67
67
  }
68
68
  function runPromise(effect, envOrRuntime) {
69
- if (envOrRuntime instanceof _chunkSSQJKDN3cjs.Runtime) return envOrRuntime.toPromise(effect);
70
- return _chunkSSQJKDN3cjs.toPromise.call(void 0, effect, envOrRuntime);
69
+ if (envOrRuntime instanceof _chunkZDZNV6NAcjs.Runtime) return envOrRuntime.toPromise(effect);
70
+ return _chunkZDZNV6NAcjs.toPromise.call(void 0, effect, envOrRuntime);
71
71
  }
72
72
  function runExit(effect, envOrRuntime) {
73
73
  return new Promise((resolve) => {
74
- if (envOrRuntime instanceof _chunkSSQJKDN3cjs.Runtime) {
74
+ if (envOrRuntime instanceof _chunkZDZNV6NAcjs.Runtime) {
75
75
  envOrRuntime.unsafeRunAsync(effect, resolve);
76
76
  return;
77
77
  }
78
- _chunkSSQJKDN3cjs.unsafeRunAsync.call(void 0, effect, envOrRuntime, resolve);
78
+ _chunkZDZNV6NAcjs.unsafeRunAsync.call(void 0, effect, envOrRuntime, resolve);
79
79
  });
80
80
  }
81
81
  var runEffect = runPromise;
@@ -162,7 +162,7 @@ function makeSemaphore(n) {
162
162
  released = true;
163
163
  release();
164
164
  };
165
- const fiber = _chunkSSQJKDN3cjs.getCurrentFiber.call(void 0, );
165
+ const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
166
166
  _optionalChain([fiber, 'optionalAccess', _2 => _2.addFinalizer, 'call', _3 => _3(() => {
167
167
  releaseOnce();
168
168
  })]);
@@ -496,7 +496,7 @@ function makeTestRuntime(env, options = {}) {
496
496
  const scheduler = new TestScheduler(options);
497
497
  const clock = new TestClock(options.initialTimeMs, () => scheduler.flushAll(options.maxSteps), options.maxSteps);
498
498
  const testEnv = withTestClock(_nullishCoalesce(env, () => ( {})), clock);
499
- const runtime = _chunkSSQJKDN3cjs.Runtime.makeWithEngine(testEnv, "ts", { scheduler });
499
+ const runtime = _chunkZDZNV6NAcjs.Runtime.makeWithEngine(testEnv, "ts", { scheduler });
500
500
  const flush = (maxTasks) => scheduler.flush(maxTasks);
501
501
  const flushAll = (maxSteps) => scheduler.flushAll(maxSteps);
502
502
  const advance = (ms) => clock.advance(ms);
@@ -567,7 +567,7 @@ function firstFailureValue(exit) {
567
567
  return failure._tag === "Some" ? failure.value : void 0;
568
568
  }
569
569
  function makeAssertionRuntime(runtime) {
570
- return _nullishCoalesce(runtime, () => ( _chunkSSQJKDN3cjs.Runtime.make({})));
570
+ return _nullishCoalesce(runtime, () => ( _chunkZDZNV6NAcjs.Runtime.make({})));
571
571
  }
572
572
  async function assertSucceeds(effect, expected, runtime) {
573
573
  const rt = makeAssertionRuntime(runtime);
@@ -603,9 +603,9 @@ async function assertFailsWith(effect, predicate, runtime) {
603
603
  }
604
604
  async function assertCompletesWithin(effect, maxMs, runtime) {
605
605
  const rt = makeAssertionRuntime(runtime);
606
- const start = _chunkSSQJKDN3cjs.runtimeClockFromEnv.call(void 0, rt.env).now();
606
+ const start = _chunkZDZNV6NAcjs.runtimeClockFromEnv.call(void 0, rt.env).now();
607
607
  const result = await rt.toPromise(effect);
608
- const elapsed = _chunkSSQJKDN3cjs.runtimeClockFromEnv.call(void 0, rt.env).now() - start;
608
+ const elapsed = _chunkZDZNV6NAcjs.runtimeClockFromEnv.call(void 0, rt.env).now() - start;
609
609
  if (elapsed > maxMs) {
610
610
  throw new Error(`Effect took ${elapsed.toFixed(1)}ms, expected < ${maxMs}ms`);
611
611
  }
@@ -624,7 +624,7 @@ function flakyEffect(failCount, successValue, errorValue) {
624
624
  }
625
625
  function delayedEffect(ms, value) {
626
626
  return _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (env, cb) => {
627
- const clock = _chunkSSQJKDN3cjs.runtimeClockFromEnv.call(void 0, env);
627
+ const clock = _chunkZDZNV6NAcjs.runtimeClockFromEnv.call(void 0, env);
628
628
  const id = clock.setTimeout(() => cb(_chunkMVGUEJ5Zcjs.Exit.succeed(value)), ms);
629
629
  return () => clock.clearTimeout(id);
630
630
  });
@@ -638,10 +638,10 @@ function neverEffect() {
638
638
 
639
639
  // src/core/runtime/configLayer.ts
640
640
  function makeConfigLayer(tag, schema, source, options = {}) {
641
- return _chunk7TXQJFZXcjs.layerEffect.call(void 0,
641
+ return _chunk6STX4PS3cjs.layerEffect.call(void 0,
642
642
  tag,
643
643
  (context) => _chunkMVGUEJ5Zcjs.asyncSync.call(void 0,
644
- () => _chunkUUMKZJRJcjs.parseConfig.call(void 0, _nullishCoalesce(options.name, () => ( tag.name)), schema, readConfigSource(source, context))
644
+ () => _chunkKPOL2YEOcjs.parseConfig.call(void 0, _nullishCoalesce(options.name, () => ( tag.name)), schema, readConfigSource(source, context))
645
645
  )
646
646
  );
647
647
  }
@@ -829,7 +829,7 @@ var RuntimeRegistry = (_class4 = class {constructor() { _class4.prototype.__init
829
829
  __init18() {this.recent = []}
830
830
  __init19() {this.recentCap = 2e3}
831
831
  emit(ev, ctx) {
832
- const rec = _chunkAJMKZXRBcjs.makeRuntimeEventRecord.call(void 0, ev, ctx, this.seq++);
832
+ const rec = _chunkFYWWU3Z7cjs.makeRuntimeEventRecord.call(void 0, ev, ctx, this.seq++);
833
833
  this.recent.push(rec);
834
834
  if (this.recent.length > this.recentCap) this.recent.shift();
835
835
  switch (rec.type) {
@@ -1174,7 +1174,7 @@ var Supervisor = (_class5 = class {
1174
1174
  }
1175
1175
  record.restartTimes.push(now);
1176
1176
  if (record.restart.schedule) {
1177
- record.scheduleDriver ??= _chunk7TXQJFZXcjs.makeScheduleDriver.call(void 0, record.restart.schedule, {
1177
+ record.scheduleDriver ??= _chunk6STX4PS3cjs.makeScheduleDriver.call(void 0, record.restart.schedule, {
1178
1178
  name: _nullishCoalesce(record.restart.schedule.name, () => ( "supervisor.restart")),
1179
1179
  clock: this.scheduleClock()
1180
1180
  });
@@ -1224,8 +1224,8 @@ var Supervisor = (_class5 = class {
1224
1224
  scheduleClock() {
1225
1225
  return {
1226
1226
  now: this.clock,
1227
- setTimeout: _chunkSSQJKDN3cjs.liveClock.setTimeout,
1228
- clearTimeout: _chunkSSQJKDN3cjs.liveClock.clearTimeout
1227
+ setTimeout: _chunkZDZNV6NAcjs.liveClock.setTimeout,
1228
+ clearTimeout: _chunkZDZNV6NAcjs.liveClock.clearTimeout
1229
1229
  };
1230
1230
  }
1231
1231
  }, _class5);
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  makeRuntimeEventRecord
3
- } from "./chunk-AADFFVYS.js";
3
+ } from "./chunk-B2VXVNIS.js";
4
4
  import {
5
5
  emptyContext,
6
6
  getCurrentFiber
7
- } from "./chunk-XSAHV5HQ.js";
7
+ } from "./chunk-APQBU7TM.js";
8
8
  import {
9
9
  Cause,
10
10
  asyncFlatMap,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  makeRuntimeEventRecord
3
- } from "./chunk-AADFFVYS.js";
3
+ } from "./chunk-B2VXVNIS.js";
4
4
  import {
5
5
  layerEffect,
6
6
  makeScheduleDriver
7
- } from "./chunk-IBRHSH5H.js";
7
+ } from "./chunk-EXBGIC66.js";
8
8
  import {
9
9
  Runtime,
10
10
  getCurrentFiber,
@@ -12,7 +12,7 @@ import {
12
12
  runtimeClockFromEnv,
13
13
  toPromise,
14
14
  unsafeRunAsync
15
- } from "./chunk-XSAHV5HQ.js";
15
+ } from "./chunk-APQBU7TM.js";
16
16
  import {
17
17
  Cause,
18
18
  Exit,
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-UB4B6OFY.js";
27
27
  import {
28
28
  parseConfig
29
- } from "./chunk-HCJ4S3YB.js";
29
+ } from "./chunk-FNWOH2T2.js";
30
30
 
31
31
  // src/core/types/cancel.ts
32
32
  function makeCancelToken() {
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  makeFiberRef,
3
3
  makeRuntimeRecorder
4
- } from "./chunk-G5JTCFMI.mjs";
4
+ } from "./chunk-EKLEDIVJ.mjs";
5
5
  import {
6
6
  withHttpObservability
7
- } from "./chunk-QCOLAHU3.mjs";
7
+ } from "./chunk-OX6MF7SZ.mjs";
8
8
  import {
9
9
  makeObservability
10
- } from "./chunk-KRYP6CAE.mjs";
10
+ } from "./chunk-URVS2OE2.mjs";
11
11
  import {
12
12
  EventBus
13
- } from "./chunk-OT2TESZU.mjs";
13
+ } from "./chunk-KAPZHDO4.mjs";
14
14
  import {
15
15
  makeDefaultHttpClient,
16
16
  makeHttp
17
- } from "./chunk-Z3PSSXP3.mjs";
17
+ } from "./chunk-5RVHSBJ6.mjs";
18
18
  import {
19
19
  Runtime,
20
20
  Scheduler
21
- } from "./chunk-2QNREG6K.mjs";
21
+ } from "./chunk-MUMBUXU6.mjs";
22
22
  import {
23
23
  asyncFlatMap,
24
24
  asyncSucceed,