brass-runtime 1.18.0 → 1.18.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-PSEU65ND.js → chunk-22HZQG5F.js} +6 -6
  9. package/dist/{chunk-SSQJKDN3.cjs → chunk-2JHJ4YHS.cjs} +227 -117
  10. package/dist/{chunk-IFRBVMWJ.cjs → chunk-2OW6IFY2.cjs} +19 -19
  11. package/dist/{chunk-YTX2JYYP.cjs → chunk-5LC7V2OZ.cjs} +18 -18
  12. package/dist/{chunk-7TXQJFZX.cjs → chunk-5RZ7YITF.cjs} +13 -13
  13. package/dist/{chunk-OT2TESZU.mjs → chunk-6V2AWT4R.mjs} +1 -1
  14. package/dist/{chunk-BG5RNEA2.js → chunk-7DU7IQHK.js} +3 -3
  15. package/dist/{chunk-QCOLAHU3.mjs → chunk-7GBJYOX7.mjs} +5 -5
  16. package/dist/{chunk-ITG6I7ZS.js → chunk-7VQLEN37.js} +1 -1
  17. package/dist/{chunk-QZ6QFJNM.mjs → chunk-B5FKOLTB.mjs} +3 -3
  18. package/dist/{chunk-RREBJX2S.mjs → chunk-BC6Q6BCO.mjs} +1 -1
  19. package/dist/{chunk-KRYP6CAE.mjs → chunk-COOW7BJX.mjs} +2 -2
  20. package/dist/{chunk-ELLF55ER.mjs → chunk-EEN5OTCR.mjs} +1 -1
  21. package/dist/{chunk-3PFZGP23.cjs → chunk-EICAJDNX.cjs} +13 -13
  22. package/dist/{chunk-5XADBMSU.cjs → chunk-ELIECDYN.cjs} +5 -5
  23. package/dist/{chunk-2QNREG6K.mjs → chunk-H626ZTDZ.mjs} +211 -101
  24. package/dist/{chunk-JH4GI3DW.js → chunk-IPSMXUWA.js} +1 -1
  25. package/dist/{chunk-2SLT3X6G.cjs → chunk-J6DUHITE.cjs} +6 -6
  26. package/dist/{chunk-OI4ESUMC.mjs → chunk-JWIEMBE6.mjs} +6 -6
  27. package/dist/{chunk-N6QNSTWD.cjs → chunk-KNTJ7FQB.cjs} +5 -5
  28. package/dist/{chunk-W6WR37HN.js → chunk-LSYQ3C2M.js} +2 -2
  29. package/dist/{chunk-AADFFVYS.js → chunk-OW5VHAOE.js} +1 -1
  30. package/dist/{chunk-G5JTCFMI.mjs → chunk-RBHNOKH4.mjs} +2 -2
  31. package/dist/{chunk-IBRHSH5H.js → chunk-S4HXADU4.js} +1 -1
  32. package/dist/{chunk-XSAHV5HQ.js → chunk-TTSPIU3U.js} +211 -101
  33. package/dist/{chunk-S4HHFUYP.js → chunk-UAKAF32U.js} +2 -2
  34. package/dist/{chunk-R6WDSZA6.mjs → chunk-WCBNXPN6.mjs} +1 -1
  35. package/dist/{chunk-AJMKZXRB.cjs → chunk-WGE2FEZE.cjs} +2 -2
  36. package/dist/{chunk-LXBU5E77.cjs → chunk-WI7GZF3B.cjs} +16 -16
  37. package/dist/{chunk-H5GYX7RZ.js → chunk-WUDHOZIH.js} +113 -5
  38. package/dist/{chunk-KHACHFBQ.cjs → chunk-WVSZOPGQ.cjs} +54 -54
  39. package/dist/{chunk-VIFA4DPN.cjs → chunk-XPIMJQYS.cjs} +193 -85
  40. package/dist/{chunk-3PHU7FWS.js → chunk-YGR2IN4R.js} +5 -5
  41. package/dist/{chunk-ITZQ526U.mjs → chunk-YWLLH27R.mjs} +2 -2
  42. package/dist/{chunk-4YQHPIWJ.js → chunk-YZ5LQ32F.js} +2 -2
  43. package/dist/{chunk-Z3PSSXP3.mjs → chunk-Z3ZZMQUZ.mjs} +113 -5
  44. package/dist/core/index.cjs +13 -7
  45. package/dist/core/index.d.ts +6 -6
  46. package/dist/core/index.js +12 -6
  47. package/dist/core/index.mjs +12 -6
  48. package/dist/{defaultClient-DhpCQW9m.d.ts → defaultClient-Cid0JoUR.d.ts} +29 -4
  49. package/dist/{effect-CtUDl5M5.d.ts → effect-DnGUuhw6.d.ts} +22 -1
  50. package/dist/http/index.cjs +52 -48
  51. package/dist/http/index.d.ts +8 -8
  52. package/dist/http/index.js +10 -6
  53. package/dist/http/index.mjs +10 -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 +91 -85
  59. package/dist/index.d.ts +7 -7
  60. package/dist/index.js +13 -7
  61. package/dist/index.mjs +13 -7
  62. package/dist/{layer-BalPI6cN.d.ts → layer-D2LFcBVx.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-C1zVmqE6.d.ts → server-Bf1zNYZk.d.ts} +4 -4
  74. package/dist/{stream-Bb4FTejt.d.ts → stream-I7bkvF7a.d.ts} +1 -1
  75. package/dist/{tracer-DzfuE6um.d.ts → tracer-DF83nLn6.d.ts} +2 -2
  76. package/dist/{tracing-BABA5arE.d.ts → tracing-CWV4gT0u.d.ts} +1 -1
  77. package/package.json +3 -2
@@ -5,8 +5,8 @@ import {
5
5
  healthToHttpResponse,
6
6
  makeRuntimeHealth,
7
7
  runObservedHttpServerEffect
8
- } from "../chunk-4YQHPIWJ.js";
9
- import "../chunk-AADFFVYS.js";
8
+ } from "../chunk-YZ5LQ32F.js";
9
+ import "../chunk-OW5VHAOE.js";
10
10
  import {
11
11
  AdaptiveLimiter,
12
12
  DEFAULT_CACHE_RELEVANT_HEADERS,
@@ -52,6 +52,7 @@ import {
52
52
  isFetchHttpError,
53
53
  isHttpError,
54
54
  isKnownHttpError,
55
+ isPromiseTransportDirect,
55
56
  isRetryableHttpError,
56
57
  isRetryableHttpStatus,
57
58
  isTaggedHttpError,
@@ -76,6 +77,7 @@ import {
76
77
  makeRequestCompressionMiddleware,
77
78
  makeResponseCompressionMiddleware,
78
79
  matchHttpError,
80
+ noopSignal,
79
81
  normalizeHeadersInit,
80
82
  normalizeHttpError,
81
83
  normalizeHttpHeaders,
@@ -103,23 +105,23 @@ import {
103
105
  withPriority,
104
106
  withRetry,
105
107
  withRetryStream
106
- } from "../chunk-H5GYX7RZ.js";
108
+ } from "../chunk-WUDHOZIH.js";
107
109
  import {
108
110
  registerHttpEffect
109
111
  } from "../chunk-TRM4JUZQ.js";
110
- import "../chunk-JH4GI3DW.js";
112
+ import "../chunk-IPSMXUWA.js";
111
113
  import "../chunk-UCUBNWM2.js";
112
114
  import {
113
115
  fixed,
114
116
  makeScheduleDriver,
115
117
  resource,
116
118
  take
117
- } from "../chunk-IBRHSH5H.js";
119
+ } from "../chunk-S4HXADU4.js";
118
120
  import {
119
121
  Runtime,
120
122
  fromPromiseAbortable,
121
123
  toPromise
122
- } from "../chunk-XSAHV5HQ.js";
124
+ } from "../chunk-TTSPIU3U.js";
123
125
  import {
124
126
  Cause,
125
127
  asyncEffect,
@@ -1759,6 +1761,7 @@ export {
1759
1761
  isFetchHttpError,
1760
1762
  isHttpError,
1761
1763
  isKnownHttpError,
1764
+ isPromiseTransportDirect,
1762
1765
  isRetryableHttpError,
1763
1766
  isRetryableHttpStatus,
1764
1767
  isSchema,
@@ -1796,6 +1799,7 @@ export {
1796
1799
  makeSchemaIssue,
1797
1800
  matchHttpError,
1798
1801
  nodeHttpServerResource,
1802
+ noopSignal,
1799
1803
  normalizeHeadersInit,
1800
1804
  normalizeHttpError,
1801
1805
  normalizeHttpHeaders,
@@ -5,8 +5,8 @@ import {
5
5
  healthToHttpResponse,
6
6
  makeRuntimeHealth,
7
7
  runObservedHttpServerEffect
8
- } from "../chunk-KRYP6CAE.mjs";
9
- import "../chunk-OT2TESZU.mjs";
8
+ } from "../chunk-COOW7BJX.mjs";
9
+ import "../chunk-6V2AWT4R.mjs";
10
10
  import {
11
11
  AdaptiveLimiter,
12
12
  DEFAULT_CACHE_RELEVANT_HEADERS,
@@ -52,6 +52,7 @@ import {
52
52
  isFetchHttpError,
53
53
  isHttpError,
54
54
  isKnownHttpError,
55
+ isPromiseTransportDirect,
55
56
  isRetryableHttpError,
56
57
  isRetryableHttpStatus,
57
58
  isTaggedHttpError,
@@ -76,6 +77,7 @@ import {
76
77
  makeRequestCompressionMiddleware,
77
78
  makeResponseCompressionMiddleware,
78
79
  matchHttpError,
80
+ noopSignal,
79
81
  normalizeHeadersInit,
80
82
  normalizeHttpError,
81
83
  normalizeHttpHeaders,
@@ -103,23 +105,23 @@ import {
103
105
  withPriority,
104
106
  withRetry,
105
107
  withRetryStream
106
- } from "../chunk-Z3PSSXP3.mjs";
108
+ } from "../chunk-Z3ZZMQUZ.mjs";
107
109
  import {
108
110
  registerHttpEffect
109
111
  } from "../chunk-MOO4L7F4.mjs";
110
- import "../chunk-RREBJX2S.mjs";
112
+ import "../chunk-BC6Q6BCO.mjs";
111
113
  import "../chunk-B5JD23U7.mjs";
112
114
  import {
113
115
  fixed,
114
116
  makeScheduleDriver,
115
117
  resource,
116
118
  take
117
- } from "../chunk-ELLF55ER.mjs";
119
+ } from "../chunk-EEN5OTCR.mjs";
118
120
  import {
119
121
  Runtime,
120
122
  fromPromiseAbortable,
121
123
  toPromise
122
- } from "../chunk-2QNREG6K.mjs";
124
+ } from "../chunk-H626ZTDZ.mjs";
123
125
  import {
124
126
  Cause,
125
127
  asyncEffect,
@@ -1759,6 +1761,7 @@ export {
1759
1761
  isFetchHttpError,
1760
1762
  isHttpError,
1761
1763
  isKnownHttpError,
1764
+ isPromiseTransportDirect,
1762
1765
  isRetryableHttpError,
1763
1766
  isRetryableHttpStatus,
1764
1767
  isSchema,
@@ -1796,6 +1799,7 @@ export {
1796
1799
  makeSchemaIssue,
1797
1800
  matchHttpError,
1798
1801
  nodeHttpServerResource,
1802
+ noopSignal,
1799
1803
  normalizeHeadersInit,
1800
1804
  normalizeHttpError,
1801
1805
  normalizeHttpHeaders,
@@ -2,16 +2,16 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkVIFA4DPNcjs = require('../chunk-VIFA4DPN.cjs');
5
+ var _chunkXPIMJQYScjs = require('../chunk-XPIMJQYS.cjs');
6
6
  require('../chunk-L6VB5N7Q.cjs');
7
- require('../chunk-3PFZGP23.cjs');
7
+ require('../chunk-EICAJDNX.cjs');
8
8
  require('../chunk-SA6HUJVI.cjs');
9
9
 
10
10
 
11
- var _chunk7TXQJFZXcjs = require('../chunk-7TXQJFZX.cjs');
11
+ var _chunk5RZ7YITFcjs = require('../chunk-5RZ7YITF.cjs');
12
12
 
13
13
 
14
- var _chunkSSQJKDN3cjs = require('../chunk-SSQJKDN3.cjs');
14
+ var _chunk2JHJ4YHScjs = require('../chunk-2JHJ4YHS.cjs');
15
15
 
16
16
 
17
17
 
@@ -66,7 +66,7 @@ function makeMockHttpClient(handler = () => makeHttpResponse()) {
66
66
  return _chunkMVGUEJ5Zcjs.asyncFail.call(void 0, toHttpError(error));
67
67
  }
68
68
  };
69
- return Object.assign(_chunkVIFA4DPNcjs.decorate.call(void 0, run, () => ({ ...stats })), {
69
+ return Object.assign(_chunkXPIMJQYScjs.decorate.call(void 0, run, () => ({ ...stats })), {
70
70
  calls: () => [...calls],
71
71
  calledTimes: () => calls.length,
72
72
  lastRequest: () => calls.at(-1),
@@ -89,7 +89,7 @@ function makeSequenceHttpClient(responses, fallback = makeHttpResponse()) {
89
89
  }
90
90
  function makeMockDefaultHttpClient(handler = () => makeHttpResponse()) {
91
91
  const wire = makeMockHttpClient(handler);
92
- const client = _chunkVIFA4DPNcjs.makeDefaultHttpClient.call(void 0, {
92
+ const client = _chunkXPIMJQYScjs.makeDefaultHttpClient.call(void 0, {
93
93
  baseUrl: "http://brass.test",
94
94
  preset: "minimal",
95
95
  transport: ({ request }) => wire(request)
@@ -102,10 +102,10 @@ function makeMockDefaultHttpClient(handler = () => makeHttpResponse()) {
102
102
  });
103
103
  }
104
104
  function makeMockDefaultHttpClientLayer(handler = () => makeHttpResponse(), options = {}) {
105
- return _chunk7TXQJFZXcjs.layerValue.call(void 0, _nullishCoalesce(options.tag, () => ( _chunkVIFA4DPNcjs.HttpClientService)), makeMockDefaultHttpClient(handler));
105
+ return _chunk5RZ7YITFcjs.layerValue.call(void 0, _nullishCoalesce(options.tag, () => ( _chunkXPIMJQYScjs.HttpClientService)), makeMockDefaultHttpClient(handler));
106
106
  }
107
107
  function runHttpEffect(effect, env = {}) {
108
- return _chunkSSQJKDN3cjs.toPromise.call(void 0, effect, env);
108
+ return _chunk2JHJ4YHScjs.toPromise.call(void 0, effect, env);
109
109
  }
110
110
  function makeFetchResponse(body = null, init = {}) {
111
111
  assertResponseAvailable();
@@ -1,7 +1,7 @@
1
- import { S as ServiceTag, L as Layer, a as LayerContext } from '../layer-BalPI6cN.js';
2
- import { A as Async } from '../effect-CtUDl5M5.js';
3
- import { D as DefaultHttpClient, H as HttpRequest, a as HttpClient, b as HttpWireResponse, c as HttpError } from '../defaultClient-DhpCQW9m.js';
4
- import '../stream-Bb4FTejt.js';
1
+ import { S as ServiceTag, L as Layer, a as LayerContext } from '../layer-D2LFcBVx.js';
2
+ import { A as Async } from '../effect-DnGUuhw6.js';
3
+ import { D as DefaultHttpClient, H as HttpRequest, a as HttpClient, b as HttpWireResponse, c as HttpError } from '../defaultClient-Cid0JoUR.js';
4
+ import '../stream-I7bkvF7a.js';
5
5
  import '../schema/index.js';
6
6
 
7
7
  type HttpTestResponseInit = {
@@ -2,16 +2,16 @@ import {
2
2
  HttpClientService,
3
3
  decorate,
4
4
  makeDefaultHttpClient
5
- } from "../chunk-H5GYX7RZ.js";
5
+ } from "../chunk-WUDHOZIH.js";
6
6
  import "../chunk-TRM4JUZQ.js";
7
- import "../chunk-JH4GI3DW.js";
7
+ import "../chunk-IPSMXUWA.js";
8
8
  import "../chunk-UCUBNWM2.js";
9
9
  import {
10
10
  layerValue
11
- } from "../chunk-IBRHSH5H.js";
11
+ } from "../chunk-S4HXADU4.js";
12
12
  import {
13
13
  toPromise
14
- } from "../chunk-XSAHV5HQ.js";
14
+ } from "../chunk-TTSPIU3U.js";
15
15
  import {
16
16
  asyncFail,
17
17
  asyncSucceed
@@ -2,16 +2,16 @@ import {
2
2
  HttpClientService,
3
3
  decorate,
4
4
  makeDefaultHttpClient
5
- } from "../chunk-Z3PSSXP3.mjs";
5
+ } from "../chunk-Z3ZZMQUZ.mjs";
6
6
  import "../chunk-MOO4L7F4.mjs";
7
- import "../chunk-RREBJX2S.mjs";
7
+ import "../chunk-BC6Q6BCO.mjs";
8
8
  import "../chunk-B5JD23U7.mjs";
9
9
  import {
10
10
  layerValue
11
- } from "../chunk-ELLF55ER.mjs";
11
+ } from "../chunk-EEN5OTCR.mjs";
12
12
  import {
13
13
  toPromise
14
- } from "../chunk-2QNREG6K.mjs";
14
+ } from "../chunk-H626ZTDZ.mjs";
15
15
  import {
16
16
  asyncFail,
17
17
  asyncSucceed