@logixjs/core 0.0.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 (345) hide show
  1. package/dist/Action-BkRHy2vg.d.cts +10 -0
  2. package/dist/Action-mqVvtEHt.d.ts +10 -0
  3. package/dist/Action.cjs +57 -0
  4. package/dist/Action.cjs.map +1 -0
  5. package/dist/Action.d.cts +2 -0
  6. package/dist/Action.d.ts +2 -0
  7. package/dist/Action.js +9 -0
  8. package/dist/Action.js.map +1 -0
  9. package/dist/Actions-AsQ07yTP.d.cts +22 -0
  10. package/dist/Actions-AsQ07yTP.d.ts +22 -0
  11. package/dist/Actions.cjs +19 -0
  12. package/dist/Actions.cjs.map +1 -0
  13. package/dist/Actions.d.cts +2 -0
  14. package/dist/Actions.d.ts +2 -0
  15. package/dist/Actions.js +2 -0
  16. package/dist/Actions.js.map +1 -0
  17. package/dist/Bound-BN1DQ_lM.d.ts +23 -0
  18. package/dist/Bound-BPIfH9SS.d.cts +23 -0
  19. package/dist/Bound.cjs +1532 -0
  20. package/dist/Bound.cjs.map +1 -0
  21. package/dist/Bound.d.cts +7 -0
  22. package/dist/Bound.d.ts +7 -0
  23. package/dist/Bound.js +25 -0
  24. package/dist/Bound.js.map +1 -0
  25. package/dist/Debug-B5q5Bkzx.d.ts +320 -0
  26. package/dist/Debug-Bq8Sqjcr.d.cts +320 -0
  27. package/dist/Debug.cjs +1821 -0
  28. package/dist/Debug.cjs.map +1 -0
  29. package/dist/Debug.d.cts +13 -0
  30. package/dist/Debug.d.ts +13 -0
  31. package/dist/Debug.js +76 -0
  32. package/dist/Debug.js.map +1 -0
  33. package/dist/EffectOp.cjs +169 -0
  34. package/dist/EffectOp.cjs.map +1 -0
  35. package/dist/EffectOp.d.cts +118 -0
  36. package/dist/EffectOp.d.ts +118 -0
  37. package/dist/EffectOp.js +28 -0
  38. package/dist/EffectOp.js.map +1 -0
  39. package/dist/Env-DuJ6JrU2.d.cts +10 -0
  40. package/dist/Env-DuJ6JrU2.d.ts +10 -0
  41. package/dist/Env.cjs +60 -0
  42. package/dist/Env.cjs.map +1 -0
  43. package/dist/Env.d.cts +1 -0
  44. package/dist/Env.d.ts +1 -0
  45. package/dist/Env.js +11 -0
  46. package/dist/Env.js.map +1 -0
  47. package/dist/Flow-1fZT8MpX.d.cts +152 -0
  48. package/dist/Flow-BhpjE22E.d.ts +152 -0
  49. package/dist/Flow.cjs +504 -0
  50. package/dist/Flow.cjs.map +1 -0
  51. package/dist/Flow.d.cts +8 -0
  52. package/dist/Flow.d.ts +8 -0
  53. package/dist/Flow.js +15 -0
  54. package/dist/Flow.js.map +1 -0
  55. package/dist/Handle-D8D1zPb_.d.cts +30 -0
  56. package/dist/Handle-D_cLW1Z3.d.ts +30 -0
  57. package/dist/Handle.cjs +42 -0
  58. package/dist/Handle.cjs.map +1 -0
  59. package/dist/Handle.d.cts +7 -0
  60. package/dist/Handle.d.ts +7 -0
  61. package/dist/Handle.js +10 -0
  62. package/dist/Handle.js.map +1 -0
  63. package/dist/Kernel-8kC-jOda.d.cts +171 -0
  64. package/dist/Kernel-CnGE1Fyk.d.ts +171 -0
  65. package/dist/Kernel.cjs +284 -0
  66. package/dist/Kernel.cjs.map +1 -0
  67. package/dist/Kernel.d.cts +14 -0
  68. package/dist/Kernel.d.ts +14 -0
  69. package/dist/Kernel.js +36 -0
  70. package/dist/Kernel.js.map +1 -0
  71. package/dist/Link-Db7975nU.d.ts +45 -0
  72. package/dist/Link-fX8x1eCK.d.cts +45 -0
  73. package/dist/Link.cjs +542 -0
  74. package/dist/Link.cjs.map +1 -0
  75. package/dist/Link.d.cts +7 -0
  76. package/dist/Link.d.ts +7 -0
  77. package/dist/Link.js +35 -0
  78. package/dist/Link.js.map +1 -0
  79. package/dist/Logic-BRjEMr-W.d.ts +38 -0
  80. package/dist/Logic-DRh4sDZj.d.cts +38 -0
  81. package/dist/Logic.cjs +37 -0
  82. package/dist/Logic.cjs.map +1 -0
  83. package/dist/Logic.d.cts +7 -0
  84. package/dist/Logic.d.ts +7 -0
  85. package/dist/Logic.js +10 -0
  86. package/dist/Logic.js.map +1 -0
  87. package/dist/MatchBuilder-0QOc-nlU.d.ts +14 -0
  88. package/dist/MatchBuilder-CJk5oCkR.d.cts +14 -0
  89. package/dist/MatchBuilder.cjs +85 -0
  90. package/dist/MatchBuilder.cjs.map +1 -0
  91. package/dist/MatchBuilder.d.cts +8 -0
  92. package/dist/MatchBuilder.d.ts +8 -0
  93. package/dist/MatchBuilder.js +11 -0
  94. package/dist/MatchBuilder.js.map +1 -0
  95. package/dist/Middleware.cjs +411 -0
  96. package/dist/Middleware.cjs.map +1 -0
  97. package/dist/Middleware.d.cts +88 -0
  98. package/dist/Middleware.d.ts +88 -0
  99. package/dist/Middleware.js +27 -0
  100. package/dist/Middleware.js.map +1 -0
  101. package/dist/Module-B_0xRDMR.d.cts +203 -0
  102. package/dist/Module-DnzluX2J.d.ts +203 -0
  103. package/dist/Module.cjs +13512 -0
  104. package/dist/Module.cjs.map +1 -0
  105. package/dist/Module.d.cts +8 -0
  106. package/dist/Module.d.ts +8 -0
  107. package/dist/Module.js +53 -0
  108. package/dist/Module.js.map +1 -0
  109. package/dist/ModuleTag-C8FHY_sY.d.ts +93 -0
  110. package/dist/ModuleTag-EGbgBMpZ.d.cts +93 -0
  111. package/dist/ModuleTag.cjs +12231 -0
  112. package/dist/ModuleTag.cjs.map +1 -0
  113. package/dist/ModuleTag.d.cts +8 -0
  114. package/dist/ModuleTag.d.ts +8 -0
  115. package/dist/ModuleTag.js +39 -0
  116. package/dist/ModuleTag.js.map +1 -0
  117. package/dist/Observability-COqEvp2C.d.cts +713 -0
  118. package/dist/Observability-cY4kLn0S.d.ts +713 -0
  119. package/dist/Observability.cjs +5865 -0
  120. package/dist/Observability.cjs.map +1 -0
  121. package/dist/Observability.d.cts +9 -0
  122. package/dist/Observability.d.ts +9 -0
  123. package/dist/Observability.js +41 -0
  124. package/dist/Observability.js.map +1 -0
  125. package/dist/Platform-C49Pv956.d.cts +21 -0
  126. package/dist/Platform-C49Pv956.d.ts +21 -0
  127. package/dist/Platform-CHX8o-U4.d.ts +51 -0
  128. package/dist/Platform-CVlv0xLQ.d.cts +51 -0
  129. package/dist/Platform.cjs +58 -0
  130. package/dist/Platform.cjs.map +1 -0
  131. package/dist/Platform.d.cts +4 -0
  132. package/dist/Platform.d.ts +4 -0
  133. package/dist/Platform.js +15 -0
  134. package/dist/Platform.js.map +1 -0
  135. package/dist/Process-CM9xbMdP.d.ts +92 -0
  136. package/dist/Process-mL8fHDSB.d.cts +92 -0
  137. package/dist/Process.cjs +575 -0
  138. package/dist/Process.cjs.map +1 -0
  139. package/dist/Process.d.cts +8 -0
  140. package/dist/Process.d.ts +8 -0
  141. package/dist/Process.js +42 -0
  142. package/dist/Process.js.map +1 -0
  143. package/dist/ReadQuery-BlMwhe-F.d.ts +30 -0
  144. package/dist/ReadQuery-CL5XlXts.d.cts +30 -0
  145. package/dist/ReadQuery-SinbStGF.d.cts +38 -0
  146. package/dist/ReadQuery-SinbStGF.d.ts +38 -0
  147. package/dist/ReadQuery.cjs +377 -0
  148. package/dist/ReadQuery.cjs.map +1 -0
  149. package/dist/ReadQuery.d.cts +2 -0
  150. package/dist/ReadQuery.d.ts +2 -0
  151. package/dist/ReadQuery.js +14 -0
  152. package/dist/ReadQuery.js.map +1 -0
  153. package/dist/Reflection-CQnKwPXj.d.ts +182 -0
  154. package/dist/Reflection-Kabo1mlU.d.cts +182 -0
  155. package/dist/Reflection.cjs +2954 -0
  156. package/dist/Reflection.cjs.map +1 -0
  157. package/dist/Reflection.d.cts +17 -0
  158. package/dist/Reflection.d.ts +17 -0
  159. package/dist/Reflection.js +40 -0
  160. package/dist/Reflection.js.map +1 -0
  161. package/dist/Resource-Dy1xD_DG.d.cts +75 -0
  162. package/dist/Resource-Dy1xD_DG.d.ts +75 -0
  163. package/dist/Resource.cjs +166 -0
  164. package/dist/Resource.cjs.map +1 -0
  165. package/dist/Resource.d.cts +3 -0
  166. package/dist/Resource.d.ts +3 -0
  167. package/dist/Resource.js +21 -0
  168. package/dist/Resource.js.map +1 -0
  169. package/dist/Root-7ADUMk4t.d.cts +29 -0
  170. package/dist/Root-7ADUMk4t.d.ts +29 -0
  171. package/dist/Root.cjs +125 -0
  172. package/dist/Root.cjs.map +1 -0
  173. package/dist/Root.d.cts +4 -0
  174. package/dist/Root.d.ts +4 -0
  175. package/dist/Root.js +12 -0
  176. package/dist/Root.js.map +1 -0
  177. package/dist/Runtime-B-aL-f29.d.cts +274 -0
  178. package/dist/Runtime-CtyzZG4i.d.ts +274 -0
  179. package/dist/Runtime.cjs +5740 -0
  180. package/dist/Runtime.cjs.map +1 -0
  181. package/dist/Runtime.d.cts +19 -0
  182. package/dist/Runtime.d.ts +19 -0
  183. package/dist/Runtime.js +62 -0
  184. package/dist/Runtime.js.map +1 -0
  185. package/dist/ScopeRegistry-D1owDNSm.d.cts +61 -0
  186. package/dist/ScopeRegistry-D1owDNSm.d.ts +61 -0
  187. package/dist/ScopeRegistry.cjs +152 -0
  188. package/dist/ScopeRegistry.cjs.map +1 -0
  189. package/dist/ScopeRegistry.d.cts +2 -0
  190. package/dist/ScopeRegistry.d.ts +2 -0
  191. package/dist/ScopeRegistry.js +16 -0
  192. package/dist/ScopeRegistry.js.map +1 -0
  193. package/dist/State-CU50R26M.d.cts +19 -0
  194. package/dist/State-CU50R26M.d.ts +19 -0
  195. package/dist/State.cjs +19 -0
  196. package/dist/State.cjs.map +1 -0
  197. package/dist/State.d.cts +2 -0
  198. package/dist/State.d.ts +2 -0
  199. package/dist/State.js +2 -0
  200. package/dist/State.js.map +1 -0
  201. package/dist/StateTrait-BGsZghTz.d.ts +122 -0
  202. package/dist/StateTrait-OWhbj12c.d.cts +122 -0
  203. package/dist/StateTrait.cjs +2737 -0
  204. package/dist/StateTrait.cjs.map +1 -0
  205. package/dist/StateTrait.d.cts +9 -0
  206. package/dist/StateTrait.d.ts +9 -0
  207. package/dist/StateTrait.js +39 -0
  208. package/dist/StateTrait.js.map +1 -0
  209. package/dist/TraitLifecycle-CwV5WPFX.d.cts +88 -0
  210. package/dist/TraitLifecycle-LdIWmKlg.d.ts +88 -0
  211. package/dist/TraitLifecycle.cjs +581 -0
  212. package/dist/TraitLifecycle.cjs.map +1 -0
  213. package/dist/TraitLifecycle.d.cts +8 -0
  214. package/dist/TraitLifecycle.d.ts +8 -0
  215. package/dist/TraitLifecycle.js +24 -0
  216. package/dist/TraitLifecycle.js.map +1 -0
  217. package/dist/action-DiMDD_0v.d.cts +35 -0
  218. package/dist/action-DiMDD_0v.d.ts +35 -0
  219. package/dist/chunk-24VULZ7A.js +76 -0
  220. package/dist/chunk-24VULZ7A.js.map +1 -0
  221. package/dist/chunk-3IYZ5IGG.js +17 -0
  222. package/dist/chunk-3IYZ5IGG.js.map +1 -0
  223. package/dist/chunk-3QMIVH35.js +43 -0
  224. package/dist/chunk-3QMIVH35.js.map +1 -0
  225. package/dist/chunk-3RMKLXHX.js +83 -0
  226. package/dist/chunk-3RMKLXHX.js.map +1 -0
  227. package/dist/chunk-3TMODYZV.js +111 -0
  228. package/dist/chunk-3TMODYZV.js.map +1 -0
  229. package/dist/chunk-3VG5TWQR.js +27 -0
  230. package/dist/chunk-3VG5TWQR.js.map +1 -0
  231. package/dist/chunk-4CQAV7YB.js +37 -0
  232. package/dist/chunk-4CQAV7YB.js.map +1 -0
  233. package/dist/chunk-4SO6JMZL.js +7 -0
  234. package/dist/chunk-4SO6JMZL.js.map +1 -0
  235. package/dist/chunk-66ALHVEX.js +40 -0
  236. package/dist/chunk-66ALHVEX.js.map +1 -0
  237. package/dist/chunk-76WT3HOR.js +397 -0
  238. package/dist/chunk-76WT3HOR.js.map +1 -0
  239. package/dist/chunk-ANLBCBDC.js +285 -0
  240. package/dist/chunk-ANLBCBDC.js.map +1 -0
  241. package/dist/chunk-AUIR5O6W.js +75 -0
  242. package/dist/chunk-AUIR5O6W.js.map +1 -0
  243. package/dist/chunk-BABLDP24.js +445 -0
  244. package/dist/chunk-BABLDP24.js.map +1 -0
  245. package/dist/chunk-BE3HW4FY.js +1099 -0
  246. package/dist/chunk-BE3HW4FY.js.map +1 -0
  247. package/dist/chunk-BZ2SHDN2.js +54 -0
  248. package/dist/chunk-BZ2SHDN2.js.map +1 -0
  249. package/dist/chunk-CW6T36TN.js +393 -0
  250. package/dist/chunk-CW6T36TN.js.map +1 -0
  251. package/dist/chunk-DFNM3WX2.js +632 -0
  252. package/dist/chunk-DFNM3WX2.js.map +1 -0
  253. package/dist/chunk-DMBALCE2.js +1034 -0
  254. package/dist/chunk-DMBALCE2.js.map +1 -0
  255. package/dist/chunk-EGK3KN7B.js +406 -0
  256. package/dist/chunk-EGK3KN7B.js.map +1 -0
  257. package/dist/chunk-EY4NZKDR.js +19 -0
  258. package/dist/chunk-EY4NZKDR.js.map +1 -0
  259. package/dist/chunk-G5ZBFPNU.js +23 -0
  260. package/dist/chunk-G5ZBFPNU.js.map +1 -0
  261. package/dist/chunk-GMPEOUP2.js +31 -0
  262. package/dist/chunk-GMPEOUP2.js.map +1 -0
  263. package/dist/chunk-IHVBV5C2.js +279 -0
  264. package/dist/chunk-IHVBV5C2.js.map +1 -0
  265. package/dist/chunk-IPF7E66P.js +23 -0
  266. package/dist/chunk-IPF7E66P.js.map +1 -0
  267. package/dist/chunk-JCXGZRMU.js +204 -0
  268. package/dist/chunk-JCXGZRMU.js.map +1 -0
  269. package/dist/chunk-JGIWG6SR.js +6359 -0
  270. package/dist/chunk-JGIWG6SR.js.map +1 -0
  271. package/dist/chunk-JWOYLO27.js +241 -0
  272. package/dist/chunk-JWOYLO27.js.map +1 -0
  273. package/dist/chunk-KIXAU3GM.js +137 -0
  274. package/dist/chunk-KIXAU3GM.js.map +1 -0
  275. package/dist/chunk-KL5ACTCT.js +8 -0
  276. package/dist/chunk-KL5ACTCT.js.map +1 -0
  277. package/dist/chunk-KP7MUZNX.js +83 -0
  278. package/dist/chunk-KP7MUZNX.js.map +1 -0
  279. package/dist/chunk-LEU6UA5J.js +1 -0
  280. package/dist/chunk-LEU6UA5J.js.map +1 -0
  281. package/dist/chunk-M2RGJPXX.js +35 -0
  282. package/dist/chunk-M2RGJPXX.js.map +1 -0
  283. package/dist/chunk-M3BFQ7HK.js +13 -0
  284. package/dist/chunk-M3BFQ7HK.js.map +1 -0
  285. package/dist/chunk-M3WTHJHJ.js +1051 -0
  286. package/dist/chunk-M3WTHJHJ.js.map +1 -0
  287. package/dist/chunk-M7IYCTJV.js +79 -0
  288. package/dist/chunk-M7IYCTJV.js.map +1 -0
  289. package/dist/chunk-NBD3KUOZ.js +838 -0
  290. package/dist/chunk-NBD3KUOZ.js.map +1 -0
  291. package/dist/chunk-NQZ2OSGR.js +151 -0
  292. package/dist/chunk-NQZ2OSGR.js.map +1 -0
  293. package/dist/chunk-NZJKFF45.js +106 -0
  294. package/dist/chunk-NZJKFF45.js.map +1 -0
  295. package/dist/chunk-OFADUJWJ.js +175 -0
  296. package/dist/chunk-OFADUJWJ.js.map +1 -0
  297. package/dist/chunk-OGWBVHB3.js +461 -0
  298. package/dist/chunk-OGWBVHB3.js.map +1 -0
  299. package/dist/chunk-PAYXCY6A.js +1696 -0
  300. package/dist/chunk-PAYXCY6A.js.map +1 -0
  301. package/dist/chunk-PYOE4VSI.js +1924 -0
  302. package/dist/chunk-PYOE4VSI.js.map +1 -0
  303. package/dist/chunk-PZ5AY32C.js +10 -0
  304. package/dist/chunk-PZ5AY32C.js.map +1 -0
  305. package/dist/chunk-QCHIQWAJ.js +21 -0
  306. package/dist/chunk-QCHIQWAJ.js.map +1 -0
  307. package/dist/chunk-QMM6O4CD.js +71 -0
  308. package/dist/chunk-QMM6O4CD.js.map +1 -0
  309. package/dist/chunk-RNFE3ML2.js +22 -0
  310. package/dist/chunk-RNFE3ML2.js.map +1 -0
  311. package/dist/chunk-TAAPQVZN.js +23 -0
  312. package/dist/chunk-TAAPQVZN.js.map +1 -0
  313. package/dist/chunk-THATMZXD.js +21 -0
  314. package/dist/chunk-THATMZXD.js.map +1 -0
  315. package/dist/chunk-TKZ7MEIA.js +27 -0
  316. package/dist/chunk-TKZ7MEIA.js.map +1 -0
  317. package/dist/chunk-TQOBJYDP.js +7 -0
  318. package/dist/chunk-TQOBJYDP.js.map +1 -0
  319. package/dist/chunk-VZB726PE.js +93 -0
  320. package/dist/chunk-VZB726PE.js.map +1 -0
  321. package/dist/chunk-W3TEWHLO.js +568 -0
  322. package/dist/chunk-W3TEWHLO.js.map +1 -0
  323. package/dist/chunk-YS3AZQ2G.js +52 -0
  324. package/dist/chunk-YS3AZQ2G.js.map +1 -0
  325. package/dist/chunk-ZDTRWK5F.js +40 -0
  326. package/dist/chunk-ZDTRWK5F.js.map +1 -0
  327. package/dist/chunk-ZFLHVFUC.js +192 -0
  328. package/dist/chunk-ZFLHVFUC.js.map +1 -0
  329. package/dist/chunk-ZFY7U2FR.js +133 -0
  330. package/dist/chunk-ZFY7U2FR.js.map +1 -0
  331. package/dist/chunk-ZGDVUPTM.js +270 -0
  332. package/dist/chunk-ZGDVUPTM.js.map +1 -0
  333. package/dist/index.cjs +19700 -0
  334. package/dist/index.cjs.map +1 -0
  335. package/dist/index.d.cts +195 -0
  336. package/dist/index.d.ts +195 -0
  337. package/dist/index.js +286 -0
  338. package/dist/index.js.map +1 -0
  339. package/dist/ir-BMP7yxJJ.d.cts +39 -0
  340. package/dist/ir-DUOz6H-5.d.ts +39 -0
  341. package/dist/module-B8CBqIZ_.d.cts +1191 -0
  342. package/dist/module-k7m3txak.d.ts +1191 -0
  343. package/dist/protocol-g_1897M2.d.cts +127 -0
  344. package/dist/protocol-g_1897M2.d.ts +127 -0
  345. package/package.json +162 -0
@@ -0,0 +1,9 @@
1
+ export { A as ArtifactEnvelope, t as ArtifactKey, I as EnvironmentIr, o as EvidencePackage, n as EvidencePackageSource, J as JsonValue, q as ObservationEnvelope, v as TrialRunArtifactExporter, w as TrialRunArtifactInspectionContext, u as TrialRunArtifacts, L as TrialRunModuleOptions, y as TrialRunOptions, H as TrialRunReport, G as TrialRunReportBudgets, z as TrialRunResult, r as exportEvidencePackage, s as importEvidencePackage, p as protocolVersion, x as registerTrialRunArtifactExporter, F as trialRun, N as trialRunModule } from './Observability-COqEvp2C.cjs';
2
+ import 'effect';
3
+ import './module-B8CBqIZ_.cjs';
4
+ import 'mutative';
5
+ import './Platform-C49Pv956.cjs';
6
+ import './action-DiMDD_0v.cjs';
7
+ import './ReadQuery-SinbStGF.cjs';
8
+ import './protocol-g_1897M2.cjs';
9
+ import './ir-BMP7yxJJ.cjs';
@@ -0,0 +1,9 @@
1
+ export { A as ArtifactEnvelope, t as ArtifactKey, I as EnvironmentIr, o as EvidencePackage, n as EvidencePackageSource, J as JsonValue, q as ObservationEnvelope, v as TrialRunArtifactExporter, w as TrialRunArtifactInspectionContext, u as TrialRunArtifacts, L as TrialRunModuleOptions, y as TrialRunOptions, H as TrialRunReport, G as TrialRunReportBudgets, z as TrialRunResult, r as exportEvidencePackage, s as importEvidencePackage, p as protocolVersion, x as registerTrialRunArtifactExporter, F as trialRun, N as trialRunModule } from './Observability-cY4kLn0S.js';
2
+ import 'effect';
3
+ import './module-k7m3txak.js';
4
+ import 'mutative';
5
+ import './Platform-C49Pv956.js';
6
+ import './action-DiMDD_0v.js';
7
+ import './ReadQuery-SinbStGF.js';
8
+ import './protocol-g_1897M2.js';
9
+ import './ir-DUOz6H-5.js';
@@ -0,0 +1,41 @@
1
+ import {
2
+ exportEvidencePackage,
3
+ importEvidencePackage,
4
+ protocolVersion
5
+ } from "./chunk-M2RGJPXX.js";
6
+ import {
7
+ registerTrialRunArtifactExporter,
8
+ trialRun,
9
+ trialRunModule
10
+ } from "./chunk-M3WTHJHJ.js";
11
+ import "./chunk-EGK3KN7B.js";
12
+ import "./chunk-PAYXCY6A.js";
13
+ import "./chunk-ZGDVUPTM.js";
14
+ import "./chunk-BE3HW4FY.js";
15
+ import "./chunk-ZFLHVFUC.js";
16
+ import "./chunk-KL5ACTCT.js";
17
+ import "./chunk-AUIR5O6W.js";
18
+ import "./chunk-BZ2SHDN2.js";
19
+ import "./chunk-YS3AZQ2G.js";
20
+ import "./chunk-ZFY7U2FR.js";
21
+ import "./chunk-M3BFQ7HK.js";
22
+ import "./chunk-IHVBV5C2.js";
23
+ import "./chunk-3RMKLXHX.js";
24
+ import "./chunk-3QMIVH35.js";
25
+ import "./chunk-NQZ2OSGR.js";
26
+ import "./chunk-CW6T36TN.js";
27
+ import "./chunk-DMBALCE2.js";
28
+ import "./chunk-GMPEOUP2.js";
29
+ import "./chunk-OFADUJWJ.js";
30
+ import "./chunk-M7IYCTJV.js";
31
+ import "./chunk-JWOYLO27.js";
32
+ import "./chunk-PZ5AY32C.js";
33
+ export {
34
+ exportEvidencePackage,
35
+ importEvidencePackage,
36
+ protocolVersion,
37
+ registerTrialRunArtifactExporter,
38
+ trialRun,
39
+ trialRunModule
40
+ };
41
+ //# sourceMappingURL=Observability.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,21 @@
1
+ import { Effect } from 'effect';
2
+
3
+ interface Service {
4
+ readonly lifecycle: {
5
+ readonly onSuspend: (eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, any>;
6
+ readonly onResume: (eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, any>;
7
+ readonly onReset?: (eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, any>;
8
+ };
9
+ /**
10
+ * Platform signal broadcaster (for host integration and tests): triggers registered lifecycle handlers.
11
+ *
12
+ * Notes:
13
+ * - The default implementation should be a safe no-op.
14
+ * - Failure policy is decided by the platform implementation; the runtime should ensure "do not terminate the instance by default".
15
+ */
16
+ readonly emitSuspend: () => Effect.Effect<void, never, any>;
17
+ readonly emitResume: () => Effect.Effect<void, never, any>;
18
+ readonly emitReset: () => Effect.Effect<void, never, any>;
19
+ }
20
+
21
+ export type { Service as S };
@@ -0,0 +1,21 @@
1
+ import { Effect } from 'effect';
2
+
3
+ interface Service {
4
+ readonly lifecycle: {
5
+ readonly onSuspend: (eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, any>;
6
+ readonly onResume: (eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, any>;
7
+ readonly onReset?: (eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, any>;
8
+ };
9
+ /**
10
+ * Platform signal broadcaster (for host integration and tests): triggers registered lifecycle handlers.
11
+ *
12
+ * Notes:
13
+ * - The default implementation should be a safe no-op.
14
+ * - Failure policy is decided by the platform implementation; the runtime should ensure "do not terminate the instance by default".
15
+ */
16
+ readonly emitSuspend: () => Effect.Effect<void, never, any>;
17
+ readonly emitResume: () => Effect.Effect<void, never, any>;
18
+ readonly emitReset: () => Effect.Effect<void, never, any>;
19
+ }
20
+
21
+ export type { Service as S };
@@ -0,0 +1,51 @@
1
+ import * as effect_Context from 'effect/Context';
2
+ import { Effect, Layer } from 'effect';
3
+ import { S as Service$1 } from './Platform-C49Pv956.js';
4
+
5
+ /**
6
+ * Platform.Service: platform service interface.
7
+ */
8
+ type Service = Service$1;
9
+ /**
10
+ * Platform.tag: platform service Tag.
11
+ */
12
+ declare const tag: effect_Context.Tag<Service$1, Service$1>;
13
+ /**
14
+ * NoopPlatform:
15
+ * - The core engine ships with a single no-op platform implementation by default.
16
+ * - Real implementations are provided by platform adapters (React / Native, etc.).
17
+ */
18
+ declare class NoopPlatform implements Service {
19
+ readonly lifecycle: {
20
+ onSuspend: (_eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, never>;
21
+ onResume: (_eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, never>;
22
+ onReset: (_eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, never>;
23
+ };
24
+ readonly emitSuspend: () => Effect.Effect<void, never, any>;
25
+ readonly emitResume: () => Effect.Effect<void, never, any>;
26
+ readonly emitReset: () => Effect.Effect<void, never, any>;
27
+ }
28
+ /**
29
+ * NoopPlatformLayer:
30
+ * - Mounts NoopPlatform on Platform.tag.
31
+ * - The default `@logixjs/core` layer; apps typically override it with a real platform implementation.
32
+ */
33
+ declare const NoopPlatformLayer: Layer.Layer<Service$1, never, never>;
34
+ /**
35
+ * defaultLayer:
36
+ * - Currently equivalent to NoopPlatformLayer.
37
+ * - Reserved for future upgrades; callers should depend on defaultLayer.
38
+ */
39
+ declare const defaultLayer: Layer.Layer<Service$1, never, never>;
40
+
41
+ type Platform_NoopPlatform = NoopPlatform;
42
+ declare const Platform_NoopPlatform: typeof NoopPlatform;
43
+ declare const Platform_NoopPlatformLayer: typeof NoopPlatformLayer;
44
+ type Platform_Service = Service;
45
+ declare const Platform_defaultLayer: typeof defaultLayer;
46
+ declare const Platform_tag: typeof tag;
47
+ declare namespace Platform {
48
+ export { Platform_NoopPlatform as NoopPlatform, Platform_NoopPlatformLayer as NoopPlatformLayer, type Platform_Service as Service, Platform_defaultLayer as defaultLayer, Platform_tag as tag };
49
+ }
50
+
51
+ export { NoopPlatform as N, Platform as P, type Service as S, NoopPlatformLayer as a, defaultLayer as d, tag as t };
@@ -0,0 +1,51 @@
1
+ import * as effect_Context from 'effect/Context';
2
+ import { Effect, Layer } from 'effect';
3
+ import { S as Service$1 } from './Platform-C49Pv956.cjs';
4
+
5
+ /**
6
+ * Platform.Service: platform service interface.
7
+ */
8
+ type Service = Service$1;
9
+ /**
10
+ * Platform.tag: platform service Tag.
11
+ */
12
+ declare const tag: effect_Context.Tag<Service$1, Service$1>;
13
+ /**
14
+ * NoopPlatform:
15
+ * - The core engine ships with a single no-op platform implementation by default.
16
+ * - Real implementations are provided by platform adapters (React / Native, etc.).
17
+ */
18
+ declare class NoopPlatform implements Service {
19
+ readonly lifecycle: {
20
+ onSuspend: (_eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, never>;
21
+ onResume: (_eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, never>;
22
+ onReset: (_eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, never>;
23
+ };
24
+ readonly emitSuspend: () => Effect.Effect<void, never, any>;
25
+ readonly emitResume: () => Effect.Effect<void, never, any>;
26
+ readonly emitReset: () => Effect.Effect<void, never, any>;
27
+ }
28
+ /**
29
+ * NoopPlatformLayer:
30
+ * - Mounts NoopPlatform on Platform.tag.
31
+ * - The default `@logixjs/core` layer; apps typically override it with a real platform implementation.
32
+ */
33
+ declare const NoopPlatformLayer: Layer.Layer<Service$1, never, never>;
34
+ /**
35
+ * defaultLayer:
36
+ * - Currently equivalent to NoopPlatformLayer.
37
+ * - Reserved for future upgrades; callers should depend on defaultLayer.
38
+ */
39
+ declare const defaultLayer: Layer.Layer<Service$1, never, never>;
40
+
41
+ type Platform_NoopPlatform = NoopPlatform;
42
+ declare const Platform_NoopPlatform: typeof NoopPlatform;
43
+ declare const Platform_NoopPlatformLayer: typeof NoopPlatformLayer;
44
+ type Platform_Service = Service;
45
+ declare const Platform_defaultLayer: typeof defaultLayer;
46
+ declare const Platform_tag: typeof tag;
47
+ declare namespace Platform {
48
+ export { Platform_NoopPlatform as NoopPlatform, Platform_NoopPlatformLayer as NoopPlatformLayer, type Platform_Service as Service, Platform_defaultLayer as defaultLayer, Platform_tag as tag };
49
+ }
50
+
51
+ export { NoopPlatform as N, Platform as P, type Service as S, NoopPlatformLayer as a, defaultLayer as d, tag as t };
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/Platform.ts
21
+ var Platform_exports = {};
22
+ __export(Platform_exports, {
23
+ NoopPlatform: () => NoopPlatform,
24
+ NoopPlatformLayer: () => NoopPlatformLayer,
25
+ defaultLayer: () => defaultLayer,
26
+ tag: () => tag
27
+ });
28
+ module.exports = __toCommonJS(Platform_exports);
29
+ var import_effect2 = require("effect");
30
+
31
+ // src/internal/runtime/core/Platform.ts
32
+ var import_effect = require("effect");
33
+ var Tag = import_effect.Context.GenericTag("@logixjs/Platform");
34
+
35
+ // src/Platform.ts
36
+ var tag = Tag;
37
+ var NoopPlatform = class {
38
+ constructor() {
39
+ this.lifecycle = {
40
+ onSuspend: (_eff) => import_effect2.Effect.void,
41
+ onResume: (_eff) => import_effect2.Effect.void,
42
+ onReset: (_eff) => import_effect2.Effect.void
43
+ };
44
+ this.emitSuspend = () => import_effect2.Effect.void;
45
+ this.emitResume = () => import_effect2.Effect.void;
46
+ this.emitReset = () => import_effect2.Effect.void;
47
+ }
48
+ };
49
+ var NoopPlatformLayer = import_effect2.Layer.succeed(tag, new NoopPlatform());
50
+ var defaultLayer = NoopPlatformLayer;
51
+ // Annotate the CommonJS export names for ESM import in node:
52
+ 0 && (module.exports = {
53
+ NoopPlatform,
54
+ NoopPlatformLayer,
55
+ defaultLayer,
56
+ tag
57
+ });
58
+ //# sourceMappingURL=Platform.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Platform.ts","../src/internal/runtime/core/Platform.ts"],"sourcesContent":["import { Effect, Layer } from 'effect'\nimport * as Internal from './internal/platform/Platform.js'\n\n/**\n * Platform.Service: platform service interface.\n */\nexport type Service = Internal.Service\n\n/**\n * Platform.tag: platform service Tag.\n */\nexport const tag = Internal.Tag\n\n/**\n * NoopPlatform:\n * - The core engine ships with a single no-op platform implementation by default.\n * - Real implementations are provided by platform adapters (React / Native, etc.).\n */\nexport class NoopPlatform implements Service {\n readonly lifecycle = {\n onSuspend: (_eff: Effect.Effect<void, never, any>) => Effect.void,\n onResume: (_eff: Effect.Effect<void, never, any>) => Effect.void,\n onReset: (_eff: Effect.Effect<void, never, any>) => Effect.void,\n }\n\n readonly emitSuspend = (): Effect.Effect<void, never, any> => Effect.void\n readonly emitResume = (): Effect.Effect<void, never, any> => Effect.void\n readonly emitReset = (): Effect.Effect<void, never, any> => Effect.void\n}\n\n/**\n * NoopPlatformLayer:\n * - Mounts NoopPlatform on Platform.tag.\n * - The default `@logixjs/core` layer; apps typically override it with a real platform implementation.\n */\nexport const NoopPlatformLayer = Layer.succeed(tag, new NoopPlatform())\n\n/**\n * defaultLayer:\n * - Currently equivalent to NoopPlatformLayer.\n * - Reserved for future upgrades; callers should depend on defaultLayer.\n */\nexport const defaultLayer = NoopPlatformLayer\n","import { Context, Effect } from 'effect'\n\nexport interface Service {\n readonly lifecycle: {\n readonly onSuspend: (eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, any>\n readonly onResume: (eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, any>\n readonly onReset?: (eff: Effect.Effect<void, never, any>) => Effect.Effect<void, never, any>\n }\n\n /**\n * Platform signal broadcaster (for host integration and tests): triggers registered lifecycle handlers.\n *\n * Notes:\n * - The default implementation should be a safe no-op.\n * - Failure policy is decided by the platform implementation; the runtime should ensure \"do not terminate the instance by default\".\n */\n readonly emitSuspend: () => Effect.Effect<void, never, any>\n readonly emitResume: () => Effect.Effect<void, never, any>\n readonly emitReset: () => Effect.Effect<void, never, any>\n}\n\nexport const Tag = Context.GenericTag<Service>('@logixjs/Platform')\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,iBAA8B;;;ACA9B,oBAAgC;AAqBzB,IAAM,MAAM,sBAAQ,WAAoB,mBAAmB;;;ADV3D,IAAM,MAAe;AAOrB,IAAM,eAAN,MAAsC;AAAA,EAAtC;AACL,SAAS,YAAY;AAAA,MACnB,WAAW,CAAC,SAA0C,sBAAO;AAAA,MAC7D,UAAU,CAAC,SAA0C,sBAAO;AAAA,MAC5D,SAAS,CAAC,SAA0C,sBAAO;AAAA,IAC7D;AAEA,SAAS,cAAc,MAAuC,sBAAO;AACrE,SAAS,aAAa,MAAuC,sBAAO;AACpE,SAAS,YAAY,MAAuC,sBAAO;AAAA;AACrE;AAOO,IAAM,oBAAoB,qBAAM,QAAQ,KAAK,IAAI,aAAa,CAAC;AAO/D,IAAM,eAAe;","names":["import_effect"]}
@@ -0,0 +1,4 @@
1
+ import 'effect/Context';
2
+ import 'effect';
3
+ import './Platform-C49Pv956.cjs';
4
+ export { N as NoopPlatform, a as NoopPlatformLayer, S as Service, d as defaultLayer, t as tag } from './Platform-CVlv0xLQ.cjs';
@@ -0,0 +1,4 @@
1
+ import 'effect/Context';
2
+ import 'effect';
3
+ import './Platform-C49Pv956.js';
4
+ export { N as NoopPlatform, a as NoopPlatformLayer, S as Service, d as defaultLayer, t as tag } from './Platform-CHX8o-U4.js';
@@ -0,0 +1,15 @@
1
+ import {
2
+ NoopPlatform,
3
+ NoopPlatformLayer,
4
+ defaultLayer,
5
+ tag
6
+ } from "./chunk-ZDTRWK5F.js";
7
+ import "./chunk-KL5ACTCT.js";
8
+ import "./chunk-PZ5AY32C.js";
9
+ export {
10
+ NoopPlatform,
11
+ NoopPlatformLayer,
12
+ defaultLayer,
13
+ tag
14
+ };
15
+ //# sourceMappingURL=Platform.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,92 @@
1
+ import { Effect } from 'effect';
2
+ import { f as ProcessDefinition$1, P as ProcessScope$1, D as DiagnosticsLevel$1, g as ProcessIdentity$1, h as ProcessInstanceIdentity$1, i as ProcessTriggerSpec$1, j as ProcessTrigger$1, k as ProcessConcurrencyPolicy$1, l as ProcessErrorPolicy$1, a as ProcessInstallation$1, S as SerializableErrorSummary$1, b as ProcessInstanceStatus$1, e as ProcessEvent$1, c as ProcessControlRequest$1, d as ProcessPlatformEvent$1 } from './protocol-g_1897M2.js';
3
+ import { h as AnyModuleShape, M as ModuleTag, z as ModuleLike, m as ModuleHandle } from './module-k7m3txak.js';
4
+
5
+ type ProcessMeta = {
6
+ readonly definition: ProcessDefinition$1;
7
+ /**
8
+ * installationScope: part of Static IR.
9
+ * - For instance-scope / subtree-scope scenarios, the runtime overwrites this field during installation with a derived effect.
10
+ * - This field is for export/diagnostics only; it does not participate in stable identity derivation (see identity.ts).
11
+ */
12
+ readonly installationScope?: ProcessScope$1;
13
+ readonly kind?: 'process' | 'link';
14
+ };
15
+ declare const PROCESS_META: unique symbol;
16
+ type ProcessEffect$1<E = never, R = never> = Effect.Effect<void, E, R> & {
17
+ readonly [PROCESS_META]?: ProcessMeta;
18
+ };
19
+
20
+ type DiagnosticsLevel = DiagnosticsLevel$1;
21
+ type ProcessScope = ProcessScope$1;
22
+ type ProcessIdentity = ProcessIdentity$1;
23
+ type ProcessInstanceIdentity = ProcessInstanceIdentity$1;
24
+ type ProcessTriggerSpec = ProcessTriggerSpec$1;
25
+ type ProcessTrigger = ProcessTrigger$1;
26
+ type ProcessConcurrencyPolicy = ProcessConcurrencyPolicy$1;
27
+ type ProcessErrorPolicy = ProcessErrorPolicy$1;
28
+ type ProcessDefinition = ProcessDefinition$1;
29
+ type ProcessInstallation = ProcessInstallation$1;
30
+ type SerializableErrorSummary = SerializableErrorSummary$1;
31
+ type ProcessInstanceStatus = ProcessInstanceStatus$1;
32
+ type ProcessEvent = ProcessEvent$1;
33
+ type ProcessControlRequest = ProcessControlRequest$1;
34
+ type ProcessPlatformEvent = ProcessPlatformEvent$1;
35
+ type ProcessEffect<E = never, R = never> = ProcessEffect$1<E, R>;
36
+ type ProcessMakeDefinition = string | {
37
+ readonly processId: string;
38
+ readonly name?: string;
39
+ readonly description?: string;
40
+ readonly requires?: ReadonlyArray<string>;
41
+ readonly triggers?: ReadonlyArray<ProcessTriggerSpec>;
42
+ readonly concurrency?: ProcessConcurrencyPolicy;
43
+ readonly errorPolicy?: ProcessErrorPolicy;
44
+ readonly diagnosticsLevel?: DiagnosticsLevel;
45
+ };
46
+ declare const make: <E, R>(definition: ProcessMakeDefinition, effect: Effect.Effect<void, E, R>) => ProcessEffect<E, R>;
47
+ declare const getDefinition: (effect: Effect.Effect<void, any, any>) => ProcessDefinition | undefined;
48
+ declare const getMeta: (effect: Effect.Effect<void, any, any>) => ProcessMeta | undefined;
49
+ declare const attachMeta: <E, R>(effect: Effect.Effect<void, E, R>, meta: ProcessMeta) => ProcessEffect<E, R>;
50
+ type LinkModuleToken<Id extends string, Sh extends AnyModuleShape> = ModuleTag<Id, Sh> | ModuleLike<Id, Sh, object>;
51
+ type LinkModuleIdOf<M> = M extends {
52
+ readonly id: infer Id;
53
+ } ? Id : never;
54
+ type LinkModuleShapeOf<M> = M extends ModuleLike<string, infer Sh, object> ? Sh : M extends ModuleTag<string, infer Sh> ? Sh : never;
55
+ interface LinkConfig<Ms extends readonly LinkModuleToken<string, AnyModuleShape>[]> {
56
+ readonly id?: string;
57
+ readonly modules: Ms;
58
+ }
59
+ type LinkHandles<Ms extends readonly LinkModuleToken<string, AnyModuleShape>[]> = {
60
+ [M in Ms[number] as LinkModuleIdOf<M>]: ModuleHandle<LinkModuleShapeOf<M>>;
61
+ };
62
+ declare function link<Ms extends readonly LinkModuleToken<string, AnyModuleShape>[], E = never, R = never>(config: LinkConfig<Ms>, logic: ($: LinkHandles<Ms>) => Effect.Effect<void, E, R>): ProcessEffect<E, R>;
63
+
64
+ type Process_DiagnosticsLevel = DiagnosticsLevel;
65
+ type Process_LinkConfig<Ms extends readonly LinkModuleToken<string, AnyModuleShape>[]> = LinkConfig<Ms>;
66
+ type Process_LinkHandles<Ms extends readonly LinkModuleToken<string, AnyModuleShape>[]> = LinkHandles<Ms>;
67
+ type Process_ProcessConcurrencyPolicy = ProcessConcurrencyPolicy;
68
+ type Process_ProcessControlRequest = ProcessControlRequest;
69
+ type Process_ProcessDefinition = ProcessDefinition;
70
+ type Process_ProcessEffect<E = never, R = never> = ProcessEffect<E, R>;
71
+ type Process_ProcessErrorPolicy = ProcessErrorPolicy;
72
+ type Process_ProcessEvent = ProcessEvent;
73
+ type Process_ProcessIdentity = ProcessIdentity;
74
+ type Process_ProcessInstallation = ProcessInstallation;
75
+ type Process_ProcessInstanceIdentity = ProcessInstanceIdentity;
76
+ type Process_ProcessInstanceStatus = ProcessInstanceStatus;
77
+ type Process_ProcessMakeDefinition = ProcessMakeDefinition;
78
+ type Process_ProcessPlatformEvent = ProcessPlatformEvent;
79
+ type Process_ProcessScope = ProcessScope;
80
+ type Process_ProcessTrigger = ProcessTrigger;
81
+ type Process_ProcessTriggerSpec = ProcessTriggerSpec;
82
+ type Process_SerializableErrorSummary = SerializableErrorSummary;
83
+ declare const Process_attachMeta: typeof attachMeta;
84
+ declare const Process_getDefinition: typeof getDefinition;
85
+ declare const Process_getMeta: typeof getMeta;
86
+ declare const Process_link: typeof link;
87
+ declare const Process_make: typeof make;
88
+ declare namespace Process {
89
+ export { type Process_DiagnosticsLevel as DiagnosticsLevel, type Process_LinkConfig as LinkConfig, type Process_LinkHandles as LinkHandles, type Process_ProcessConcurrencyPolicy as ProcessConcurrencyPolicy, type Process_ProcessControlRequest as ProcessControlRequest, type Process_ProcessDefinition as ProcessDefinition, type Process_ProcessEffect as ProcessEffect, type Process_ProcessErrorPolicy as ProcessErrorPolicy, type Process_ProcessEvent as ProcessEvent, type Process_ProcessIdentity as ProcessIdentity, type Process_ProcessInstallation as ProcessInstallation, type Process_ProcessInstanceIdentity as ProcessInstanceIdentity, type Process_ProcessInstanceStatus as ProcessInstanceStatus, type Process_ProcessMakeDefinition as ProcessMakeDefinition, type Process_ProcessPlatformEvent as ProcessPlatformEvent, type Process_ProcessScope as ProcessScope, type Process_ProcessTrigger as ProcessTrigger, type Process_ProcessTriggerSpec as ProcessTriggerSpec, type Process_SerializableErrorSummary as SerializableErrorSummary, Process_attachMeta as attachMeta, Process_getDefinition as getDefinition, Process_getMeta as getMeta, Process_link as link, Process_make as make };
90
+ }
91
+
92
+ export { type DiagnosticsLevel as D, type LinkConfig as L, Process as P, type SerializableErrorSummary as S, type ProcessScope as a, type ProcessIdentity as b, type ProcessInstanceIdentity as c, type ProcessTriggerSpec as d, type ProcessTrigger as e, type ProcessConcurrencyPolicy as f, type ProcessErrorPolicy as g, type ProcessDefinition as h, type ProcessInstallation as i, type ProcessInstanceStatus as j, type ProcessEvent as k, type ProcessControlRequest as l, type ProcessPlatformEvent as m, type ProcessEffect as n, type ProcessMakeDefinition as o, make as p, getDefinition as q, getMeta as r, attachMeta as s, type LinkHandles as t, link as u };
@@ -0,0 +1,92 @@
1
+ import { Effect } from 'effect';
2
+ import { f as ProcessDefinition$1, P as ProcessScope$1, D as DiagnosticsLevel$1, g as ProcessIdentity$1, h as ProcessInstanceIdentity$1, i as ProcessTriggerSpec$1, j as ProcessTrigger$1, k as ProcessConcurrencyPolicy$1, l as ProcessErrorPolicy$1, a as ProcessInstallation$1, S as SerializableErrorSummary$1, b as ProcessInstanceStatus$1, e as ProcessEvent$1, c as ProcessControlRequest$1, d as ProcessPlatformEvent$1 } from './protocol-g_1897M2.cjs';
3
+ import { h as AnyModuleShape, M as ModuleTag, z as ModuleLike, m as ModuleHandle } from './module-B8CBqIZ_.cjs';
4
+
5
+ type ProcessMeta = {
6
+ readonly definition: ProcessDefinition$1;
7
+ /**
8
+ * installationScope: part of Static IR.
9
+ * - For instance-scope / subtree-scope scenarios, the runtime overwrites this field during installation with a derived effect.
10
+ * - This field is for export/diagnostics only; it does not participate in stable identity derivation (see identity.ts).
11
+ */
12
+ readonly installationScope?: ProcessScope$1;
13
+ readonly kind?: 'process' | 'link';
14
+ };
15
+ declare const PROCESS_META: unique symbol;
16
+ type ProcessEffect$1<E = never, R = never> = Effect.Effect<void, E, R> & {
17
+ readonly [PROCESS_META]?: ProcessMeta;
18
+ };
19
+
20
+ type DiagnosticsLevel = DiagnosticsLevel$1;
21
+ type ProcessScope = ProcessScope$1;
22
+ type ProcessIdentity = ProcessIdentity$1;
23
+ type ProcessInstanceIdentity = ProcessInstanceIdentity$1;
24
+ type ProcessTriggerSpec = ProcessTriggerSpec$1;
25
+ type ProcessTrigger = ProcessTrigger$1;
26
+ type ProcessConcurrencyPolicy = ProcessConcurrencyPolicy$1;
27
+ type ProcessErrorPolicy = ProcessErrorPolicy$1;
28
+ type ProcessDefinition = ProcessDefinition$1;
29
+ type ProcessInstallation = ProcessInstallation$1;
30
+ type SerializableErrorSummary = SerializableErrorSummary$1;
31
+ type ProcessInstanceStatus = ProcessInstanceStatus$1;
32
+ type ProcessEvent = ProcessEvent$1;
33
+ type ProcessControlRequest = ProcessControlRequest$1;
34
+ type ProcessPlatformEvent = ProcessPlatformEvent$1;
35
+ type ProcessEffect<E = never, R = never> = ProcessEffect$1<E, R>;
36
+ type ProcessMakeDefinition = string | {
37
+ readonly processId: string;
38
+ readonly name?: string;
39
+ readonly description?: string;
40
+ readonly requires?: ReadonlyArray<string>;
41
+ readonly triggers?: ReadonlyArray<ProcessTriggerSpec>;
42
+ readonly concurrency?: ProcessConcurrencyPolicy;
43
+ readonly errorPolicy?: ProcessErrorPolicy;
44
+ readonly diagnosticsLevel?: DiagnosticsLevel;
45
+ };
46
+ declare const make: <E, R>(definition: ProcessMakeDefinition, effect: Effect.Effect<void, E, R>) => ProcessEffect<E, R>;
47
+ declare const getDefinition: (effect: Effect.Effect<void, any, any>) => ProcessDefinition | undefined;
48
+ declare const getMeta: (effect: Effect.Effect<void, any, any>) => ProcessMeta | undefined;
49
+ declare const attachMeta: <E, R>(effect: Effect.Effect<void, E, R>, meta: ProcessMeta) => ProcessEffect<E, R>;
50
+ type LinkModuleToken<Id extends string, Sh extends AnyModuleShape> = ModuleTag<Id, Sh> | ModuleLike<Id, Sh, object>;
51
+ type LinkModuleIdOf<M> = M extends {
52
+ readonly id: infer Id;
53
+ } ? Id : never;
54
+ type LinkModuleShapeOf<M> = M extends ModuleLike<string, infer Sh, object> ? Sh : M extends ModuleTag<string, infer Sh> ? Sh : never;
55
+ interface LinkConfig<Ms extends readonly LinkModuleToken<string, AnyModuleShape>[]> {
56
+ readonly id?: string;
57
+ readonly modules: Ms;
58
+ }
59
+ type LinkHandles<Ms extends readonly LinkModuleToken<string, AnyModuleShape>[]> = {
60
+ [M in Ms[number] as LinkModuleIdOf<M>]: ModuleHandle<LinkModuleShapeOf<M>>;
61
+ };
62
+ declare function link<Ms extends readonly LinkModuleToken<string, AnyModuleShape>[], E = never, R = never>(config: LinkConfig<Ms>, logic: ($: LinkHandles<Ms>) => Effect.Effect<void, E, R>): ProcessEffect<E, R>;
63
+
64
+ type Process_DiagnosticsLevel = DiagnosticsLevel;
65
+ type Process_LinkConfig<Ms extends readonly LinkModuleToken<string, AnyModuleShape>[]> = LinkConfig<Ms>;
66
+ type Process_LinkHandles<Ms extends readonly LinkModuleToken<string, AnyModuleShape>[]> = LinkHandles<Ms>;
67
+ type Process_ProcessConcurrencyPolicy = ProcessConcurrencyPolicy;
68
+ type Process_ProcessControlRequest = ProcessControlRequest;
69
+ type Process_ProcessDefinition = ProcessDefinition;
70
+ type Process_ProcessEffect<E = never, R = never> = ProcessEffect<E, R>;
71
+ type Process_ProcessErrorPolicy = ProcessErrorPolicy;
72
+ type Process_ProcessEvent = ProcessEvent;
73
+ type Process_ProcessIdentity = ProcessIdentity;
74
+ type Process_ProcessInstallation = ProcessInstallation;
75
+ type Process_ProcessInstanceIdentity = ProcessInstanceIdentity;
76
+ type Process_ProcessInstanceStatus = ProcessInstanceStatus;
77
+ type Process_ProcessMakeDefinition = ProcessMakeDefinition;
78
+ type Process_ProcessPlatformEvent = ProcessPlatformEvent;
79
+ type Process_ProcessScope = ProcessScope;
80
+ type Process_ProcessTrigger = ProcessTrigger;
81
+ type Process_ProcessTriggerSpec = ProcessTriggerSpec;
82
+ type Process_SerializableErrorSummary = SerializableErrorSummary;
83
+ declare const Process_attachMeta: typeof attachMeta;
84
+ declare const Process_getDefinition: typeof getDefinition;
85
+ declare const Process_getMeta: typeof getMeta;
86
+ declare const Process_link: typeof link;
87
+ declare const Process_make: typeof make;
88
+ declare namespace Process {
89
+ export { type Process_DiagnosticsLevel as DiagnosticsLevel, type Process_LinkConfig as LinkConfig, type Process_LinkHandles as LinkHandles, type Process_ProcessConcurrencyPolicy as ProcessConcurrencyPolicy, type Process_ProcessControlRequest as ProcessControlRequest, type Process_ProcessDefinition as ProcessDefinition, type Process_ProcessEffect as ProcessEffect, type Process_ProcessErrorPolicy as ProcessErrorPolicy, type Process_ProcessEvent as ProcessEvent, type Process_ProcessIdentity as ProcessIdentity, type Process_ProcessInstallation as ProcessInstallation, type Process_ProcessInstanceIdentity as ProcessInstanceIdentity, type Process_ProcessInstanceStatus as ProcessInstanceStatus, type Process_ProcessMakeDefinition as ProcessMakeDefinition, type Process_ProcessPlatformEvent as ProcessPlatformEvent, type Process_ProcessScope as ProcessScope, type Process_ProcessTrigger as ProcessTrigger, type Process_ProcessTriggerSpec as ProcessTriggerSpec, type Process_SerializableErrorSummary as SerializableErrorSummary, Process_attachMeta as attachMeta, Process_getDefinition as getDefinition, Process_getMeta as getMeta, Process_link as link, Process_make as make };
90
+ }
91
+
92
+ export { type DiagnosticsLevel as D, type LinkConfig as L, Process as P, type SerializableErrorSummary as S, type ProcessScope as a, type ProcessIdentity as b, type ProcessInstanceIdentity as c, type ProcessTriggerSpec as d, type ProcessTrigger as e, type ProcessConcurrencyPolicy as f, type ProcessErrorPolicy as g, type ProcessDefinition as h, type ProcessInstallation as i, type ProcessInstanceStatus as j, type ProcessEvent as k, type ProcessControlRequest as l, type ProcessPlatformEvent as m, type ProcessEffect as n, type ProcessMakeDefinition as o, make as p, getDefinition as q, getMeta as r, attachMeta as s, type LinkHandles as t, link as u };