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
@@ -37,7 +37,7 @@ import {
37
37
  runPromise,
38
38
  supervise,
39
39
  tagError
40
- } from "../chunk-5UBJT4RW.mjs";
40
+ } from "../chunk-JM7WMSRR.mjs";
41
41
  import {
42
42
  makeCircuitBreaker
43
43
  } from "../chunk-KTGDLBLD.mjs";
@@ -53,11 +53,11 @@ import {
53
53
  unsafeGetFiberRef,
54
54
  unsafeSetFiberRef,
55
55
  updateFiberRef
56
- } from "../chunk-EKLEDIVJ.mjs";
56
+ } from "../chunk-S6KSHYAT.mjs";
57
57
  import {
58
58
  RuntimeService,
59
59
  makeRuntimeLayer
60
- } from "../chunk-3NKXUX4T.mjs";
60
+ } from "../chunk-ZXLETUGQ.mjs";
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-KAPZHDO4.mjs";
68
+ } from "../chunk-WA65XP2P.mjs";
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-KDXNWGPB.mjs";
157
+ } from "../chunk-XRRC5BBM.mjs";
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-MUMBUXU6.mjs";
188
+ } from "../chunk-BFNBU47C.mjs";
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,
@@ -1,6 +1,6 @@
1
- import { A as Async, D as AsyncWithPromise } from './effect-DnGUuhw6.js';
2
- import { Z as ZStream } from './stream-I7bkvF7a.js';
3
- import { l as Schedule, r as ScheduleObserver, d as CircuitBreakerError } from './layer-D2LFcBVx.js';
1
+ import { A as Async, D as AsyncWithPromise } from './effect-DbEMiMvv.js';
2
+ import { Z as ZStream } from './stream-B8c_UKZq.js';
3
+ import { l as Schedule, r as ScheduleObserver, d as CircuitBreakerError } from './layer-CsNGeVee.js';
4
4
  import { SchemaIssue, JsonSchemaLike, AnyJsonSchemaLike, InferJsonSchema } from './schema/index.js';
5
5
 
6
6
  type HttpRetryScheduleInput = {
@@ -739,6 +739,7 @@ declare class Runtime<R> {
739
739
  readonly inferLane: boolean;
740
740
  registry?: RuntimeRegistry;
741
741
  constructor(args: RuntimeOptions<R>);
742
+ private readonly staticFastPathOk;
742
743
  private makeFiberEngine;
743
744
  /** Returns true when the runtime has real hooks (not the no-op singleton). */
744
745
  hasActiveHooks(): boolean;
@@ -970,6 +971,12 @@ declare function getCurrentFiber(): RuntimeFiber<any, any, any> | null;
970
971
  */
971
972
  declare function unsafeGetCurrentRuntime<R>(): Runtime<R>;
972
973
  declare function withCurrentFiber<T>(fiber: RuntimeFiber<any, any, any>, f: () => T): T;
974
+ /**
975
+ * Direct setter for the current fiber. Used by NativeTopLevelRunner to avoid
976
+ * the closure allocation of withCurrentFiber when running tight loops.
977
+ * Caller MUST restore the previous value via setCurrentFiber to maintain invariants.
978
+ */
979
+ declare function setCurrentFiber(fiber: RuntimeFiber<any, any, any> | null): RuntimeFiber<any, any, any> | null;
973
980
 
974
981
  type ScopeId = number;
975
982
  type CloseOptions = {
@@ -1180,4 +1187,4 @@ declare function uninterruptibleMask<R, E, A>(body: (restore: RestoreInterruptib
1180
1187
  declare function orElseOptional<R, E, A, R2, A2>(fa: ZIO<R, Option<E>, A>, that: () => ZIO<R2, Option<E>, A2>): ZIO<R & R2, Option<E>, A | A2>;
1181
1188
  declare const end: <E>() => ZIO<unknown, Option<E>, never>;
1182
1189
 
1183
- export { type FiberContext as $, Async as A, type Baggage as B, type AsyncRegisterRef as C, type AsyncWithPromise as D, Exit as E, type FiberEngine as F, type RingLike as G, type CancelToken as H, type Canceler as I, type JSONValue as J, Cause as K, type CausePrettyOptions as L, type ContextNode as M, type NodeId as N, type Option as O, type CustomHostAction as P, type DbHostAction as Q, type RuntimeHooks as R, Scope as S, type TraceContext as T, type DecodeRef as U, DefaultHostExecutor as V, type WasmEngineRuntime as W, type EngineKind as X, type EngineSelection as Y, type ZIO as Z, type EngineSelectionMode as _, type RuntimeOptions as a, ctxToObject as a$, type FiberEngineKind as a0, type FiberInfo as a1, type FiberReadyQueue as a2, type FiberReadyQueueOptions as a3, type FiberReadyQueueStats as a4, type FiberRunState as a5, type FlatMapRef as a6, type FoldFailureRef as a7, type FoldSuccessRef as a8, type HostAction as a9, type SchedulerEngine as aA, type SchedulerLaneMode as aB, type SchedulerOptions as aC, type SchedulerStats as aD, type SchedulerStatsData as aE, type ScopeId as aF, type ScopeInfo as aG, type Some as aH, type SyncRef as aI, type Task as aJ, WasmFiberEngine as aK, type WasmFiberEngineOptions as aL, abortablePromiseStats as aM, acquireRelease as aN, asyncEffect as aO, asyncCatchAll as aP, asyncFail as aQ, asyncFlatMap as aR, asyncFold as aS, asyncInterruptible as aT, asyncMap as aU, asyncMapError as aV, asyncSucceed as aW, asyncSync as aX, asyncTotal as aY, catchAll as aZ, ctxExtend as a_, type HostActionKind as aa, type HostActionResult as ab, type HostExecutionContext as ac, type HostExecutor as ad, HostRegistry as ae, type HostRegistryStats as af, type HttpHostAction as ag, type Interrupted as ah, type InterruptibilityMode as ai, type Joiner as aj, type LaneStatsData as ak, type None as al, NoopHooks as am, ProgramBuilder as an, type ProgramPatch as ao, PushStatus as ap, type QueueHostAction as aq, type ReadyQueueScheduleKind as ar, type RestoreInterruptibility as as, RingBuffer as at, type RingBufferEngine as au, type RingBufferStatsData as av, type RuntimeCapabilities as aw, type RuntimeEngineMode as ax, type ScheduleResult as ay, Scheduler as az, Runtime as b, emptyContext as b0, end as b1, engineStats as b2, fail as b3, flatMap as b4, fork as b5, formatCause as b6, fromPromiseAbortable as b7, getBenchmarkBudget as b8, getCurrentFiber as b9, setBenchmarkBudget as bA, some as bB, succeed as bC, sync as bD, toPromise as bE, toPromiseByCaller as bF, uninterruptible as bG, uninterruptibleMask as bH, unit as bI, unsafeGetCurrentRuntime as bJ, unsafeRunAsync as bK, unsafeRunFoldWithEnv as bL, withAsyncPromise as bM, withCurrentFiber as bN, withScope as bO, withScopeAsync as bP, globalScheduler as ba, inferCallerLaneFromStack as bb, interruptible as bc, isCause as bd, laneTag as be, linkAbortController as bf, makeBoundedRingBuffer as bg, makeCancelToken as bh, makeFiberReadyQueue as bi, makeRuntimeEventRecord as bj, map as bk, mapAsync as bl, mapError as bm, mapTryAsync as bn, none as bo, orElseOptional as bp, prettyCause as bq, recordAbortablePromiseFinish as br, recordAbortablePromiseStart as bs, resetAbortablePromiseStats as bt, runtimeCapabilities as bu, runtimeEventRecordContext as bv, runtimeForCaller as bw, sanitizeLaneKey as bx, selectedEngineStats as by, setAbortablePromisePerLabelTracking as bz, type RingBufferOptions as c, type RuntimeEvent as d, type RuntimeEmitContext as e, type RuntimeEventRecord as f, type RuntimeSpanLink as g, RuntimeRegistry as h, RuntimeFiber as i, type FiberEngineStats as j, type Fiber as k, type FiberId as l, type FiberStatus as m, type WasmBridge as n, type OpcodeProgram as o, type FiberId$1 as p, type EngineEvent as q, type RefId as r, type OpcodeNode as s, type EngineStats as t, type AbortablePromiseFinish as u, type AbortablePromiseLabelStats as v, type AbortablePromiseOptions as w, type AbortablePromiseOutcome as x, type AbortablePromiseStats as y, type AbortablePromiseTimerWheel as z };
1190
+ export { type FiberContext as $, Async as A, type Baggage as B, type AsyncRegisterRef as C, type AsyncWithPromise as D, Exit as E, type FiberEngine as F, type RingLike as G, type CancelToken as H, type Canceler as I, type JSONValue as J, Cause as K, type CausePrettyOptions as L, type ContextNode as M, type NodeId as N, type Option as O, type CustomHostAction as P, type DbHostAction as Q, type RuntimeHooks as R, Scope as S, type TraceContext as T, type DecodeRef as U, DefaultHostExecutor as V, type WasmEngineRuntime as W, type EngineKind as X, type EngineSelection as Y, type ZIO as Z, type EngineSelectionMode as _, type RuntimeOptions as a, ctxToObject as a$, type FiberEngineKind as a0, type FiberInfo as a1, type FiberReadyQueue as a2, type FiberReadyQueueOptions as a3, type FiberReadyQueueStats as a4, type FiberRunState as a5, type FlatMapRef as a6, type FoldFailureRef as a7, type FoldSuccessRef as a8, type HostAction as a9, type SchedulerEngine as aA, type SchedulerLaneMode as aB, type SchedulerOptions as aC, type SchedulerStats as aD, type SchedulerStatsData as aE, type ScopeId as aF, type ScopeInfo as aG, type Some as aH, type SyncRef as aI, type Task as aJ, WasmFiberEngine as aK, type WasmFiberEngineOptions as aL, abortablePromiseStats as aM, acquireRelease as aN, asyncEffect as aO, asyncCatchAll as aP, asyncFail as aQ, asyncFlatMap as aR, asyncFold as aS, asyncInterruptible as aT, asyncMap as aU, asyncMapError as aV, asyncSucceed as aW, asyncSync as aX, asyncTotal as aY, catchAll as aZ, ctxExtend as a_, type HostActionKind as aa, type HostActionResult as ab, type HostExecutionContext as ac, type HostExecutor as ad, HostRegistry as ae, type HostRegistryStats as af, type HttpHostAction as ag, type Interrupted as ah, type InterruptibilityMode as ai, type Joiner as aj, type LaneStatsData as ak, type None as al, NoopHooks as am, ProgramBuilder as an, type ProgramPatch as ao, PushStatus as ap, type QueueHostAction as aq, type ReadyQueueScheduleKind as ar, type RestoreInterruptibility as as, RingBuffer as at, type RingBufferEngine as au, type RingBufferStatsData as av, type RuntimeCapabilities as aw, type RuntimeEngineMode as ax, type ScheduleResult as ay, Scheduler as az, Runtime as b, emptyContext as b0, end as b1, engineStats as b2, fail as b3, flatMap as b4, fork as b5, formatCause as b6, fromPromiseAbortable as b7, getBenchmarkBudget as b8, getCurrentFiber as b9, setBenchmarkBudget as bA, setCurrentFiber as bB, some as bC, succeed as bD, sync as bE, toPromise as bF, toPromiseByCaller as bG, uninterruptible as bH, uninterruptibleMask as bI, unit as bJ, unsafeGetCurrentRuntime as bK, unsafeRunAsync as bL, unsafeRunFoldWithEnv as bM, withAsyncPromise as bN, withCurrentFiber as bO, withScope as bP, withScopeAsync as bQ, globalScheduler as ba, inferCallerLaneFromStack as bb, interruptible as bc, isCause as bd, laneTag as be, linkAbortController as bf, makeBoundedRingBuffer as bg, makeCancelToken as bh, makeFiberReadyQueue as bi, makeRuntimeEventRecord as bj, map as bk, mapAsync as bl, mapError as bm, mapTryAsync as bn, none as bo, orElseOptional as bp, prettyCause as bq, recordAbortablePromiseFinish as br, recordAbortablePromiseStart as bs, resetAbortablePromiseStats as bt, runtimeCapabilities as bu, runtimeEventRecordContext as bv, runtimeForCaller as bw, sanitizeLaneKey as bx, selectedEngineStats as by, setAbortablePromisePerLabelTracking as bz, type RingBufferOptions as c, type RuntimeEvent as d, type RuntimeEmitContext as e, type RuntimeEventRecord as f, type RuntimeSpanLink as g, RuntimeRegistry as h, RuntimeFiber as i, type FiberEngineStats as j, type Fiber as k, type FiberId as l, type FiberStatus as m, type WasmBridge as n, type OpcodeProgram as o, type FiberId$1 as p, type EngineEvent as q, type RefId as r, type OpcodeNode as s, type EngineStats as t, type AbortablePromiseFinish as u, type AbortablePromiseLabelStats as v, type AbortablePromiseOptions as w, type AbortablePromiseOutcome as x, type AbortablePromiseStats as y, type AbortablePromiseTimerWheel as z };
@@ -5,8 +5,8 @@ var _chunk7TKI527Dcjs = require('../chunk-7TKI527D.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkDV644N7Pcjs = require('../chunk-DV644N7P.cjs');
9
- require('../chunk-FYWWU3Z7.cjs');
8
+ var _chunkZJC3JZIEcjs = require('../chunk-ZJC3JZIE.cjs');
9
+ require('../chunk-VXNWVAIG.cjs');
10
10
 
11
11
 
12
12
 
@@ -105,23 +105,23 @@ require('../chunk-FYWWU3Z7.cjs');
105
105
 
106
106
 
107
107
 
108
- var _chunk7FZUTJM3cjs = require('../chunk-7FZUTJM3.cjs');
108
+ var _chunkLXNU3MRVcjs = require('../chunk-LXNU3MRV.cjs');
109
109
 
110
110
 
111
111
  var _chunkL6VB5N7Qcjs = require('../chunk-L6VB5N7Q.cjs');
112
- require('../chunk-OO7BGCC3.cjs');
112
+ require('../chunk-CXWJII2N.cjs');
113
113
  require('../chunk-SA6HUJVI.cjs');
114
114
 
115
115
 
116
116
 
117
117
 
118
118
 
119
- var _chunk6STX4PS3cjs = require('../chunk-6STX4PS3.cjs');
119
+ var _chunkZZ2CMYJLcjs = require('../chunk-ZZ2CMYJL.cjs');
120
120
 
121
121
 
122
122
 
123
123
 
124
- var _chunkZDZNV6NAcjs = require('../chunk-ZDZNV6NA.cjs');
124
+ var _chunkJKHBEWQAcjs = require('../chunk-JKHBEWQA.cjs');
125
125
 
126
126
 
127
127
 
@@ -180,7 +180,7 @@ function runNodeRequest(context, config, httpAgent, httpsAgent) {
180
180
  return;
181
181
  }
182
182
  if (signal.aborted) {
183
- cb({ _tag: "Failure", cause: _chunkMVGUEJ5Zcjs.Cause.fail(_chunk7FZUTJM3cjs.abortErrorForSignal.call(void 0, signal)) });
183
+ cb({ _tag: "Failure", cause: _chunkMVGUEJ5Zcjs.Cause.fail(_chunkLXNU3MRVcjs.abortErrorForSignal.call(void 0, signal)) });
184
184
  return;
185
185
  }
186
186
  const started = nowMs();
@@ -197,12 +197,12 @@ function runNodeRequest(context, config, httpAgent, httpsAgent) {
197
197
  const fail = (error) => {
198
198
  finish({
199
199
  _tag: "Failure",
200
- cause: _chunkMVGUEJ5Zcjs.Cause.fail(_chunk7FZUTJM3cjs.normalizeHttpError.call(void 0, error, { signal }))
200
+ cause: _chunkMVGUEJ5Zcjs.Cause.fail(_chunkLXNU3MRVcjs.normalizeHttpError.call(void 0, error, { signal }))
201
201
  });
202
202
  };
203
203
  const options = {
204
204
  method: request.method,
205
- headers: _chunk7FZUTJM3cjs.Request.headers.get(request),
205
+ headers: _chunkLXNU3MRVcjs.Request.headers.get(request),
206
206
  agent: isHttps ? httpsAgent : httpAgent,
207
207
  signal
208
208
  };
@@ -218,7 +218,7 @@ function runNodeRequest(context, config, httpAgent, httpsAgent) {
218
218
  value: {
219
219
  status: _nullishCoalesce(response.statusCode, () => ( 0)),
220
220
  statusText: _nullishCoalesce(response.statusMessage, () => ( "")),
221
- headers: _chunk7FZUTJM3cjs.normalizeHttpHeaders.call(void 0, response.headers),
221
+ headers: _chunkLXNU3MRVcjs.normalizeHttpHeaders.call(void 0, response.headers),
222
222
  bodyText: Buffer.concat(chunks, byteLength).toString("utf8"),
223
223
  ms: Math.round(nowMs() - started)
224
224
  }
@@ -228,7 +228,7 @@ function runNodeRequest(context, config, httpAgent, httpsAgent) {
228
228
  });
229
229
  abort = () => {
230
230
  nodeRequest.destroy(isError(signal.reason) ? signal.reason : void 0);
231
- finish({ _tag: "Failure", cause: _chunkMVGUEJ5Zcjs.Cause.fail(_chunk7FZUTJM3cjs.abortErrorForSignal.call(void 0, signal)) });
231
+ finish({ _tag: "Failure", cause: _chunkMVGUEJ5Zcjs.Cause.fail(_chunkLXNU3MRVcjs.abortErrorForSignal.call(void 0, signal)) });
232
232
  };
233
233
  signal.addEventListener("abort", abort, { once: true });
234
234
  nodeRequest.on("error", fail);
@@ -274,7 +274,7 @@ function makeNodeHttpProxyClient(config = {}) {
274
274
  nodeTransport,
275
275
  ...clientConfig
276
276
  } = config;
277
- return _chunk7FZUTJM3cjs.makeDefaultHttpClient.call(void 0, {
277
+ return _chunkLXNU3MRVcjs.makeDefaultHttpClient.call(void 0, {
278
278
  ...clientConfig,
279
279
  preset,
280
280
  transport: _nullishCoalesce(transport, () => ( makeNodeHttpTransport(nodeTransport)))
@@ -290,8 +290,8 @@ var resolveFinalUrl = (baseUrl, url) => {
290
290
  }
291
291
  };
292
292
  var createHttpCore = (cfg = {}) => {
293
- const wire = _chunk7FZUTJM3cjs.makeHttp.call(void 0, cfg);
294
- const withPromise = (eff) => _chunkMVGUEJ5Zcjs.withAsyncPromise.call(void 0, (e, env) => _chunkZDZNV6NAcjs.toPromise.call(void 0, e, env))(eff);
293
+ const wire = _chunkLXNU3MRVcjs.makeHttp.call(void 0, cfg);
294
+ const withPromise = (eff) => _chunkMVGUEJ5Zcjs.withAsyncPromise.call(void 0, (e, env) => _chunkJKHBEWQAcjs.toPromise.call(void 0, e, env))(eff);
295
295
  const requestRaw = (req) => wire(req);
296
296
  const toResponse = (w, body) => ({
297
297
  status: w.status,
@@ -300,7 +300,7 @@ var createHttpCore = (cfg = {}) => {
300
300
  body
301
301
  });
302
302
  const decodeResponse = (w, validator, schemaName) => _chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
303
- _chunk7FZUTJM3cjs.decodeJsonBodyEffect.call(void 0, w.bodyText, validator, { schemaName }),
303
+ _chunkLXNU3MRVcjs.decodeJsonBodyEffect.call(void 0, w.bodyText, validator, { schemaName }),
304
304
  (body) => _chunkMVGUEJ5Zcjs.asyncSucceed.call(void 0, toResponse(w, body))
305
305
  );
306
306
  return {
@@ -308,7 +308,7 @@ var createHttpCore = (cfg = {}) => {
308
308
  wire,
309
309
  withPromise,
310
310
  requestRaw,
311
- buildReq: _chunk7FZUTJM3cjs.buildHttpRequest,
311
+ buildReq: _chunkLXNU3MRVcjs.buildHttpRequest,
312
312
  toResponse,
313
313
  decodeResponse
314
314
  };
@@ -326,17 +326,17 @@ function httpClient(cfg = {}) {
326
326
  };
327
327
  const getJson = ((url, init) => {
328
328
  const base = core.buildReq("GET", url, init);
329
- const req = _chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "accept", "application/json")(base);
329
+ const req = _chunkLXNU3MRVcjs.setHeaderIfMissing.call(void 0, "accept", "application/json")(base);
330
330
  return core.withPromise(_chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0, requestRaw(req), (w) => core.decodeResponse(w, _optionalChain([init, 'optionalAccess', _ => _.schema]), _optionalChain([init, 'optionalAccess', _2 => _2.schemaName]))));
331
331
  });
332
332
  const postJson = ((url, bodyObj, init) => {
333
333
  return core.withPromise(
334
334
  _chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
335
- _chunk7FZUTJM3cjs.encodeJsonBodyEffect.call(void 0, bodyObj, _optionalChain([init, 'optionalAccess', _3 => _3.bodySchema]), { schemaName: _optionalChain([init, 'optionalAccess', _4 => _4.bodySchemaName]) }),
335
+ _chunkLXNU3MRVcjs.encodeJsonBodyEffect.call(void 0, bodyObj, _optionalChain([init, 'optionalAccess', _3 => _3.bodySchema]), { schemaName: _optionalChain([init, 'optionalAccess', _4 => _4.bodySchemaName]) }),
336
336
  (bodyText) => {
337
337
  const base = core.buildReq("POST", url, init, bodyText);
338
- const req = _chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "content-type", "application/json")(
339
- _chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "accept", "application/json")(base)
338
+ const req = _chunkLXNU3MRVcjs.setHeaderIfMissing.call(void 0, "content-type", "application/json")(
339
+ _chunkLXNU3MRVcjs.setHeaderIfMissing.call(void 0, "accept", "application/json")(base)
340
340
  );
341
341
  return _chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0, requestRaw(req), (w) => core.decodeResponse(w, _optionalChain([init, 'optionalAccess', _5 => _5.schema]), _optionalChain([init, 'optionalAccess', _6 => _6.schemaName])));
342
342
  }
@@ -351,7 +351,7 @@ function httpClient(cfg = {}) {
351
351
  getJson,
352
352
  postJson,
353
353
  with: (mw) => make(wire.with(mw)),
354
- withRetry: (p) => make(wire.with(_chunk7FZUTJM3cjs.withRetry.call(void 0, p))),
354
+ withRetry: (p) => make(wire.with(_chunkLXNU3MRVcjs.withRetry.call(void 0, p))),
355
355
  wire,
356
356
  stats: () => wire.stats()
357
357
  };
@@ -387,11 +387,11 @@ function httpClientWithMeta(cfg = {}) {
387
387
  const startedAt = Date.now();
388
388
  return core.withPromise(
389
389
  _chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
390
- _chunk7FZUTJM3cjs.encodeJsonBodyEffect.call(void 0, bodyObj, _optionalChain([init, 'optionalAccess', _7 => _7.bodySchema]), { schemaName: _optionalChain([init, 'optionalAccess', _8 => _8.bodySchemaName]) }),
390
+ _chunkLXNU3MRVcjs.encodeJsonBodyEffect.call(void 0, bodyObj, _optionalChain([init, 'optionalAccess', _7 => _7.bodySchema]), { schemaName: _optionalChain([init, 'optionalAccess', _8 => _8.bodySchemaName]) }),
391
391
  (bodyText) => {
392
392
  const base = core.buildReq("POST", url, init, bodyText);
393
- const req = _chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "content-type", "application/json")(
394
- _chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "accept", "application/json")(base)
393
+ const req = _chunkLXNU3MRVcjs.setHeaderIfMissing.call(void 0, "content-type", "application/json")(
394
+ _chunkLXNU3MRVcjs.setHeaderIfMissing.call(void 0, "accept", "application/json")(base)
395
395
  );
396
396
  return _chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
397
397
  core.requestRaw(req),
@@ -421,7 +421,7 @@ function httpClientWithMeta(cfg = {}) {
421
421
  };
422
422
  const getJson = (url, init) => {
423
423
  const base = core.buildReq("GET", url, init);
424
- const req = _chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "accept", "application/json")(base);
424
+ const req = _chunkLXNU3MRVcjs.setHeaderIfMissing.call(void 0, "accept", "application/json")(base);
425
425
  const startedAt = Date.now();
426
426
  return core.withPromise(
427
427
  _chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
@@ -453,13 +453,13 @@ function httpClientWithMeta(cfg = {}) {
453
453
  };
454
454
  }
455
455
  function httpClientStream(cfg = {}) {
456
- const wire = _chunk7FZUTJM3cjs.makeHttpStream.call(void 0, cfg);
456
+ const wire = _chunkLXNU3MRVcjs.makeHttpStream.call(void 0, cfg);
457
457
  const make = (w) => {
458
- const withPromise = (eff) => _chunkMVGUEJ5Zcjs.withAsyncPromise.call(void 0, (e, env) => _chunkZDZNV6NAcjs.toPromise.call(void 0, e, env))(eff);
458
+ const withPromise = (eff) => _chunkMVGUEJ5Zcjs.withAsyncPromise.call(void 0, (e, env) => _chunkJKHBEWQAcjs.toPromise.call(void 0, e, env))(eff);
459
459
  const request = (req) => withPromise(w(req));
460
460
  const getStream = (url, init) => {
461
461
  const base = { method: "GET", url, init };
462
- const req = _chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "accept", "*/*")(base);
462
+ const req = _chunkLXNU3MRVcjs.setHeaderIfMissing.call(void 0, "accept", "*/*")(base);
463
463
  return request(req);
464
464
  };
465
465
  return {
@@ -467,7 +467,7 @@ function httpClientStream(cfg = {}) {
467
467
  getStream,
468
468
  get: getStream,
469
469
  with: (mw) => make(mw(w)),
470
- withRetry: (p) => make(_chunk7FZUTJM3cjs.withRetryStream.call(void 0, p)(w)),
470
+ withRetry: (p) => make(_chunkLXNU3MRVcjs.withRetryStream.call(void 0, p)(w)),
471
471
  wire: w,
472
472
  stats: () => w.stats()
473
473
  };
@@ -565,7 +565,7 @@ function resolveAdaptiveLimiter(config, next) {
565
565
  function resolveAdaptiveLimiterKey(config, limiter, req) {
566
566
  if (!limiter) return void 0;
567
567
  if (config.adaptiveLimiterKey) return config.adaptiveLimiterKey(req);
568
- const poolKey = _chunk7FZUTJM3cjs.getHttpRequestPolicy.call(void 0, req).poolKey;
568
+ const poolKey = _chunkLXNU3MRVcjs.getHttpRequestPolicy.call(void 0, req).poolKey;
569
569
  if (poolKey) return poolKey;
570
570
  if (limiter.keyResolver === "global") return "global";
571
571
  try {
@@ -616,11 +616,11 @@ function withLogging(logger) {
616
616
  logger({ phase: "request", req });
617
617
  } catch (e5) {
618
618
  }
619
- const startedAt = _chunk7FZUTJM3cjs.now.call(void 0, );
619
+ const startedAt = _chunkLXNU3MRVcjs.now.call(void 0, );
620
620
  return _chunkMVGUEJ5Zcjs.asyncFold.call(void 0,
621
621
  next(req),
622
622
  (error) => {
623
- const durationMs = Math.round(_chunk7FZUTJM3cjs.now.call(void 0, ) - startedAt);
623
+ const durationMs = Math.round(_chunkLXNU3MRVcjs.now.call(void 0, ) - startedAt);
624
624
  try {
625
625
  logger({ phase: "error", req, error, durationMs });
626
626
  } catch (e6) {
@@ -628,7 +628,7 @@ function withLogging(logger) {
628
628
  return _chunkMVGUEJ5Zcjs.asyncFail.call(void 0, error);
629
629
  },
630
630
  (res) => {
631
- const durationMs = Math.round(_chunk7FZUTJM3cjs.now.call(void 0, ) - startedAt);
631
+ const durationMs = Math.round(_chunkLXNU3MRVcjs.now.call(void 0, ) - startedAt);
632
632
  try {
633
633
  logger({ phase: "response", req, res, durationMs });
634
634
  } catch (e7) {
@@ -884,7 +884,7 @@ function prewarmConnections(config = {}) {
884
884
  const fetchImpl = _nullishCoalesce(config.fetchImpl, () => ( globalThis.fetch));
885
885
  const method = _nullishCoalesce(config.method, () => ( "HEAD"));
886
886
  const targets = resolveTargets(config);
887
- return _chunkZDZNV6NAcjs.fromPromiseAbortable.call(void 0,
887
+ return _chunkJKHBEWQAcjs.fromPromiseAbortable.call(void 0,
888
888
  async (signal) => {
889
889
  if (typeof fetchImpl !== "function" || targets.length === 0) {
890
890
  return { attempted: 0, warmed: 0, failed: 0, skipped: targets.length, attempts: [] };
@@ -1092,10 +1092,10 @@ function makeBuilder(config) {
1092
1092
  prewarm: (layer = {}) => setLayer("prewarm", layer),
1093
1093
  noPrewarm: () => setLayer("prewarm", false),
1094
1094
  adaptiveLimiter: (layer = {}) => setLayer("adaptiveLimiter", layer),
1095
- adaptiveLimiterPreset: (preset, overrides = {}) => setLayer("adaptiveLimiter", _chunk7FZUTJM3cjs.makeAdaptiveLimiterConfig.call(void 0, preset, overrides)),
1096
- conservativeLimiter: (overrides = {}) => setLayer("adaptiveLimiter", _chunk7FZUTJM3cjs.makeAdaptiveLimiterConfig.call(void 0, "conservative", overrides)),
1097
- balancedLimiter: (overrides = {}) => setLayer("adaptiveLimiter", _chunk7FZUTJM3cjs.makeAdaptiveLimiterConfig.call(void 0, "balanced", overrides)),
1098
- aggressiveLimiter: (overrides = {}) => setLayer("adaptiveLimiter", _chunk7FZUTJM3cjs.makeAdaptiveLimiterConfig.call(void 0, "aggressive", overrides)),
1095
+ adaptiveLimiterPreset: (preset, overrides = {}) => setLayer("adaptiveLimiter", _chunkLXNU3MRVcjs.makeAdaptiveLimiterConfig.call(void 0, preset, overrides)),
1096
+ conservativeLimiter: (overrides = {}) => setLayer("adaptiveLimiter", _chunkLXNU3MRVcjs.makeAdaptiveLimiterConfig.call(void 0, "conservative", overrides)),
1097
+ balancedLimiter: (overrides = {}) => setLayer("adaptiveLimiter", _chunkLXNU3MRVcjs.makeAdaptiveLimiterConfig.call(void 0, "balanced", overrides)),
1098
+ aggressiveLimiter: (overrides = {}) => setLayer("adaptiveLimiter", _chunkLXNU3MRVcjs.makeAdaptiveLimiterConfig.call(void 0, "aggressive", overrides)),
1099
1099
  noAdaptiveLimiter: () => setLayer("adaptiveLimiter", false),
1100
1100
  pool: (layer = {}) => setLayer("pool", layer),
1101
1101
  noPool: () => setLayer("pool", false),
@@ -1104,8 +1104,8 @@ function makeBuilder(config) {
1104
1104
  middleware,
1105
1105
  use: middleware,
1106
1106
  configure: (next) => makeBuilder(mergeConfig(config, next)),
1107
- build: () => _chunk7FZUTJM3cjs.makeDefaultHttpClient.call(void 0, freezeConfig(config)),
1108
- buildWire: () => _chunk7FZUTJM3cjs.makeDefaultHttpClient.call(void 0, freezeConfig(config)).wire
1107
+ build: () => _chunkLXNU3MRVcjs.makeDefaultHttpClient.call(void 0, freezeConfig(config)),
1108
+ buildWire: () => _chunkLXNU3MRVcjs.makeDefaultHttpClient.call(void 0, freezeConfig(config)).wire
1109
1109
  });
1110
1110
  }
1111
1111
  function httpClientBuilder(config = {}) {
@@ -1173,7 +1173,7 @@ function makeRuntimeHealthRoute(options = {}) {
1173
1173
  "GET",
1174
1174
  path,
1175
1175
  () => _chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
1176
- _chunkDV644N7Pcjs.makeRuntimeHealth.call(void 0, healthOptions),
1176
+ _chunkZJC3JZIEcjs.makeRuntimeHealth.call(void 0, healthOptions),
1177
1177
  (report) => _chunkMVGUEJ5Zcjs.asyncSucceed.call(void 0, healthReportToServerResponse(report))
1178
1178
  )
1179
1179
  );
@@ -1196,7 +1196,7 @@ function withResponseHeader(name, value) {
1196
1196
  );
1197
1197
  }
1198
1198
  function healthReportToServerResponse(report) {
1199
- return healthHttpResponseToServerResponse(_chunkDV644N7Pcjs.healthToHttpResponse.call(void 0, report));
1199
+ return healthHttpResponseToServerResponse(_chunkZJC3JZIEcjs.healthToHttpResponse.call(void 0, report));
1200
1200
  }
1201
1201
  function healthHttpResponseToServerResponse(response) {
1202
1202
  return {
@@ -1259,7 +1259,7 @@ function makeNodeHttpServer(options) {
1259
1259
  });
1260
1260
  }
1261
1261
  function nodeHttpServerResource(options) {
1262
- return _chunk6STX4PS3cjs.resource.call(void 0,
1262
+ return _chunkZZ2CMYJLcjs.resource.call(void 0,
1263
1263
  makeNodeHttpServer(options),
1264
1264
  (handle) => _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (_env, cb) => {
1265
1265
  handle.close().then(() => cb({ _tag: "Success", value: void 0 })).catch(() => cb({ _tag: "Success", value: void 0 }));
@@ -1440,7 +1440,7 @@ async function handleNodeRequest(req, res, router, options) {
1440
1440
  target: serverRequest.target,
1441
1441
  headers: serverRequest.headers
1442
1442
  };
1443
- const response = options.observability ? (await _chunkDV644N7Pcjs.runObservedHttpServerEffect.call(void 0,
1443
+ const response = options.observability ? (await _chunkZJC3JZIEcjs.runObservedHttpServerEffect.call(void 0,
1444
1444
  options.observability,
1445
1445
  observedInput,
1446
1446
  effect,
@@ -1450,7 +1450,7 @@ async function handleNodeRequest(req, res, router, options) {
1450
1450
  },
1451
1451
  options.env,
1452
1452
  options.runtimeOptions
1453
- )).value : await (_nullishCoalesce(options.runtime, () => ( new (0, _chunkZDZNV6NAcjs.Runtime)({
1453
+ )).value : await (_nullishCoalesce(options.runtime, () => ( new (0, _chunkJKHBEWQAcjs.Runtime)({
1454
1454
  env: _nullishCoalesce(options.env, () => ( {})),
1455
1455
  ..._nullishCoalesce(options.runtimeOptions, () => ( {}))
1456
1456
  })))).toPromise(effect);
@@ -1536,7 +1536,7 @@ function closeNodeServer(server, options) {
1536
1536
  return new Promise((resolve, reject) => {
1537
1537
  const startedAt = Date.now();
1538
1538
  const schedule = _nullishCoalesce(options.shutdownPollSchedule, () => ( defaultShutdownPollSchedule(_nullishCoalesce(options.gracefulShutdownMs, () => ( 5e3)))));
1539
- const driver = _chunk6STX4PS3cjs.makeScheduleDriver.call(void 0, schedule, { name: _nullishCoalesce(schedule.name, () => ( "http.server.shutdown")), startedAtMs: startedAt });
1539
+ const driver = _chunkZZ2CMYJLcjs.makeScheduleDriver.call(void 0, schedule, { name: _nullishCoalesce(schedule.name, () => ( "http.server.shutdown")), startedAtMs: startedAt });
1540
1540
  let finished = false;
1541
1541
  const done = (error) => {
1542
1542
  if (finished) return;
@@ -1570,7 +1570,7 @@ function closeNodeServer(server, options) {
1570
1570
  }
1571
1571
  function defaultShutdownPollSchedule(maxMs) {
1572
1572
  const intervalMs = 25;
1573
- return _chunk6STX4PS3cjs.take.call(void 0, _chunk6STX4PS3cjs.fixed.call(void 0, intervalMs), Math.max(1, Math.ceil(Math.max(0, maxMs) / intervalMs)));
1573
+ return _chunkZZ2CMYJLcjs.take.call(void 0, _chunkZZ2CMYJLcjs.fixed.call(void 0, intervalMs), Math.max(1, Math.ceil(Math.max(0, maxMs) / intervalMs)));
1574
1574
  }
1575
1575
  function matchRoute(routes, method, path) {
1576
1576
  const requestedMethod = method.toUpperCase();
@@ -1843,4 +1843,4 @@ function escapeRegExp(value) {
1843
1843
 
1844
1844
 
1845
1845
 
1846
- exports.AdaptiveLimiter = _chunk7FZUTJM3cjs.AdaptiveLimiter; exports.ConfigValidationError = _chunkKPOL2YEOcjs.ConfigValidationError; exports.DEFAULT_CACHE_RELEVANT_HEADERS = _chunk7FZUTJM3cjs.DEFAULT_CACHE_RELEVANT_HEADERS; exports.EmaComputer = _chunk7FZUTJM3cjs.EmaComputer; exports.HttpClientService = _chunk7FZUTJM3cjs.HttpClientService; exports.HttpConcurrencyPool = _chunk7FZUTJM3cjs.HttpConcurrencyPool; exports.HttpServer = HttpServer; exports.LRUCache = _chunk7FZUTJM3cjs.LRUCache; exports.LatencyWindow = _chunk7FZUTJM3cjs.LatencyWindow; exports.LifecycleStatsTracker = _chunk7FZUTJM3cjs.LifecycleStatsTracker; exports.PriorityQueue = _chunk7FZUTJM3cjs.PriorityQueue; exports.SEPARATOR = _chunk7FZUTJM3cjs.SEPARATOR; exports.SUPPORTED_ENCODINGS = _chunk7FZUTJM3cjs.SUPPORTED_ENCODINGS; exports.Schema = _chunkKPOL2YEOcjs.Schema; exports.SchemaValidationException = _chunkKPOL2YEOcjs.SchemaValidationException; exports.abortErrorForSignal = _chunk7FZUTJM3cjs.abortErrorForSignal; exports.adaptiveLimiterPresets = _chunk7FZUTJM3cjs.adaptiveLimiterPresets; exports.backoffDelayMs = _chunk7FZUTJM3cjs.backoffDelayMs; exports.clampPriority = _chunk7FZUTJM3cjs.clampPriority; exports.computeCacheKey = _chunk7FZUTJM3cjs.computeCacheKey; exports.computeGradient = _chunk7FZUTJM3cjs.computeGradient; exports.computeNewLimit = _chunk7FZUTJM3cjs.computeNewLimit; exports.decodeJsonBody = _chunk7FZUTJM3cjs.decodeJsonBody; exports.decodeJsonBodyEffect = _chunk7FZUTJM3cjs.decodeJsonBodyEffect; exports.decorate = _chunk7FZUTJM3cjs.decorate; exports.defaultHttpClientPreset = _chunk7FZUTJM3cjs.defaultHttpClientPreset; exports.defaultRetryOnError = _chunk7FZUTJM3cjs.defaultRetryOnError; exports.defaultRetryOnStatus = _chunk7FZUTJM3cjs.defaultRetryOnStatus; exports.defaultRetryableMethods = _chunk7FZUTJM3cjs.defaultRetryableMethods; exports.defineHttpPolicyPresets = _chunk7FZUTJM3cjs.defineHttpPolicyPresets; exports.detectPlatform = _chunk7FZUTJM3cjs.detectPlatform; exports.empty = empty; exports.encodeJsonBodyEffect = _chunk7FZUTJM3cjs.encodeJsonBodyEffect; exports.executeProbe = _chunk7FZUTJM3cjs.executeProbe; exports.formatConfigError = _chunkKPOL2YEOcjs.formatConfigError; exports.formatHttpError = _chunk7FZUTJM3cjs.formatHttpError; exports.formatIssues = _chunkKPOL2YEOcjs.formatIssues; exports.getHttpRequestPolicy = _chunk7FZUTJM3cjs.getHttpRequestPolicy; exports.headersOf = _chunk7FZUTJM3cjs.headersOf; exports.httpBuilder = httpBuilder; exports.httpClient = httpClient; exports.httpClientBuilder = httpClientBuilder; exports.httpClientStream = httpClientStream; exports.httpClientWithMeta = httpClientWithMeta; exports.httpErrorStatus = _chunk7FZUTJM3cjs.httpErrorStatus; exports.httpPolicy = _chunk7FZUTJM3cjs.httpPolicy; exports.httpRoute = httpRoute; exports.isAbortError = _chunk7FZUTJM3cjs.isAbortError; exports.isAbortHttpError = _chunk7FZUTJM3cjs.isAbortHttpError; exports.isCircuitBreakerOpen = _chunk7FZUTJM3cjs.isCircuitBreakerOpen; exports.isConfigValidationError = _chunkKPOL2YEOcjs.isConfigValidationError; exports.isExternalAbortError = _chunk7FZUTJM3cjs.isExternalAbortError; exports.isExternalTimeoutError = _chunk7FZUTJM3cjs.isExternalTimeoutError; exports.isFetchHttpError = _chunk7FZUTJM3cjs.isFetchHttpError; exports.isHttpError = _chunk7FZUTJM3cjs.isHttpError; exports.isKnownHttpError = _chunk7FZUTJM3cjs.isKnownHttpError; exports.isPromiseTransportDirect = _chunk7FZUTJM3cjs.isPromiseTransportDirect; exports.isRetryableHttpError = _chunk7FZUTJM3cjs.isRetryableHttpError; exports.isRetryableHttpStatus = _chunk7FZUTJM3cjs.isRetryableHttpStatus; exports.isSchema = _chunkKPOL2YEOcjs.isSchema; exports.isTaggedHttpError = _chunk7FZUTJM3cjs.isTaggedHttpError; exports.isTimeoutHttpError = _chunk7FZUTJM3cjs.isTimeoutHttpError; exports.isValidationError = _chunk7FZUTJM3cjs.isValidationError; exports.json = json; exports.linkAbortSignals = _chunk7FZUTJM3cjs.linkAbortSignals; exports.makeAdaptiveLimiterConfig = _chunk7FZUTJM3cjs.makeAdaptiveLimiterConfig; exports.makeBudgetSemaphore = _chunk7FZUTJM3cjs.makeBudgetSemaphore; exports.makeCompressionMiddleware = _chunk7FZUTJM3cjs.makeCompressionMiddleware; exports.makeConnectionStateMap = _chunk7FZUTJM3cjs.makeConnectionStateMap; exports.makeDefaultHttpClient = _chunk7FZUTJM3cjs.makeDefaultHttpClient; exports.makeDefaultHttpClientLayer = _chunk7FZUTJM3cjs.makeDefaultHttpClientLayer; exports.makeFetchStreamTransport = _chunk7FZUTJM3cjs.makeFetchStreamTransport; exports.makeFetchTransport = _chunk7FZUTJM3cjs.makeFetchTransport; exports.makeHttp = _chunk7FZUTJM3cjs.makeHttp; exports.makeHttpClient = _chunk7FZUTJM3cjs.makeHttpClient; exports.makeHttpClientBuilder = makeHttpClientBuilder; exports.makeHttpRouter = makeHttpRouter; exports.makeHttpServerResource = makeHttpServerResource; exports.makeHttpStream = _chunk7FZUTJM3cjs.makeHttpStream; exports.makeJsonParseValidationError = _chunk7FZUTJM3cjs.makeJsonParseValidationError; exports.makeLifecycleClient = _chunk7FZUTJM3cjs.makeLifecycleClient; exports.makeNodeHttpProxyClient = makeNodeHttpProxyClient; exports.makeNodeHttpServer = makeNodeHttpServer; exports.makeNodeHttpServerResource = makeNodeHttpServerResource; exports.makeNodeHttpTransport = makeNodeHttpTransport; exports.makePrewarmManager = _chunk7FZUTJM3cjs.makePrewarmManager; exports.makePromiseHttpTransport = _chunk7FZUTJM3cjs.makePromiseHttpTransport; exports.makeRequestCompressionMiddleware = _chunk7FZUTJM3cjs.makeRequestCompressionMiddleware; exports.makeResponseCompressionMiddleware = _chunk7FZUTJM3cjs.makeResponseCompressionMiddleware; exports.makeRuntimeHealthRoute = makeRuntimeHealthRoute; exports.makeRuntimeReadinessRoute = makeRuntimeReadinessRoute; exports.makeSchemaIssue = _chunkKPOL2YEOcjs.makeSchemaIssue; exports.matchHttpError = _chunk7FZUTJM3cjs.matchHttpError; exports.nodeHttpServerResource = nodeHttpServerResource; exports.noopSignal = _chunk7FZUTJM3cjs.noopSignal; exports.normalizeHeadersInit = _chunk7FZUTJM3cjs.normalizeHeadersInit; exports.normalizeHttpError = _chunk7FZUTJM3cjs.normalizeHttpError; exports.normalizeHttpHeaders = _chunk7FZUTJM3cjs.normalizeHttpHeaders; exports.normalizeRetryBudget = _chunk7FZUTJM3cjs.normalizeRetryBudget; exports.parseCacheKey = _chunk7FZUTJM3cjs.parseCacheKey; exports.parseConfig = _chunkKPOL2YEOcjs.parseConfig; exports.prewarmConnections = prewarmConnections; exports.prewarmHttpConnections = prewarmHttpConnections; exports.promiseHttpTransport = _chunk7FZUTJM3cjs.promiseHttpTransport; exports.resolveConfig = _chunk7FZUTJM3cjs.resolveConfig; exports.resolveHttpPoolKey = _chunk7FZUTJM3cjs.resolveHttpPoolKey; exports.resolveHttpRequestPolicyPresets = _chunk7FZUTJM3cjs.resolveHttpRequestPolicyPresets; exports.retryAfterMs = _chunk7FZUTJM3cjs.retryAfterMs; exports.route = route; exports.runtimeHealthRoute = runtimeHealthRoute; exports.runtimeReadinessRoute = runtimeReadinessRoute; exports.s = _chunkKPOL2YEOcjs.s; exports.schema = _chunkKPOL2YEOcjs.schema; exports.text = text; exports.toHttpError = _chunk7FZUTJM3cjs.toHttpError; exports.validateConfig = _chunk7FZUTJM3cjs.validateConfig; exports.validateFetchAvailable = _chunk7FZUTJM3cjs.validateFetchAvailable; exports.validateOrigin = _chunk7FZUTJM3cjs.validateOrigin; exports.validateValue = _chunkKPOL2YEOcjs.validateValue; exports.validatedJson = _chunk7FZUTJM3cjs.validatedJson; exports.validatedJsonResponse = _chunk7FZUTJM3cjs.validatedJsonResponse; exports.withAuth = withAuth; exports.withBatch = _chunk7FZUTJM3cjs.withBatch; exports.withCache = _chunk7FZUTJM3cjs.withCache; exports.withCircuitBreaker = withCircuitBreaker; exports.withConnectionPrewarming = withConnectionPrewarming; exports.withDedup = _chunk7FZUTJM3cjs.withDedup; exports.withHttpPolicyPresets = _chunk7FZUTJM3cjs.withHttpPolicyPresets; exports.withHttpRequestPolicy = _chunk7FZUTJM3cjs.withHttpRequestPolicy; exports.withLogging = withLogging; exports.withMiddleware = _chunk7FZUTJM3cjs.withMiddleware; exports.withPriority = _chunk7FZUTJM3cjs.withPriority; exports.withRequestBatching = withRequestBatching; exports.withResponseHeader = withResponseHeader; exports.withResponseTransform = withResponseTransform; exports.withRetry = _chunk7FZUTJM3cjs.withRetry; exports.withRetryStream = _chunk7FZUTJM3cjs.withRetryStream; exports.withTracing = withTracing;
1846
+ exports.AdaptiveLimiter = _chunkLXNU3MRVcjs.AdaptiveLimiter; exports.ConfigValidationError = _chunkKPOL2YEOcjs.ConfigValidationError; exports.DEFAULT_CACHE_RELEVANT_HEADERS = _chunkLXNU3MRVcjs.DEFAULT_CACHE_RELEVANT_HEADERS; exports.EmaComputer = _chunkLXNU3MRVcjs.EmaComputer; exports.HttpClientService = _chunkLXNU3MRVcjs.HttpClientService; exports.HttpConcurrencyPool = _chunkLXNU3MRVcjs.HttpConcurrencyPool; exports.HttpServer = HttpServer; exports.LRUCache = _chunkLXNU3MRVcjs.LRUCache; exports.LatencyWindow = _chunkLXNU3MRVcjs.LatencyWindow; exports.LifecycleStatsTracker = _chunkLXNU3MRVcjs.LifecycleStatsTracker; exports.PriorityQueue = _chunkLXNU3MRVcjs.PriorityQueue; exports.SEPARATOR = _chunkLXNU3MRVcjs.SEPARATOR; exports.SUPPORTED_ENCODINGS = _chunkLXNU3MRVcjs.SUPPORTED_ENCODINGS; exports.Schema = _chunkKPOL2YEOcjs.Schema; exports.SchemaValidationException = _chunkKPOL2YEOcjs.SchemaValidationException; exports.abortErrorForSignal = _chunkLXNU3MRVcjs.abortErrorForSignal; exports.adaptiveLimiterPresets = _chunkLXNU3MRVcjs.adaptiveLimiterPresets; exports.backoffDelayMs = _chunkLXNU3MRVcjs.backoffDelayMs; exports.clampPriority = _chunkLXNU3MRVcjs.clampPriority; exports.computeCacheKey = _chunkLXNU3MRVcjs.computeCacheKey; exports.computeGradient = _chunkLXNU3MRVcjs.computeGradient; exports.computeNewLimit = _chunkLXNU3MRVcjs.computeNewLimit; exports.decodeJsonBody = _chunkLXNU3MRVcjs.decodeJsonBody; exports.decodeJsonBodyEffect = _chunkLXNU3MRVcjs.decodeJsonBodyEffect; exports.decorate = _chunkLXNU3MRVcjs.decorate; exports.defaultHttpClientPreset = _chunkLXNU3MRVcjs.defaultHttpClientPreset; exports.defaultRetryOnError = _chunkLXNU3MRVcjs.defaultRetryOnError; exports.defaultRetryOnStatus = _chunkLXNU3MRVcjs.defaultRetryOnStatus; exports.defaultRetryableMethods = _chunkLXNU3MRVcjs.defaultRetryableMethods; exports.defineHttpPolicyPresets = _chunkLXNU3MRVcjs.defineHttpPolicyPresets; exports.detectPlatform = _chunkLXNU3MRVcjs.detectPlatform; exports.empty = empty; exports.encodeJsonBodyEffect = _chunkLXNU3MRVcjs.encodeJsonBodyEffect; exports.executeProbe = _chunkLXNU3MRVcjs.executeProbe; exports.formatConfigError = _chunkKPOL2YEOcjs.formatConfigError; exports.formatHttpError = _chunkLXNU3MRVcjs.formatHttpError; exports.formatIssues = _chunkKPOL2YEOcjs.formatIssues; exports.getHttpRequestPolicy = _chunkLXNU3MRVcjs.getHttpRequestPolicy; exports.headersOf = _chunkLXNU3MRVcjs.headersOf; exports.httpBuilder = httpBuilder; exports.httpClient = httpClient; exports.httpClientBuilder = httpClientBuilder; exports.httpClientStream = httpClientStream; exports.httpClientWithMeta = httpClientWithMeta; exports.httpErrorStatus = _chunkLXNU3MRVcjs.httpErrorStatus; exports.httpPolicy = _chunkLXNU3MRVcjs.httpPolicy; exports.httpRoute = httpRoute; exports.isAbortError = _chunkLXNU3MRVcjs.isAbortError; exports.isAbortHttpError = _chunkLXNU3MRVcjs.isAbortHttpError; exports.isCircuitBreakerOpen = _chunkLXNU3MRVcjs.isCircuitBreakerOpen; exports.isConfigValidationError = _chunkKPOL2YEOcjs.isConfigValidationError; exports.isExternalAbortError = _chunkLXNU3MRVcjs.isExternalAbortError; exports.isExternalTimeoutError = _chunkLXNU3MRVcjs.isExternalTimeoutError; exports.isFetchHttpError = _chunkLXNU3MRVcjs.isFetchHttpError; exports.isHttpError = _chunkLXNU3MRVcjs.isHttpError; exports.isKnownHttpError = _chunkLXNU3MRVcjs.isKnownHttpError; exports.isPromiseTransportDirect = _chunkLXNU3MRVcjs.isPromiseTransportDirect; exports.isRetryableHttpError = _chunkLXNU3MRVcjs.isRetryableHttpError; exports.isRetryableHttpStatus = _chunkLXNU3MRVcjs.isRetryableHttpStatus; exports.isSchema = _chunkKPOL2YEOcjs.isSchema; exports.isTaggedHttpError = _chunkLXNU3MRVcjs.isTaggedHttpError; exports.isTimeoutHttpError = _chunkLXNU3MRVcjs.isTimeoutHttpError; exports.isValidationError = _chunkLXNU3MRVcjs.isValidationError; exports.json = json; exports.linkAbortSignals = _chunkLXNU3MRVcjs.linkAbortSignals; exports.makeAdaptiveLimiterConfig = _chunkLXNU3MRVcjs.makeAdaptiveLimiterConfig; exports.makeBudgetSemaphore = _chunkLXNU3MRVcjs.makeBudgetSemaphore; exports.makeCompressionMiddleware = _chunkLXNU3MRVcjs.makeCompressionMiddleware; exports.makeConnectionStateMap = _chunkLXNU3MRVcjs.makeConnectionStateMap; exports.makeDefaultHttpClient = _chunkLXNU3MRVcjs.makeDefaultHttpClient; exports.makeDefaultHttpClientLayer = _chunkLXNU3MRVcjs.makeDefaultHttpClientLayer; exports.makeFetchStreamTransport = _chunkLXNU3MRVcjs.makeFetchStreamTransport; exports.makeFetchTransport = _chunkLXNU3MRVcjs.makeFetchTransport; exports.makeHttp = _chunkLXNU3MRVcjs.makeHttp; exports.makeHttpClient = _chunkLXNU3MRVcjs.makeHttpClient; exports.makeHttpClientBuilder = makeHttpClientBuilder; exports.makeHttpRouter = makeHttpRouter; exports.makeHttpServerResource = makeHttpServerResource; exports.makeHttpStream = _chunkLXNU3MRVcjs.makeHttpStream; exports.makeJsonParseValidationError = _chunkLXNU3MRVcjs.makeJsonParseValidationError; exports.makeLifecycleClient = _chunkLXNU3MRVcjs.makeLifecycleClient; exports.makeNodeHttpProxyClient = makeNodeHttpProxyClient; exports.makeNodeHttpServer = makeNodeHttpServer; exports.makeNodeHttpServerResource = makeNodeHttpServerResource; exports.makeNodeHttpTransport = makeNodeHttpTransport; exports.makePrewarmManager = _chunkLXNU3MRVcjs.makePrewarmManager; exports.makePromiseHttpTransport = _chunkLXNU3MRVcjs.makePromiseHttpTransport; exports.makeRequestCompressionMiddleware = _chunkLXNU3MRVcjs.makeRequestCompressionMiddleware; exports.makeResponseCompressionMiddleware = _chunkLXNU3MRVcjs.makeResponseCompressionMiddleware; exports.makeRuntimeHealthRoute = makeRuntimeHealthRoute; exports.makeRuntimeReadinessRoute = makeRuntimeReadinessRoute; exports.makeSchemaIssue = _chunkKPOL2YEOcjs.makeSchemaIssue; exports.matchHttpError = _chunkLXNU3MRVcjs.matchHttpError; exports.nodeHttpServerResource = nodeHttpServerResource; exports.noopSignal = _chunkLXNU3MRVcjs.noopSignal; exports.normalizeHeadersInit = _chunkLXNU3MRVcjs.normalizeHeadersInit; exports.normalizeHttpError = _chunkLXNU3MRVcjs.normalizeHttpError; exports.normalizeHttpHeaders = _chunkLXNU3MRVcjs.normalizeHttpHeaders; exports.normalizeRetryBudget = _chunkLXNU3MRVcjs.normalizeRetryBudget; exports.parseCacheKey = _chunkLXNU3MRVcjs.parseCacheKey; exports.parseConfig = _chunkKPOL2YEOcjs.parseConfig; exports.prewarmConnections = prewarmConnections; exports.prewarmHttpConnections = prewarmHttpConnections; exports.promiseHttpTransport = _chunkLXNU3MRVcjs.promiseHttpTransport; exports.resolveConfig = _chunkLXNU3MRVcjs.resolveConfig; exports.resolveHttpPoolKey = _chunkLXNU3MRVcjs.resolveHttpPoolKey; exports.resolveHttpRequestPolicyPresets = _chunkLXNU3MRVcjs.resolveHttpRequestPolicyPresets; exports.retryAfterMs = _chunkLXNU3MRVcjs.retryAfterMs; exports.route = route; exports.runtimeHealthRoute = runtimeHealthRoute; exports.runtimeReadinessRoute = runtimeReadinessRoute; exports.s = _chunkKPOL2YEOcjs.s; exports.schema = _chunkKPOL2YEOcjs.schema; exports.text = text; exports.toHttpError = _chunkLXNU3MRVcjs.toHttpError; exports.validateConfig = _chunkLXNU3MRVcjs.validateConfig; exports.validateFetchAvailable = _chunkLXNU3MRVcjs.validateFetchAvailable; exports.validateOrigin = _chunkLXNU3MRVcjs.validateOrigin; exports.validateValue = _chunkKPOL2YEOcjs.validateValue; exports.validatedJson = _chunkLXNU3MRVcjs.validatedJson; exports.validatedJsonResponse = _chunkLXNU3MRVcjs.validatedJsonResponse; exports.withAuth = withAuth; exports.withBatch = _chunkLXNU3MRVcjs.withBatch; exports.withCache = _chunkLXNU3MRVcjs.withCache; exports.withCircuitBreaker = withCircuitBreaker; exports.withConnectionPrewarming = withConnectionPrewarming; exports.withDedup = _chunkLXNU3MRVcjs.withDedup; exports.withHttpPolicyPresets = _chunkLXNU3MRVcjs.withHttpPolicyPresets; exports.withHttpRequestPolicy = _chunkLXNU3MRVcjs.withHttpRequestPolicy; exports.withLogging = withLogging; exports.withMiddleware = _chunkLXNU3MRVcjs.withMiddleware; exports.withPriority = _chunkLXNU3MRVcjs.withPriority; exports.withRequestBatching = withRequestBatching; exports.withResponseHeader = withResponseHeader; exports.withResponseTransform = withResponseTransform; exports.withRetry = _chunkLXNU3MRVcjs.withRetry; exports.withRetryStream = _chunkLXNU3MRVcjs.withRetryStream; exports.withTracing = withTracing;
@@ -1,16 +1,16 @@
1
- import { C as CompressionConfig, f as CompressionMiddlewareResult, R as RequestCompressionConfig, g as RequestCompressionMiddlewareResult, e as DefaultHttpClientConfig, h as HttpTransport, D as DefaultHttpClient, i as AdaptiveLimiter, H as HttpRequest, d as HttpMiddleware, L as LifecycleClientConfig, j as LifecycleClient, b as HttpWireResponse, c as HttpError, k as LifecycleEvent, l as HttpClientStats, m as LifecycleEventType, n as LifecycleStats, P as PrewarmResult, o as PrewarmStatusSnapshot, p as PrewarmConfig, q as HttpClientFn, r as PrewarmOriginState, s as HttpMethod, t as DefaultHttpClientPreset, u as DedupConfig$1, B as BatchConfig, v as CacheConfig$1, w as PriorityConfig$1, x as RetryPolicy, y as PrewarmLifecycleConfig, z as AdaptiveLimiterConfig, E as AdaptiveLimiterPreset, F as HttpPoolConfig } from '../defaultClient-Cid0JoUR.js';
2
- export { G as AdaptiveAcquireOptions, I as AdaptiveBaselineStrategy, J as AdaptiveHeadroomContext, K as AdaptiveHeadroomMode, M as AdaptiveHeadroomStrategy, N as AdaptiveLease, O as AdaptiveLimiterDiagnostics, Q as AdaptiveLimiterKeySnapshot, A as AdaptiveLimiterStats, S as AdaptiveQueueLoadShedding, T as AdaptiveQueueStrategy, U as AdaptiveReleaseInfo, V as BatchFunction, W as CachePolicyResult, X as CompressionStats, Y as DecompressResult, Z as Decompressor, _ as DefaultGetJson, $ as DefaultHttpClientFeatures, a0 as DefaultPostJson, a1 as Dx, a2 as HttpBody, a as HttpClient, a3 as HttpClientStream, a4 as HttpClientStreamFn, a5 as HttpConcurrencyPool, a6 as HttpErrorHandlers, a7 as HttpInit, a8 as HttpJsonInit, a9 as HttpMeta, aa as HttpPolicyPreset, ab as HttpPolicyPresets, ac as HttpPoolKeyResolver, ad as HttpPoolKeyStats, ae as HttpPoolLease, af as HttpPoolStats, ag as HttpPostJsonBodyInit, ah as HttpPostJsonInit, ai as HttpPostJsonSchemaBodyInit, aj as HttpRequestPolicy, ak as HttpRequestPolicyRef, al as HttpRequestRetryOverride, am as HttpResponse, an as HttpResponseWithMeta, ao as HttpRetryScheduleInput, ap as HttpStreamTransport, aq as HttpTransportContext, ar as HttpTransportTiming, as as HttpWireResponseStream, at as HttpWireWithMeta, au as JsonDecodeResult, av as KnownHttpError, aw as KnownHttpErrorTag, ax as LifecycleRequestOptions, ay as LimitChangeEvent, az as MakeHttpConfig, aA as PerRequestRetryOverride, aB as PrewarmEvent, aC as PrewarmEventType, aD as PrewarmOriginStatus, aE as PrewarmResultStatus, aF as PromiseHttpTransportBodyBuilder, aG as PromiseHttpTransportBodySelector, aH as PromiseHttpTransportConfig, aI as PromiseHttpTransportConfigWithSignal, aJ as PromiseHttpTransportFluentResponseBuilder, aK as PromiseHttpTransportRequestConfigBuilder, aL as PromiseHttpTransportRequestConfigContext, aM as PromiseHttpTransportRequestConfigMapper, aN as PromiseHttpTransportResponse, aO as PromiseHttpTransportResponseInfo, aP as PromiseHttpTransportResponseInfoMapper, aQ as PromiseHttpTransportStartBuilder, aR as RequestCompressionStats, aS as ResolveHttpRequestPolicyOptions, aT as ResolvedConfig, aU as RetryEvent, aV as RetryScheduleInput, aW as RetryableHttpErrorOptions, aX as SUPPORTED_ENCODINGS, aY as SupportedEncoding, aZ as ToHttpErrorOptions, a_ as ValidationError, a$ as abortErrorForSignal, b0 as adaptiveLimiterPresets, b1 as backoffDelayMs, b2 as decodeJsonBody, b3 as decodeJsonBodyEffect, b4 as decorate, b5 as defaultHttpClientPreset, b6 as defaultRetryOnError, b7 as defaultRetryOnStatus, b8 as defaultRetryableMethods, b9 as defineHttpPolicyPresets, ba as encodeJsonBodyEffect, bb as formatHttpError, bc as getHttpRequestPolicy, bd as headersOf, be as httpClient, bf as httpClientStream, bg as httpClientWithMeta, bh as httpErrorStatus, bi as httpPolicy, bj as isAbortError, bk as isAbortHttpError, bl as isCircuitBreakerOpen, bm as isExternalAbortError, bn as isExternalTimeoutError, bo as isFetchHttpError, bp as isHttpError, bq as isKnownHttpError, br as isPromiseTransportDirect, bs as isRetryableHttpError, bt as isRetryableHttpStatus, bu as isTaggedHttpError, bv as isTimeoutHttpError, bw as isValidationError, bx as linkAbortSignals, by as makeAdaptiveLimiterConfig, bz as makeDefaultHttpClient, bA as makeFetchStreamTransport, bB as makeFetchTransport, bC as makeHttp, bD as makeHttpStream, bE as makeJsonParseValidationError, bF as makePromiseHttpTransport, bG as matchHttpError, bH as noopSignal, bI as normalizeHeadersInit, bJ as normalizeHttpError, bK as normalizeHttpHeaders, bL as normalizeRetryBudget, bM as promiseHttpTransport, bN as resolveConfig, bO as resolveHttpPoolKey, bP as resolveHttpRequestPolicyPresets, bQ as retryAfterMs, bR as toHttpError, bS as validateConfig, bT as validatedJson, bU as validatedJsonResponse, bV as withBatch, bW as withHttpPolicyPresets, bX as withHttpRequestPolicy, bY as withMiddleware, bZ as withRetry, b_ as withRetryStream } from '../defaultClient-Cid0JoUR.js';
1
+ import { C as CompressionConfig, f as CompressionMiddlewareResult, R as RequestCompressionConfig, g as RequestCompressionMiddlewareResult, e as DefaultHttpClientConfig, h as HttpTransport, D as DefaultHttpClient, i as AdaptiveLimiter, H as HttpRequest, d as HttpMiddleware, L as LifecycleClientConfig, j as LifecycleClient, b as HttpWireResponse, c as HttpError, k as LifecycleEvent, l as HttpClientStats, m as LifecycleEventType, n as LifecycleStats, P as PrewarmResult, o as PrewarmStatusSnapshot, p as PrewarmConfig, q as HttpClientFn, r as PrewarmOriginState, s as HttpMethod, t as DefaultHttpClientPreset, u as DedupConfig$1, B as BatchConfig, v as CacheConfig$1, w as PriorityConfig$1, x as RetryPolicy, y as PrewarmLifecycleConfig, z as AdaptiveLimiterConfig, E as AdaptiveLimiterPreset, F as HttpPoolConfig } from '../defaultClient-hyVSNzSJ.js';
2
+ export { G as AdaptiveAcquireOptions, I as AdaptiveBaselineStrategy, J as AdaptiveHeadroomContext, K as AdaptiveHeadroomMode, M as AdaptiveHeadroomStrategy, N as AdaptiveLease, O as AdaptiveLimiterDiagnostics, Q as AdaptiveLimiterKeySnapshot, A as AdaptiveLimiterStats, S as AdaptiveQueueLoadShedding, T as AdaptiveQueueStrategy, U as AdaptiveReleaseInfo, V as BatchFunction, W as CachePolicyResult, X as CompressionStats, Y as DecompressResult, Z as Decompressor, _ as DefaultGetJson, $ as DefaultHttpClientFeatures, a0 as DefaultPostJson, a1 as Dx, a2 as HttpBody, a as HttpClient, a3 as HttpClientStream, a4 as HttpClientStreamFn, a5 as HttpConcurrencyPool, a6 as HttpErrorHandlers, a7 as HttpInit, a8 as HttpJsonInit, a9 as HttpMeta, aa as HttpPolicyPreset, ab as HttpPolicyPresets, ac as HttpPoolKeyResolver, ad as HttpPoolKeyStats, ae as HttpPoolLease, af as HttpPoolStats, ag as HttpPostJsonBodyInit, ah as HttpPostJsonInit, ai as HttpPostJsonSchemaBodyInit, aj as HttpRequestPolicy, ak as HttpRequestPolicyRef, al as HttpRequestRetryOverride, am as HttpResponse, an as HttpResponseWithMeta, ao as HttpRetryScheduleInput, ap as HttpStreamTransport, aq as HttpTransportContext, ar as HttpTransportTiming, as as HttpWireResponseStream, at as HttpWireWithMeta, au as JsonDecodeResult, av as KnownHttpError, aw as KnownHttpErrorTag, ax as LifecycleRequestOptions, ay as LimitChangeEvent, az as MakeHttpConfig, aA as PerRequestRetryOverride, aB as PrewarmEvent, aC as PrewarmEventType, aD as PrewarmOriginStatus, aE as PrewarmResultStatus, aF as PromiseHttpTransportBodyBuilder, aG as PromiseHttpTransportBodySelector, aH as PromiseHttpTransportConfig, aI as PromiseHttpTransportConfigWithSignal, aJ as PromiseHttpTransportFluentResponseBuilder, aK as PromiseHttpTransportRequestConfigBuilder, aL as PromiseHttpTransportRequestConfigContext, aM as PromiseHttpTransportRequestConfigMapper, aN as PromiseHttpTransportResponse, aO as PromiseHttpTransportResponseInfo, aP as PromiseHttpTransportResponseInfoMapper, aQ as PromiseHttpTransportStartBuilder, aR as RequestCompressionStats, aS as ResolveHttpRequestPolicyOptions, aT as ResolvedConfig, aU as RetryEvent, aV as RetryScheduleInput, aW as RetryableHttpErrorOptions, aX as SUPPORTED_ENCODINGS, aY as SupportedEncoding, aZ as ToHttpErrorOptions, a_ as ValidationError, a$ as abortErrorForSignal, b0 as adaptiveLimiterPresets, b1 as backoffDelayMs, b2 as decodeJsonBody, b3 as decodeJsonBodyEffect, b4 as decorate, b5 as defaultHttpClientPreset, b6 as defaultRetryOnError, b7 as defaultRetryOnStatus, b8 as defaultRetryableMethods, b9 as defineHttpPolicyPresets, ba as encodeJsonBodyEffect, bb as formatHttpError, bc as getHttpRequestPolicy, bd as headersOf, be as httpClient, bf as httpClientStream, bg as httpClientWithMeta, bh as httpErrorStatus, bi as httpPolicy, bj as isAbortError, bk as isAbortHttpError, bl as isCircuitBreakerOpen, bm as isExternalAbortError, bn as isExternalTimeoutError, bo as isFetchHttpError, bp as isHttpError, bq as isKnownHttpError, br as isPromiseTransportDirect, bs as isRetryableHttpError, bt as isRetryableHttpStatus, bu as isTaggedHttpError, bv as isTimeoutHttpError, bw as isValidationError, bx as linkAbortSignals, by as makeAdaptiveLimiterConfig, bz as makeDefaultHttpClient, bA as makeFetchStreamTransport, bB as makeFetchTransport, bC as makeHttp, bD as makeHttpStream, bE as makeJsonParseValidationError, bF as makePromiseHttpTransport, bG as matchHttpError, bH as noopSignal, bI as normalizeHeadersInit, bJ as normalizeHttpError, bK as normalizeHttpHeaders, bL as normalizeRetryBudget, bM as promiseHttpTransport, bN as resolveConfig, bO as resolveHttpPoolKey, bP as resolveHttpRequestPolicyPresets, bQ as retryAfterMs, bR as toHttpError, bS as validateConfig, bT as validatedJson, bU as validatedJsonResponse, bV as withBatch, bW as withHttpPolicyPresets, bX as withHttpRequestPolicy, bY as withMiddleware, bZ as withRetry, b_ as withRetryStream } from '../defaultClient-hyVSNzSJ.js';
3
3
  import { Agent, Server } from 'node:http';
4
4
  import { Agent as Agent$1 } from 'node:https';
5
- import { c as CircuitBreakerConfig, l as Schedule, a as LayerContext, S as ServiceTag, L as Layer } from '../layer-D2LFcBVx.js';
6
- import { T as Tracer, R as Resource } from '../tracing-CWV4gT0u.js';
7
- import { A as Async, b as Runtime, a as RuntimeOptions } from '../effect-DnGUuhw6.js';
5
+ import { c as CircuitBreakerConfig, l as Schedule, a as LayerContext, S as ServiceTag, L as Layer } from '../layer-CsNGeVee.js';
6
+ import { T as Tracer, R as Resource } from '../tracing-DIAUf2x8.js';
7
+ import { A as Async, b as Runtime, a as RuntimeOptions } from '../effect-DbEMiMvv.js';
8
8
  import { AddressInfo } from 'node:net';
9
- import { O as Observability, q as HttpServerObservabilityOptions, $ as RuntimeHealthOptions } from '../server-Bf1zNYZk.js';
9
+ import { O as Observability, q as HttpServerObservabilityOptions, $ as RuntimeHealthOptions } from '../server-BKKuzAW9.js';
10
10
  import { AnyJsonSchemaLike, InferJsonSchema } from '../schema/index.js';
11
11
  export { AnySchema, ConfigValidationError, InferObject, InferSchema, JsonSchemaLike, JsonValidator, JsonValidatorResult, NumberSchemaOptions, ObjectSchemaOptions, Schema, SchemaIssue, SchemaPathPart, SchemaResult, SchemaShape, SchemaValidationException, StringSchemaOptions, formatConfigError, formatIssues, isConfigValidationError, isSchema, makeSchemaIssue, parseConfig, s, schema, validateValue } from '../schema/index.js';
12
- import '../stream-I7bkvF7a.js';
13
- import '../tracer-DF83nLn6.js';
12
+ import '../stream-B8c_UKZq.js';
13
+ import '../tracer-CS3yOXZx.js';
14
14
 
15
15
  /**
16
16
  * A fixed-size circular buffer that stores latency samples and supports
@@ -5,8 +5,8 @@ import {
5
5
  healthToHttpResponse,
6
6
  makeRuntimeHealth,
7
7
  runObservedHttpServerEffect
8
- } from "../chunk-A6EG5WRL.js";
9
- import "../chunk-B2VXVNIS.js";
8
+ } from "../chunk-TAPB4NN5.js";
9
+ import "../chunk-LI7WUVJN.js";
10
10
  import {
11
11
  AdaptiveLimiter,
12
12
  DEFAULT_CACHE_RELEVANT_HEADERS,
@@ -105,23 +105,23 @@ import {
105
105
  withPriority,
106
106
  withRetry,
107
107
  withRetryStream
108
- } from "../chunk-RZGB3DXR.js";
108
+ } from "../chunk-IHXF6NQG.js";
109
109
  import {
110
110
  registerHttpEffect
111
111
  } from "../chunk-TRM4JUZQ.js";
112
- import "../chunk-4PKBNG2H.js";
112
+ import "../chunk-XO3TDAJE.js";
113
113
  import "../chunk-UCUBNWM2.js";
114
114
  import {
115
115
  fixed,
116
116
  makeScheduleDriver,
117
117
  resource,
118
118
  take
119
- } from "../chunk-EXBGIC66.js";
119
+ } from "../chunk-6W5DC3TX.js";
120
120
  import {
121
121
  Runtime,
122
122
  fromPromiseAbortable,
123
123
  toPromise
124
- } from "../chunk-APQBU7TM.js";
124
+ } from "../chunk-TN2P7RNK.js";
125
125
  import {
126
126
  Cause,
127
127
  asyncEffect,
@@ -5,8 +5,8 @@ import {
5
5
  healthToHttpResponse,
6
6
  makeRuntimeHealth,
7
7
  runObservedHttpServerEffect
8
- } from "../chunk-URVS2OE2.mjs";
9
- import "../chunk-KAPZHDO4.mjs";
8
+ } from "../chunk-SCHM2MDA.mjs";
9
+ import "../chunk-WA65XP2P.mjs";
10
10
  import {
11
11
  AdaptiveLimiter,
12
12
  DEFAULT_CACHE_RELEVANT_HEADERS,
@@ -105,23 +105,23 @@ import {
105
105
  withPriority,
106
106
  withRetry,
107
107
  withRetryStream
108
- } from "../chunk-5RVHSBJ6.mjs";
108
+ } from "../chunk-ID2WOCBA.mjs";
109
109
  import {
110
110
  registerHttpEffect
111
111
  } from "../chunk-MOO4L7F4.mjs";
112
- import "../chunk-AQQQFNYD.mjs";
112
+ import "../chunk-IWAQQDYE.mjs";
113
113
  import "../chunk-B5JD23U7.mjs";
114
114
  import {
115
115
  fixed,
116
116
  makeScheduleDriver,
117
117
  resource,
118
118
  take
119
- } from "../chunk-KDXNWGPB.mjs";
119
+ } from "../chunk-XRRC5BBM.mjs";
120
120
  import {
121
121
  Runtime,
122
122
  fromPromiseAbortable,
123
123
  toPromise
124
- } from "../chunk-MUMBUXU6.mjs";
124
+ } from "../chunk-BFNBU47C.mjs";
125
125
  import {
126
126
  Cause,
127
127
  asyncEffect,