brass-runtime 1.13.8 → 1.15.0
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.
- package/README.md +6 -3
- package/dist/agent/cli/main.cjs +44 -43
- package/dist/agent/cli/main.js +5 -4
- package/dist/agent/cli/main.mjs +5 -4
- package/dist/agent/index.cjs +4 -3
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +3 -2
- package/dist/agent/index.mjs +3 -2
- package/dist/{chunk-3R7ZYRK2.mjs → chunk-3QMOKAS5.js} +9 -7
- package/dist/{chunk-ATHSSDUF.js → chunk-4NHES7VK.mjs} +113 -31
- package/dist/chunk-AR22SXML.js +1043 -0
- package/dist/chunk-BDF4AMWX.mjs +3773 -0
- package/dist/chunk-BDYEENHT.js +224 -0
- package/dist/chunk-BMH5AV44.js +3773 -0
- package/dist/chunk-ELOOF35R.mjs +131 -0
- package/dist/chunk-JFPU5GQI.mjs +1043 -0
- package/dist/{chunk-INZBKOHY.js → chunk-K6M7MDZ4.mjs} +9 -7
- package/dist/chunk-MS34J5LY.cjs +224 -0
- package/dist/{chunk-XNOTJSMZ.mjs → chunk-PPUXIH5R.js} +113 -31
- package/dist/chunk-R3R2FVLG.cjs +131 -0
- package/dist/{chunk-ZTDK2DLG.cjs → chunk-STVLQ3XD.cjs} +169 -87
- package/dist/chunk-TGIFUAK4.cjs +3773 -0
- package/dist/chunk-TO7IKXYT.js +131 -0
- package/dist/chunk-UMAZLXAB.mjs +224 -0
- package/dist/{chunk-XDINDYNA.cjs → chunk-VEZNF5GZ.cjs} +136 -134
- package/dist/chunk-XPZNXSVN.cjs +1043 -0
- package/dist/core/index.cjs +216 -0
- package/dist/core/index.d.ts +673 -0
- package/dist/core/index.js +216 -0
- package/dist/core/index.mjs +216 -0
- package/dist/{effect-ISvXPLgc.d.ts → effect-CMOQKX8y.d.ts} +202 -31
- package/dist/http/index.cjs +3177 -187
- package/dist/http/index.d.ts +1692 -9
- package/dist/http/index.js +3164 -174
- package/dist/http/index.mjs +3164 -174
- package/dist/index.cjs +936 -219
- package/dist/index.d.ts +313 -36
- package/dist/index.js +830 -113
- package/dist/index.mjs +830 -113
- package/dist/{stream-BvukHxCv.d.ts → stream-FQm9h4Mg.d.ts} +12 -4
- package/dist/tracing-DNT9jEbr.d.ts +106 -0
- package/package.json +11 -3
- package/wasm/pkg/brass_runtime_wasm_engine.d.ts +95 -16
- package/wasm/pkg/brass_runtime_wasm_engine.js +715 -15
- package/wasm/pkg/brass_runtime_wasm_engine_bg.wasm +0 -0
- package/wasm/pkg/brass_runtime_wasm_engine_bg.wasm.d.ts +78 -7
- package/dist/chunk-2P4PD6D7.cjs +0 -2557
- package/dist/chunk-7F2R7A2V.mjs +0 -2557
- package/dist/chunk-L6KKKM66.js +0 -2557
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import {
|
|
2
|
+
andThen,
|
|
3
|
+
assertCompletesWithin,
|
|
4
|
+
assertFails,
|
|
5
|
+
assertFailsWith,
|
|
6
|
+
assertSucceeds,
|
|
7
|
+
bracket,
|
|
8
|
+
catchTag,
|
|
9
|
+
catchTags,
|
|
10
|
+
compose,
|
|
11
|
+
delayedEffect,
|
|
12
|
+
derivedRef,
|
|
13
|
+
elapsed,
|
|
14
|
+
ensuring,
|
|
15
|
+
exponential,
|
|
16
|
+
fixed,
|
|
17
|
+
flakyEffect,
|
|
18
|
+
gracefulShutdown,
|
|
19
|
+
intersect,
|
|
20
|
+
jittered,
|
|
21
|
+
layer,
|
|
22
|
+
layerFail,
|
|
23
|
+
layerFrom,
|
|
24
|
+
layerSucceed,
|
|
25
|
+
linkAbortController,
|
|
26
|
+
makeCancelToken,
|
|
27
|
+
makeMetrics,
|
|
28
|
+
makeRef,
|
|
29
|
+
makeSemaphore,
|
|
30
|
+
makeTestRuntime,
|
|
31
|
+
makeTracer,
|
|
32
|
+
makeWorkerPool,
|
|
33
|
+
managed,
|
|
34
|
+
managedAll,
|
|
35
|
+
mapError as mapError2,
|
|
36
|
+
mapLayer,
|
|
37
|
+
merge,
|
|
38
|
+
neverEffect,
|
|
39
|
+
orElse,
|
|
40
|
+
provideLayer,
|
|
41
|
+
recurs,
|
|
42
|
+
registerShutdownHooks,
|
|
43
|
+
repeatWithSchedule,
|
|
44
|
+
retryWithSchedule,
|
|
45
|
+
tagError,
|
|
46
|
+
take,
|
|
47
|
+
union,
|
|
48
|
+
useManaged,
|
|
49
|
+
whileInput
|
|
50
|
+
} from "../chunk-AR22SXML.js";
|
|
51
|
+
import {
|
|
52
|
+
makeCircuitBreaker,
|
|
53
|
+
retry,
|
|
54
|
+
retryN,
|
|
55
|
+
retryWithBackoff,
|
|
56
|
+
sleep,
|
|
57
|
+
timeout
|
|
58
|
+
} from "../chunk-BDYEENHT.js";
|
|
59
|
+
import {
|
|
60
|
+
Async,
|
|
61
|
+
Cause,
|
|
62
|
+
Exit,
|
|
63
|
+
NoopHooks,
|
|
64
|
+
Runtime,
|
|
65
|
+
RuntimeFiber,
|
|
66
|
+
Scope,
|
|
67
|
+
abortablePromiseStats,
|
|
68
|
+
acquireRelease,
|
|
69
|
+
asyncCatchAll,
|
|
70
|
+
asyncEffect,
|
|
71
|
+
asyncFail,
|
|
72
|
+
asyncFlatMap,
|
|
73
|
+
asyncFold,
|
|
74
|
+
asyncInterruptible,
|
|
75
|
+
asyncMap,
|
|
76
|
+
asyncMapError,
|
|
77
|
+
asyncSucceed,
|
|
78
|
+
asyncSync,
|
|
79
|
+
asyncTotal,
|
|
80
|
+
catchAll,
|
|
81
|
+
end,
|
|
82
|
+
fail,
|
|
83
|
+
flatMap,
|
|
84
|
+
fork,
|
|
85
|
+
fromPromiseAbortable,
|
|
86
|
+
getBenchmarkBudget,
|
|
87
|
+
getCurrentFiber,
|
|
88
|
+
map,
|
|
89
|
+
mapAsync,
|
|
90
|
+
mapError,
|
|
91
|
+
mapTryAsync,
|
|
92
|
+
none,
|
|
93
|
+
orElseOptional,
|
|
94
|
+
resetAbortablePromiseStats,
|
|
95
|
+
runtimeForCaller,
|
|
96
|
+
setBenchmarkBudget,
|
|
97
|
+
some,
|
|
98
|
+
succeed,
|
|
99
|
+
sync,
|
|
100
|
+
toPromise,
|
|
101
|
+
toPromiseByCaller,
|
|
102
|
+
unit,
|
|
103
|
+
unsafeGetCurrentRuntime,
|
|
104
|
+
unsafeRunAsync,
|
|
105
|
+
unsafeRunFoldWithEnv,
|
|
106
|
+
withAsyncPromise,
|
|
107
|
+
withCurrentFiber,
|
|
108
|
+
withScope,
|
|
109
|
+
withScopeAsync
|
|
110
|
+
} from "../chunk-BMH5AV44.js";
|
|
111
|
+
export {
|
|
112
|
+
Async,
|
|
113
|
+
Cause,
|
|
114
|
+
Exit,
|
|
115
|
+
NoopHooks,
|
|
116
|
+
Runtime,
|
|
117
|
+
RuntimeFiber,
|
|
118
|
+
Scope,
|
|
119
|
+
abortablePromiseStats,
|
|
120
|
+
acquireRelease,
|
|
121
|
+
andThen as andThenSchedule,
|
|
122
|
+
assertCompletesWithin,
|
|
123
|
+
assertFails,
|
|
124
|
+
assertFailsWith,
|
|
125
|
+
assertSucceeds,
|
|
126
|
+
asyncEffect as async,
|
|
127
|
+
asyncCatchAll,
|
|
128
|
+
asyncFail,
|
|
129
|
+
asyncFlatMap,
|
|
130
|
+
asyncFold,
|
|
131
|
+
asyncInterruptible,
|
|
132
|
+
asyncMap,
|
|
133
|
+
asyncMapError,
|
|
134
|
+
asyncSucceed,
|
|
135
|
+
asyncSync,
|
|
136
|
+
asyncTotal,
|
|
137
|
+
bracket,
|
|
138
|
+
catchAll,
|
|
139
|
+
catchTag,
|
|
140
|
+
catchTags,
|
|
141
|
+
compose as composeLayer,
|
|
142
|
+
delayedEffect,
|
|
143
|
+
derivedRef,
|
|
144
|
+
elapsed,
|
|
145
|
+
end,
|
|
146
|
+
ensuring,
|
|
147
|
+
exponential,
|
|
148
|
+
fail,
|
|
149
|
+
fixed,
|
|
150
|
+
flakyEffect,
|
|
151
|
+
flatMap,
|
|
152
|
+
fork,
|
|
153
|
+
fromPromiseAbortable,
|
|
154
|
+
getBenchmarkBudget,
|
|
155
|
+
getCurrentFiber,
|
|
156
|
+
gracefulShutdown,
|
|
157
|
+
intersect,
|
|
158
|
+
jittered,
|
|
159
|
+
layer,
|
|
160
|
+
layerFail,
|
|
161
|
+
layerFrom,
|
|
162
|
+
layerSucceed,
|
|
163
|
+
linkAbortController,
|
|
164
|
+
makeCancelToken,
|
|
165
|
+
makeCircuitBreaker,
|
|
166
|
+
makeMetrics,
|
|
167
|
+
makeRef,
|
|
168
|
+
makeSemaphore,
|
|
169
|
+
makeTestRuntime,
|
|
170
|
+
makeTracer,
|
|
171
|
+
makeWorkerPool,
|
|
172
|
+
managed,
|
|
173
|
+
managedAll,
|
|
174
|
+
map,
|
|
175
|
+
mapAsync,
|
|
176
|
+
mapError,
|
|
177
|
+
mapError2 as mapErrorTyped,
|
|
178
|
+
mapLayer,
|
|
179
|
+
mapTryAsync,
|
|
180
|
+
merge as mergeLayer,
|
|
181
|
+
neverEffect,
|
|
182
|
+
none,
|
|
183
|
+
orElse,
|
|
184
|
+
orElseOptional,
|
|
185
|
+
provideLayer,
|
|
186
|
+
recurs,
|
|
187
|
+
registerShutdownHooks,
|
|
188
|
+
repeatWithSchedule,
|
|
189
|
+
resetAbortablePromiseStats,
|
|
190
|
+
retry,
|
|
191
|
+
retryN,
|
|
192
|
+
retryWithBackoff,
|
|
193
|
+
retryWithSchedule,
|
|
194
|
+
runtimeForCaller,
|
|
195
|
+
setBenchmarkBudget,
|
|
196
|
+
sleep,
|
|
197
|
+
some,
|
|
198
|
+
succeed,
|
|
199
|
+
sync,
|
|
200
|
+
tagError,
|
|
201
|
+
take as takeSchedule,
|
|
202
|
+
timeout,
|
|
203
|
+
toPromise,
|
|
204
|
+
toPromiseByCaller,
|
|
205
|
+
union,
|
|
206
|
+
unit,
|
|
207
|
+
unsafeGetCurrentRuntime,
|
|
208
|
+
unsafeRunAsync,
|
|
209
|
+
unsafeRunFoldWithEnv,
|
|
210
|
+
useManaged,
|
|
211
|
+
whileInput,
|
|
212
|
+
withAsyncPromise,
|
|
213
|
+
withCurrentFiber,
|
|
214
|
+
withScope,
|
|
215
|
+
withScopeAsync
|
|
216
|
+
};
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import {
|
|
2
|
+
andThen,
|
|
3
|
+
assertCompletesWithin,
|
|
4
|
+
assertFails,
|
|
5
|
+
assertFailsWith,
|
|
6
|
+
assertSucceeds,
|
|
7
|
+
bracket,
|
|
8
|
+
catchTag,
|
|
9
|
+
catchTags,
|
|
10
|
+
compose,
|
|
11
|
+
delayedEffect,
|
|
12
|
+
derivedRef,
|
|
13
|
+
elapsed,
|
|
14
|
+
ensuring,
|
|
15
|
+
exponential,
|
|
16
|
+
fixed,
|
|
17
|
+
flakyEffect,
|
|
18
|
+
gracefulShutdown,
|
|
19
|
+
intersect,
|
|
20
|
+
jittered,
|
|
21
|
+
layer,
|
|
22
|
+
layerFail,
|
|
23
|
+
layerFrom,
|
|
24
|
+
layerSucceed,
|
|
25
|
+
linkAbortController,
|
|
26
|
+
makeCancelToken,
|
|
27
|
+
makeMetrics,
|
|
28
|
+
makeRef,
|
|
29
|
+
makeSemaphore,
|
|
30
|
+
makeTestRuntime,
|
|
31
|
+
makeTracer,
|
|
32
|
+
makeWorkerPool,
|
|
33
|
+
managed,
|
|
34
|
+
managedAll,
|
|
35
|
+
mapError as mapError2,
|
|
36
|
+
mapLayer,
|
|
37
|
+
merge,
|
|
38
|
+
neverEffect,
|
|
39
|
+
orElse,
|
|
40
|
+
provideLayer,
|
|
41
|
+
recurs,
|
|
42
|
+
registerShutdownHooks,
|
|
43
|
+
repeatWithSchedule,
|
|
44
|
+
retryWithSchedule,
|
|
45
|
+
tagError,
|
|
46
|
+
take,
|
|
47
|
+
union,
|
|
48
|
+
useManaged,
|
|
49
|
+
whileInput
|
|
50
|
+
} from "../chunk-JFPU5GQI.mjs";
|
|
51
|
+
import {
|
|
52
|
+
makeCircuitBreaker,
|
|
53
|
+
retry,
|
|
54
|
+
retryN,
|
|
55
|
+
retryWithBackoff,
|
|
56
|
+
sleep,
|
|
57
|
+
timeout
|
|
58
|
+
} from "../chunk-UMAZLXAB.mjs";
|
|
59
|
+
import {
|
|
60
|
+
Async,
|
|
61
|
+
Cause,
|
|
62
|
+
Exit,
|
|
63
|
+
NoopHooks,
|
|
64
|
+
Runtime,
|
|
65
|
+
RuntimeFiber,
|
|
66
|
+
Scope,
|
|
67
|
+
abortablePromiseStats,
|
|
68
|
+
acquireRelease,
|
|
69
|
+
asyncCatchAll,
|
|
70
|
+
asyncEffect,
|
|
71
|
+
asyncFail,
|
|
72
|
+
asyncFlatMap,
|
|
73
|
+
asyncFold,
|
|
74
|
+
asyncInterruptible,
|
|
75
|
+
asyncMap,
|
|
76
|
+
asyncMapError,
|
|
77
|
+
asyncSucceed,
|
|
78
|
+
asyncSync,
|
|
79
|
+
asyncTotal,
|
|
80
|
+
catchAll,
|
|
81
|
+
end,
|
|
82
|
+
fail,
|
|
83
|
+
flatMap,
|
|
84
|
+
fork,
|
|
85
|
+
fromPromiseAbortable,
|
|
86
|
+
getBenchmarkBudget,
|
|
87
|
+
getCurrentFiber,
|
|
88
|
+
map,
|
|
89
|
+
mapAsync,
|
|
90
|
+
mapError,
|
|
91
|
+
mapTryAsync,
|
|
92
|
+
none,
|
|
93
|
+
orElseOptional,
|
|
94
|
+
resetAbortablePromiseStats,
|
|
95
|
+
runtimeForCaller,
|
|
96
|
+
setBenchmarkBudget,
|
|
97
|
+
some,
|
|
98
|
+
succeed,
|
|
99
|
+
sync,
|
|
100
|
+
toPromise,
|
|
101
|
+
toPromiseByCaller,
|
|
102
|
+
unit,
|
|
103
|
+
unsafeGetCurrentRuntime,
|
|
104
|
+
unsafeRunAsync,
|
|
105
|
+
unsafeRunFoldWithEnv,
|
|
106
|
+
withAsyncPromise,
|
|
107
|
+
withCurrentFiber,
|
|
108
|
+
withScope,
|
|
109
|
+
withScopeAsync
|
|
110
|
+
} from "../chunk-BDF4AMWX.mjs";
|
|
111
|
+
export {
|
|
112
|
+
Async,
|
|
113
|
+
Cause,
|
|
114
|
+
Exit,
|
|
115
|
+
NoopHooks,
|
|
116
|
+
Runtime,
|
|
117
|
+
RuntimeFiber,
|
|
118
|
+
Scope,
|
|
119
|
+
abortablePromiseStats,
|
|
120
|
+
acquireRelease,
|
|
121
|
+
andThen as andThenSchedule,
|
|
122
|
+
assertCompletesWithin,
|
|
123
|
+
assertFails,
|
|
124
|
+
assertFailsWith,
|
|
125
|
+
assertSucceeds,
|
|
126
|
+
asyncEffect as async,
|
|
127
|
+
asyncCatchAll,
|
|
128
|
+
asyncFail,
|
|
129
|
+
asyncFlatMap,
|
|
130
|
+
asyncFold,
|
|
131
|
+
asyncInterruptible,
|
|
132
|
+
asyncMap,
|
|
133
|
+
asyncMapError,
|
|
134
|
+
asyncSucceed,
|
|
135
|
+
asyncSync,
|
|
136
|
+
asyncTotal,
|
|
137
|
+
bracket,
|
|
138
|
+
catchAll,
|
|
139
|
+
catchTag,
|
|
140
|
+
catchTags,
|
|
141
|
+
compose as composeLayer,
|
|
142
|
+
delayedEffect,
|
|
143
|
+
derivedRef,
|
|
144
|
+
elapsed,
|
|
145
|
+
end,
|
|
146
|
+
ensuring,
|
|
147
|
+
exponential,
|
|
148
|
+
fail,
|
|
149
|
+
fixed,
|
|
150
|
+
flakyEffect,
|
|
151
|
+
flatMap,
|
|
152
|
+
fork,
|
|
153
|
+
fromPromiseAbortable,
|
|
154
|
+
getBenchmarkBudget,
|
|
155
|
+
getCurrentFiber,
|
|
156
|
+
gracefulShutdown,
|
|
157
|
+
intersect,
|
|
158
|
+
jittered,
|
|
159
|
+
layer,
|
|
160
|
+
layerFail,
|
|
161
|
+
layerFrom,
|
|
162
|
+
layerSucceed,
|
|
163
|
+
linkAbortController,
|
|
164
|
+
makeCancelToken,
|
|
165
|
+
makeCircuitBreaker,
|
|
166
|
+
makeMetrics,
|
|
167
|
+
makeRef,
|
|
168
|
+
makeSemaphore,
|
|
169
|
+
makeTestRuntime,
|
|
170
|
+
makeTracer,
|
|
171
|
+
makeWorkerPool,
|
|
172
|
+
managed,
|
|
173
|
+
managedAll,
|
|
174
|
+
map,
|
|
175
|
+
mapAsync,
|
|
176
|
+
mapError,
|
|
177
|
+
mapError2 as mapErrorTyped,
|
|
178
|
+
mapLayer,
|
|
179
|
+
mapTryAsync,
|
|
180
|
+
merge as mergeLayer,
|
|
181
|
+
neverEffect,
|
|
182
|
+
none,
|
|
183
|
+
orElse,
|
|
184
|
+
orElseOptional,
|
|
185
|
+
provideLayer,
|
|
186
|
+
recurs,
|
|
187
|
+
registerShutdownHooks,
|
|
188
|
+
repeatWithSchedule,
|
|
189
|
+
resetAbortablePromiseStats,
|
|
190
|
+
retry,
|
|
191
|
+
retryN,
|
|
192
|
+
retryWithBackoff,
|
|
193
|
+
retryWithSchedule,
|
|
194
|
+
runtimeForCaller,
|
|
195
|
+
setBenchmarkBudget,
|
|
196
|
+
sleep,
|
|
197
|
+
some,
|
|
198
|
+
succeed,
|
|
199
|
+
sync,
|
|
200
|
+
tagError,
|
|
201
|
+
take as takeSchedule,
|
|
202
|
+
timeout,
|
|
203
|
+
toPromise,
|
|
204
|
+
toPromiseByCaller,
|
|
205
|
+
union,
|
|
206
|
+
unit,
|
|
207
|
+
unsafeGetCurrentRuntime,
|
|
208
|
+
unsafeRunAsync,
|
|
209
|
+
unsafeRunFoldWithEnv,
|
|
210
|
+
useManaged,
|
|
211
|
+
whileInput,
|
|
212
|
+
withAsyncPromise,
|
|
213
|
+
withCurrentFiber,
|
|
214
|
+
withScope,
|
|
215
|
+
withScopeAsync
|
|
216
|
+
};
|