brass-runtime 1.19.0 → 1.19.1

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 (77) hide show
  1. package/dist/agent/cli/main.cjs +30 -30
  2. package/dist/agent/cli/main.js +2 -2
  3. package/dist/agent/cli/main.mjs +2 -2
  4. package/dist/agent/index.cjs +3 -3
  5. package/dist/agent/index.d.ts +1 -1
  6. package/dist/agent/index.js +2 -2
  7. package/dist/agent/index.mjs +2 -2
  8. package/dist/{chunk-HW2CLRJ3.mjs → chunk-22HYIE56.mjs} +6 -6
  9. package/dist/{chunk-GOEO763K.cjs → chunk-2XXQ3NVT.cjs} +19 -19
  10. package/dist/{chunk-QBVS3UYN.cjs → chunk-67256TKF.cjs} +54 -54
  11. package/dist/{chunk-BLXBZ6RE.mjs → chunk-6BNZS2A4.mjs} +1 -1
  12. package/dist/{chunk-EXBGIC66.js → chunk-6W5DC3TX.js} +1 -1
  13. package/dist/{chunk-OX6MF7SZ.mjs → chunk-AITYRQX2.mjs} +5 -5
  14. package/dist/{chunk-MUMBUXU6.mjs → chunk-BFNBU47C.mjs} +22 -6
  15. package/dist/{chunk-OO7BGCC3.cjs → chunk-CXWJII2N.cjs} +13 -13
  16. package/dist/{chunk-Z2YIDHRI.cjs → chunk-ENMKEX3N.cjs} +5 -5
  17. package/dist/{chunk-NQW3YUFN.cjs → chunk-EZ76UNHP.cjs} +18 -18
  18. package/dist/{chunk-5RVHSBJ6.mjs → chunk-ID2WOCBA.mjs} +3 -3
  19. package/dist/{chunk-RZGB3DXR.js → chunk-IHXF6NQG.js} +3 -3
  20. package/dist/{chunk-MA74OYCI.cjs → chunk-IHY2EJTT.cjs} +6 -6
  21. package/dist/{chunk-AQQQFNYD.mjs → chunk-IWAQQDYE.mjs} +1 -1
  22. package/dist/{chunk-C3CWI42G.js → chunk-J4F5KC3U.js} +1 -1
  23. package/dist/{chunk-ZDZNV6NA.cjs → chunk-JKHBEWQA.cjs} +23 -7
  24. package/dist/{chunk-5UBJT4RW.mjs → chunk-JM7WMSRR.mjs} +3 -3
  25. package/dist/{chunk-YQWZ7FZX.cjs → chunk-JQCQWO47.cjs} +5 -5
  26. package/dist/{chunk-B2VXVNIS.js → chunk-LI7WUVJN.js} +1 -1
  27. package/dist/{chunk-7FZUTJM3.cjs → chunk-LXNU3MRV.cjs} +14 -14
  28. package/dist/{chunk-FC5N5QHJ.js → chunk-NWONRWBT.js} +2 -2
  29. package/dist/{chunk-H4ZRUQZL.js → chunk-PG6CHG34.js} +3 -3
  30. package/dist/{chunk-GXOIUBKE.js → chunk-RZQK32C6.js} +2 -2
  31. package/dist/{chunk-EKLEDIVJ.mjs → chunk-S6KSHYAT.mjs} +2 -2
  32. package/dist/{chunk-URVS2OE2.mjs → chunk-SCHM2MDA.mjs} +2 -2
  33. package/dist/{chunk-A6EG5WRL.js → chunk-TAPB4NN5.js} +2 -2
  34. package/dist/{chunk-APQBU7TM.js → chunk-TN2P7RNK.js} +22 -6
  35. package/dist/{chunk-2R3RVNS2.js → chunk-U42YF6B2.js} +6 -6
  36. package/dist/{chunk-FYWWU3Z7.cjs → chunk-VXNWVAIG.cjs} +2 -2
  37. package/dist/{chunk-KAPZHDO4.mjs → chunk-WA65XP2P.mjs} +1 -1
  38. package/dist/{chunk-JWFOWPMB.js → chunk-XJSWDU2S.js} +5 -5
  39. package/dist/{chunk-4PKBNG2H.js → chunk-XO3TDAJE.js} +1 -1
  40. package/dist/{chunk-KDXNWGPB.mjs → chunk-XRRC5BBM.mjs} +1 -1
  41. package/dist/{chunk-DV644N7P.cjs → chunk-ZJC3JZIE.cjs} +16 -16
  42. package/dist/{chunk-3NKXUX4T.mjs → chunk-ZXLETUGQ.mjs} +2 -2
  43. package/dist/{chunk-6STX4PS3.cjs → chunk-ZZ2CMYJL.cjs} +13 -13
  44. package/dist/core/index.cjs +9 -7
  45. package/dist/core/index.d.ts +6 -6
  46. package/dist/core/index.js +8 -6
  47. package/dist/core/index.mjs +8 -6
  48. package/dist/{defaultClient-Cid0JoUR.d.ts → defaultClient-hyVSNzSJ.d.ts} +3 -3
  49. package/dist/{effect-DnGUuhw6.d.ts → effect-DbEMiMvv.d.ts} +8 -1
  50. package/dist/http/index.cjs +48 -48
  51. package/dist/http/index.d.ts +8 -8
  52. package/dist/http/index.js +6 -6
  53. package/dist/http/index.mjs +6 -6
  54. package/dist/http/testing.cjs +8 -8
  55. package/dist/http/testing.d.ts +4 -4
  56. package/dist/http/testing.js +4 -4
  57. package/dist/http/testing.mjs +4 -4
  58. package/dist/index.cjs +87 -85
  59. package/dist/index.d.ts +7 -7
  60. package/dist/index.js +9 -7
  61. package/dist/index.mjs +9 -7
  62. package/dist/{layer-D2LFcBVx.d.ts → layer-CsNGeVee.d.ts} +1 -1
  63. package/dist/observability/index.cjs +9 -9
  64. package/dist/observability/index.d.ts +7 -7
  65. package/dist/observability/index.js +8 -8
  66. package/dist/observability/index.mjs +8 -8
  67. package/dist/perf/cli.cjs +25 -25
  68. package/dist/perf/cli.js +10 -10
  69. package/dist/perf/cli.mjs +10 -10
  70. package/dist/perf/index.cjs +12 -12
  71. package/dist/perf/index.js +10 -10
  72. package/dist/perf/index.mjs +10 -10
  73. package/dist/{server-Bf1zNYZk.d.ts → server-BKKuzAW9.d.ts} +4 -4
  74. package/dist/{stream-I7bkvF7a.d.ts → stream-B8c_UKZq.d.ts} +1 -1
  75. package/dist/{tracer-DF83nLn6.d.ts → tracer-CS3yOXZx.d.ts} +2 -2
  76. package/dist/{tracing-CWV4gT0u.d.ts → tracing-DIAUf2x8.d.ts} +1 -1
  77. package/package.json +1 -1
@@ -2860,7 +2860,9 @@ var Runtime = class _Runtime {
2860
2860
  this.forkPolicy = makeForkPolicy(this.env, this.hooks);
2861
2861
  this.fiberEngine = this.makeFiberEngine(this.engineMode, args.wasm);
2862
2862
  this.fallbackUsed = false;
2863
+ this.staticFastPathOk = this.hooks === NoopHooks && this.scheduler === globalScheduler && !this.inferLane && this.engineMode === "ts";
2863
2864
  }
2865
+ staticFastPathOk;
2864
2866
  makeFiberEngine(mode, wasm) {
2865
2867
  if (mode === "ts") return new JsFiberEngine(this);
2866
2868
  if (mode === "wasm") return new WasmFiberEngine(this, wasm);
@@ -2990,11 +2992,8 @@ var Runtime = class _Runtime {
2990
2992
  });
2991
2993
  }
2992
2994
  tryRunNativeTopLevel(effect, cb) {
2993
- if (this.hooks !== NoopHooks) return false;
2995
+ if (!this.staticFastPathOk) return false;
2994
2996
  if (getCurrentFiber() !== null) return false;
2995
- if (this.scheduler !== globalScheduler) return false;
2996
- if (this.inferLane) return false;
2997
- if (this.engineMode !== "ts") return false;
2998
2997
  new NativeTopLevelRunner(this, effect, cb).start();
2999
2998
  return true;
3000
2999
  }
@@ -3070,16 +3069,25 @@ var NativeTopLevelRunner = class {
3070
3069
  this.runLoop();
3071
3070
  }
3072
3071
  runLoop() {
3073
- this.withFrame(() => {
3072
+ const prevFiber = setCurrentFiber(this);
3073
+ try {
3074
3074
  this.yielded = false;
3075
3075
  let budget = NATIVE_FAST_PATH_STEP_BUDGET;
3076
3076
  while (!this.result && budget-- > 0) {
3077
3077
  const current = this.current;
3078
3078
  switch (current._tag) {
3079
3079
  case "Succeed":
3080
+ if (!this.stack || this.stack.length === 0) {
3081
+ this.notify(Exit.succeed(current.value));
3082
+ return;
3083
+ }
3080
3084
  this.onSuccess(current.value);
3081
3085
  break;
3082
3086
  case "Fail":
3087
+ if (!this.stack || this.stack.length === 0) {
3088
+ this.notify(Exit.failCause(Cause.fail(current.error)));
3089
+ return;
3090
+ }
3083
3091
  this.onCause(Cause.fail(current.error));
3084
3092
  break;
3085
3093
  case "Sync":
@@ -3156,7 +3164,9 @@ var NativeTopLevelRunner = class {
3156
3164
  this.yielded = true;
3157
3165
  queueMicrotask(() => this.runLoop());
3158
3166
  }
3159
- });
3167
+ } finally {
3168
+ setCurrentFiber(prevFiber);
3169
+ }
3160
3170
  }
3161
3171
  runAsync(current) {
3162
3172
  let registered = false;
@@ -4136,6 +4146,11 @@ function withCurrentFiber(fiber, f) {
4136
4146
  _current = prev;
4137
4147
  }
4138
4148
  }
4149
+ function setCurrentFiber(fiber) {
4150
+ const prev = _current;
4151
+ _current = fiber;
4152
+ return prev;
4153
+ }
4139
4154
 
4140
4155
  // src/core/runtime/engine/JsFiberEngine.ts
4141
4156
  var JsFiberEngine = class {
@@ -4397,6 +4412,7 @@ export {
4397
4412
  getCurrentFiber,
4398
4413
  unsafeGetCurrentRuntime,
4399
4414
  withCurrentFiber,
4415
+ setCurrentFiber,
4400
4416
  Scope,
4401
4417
  withScopeAsync,
4402
4418
  withScope
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  makeFiberRef,
3
3
  makeRuntimeRecorder
4
- } from "./chunk-GXOIUBKE.js";
4
+ } from "./chunk-RZQK32C6.js";
5
5
  import {
6
6
  withHttpObservability
7
- } from "./chunk-JWFOWPMB.js";
7
+ } from "./chunk-XJSWDU2S.js";
8
8
  import {
9
9
  makeObservability
10
- } from "./chunk-A6EG5WRL.js";
10
+ } from "./chunk-TAPB4NN5.js";
11
11
  import {
12
12
  EventBus
13
- } from "./chunk-B2VXVNIS.js";
13
+ } from "./chunk-LI7WUVJN.js";
14
14
  import {
15
15
  makeDefaultHttpClient,
16
16
  makeHttp
17
- } from "./chunk-RZGB3DXR.js";
17
+ } from "./chunk-IHXF6NQG.js";
18
18
  import {
19
19
  Runtime,
20
20
  Scheduler
21
- } from "./chunk-APQBU7TM.js";
21
+ } from "./chunk-TN2P7RNK.js";
22
22
  import {
23
23
  asyncFlatMap,
24
24
  asyncSucceed,
@@ -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 _chunkZDZNV6NAcjs = require('./chunk-ZDZNV6NA.cjs');
3
+ var _chunkJKHBEWQAcjs = require('./chunk-JKHBEWQA.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: _chunkZDZNV6NAcjs.makeBoundedRingBuffer.call(void 0, perSubscriberCapacity, perSubscriberCapacity, this.options),
167
+ q: _chunkJKHBEWQAcjs.makeBoundedRingBuffer.call(void 0, perSubscriberCapacity, perSubscriberCapacity, this.options),
168
168
  dropped: 0
169
169
  });
170
170
  return () => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeBoundedRingBuffer
3
- } from "./chunk-MUMBUXU6.mjs";
3
+ } from "./chunk-BFNBU47C.mjs";
4
4
  import {
5
5
  Cause
6
6
  } from "./chunk-36I3M4UC.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RuntimeService
3
- } from "./chunk-FC5N5QHJ.js";
3
+ } from "./chunk-NWONRWBT.js";
4
4
  import {
5
5
  exemplarFromTraceContext,
6
6
  injectTraceContext,
@@ -13,26 +13,26 @@ import {
13
13
  spanEvent,
14
14
  validateHttpObservabilityOptions,
15
15
  withSpan
16
- } from "./chunk-A6EG5WRL.js";
16
+ } from "./chunk-TAPB4NN5.js";
17
17
  import {
18
18
  HttpClientService,
19
19
  getHttpRequestPolicy,
20
20
  httpErrorStatus,
21
21
  isRetryableHttpError,
22
22
  makeDefaultHttpClient
23
- } from "./chunk-RZGB3DXR.js";
23
+ } from "./chunk-IHXF6NQG.js";
24
24
  import {
25
25
  registerHttpEffect
26
26
  } from "./chunk-TRM4JUZQ.js";
27
27
  import {
28
28
  layerEffect,
29
29
  makeServiceTag
30
- } from "./chunk-EXBGIC66.js";
30
+ } from "./chunk-6W5DC3TX.js";
31
31
  import {
32
32
  Runtime,
33
33
  fromPromiseAbortable,
34
34
  getCurrentFiber
35
- } from "./chunk-APQBU7TM.js";
35
+ } from "./chunk-TN2P7RNK.js";
36
36
  import {
37
37
  Cause,
38
38
  asyncEffect,
@@ -6,7 +6,7 @@ import {
6
6
  getCurrentFiber,
7
7
  unsafeGetCurrentRuntime,
8
8
  unsafeRunFoldWithEnv
9
- } from "./chunk-APQBU7TM.js";
9
+ } from "./chunk-TN2P7RNK.js";
10
10
  import {
11
11
  Cause,
12
12
  Exit,
@@ -3,7 +3,7 @@ import {
3
3
  liveClock,
4
4
  runtimeClockFromEnv,
5
5
  unsafeGetCurrentRuntime
6
- } from "./chunk-MUMBUXU6.mjs";
6
+ } from "./chunk-BFNBU47C.mjs";
7
7
  import {
8
8
  Async,
9
9
  Cause,
@@ -2,14 +2,14 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkFYWWU3Z7cjs = require('./chunk-FYWWU3Z7.cjs');
5
+ var _chunkVXNWVAIGcjs = require('./chunk-VXNWVAIG.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkZDZNV6NAcjs = require('./chunk-ZDZNV6NA.cjs');
12
+ var _chunkJKHBEWQAcjs = require('./chunk-JKHBEWQA.cjs');
13
13
 
14
14
 
15
15
 
@@ -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 = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
799
+ const fiber = _chunkJKHBEWQAcjs.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]) ? _chunkZDZNV6NAcjs.ctxToObject.call(void 0, fiber.fiberContext.log) : {};
802
+ const inherited = _optionalChain([fiber, 'access', _35 => _35.fiberContext, 'optionalAccess', _36 => _36.log]) ? _chunkJKHBEWQAcjs.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 = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
818
+ const fiber = _chunkJKHBEWQAcjs.getCurrentFiber.call(void 0, );
819
819
  if (!_optionalChain([fiber, 'optionalAccess', _37 => _37.fiberContext])) return void 0;
820
- const previous = _nullishCoalesce(fiber.fiberContext.log, () => ( _chunkZDZNV6NAcjs.emptyContext));
820
+ const previous = _nullishCoalesce(fiber.fiberContext.log, () => ( _chunkJKHBEWQAcjs.emptyContext));
821
821
  const state = { fiber, previous, ended: false };
822
- fiber.fiberContext = { ...fiber.fiberContext, log: _chunkZDZNV6NAcjs.ctxExtend.call(void 0, previous, patch) };
822
+ fiber.fiberContext = { ...fiber.fiberContext, log: _chunkJKHBEWQAcjs.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 = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
997
+ const fiber = _chunkJKHBEWQAcjs.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 = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
1012
+ const fiber = _chunkJKHBEWQAcjs.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 = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
1018
+ const fiber = _chunkJKHBEWQAcjs.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 = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
1052
+ const fiber = _chunkJKHBEWQAcjs.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 = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
1135
+ const fiber = _chunkJKHBEWQAcjs.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;
@@ -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, _chunkFYWWU3Z7cjs.EventBus)()));
1624
- const rawMetrics = _chunkFYWWU3Z7cjs.makeMetrics.call(void 0, );
1623
+ const eventBus = _nullishCoalesce(options.eventBus, () => ( new (0, _chunkVXNWVAIGcjs.EventBus)()));
1624
+ const rawMetrics = _chunkVXNWVAIGcjs.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, _chunkFYWWU3Z7cjs.InMemoryTracer)({
1628
+ const tracer = new (0, _chunkVXNWVAIGcjs.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, _chunkZDZNV6NAcjs.Runtime)({
1985
+ const makeRuntime = (extraEnv, options = {}) => new (0, _chunkJKHBEWQAcjs.Runtime)({
1986
1986
  ...options,
1987
1987
  env: mergeEnv(extraEnv, env),
1988
1988
  hooks: observability.hooks
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  layerEffect,
3
3
  makeServiceTag
4
- } from "./chunk-KDXNWGPB.mjs";
4
+ } from "./chunk-XRRC5BBM.mjs";
5
5
  import {
6
6
  Runtime
7
- } from "./chunk-MUMBUXU6.mjs";
7
+ } from "./chunk-BFNBU47C.mjs";
8
8
  import {
9
9
  asyncSync
10
10
  } from "./chunk-36I3M4UC.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkZDZNV6NAcjs = require('./chunk-ZDZNV6NA.cjs');
6
+ var _chunkJKHBEWQAcjs = require('./chunk-JKHBEWQA.cjs');
7
7
 
8
8
 
9
9
 
@@ -20,14 +20,14 @@ var _chunkMVGUEJ5Zcjs = require('./chunk-MVGUEJ5Z.cjs');
20
20
  // src/core/runtime/combinators.ts
21
21
  function sleep(ms) {
22
22
  return _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (env, cb) => {
23
- const clock = _chunkZDZNV6NAcjs.runtimeClockFromEnv.call(void 0, env);
23
+ const clock = _chunkJKHBEWQAcjs.runtimeClockFromEnv.call(void 0, env);
24
24
  const id = clock.setTimeout(() => cb({ _tag: "Success", value: void 0 }), ms);
25
25
  return () => clock.clearTimeout(id);
26
26
  });
27
27
  }
28
28
  function timeout(effect, ms) {
29
29
  return _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (env, cb) => {
30
- const clock = _chunkZDZNV6NAcjs.runtimeClockFromEnv.call(void 0, env);
30
+ const clock = _chunkJKHBEWQAcjs.runtimeClockFromEnv.call(void 0, env);
31
31
  let done = false;
32
32
  let timerId;
33
33
  let fiber;
@@ -40,7 +40,7 @@ function timeout(effect, ms) {
40
40
  cause: { _tag: "Fail", error: { _tag: "TimeoutError", ms } }
41
41
  });
42
42
  }, ms);
43
- const runtime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime.call(void 0, );
43
+ const runtime = _chunkJKHBEWQAcjs.unsafeGetCurrentRuntime.call(void 0, );
44
44
  fiber = runtime.fork(effect);
45
45
  fiber.join((exit) => {
46
46
  if (done) return;
@@ -82,7 +82,7 @@ function retry(effect, policy) {
82
82
  );
83
83
  return _chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
84
84
  { _tag: "Sync", thunk: (env) => {
85
- const clock = _chunkZDZNV6NAcjs.runtimeClockFromEnv.call(void 0, env);
85
+ const clock = _chunkJKHBEWQAcjs.runtimeClockFromEnv.call(void 0, env);
86
86
  return { clock, startedAt: clock.now() };
87
87
  } },
88
88
  ({ clock, startedAt }) => loop(0, startedAt, clock)
@@ -110,8 +110,8 @@ function retryWithBackoff(effect, opts = {}) {
110
110
  // src/core/runtime/resource.ts
111
111
  function bracket(acquire, use, release) {
112
112
  return _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (env, cb) => {
113
- const runtime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime.call(void 0, );
114
- const scope = new (0, _chunkZDZNV6NAcjs.Scope)(runtime);
113
+ const runtime = _chunkJKHBEWQAcjs.unsafeGetCurrentRuntime.call(void 0, );
114
+ const scope = new (0, _chunkJKHBEWQAcjs.Scope)(runtime);
115
115
  const acquireFiber = scope.fork(acquire);
116
116
  acquireFiber.join((acquireExit) => {
117
117
  if (acquireExit._tag === "Failure") {
@@ -150,7 +150,7 @@ function safeRelease(release, resource2, exit) {
150
150
  }
151
151
  function ensuring(effect, finalizer) {
152
152
  return _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (env, cb) => {
153
- const runtime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime.call(void 0, );
153
+ const runtime = _chunkJKHBEWQAcjs.unsafeGetCurrentRuntime.call(void 0, );
154
154
  const fiber = runtime.fork(effect);
155
155
  fiber.join((exit) => {
156
156
  const fin = _chunkMVGUEJ5Zcjs.asyncFold.call(void 0,
@@ -224,7 +224,7 @@ function useManaged(m, body) {
224
224
  }
225
225
  function managedAll(manageds) {
226
226
  const acquire = _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (env, cb) => {
227
- const runtime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime.call(void 0, );
227
+ const runtime = _chunkJKHBEWQAcjs.unsafeGetCurrentRuntime.call(void 0, );
228
228
  const resources = [];
229
229
  let i = 0;
230
230
  const acquireNext = () => {
@@ -250,7 +250,7 @@ function managedAll(manageds) {
250
250
  });
251
251
  const release = (resources, exit) => {
252
252
  return _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (_env, cb) => {
253
- const runtime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime.call(void 0, );
253
+ const runtime = _chunkJKHBEWQAcjs.unsafeGetCurrentRuntime.call(void 0, );
254
254
  releaseAcquired(runtime, manageds, resources, exit).then(() => {
255
255
  cb({ _tag: "Success", value: void 0 });
256
256
  });
@@ -593,7 +593,7 @@ function union(left, right) {
593
593
  };
594
594
  }
595
595
  function makeScheduleDriver(schedule, options = {}) {
596
- const clock = _nullishCoalesce(options.clock, () => ( _chunkZDZNV6NAcjs.liveClock));
596
+ const clock = _nullishCoalesce(options.clock, () => ( _chunkJKHBEWQAcjs.liveClock));
597
597
  let startedAtMs = _nullishCoalesce(options.startedAtMs, () => ( clock.now()));
598
598
  let attempt = 0;
599
599
  let lastDecision;
@@ -661,7 +661,7 @@ function runSchedule(schedule, inputs, options = {}) {
661
661
  function driverFromRuntime(schedule, options = {}) {
662
662
  return _chunkMVGUEJ5Zcjs.Async.sync((env) => makeScheduleDriver(schedule, {
663
663
  ...options,
664
- clock: _nullishCoalesce(options.clock, () => ( _chunkZDZNV6NAcjs.runtimeClockFromEnv.call(void 0, env)))
664
+ clock: _nullishCoalesce(options.clock, () => ( _chunkJKHBEWQAcjs.runtimeClockFromEnv.call(void 0, env)))
665
665
  }));
666
666
  }
667
667
  function retryWithSchedule(effect, schedule, options = {}) {
@@ -719,7 +719,7 @@ function normalizeCap(ms) {
719
719
  return normalizeDelay(ms);
720
720
  }
721
721
  function defaultClock() {
722
- return _chunkZDZNV6NAcjs.liveClock.now();
722
+ return _chunkJKHBEWQAcjs.liveClock.now();
723
723
  }
724
724
  function nowFromContext(context) {
725
725
  return _nullishCoalesce(_optionalChain([context, 'optionalAccess', _4 => _4.clock, 'access', _5 => _5.now, 'call', _6 => _6()]), () => ( defaultClock()));
@@ -37,7 +37,7 @@
37
37
 
38
38
 
39
39
 
40
- var _chunkGOEO763Kcjs = require('../chunk-GOEO763K.cjs');
40
+ var _chunk2XXQ3NVTcjs = require('../chunk-2XXQ3NVT.cjs');
41
41
 
42
42
 
43
43
  var _chunk7TKI527Dcjs = require('../chunk-7TKI527D.cjs');
@@ -53,11 +53,11 @@ var _chunk7TKI527Dcjs = require('../chunk-7TKI527D.cjs');
53
53
 
54
54
 
55
55
 
56
- var _chunkYQWZ7FZXcjs = require('../chunk-YQWZ7FZX.cjs');
56
+ var _chunkJQCQWO47cjs = require('../chunk-JQCQWO47.cjs');
57
57
 
58
58
 
59
59
 
60
- var _chunkZ2YIDHRIcjs = require('../chunk-Z2YIDHRI.cjs');
60
+ var _chunkENMKEX3Ncjs = require('../chunk-ENMKEX3N.cjs');
61
61
 
62
62
 
63
63
 
@@ -65,7 +65,7 @@ var _chunkZ2YIDHRIcjs = require('../chunk-Z2YIDHRI.cjs');
65
65
 
66
66
 
67
67
 
68
- var _chunkFYWWU3Z7cjs = require('../chunk-FYWWU3Z7.cjs');
68
+ var _chunkVXNWVAIGcjs = require('../chunk-VXNWVAIG.cjs');
69
69
 
70
70
 
71
71
 
@@ -154,7 +154,7 @@ var _chunkFYWWU3Z7cjs = require('../chunk-FYWWU3Z7.cjs');
154
154
 
155
155
 
156
156
 
157
- var _chunk6STX4PS3cjs = require('../chunk-6STX4PS3.cjs');
157
+ var _chunkZZ2CMYJLcjs = require('../chunk-ZZ2CMYJL.cjs');
158
158
 
159
159
 
160
160
 
@@ -184,7 +184,8 @@ var _chunk6STX4PS3cjs = require('../chunk-6STX4PS3.cjs');
184
184
 
185
185
 
186
186
 
187
- var _chunkZDZNV6NAcjs = require('../chunk-ZDZNV6NA.cjs');
187
+
188
+ var _chunkJKHBEWQAcjs = require('../chunk-JKHBEWQA.cjs');
188
189
 
189
190
 
190
191
 
@@ -435,4 +436,5 @@ require('../chunk-OBGZSXTJ.cjs');
435
436
 
436
437
 
437
438
 
438
- exports.Async = _chunkMVGUEJ5Zcjs.Async; exports.Cause = _chunkMVGUEJ5Zcjs.Cause; exports.EventBus = _chunkFYWWU3Z7cjs.EventBus; exports.Exit = _chunkMVGUEJ5Zcjs.Exit; exports.InMemoryTracer = _chunkFYWWU3Z7cjs.InMemoryTracer; exports.Layer = _chunk6STX4PS3cjs.Layer; exports.LayerContext = _chunk6STX4PS3cjs.LayerContext; exports.MissingLayerServiceError = _chunk6STX4PS3cjs.MissingLayerServiceError; exports.NoopHooks = _chunkZDZNV6NAcjs.NoopHooks; exports.Resource = _chunk6STX4PS3cjs.Resource; exports.Runtime = _chunkZDZNV6NAcjs.Runtime; exports.RuntimeFiber = _chunkZDZNV6NAcjs.RuntimeFiber; exports.RuntimeRegistry = _chunkGOEO763Kcjs.RuntimeRegistry; exports.RuntimeService = _chunkZ2YIDHRIcjs.RuntimeService; exports.Schedule = _chunk6STX4PS3cjs.Schedule; exports.Scope = _chunkZDZNV6NAcjs.Scope; exports.Supervisor = _chunkGOEO763Kcjs.Supervisor; exports.TestClock = _chunkGOEO763Kcjs.TestClock; exports.TestScheduler = _chunkGOEO763Kcjs.TestScheduler; exports.abortablePromiseStats = _chunkZDZNV6NAcjs.abortablePromiseStats; exports.acquireRelease = _chunkMVGUEJ5Zcjs.acquireRelease; exports.andThenSchedule = _chunk6STX4PS3cjs.andThen; exports.assertCompletesWithin = _chunkGOEO763Kcjs.assertCompletesWithin; exports.assertFails = _chunkGOEO763Kcjs.assertFails; exports.assertFailsWith = _chunkGOEO763Kcjs.assertFailsWith; exports.assertSucceeds = _chunkGOEO763Kcjs.assertSucceeds; exports.async = _chunkMVGUEJ5Zcjs.asyncEffect; exports.asyncCatchAll = _chunkMVGUEJ5Zcjs.asyncCatchAll; exports.asyncFail = _chunkMVGUEJ5Zcjs.asyncFail; exports.asyncFlatMap = _chunkMVGUEJ5Zcjs.asyncFlatMap; exports.asyncFold = _chunkMVGUEJ5Zcjs.asyncFold; exports.asyncInterruptible = _chunkMVGUEJ5Zcjs.asyncInterruptible; exports.asyncMap = _chunkMVGUEJ5Zcjs.asyncMap; exports.asyncMapError = _chunkMVGUEJ5Zcjs.asyncMapError; exports.asyncSucceed = _chunkMVGUEJ5Zcjs.asyncSucceed; exports.asyncSync = _chunkMVGUEJ5Zcjs.asyncSync; exports.asyncTotal = _chunkMVGUEJ5Zcjs.asyncTotal; exports.bracket = _chunk6STX4PS3cjs.bracket; exports.buildLayer = _chunk6STX4PS3cjs.buildLayer; exports.catchAll = _chunkMVGUEJ5Zcjs.catchAll; exports.catchTag = _chunkGOEO763Kcjs.catchTag; exports.catchTags = _chunkGOEO763Kcjs.catchTags; exports.composeAll = _chunk6STX4PS3cjs.composeAll; exports.composeLayer = _chunk6STX4PS3cjs.compose; exports.consoleJsonLogger = _chunkGOEO763Kcjs.consoleJsonLogger; exports.contramapSchedule = _chunk6STX4PS3cjs.contramap; exports.ctxExtend = _chunkZDZNV6NAcjs.ctxExtend; exports.ctxToObject = _chunkZDZNV6NAcjs.ctxToObject; exports.defaultTracer = _chunkGOEO763Kcjs.defaultTracer; exports.defineConfigLayer = _chunkGOEO763Kcjs.defineConfigLayer; exports.defineLayer = _chunk6STX4PS3cjs.defineLayer; exports.defineService = _chunk6STX4PS3cjs.defineService; exports.delayedEffect = _chunkGOEO763Kcjs.delayedEffect; exports.derivedRef = _chunkGOEO763Kcjs.derivedRef; exports.dumpAllFibers = _chunkGOEO763Kcjs.dumpAllFibers; exports.elapsed = _chunk6STX4PS3cjs.elapsed; exports.emptyContext = _chunkZDZNV6NAcjs.emptyContext; exports.end = _chunkMVGUEJ5Zcjs.end; exports.ensuring = _chunk6STX4PS3cjs.ensuring; exports.exponential = _chunk6STX4PS3cjs.exponential; exports.fail = _chunkMVGUEJ5Zcjs.fail; exports.fiberRefSnapshot = _chunkYQWZ7FZXcjs.fiberRefSnapshot; exports.fibonacci = _chunk6STX4PS3cjs.fibonacci; exports.fixed = _chunk6STX4PS3cjs.fixed; exports.flakyEffect = _chunkGOEO763Kcjs.flakyEffect; exports.flatMap = _chunkMVGUEJ5Zcjs.flatMap; exports.forever = _chunk6STX4PS3cjs.forever; exports.fork = _chunkZDZNV6NAcjs.fork; exports.formatCause = _chunkMVGUEJ5Zcjs.formatCause; exports.formatLayerError = _chunk6STX4PS3cjs.formatLayerError; exports.fromPromiseAbortable = _chunkZDZNV6NAcjs.fromPromiseAbortable; exports.getBenchmarkBudget = _chunkZDZNV6NAcjs.getBenchmarkBudget; exports.getCurrentFiber = _chunkZDZNV6NAcjs.getCurrentFiber; exports.getFiberRef = _chunkYQWZ7FZXcjs.getFiberRef; exports.getService = _chunk6STX4PS3cjs.getService; exports.getServices = _chunk6STX4PS3cjs.getServices; exports.gracefulShutdown = _chunkGOEO763Kcjs.gracefulShutdown; exports.interruptible = _chunkMVGUEJ5Zcjs.interruptible; exports.intersect = _chunk6STX4PS3cjs.intersect; exports.isCause = _chunkMVGUEJ5Zcjs.isCause; exports.jitter = _chunk6STX4PS3cjs.jitter; exports.jittered = _chunk6STX4PS3cjs.jittered; exports.jitteredSchedule = _chunk6STX4PS3cjs.jitteredSchedule; exports.joinSupervised = _chunkGOEO763Kcjs.joinSupervised; exports.layer = _chunk6STX4PS3cjs.layer; exports.layerEffect = _chunk6STX4PS3cjs.layerEffect; exports.layerFail = _chunk6STX4PS3cjs.layerFail; exports.layerFrom = _chunk6STX4PS3cjs.layerFrom; exports.layerFromContext = _chunk6STX4PS3cjs.layerFromContext; exports.layerSucceed = _chunk6STX4PS3cjs.layerSucceed; exports.layerValue = _chunk6STX4PS3cjs.layerValue; exports.linear = _chunk6STX4PS3cjs.linear; exports.linkAbortController = _chunkGOEO763Kcjs.linkAbortController; exports.liveClock = _chunkZDZNV6NAcjs.liveClock; exports.locallyFiberRef = _chunkYQWZ7FZXcjs.locallyFiberRef; exports.locallyFiberRefWith = _chunkYQWZ7FZXcjs.locallyFiberRefWith; exports.makeCancelToken = _chunkGOEO763Kcjs.makeCancelToken; exports.makeCircuitBreaker = _chunk7TKI527Dcjs.makeCircuitBreaker; exports.makeConfigLayer = _chunkGOEO763Kcjs.makeConfigLayer; exports.makeFiberRef = _chunkYQWZ7FZXcjs.makeFiberRef; exports.makeLayerScope = _chunk6STX4PS3cjs.makeLayerScope; exports.makeMetrics = _chunkFYWWU3Z7cjs.makeMetrics; exports.makeRef = _chunkGOEO763Kcjs.makeRef; exports.makeResource = _chunk6STX4PS3cjs.makeResource; exports.makeRuntime = _chunkGOEO763Kcjs.makeRuntime; exports.makeRuntimeEventRecord = _chunkFYWWU3Z7cjs.makeRuntimeEventRecord; exports.makeRuntimeLayer = _chunkZ2YIDHRIcjs.makeRuntimeLayer; exports.makeRuntimeRecorder = _chunkYQWZ7FZXcjs.makeRuntimeRecorder; exports.makeScheduleDriver = _chunk6STX4PS3cjs.makeScheduleDriver; exports.makeSemaphore = _chunkGOEO763Kcjs.makeSemaphore; exports.makeServiceTag = _chunk6STX4PS3cjs.makeServiceTag; exports.makeSupervisor = _chunkGOEO763Kcjs.makeSupervisor; exports.makeTestLayer = _chunk6STX4PS3cjs.makeTestLayer; exports.makeTestLayers = _chunk6STX4PS3cjs.makeTestLayers; exports.makeTestRuntime = _chunkGOEO763Kcjs.makeTestRuntime; exports.makeTracer = _chunkGOEO763Kcjs.makeTracer; exports.makeWorkerPool = _chunkGOEO763Kcjs.makeWorkerPool; exports.managed = _chunk6STX4PS3cjs.managed; exports.managedAll = _chunk6STX4PS3cjs.managedAll; exports.map = _chunkMVGUEJ5Zcjs.map; exports.mapAsync = _chunkMVGUEJ5Zcjs.mapAsync; exports.mapError = _chunkMVGUEJ5Zcjs.mapError; exports.mapErrorTyped = _chunkGOEO763Kcjs.mapError; exports.mapLayer = _chunk6STX4PS3cjs.mapLayer; exports.mapSchedule = _chunk6STX4PS3cjs.map; exports.mapTryAsync = _chunkMVGUEJ5Zcjs.mapTryAsync; exports.maxDelay = _chunk6STX4PS3cjs.maxDelay; exports.maxElapsed = _chunk6STX4PS3cjs.maxElapsed; exports.mergeAll = _chunk6STX4PS3cjs.mergeAll; exports.mergeLayer = _chunk6STX4PS3cjs.merge; exports.modifyFiberRef = _chunkYQWZ7FZXcjs.modifyFiberRef; exports.namedSchedule = _chunk6STX4PS3cjs.named; exports.never = _chunk6STX4PS3cjs.never; exports.neverEffect = _chunkGOEO763Kcjs.neverEffect; exports.none = _chunkMVGUEJ5Zcjs.none; exports.once = _chunk6STX4PS3cjs.once; exports.orElse = _chunkGOEO763Kcjs.orElse; exports.orElseOptional = _chunkMVGUEJ5Zcjs.orElseOptional; exports.pollWithSchedule = _chunk6STX4PS3cjs.poll; exports.prettyCause = _chunkMVGUEJ5Zcjs.prettyCause; exports.provide = _chunk6STX4PS3cjs.provide; exports.provideContext = _chunk6STX4PS3cjs.provideContext; exports.provideLayer = _chunk6STX4PS3cjs.provideLayer; exports.provideLayerContext = _chunk6STX4PS3cjs.provideLayerContext; exports.recordAbortablePromiseFinish = _chunkZDZNV6NAcjs.recordAbortablePromiseFinish; exports.recordAbortablePromiseStart = _chunkZDZNV6NAcjs.recordAbortablePromiseStart; exports.recurs = _chunk6STX4PS3cjs.recurs; exports.registerShutdownHooks = _chunkGOEO763Kcjs.registerShutdownHooks; exports.repeatWithSchedule = _chunk6STX4PS3cjs.repeatWithSchedule; exports.repeatWithScheduleAlias = _chunk6STX4PS3cjs.repeat; exports.resetAbortablePromiseStats = _chunkZDZNV6NAcjs.resetAbortablePromiseStats; exports.resource = _chunk6STX4PS3cjs.resource; exports.resourceAll = _chunk6STX4PS3cjs.resourceAll; exports.resourceFromManaged = _chunk6STX4PS3cjs.resourceFromManaged; exports.resourceSucceed = _chunk6STX4PS3cjs.resourceSucceed; exports.retry = _chunk6STX4PS3cjs.retry; exports.retryN = _chunk6STX4PS3cjs.retryN; exports.retryWithBackoff = _chunk6STX4PS3cjs.retryWithBackoff; exports.retryWithSchedule = _chunk6STX4PS3cjs.retryWithSchedule; exports.retryWithScheduleAlias = _chunk6STX4PS3cjs.retry2; exports.runEffect = _chunkGOEO763Kcjs.runEffect; exports.runExit = _chunkGOEO763Kcjs.runExit; exports.runPromise = _chunkGOEO763Kcjs.runPromise; exports.runSchedule = _chunk6STX4PS3cjs.runSchedule; exports.runtimeClockFromEnv = _chunkZDZNV6NAcjs.runtimeClockFromEnv; exports.runtimeEventRecordContext = _chunkFYWWU3Z7cjs.runtimeEventRecordContext; exports.runtimeForCaller = _chunkZDZNV6NAcjs.runtimeForCaller; exports.runtimeHooksToEventHandler = _chunkFYWWU3Z7cjs.runtimeHooksToEventHandler; exports.scheduleDriver = _chunk6STX4PS3cjs.scheduleDriver; exports.serviceTag = _chunk6STX4PS3cjs.serviceTag; exports.setAbortablePromisePerLabelTracking = _chunkZDZNV6NAcjs.setAbortablePromisePerLabelTracking; exports.setBenchmarkBudget = _chunkZDZNV6NAcjs.setBenchmarkBudget; exports.setFiberRef = _chunkYQWZ7FZXcjs.setFiberRef; exports.sleep = _chunk6STX4PS3cjs.sleep; exports.some = _chunkMVGUEJ5Zcjs.some; exports.spaced = _chunk6STX4PS3cjs.spaced; exports.succeed = _chunkMVGUEJ5Zcjs.succeed; exports.supervise = _chunkGOEO763Kcjs.supervise; exports.sync = _chunkMVGUEJ5Zcjs.sync; exports.tagError = _chunkGOEO763Kcjs.tagError; exports.takeSchedule = _chunk6STX4PS3cjs.take; exports.tapDecision = _chunk6STX4PS3cjs.tapDecision; exports.timeout = _chunk6STX4PS3cjs.timeout; exports.toPromise = _chunkZDZNV6NAcjs.toPromise; exports.toPromiseByCaller = _chunkZDZNV6NAcjs.toPromiseByCaller; exports.uninterruptible = _chunkMVGUEJ5Zcjs.uninterruptible; exports.uninterruptibleMask = _chunkMVGUEJ5Zcjs.uninterruptibleMask; exports.union = _chunk6STX4PS3cjs.union; exports.unit = _chunkMVGUEJ5Zcjs.unit; exports.unsafeGetCurrentRuntime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime; exports.unsafeGetFiberRef = _chunkYQWZ7FZXcjs.unsafeGetFiberRef; exports.unsafeRunAsync = _chunkZDZNV6NAcjs.unsafeRunAsync; exports.unsafeRunFoldWithEnv = _chunkZDZNV6NAcjs.unsafeRunFoldWithEnv; exports.unsafeSetFiberRef = _chunkYQWZ7FZXcjs.unsafeSetFiberRef; exports.untilInput = _chunk6STX4PS3cjs.untilInput; exports.untilOutput = _chunk6STX4PS3cjs.untilOutput; exports.upTo = _chunk6STX4PS3cjs.upTo; exports.updateFiberRef = _chunkYQWZ7FZXcjs.updateFiberRef; exports.useManaged = _chunk6STX4PS3cjs.useManaged; exports.useResource = _chunk6STX4PS3cjs.useResource; exports.useService = _chunk6STX4PS3cjs.useService; exports.useServices = _chunk6STX4PS3cjs.useServices; exports.whileInput = _chunk6STX4PS3cjs.whileInput; exports.whileOutput = _chunk6STX4PS3cjs.whileOutput; exports.windowed = _chunk6STX4PS3cjs.windowed; exports.withAsyncPromise = _chunkMVGUEJ5Zcjs.withAsyncPromise; exports.withCurrentFiber = _chunkZDZNV6NAcjs.withCurrentFiber; exports.withScope = _chunkZDZNV6NAcjs.withScope; exports.withScopeAsync = _chunkZDZNV6NAcjs.withScopeAsync;
439
+
440
+ exports.Async = _chunkMVGUEJ5Zcjs.Async; exports.Cause = _chunkMVGUEJ5Zcjs.Cause; exports.EventBus = _chunkVXNWVAIGcjs.EventBus; exports.Exit = _chunkMVGUEJ5Zcjs.Exit; exports.InMemoryTracer = _chunkVXNWVAIGcjs.InMemoryTracer; exports.Layer = _chunkZZ2CMYJLcjs.Layer; exports.LayerContext = _chunkZZ2CMYJLcjs.LayerContext; exports.MissingLayerServiceError = _chunkZZ2CMYJLcjs.MissingLayerServiceError; exports.NoopHooks = _chunkJKHBEWQAcjs.NoopHooks; exports.Resource = _chunkZZ2CMYJLcjs.Resource; exports.Runtime = _chunkJKHBEWQAcjs.Runtime; exports.RuntimeFiber = _chunkJKHBEWQAcjs.RuntimeFiber; exports.RuntimeRegistry = _chunk2XXQ3NVTcjs.RuntimeRegistry; exports.RuntimeService = _chunkENMKEX3Ncjs.RuntimeService; exports.Schedule = _chunkZZ2CMYJLcjs.Schedule; exports.Scope = _chunkJKHBEWQAcjs.Scope; exports.Supervisor = _chunk2XXQ3NVTcjs.Supervisor; exports.TestClock = _chunk2XXQ3NVTcjs.TestClock; exports.TestScheduler = _chunk2XXQ3NVTcjs.TestScheduler; exports.abortablePromiseStats = _chunkJKHBEWQAcjs.abortablePromiseStats; exports.acquireRelease = _chunkMVGUEJ5Zcjs.acquireRelease; exports.andThenSchedule = _chunkZZ2CMYJLcjs.andThen; exports.assertCompletesWithin = _chunk2XXQ3NVTcjs.assertCompletesWithin; exports.assertFails = _chunk2XXQ3NVTcjs.assertFails; exports.assertFailsWith = _chunk2XXQ3NVTcjs.assertFailsWith; exports.assertSucceeds = _chunk2XXQ3NVTcjs.assertSucceeds; exports.async = _chunkMVGUEJ5Zcjs.asyncEffect; exports.asyncCatchAll = _chunkMVGUEJ5Zcjs.asyncCatchAll; exports.asyncFail = _chunkMVGUEJ5Zcjs.asyncFail; exports.asyncFlatMap = _chunkMVGUEJ5Zcjs.asyncFlatMap; exports.asyncFold = _chunkMVGUEJ5Zcjs.asyncFold; exports.asyncInterruptible = _chunkMVGUEJ5Zcjs.asyncInterruptible; exports.asyncMap = _chunkMVGUEJ5Zcjs.asyncMap; exports.asyncMapError = _chunkMVGUEJ5Zcjs.asyncMapError; exports.asyncSucceed = _chunkMVGUEJ5Zcjs.asyncSucceed; exports.asyncSync = _chunkMVGUEJ5Zcjs.asyncSync; exports.asyncTotal = _chunkMVGUEJ5Zcjs.asyncTotal; exports.bracket = _chunkZZ2CMYJLcjs.bracket; exports.buildLayer = _chunkZZ2CMYJLcjs.buildLayer; exports.catchAll = _chunkMVGUEJ5Zcjs.catchAll; exports.catchTag = _chunk2XXQ3NVTcjs.catchTag; exports.catchTags = _chunk2XXQ3NVTcjs.catchTags; exports.composeAll = _chunkZZ2CMYJLcjs.composeAll; exports.composeLayer = _chunkZZ2CMYJLcjs.compose; exports.consoleJsonLogger = _chunk2XXQ3NVTcjs.consoleJsonLogger; exports.contramapSchedule = _chunkZZ2CMYJLcjs.contramap; exports.ctxExtend = _chunkJKHBEWQAcjs.ctxExtend; exports.ctxToObject = _chunkJKHBEWQAcjs.ctxToObject; exports.defaultTracer = _chunk2XXQ3NVTcjs.defaultTracer; exports.defineConfigLayer = _chunk2XXQ3NVTcjs.defineConfigLayer; exports.defineLayer = _chunkZZ2CMYJLcjs.defineLayer; exports.defineService = _chunkZZ2CMYJLcjs.defineService; exports.delayedEffect = _chunk2XXQ3NVTcjs.delayedEffect; exports.derivedRef = _chunk2XXQ3NVTcjs.derivedRef; exports.dumpAllFibers = _chunk2XXQ3NVTcjs.dumpAllFibers; exports.elapsed = _chunkZZ2CMYJLcjs.elapsed; exports.emptyContext = _chunkJKHBEWQAcjs.emptyContext; exports.end = _chunkMVGUEJ5Zcjs.end; exports.ensuring = _chunkZZ2CMYJLcjs.ensuring; exports.exponential = _chunkZZ2CMYJLcjs.exponential; exports.fail = _chunkMVGUEJ5Zcjs.fail; exports.fiberRefSnapshot = _chunkJQCQWO47cjs.fiberRefSnapshot; exports.fibonacci = _chunkZZ2CMYJLcjs.fibonacci; exports.fixed = _chunkZZ2CMYJLcjs.fixed; exports.flakyEffect = _chunk2XXQ3NVTcjs.flakyEffect; exports.flatMap = _chunkMVGUEJ5Zcjs.flatMap; exports.forever = _chunkZZ2CMYJLcjs.forever; exports.fork = _chunkJKHBEWQAcjs.fork; exports.formatCause = _chunkMVGUEJ5Zcjs.formatCause; exports.formatLayerError = _chunkZZ2CMYJLcjs.formatLayerError; exports.fromPromiseAbortable = _chunkJKHBEWQAcjs.fromPromiseAbortable; exports.getBenchmarkBudget = _chunkJKHBEWQAcjs.getBenchmarkBudget; exports.getCurrentFiber = _chunkJKHBEWQAcjs.getCurrentFiber; exports.getFiberRef = _chunkJQCQWO47cjs.getFiberRef; exports.getService = _chunkZZ2CMYJLcjs.getService; exports.getServices = _chunkZZ2CMYJLcjs.getServices; exports.gracefulShutdown = _chunk2XXQ3NVTcjs.gracefulShutdown; exports.interruptible = _chunkMVGUEJ5Zcjs.interruptible; exports.intersect = _chunkZZ2CMYJLcjs.intersect; exports.isCause = _chunkMVGUEJ5Zcjs.isCause; exports.jitter = _chunkZZ2CMYJLcjs.jitter; exports.jittered = _chunkZZ2CMYJLcjs.jittered; exports.jitteredSchedule = _chunkZZ2CMYJLcjs.jitteredSchedule; exports.joinSupervised = _chunk2XXQ3NVTcjs.joinSupervised; exports.layer = _chunkZZ2CMYJLcjs.layer; exports.layerEffect = _chunkZZ2CMYJLcjs.layerEffect; exports.layerFail = _chunkZZ2CMYJLcjs.layerFail; exports.layerFrom = _chunkZZ2CMYJLcjs.layerFrom; exports.layerFromContext = _chunkZZ2CMYJLcjs.layerFromContext; exports.layerSucceed = _chunkZZ2CMYJLcjs.layerSucceed; exports.layerValue = _chunkZZ2CMYJLcjs.layerValue; exports.linear = _chunkZZ2CMYJLcjs.linear; exports.linkAbortController = _chunk2XXQ3NVTcjs.linkAbortController; exports.liveClock = _chunkJKHBEWQAcjs.liveClock; exports.locallyFiberRef = _chunkJQCQWO47cjs.locallyFiberRef; exports.locallyFiberRefWith = _chunkJQCQWO47cjs.locallyFiberRefWith; exports.makeCancelToken = _chunk2XXQ3NVTcjs.makeCancelToken; exports.makeCircuitBreaker = _chunk7TKI527Dcjs.makeCircuitBreaker; exports.makeConfigLayer = _chunk2XXQ3NVTcjs.makeConfigLayer; exports.makeFiberRef = _chunkJQCQWO47cjs.makeFiberRef; exports.makeLayerScope = _chunkZZ2CMYJLcjs.makeLayerScope; exports.makeMetrics = _chunkVXNWVAIGcjs.makeMetrics; exports.makeRef = _chunk2XXQ3NVTcjs.makeRef; exports.makeResource = _chunkZZ2CMYJLcjs.makeResource; exports.makeRuntime = _chunk2XXQ3NVTcjs.makeRuntime; exports.makeRuntimeEventRecord = _chunkVXNWVAIGcjs.makeRuntimeEventRecord; exports.makeRuntimeLayer = _chunkENMKEX3Ncjs.makeRuntimeLayer; exports.makeRuntimeRecorder = _chunkJQCQWO47cjs.makeRuntimeRecorder; exports.makeScheduleDriver = _chunkZZ2CMYJLcjs.makeScheduleDriver; exports.makeSemaphore = _chunk2XXQ3NVTcjs.makeSemaphore; exports.makeServiceTag = _chunkZZ2CMYJLcjs.makeServiceTag; exports.makeSupervisor = _chunk2XXQ3NVTcjs.makeSupervisor; exports.makeTestLayer = _chunkZZ2CMYJLcjs.makeTestLayer; exports.makeTestLayers = _chunkZZ2CMYJLcjs.makeTestLayers; exports.makeTestRuntime = _chunk2XXQ3NVTcjs.makeTestRuntime; exports.makeTracer = _chunk2XXQ3NVTcjs.makeTracer; exports.makeWorkerPool = _chunk2XXQ3NVTcjs.makeWorkerPool; exports.managed = _chunkZZ2CMYJLcjs.managed; exports.managedAll = _chunkZZ2CMYJLcjs.managedAll; exports.map = _chunkMVGUEJ5Zcjs.map; exports.mapAsync = _chunkMVGUEJ5Zcjs.mapAsync; exports.mapError = _chunkMVGUEJ5Zcjs.mapError; exports.mapErrorTyped = _chunk2XXQ3NVTcjs.mapError; exports.mapLayer = _chunkZZ2CMYJLcjs.mapLayer; exports.mapSchedule = _chunkZZ2CMYJLcjs.map; exports.mapTryAsync = _chunkMVGUEJ5Zcjs.mapTryAsync; exports.maxDelay = _chunkZZ2CMYJLcjs.maxDelay; exports.maxElapsed = _chunkZZ2CMYJLcjs.maxElapsed; exports.mergeAll = _chunkZZ2CMYJLcjs.mergeAll; exports.mergeLayer = _chunkZZ2CMYJLcjs.merge; exports.modifyFiberRef = _chunkJQCQWO47cjs.modifyFiberRef; exports.namedSchedule = _chunkZZ2CMYJLcjs.named; exports.never = _chunkZZ2CMYJLcjs.never; exports.neverEffect = _chunk2XXQ3NVTcjs.neverEffect; exports.none = _chunkMVGUEJ5Zcjs.none; exports.once = _chunkZZ2CMYJLcjs.once; exports.orElse = _chunk2XXQ3NVTcjs.orElse; exports.orElseOptional = _chunkMVGUEJ5Zcjs.orElseOptional; exports.pollWithSchedule = _chunkZZ2CMYJLcjs.poll; exports.prettyCause = _chunkMVGUEJ5Zcjs.prettyCause; exports.provide = _chunkZZ2CMYJLcjs.provide; exports.provideContext = _chunkZZ2CMYJLcjs.provideContext; exports.provideLayer = _chunkZZ2CMYJLcjs.provideLayer; exports.provideLayerContext = _chunkZZ2CMYJLcjs.provideLayerContext; exports.recordAbortablePromiseFinish = _chunkJKHBEWQAcjs.recordAbortablePromiseFinish; exports.recordAbortablePromiseStart = _chunkJKHBEWQAcjs.recordAbortablePromiseStart; exports.recurs = _chunkZZ2CMYJLcjs.recurs; exports.registerShutdownHooks = _chunk2XXQ3NVTcjs.registerShutdownHooks; exports.repeatWithSchedule = _chunkZZ2CMYJLcjs.repeatWithSchedule; exports.repeatWithScheduleAlias = _chunkZZ2CMYJLcjs.repeat; exports.resetAbortablePromiseStats = _chunkJKHBEWQAcjs.resetAbortablePromiseStats; exports.resource = _chunkZZ2CMYJLcjs.resource; exports.resourceAll = _chunkZZ2CMYJLcjs.resourceAll; exports.resourceFromManaged = _chunkZZ2CMYJLcjs.resourceFromManaged; exports.resourceSucceed = _chunkZZ2CMYJLcjs.resourceSucceed; exports.retry = _chunkZZ2CMYJLcjs.retry; exports.retryN = _chunkZZ2CMYJLcjs.retryN; exports.retryWithBackoff = _chunkZZ2CMYJLcjs.retryWithBackoff; exports.retryWithSchedule = _chunkZZ2CMYJLcjs.retryWithSchedule; exports.retryWithScheduleAlias = _chunkZZ2CMYJLcjs.retry2; exports.runEffect = _chunk2XXQ3NVTcjs.runEffect; exports.runExit = _chunk2XXQ3NVTcjs.runExit; exports.runPromise = _chunk2XXQ3NVTcjs.runPromise; exports.runSchedule = _chunkZZ2CMYJLcjs.runSchedule; exports.runtimeClockFromEnv = _chunkJKHBEWQAcjs.runtimeClockFromEnv; exports.runtimeEventRecordContext = _chunkVXNWVAIGcjs.runtimeEventRecordContext; exports.runtimeForCaller = _chunkJKHBEWQAcjs.runtimeForCaller; exports.runtimeHooksToEventHandler = _chunkVXNWVAIGcjs.runtimeHooksToEventHandler; exports.scheduleDriver = _chunkZZ2CMYJLcjs.scheduleDriver; exports.serviceTag = _chunkZZ2CMYJLcjs.serviceTag; exports.setAbortablePromisePerLabelTracking = _chunkJKHBEWQAcjs.setAbortablePromisePerLabelTracking; exports.setBenchmarkBudget = _chunkJKHBEWQAcjs.setBenchmarkBudget; exports.setCurrentFiber = _chunkJKHBEWQAcjs.setCurrentFiber; exports.setFiberRef = _chunkJQCQWO47cjs.setFiberRef; exports.sleep = _chunkZZ2CMYJLcjs.sleep; exports.some = _chunkMVGUEJ5Zcjs.some; exports.spaced = _chunkZZ2CMYJLcjs.spaced; exports.succeed = _chunkMVGUEJ5Zcjs.succeed; exports.supervise = _chunk2XXQ3NVTcjs.supervise; exports.sync = _chunkMVGUEJ5Zcjs.sync; exports.tagError = _chunk2XXQ3NVTcjs.tagError; exports.takeSchedule = _chunkZZ2CMYJLcjs.take; exports.tapDecision = _chunkZZ2CMYJLcjs.tapDecision; exports.timeout = _chunkZZ2CMYJLcjs.timeout; exports.toPromise = _chunkJKHBEWQAcjs.toPromise; exports.toPromiseByCaller = _chunkJKHBEWQAcjs.toPromiseByCaller; exports.uninterruptible = _chunkMVGUEJ5Zcjs.uninterruptible; exports.uninterruptibleMask = _chunkMVGUEJ5Zcjs.uninterruptibleMask; exports.union = _chunkZZ2CMYJLcjs.union; exports.unit = _chunkMVGUEJ5Zcjs.unit; exports.unsafeGetCurrentRuntime = _chunkJKHBEWQAcjs.unsafeGetCurrentRuntime; exports.unsafeGetFiberRef = _chunkJQCQWO47cjs.unsafeGetFiberRef; exports.unsafeRunAsync = _chunkJKHBEWQAcjs.unsafeRunAsync; exports.unsafeRunFoldWithEnv = _chunkJKHBEWQAcjs.unsafeRunFoldWithEnv; exports.unsafeSetFiberRef = _chunkJQCQWO47cjs.unsafeSetFiberRef; exports.untilInput = _chunkZZ2CMYJLcjs.untilInput; exports.untilOutput = _chunkZZ2CMYJLcjs.untilOutput; exports.upTo = _chunkZZ2CMYJLcjs.upTo; exports.updateFiberRef = _chunkJQCQWO47cjs.updateFiberRef; exports.useManaged = _chunkZZ2CMYJLcjs.useManaged; exports.useResource = _chunkZZ2CMYJLcjs.useResource; exports.useService = _chunkZZ2CMYJLcjs.useService; exports.useServices = _chunkZZ2CMYJLcjs.useServices; exports.whileInput = _chunkZZ2CMYJLcjs.whileInput; exports.whileOutput = _chunkZZ2CMYJLcjs.whileOutput; exports.windowed = _chunkZZ2CMYJLcjs.windowed; exports.withAsyncPromise = _chunkMVGUEJ5Zcjs.withAsyncPromise; exports.withCurrentFiber = _chunkJKHBEWQAcjs.withCurrentFiber; exports.withScope = _chunkJKHBEWQAcjs.withScope; exports.withScopeAsync = _chunkJKHBEWQAcjs.withScopeAsync;
@@ -1,10 +1,10 @@
1
- import { A as Async, a as RuntimeOptions, b as Runtime, E as Exit, aJ as Task, ay as ScheduleResult, aD as SchedulerStats, R as RuntimeHooks, f as RuntimeEventRecord, h as RuntimeRegistry, k as Fiber } from '../effect-DnGUuhw6.js';
2
- export { u as AbortablePromiseFinish, v as AbortablePromiseLabelStats, w as AbortablePromiseOptions, x as AbortablePromiseOutcome, y as AbortablePromiseStats, z as AbortablePromiseTimerWheel, D as AsyncWithPromise, H as CancelToken, I as Canceler, K as Cause, L as CausePrettyOptions, M as ContextNode, $ as FiberContext, l as FiberId, a1 as FiberInfo, a5 as FiberRunState, m as FiberStatus, ah as Interrupted, ai as InterruptibilityMode, J as JSONValue, al as None, am as NoopHooks, O as Option, as as RestoreInterruptibility, e as RuntimeEmitContext, d as RuntimeEvent, i as RuntimeFiber, g as RuntimeSpanLink, S as Scope, aF as ScopeId, aG as ScopeInfo, aH as Some, T as TraceContext, Z as ZIO, aM as abortablePromiseStats, aN as acquireRelease, aO as async, aP as asyncCatchAll, aQ as asyncFail, aR as asyncFlatMap, aS as asyncFold, aT as asyncInterruptible, aU as asyncMap, aV as asyncMapError, aW as asyncSucceed, aX as asyncSync, aY as asyncTotal, aZ as catchAll, a_ as ctxExtend, a$ as ctxToObject, b0 as emptyContext, b1 as end, b3 as fail, b4 as flatMap, b5 as fork, b6 as formatCause, b7 as fromPromiseAbortable, b8 as getBenchmarkBudget, b9 as getCurrentFiber, bc as interruptible, bd as isCause, bf as linkAbortController, bh as makeCancelToken, bj as makeRuntimeEventRecord, bk as map, bl as mapAsync, bm as mapError, bn as mapTryAsync, bo as none, bp as orElseOptional, bq as prettyCause, br as recordAbortablePromiseFinish, bs as recordAbortablePromiseStart, bt as resetAbortablePromiseStats, bv as runtimeEventRecordContext, bw as runtimeForCaller, bz as setAbortablePromisePerLabelTracking, bA as setBenchmarkBudget, bB as some, bC as succeed, bD as sync, bE as toPromise, bF as toPromiseByCaller, bG as uninterruptible, bH as uninterruptibleMask, bI as unit, bJ as unsafeGetCurrentRuntime, bK as unsafeRunAsync, bL as unsafeRunFoldWithEnv, bM as withAsyncPromise, bN as withCurrentFiber, bO as withScope, bP as withScopeAsync } from '../effect-DnGUuhw6.js';
3
- export { M as ManagedResource, R as Resource, R as ResourceDescriptor, S as Span, a as SpanContext, b as SpanEvent, c as SpanStatus, T as Tracer, d as TracerConfig, e as bracket, f as ensuring, m as makeResource, g as makeTracer, h as managed, i as managedAll, r as resource, j as resourceAll, k as resourceFromManaged, l as resourceSucceed, u as useManaged, n as useResource } from '../tracing-CWV4gT0u.js';
4
- import { R as RuntimeClock, k as RuntimeTimerId, j as RuntimeClockEnv, a as LayerContext, S as ServiceTag, L as Layer, l as Schedule } from '../layer-D2LFcBVx.js';
5
- export { B as BuiltLayer, b as CircuitBreaker, c as CircuitBreakerConfig, d as CircuitBreakerError, e as CircuitBreakerState, C as CircuitBreakerStats, f as LayerErrorOf, g as LayerInputOf, h as LayerOutputOf, i as LayerScope, M as MissingLayerServiceError, m as ScheduleDecision, n as ScheduleDriver, o as ScheduleDriverDecision, p as ScheduleDriverOptions, q as ScheduleDriverSnapshot, r as ScheduleObserver, s as ScheduleObserverEvent, t as ScheduleStepContext, u as ServiceTagMap, v as ServicesOf, T as TestLayerProvider, w as andThenSchedule, x as buildLayer, y as composeAll, z as composeLayer, A as contramapSchedule, D as defineLayer, E as defineService, F as elapsed, G as exponential, H as fibonacci, I as fixed, J as forever, K as formatLayerError, N as getService, O as getServices, P as intersect, Q as jitter, U as jittered, V as jitteredSchedule, W as layer, X as layerEffect, Y as layerFail, Z as layerFrom, _ as layerFromContext, $ as layerSucceed, a0 as layerValue, a1 as linear, a2 as liveClock, a3 as makeCircuitBreaker, a4 as makeLayerScope, a5 as makeScheduleDriver, a6 as makeServiceTag, a7 as makeTestLayer, a8 as makeTestLayers, a9 as mapLayer, aa as mapSchedule, ab as maxDelay, ac as maxElapsed, ad as mergeAll, ae as mergeLayer, af as namedSchedule, ag as never, ah as once, ai as pollWithSchedule, aj as provide, ak as provideContext, al as provideLayer, am as provideLayerContext, an as recurs, ao as repeatWithSchedule, ap as repeatWithScheduleAlias, aq as retryWithSchedule, ar as retryWithScheduleAlias, as as runSchedule, at as runtimeClockFromEnv, au as scheduleDriver, av as serviceTag, aw as spaced, ax as takeSchedule, ay as tapDecision, az as union, aA as untilInput, aB as untilOutput, aC as upTo, aD as useService, aE as useServices, aF as whileInput, aG as whileOutput, aH as windowed } from '../layer-D2LFcBVx.js';
1
+ import { A as Async, a as RuntimeOptions, b as Runtime, E as Exit, aJ as Task, ay as ScheduleResult, aD as SchedulerStats, R as RuntimeHooks, f as RuntimeEventRecord, h as RuntimeRegistry, k as Fiber } from '../effect-DbEMiMvv.js';
2
+ export { u as AbortablePromiseFinish, v as AbortablePromiseLabelStats, w as AbortablePromiseOptions, x as AbortablePromiseOutcome, y as AbortablePromiseStats, z as AbortablePromiseTimerWheel, D as AsyncWithPromise, H as CancelToken, I as Canceler, K as Cause, L as CausePrettyOptions, M as ContextNode, $ as FiberContext, l as FiberId, a1 as FiberInfo, a5 as FiberRunState, m as FiberStatus, ah as Interrupted, ai as InterruptibilityMode, J as JSONValue, al as None, am as NoopHooks, O as Option, as as RestoreInterruptibility, e as RuntimeEmitContext, d as RuntimeEvent, i as RuntimeFiber, g as RuntimeSpanLink, S as Scope, aF as ScopeId, aG as ScopeInfo, aH as Some, T as TraceContext, Z as ZIO, aM as abortablePromiseStats, aN as acquireRelease, aO as async, aP as asyncCatchAll, aQ as asyncFail, aR as asyncFlatMap, aS as asyncFold, aT as asyncInterruptible, aU as asyncMap, aV as asyncMapError, aW as asyncSucceed, aX as asyncSync, aY as asyncTotal, aZ as catchAll, a_ as ctxExtend, a$ as ctxToObject, b0 as emptyContext, b1 as end, b3 as fail, b4 as flatMap, b5 as fork, b6 as formatCause, b7 as fromPromiseAbortable, b8 as getBenchmarkBudget, b9 as getCurrentFiber, bc as interruptible, bd as isCause, bf as linkAbortController, bh as makeCancelToken, bj as makeRuntimeEventRecord, bk as map, bl as mapAsync, bm as mapError, bn as mapTryAsync, bo as none, bp as orElseOptional, bq as prettyCause, br as recordAbortablePromiseFinish, bs as recordAbortablePromiseStart, bt as resetAbortablePromiseStats, bv as runtimeEventRecordContext, bw as runtimeForCaller, bz as setAbortablePromisePerLabelTracking, bA as setBenchmarkBudget, bB as setCurrentFiber, bC as some, bD as succeed, bE as sync, bF as toPromise, bG as toPromiseByCaller, bH as uninterruptible, bI as uninterruptibleMask, bJ as unit, bK as unsafeGetCurrentRuntime, bL as unsafeRunAsync, bM as unsafeRunFoldWithEnv, bN as withAsyncPromise, bO as withCurrentFiber, bP as withScope, bQ as withScopeAsync } from '../effect-DbEMiMvv.js';
3
+ export { M as ManagedResource, R as Resource, R as ResourceDescriptor, S as Span, a as SpanContext, b as SpanEvent, c as SpanStatus, T as Tracer, d as TracerConfig, e as bracket, f as ensuring, m as makeResource, g as makeTracer, h as managed, i as managedAll, r as resource, j as resourceAll, k as resourceFromManaged, l as resourceSucceed, u as useManaged, n as useResource } from '../tracing-DIAUf2x8.js';
4
+ import { R as RuntimeClock, k as RuntimeTimerId, j as RuntimeClockEnv, a as LayerContext, S as ServiceTag, L as Layer, l as Schedule } from '../layer-CsNGeVee.js';
5
+ export { B as BuiltLayer, b as CircuitBreaker, c as CircuitBreakerConfig, d as CircuitBreakerError, e as CircuitBreakerState, C as CircuitBreakerStats, f as LayerErrorOf, g as LayerInputOf, h as LayerOutputOf, i as LayerScope, M as MissingLayerServiceError, m as ScheduleDecision, n as ScheduleDriver, o as ScheduleDriverDecision, p as ScheduleDriverOptions, q as ScheduleDriverSnapshot, r as ScheduleObserver, s as ScheduleObserverEvent, t as ScheduleStepContext, u as ServiceTagMap, v as ServicesOf, T as TestLayerProvider, w as andThenSchedule, x as buildLayer, y as composeAll, z as composeLayer, A as contramapSchedule, D as defineLayer, E as defineService, F as elapsed, G as exponential, H as fibonacci, I as fixed, J as forever, K as formatLayerError, N as getService, O as getServices, P as intersect, Q as jitter, U as jittered, V as jitteredSchedule, W as layer, X as layerEffect, Y as layerFail, Z as layerFrom, _ as layerFromContext, $ as layerSucceed, a0 as layerValue, a1 as linear, a2 as liveClock, a3 as makeCircuitBreaker, a4 as makeLayerScope, a5 as makeScheduleDriver, a6 as makeServiceTag, a7 as makeTestLayer, a8 as makeTestLayers, a9 as mapLayer, aa as mapSchedule, ab as maxDelay, ac as maxElapsed, ad as mergeAll, ae as mergeLayer, af as namedSchedule, ag as never, ah as once, ai as pollWithSchedule, aj as provide, ak as provideContext, al as provideLayer, am as provideLayerContext, an as recurs, ao as repeatWithSchedule, ap as repeatWithScheduleAlias, aq as retryWithSchedule, ar as retryWithScheduleAlias, as as runSchedule, at as runtimeClockFromEnv, au as scheduleDriver, av as serviceTag, aw as spaced, ax as takeSchedule, ay as tapDecision, az as union, aA as untilInput, aB as untilOutput, aC as upTo, aD as useService, aE as useServices, aF as whileInput, aG as whileOutput, aH as windowed } from '../layer-CsNGeVee.js';
6
6
  import { JsonSchemaLike } from '../schema/index.js';
7
- export { B as BrassEnv, C as Counter, E as EventBus, f as EventBusOptions, g as EventHandler, G as Gauge, H as Histogram, h as HistogramBuckets, I as InMemoryTracer, e as InMemoryTracerOptions, i as InMemoryTracerStats, a as MetricExemplar, b as MetricSnapshot, j as MetricType, k as MetricValue, M as MetricsRegistry, R as RuntimeSpan, l as RuntimeSpanEvent, d as RuntimeTraceIdGenerator, m as defaultTracer, n as makeMetrics, r as runtimeHooksToEventHandler } from '../tracer-DF83nLn6.js';
7
+ export { B as BrassEnv, C as Counter, E as EventBus, f as EventBusOptions, g as EventHandler, G as Gauge, H as Histogram, h as HistogramBuckets, I as InMemoryTracer, e as InMemoryTracerOptions, i as InMemoryTracerStats, a as MetricExemplar, b as MetricSnapshot, j as MetricType, k as MetricValue, M as MetricsRegistry, R as RuntimeSpan, l as RuntimeSpanEvent, d as RuntimeTraceIdGenerator, m as defaultTracer, n as makeMetrics, r as runtimeHooksToEventHandler } from '../tracer-CS3yOXZx.js';
8
8
 
9
9
  type TimeoutError = {
10
10
  readonly _tag: "TimeoutError";
@@ -37,7 +37,7 @@ import {
37
37
  runPromise,
38
38
  supervise,
39
39
  tagError
40
- } from "../chunk-H4ZRUQZL.js";
40
+ } from "../chunk-PG6CHG34.js";
41
41
  import {
42
42
  makeCircuitBreaker
43
43
  } from "../chunk-YM3EDNYD.js";
@@ -53,11 +53,11 @@ import {
53
53
  unsafeGetFiberRef,
54
54
  unsafeSetFiberRef,
55
55
  updateFiberRef
56
- } from "../chunk-GXOIUBKE.js";
56
+ } from "../chunk-RZQK32C6.js";
57
57
  import {
58
58
  RuntimeService,
59
59
  makeRuntimeLayer
60
- } from "../chunk-FC5N5QHJ.js";
60
+ } from "../chunk-NWONRWBT.js";
61
61
  import {
62
62
  EventBus,
63
63
  InMemoryTracer,
@@ -65,7 +65,7 @@ import {
65
65
  makeRuntimeEventRecord,
66
66
  runtimeEventRecordContext,
67
67
  runtimeHooksToEventHandler
68
- } from "../chunk-B2VXVNIS.js";
68
+ } from "../chunk-LI7WUVJN.js";
69
69
  import {
70
70
  Layer,
71
71
  LayerContext,
@@ -154,7 +154,7 @@ import {
154
154
  whileInput,
155
155
  whileOutput,
156
156
  windowed
157
- } from "../chunk-EXBGIC66.js";
157
+ } from "../chunk-6W5DC3TX.js";
158
158
  import {
159
159
  NoopHooks,
160
160
  Runtime,
@@ -176,6 +176,7 @@ import {
176
176
  runtimeForCaller,
177
177
  setAbortablePromisePerLabelTracking,
178
178
  setBenchmarkBudget,
179
+ setCurrentFiber,
179
180
  toPromise,
180
181
  toPromiseByCaller,
181
182
  unsafeGetCurrentRuntime,
@@ -184,7 +185,7 @@ import {
184
185
  withCurrentFiber,
185
186
  withScope,
186
187
  withScopeAsync
187
- } from "../chunk-APQBU7TM.js";
188
+ } from "../chunk-TN2P7RNK.js";
188
189
  import {
189
190
  Async,
190
191
  Cause,
@@ -398,6 +399,7 @@ export {
398
399
  serviceTag,
399
400
  setAbortablePromisePerLabelTracking,
400
401
  setBenchmarkBudget,
402
+ setCurrentFiber,
401
403
  setFiberRef,
402
404
  sleep,
403
405
  some,