effect 4.0.0 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1001) hide show
  1. package/ai-docs/package.json +2 -2
  2. package/ai-docs/tsconfig.json +2 -1
  3. package/dist/Array.d.ts +339 -0
  4. package/dist/Array.d.ts.map +1 -1
  5. package/dist/Array.js +143 -3
  6. package/dist/Array.js.map +1 -1
  7. package/dist/BigDecimal.d.ts +88 -0
  8. package/dist/BigDecimal.d.ts.map +1 -1
  9. package/dist/BigDecimal.js +44 -0
  10. package/dist/BigDecimal.js.map +1 -1
  11. package/dist/BigInt.d.ts +68 -0
  12. package/dist/BigInt.d.ts.map +1 -1
  13. package/dist/BigInt.js +36 -0
  14. package/dist/BigInt.js.map +1 -1
  15. package/dist/Boolean.d.ts +34 -0
  16. package/dist/Boolean.d.ts.map +1 -1
  17. package/dist/Boolean.js +18 -0
  18. package/dist/Boolean.js.map +1 -1
  19. package/dist/Brand.d.ts +9 -0
  20. package/dist/Brand.d.ts.map +1 -1
  21. package/dist/Brand.js +6 -0
  22. package/dist/Brand.js.map +1 -1
  23. package/dist/ByteSize.d.ts +86 -0
  24. package/dist/ByteSize.d.ts.map +1 -1
  25. package/dist/ByteSize.js +51 -0
  26. package/dist/ByteSize.js.map +1 -1
  27. package/dist/Cache.d.ts +38 -1
  28. package/dist/Cache.d.ts.map +1 -1
  29. package/dist/Cache.js +47 -23
  30. package/dist/Cache.js.map +1 -1
  31. package/dist/Cause.d.ts +82 -0
  32. package/dist/Cause.d.ts.map +1 -1
  33. package/dist/Cause.js +61 -1
  34. package/dist/Cause.js.map +1 -1
  35. package/dist/Channel.d.ts +327 -4
  36. package/dist/Channel.d.ts.map +1 -1
  37. package/dist/Channel.js +168 -8
  38. package/dist/Channel.js.map +1 -1
  39. package/dist/ChannelSchema.d.ts +11 -0
  40. package/dist/ChannelSchema.d.ts.map +1 -1
  41. package/dist/ChannelSchema.js +6 -0
  42. package/dist/ChannelSchema.js.map +1 -1
  43. package/dist/Chunk.d.ts +192 -0
  44. package/dist/Chunk.d.ts.map +1 -1
  45. package/dist/Chunk.js +78 -0
  46. package/dist/Chunk.js.map +1 -1
  47. package/dist/Clock.d.ts +7 -0
  48. package/dist/Clock.d.ts.map +1 -1
  49. package/dist/Clock.js +5 -0
  50. package/dist/Clock.js.map +1 -1
  51. package/dist/Combiner.d.ts +10 -0
  52. package/dist/Combiner.d.ts.map +1 -1
  53. package/dist/Combiner.js +8 -0
  54. package/dist/Combiner.js.map +1 -1
  55. package/dist/Config.d.ts +52 -12
  56. package/dist/Config.d.ts.map +1 -1
  57. package/dist/Config.js +55 -5
  58. package/dist/Config.js.map +1 -1
  59. package/dist/ConfigProvider.d.ts +28 -0
  60. package/dist/ConfigProvider.d.ts.map +1 -1
  61. package/dist/ConfigProvider.js +19 -0
  62. package/dist/ConfigProvider.js.map +1 -1
  63. package/dist/Console.d.ts +22 -0
  64. package/dist/Console.d.ts.map +1 -1
  65. package/dist/Console.js +20 -0
  66. package/dist/Console.js.map +1 -1
  67. package/dist/Context.d.ts +50 -0
  68. package/dist/Context.d.ts.map +1 -1
  69. package/dist/Context.js +21 -0
  70. package/dist/Context.js.map +1 -1
  71. package/dist/Cron.d.ts +16 -0
  72. package/dist/Cron.d.ts.map +1 -1
  73. package/dist/Cron.js +26 -1
  74. package/dist/Cron.js.map +1 -1
  75. package/dist/Crypto.d.ts +5 -0
  76. package/dist/Crypto.d.ts.map +1 -1
  77. package/dist/Crypto.js +3 -0
  78. package/dist/Crypto.js.map +1 -1
  79. package/dist/Data.d.ts +13 -0
  80. package/dist/Data.d.ts.map +1 -1
  81. package/dist/Data.js +5 -0
  82. package/dist/Data.js.map +1 -1
  83. package/dist/DateTime.d.ts +171 -0
  84. package/dist/DateTime.d.ts.map +1 -1
  85. package/dist/DateTime.js +89 -0
  86. package/dist/DateTime.js.map +1 -1
  87. package/dist/Deferred.d.ts +51 -0
  88. package/dist/Deferred.d.ts.map +1 -1
  89. package/dist/Deferred.js +22 -0
  90. package/dist/Deferred.js.map +1 -1
  91. package/dist/Differ.d.ts +2 -0
  92. package/dist/Differ.d.ts.map +1 -1
  93. package/dist/Differ.js +1 -0
  94. package/dist/Duration.d.ts +90 -0
  95. package/dist/Duration.d.ts.map +1 -1
  96. package/dist/Duration.js +53 -0
  97. package/dist/Duration.js.map +1 -1
  98. package/dist/Effect.d.ts +677 -22
  99. package/dist/Effect.d.ts.map +1 -1
  100. package/dist/Effect.js +251 -10
  101. package/dist/Effect.js.map +1 -1
  102. package/dist/Effectable.d.ts +4 -0
  103. package/dist/Effectable.d.ts.map +1 -1
  104. package/dist/Effectable.js +3 -0
  105. package/dist/Effectable.js.map +1 -1
  106. package/dist/Equal.d.ts +8 -0
  107. package/dist/Equal.d.ts.map +1 -1
  108. package/dist/Equal.js +9 -1
  109. package/dist/Equal.js.map +1 -1
  110. package/dist/Equivalence.d.ts +21 -0
  111. package/dist/Equivalence.d.ts.map +1 -1
  112. package/dist/Equivalence.js +16 -0
  113. package/dist/Equivalence.js.map +1 -1
  114. package/dist/ErrorReporter.d.ts +36 -0
  115. package/dist/ErrorReporter.d.ts.map +1 -1
  116. package/dist/ErrorReporter.js +11 -0
  117. package/dist/ErrorReporter.js.map +1 -1
  118. package/dist/ExecutionPlan.d.ts +49 -8
  119. package/dist/ExecutionPlan.d.ts.map +1 -1
  120. package/dist/ExecutionPlan.js +7 -0
  121. package/dist/ExecutionPlan.js.map +1 -1
  122. package/dist/Exit.d.ts +40 -0
  123. package/dist/Exit.d.ts.map +1 -1
  124. package/dist/Exit.js +27 -0
  125. package/dist/Exit.js.map +1 -1
  126. package/dist/Fiber.d.ts +20 -0
  127. package/dist/Fiber.d.ts.map +1 -1
  128. package/dist/Fiber.js +11 -0
  129. package/dist/Fiber.js.map +1 -1
  130. package/dist/FiberHandle.d.ts +21 -0
  131. package/dist/FiberHandle.d.ts.map +1 -1
  132. package/dist/FiberHandle.js +21 -4
  133. package/dist/FiberHandle.js.map +1 -1
  134. package/dist/FiberMap.d.ts +35 -0
  135. package/dist/FiberMap.d.ts.map +1 -1
  136. package/dist/FiberMap.js +19 -0
  137. package/dist/FiberMap.js.map +1 -1
  138. package/dist/FiberSet.d.ts +20 -0
  139. package/dist/FiberSet.d.ts.map +1 -1
  140. package/dist/FiberSet.js +14 -0
  141. package/dist/FiberSet.js.map +1 -1
  142. package/dist/FileSystem.d.ts +15 -0
  143. package/dist/FileSystem.d.ts.map +1 -1
  144. package/dist/FileSystem.js +8 -0
  145. package/dist/FileSystem.js.map +1 -1
  146. package/dist/Filter.d.ts +55 -0
  147. package/dist/Filter.d.ts.map +1 -1
  148. package/dist/Filter.js +28 -0
  149. package/dist/Filter.js.map +1 -1
  150. package/dist/Formatter.d.ts +3 -0
  151. package/dist/Formatter.d.ts.map +1 -1
  152. package/dist/Formatter.js +39 -1
  153. package/dist/Formatter.js.map +1 -1
  154. package/dist/Function.d.ts +30 -0
  155. package/dist/Function.d.ts.map +1 -1
  156. package/dist/Function.js +20 -0
  157. package/dist/Function.js.map +1 -1
  158. package/dist/Graph.d.ts +247 -12
  159. package/dist/Graph.d.ts.map +1 -1
  160. package/dist/Graph.js +149 -28
  161. package/dist/Graph.js.map +1 -1
  162. package/dist/HKT.d.ts +5 -0
  163. package/dist/HKT.d.ts.map +1 -1
  164. package/dist/Hash.d.ts +14 -0
  165. package/dist/Hash.d.ts.map +1 -1
  166. package/dist/Hash.js +12 -0
  167. package/dist/Hash.js.map +1 -1
  168. package/dist/HashMap.d.ts +91 -0
  169. package/dist/HashMap.d.ts.map +1 -1
  170. package/dist/HashMap.js +39 -0
  171. package/dist/HashMap.js.map +1 -1
  172. package/dist/HashRing.d.ts +17 -0
  173. package/dist/HashRing.d.ts.map +1 -1
  174. package/dist/HashRing.js +22 -5
  175. package/dist/HashRing.js.map +1 -1
  176. package/dist/HashSet.d.ts +49 -0
  177. package/dist/HashSet.d.ts.map +1 -1
  178. package/dist/HashSet.js +19 -0
  179. package/dist/HashSet.js.map +1 -1
  180. package/dist/Inspectable.d.ts +7 -0
  181. package/dist/Inspectable.d.ts.map +1 -1
  182. package/dist/Inspectable.js +6 -0
  183. package/dist/Inspectable.js.map +1 -1
  184. package/dist/Iterable.d.ts +127 -0
  185. package/dist/Iterable.d.ts.map +1 -1
  186. package/dist/Iterable.js +51 -0
  187. package/dist/Iterable.js.map +1 -1
  188. package/dist/JsonPatch.d.ts +4 -0
  189. package/dist/JsonPatch.d.ts.map +1 -1
  190. package/dist/JsonPatch.js +3 -0
  191. package/dist/JsonPatch.js.map +1 -1
  192. package/dist/JsonPointer.d.ts +5 -0
  193. package/dist/JsonPointer.d.ts.map +1 -1
  194. package/dist/JsonPointer.js +5 -0
  195. package/dist/JsonPointer.js.map +1 -1
  196. package/dist/JsonSchema.d.ts +16 -0
  197. package/dist/JsonSchema.d.ts.map +1 -1
  198. package/dist/JsonSchema.js +11 -0
  199. package/dist/JsonSchema.js.map +1 -1
  200. package/dist/Latch.d.ts +14 -0
  201. package/dist/Latch.d.ts.map +1 -1
  202. package/dist/Latch.js +10 -0
  203. package/dist/Latch.js.map +1 -1
  204. package/dist/Layer.d.ts +100 -0
  205. package/dist/Layer.d.ts.map +1 -1
  206. package/dist/Layer.js +45 -1
  207. package/dist/Layer.js.map +1 -1
  208. package/dist/LayerMap.d.ts +7 -0
  209. package/dist/LayerMap.d.ts.map +1 -1
  210. package/dist/LayerMap.js +4 -0
  211. package/dist/LayerMap.js.map +1 -1
  212. package/dist/LayerRef.d.ts +5 -0
  213. package/dist/LayerRef.d.ts.map +1 -1
  214. package/dist/LayerRef.js +3 -0
  215. package/dist/LayerRef.js.map +1 -1
  216. package/dist/LogLevel.d.ts +20 -0
  217. package/dist/LogLevel.d.ts.map +1 -1
  218. package/dist/LogLevel.js +9 -0
  219. package/dist/LogLevel.js.map +1 -1
  220. package/dist/Logger.d.ts +25 -0
  221. package/dist/Logger.d.ts.map +1 -1
  222. package/dist/Logger.js +30 -4
  223. package/dist/Logger.js.map +1 -1
  224. package/dist/ManagedRuntime.d.ts +5 -0
  225. package/dist/ManagedRuntime.d.ts.map +1 -1
  226. package/dist/ManagedRuntime.js +9 -1
  227. package/dist/ManagedRuntime.js.map +1 -1
  228. package/dist/Match.d.ts +51 -0
  229. package/dist/Match.d.ts.map +1 -1
  230. package/dist/Match.js +39 -0
  231. package/dist/Match.js.map +1 -1
  232. package/dist/Metric.d.ts +59 -0
  233. package/dist/Metric.d.ts.map +1 -1
  234. package/dist/Metric.js +31 -0
  235. package/dist/Metric.js.map +1 -1
  236. package/dist/MutableHashMap.d.ts +32 -0
  237. package/dist/MutableHashMap.d.ts.map +1 -1
  238. package/dist/MutableHashMap.js +16 -0
  239. package/dist/MutableHashMap.js.map +1 -1
  240. package/dist/MutableHashSet.d.ts +16 -0
  241. package/dist/MutableHashSet.d.ts.map +1 -1
  242. package/dist/MutableHashSet.js +10 -0
  243. package/dist/MutableHashSet.js.map +1 -1
  244. package/dist/MutableList.d.ts +20 -0
  245. package/dist/MutableList.d.ts.map +1 -1
  246. package/dist/MutableList.js +18 -0
  247. package/dist/MutableList.js.map +1 -1
  248. package/dist/MutableRef.d.ts +31 -0
  249. package/dist/MutableRef.d.ts.map +1 -1
  250. package/dist/MutableRef.js +17 -0
  251. package/dist/MutableRef.js.map +1 -1
  252. package/dist/Newtype.d.ts +9 -0
  253. package/dist/Newtype.d.ts.map +1 -1
  254. package/dist/Newtype.js +6 -0
  255. package/dist/Newtype.js.map +1 -1
  256. package/dist/NonEmptyIterable.d.ts +4 -0
  257. package/dist/NonEmptyIterable.d.ts.map +1 -1
  258. package/dist/NonEmptyIterable.js +2 -0
  259. package/dist/NonEmptyIterable.js.map +1 -1
  260. package/dist/Number.d.ts +61 -0
  261. package/dist/Number.d.ts.map +1 -1
  262. package/dist/Number.js +31 -0
  263. package/dist/Number.js.map +1 -1
  264. package/dist/Optic.d.ts +41 -0
  265. package/dist/Optic.d.ts.map +1 -1
  266. package/dist/Optic.js +20 -0
  267. package/dist/Optic.js.map +1 -1
  268. package/dist/Option.d.ts +134 -0
  269. package/dist/Option.d.ts.map +1 -1
  270. package/dist/Option.js +61 -0
  271. package/dist/Option.js.map +1 -1
  272. package/dist/Order.d.ts +29 -0
  273. package/dist/Order.d.ts.map +1 -1
  274. package/dist/Order.js +24 -0
  275. package/dist/Order.js.map +1 -1
  276. package/dist/Ordering.d.ts +7 -0
  277. package/dist/Ordering.d.ts.map +1 -1
  278. package/dist/Ordering.js +3 -0
  279. package/dist/Ordering.js.map +1 -1
  280. package/dist/PartitionedSemaphore.d.ts +24 -0
  281. package/dist/PartitionedSemaphore.d.ts.map +1 -1
  282. package/dist/PartitionedSemaphore.js +47 -21
  283. package/dist/PartitionedSemaphore.js.map +1 -1
  284. package/dist/Path.d.ts +6 -0
  285. package/dist/Path.d.ts.map +1 -1
  286. package/dist/Path.js +4 -0
  287. package/dist/Path.js.map +1 -1
  288. package/dist/Pipeable.d.ts +7 -0
  289. package/dist/Pipeable.d.ts.map +1 -1
  290. package/dist/Pipeable.js +5 -0
  291. package/dist/Pipeable.js.map +1 -1
  292. package/dist/PlatformError.d.ts +8 -0
  293. package/dist/PlatformError.d.ts.map +1 -1
  294. package/dist/PlatformError.js +7 -0
  295. package/dist/PlatformError.js.map +1 -1
  296. package/dist/Pool.d.ts +28 -5
  297. package/dist/Pool.d.ts.map +1 -1
  298. package/dist/Pool.js +42 -42
  299. package/dist/Pool.js.map +1 -1
  300. package/dist/Predicate.d.ts +84 -0
  301. package/dist/Predicate.d.ts.map +1 -1
  302. package/dist/Predicate.js +48 -0
  303. package/dist/Predicate.js.map +1 -1
  304. package/dist/PrimaryKey.d.ts +5 -0
  305. package/dist/PrimaryKey.d.ts.map +1 -1
  306. package/dist/PrimaryKey.js +4 -0
  307. package/dist/PrimaryKey.js.map +1 -1
  308. package/dist/PubSub.d.ts +67 -5
  309. package/dist/PubSub.d.ts.map +1 -1
  310. package/dist/PubSub.js +60 -8
  311. package/dist/PubSub.js.map +1 -1
  312. package/dist/Pull.d.ts +20 -0
  313. package/dist/Pull.d.ts.map +1 -1
  314. package/dist/Pull.js +10 -0
  315. package/dist/Pull.js.map +1 -1
  316. package/dist/Queue.d.ts +60 -0
  317. package/dist/Queue.d.ts.map +1 -1
  318. package/dist/Queue.js +58 -8
  319. package/dist/Queue.js.map +1 -1
  320. package/dist/Random.d.ts +13 -0
  321. package/dist/Random.d.ts.map +1 -1
  322. package/dist/Random.js +9 -0
  323. package/dist/Random.js.map +1 -1
  324. package/dist/RcMap.d.ts +23 -0
  325. package/dist/RcMap.d.ts.map +1 -1
  326. package/dist/RcMap.js +24 -1
  327. package/dist/RcMap.js.map +1 -1
  328. package/dist/RcRef.d.ts +6 -0
  329. package/dist/RcRef.d.ts.map +1 -1
  330. package/dist/RcRef.js +3 -0
  331. package/dist/RcRef.js.map +1 -1
  332. package/dist/Record.d.ts +100 -0
  333. package/dist/Record.d.ts.map +1 -1
  334. package/dist/Record.js +43 -0
  335. package/dist/Record.js.map +1 -1
  336. package/dist/Redactable.d.ts +6 -0
  337. package/dist/Redactable.d.ts.map +1 -1
  338. package/dist/Redactable.js +4 -0
  339. package/dist/Redactable.js.map +1 -1
  340. package/dist/Redacted.d.ts +8 -0
  341. package/dist/Redacted.d.ts.map +1 -1
  342. package/dist/Redacted.js +6 -0
  343. package/dist/Redacted.js.map +1 -1
  344. package/dist/Reducer.d.ts +4 -0
  345. package/dist/Reducer.d.ts.map +1 -1
  346. package/dist/Reducer.js +3 -0
  347. package/dist/Reducer.js.map +1 -1
  348. package/dist/Ref.d.ts +20 -0
  349. package/dist/Ref.d.ts.map +1 -1
  350. package/dist/Ref.js +16 -0
  351. package/dist/Ref.js.map +1 -1
  352. package/dist/References.d.ts +21 -0
  353. package/dist/References.d.ts.map +1 -1
  354. package/dist/References.js +19 -0
  355. package/dist/References.js.map +1 -1
  356. package/dist/RegExp.d.ts +3 -0
  357. package/dist/RegExp.d.ts.map +1 -1
  358. package/dist/RegExp.js +4 -0
  359. package/dist/RegExp.js.map +1 -1
  360. package/dist/Request.d.ts +32 -0
  361. package/dist/Request.d.ts.map +1 -1
  362. package/dist/Request.js +12 -0
  363. package/dist/Request.js.map +1 -1
  364. package/dist/RequestResolver.d.ts +42 -0
  365. package/dist/RequestResolver.d.ts.map +1 -1
  366. package/dist/RequestResolver.js +27 -6
  367. package/dist/RequestResolver.js.map +1 -1
  368. package/dist/Resource.d.ts +6 -0
  369. package/dist/Resource.d.ts.map +1 -1
  370. package/dist/Resource.js +6 -0
  371. package/dist/Resource.js.map +1 -1
  372. package/dist/Result.d.ts +91 -0
  373. package/dist/Result.d.ts.map +1 -1
  374. package/dist/Result.js +41 -0
  375. package/dist/Result.js.map +1 -1
  376. package/dist/Runtime.d.ts +9 -0
  377. package/dist/Runtime.d.ts.map +1 -1
  378. package/dist/Runtime.js +7 -0
  379. package/dist/Runtime.js.map +1 -1
  380. package/dist/Schedule.d.ts +57 -0
  381. package/dist/Schedule.d.ts.map +1 -1
  382. package/dist/Schedule.js +32 -0
  383. package/dist/Schedule.js.map +1 -1
  384. package/dist/Scheduler.d.ts +7 -0
  385. package/dist/Scheduler.d.ts.map +1 -1
  386. package/dist/Scheduler.js +5 -0
  387. package/dist/Scheduler.js.map +1 -1
  388. package/dist/Schema.d.ts +496 -1
  389. package/dist/Schema.d.ts.map +1 -1
  390. package/dist/Schema.js +280 -1
  391. package/dist/Schema.js.map +1 -1
  392. package/dist/SchemaAST.d.ts +107 -0
  393. package/dist/SchemaAST.d.ts.map +1 -1
  394. package/dist/SchemaAST.js +81 -1
  395. package/dist/SchemaAST.js.map +1 -1
  396. package/dist/SchemaGetter.d.ts +69 -2
  397. package/dist/SchemaGetter.d.ts.map +1 -1
  398. package/dist/SchemaGetter.js +63 -4
  399. package/dist/SchemaGetter.js.map +1 -1
  400. package/dist/SchemaIssue.d.ts +33 -0
  401. package/dist/SchemaIssue.d.ts.map +1 -1
  402. package/dist/SchemaIssue.js +18 -0
  403. package/dist/SchemaIssue.js.map +1 -1
  404. package/dist/SchemaParser.d.ts +25 -0
  405. package/dist/SchemaParser.d.ts.map +1 -1
  406. package/dist/SchemaParser.js +26 -0
  407. package/dist/SchemaParser.js.map +1 -1
  408. package/dist/SchemaRepresentation.d.ts +147 -0
  409. package/dist/SchemaRepresentation.d.ts.map +1 -1
  410. package/dist/SchemaRepresentation.js +99 -0
  411. package/dist/SchemaRepresentation.js.map +1 -1
  412. package/dist/SchemaTransformation.d.ts +53 -0
  413. package/dist/SchemaTransformation.d.ts.map +1 -1
  414. package/dist/SchemaTransformation.js +46 -0
  415. package/dist/SchemaTransformation.js.map +1 -1
  416. package/dist/Scope.d.ts +19 -0
  417. package/dist/Scope.d.ts.map +1 -1
  418. package/dist/Scope.js +12 -0
  419. package/dist/Scope.js.map +1 -1
  420. package/dist/ScopedCache.d.ts +34 -0
  421. package/dist/ScopedCache.d.ts.map +1 -1
  422. package/dist/ScopedCache.js +50 -19
  423. package/dist/ScopedCache.js.map +1 -1
  424. package/dist/ScopedRef.d.ts +9 -0
  425. package/dist/ScopedRef.d.ts.map +1 -1
  426. package/dist/ScopedRef.js +6 -0
  427. package/dist/ScopedRef.js.map +1 -1
  428. package/dist/Semaphore.d.ts +26 -0
  429. package/dist/Semaphore.d.ts.map +1 -1
  430. package/dist/Semaphore.js +10 -0
  431. package/dist/Semaphore.js.map +1 -1
  432. package/dist/Sink.d.ts +125 -1
  433. package/dist/Sink.d.ts.map +1 -1
  434. package/dist/Sink.js +75 -1
  435. package/dist/Sink.js.map +1 -1
  436. package/dist/StandardSchema.d.ts +1 -0
  437. package/dist/StandardSchema.d.ts.map +1 -1
  438. package/dist/StandardSchema.js +1 -0
  439. package/dist/Stdio.d.ts +7 -0
  440. package/dist/Stdio.d.ts.map +1 -1
  441. package/dist/Stdio.js +5 -0
  442. package/dist/Stdio.js.map +1 -1
  443. package/dist/Stream.d.ts +603 -6
  444. package/dist/Stream.d.ts.map +1 -1
  445. package/dist/Stream.js +316 -57
  446. package/dist/Stream.js.map +1 -1
  447. package/dist/String.d.ts +87 -0
  448. package/dist/String.d.ts.map +1 -1
  449. package/dist/String.js +61 -0
  450. package/dist/String.js.map +1 -1
  451. package/dist/Struct.d.ts +46 -0
  452. package/dist/Struct.d.ts.map +1 -1
  453. package/dist/Struct.js +19 -0
  454. package/dist/Struct.js.map +1 -1
  455. package/dist/SubscriptionRef.d.ts +65 -0
  456. package/dist/SubscriptionRef.d.ts.map +1 -1
  457. package/dist/SubscriptionRef.js +25 -0
  458. package/dist/SubscriptionRef.js.map +1 -1
  459. package/dist/Symbol.d.ts +2 -0
  460. package/dist/Symbol.d.ts.map +1 -1
  461. package/dist/Symbol.js +2 -0
  462. package/dist/Symbol.js.map +1 -1
  463. package/dist/SynchronizedRef.d.ts +63 -0
  464. package/dist/SynchronizedRef.d.ts.map +1 -1
  465. package/dist/SynchronizedRef.js +24 -0
  466. package/dist/SynchronizedRef.js.map +1 -1
  467. package/dist/Take.d.ts +3 -0
  468. package/dist/Take.d.ts.map +1 -1
  469. package/dist/Take.js +1 -0
  470. package/dist/Take.js.map +1 -1
  471. package/dist/Terminal.d.ts +8 -0
  472. package/dist/Terminal.d.ts.map +1 -1
  473. package/dist/Terminal.js +4 -0
  474. package/dist/Terminal.js.map +1 -1
  475. package/dist/Tracer.d.ts +23 -0
  476. package/dist/Tracer.d.ts.map +1 -1
  477. package/dist/Tracer.js +12 -0
  478. package/dist/Tracer.js.map +1 -1
  479. package/dist/Trie.d.ts +68 -0
  480. package/dist/Trie.d.ts.map +1 -1
  481. package/dist/Trie.js +28 -0
  482. package/dist/Trie.js.map +1 -1
  483. package/dist/Tuple.d.ts +38 -0
  484. package/dist/Tuple.d.ts.map +1 -1
  485. package/dist/Tuple.js +18 -0
  486. package/dist/Tuple.js.map +1 -1
  487. package/dist/TxChunk.d.ts +52 -0
  488. package/dist/TxChunk.d.ts.map +1 -1
  489. package/dist/TxChunk.js +23 -0
  490. package/dist/TxChunk.js.map +1 -1
  491. package/dist/TxDeferred.d.ts +15 -0
  492. package/dist/TxDeferred.d.ts.map +1 -1
  493. package/dist/TxDeferred.js +8 -0
  494. package/dist/TxDeferred.js.map +1 -1
  495. package/dist/TxHashMap.d.ts +83 -0
  496. package/dist/TxHashMap.d.ts.map +1 -1
  497. package/dist/TxHashMap.js +52 -7
  498. package/dist/TxHashMap.js.map +1 -1
  499. package/dist/TxHashSet.d.ts +51 -0
  500. package/dist/TxHashSet.d.ts.map +1 -1
  501. package/dist/TxHashSet.js +29 -4
  502. package/dist/TxHashSet.js.map +1 -1
  503. package/dist/TxPriorityQueue.d.ts +30 -0
  504. package/dist/TxPriorityQueue.d.ts.map +1 -1
  505. package/dist/TxPriorityQueue.js +22 -1
  506. package/dist/TxPriorityQueue.js.map +1 -1
  507. package/dist/TxPubSub.d.ts +25 -0
  508. package/dist/TxPubSub.d.ts.map +1 -1
  509. package/dist/TxPubSub.js +19 -0
  510. package/dist/TxPubSub.js.map +1 -1
  511. package/dist/TxQueue.d.ts +51 -0
  512. package/dist/TxQueue.d.ts.map +1 -1
  513. package/dist/TxQueue.js +30 -0
  514. package/dist/TxQueue.js.map +1 -1
  515. package/dist/TxReentrantLock.d.ts +24 -0
  516. package/dist/TxReentrantLock.d.ts.map +1 -1
  517. package/dist/TxReentrantLock.js +32 -18
  518. package/dist/TxReentrantLock.js.map +1 -1
  519. package/dist/TxRef.d.ts +14 -0
  520. package/dist/TxRef.d.ts.map +1 -1
  521. package/dist/TxRef.js +7 -0
  522. package/dist/TxRef.js.map +1 -1
  523. package/dist/TxSemaphore.d.ts +25 -0
  524. package/dist/TxSemaphore.d.ts.map +1 -1
  525. package/dist/TxSemaphore.js +29 -13
  526. package/dist/TxSemaphore.js.map +1 -1
  527. package/dist/TxSubscriptionRef.d.ts +25 -0
  528. package/dist/TxSubscriptionRef.d.ts.map +1 -1
  529. package/dist/TxSubscriptionRef.js +12 -0
  530. package/dist/TxSubscriptionRef.js.map +1 -1
  531. package/dist/Types.d.ts +36 -0
  532. package/dist/Types.d.ts.map +1 -1
  533. package/dist/Types.js +1 -0
  534. package/dist/UndefinedOr.d.ts +15 -0
  535. package/dist/UndefinedOr.d.ts.map +1 -1
  536. package/dist/UndefinedOr.js +9 -0
  537. package/dist/UndefinedOr.js.map +1 -1
  538. package/dist/Unify.d.ts +15 -0
  539. package/dist/Unify.d.ts.map +1 -1
  540. package/dist/Unify.js +2 -0
  541. package/dist/Unify.js.map +1 -1
  542. package/dist/Utils.d.ts +4 -0
  543. package/dist/Utils.d.ts.map +1 -1
  544. package/dist/Utils.js +1 -0
  545. package/dist/Utils.js.map +1 -1
  546. package/dist/Version.d.ts +26 -0
  547. package/dist/Version.d.ts.map +1 -0
  548. package/dist/Version.js +36 -0
  549. package/dist/Version.js.map +1 -0
  550. package/dist/ai/Chat.js +1 -1
  551. package/dist/ai/Chat.js.map +1 -1
  552. package/dist/ai/DecisionModel.d.ts +22 -0
  553. package/dist/ai/DecisionModel.d.ts.map +1 -1
  554. package/dist/ai/DecisionModel.js +22 -4
  555. package/dist/ai/DecisionModel.js.map +1 -1
  556. package/dist/ai/LanguageModel.d.ts +8 -0
  557. package/dist/ai/LanguageModel.d.ts.map +1 -1
  558. package/dist/ai/LanguageModel.js +27 -15
  559. package/dist/ai/LanguageModel.js.map +1 -1
  560. package/dist/ai/McpSchema.d.ts +508 -508
  561. package/dist/ai/McpSchema.d.ts.map +1 -1
  562. package/dist/ai/McpSchema.js +1 -1
  563. package/dist/ai/McpSchema.js.map +1 -1
  564. package/dist/ai/McpServer.d.ts +32 -11
  565. package/dist/ai/McpServer.d.ts.map +1 -1
  566. package/dist/ai/McpServer.js +224 -172
  567. package/dist/ai/McpServer.js.map +1 -1
  568. package/dist/ai/Response.d.ts.map +1 -1
  569. package/dist/ai/Response.js +22 -12
  570. package/dist/ai/Response.js.map +1 -1
  571. package/dist/ai/Telemetry.d.ts +49 -41
  572. package/dist/ai/Telemetry.d.ts.map +1 -1
  573. package/dist/ai/Telemetry.js +6 -8
  574. package/dist/ai/Telemetry.js.map +1 -1
  575. package/dist/ai/internal/mcpProtocol/v2024_11_05.js +1 -0
  576. package/dist/ai/internal/mcpProtocol/v2024_11_05.js.map +1 -1
  577. package/dist/ai/internal/mcpProtocol/v2025_03_26.js +1 -0
  578. package/dist/ai/internal/mcpProtocol/v2025_03_26.js.map +1 -1
  579. package/dist/ai/internal/mcpProtocol/v2025_06_18.js +1 -0
  580. package/dist/ai/internal/mcpProtocol/v2025_06_18.js.map +1 -1
  581. package/dist/ai/internal/mcpProtocol/v2025_11_25.js +1 -0
  582. package/dist/ai/internal/mcpProtocol/v2025_11_25.js.map +1 -1
  583. package/dist/ai/internal/mcpRuntime.js +79 -46
  584. package/dist/ai/internal/mcpRuntime.js.map +1 -1
  585. package/dist/ai/internal/mcpSchema/v2024_11_05.js +3 -1
  586. package/dist/ai/internal/mcpSchema/v2024_11_05.js.map +1 -1
  587. package/dist/ai/internal/mcpStatefulRuntime.js +1 -0
  588. package/dist/ai/internal/mcpStatefulRuntime.js.map +1 -1
  589. package/dist/cluster/ClusterWorkflowEngine.d.ts.map +1 -1
  590. package/dist/cluster/ClusterWorkflowEngine.js +11 -2
  591. package/dist/cluster/ClusterWorkflowEngine.js.map +1 -1
  592. package/dist/cluster/K8sHttpClient.d.ts.map +1 -1
  593. package/dist/cluster/K8sHttpClient.js +5 -2
  594. package/dist/cluster/K8sHttpClient.js.map +1 -1
  595. package/dist/cluster/Sharding.d.ts.map +1 -1
  596. package/dist/cluster/Sharding.js +14 -7
  597. package/dist/cluster/Sharding.js.map +1 -1
  598. package/dist/cluster/SqlMessageStorage.d.ts.map +1 -1
  599. package/dist/cluster/SqlMessageStorage.js +21 -12
  600. package/dist/cluster/SqlMessageStorage.js.map +1 -1
  601. package/dist/cluster/SqlRunnerStorage.d.ts.map +1 -1
  602. package/dist/cluster/SqlRunnerStorage.js +30 -44
  603. package/dist/cluster/SqlRunnerStorage.js.map +1 -1
  604. package/dist/cluster/internal/entityManager.js +63 -62
  605. package/dist/cluster/internal/entityManager.js.map +1 -1
  606. package/dist/cluster/internal/interruptors.js +8 -0
  607. package/dist/cluster/internal/interruptors.js.map +1 -1
  608. package/dist/cluster/internal/resourceMap.js +39 -14
  609. package/dist/cluster/internal/resourceMap.js.map +1 -1
  610. package/dist/cluster/internal/resourceRef.js +168 -87
  611. package/dist/cluster/internal/resourceRef.js.map +1 -1
  612. package/dist/encoding/Base64.d.ts +4 -0
  613. package/dist/encoding/Base64.d.ts.map +1 -1
  614. package/dist/encoding/Base64.js +4 -0
  615. package/dist/encoding/Base64.js.map +1 -1
  616. package/dist/encoding/Base64Url.d.ts +4 -0
  617. package/dist/encoding/Base64Url.d.ts.map +1 -1
  618. package/dist/encoding/Base64Url.js +4 -0
  619. package/dist/encoding/Base64Url.js.map +1 -1
  620. package/dist/encoding/EncodingError.d.ts +4 -0
  621. package/dist/encoding/EncodingError.d.ts.map +1 -1
  622. package/dist/encoding/EncodingError.js +4 -0
  623. package/dist/encoding/EncodingError.js.map +1 -1
  624. package/dist/encoding/Hex.d.ts +5 -0
  625. package/dist/encoding/Hex.d.ts.map +1 -1
  626. package/dist/encoding/Hex.js +5 -0
  627. package/dist/encoding/Hex.js.map +1 -1
  628. package/dist/encoding/Toml.js +2 -2
  629. package/dist/encoding/Toml.js.map +1 -1
  630. package/dist/encoding/Yaml.d.ts.map +1 -1
  631. package/dist/encoding/Yaml.js +6 -4
  632. package/dist/encoding/Yaml.js.map +1 -1
  633. package/dist/encoding/index.d.ts +4 -0
  634. package/dist/encoding/index.d.ts.map +1 -1
  635. package/dist/encoding/index.js +4 -0
  636. package/dist/encoding/index.js.map +1 -1
  637. package/dist/eventlog/SqlEventJournal.js +8 -4
  638. package/dist/eventlog/SqlEventJournal.js.map +1 -1
  639. package/dist/eventlog/SqlEventLogServerUnencrypted.d.ts +27 -10
  640. package/dist/eventlog/SqlEventLogServerUnencrypted.d.ts.map +1 -1
  641. package/dist/eventlog/SqlEventLogServerUnencrypted.js +49 -7
  642. package/dist/eventlog/SqlEventLogServerUnencrypted.js.map +1 -1
  643. package/dist/http/Headers.d.ts +3 -1
  644. package/dist/http/Headers.d.ts.map +1 -1
  645. package/dist/http/Headers.js +4 -2
  646. package/dist/http/Headers.js.map +1 -1
  647. package/dist/http/HttpClient.d.ts +9 -0
  648. package/dist/http/HttpClient.d.ts.map +1 -1
  649. package/dist/http/HttpClient.js +40 -21
  650. package/dist/http/HttpClient.js.map +1 -1
  651. package/dist/http/HttpClientResponse.js +3 -1
  652. package/dist/http/HttpClientResponse.js.map +1 -1
  653. package/dist/http/HttpEffect.d.ts +3 -0
  654. package/dist/http/HttpEffect.d.ts.map +1 -1
  655. package/dist/http/HttpEffect.js +5 -2
  656. package/dist/http/HttpEffect.js.map +1 -1
  657. package/dist/http/HttpMiddleware.d.ts +17 -0
  658. package/dist/http/HttpMiddleware.d.ts.map +1 -1
  659. package/dist/http/HttpMiddleware.js +58 -40
  660. package/dist/http/HttpMiddleware.js.map +1 -1
  661. package/dist/http/HttpServer.d.ts +1 -1
  662. package/dist/http/HttpServer.d.ts.map +1 -1
  663. package/dist/http/HttpStaticServer.d.ts.map +1 -1
  664. package/dist/http/HttpStaticServer.js +14 -0
  665. package/dist/http/HttpStaticServer.js.map +1 -1
  666. package/dist/http/HttpTraceContext.d.ts +1 -1
  667. package/dist/http/HttpTraceContext.d.ts.map +1 -1
  668. package/dist/http/HttpTraceContext.js +4 -4
  669. package/dist/http/HttpTraceContext.js.map +1 -1
  670. package/dist/http/internal/tracing.d.ts +2 -0
  671. package/dist/http/internal/tracing.d.ts.map +1 -0
  672. package/dist/http/internal/tracing.js +37 -0
  673. package/dist/http/internal/tracing.js.map +1 -0
  674. package/dist/http-api/HttpApiBuilder.js +2 -1
  675. package/dist/http-api/HttpApiBuilder.js.map +1 -1
  676. package/dist/http-api/HttpApiClient.d.ts +12 -3
  677. package/dist/http-api/HttpApiClient.d.ts.map +1 -1
  678. package/dist/http-api/HttpApiClient.js.map +1 -1
  679. package/dist/http-api/HttpApiError.d.ts +4 -2
  680. package/dist/http-api/HttpApiError.d.ts.map +1 -1
  681. package/dist/http-api/HttpApiError.js +7 -3
  682. package/dist/http-api/HttpApiError.js.map +1 -1
  683. package/dist/http-api/HttpApiSecurity.d.ts +8 -8
  684. package/dist/http-api/HttpApiSecurity.js +8 -8
  685. package/dist/index.d.ts +155 -0
  686. package/dist/index.d.ts.map +1 -1
  687. package/dist/index.js +155 -0
  688. package/dist/index.js.map +1 -1
  689. package/dist/internal/arbitrary/array.js +3 -3
  690. package/dist/internal/arbitrary/array.js.map +1 -1
  691. package/dist/internal/arbitrary/model.js +26 -11
  692. package/dist/internal/arbitrary/model.js.map +1 -1
  693. package/dist/internal/arbitrary/runner.js +8 -8
  694. package/dist/internal/arbitrary/runner.js.map +1 -1
  695. package/dist/internal/arbitrary/schema.js +4 -5
  696. package/dist/internal/arbitrary/schema.js.map +1 -1
  697. package/dist/internal/core.js +43 -2
  698. package/dist/internal/core.js.map +1 -1
  699. package/dist/internal/dateTime.js +1 -1
  700. package/dist/internal/dateTime.js.map +1 -1
  701. package/dist/internal/effect.js +104 -120
  702. package/dist/internal/effect.js.map +1 -1
  703. package/dist/internal/rcRef.js +59 -23
  704. package/dist/internal/rcRef.js.map +1 -1
  705. package/dist/internal/schedule.js +7 -5
  706. package/dist/internal/schedule.js.map +1 -1
  707. package/dist/internal/schema/fromJsonSchemaDocument.js +11 -8
  708. package/dist/internal/schema/fromJsonSchemaDocument.js.map +1 -1
  709. package/dist/internal/schema/standardSchema.js +2 -2
  710. package/dist/internal/schema/standardSchema.js.map +1 -1
  711. package/dist/internal/version.d.ts +2 -0
  712. package/dist/internal/version.d.ts.map +1 -0
  713. package/dist/internal/version.js +3 -0
  714. package/dist/internal/version.js.map +1 -0
  715. package/dist/observability/OtlpExporter.d.ts.map +1 -1
  716. package/dist/observability/OtlpExporter.js +5 -6
  717. package/dist/observability/OtlpExporter.js.map +1 -1
  718. package/dist/observability/OtlpLogger.d.ts.map +1 -1
  719. package/dist/observability/OtlpLogger.js +23 -27
  720. package/dist/observability/OtlpLogger.js.map +1 -1
  721. package/dist/observability/OtlpMetrics.d.ts +5 -3
  722. package/dist/observability/OtlpMetrics.d.ts.map +1 -1
  723. package/dist/observability/OtlpMetrics.js +21 -94
  724. package/dist/observability/OtlpMetrics.js.map +1 -1
  725. package/dist/observability/OtlpResource.d.ts +4 -3
  726. package/dist/observability/OtlpResource.d.ts.map +1 -1
  727. package/dist/observability/OtlpResource.js +20 -23
  728. package/dist/observability/OtlpResource.js.map +1 -1
  729. package/dist/observability/OtlpTracer.d.ts +1 -0
  730. package/dist/observability/OtlpTracer.d.ts.map +1 -1
  731. package/dist/observability/OtlpTracer.js +32 -36
  732. package/dist/observability/OtlpTracer.js.map +1 -1
  733. package/dist/observability/internal/otlpProtobuf.js +32 -1
  734. package/dist/observability/internal/otlpProtobuf.js.map +1 -1
  735. package/dist/reactivity/AsyncResult.d.ts +1 -1
  736. package/dist/reactivity/Atom.d.ts +5 -5
  737. package/dist/reactivity/Atom.d.ts.map +1 -1
  738. package/dist/reactivity/Atom.js +9 -5
  739. package/dist/reactivity/Atom.js.map +1 -1
  740. package/dist/reactivity/AtomHttpApi.d.ts +2 -2
  741. package/dist/reactivity/AtomHttpApi.d.ts.map +1 -1
  742. package/dist/reactivity/AtomRegistry.d.ts +8 -0
  743. package/dist/reactivity/AtomRegistry.d.ts.map +1 -1
  744. package/dist/reactivity/AtomRegistry.js.map +1 -1
  745. package/dist/rpc/RpcClient.d.ts +21 -3
  746. package/dist/rpc/RpcClient.d.ts.map +1 -1
  747. package/dist/rpc/RpcClient.js +58 -34
  748. package/dist/rpc/RpcClient.js.map +1 -1
  749. package/dist/rpc/RpcServer.d.ts.map +1 -1
  750. package/dist/rpc/RpcServer.js +20 -23
  751. package/dist/rpc/RpcServer.js.map +1 -1
  752. package/dist/rpc/Utils.d.ts +2 -3
  753. package/dist/rpc/Utils.d.ts.map +1 -1
  754. package/dist/rpc/Utils.js +3 -4
  755. package/dist/rpc/Utils.js.map +1 -1
  756. package/dist/rpc/internal/tracing.d.ts +2 -0
  757. package/dist/rpc/internal/tracing.d.ts.map +1 -0
  758. package/dist/rpc/internal/tracing.js +18 -0
  759. package/dist/rpc/internal/tracing.js.map +1 -0
  760. package/dist/schema/SchemaCompiler/runtime.js +9 -1
  761. package/dist/schema/SchemaCompiler/runtime.js.map +1 -1
  762. package/dist/sql/SqlClient.js +4 -4
  763. package/dist/sql/SqlClient.js.map +1 -1
  764. package/dist/sql/Statement.d.ts +21 -1
  765. package/dist/sql/Statement.d.ts.map +1 -1
  766. package/dist/sql/Statement.js +55 -7
  767. package/dist/sql/Statement.js.map +1 -1
  768. package/dist/testing/TestClock.d.ts +8 -0
  769. package/dist/testing/TestClock.d.ts.map +1 -1
  770. package/dist/testing/TestClock.js +7 -0
  771. package/dist/testing/TestClock.js.map +1 -1
  772. package/dist/testing/TestConsole.d.ts +7 -0
  773. package/dist/testing/TestConsole.d.ts.map +1 -1
  774. package/dist/testing/TestConsole.js +6 -0
  775. package/dist/testing/TestConsole.js.map +1 -1
  776. package/dist/testing/index.d.ts +3 -0
  777. package/dist/testing/index.d.ts.map +1 -1
  778. package/dist/testing/index.js +3 -0
  779. package/dist/testing/index.js.map +1 -1
  780. package/dist/workflow/WorkflowEngine.d.ts +2 -0
  781. package/dist/workflow/WorkflowEngine.d.ts.map +1 -1
  782. package/dist/workflow/WorkflowEngine.js +1 -0
  783. package/dist/workflow/WorkflowEngine.js.map +1 -1
  784. package/package.json +3 -3
  785. package/src/Array.ts +351 -3
  786. package/src/BigDecimal.ts +88 -0
  787. package/src/BigInt.ts +68 -0
  788. package/src/Boolean.ts +34 -0
  789. package/src/Brand.ts +10 -0
  790. package/src/ByteSize.ts +87 -0
  791. package/src/Cache.ts +72 -24
  792. package/src/Cause.ts +83 -1
  793. package/src/Channel.ts +368 -18
  794. package/src/ChannelSchema.ts +13 -0
  795. package/src/Chunk.ts +193 -0
  796. package/src/Clock.ts +7 -0
  797. package/src/Combiner.ts +10 -0
  798. package/src/Config.ts +82 -8
  799. package/src/ConfigProvider.ts +28 -0
  800. package/src/Console.ts +26 -0
  801. package/src/Context.ts +50 -0
  802. package/src/Cron.ts +32 -1
  803. package/src/Crypto.ts +5 -0
  804. package/src/Data.ts +13 -0
  805. package/src/DateTime.ts +171 -0
  806. package/src/Deferred.ts +51 -0
  807. package/src/Differ.ts +2 -0
  808. package/src/Duration.ts +90 -0
  809. package/src/Effect.ts +692 -27
  810. package/src/Effectable.ts +4 -0
  811. package/src/Equal.ts +12 -1
  812. package/src/Equivalence.ts +22 -0
  813. package/src/ErrorReporter.ts +36 -0
  814. package/src/ExecutionPlan.ts +58 -14
  815. package/src/Exit.ts +40 -0
  816. package/src/Fiber.ts +20 -0
  817. package/src/FiberHandle.ts +29 -4
  818. package/src/FiberMap.ts +38 -0
  819. package/src/FiberSet.ts +21 -0
  820. package/src/FileSystem.ts +16 -0
  821. package/src/Filter.ts +55 -0
  822. package/src/Formatter.ts +42 -1
  823. package/src/Function.ts +30 -0
  824. package/src/Graph.ts +317 -36
  825. package/src/HKT.ts +5 -0
  826. package/src/Hash.ts +15 -0
  827. package/src/HashMap.ts +91 -0
  828. package/src/HashRing.ts +32 -5
  829. package/src/HashSet.ts +53 -0
  830. package/src/Inspectable.ts +8 -0
  831. package/src/Iterable.ts +127 -0
  832. package/src/JsonPatch.ts +5 -0
  833. package/src/JsonPointer.ts +5 -0
  834. package/src/JsonSchema.ts +17 -0
  835. package/src/Latch.ts +14 -0
  836. package/src/Layer.ts +101 -1
  837. package/src/LayerMap.ts +7 -0
  838. package/src/LayerRef.ts +5 -0
  839. package/src/LogLevel.ts +20 -0
  840. package/src/Logger.ts +41 -5
  841. package/src/ManagedRuntime.ts +12 -1
  842. package/src/Match.ts +52 -0
  843. package/src/Metric.ts +69 -0
  844. package/src/MutableHashMap.ts +44 -0
  845. package/src/MutableHashSet.ts +17 -0
  846. package/src/MutableList.ts +21 -0
  847. package/src/MutableRef.ts +32 -0
  848. package/src/Newtype.ts +9 -0
  849. package/src/NonEmptyIterable.ts +4 -0
  850. package/src/Number.ts +61 -0
  851. package/src/Optic.ts +57 -0
  852. package/src/Option.ts +134 -0
  853. package/src/Order.ts +30 -0
  854. package/src/Ordering.ts +7 -0
  855. package/src/PartitionedSemaphore.ts +61 -22
  856. package/src/Path.ts +6 -0
  857. package/src/Pipeable.ts +7 -0
  858. package/src/PlatformError.ts +8 -0
  859. package/src/Pool.ts +48 -37
  860. package/src/Predicate.ts +85 -0
  861. package/src/PrimaryKey.ts +5 -0
  862. package/src/PubSub.ts +90 -9
  863. package/src/Pull.ts +20 -0
  864. package/src/Queue.ts +80 -10
  865. package/src/Random.ts +13 -0
  866. package/src/RcMap.ts +49 -2
  867. package/src/RcRef.ts +6 -0
  868. package/src/Record.ts +100 -0
  869. package/src/Redactable.ts +6 -0
  870. package/src/Redacted.ts +8 -0
  871. package/src/Reducer.ts +4 -0
  872. package/src/Ref.ts +42 -0
  873. package/src/References.ts +21 -0
  874. package/src/RegExp.ts +4 -0
  875. package/src/Request.ts +32 -0
  876. package/src/RequestResolver.ts +59 -10
  877. package/src/Resource.ts +7 -0
  878. package/src/Result.ts +93 -0
  879. package/src/Runtime.ts +10 -0
  880. package/src/Schedule.ts +61 -0
  881. package/src/Scheduler.ts +7 -0
  882. package/src/Schema.ts +499 -4
  883. package/src/SchemaAST.ts +115 -1
  884. package/src/SchemaGetter.ts +80 -4
  885. package/src/SchemaIssue.ts +34 -0
  886. package/src/SchemaParser.ts +26 -0
  887. package/src/SchemaRepresentation.ts +148 -0
  888. package/src/SchemaTransformation.ts +53 -0
  889. package/src/Scope.ts +19 -0
  890. package/src/ScopedCache.ts +82 -19
  891. package/src/ScopedRef.ts +9 -0
  892. package/src/Semaphore.ts +26 -0
  893. package/src/Sink.ts +126 -2
  894. package/src/StandardSchema.ts +1 -0
  895. package/src/Stdio.ts +7 -0
  896. package/src/Stream.ts +780 -103
  897. package/src/String.ts +87 -0
  898. package/src/Struct.ts +46 -0
  899. package/src/SubscriptionRef.ts +65 -0
  900. package/src/Symbol.ts +2 -0
  901. package/src/SynchronizedRef.ts +63 -0
  902. package/src/Take.ts +3 -0
  903. package/src/Terminal.ts +8 -0
  904. package/src/Tracer.ts +23 -0
  905. package/src/Trie.ts +68 -0
  906. package/src/Tuple.ts +38 -0
  907. package/src/TxChunk.ts +52 -0
  908. package/src/TxDeferred.ts +15 -0
  909. package/src/TxHashMap.ts +97 -6
  910. package/src/TxHashSet.ts +83 -3
  911. package/src/TxPriorityQueue.ts +34 -2
  912. package/src/TxPubSub.ts +26 -0
  913. package/src/TxQueue.ts +51 -0
  914. package/src/TxReentrantLock.ts +53 -36
  915. package/src/TxRef.ts +14 -0
  916. package/src/TxSemaphore.ts +47 -31
  917. package/src/TxSubscriptionRef.ts +25 -0
  918. package/src/Types.ts +36 -0
  919. package/src/UndefinedOr.ts +15 -0
  920. package/src/Unify.ts +15 -0
  921. package/src/Utils.ts +4 -0
  922. package/src/Version.ts +38 -0
  923. package/src/ai/Chat.ts +1 -1
  924. package/src/ai/DecisionModel.ts +42 -1
  925. package/src/ai/LanguageModel.ts +43 -21
  926. package/src/ai/McpSchema.ts +3 -3
  927. package/src/ai/McpServer.ts +119 -39
  928. package/src/ai/Response.ts +27 -12
  929. package/src/ai/Telemetry.ts +62 -58
  930. package/src/ai/internal/mcpProtocol/v2024_11_05.ts +1 -0
  931. package/src/ai/internal/mcpProtocol/v2025_03_26.ts +1 -0
  932. package/src/ai/internal/mcpProtocol/v2025_06_18.ts +1 -0
  933. package/src/ai/internal/mcpProtocol/v2025_11_25.ts +1 -0
  934. package/src/ai/internal/mcpRuntime.ts +84 -43
  935. package/src/ai/internal/mcpSchema/v2024_11_05.ts +4 -2
  936. package/src/ai/internal/mcpStatefulRuntime.ts +2 -0
  937. package/src/cluster/ClusterWorkflowEngine.ts +18 -4
  938. package/src/cluster/K8sHttpClient.ts +12 -2
  939. package/src/cluster/Sharding.ts +24 -24
  940. package/src/cluster/SqlMessageStorage.ts +26 -13
  941. package/src/cluster/SqlRunnerStorage.ts +85 -113
  942. package/src/cluster/internal/entityManager.ts +68 -80
  943. package/src/cluster/internal/interruptors.ts +13 -0
  944. package/src/cluster/internal/resourceMap.ts +55 -17
  945. package/src/cluster/internal/resourceRef.ts +189 -96
  946. package/src/encoding/Base64.ts +4 -0
  947. package/src/encoding/Base64Url.ts +4 -0
  948. package/src/encoding/EncodingError.ts +5 -0
  949. package/src/encoding/Hex.ts +5 -0
  950. package/src/encoding/Toml.ts +2 -2
  951. package/src/encoding/Yaml.ts +8 -4
  952. package/src/encoding/index.ts +4 -0
  953. package/src/eventlog/SqlEventJournal.ts +18 -4
  954. package/src/eventlog/SqlEventLogServerUnencrypted.ts +282 -235
  955. package/src/http/Headers.ts +8 -2
  956. package/src/http/HttpClient.ts +44 -27
  957. package/src/http/HttpClientResponse.ts +3 -1
  958. package/src/http/HttpEffect.ts +11 -2
  959. package/src/http/HttpMiddleware.ts +67 -46
  960. package/src/http/HttpServer.ts +1 -1
  961. package/src/http/HttpStaticServer.ts +16 -0
  962. package/src/http/HttpTraceContext.ts +8 -4
  963. package/src/http/internal/tracing.ts +52 -0
  964. package/src/http-api/HttpApiBuilder.ts +5 -1
  965. package/src/http-api/HttpApiClient.ts +13 -4
  966. package/src/http-api/HttpApiError.ts +8 -3
  967. package/src/http-api/HttpApiSecurity.ts +8 -8
  968. package/src/index.ts +156 -0
  969. package/src/internal/arbitrary/array.ts +3 -3
  970. package/src/internal/arbitrary/model.ts +37 -14
  971. package/src/internal/arbitrary/runner.ts +7 -7
  972. package/src/internal/arbitrary/schema.ts +4 -3
  973. package/src/internal/core.ts +56 -2
  974. package/src/internal/dateTime.ts +3 -1
  975. package/src/internal/effect.ts +156 -156
  976. package/src/internal/rcRef.ts +83 -33
  977. package/src/internal/schedule.ts +23 -17
  978. package/src/internal/schema/fromJsonSchemaDocument.ts +5 -3
  979. package/src/internal/schema/standardSchema.ts +2 -2
  980. package/src/internal/version.ts +2 -0
  981. package/src/observability/OtlpExporter.ts +9 -6
  982. package/src/observability/OtlpLogger.ts +20 -21
  983. package/src/observability/OtlpMetrics.ts +34 -93
  984. package/src/observability/OtlpResource.ts +18 -27
  985. package/src/observability/OtlpTracer.ts +34 -40
  986. package/src/observability/internal/otlpProtobuf.ts +60 -0
  987. package/src/reactivity/AsyncResult.ts +1 -1
  988. package/src/reactivity/Atom.ts +10 -6
  989. package/src/reactivity/AtomHttpApi.ts +2 -4
  990. package/src/reactivity/AtomRegistry.ts +7 -0
  991. package/src/rpc/RpcClient.ts +74 -46
  992. package/src/rpc/RpcServer.ts +28 -25
  993. package/src/rpc/Utils.ts +4 -10
  994. package/src/rpc/internal/tracing.ts +22 -0
  995. package/src/schema/SchemaCompiler/runtime.ts +4 -1
  996. package/src/sql/SqlClient.ts +4 -4
  997. package/src/sql/Statement.ts +59 -7
  998. package/src/testing/TestClock.ts +9 -0
  999. package/src/testing/TestConsole.ts +8 -0
  1000. package/src/testing/index.ts +3 -0
  1001. package/src/workflow/WorkflowEngine.ts +4 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Differ.d.ts","sourceRoot":"","sources":["../src/Differ.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK;IAC5C,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAA;IACrB,IAAI,CAAC,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,KAAK,CAAA;IACrC,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAG,KAAK,CAAA;IAC3C,KAAK,CAAC,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,GAAG,CAAC,CAAA;CACpC"}
1
+ {"version":3,"file":"Differ.d.ts","sourceRoot":"","sources":["../src/Differ.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK;IAC5C,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAA;IACrB,IAAI,CAAC,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,KAAK,CAAA;IACrC,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAG,KAAK,CAAA;IAC3C,KAAK,CAAC,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,GAAG,CAAC,CAAA;CACpC"}
package/dist/Differ.js CHANGED
@@ -4,6 +4,7 @@
4
4
  * difference, combines patches in order, and applies a patch to an old value to
5
5
  * produce an updated value.
6
6
  *
7
+ * @stability stable
7
8
  * @since 4.0.0
8
9
  */
9
10
  export {};
@@ -7,6 +7,7 @@
7
7
  * from common input shapes, unit conversions, comparisons, arithmetic,
8
8
  * formatting, and reusable reducer or combiner helpers.
9
9
  *
10
+ * @stability stable
10
11
  * @since 2.0.0
11
12
  */
12
13
  import * as Combiner from "./Combiner.ts";
@@ -32,6 +33,7 @@ declare const TypeId = "~effect/Duration";
32
33
  * @see {@link DurationValue} for the tagged representation exposed by the
33
34
  * `value` field
34
35
  *
36
+ * @stability stable
35
37
  * @category models
36
38
  * @since 2.0.0
37
39
  */
@@ -57,6 +59,7 @@ export interface Duration extends Equal.Equal, Pipeable, Inspectable.Inspectable
57
59
  * representation
58
60
  * @see {@link match} for pattern matching without reading `value` directly
59
61
  *
62
+ * @stability stable
60
63
  * @category models
61
64
  * @since 2.0.0
62
65
  */
@@ -81,6 +84,7 @@ export type DurationValue = {
81
84
  *
82
85
  * @see {@link Input} for the full duration input union
83
86
  *
87
+ * @stability stable
84
88
  * @category models
85
89
  * @since 2.0.0
86
90
  */
@@ -107,6 +111,7 @@ export type Unit = "nano" | "nanos" | "micro" | "micros" | "milli" | "millis" |
107
111
  * @see {@link DurationObject} for object-shaped duration input
108
112
  * @see {@link Unit} for supported string units
109
113
  *
114
+ * @stability stable
110
115
  * @category models
111
116
  * @since 4.0.0
112
117
  */
@@ -129,6 +134,7 @@ export type Input = Duration | number | bigint | readonly [seconds: number, nano
129
134
  * Duration.fromInputUnsafe({ seconds: 1, nanoseconds: 500 }) // => Duration.nanos(1_000_000_500n)
130
135
  * ```
131
136
  *
137
+ * @stability stable
132
138
  * @category models
133
139
  * @since 4.0.0
134
140
  */
@@ -165,6 +171,7 @@ export interface DurationObject {
165
171
  * Duration.fromInputUnsafe([2, 500_000_000]) // => Duration.nanos(2_500_000_000n)
166
172
  * ```
167
173
  *
174
+ * @stability stable
168
175
  * @category constructors
169
176
  * @since 4.0.0
170
177
  */
@@ -182,6 +189,7 @@ export declare const fromInputUnsafe: (input: Input) => Duration;
182
189
  * Duration.fromInput("invalid" as any) // => Option.none()
183
190
  * ```
184
191
  *
192
+ * @stability stable
185
193
  * @category constructors
186
194
  * @since 4.0.0
187
195
  */
@@ -198,6 +206,7 @@ export declare const fromInput: (u: Input) => Option.Option<Duration>;
198
206
  * Duration.isDuration(1000) // => false
199
207
  * ```
200
208
  *
209
+ * @stability stable
201
210
  * @category guards
202
211
  * @since 2.0.0
203
212
  */
@@ -214,6 +223,7 @@ export declare const isDuration: (u: unknown) => u is Duration;
214
223
  * Duration.isFinite(Duration.infinity) // => false
215
224
  * ```
216
225
  *
226
+ * @stability stable
217
227
  * @category predicates
218
228
  * @since 2.0.0
219
229
  */
@@ -230,6 +240,7 @@ export declare const isFinite: (self: Duration) => boolean;
230
240
  * Duration.isZero(Duration.seconds(1)) // => false
231
241
  * ```
232
242
  *
243
+ * @stability stable
233
244
  * @category predicates
234
245
  * @since 3.5.0
235
246
  */
@@ -247,6 +258,7 @@ export declare const isZero: (self: Duration) => boolean;
247
258
  * Duration.isNegative(Duration.negativeInfinity) // => true
248
259
  * ```
249
260
  *
261
+ * @stability stable
250
262
  * @category predicates
251
263
  * @since 4.0.0
252
264
  */
@@ -264,6 +276,7 @@ export declare const isNegative: (self: Duration) => boolean;
264
276
  * Duration.isPositive(Duration.infinity) // => true
265
277
  * ```
266
278
  *
279
+ * @stability stable
267
280
  * @category predicates
268
281
  * @since 4.0.0
269
282
  */
@@ -280,6 +293,7 @@ export declare const isPositive: (self: Duration) => boolean;
280
293
  * Duration.abs(Duration.negativeInfinity) // => Duration.infinity
281
294
  * ```
282
295
  *
296
+ * @stability stable
283
297
  * @category math
284
298
  * @since 4.0.0
285
299
  */
@@ -296,6 +310,7 @@ export declare const abs: (self: Duration) => Duration;
296
310
  * Duration.negate(Duration.infinity) // => Duration.negativeInfinity
297
311
  * ```
298
312
  *
313
+ * @stability stable
299
314
  * @category math
300
315
  * @since 4.0.0
301
316
  */
@@ -311,6 +326,7 @@ export declare const negate: (self: Duration) => Duration;
311
326
  * Duration.toMillis(Duration.zero) // => 0
312
327
  * ```
313
328
  *
329
+ * @stability stable
314
330
  * @category constructors
315
331
  * @since 2.0.0
316
332
  */
@@ -326,6 +342,7 @@ export declare const zero: Duration;
326
342
  * Duration.toMillis(Duration.infinity) // => Infinity
327
343
  * ```
328
344
  *
345
+ * @stability stable
329
346
  * @category constructors
330
347
  * @since 2.0.0
331
348
  */
@@ -341,6 +358,7 @@ export declare const infinity: Duration;
341
358
  * Duration.toMillis(Duration.negativeInfinity) // => -Infinity
342
359
  * ```
343
360
  *
361
+ * @stability stable
344
362
  * @category constructors
345
363
  * @since 4.0.0
346
364
  */
@@ -356,6 +374,7 @@ export declare const negativeInfinity: Duration;
356
374
  * Duration.nanos(500_000_000n) // => Duration.nanos(500_000_000n)
357
375
  * ```
358
376
  *
377
+ * @stability stable
359
378
  * @category constructors
360
379
  * @since 2.0.0
361
380
  */
@@ -371,6 +390,7 @@ export declare const nanos: (nanos: bigint) => Duration;
371
390
  * Duration.micros(500_000n) // => Duration.nanos(500_000_000n)
372
391
  * ```
373
392
  *
393
+ * @stability stable
374
394
  * @category constructors
375
395
  * @since 2.0.0
376
396
  */
@@ -386,6 +406,7 @@ export declare const micros: (micros: bigint) => Duration;
386
406
  * Duration.toMillis(Duration.millis(1000)) // => 1000
387
407
  * ```
388
408
  *
409
+ * @stability stable
389
410
  * @category constructors
390
411
  * @since 2.0.0
391
412
  */
@@ -401,6 +422,7 @@ export declare const millis: (millis: number) => Duration;
401
422
  * Duration.toMillis(Duration.seconds(30)) // => 30_000
402
423
  * ```
403
424
  *
425
+ * @stability stable
404
426
  * @category constructors
405
427
  * @since 2.0.0
406
428
  */
@@ -416,6 +438,7 @@ export declare const seconds: (seconds: number) => Duration;
416
438
  * Duration.toMillis(Duration.minutes(5)) // => 300_000
417
439
  * ```
418
440
  *
441
+ * @stability stable
419
442
  * @category constructors
420
443
  * @since 2.0.0
421
444
  */
@@ -431,6 +454,7 @@ export declare const minutes: (minutes: number) => Duration;
431
454
  * Duration.toMillis(Duration.hours(2)) // => 7_200_000
432
455
  * ```
433
456
  *
457
+ * @stability stable
434
458
  * @category constructors
435
459
  * @since 2.0.0
436
460
  */
@@ -446,6 +470,7 @@ export declare const hours: (hours: number) => Duration;
446
470
  * Duration.toMillis(Duration.days(1)) // => 86_400_000
447
471
  * ```
448
472
  *
473
+ * @stability stable
449
474
  * @category constructors
450
475
  * @since 2.0.0
451
476
  */
@@ -461,6 +486,7 @@ export declare const days: (days: number) => Duration;
461
486
  * Duration.toMillis(Duration.weeks(1)) // => 604_800_000
462
487
  * ```
463
488
  *
489
+ * @stability stable
464
490
  * @category constructors
465
491
  * @since 2.0.0
466
492
  */
@@ -477,6 +503,7 @@ export declare const weeks: (weeks: number) => Duration;
477
503
  * Duration.toMillis(Duration.minutes(2)) // => 120_000
478
504
  * ```
479
505
  *
506
+ * @stability stable
480
507
  * @category getters
481
508
  * @since 2.0.0
482
509
  */
@@ -493,6 +520,7 @@ export declare const toMillis: (self: Input) => number;
493
520
  * Duration.toSeconds(Duration.minutes(2)) // => 120
494
521
  * ```
495
522
  *
523
+ * @stability stable
496
524
  * @category getters
497
525
  * @since 2.0.0
498
526
  */
@@ -509,6 +537,7 @@ export declare const toSeconds: (self: Input) => number;
509
537
  * Duration.toMinutes(Duration.hours(1)) // => 60
510
538
  * ```
511
539
  *
540
+ * @stability stable
512
541
  * @category getters
513
542
  * @since 3.8.0
514
543
  */
@@ -525,6 +554,7 @@ export declare const toMinutes: (self: Input) => number;
525
554
  * Duration.toHours(Duration.days(1)) // => 24
526
555
  * ```
527
556
  *
557
+ * @stability stable
528
558
  * @category getters
529
559
  * @since 3.8.0
530
560
  */
@@ -541,6 +571,7 @@ export declare const toHours: (self: Input) => number;
541
571
  * Duration.toDays(Duration.weeks(1)) // => 7
542
572
  * ```
543
573
  *
574
+ * @stability stable
544
575
  * @category getters
545
576
  * @since 3.8.0
546
577
  */
@@ -557,6 +588,7 @@ export declare const toDays: (self: Input) => number;
557
588
  * Duration.toWeeks(Duration.days(7)) // => 1
558
589
  * ```
559
590
  *
591
+ * @stability stable
560
592
  * @category getters
561
593
  * @since 3.8.0
562
594
  */
@@ -589,6 +621,7 @@ export declare const toWeeks: (self: Input) => number;
589
621
  * // throws Error: "Cannot convert infinite duration to nanos"
590
622
  * ```
591
623
  *
624
+ * @stability stable
592
625
  * @category getters
593
626
  * @since 4.0.0
594
627
  */
@@ -609,6 +642,7 @@ export declare const toNanosUnsafe: (input: Input) => bigint;
609
642
  * Duration.toNanos(Duration.infinity) // => Option.none()
610
643
  * ```
611
644
  *
645
+ * @stability stable
612
646
  * @category getters
613
647
  * @since 2.0.0
614
648
  */
@@ -624,6 +658,7 @@ export declare const toNanos: (self: Input) => Option.Option<bigint>;
624
658
  * Duration.toHrTime(Duration.millis(1500)) // => [1, 500_000_000]
625
659
  * ```
626
660
  *
661
+ * @stability stable
627
662
  * @category getters
628
663
  * @since 2.0.0
629
664
  */
@@ -649,6 +684,7 @@ export declare const toHrTime: (input: Input) => [seconds: number, nanos: number
649
684
  * }) // => "5000 milliseconds"
650
685
  * ```
651
686
  *
687
+ * @stability stable
652
688
  * @category pattern matching
653
689
  * @since 2.0.0
654
690
  */
@@ -674,6 +710,7 @@ export declare const match: {
674
710
  * }) // => "5000 milliseconds"
675
711
  * ```
676
712
  *
713
+ * @stability stable
677
714
  * @category pattern matching
678
715
  * @since 2.0.0
679
716
  */
@@ -704,6 +741,7 @@ export declare const match: {
704
741
  * }) // => "5000 milliseconds"
705
742
  * ```
706
743
  *
744
+ * @stability stable
707
745
  * @category pattern matching
708
746
  * @since 2.0.0
709
747
  */
@@ -729,6 +767,7 @@ export declare const match: {
729
767
  * }) // => 5000
730
768
  * ```
731
769
  *
770
+ * @stability stable
732
771
  * @category pattern matching
733
772
  * @since 4.0.0
734
773
  */
@@ -748,6 +787,7 @@ export declare const matchPair: {
748
787
  * }) // => 5000
749
788
  * ```
750
789
  *
790
+ * @stability stable
751
791
  * @category pattern matching
752
792
  * @since 4.0.0
753
793
  */
@@ -771,6 +811,7 @@ export declare const matchPair: {
771
811
  * }) // => 5000
772
812
  * ```
773
813
  *
814
+ * @stability stable
774
815
  * @category pattern matching
775
816
  * @since 4.0.0
776
817
  */
@@ -800,6 +841,7 @@ export declare const matchPair: {
800
841
  * durations.sort((a, b) => Duration.Order(a, b)).map(Duration.toSeconds) // => [1, 2, 3]
801
842
  * ```
802
843
  *
844
+ * @stability stable
803
845
  * @category instances
804
846
  * @since 2.0.0
805
847
  */
@@ -836,6 +878,7 @@ export declare const Order: order.Order<Duration>;
836
878
  * @see {@link isGreaterThanOrEqualTo} for checking only the lower bound
837
879
  * @see {@link isLessThanOrEqualTo} for checking only the upper bound
838
880
  *
881
+ * @stability stable
839
882
  * @category predicates
840
883
  * @since 2.0.0
841
884
  */
@@ -872,6 +915,7 @@ export declare const between: {
872
915
  * @see {@link isGreaterThanOrEqualTo} for checking only the lower bound
873
916
  * @see {@link isLessThanOrEqualTo} for checking only the upper bound
874
917
  *
918
+ * @stability stable
875
919
  * @category predicates
876
920
  * @since 2.0.0
877
921
  */
@@ -911,6 +955,7 @@ export declare const between: {
911
955
  * @see {@link isGreaterThanOrEqualTo} for checking only the lower bound
912
956
  * @see {@link isLessThanOrEqualTo} for checking only the upper bound
913
957
  *
958
+ * @stability stable
914
959
  * @category predicates
915
960
  * @since 2.0.0
916
961
  */
@@ -930,6 +975,7 @@ export declare const between: {
930
975
  * Duration.Equivalence(Duration.seconds(5), Duration.millis(5000)) // => true
931
976
  * ```
932
977
  *
978
+ * @stability stable
933
979
  * @category instances
934
980
  * @since 2.0.0
935
981
  */
@@ -945,6 +991,7 @@ export declare const Equivalence: Equ.Equivalence<Duration>;
945
991
  * Duration.min(Duration.seconds(5), Duration.seconds(3)) // => Duration.seconds(3)
946
992
  * ```
947
993
  *
994
+ * @stability stable
948
995
  * @category ordering
949
996
  * @since 2.0.0
950
997
  */
@@ -960,6 +1007,7 @@ export declare const min: {
960
1007
  * Duration.min(Duration.seconds(5), Duration.seconds(3)) // => Duration.seconds(3)
961
1008
  * ```
962
1009
  *
1010
+ * @stability stable
963
1011
  * @category ordering
964
1012
  * @since 2.0.0
965
1013
  */
@@ -975,6 +1023,7 @@ export declare const min: {
975
1023
  * Duration.min(Duration.seconds(5), Duration.seconds(3)) // => Duration.seconds(3)
976
1024
  * ```
977
1025
  *
1026
+ * @stability stable
978
1027
  * @category ordering
979
1028
  * @since 2.0.0
980
1029
  */
@@ -991,6 +1040,7 @@ export declare const min: {
991
1040
  * Duration.max(Duration.seconds(5), Duration.seconds(3)) // => Duration.seconds(5)
992
1041
  * ```
993
1042
  *
1043
+ * @stability stable
994
1044
  * @category ordering
995
1045
  * @since 2.0.0
996
1046
  */
@@ -1006,6 +1056,7 @@ export declare const max: {
1006
1056
  * Duration.max(Duration.seconds(5), Duration.seconds(3)) // => Duration.seconds(5)
1007
1057
  * ```
1008
1058
  *
1059
+ * @stability stable
1009
1060
  * @category ordering
1010
1061
  * @since 2.0.0
1011
1062
  */
@@ -1021,6 +1072,7 @@ export declare const max: {
1021
1072
  * Duration.max(Duration.seconds(5), Duration.seconds(3)) // => Duration.seconds(5)
1022
1073
  * ```
1023
1074
  *
1075
+ * @stability stable
1024
1076
  * @category ordering
1025
1077
  * @since 2.0.0
1026
1078
  */
@@ -1040,6 +1092,7 @@ export declare const max: {
1040
1092
  * }) // => Duration.seconds(5)
1041
1093
  * ```
1042
1094
  *
1095
+ * @stability stable
1043
1096
  * @category ordering
1044
1097
  * @since 2.0.0
1045
1098
  */
@@ -1058,6 +1111,7 @@ export declare const clamp: {
1058
1111
  * }) // => Duration.seconds(5)
1059
1112
  * ```
1060
1113
  *
1114
+ * @stability stable
1061
1115
  * @category ordering
1062
1116
  * @since 2.0.0
1063
1117
  */
@@ -1079,6 +1133,7 @@ export declare const clamp: {
1079
1133
  * }) // => Duration.seconds(5)
1080
1134
  * ```
1081
1135
  *
1136
+ * @stability stable
1082
1137
  * @category ordering
1083
1138
  * @since 2.0.0
1084
1139
  */
@@ -1105,6 +1160,7 @@ export declare const clamp: {
1105
1160
  * Duration.divide(Duration.seconds(10), 0) // => Option.none()
1106
1161
  * ```
1107
1162
  *
1163
+ * @stability stable
1108
1164
  * @category math
1109
1165
  * @since 2.4.19
1110
1166
  */
@@ -1127,6 +1183,7 @@ export declare const divide: {
1127
1183
  * Duration.divide(Duration.seconds(10), 0) // => Option.none()
1128
1184
  * ```
1129
1185
  *
1186
+ * @stability stable
1130
1187
  * @category math
1131
1188
  * @since 2.4.19
1132
1189
  */
@@ -1149,6 +1206,7 @@ export declare const divide: {
1149
1206
  * Duration.divide(Duration.seconds(10), 0) // => Option.none()
1150
1207
  * ```
1151
1208
  *
1209
+ * @stability stable
1152
1210
  * @category math
1153
1211
  * @since 2.4.19
1154
1212
  */
@@ -1180,6 +1238,7 @@ export declare const divide: {
1180
1238
  * Duration.divideUnsafe(Duration.seconds(10), 0) // => Duration.infinity
1181
1239
  * ```
1182
1240
  *
1241
+ * @stability stable
1183
1242
  * @category math
1184
1243
  * @since 4.0.0
1185
1244
  */
@@ -1210,6 +1269,7 @@ export declare const divideUnsafe: {
1210
1269
  * Duration.divideUnsafe(Duration.seconds(10), 0) // => Duration.infinity
1211
1270
  * ```
1212
1271
  *
1272
+ * @stability stable
1213
1273
  * @category math
1214
1274
  * @since 4.0.0
1215
1275
  */
@@ -1240,6 +1300,7 @@ export declare const divideUnsafe: {
1240
1300
  * Duration.divideUnsafe(Duration.seconds(10), 0) // => Duration.infinity
1241
1301
  * ```
1242
1302
  *
1303
+ * @stability stable
1243
1304
  * @category math
1244
1305
  * @since 4.0.0
1245
1306
  */
@@ -1263,6 +1324,7 @@ export declare const divideUnsafe: {
1263
1324
  * Duration.times(Duration.seconds(5), 2) // => Duration.seconds(10)
1264
1325
  * ```
1265
1326
  *
1327
+ * @stability stable
1266
1328
  * @category math
1267
1329
  * @since 2.0.0
1268
1330
  */
@@ -1285,6 +1347,7 @@ export declare const times: {
1285
1347
  * Duration.times(Duration.seconds(5), 2) // => Duration.seconds(10)
1286
1348
  * ```
1287
1349
  *
1350
+ * @stability stable
1288
1351
  * @category math
1289
1352
  * @since 2.0.0
1290
1353
  */
@@ -1307,6 +1370,7 @@ export declare const times: {
1307
1370
  * Duration.times(Duration.seconds(5), 2) // => Duration.seconds(10)
1308
1371
  * ```
1309
1372
  *
1373
+ * @stability stable
1310
1374
  * @category math
1311
1375
  * @since 2.0.0
1312
1376
  */
@@ -1332,6 +1396,7 @@ export declare const times: {
1332
1396
  * Duration.subtract(Duration.seconds(10), Duration.seconds(3)) // => Duration.seconds(7)
1333
1397
  * ```
1334
1398
  *
1399
+ * @stability stable
1335
1400
  * @category math
1336
1401
  * @since 2.0.0
1337
1402
  */
@@ -1356,6 +1421,7 @@ export declare const subtract: {
1356
1421
  * Duration.subtract(Duration.seconds(10), Duration.seconds(3)) // => Duration.seconds(7)
1357
1422
  * ```
1358
1423
  *
1424
+ * @stability stable
1359
1425
  * @category math
1360
1426
  * @since 2.0.0
1361
1427
  */
@@ -1380,6 +1446,7 @@ export declare const subtract: {
1380
1446
  * Duration.subtract(Duration.seconds(10), Duration.seconds(3)) // => Duration.seconds(7)
1381
1447
  * ```
1382
1448
  *
1449
+ * @stability stable
1383
1450
  * @category math
1384
1451
  * @since 2.0.0
1385
1452
  */
@@ -1406,6 +1473,7 @@ export declare const subtract: {
1406
1473
  * Duration.sum(Duration.seconds(5), Duration.seconds(3)) // => Duration.seconds(8)
1407
1474
  * ```
1408
1475
  *
1476
+ * @stability stable
1409
1477
  * @category math
1410
1478
  * @since 2.0.0
1411
1479
  */
@@ -1431,6 +1499,7 @@ export declare const sum: {
1431
1499
  * Duration.sum(Duration.seconds(5), Duration.seconds(3)) // => Duration.seconds(8)
1432
1500
  * ```
1433
1501
  *
1502
+ * @stability stable
1434
1503
  * @category math
1435
1504
  * @since 2.0.0
1436
1505
  */
@@ -1456,6 +1525,7 @@ export declare const sum: {
1456
1525
  * Duration.sum(Duration.seconds(5), Duration.seconds(3)) // => Duration.seconds(8)
1457
1526
  * ```
1458
1527
  *
1528
+ * @stability stable
1459
1529
  * @category math
1460
1530
  * @since 2.0.0
1461
1531
  */
@@ -1472,6 +1542,7 @@ export declare const sum: {
1472
1542
  * Duration.isLessThan(Duration.seconds(3), Duration.seconds(5)) // => true
1473
1543
  * ```
1474
1544
  *
1545
+ * @stability stable
1475
1546
  * @category predicates
1476
1547
  * @since 4.0.0
1477
1548
  */
@@ -1487,6 +1558,7 @@ export declare const isLessThan: {
1487
1558
  * Duration.isLessThan(Duration.seconds(3), Duration.seconds(5)) // => true
1488
1559
  * ```
1489
1560
  *
1561
+ * @stability stable
1490
1562
  * @category predicates
1491
1563
  * @since 4.0.0
1492
1564
  */
@@ -1502,6 +1574,7 @@ export declare const isLessThan: {
1502
1574
  * Duration.isLessThan(Duration.seconds(3), Duration.seconds(5)) // => true
1503
1575
  * ```
1504
1576
  *
1577
+ * @stability stable
1505
1578
  * @category predicates
1506
1579
  * @since 4.0.0
1507
1580
  */
@@ -1521,6 +1594,7 @@ export declare const isLessThan: {
1521
1594
  * ) // => true
1522
1595
  * ```
1523
1596
  *
1597
+ * @stability stable
1524
1598
  * @category predicates
1525
1599
  * @since 4.0.0
1526
1600
  */
@@ -1539,6 +1613,7 @@ export declare const isLessThanOrEqualTo: {
1539
1613
  * ) // => true
1540
1614
  * ```
1541
1615
  *
1616
+ * @stability stable
1542
1617
  * @category predicates
1543
1618
  * @since 4.0.0
1544
1619
  */
@@ -1557,6 +1632,7 @@ export declare const isLessThanOrEqualTo: {
1557
1632
  * ) // => true
1558
1633
  * ```
1559
1634
  *
1635
+ * @stability stable
1560
1636
  * @category predicates
1561
1637
  * @since 4.0.0
1562
1638
  */
@@ -1573,6 +1649,7 @@ export declare const isLessThanOrEqualTo: {
1573
1649
  * Duration.isGreaterThan(Duration.seconds(5), Duration.seconds(3)) // => true
1574
1650
  * ```
1575
1651
  *
1652
+ * @stability stable
1576
1653
  * @category predicates
1577
1654
  * @since 4.0.0
1578
1655
  */
@@ -1588,6 +1665,7 @@ export declare const isGreaterThan: {
1588
1665
  * Duration.isGreaterThan(Duration.seconds(5), Duration.seconds(3)) // => true
1589
1666
  * ```
1590
1667
  *
1668
+ * @stability stable
1591
1669
  * @category predicates
1592
1670
  * @since 4.0.0
1593
1671
  */
@@ -1603,6 +1681,7 @@ export declare const isGreaterThan: {
1603
1681
  * Duration.isGreaterThan(Duration.seconds(5), Duration.seconds(3)) // => true
1604
1682
  * ```
1605
1683
  *
1684
+ * @stability stable
1606
1685
  * @category predicates
1607
1686
  * @since 4.0.0
1608
1687
  */
@@ -1622,6 +1701,7 @@ export declare const isGreaterThan: {
1622
1701
  * ) // => true
1623
1702
  * ```
1624
1703
  *
1704
+ * @stability stable
1625
1705
  * @category predicates
1626
1706
  * @since 4.0.0
1627
1707
  */
@@ -1640,6 +1720,7 @@ export declare const isGreaterThanOrEqualTo: {
1640
1720
  * ) // => true
1641
1721
  * ```
1642
1722
  *
1723
+ * @stability stable
1643
1724
  * @category predicates
1644
1725
  * @since 4.0.0
1645
1726
  */
@@ -1658,6 +1739,7 @@ export declare const isGreaterThanOrEqualTo: {
1658
1739
  * ) // => true
1659
1740
  * ```
1660
1741
  *
1742
+ * @stability stable
1661
1743
  * @category predicates
1662
1744
  * @since 4.0.0
1663
1745
  */
@@ -1674,6 +1756,7 @@ export declare const isGreaterThanOrEqualTo: {
1674
1756
  * Duration.equals(Duration.seconds(5), Duration.millis(5000)) // => true
1675
1757
  * ```
1676
1758
  *
1759
+ * @stability stable
1677
1760
  * @category predicates
1678
1761
  * @since 2.0.0
1679
1762
  */
@@ -1689,6 +1772,7 @@ export declare const equals: {
1689
1772
  * Duration.equals(Duration.seconds(5), Duration.millis(5000)) // => true
1690
1773
  * ```
1691
1774
  *
1775
+ * @stability stable
1692
1776
  * @category predicates
1693
1777
  * @since 2.0.0
1694
1778
  */
@@ -1704,6 +1788,7 @@ export declare const equals: {
1704
1788
  * Duration.equals(Duration.seconds(5), Duration.millis(5000)) // => true
1705
1789
  * ```
1706
1790
  *
1791
+ * @stability stable
1707
1792
  * @category predicates
1708
1793
  * @since 2.0.0
1709
1794
  */
@@ -1737,6 +1822,7 @@ export declare const equals: {
1737
1822
  * Duration.parts(complex) // => ({ days: 1, hours: 2, minutes: 30, seconds: 0, millis: 0, nanos: 0 })
1738
1823
  * ```
1739
1824
  *
1825
+ * @stability stable
1740
1826
  * @category converting
1741
1827
  * @since 3.8.0
1742
1828
  */
@@ -1760,6 +1846,7 @@ export declare const parts: (self: Duration) => {
1760
1846
  * Duration.format(Duration.millis(1001)) // => "1s 1ms"
1761
1847
  * ```
1762
1848
  *
1849
+ * @stability stable
1763
1850
  * @category converting
1764
1851
  * @since 2.0.0
1765
1852
  */
@@ -1780,6 +1867,7 @@ export declare const format: (self: Duration) => string;
1780
1867
  * @see {@link CombinerMax} for keeping the longest duration instead of summing
1781
1868
  * @see {@link CombinerMin} for keeping the shortest duration instead of summing
1782
1869
  *
1870
+ * @stability stable
1783
1871
  * @category math
1784
1872
  * @since 4.0.0
1785
1873
  */
@@ -1794,6 +1882,7 @@ export declare const ReducerSum: Reducer.Reducer<Duration>;
1794
1882
  * @see {@link CombinerMin} for keeping the shortest `Duration`
1795
1883
  * @see {@link max} for comparing two `Duration` values directly
1796
1884
  *
1885
+ * @stability stable
1797
1886
  * @category math
1798
1887
  * @since 4.0.0
1799
1888
  */
@@ -1808,6 +1897,7 @@ export declare const CombinerMax: Combiner.Combiner<Duration>;
1808
1897
  * @see {@link CombinerMax} for keeping the longest `Duration`
1809
1898
  * @see {@link min} for comparing two `Duration` values directly
1810
1899
  *
1900
+ * @stability stable
1811
1901
  * @category math
1812
1902
  * @since 4.0.0
1813
1903
  */