worldvm 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (426) hide show
  1. package/AUTHORING.md +833 -0
  2. package/README.md +154 -2
  3. package/bin/worldvm.mjs +3 -0
  4. package/dist/_internal/forma/index.d.ts +1 -0
  5. package/dist/_internal/forma/index.js +1 -0
  6. package/dist/_internal/forma/world/authoring-help.d.ts +25 -0
  7. package/dist/_internal/forma/world/authoring-help.js +130 -0
  8. package/dist/_internal/forma/world/citations.d.ts +3 -0
  9. package/dist/_internal/forma/world/citations.js +26 -0
  10. package/dist/_internal/forma/world/clock-bindings.d.ts +4 -0
  11. package/dist/_internal/forma/world/clock-bindings.js +45 -0
  12. package/dist/_internal/forma/world/compile.d.ts +13 -0
  13. package/dist/_internal/forma/world/compile.js +190 -0
  14. package/dist/_internal/forma/world/coverage.d.ts +10 -0
  15. package/dist/_internal/forma/world/coverage.js +242 -0
  16. package/dist/_internal/forma/world/digest.d.ts +1 -0
  17. package/dist/_internal/forma/world/digest.js +1 -0
  18. package/dist/_internal/forma/world/documentation.d.ts +3 -0
  19. package/dist/_internal/forma/world/documentation.js +38 -0
  20. package/dist/_internal/forma/world/homes.d.ts +4 -0
  21. package/dist/_internal/forma/world/homes.js +202 -0
  22. package/dist/_internal/forma/world/index.d.ts +6 -0
  23. package/dist/_internal/forma/world/index.js +5 -0
  24. package/dist/_internal/forma/world/lowering/accounts.d.ts +4 -0
  25. package/dist/_internal/forma/world/lowering/accounts.js +36 -0
  26. package/dist/_internal/forma/world/lowering/action-policy.d.ts +5 -0
  27. package/dist/_internal/forma/world/lowering/action-policy.js +16 -0
  28. package/dist/_internal/forma/world/lowering/agents.d.ts +6 -0
  29. package/dist/_internal/forma/world/lowering/agents.js +116 -0
  30. package/dist/_internal/forma/world/lowering/bundles.d.ts +3 -0
  31. package/dist/_internal/forma/world/lowering/bundles.js +13 -0
  32. package/dist/_internal/forma/world/lowering/child-parameters.d.ts +14 -0
  33. package/dist/_internal/forma/world/lowering/child-parameters.js +36 -0
  34. package/dist/_internal/forma/world/lowering/collects.d.ts +3 -0
  35. package/dist/_internal/forma/world/lowering/collects.js +51 -0
  36. package/dist/_internal/forma/world/lowering/component-operations.d.ts +6 -0
  37. package/dist/_internal/forma/world/lowering/component-operations.js +26 -0
  38. package/dist/_internal/forma/world/lowering/components.d.ts +7 -0
  39. package/dist/_internal/forma/world/lowering/components.js +236 -0
  40. package/dist/_internal/forma/world/lowering/connectors.d.ts +4 -0
  41. package/dist/_internal/forma/world/lowering/connectors.js +31 -0
  42. package/dist/_internal/forma/world/lowering/context.d.ts +80 -0
  43. package/dist/_internal/forma/world/lowering/context.js +316 -0
  44. package/dist/_internal/forma/world/lowering/contracts.d.ts +7 -0
  45. package/dist/_internal/forma/world/lowering/contracts.js +73 -0
  46. package/dist/_internal/forma/world/lowering/decisions.d.ts +3 -0
  47. package/dist/_internal/forma/world/lowering/decisions.js +164 -0
  48. package/dist/_internal/forma/world/lowering/derives.d.ts +3 -0
  49. package/dist/_internal/forma/world/lowering/derives.js +22 -0
  50. package/dist/_internal/forma/world/lowering/discretionary.d.ts +7 -0
  51. package/dist/_internal/forma/world/lowering/discretionary.js +15 -0
  52. package/dist/_internal/forma/world/lowering/documents.d.ts +3 -0
  53. package/dist/_internal/forma/world/lowering/documents.js +68 -0
  54. package/dist/_internal/forma/world/lowering/effective.d.ts +5 -0
  55. package/dist/_internal/forma/world/lowering/effective.js +26 -0
  56. package/dist/_internal/forma/world/lowering/entities.d.ts +3 -0
  57. package/dist/_internal/forma/world/lowering/entities.js +43 -0
  58. package/dist/_internal/forma/world/lowering/escalations.d.ts +6 -0
  59. package/dist/_internal/forma/world/lowering/escalations.js +31 -0
  60. package/dist/_internal/forma/world/lowering/evidence.d.ts +3 -0
  61. package/dist/_internal/forma/world/lowering/evidence.js +75 -0
  62. package/dist/_internal/forma/world/lowering/files.d.ts +4 -0
  63. package/dist/_internal/forma/world/lowering/files.js +56 -0
  64. package/dist/_internal/forma/world/lowering/holds.d.ts +6 -0
  65. package/dist/_internal/forma/world/lowering/holds.js +35 -0
  66. package/dist/_internal/forma/world/lowering/index.d.ts +89 -0
  67. package/dist/_internal/forma/world/lowering/index.js +115 -0
  68. package/dist/_internal/forma/world/lowering/interactions.d.ts +7 -0
  69. package/dist/_internal/forma/world/lowering/interactions.js +190 -0
  70. package/dist/_internal/forma/world/lowering/library.d.ts +5 -0
  71. package/dist/_internal/forma/world/lowering/library.js +41 -0
  72. package/dist/_internal/forma/world/lowering/milestones.d.ts +6 -0
  73. package/dist/_internal/forma/world/lowering/milestones.js +17 -0
  74. package/dist/_internal/forma/world/lowering/notices.d.ts +3 -0
  75. package/dist/_internal/forma/world/lowering/notices.js +33 -0
  76. package/dist/_internal/forma/world/lowering/param-bounds.d.ts +15 -0
  77. package/dist/_internal/forma/world/lowering/param-bounds.js +71 -0
  78. package/dist/_internal/forma/world/lowering/policies.d.ts +6 -0
  79. package/dist/_internal/forma/world/lowering/policies.js +95 -0
  80. package/dist/_internal/forma/world/lowering/principals.d.ts +62 -0
  81. package/dist/_internal/forma/world/lowering/principals.js +32 -0
  82. package/dist/_internal/forma/world/lowering/recurrences.d.ts +9 -0
  83. package/dist/_internal/forma/world/lowering/recurrences.js +56 -0
  84. package/dist/_internal/forma/world/lowering/renewal.d.ts +5 -0
  85. package/dist/_internal/forma/world/lowering/renewal.js +21 -0
  86. package/dist/_internal/forma/world/lowering/resources.d.ts +6 -0
  87. package/dist/_internal/forma/world/lowering/resources.js +19 -0
  88. package/dist/_internal/forma/world/lowering/reuse.d.ts +5 -0
  89. package/dist/_internal/forma/world/lowering/reuse.js +75 -0
  90. package/dist/_internal/forma/world/lowering/sources.d.ts +10 -0
  91. package/dist/_internal/forma/world/lowering/sources.js +47 -0
  92. package/dist/_internal/forma/world/lowering/syntax.d.ts +84 -0
  93. package/dist/_internal/forma/world/lowering/syntax.js +94 -0
  94. package/dist/_internal/forma/world/lowering/vaults.d.ts +11 -0
  95. package/dist/_internal/forma/world/lowering/vaults.js +148 -0
  96. package/dist/_internal/forma/world/prelude.generated.d.ts +1 -0
  97. package/dist/_internal/forma/world/prelude.generated.js +2 -0
  98. package/dist/_internal/forma/world/properties.d.ts +9 -0
  99. package/dist/_internal/forma/world/properties.js +387 -0
  100. package/dist/_internal/forma/world/scenarios.d.ts +10 -0
  101. package/dist/_internal/forma/world/scenarios.js +757 -0
  102. package/dist/_internal/forma/world/sensitivity.d.ts +3 -0
  103. package/dist/_internal/forma/world/sensitivity.js +118 -0
  104. package/dist/_internal/forma/world/source-syntax.d.ts +6 -0
  105. package/dist/_internal/forma/world/source-syntax.js +27 -0
  106. package/dist/_internal/forma/world/status-handling.d.ts +3 -0
  107. package/dist/_internal/forma/world/status-handling.js +143 -0
  108. package/dist/_internal/forma/world/surface.d.ts +30 -0
  109. package/dist/_internal/forma/world/surface.js +213 -0
  110. package/dist/_internal/forma/world/table-expressions.d.ts +3 -0
  111. package/dist/_internal/forma/world/table-expressions.js +41 -0
  112. package/dist/_internal/forma-tools/index.d.ts +17 -0
  113. package/dist/_internal/forma-tools/index.js +124 -0
  114. package/dist/_internal/ir-checks/advances.d.ts +7 -0
  115. package/dist/_internal/ir-checks/advances.js +6 -0
  116. package/dist/_internal/ir-checks/agent-reads.d.ts +14 -0
  117. package/dist/_internal/ir-checks/agent-reads.js +118 -0
  118. package/dist/_internal/ir-checks/amendments.d.ts +3 -0
  119. package/dist/_internal/ir-checks/amendments.js +21 -0
  120. package/dist/_internal/ir-checks/canonical-json.d.ts +3 -0
  121. package/dist/_internal/ir-checks/canonical-json.js +85 -0
  122. package/dist/_internal/ir-checks/child-parameters.d.ts +2 -0
  123. package/dist/_internal/ir-checks/child-parameters.js +43 -0
  124. package/dist/_internal/ir-checks/clock-bindings.d.ts +3 -0
  125. package/dist/_internal/ir-checks/clock-bindings.js +43 -0
  126. package/dist/_internal/ir-checks/collect-types.d.ts +14 -0
  127. package/dist/_internal/ir-checks/collect-types.js +34 -0
  128. package/dist/_internal/ir-checks/component-operations.d.ts +4 -0
  129. package/dist/_internal/ir-checks/component-operations.js +23 -0
  130. package/dist/_internal/ir-checks/content-digest.d.ts +4 -0
  131. package/dist/_internal/ir-checks/content-digest.js +78 -0
  132. package/dist/_internal/ir-checks/contract-validation.d.ts +3 -0
  133. package/dist/_internal/ir-checks/contract-validation.js +307 -0
  134. package/dist/_internal/ir-checks/contracts.d.ts +25 -0
  135. package/dist/_internal/ir-checks/contracts.js +80 -0
  136. package/dist/_internal/ir-checks/dates.d.ts +2 -0
  137. package/dist/_internal/ir-checks/dates.js +7 -0
  138. package/dist/_internal/ir-checks/documents.d.ts +3 -0
  139. package/dist/_internal/ir-checks/documents.js +45 -0
  140. package/dist/_internal/ir-checks/evidence.d.ts +20 -0
  141. package/dist/_internal/ir-checks/evidence.js +56 -0
  142. package/dist/_internal/ir-checks/files.d.ts +7 -0
  143. package/dist/_internal/ir-checks/files.js +47 -0
  144. package/dist/_internal/ir-checks/index.d.ts +59 -0
  145. package/dist/_internal/ir-checks/index.js +166 -0
  146. package/dist/_internal/ir-checks/instants.d.ts +7 -0
  147. package/dist/_internal/ir-checks/instants.js +61 -0
  148. package/dist/_internal/ir-checks/notices.d.ts +4 -0
  149. package/dist/_internal/ir-checks/notices.js +58 -0
  150. package/dist/_internal/ir-checks/policy-bounds.d.ts +5 -0
  151. package/dist/_internal/ir-checks/policy-bounds.js +28 -0
  152. package/dist/_internal/ir-checks/principals.d.ts +26 -0
  153. package/dist/_internal/ir-checks/principals.js +162 -0
  154. package/dist/_internal/ir-checks/prior-cycle.d.ts +41 -0
  155. package/dist/_internal/ir-checks/prior-cycle.js +21 -0
  156. package/dist/_internal/ir-checks/read-classification.d.ts +12 -0
  157. package/dist/_internal/ir-checks/read-classification.js +67 -0
  158. package/dist/_internal/ir-checks/read-types.d.ts +2 -0
  159. package/dist/_internal/ir-checks/read-types.js +40 -0
  160. package/dist/_internal/ir-checks/resource-proofs.d.ts +4 -0
  161. package/dist/_internal/ir-checks/resource-proofs.js +98 -0
  162. package/dist/_internal/ir-checks/resources.d.ts +3 -0
  163. package/dist/_internal/ir-checks/resources.js +30 -0
  164. package/dist/_internal/ir-checks/reuse.d.ts +10 -0
  165. package/dist/_internal/ir-checks/reuse.js +99 -0
  166. package/dist/_internal/ir-checks/sealing.d.ts +14 -0
  167. package/dist/_internal/ir-checks/sealing.js +123 -0
  168. package/dist/_internal/ir-checks/sensitive-flow.d.ts +4 -0
  169. package/dist/_internal/ir-checks/sensitive-flow.js +240 -0
  170. package/dist/_internal/ir-checks/sensitivity.d.ts +19 -0
  171. package/dist/_internal/ir-checks/sensitivity.js +133 -0
  172. package/dist/_internal/ir-checks/signatures.d.ts +4 -0
  173. package/dist/_internal/ir-checks/signatures.js +22 -0
  174. package/dist/_internal/ir-checks/vaults.d.ts +10 -0
  175. package/dist/_internal/ir-checks/vaults.js +140 -0
  176. package/dist/_internal/protocol/index.d.ts +1234 -0
  177. package/dist/_internal/protocol/index.js +215 -0
  178. package/dist/_internal/reconciler/action-intents.d.ts +17 -0
  179. package/dist/_internal/reconciler/action-intents.js +161 -0
  180. package/dist/_internal/reconciler/actions.d.ts +7 -0
  181. package/dist/_internal/reconciler/actions.js +134 -0
  182. package/dist/_internal/reconciler/amendments.d.ts +12 -0
  183. package/dist/_internal/reconciler/amendments.js +52 -0
  184. package/dist/_internal/reconciler/basis.d.ts +253 -0
  185. package/dist/_internal/reconciler/basis.js +16 -0
  186. package/dist/_internal/reconciler/bundles.d.ts +22 -0
  187. package/dist/_internal/reconciler/bundles.js +110 -0
  188. package/dist/_internal/reconciler/change-detection.d.ts +5 -0
  189. package/dist/_internal/reconciler/change-detection.js +82 -0
  190. package/dist/_internal/reconciler/collection-rules.d.ts +7 -0
  191. package/dist/_internal/reconciler/collection-rules.js +46 -0
  192. package/dist/_internal/reconciler/collection-state.d.ts +11 -0
  193. package/dist/_internal/reconciler/collection-state.js +62 -0
  194. package/dist/_internal/reconciler/collection-values.d.ts +5 -0
  195. package/dist/_internal/reconciler/collection-values.js +60 -0
  196. package/dist/_internal/reconciler/collections.d.ts +35 -0
  197. package/dist/_internal/reconciler/collections.js +141 -0
  198. package/dist/_internal/reconciler/commands.d.ts +60 -0
  199. package/dist/_internal/reconciler/commands.js +468 -0
  200. package/dist/_internal/reconciler/component-operations.d.ts +48 -0
  201. package/dist/_internal/reconciler/component-operations.js +256 -0
  202. package/dist/_internal/reconciler/context.d.ts +38 -0
  203. package/dist/_internal/reconciler/context.js +44 -0
  204. package/dist/_internal/reconciler/coverage.d.ts +31 -0
  205. package/dist/_internal/reconciler/coverage.js +124 -0
  206. package/dist/_internal/reconciler/dates.d.ts +38 -0
  207. package/dist/_internal/reconciler/dates.js +121 -0
  208. package/dist/_internal/reconciler/decide.d.ts +25 -0
  209. package/dist/_internal/reconciler/decide.js +263 -0
  210. package/dist/_internal/reconciler/decision-evaluation.d.ts +9 -0
  211. package/dist/_internal/reconciler/decision-evaluation.js +67 -0
  212. package/dist/_internal/reconciler/decision-records.d.ts +14 -0
  213. package/dist/_internal/reconciler/decision-records.js +77 -0
  214. package/dist/_internal/reconciler/decision-release.d.ts +3 -0
  215. package/dist/_internal/reconciler/decision-release.js +12 -0
  216. package/dist/_internal/reconciler/dependencies.d.ts +179 -0
  217. package/dist/_internal/reconciler/dependencies.js +372 -0
  218. package/dist/_internal/reconciler/discovery.d.ts +9 -0
  219. package/dist/_internal/reconciler/discovery.js +65 -0
  220. package/dist/_internal/reconciler/document-corrections.d.ts +18 -0
  221. package/dist/_internal/reconciler/document-corrections.js +59 -0
  222. package/dist/_internal/reconciler/documents.d.ts +26 -0
  223. package/dist/_internal/reconciler/documents.js +88 -0
  224. package/dist/_internal/reconciler/effective.d.ts +6 -0
  225. package/dist/_internal/reconciler/effective.js +17 -0
  226. package/dist/_internal/reconciler/escalations.d.ts +4 -0
  227. package/dist/_internal/reconciler/escalations.js +76 -0
  228. package/dist/_internal/reconciler/evaluation.d.ts +56 -0
  229. package/dist/_internal/reconciler/evaluation.js +704 -0
  230. package/dist/_internal/reconciler/evidence-authority.d.ts +6 -0
  231. package/dist/_internal/reconciler/evidence-authority.js +70 -0
  232. package/dist/_internal/reconciler/evidence-history.d.ts +5 -0
  233. package/dist/_internal/reconciler/evidence-history.js +22 -0
  234. package/dist/_internal/reconciler/evidence-validity.d.ts +17 -0
  235. package/dist/_internal/reconciler/evidence-validity.js +135 -0
  236. package/dist/_internal/reconciler/fact-validation.d.ts +5 -0
  237. package/dist/_internal/reconciler/fact-validation.js +49 -0
  238. package/dist/_internal/reconciler/files.d.ts +9 -0
  239. package/dist/_internal/reconciler/files.js +56 -0
  240. package/dist/_internal/reconciler/graph.d.ts +40 -0
  241. package/dist/_internal/reconciler/graph.js +298 -0
  242. package/dist/_internal/reconciler/holds.d.ts +6 -0
  243. package/dist/_internal/reconciler/holds.js +18 -0
  244. package/dist/_internal/reconciler/home-definitions.d.ts +11 -0
  245. package/dist/_internal/reconciler/home-definitions.js +25 -0
  246. package/dist/_internal/reconciler/homes.d.ts +6 -0
  247. package/dist/_internal/reconciler/homes.js +32 -0
  248. package/dist/_internal/reconciler/index.d.ts +42 -0
  249. package/dist/_internal/reconciler/index.js +58 -0
  250. package/dist/_internal/reconciler/instants.d.ts +17 -0
  251. package/dist/_internal/reconciler/instants.js +56 -0
  252. package/dist/_internal/reconciler/interaction-fields.d.ts +10 -0
  253. package/dist/_internal/reconciler/interaction-fields.js +30 -0
  254. package/dist/_internal/reconciler/invariants.d.ts +8 -0
  255. package/dist/_internal/reconciler/invariants.js +34 -0
  256. package/dist/_internal/reconciler/journal.d.ts +3 -0
  257. package/dist/_internal/reconciler/journal.js +4 -0
  258. package/dist/_internal/reconciler/linking.d.ts +10 -0
  259. package/dist/_internal/reconciler/linking.js +259 -0
  260. package/dist/_internal/reconciler/memory.d.ts +32 -0
  261. package/dist/_internal/reconciler/memory.js +190 -0
  262. package/dist/_internal/reconciler/milestones.d.ts +7 -0
  263. package/dist/_internal/reconciler/milestones.js +58 -0
  264. package/dist/_internal/reconciler/missing.d.ts +18 -0
  265. package/dist/_internal/reconciler/missing.js +79 -0
  266. package/dist/_internal/reconciler/model.d.ts +350 -0
  267. package/dist/_internal/reconciler/model.js +9 -0
  268. package/dist/_internal/reconciler/notices.d.ts +14 -0
  269. package/dist/_internal/reconciler/notices.js +80 -0
  270. package/dist/_internal/reconciler/occurrences.d.ts +3 -0
  271. package/dist/_internal/reconciler/occurrences.js +30 -0
  272. package/dist/_internal/reconciler/outputs.d.ts +12 -0
  273. package/dist/_internal/reconciler/outputs.js +132 -0
  274. package/dist/_internal/reconciler/parameters.d.ts +4 -0
  275. package/dist/_internal/reconciler/parameters.js +27 -0
  276. package/dist/_internal/reconciler/policies.d.ts +22 -0
  277. package/dist/_internal/reconciler/policies.js +94 -0
  278. package/dist/_internal/reconciler/policy-edits.d.ts +11 -0
  279. package/dist/_internal/reconciler/policy-edits.js +42 -0
  280. package/dist/_internal/reconciler/policy-linking.d.ts +4 -0
  281. package/dist/_internal/reconciler/policy-linking.js +104 -0
  282. package/dist/_internal/reconciler/principal-types.d.ts +2 -0
  283. package/dist/_internal/reconciler/principal-types.js +38 -0
  284. package/dist/_internal/reconciler/prior-decisions.d.ts +3 -0
  285. package/dist/_internal/reconciler/prior-decisions.js +34 -0
  286. package/dist/_internal/reconciler/projections.d.ts +4 -0
  287. package/dist/_internal/reconciler/projections.js +85 -0
  288. package/dist/_internal/reconciler/proofs.d.ts +9 -0
  289. package/dist/_internal/reconciler/proofs.js +24 -0
  290. package/dist/_internal/reconciler/properties.d.ts +25 -0
  291. package/dist/_internal/reconciler/properties.js +67 -0
  292. package/dist/_internal/reconciler/property-eval.d.ts +5 -0
  293. package/dist/_internal/reconciler/property-eval.js +101 -0
  294. package/dist/_internal/reconciler/property-generator.d.ts +9 -0
  295. package/dist/_internal/reconciler/property-generator.js +288 -0
  296. package/dist/_internal/reconciler/property-shrink.d.ts +14 -0
  297. package/dist/_internal/reconciler/property-shrink.js +183 -0
  298. package/dist/_internal/reconciler/provenance.d.ts +8 -0
  299. package/dist/_internal/reconciler/provenance.js +61 -0
  300. package/dist/_internal/reconciler/reconcile.d.ts +32 -0
  301. package/dist/_internal/reconciler/reconcile.js +164 -0
  302. package/dist/_internal/reconciler/recurrence.d.ts +9 -0
  303. package/dist/_internal/reconciler/recurrence.js +44 -0
  304. package/dist/_internal/reconciler/requirements.d.ts +5 -0
  305. package/dist/_internal/reconciler/requirements.js +331 -0
  306. package/dist/_internal/reconciler/resource-generation.d.ts +9 -0
  307. package/dist/_internal/reconciler/resource-generation.js +17 -0
  308. package/dist/_internal/reconciler/resource-scenarios.d.ts +26 -0
  309. package/dist/_internal/reconciler/resource-scenarios.js +78 -0
  310. package/dist/_internal/reconciler/resources.d.ts +24 -0
  311. package/dist/_internal/reconciler/resources.js +178 -0
  312. package/dist/_internal/reconciler/result-digest.d.ts +13 -0
  313. package/dist/_internal/reconciler/result-digest.js +66 -0
  314. package/dist/_internal/reconciler/reuse.d.ts +16 -0
  315. package/dist/_internal/reconciler/reuse.js +119 -0
  316. package/dist/_internal/reconciler/scenarios.d.ts +32 -0
  317. package/dist/_internal/reconciler/scenarios.js +442 -0
  318. package/dist/_internal/reconciler/scheduling.d.ts +9 -0
  319. package/dist/_internal/reconciler/scheduling.js +203 -0
  320. package/dist/_internal/reconciler/sha256.d.ts +1 -0
  321. package/dist/_internal/reconciler/sha256.js +1 -0
  322. package/dist/_internal/reconciler/signatures.d.ts +13 -0
  323. package/dist/_internal/reconciler/signatures.js +37 -0
  324. package/dist/_internal/reconciler/temporal.d.ts +10 -0
  325. package/dist/_internal/reconciler/temporal.js +46 -0
  326. package/dist/_internal/reconciler/upgrades.d.ts +6 -0
  327. package/dist/_internal/reconciler/upgrades.js +65 -0
  328. package/dist/_internal/reconciler/wire.d.ts +2 -0
  329. package/dist/_internal/reconciler/wire.js +5 -0
  330. package/dist/_internal/reconciler/work.d.ts +32 -0
  331. package/dist/_internal/reconciler/work.js +101 -0
  332. package/dist/_internal/world-ir/schema.generated.d.ts +180 -0
  333. package/dist/_internal/world-ir/schema.generated.js +1127 -0
  334. package/dist/_internal/world-ir/types.generated.d.ts +1011 -0
  335. package/dist/_internal/world-ir/types.generated.js +1 -0
  336. package/dist/authoring.d.ts +9 -0
  337. package/dist/authoring.js +10 -0
  338. package/dist/catalogue.d.ts +20 -0
  339. package/dist/catalogue.js +531 -0
  340. package/dist/cli.d.ts +2 -0
  341. package/dist/cli.js +553 -0
  342. package/dist/codegen.d.ts +6 -0
  343. package/dist/codegen.js +89 -0
  344. package/dist/coverage.d.ts +60 -0
  345. package/dist/coverage.js +128 -0
  346. package/dist/deploy.d.ts +21 -0
  347. package/dist/deploy.js +72 -0
  348. package/dist/diagnostics.d.ts +9 -0
  349. package/dist/diagnostics.js +37 -0
  350. package/dist/diff.d.ts +17 -0
  351. package/dist/diff.js +19 -0
  352. package/dist/durable-object.d.ts +14 -0
  353. package/dist/durable-object.js +30 -0
  354. package/dist/explain.d.ts +113 -0
  355. package/dist/explain.js +225 -0
  356. package/dist/fixes.d.ts +4 -0
  357. package/dist/fixes.js +70 -0
  358. package/dist/fmt.d.ts +12 -0
  359. package/dist/fmt.js +39 -0
  360. package/dist/handle/open.d.ts +18 -0
  361. package/dist/handle/open.js +28 -0
  362. package/dist/handle/protocol.d.ts +12 -0
  363. package/dist/handle/protocol.js +96 -0
  364. package/dist/handle/store.d.ts +31 -0
  365. package/dist/handle/store.js +11 -0
  366. package/dist/handle/types.d.ts +37 -0
  367. package/dist/handle/types.js +1 -0
  368. package/dist/handle/world.d.ts +190 -0
  369. package/dist/handle/world.js +533 -0
  370. package/dist/http.d.ts +3 -0
  371. package/dist/http.js +72 -0
  372. package/dist/impact.d.ts +21 -0
  373. package/dist/impact.js +57 -0
  374. package/dist/index.d.ts +30 -0
  375. package/dist/index.js +43 -0
  376. package/dist/init.d.ts +13 -0
  377. package/dist/init.js +99 -0
  378. package/dist/ir-schema.json +4213 -0
  379. package/dist/lints.d.ts +8 -0
  380. package/dist/lints.js +154 -0
  381. package/dist/lsp.d.ts +14 -0
  382. package/dist/lsp.js +380 -0
  383. package/dist/manual/catalog.d.ts +12 -0
  384. package/dist/manual/catalog.js +23 -0
  385. package/dist/manual/examples.d.ts +15 -0
  386. package/dist/manual/examples.js +39 -0
  387. package/dist/manual/projections.d.ts +77 -0
  388. package/dist/manual/projections.js +344 -0
  389. package/dist/manual/prose.d.ts +19 -0
  390. package/dist/manual/prose.js +215 -0
  391. package/dist/manual/render.d.ts +76 -0
  392. package/dist/manual/render.js +250 -0
  393. package/dist/manual/text.d.ts +7 -0
  394. package/dist/manual/text.js +15 -0
  395. package/dist/mcp.d.ts +32 -0
  396. package/dist/mcp.js +269 -0
  397. package/dist/mutate.d.ts +36 -0
  398. package/dist/mutate.js +123 -0
  399. package/dist/project.d.ts +26 -0
  400. package/dist/project.js +80 -0
  401. package/dist/refine.d.ts +18 -0
  402. package/dist/refine.js +197 -0
  403. package/dist/release/diff.d.ts +45 -0
  404. package/dist/release/diff.js +103 -0
  405. package/dist/release/impact.d.ts +83 -0
  406. package/dist/release/impact.js +214 -0
  407. package/dist/release/nodes.d.ts +20 -0
  408. package/dist/release/nodes.js +118 -0
  409. package/dist/render.d.ts +19 -0
  410. package/dist/render.js +43 -0
  411. package/dist/serve.d.ts +18 -0
  412. package/dist/serve.js +140 -0
  413. package/dist/snapshot.d.ts +19 -0
  414. package/dist/snapshot.js +45 -0
  415. package/dist/sqlite.d.ts +16 -0
  416. package/dist/sqlite.js +151 -0
  417. package/dist/test.d.ts +54 -0
  418. package/dist/test.js +131 -0
  419. package/dist/world.d.ts +7 -0
  420. package/dist/world.js +5 -0
  421. package/docs/authoring/vendor-risk/example.forma +11 -0
  422. package/docs/authoring/vendor-risk/library/vendor.forma +76 -0
  423. package/docs/authoring/vendor-risk/scenarios/reviews.forma +107 -0
  424. package/docs/protocol.md +195 -0
  425. package/docs/reference.md +258 -0
  426. package/package.json +81 -3
@@ -0,0 +1,37 @@
1
+ import { canonicalJson } from "./result-digest.js";
2
+ import { sha256 } from "./sha256.js";
3
+ export const signatureInputValid = (input, method) => !!input &&
4
+ Object.keys(input).length === 4 &&
5
+ input.consent === true &&
6
+ input.intent === true &&
7
+ input.method === method &&
8
+ typeof input.device === "string" &&
9
+ input.device.trim().length > 0 &&
10
+ input.device.length <= 512;
11
+ /** A binding digest, not a claim that a host's authentication is cryptographically verified. */
12
+ const digest = (record, trail) => {
13
+ const { signature: _signature, ...evidence } = record;
14
+ return sha256(canonicalJson({ evidence, trail }));
15
+ };
16
+ export const signEvidence = (record, policy, input) => {
17
+ const trail = {
18
+ ...policy,
19
+ method: input.method,
20
+ device: input.device,
21
+ by: record.by,
22
+ at: record.at,
23
+ };
24
+ return { ...record, signature: { ...trail, digest: digest(record, trail) } };
25
+ };
26
+ /** Historical basic records carry no inferred consent. A present trail must bind its source. */
27
+ export const signatureValid = (record) => {
28
+ if (record.signature === undefined)
29
+ return true;
30
+ const { digest: recorded, ...trail } = record.signature;
31
+ return (Object.keys(trail).length === 6 &&
32
+ record.status === "attested" &&
33
+ trail.by === record.by &&
34
+ trail.at === record.at &&
35
+ [trail.consent, trail.intent, trail.method, trail.device].every((v) => typeof v === "string" && v.trim().length > 0) &&
36
+ recorded === digest(record, trail));
37
+ };
@@ -0,0 +1,10 @@
1
+ import { type LocalDate } from "./dates.js";
2
+ import type { Dependency } from "./dependencies.js";
3
+ /** Publishing guarantees direct clock operands and finite, non-recursive clock logic. */
4
+ export declare const clockCutoffs: (operator: string, leftClock: boolean, rightClock: boolean, a: unknown, b: unknown, precision?: "date" | "instant") => readonly LocalDate[];
5
+ /** Replay only cutoffs. A newly taken branch can expose a nearer cutoff than the queued ones. */
6
+ export declare const firstChange: <T>(now: LocalDate, current: T, initial: ReadonlySet<LocalDate>, read: (at: LocalDate, cutoffs: Set<LocalDate>) => T, signature: (value: T) => string) => LocalDate | null;
7
+ export declare const nextWake: (dependencies: Iterable<Dependency>, now: LocalDate) => {
8
+ wakeAt: string | null;
9
+ wakeReason: string;
10
+ };
@@ -0,0 +1,46 @@
1
+ import { isInstant, isLocalDate } from "../ir-checks/index.js";
2
+ import { nextTime, timeOrder } from "./instants.js";
3
+ import {} from "./dates.js";
4
+ /** Publishing guarantees direct clock operands and finite, non-recursive clock logic. */
5
+ export const clockCutoffs = (operator, leftClock, rightClock, a, b, precision = "date") => {
6
+ if (leftClock === rightClock)
7
+ return [];
8
+ const value = leftClock ? b : a;
9
+ if (typeof value !== "string" || (!isLocalDate(value) && !isInstant(value)))
10
+ return [];
11
+ if (precision === "date" && value.length !== 10) {
12
+ const day = value.slice(0, 10), next = nextTime(day);
13
+ return next ? [day, next] : [day];
14
+ }
15
+ const cutoff = precision === "instant" && value.length === 10 ? `${value}T00:00:00.000Z` : value;
16
+ const next = nextTime(cutoff);
17
+ if (operator === "=" || operator === "not=")
18
+ return next ? [cutoff, next] : [cutoff];
19
+ return leftClock ? [cutoff] : next ? [next] : [];
20
+ };
21
+ /** Replay only cutoffs. A newly taken branch can expose a nearer cutoff than the queued ones. */
22
+ export const firstChange = (now, current, initial, read, signature) => {
23
+ const before = signature(current);
24
+ const pending = new Set([...initial].filter((at) => timeOrder(at, now) > 0));
25
+ let cursor = now;
26
+ while (pending.size) {
27
+ const at = [...pending].sort()[0];
28
+ pending.delete(at);
29
+ if (timeOrder(at, cursor) <= 0)
30
+ continue;
31
+ const found = new Set();
32
+ const value = read(at, found);
33
+ if (signature(value) !== before)
34
+ return at;
35
+ cursor = at;
36
+ for (const next of found)
37
+ if (timeOrder(next, cursor) > 0)
38
+ pending.add(next);
39
+ }
40
+ return null;
41
+ };
42
+ export const nextWake = (dependencies, now) => {
43
+ const candidates = [...dependencies].flatMap((d) => d.kind === "time" && d.value && timeOrder(d.value.at, now) > 0 ? [d.value] : []);
44
+ candidates.sort((a, b) => timeOrder(a.at, b.at) || (a.why < b.why ? -1 : a.why > b.why ? 1 : 0));
45
+ return { wakeAt: candidates[0]?.at ?? null, wakeReason: candidates[0]?.why ?? "" };
46
+ };
@@ -0,0 +1,6 @@
1
+ import { type LocalDate } from "./dates.js";
2
+ import { type UpgradeConsequence, type WorldReconciliation } from "./model.js";
3
+ /** Compare reconciliations of the same world under the pinned release and a candidate. Decided
4
+ * occurrences keep the release and proof they were decided under; open work follows each
5
+ * account's declared :upgrade policy. */
6
+ export declare const planUpgrade: (current: WorldReconciliation, candidate: WorldReconciliation, now: LocalDate) => readonly UpgradeConsequence[];
@@ -0,0 +1,65 @@
1
+ import { formatDate } from "./dates.js";
2
+ import {} from "./model.js";
3
+ import { proofOf } from "./proofs.js";
4
+ import { programFor } from "./reconcile.js";
5
+ /** Compare reconciliations of the same world under the pinned release and a candidate. Decided
6
+ * occurrences keep the release and proof they were decided under; open work follows each
7
+ * account's declared :upgrade policy. */
8
+ export const planUpgrade = (current, candidate, now) => {
9
+ const out = [];
10
+ for (const [id, result] of current.results) {
11
+ const p = programFor(current, id);
12
+ const next = candidate.results.get(id);
13
+ const nextRelease = candidate.programs.find((x) => x.account.name === p.account.name)?.release;
14
+ for (const q of result.requirements) {
15
+ if (q.status === "NotApplicable")
16
+ continue;
17
+ const after = next?.requirements.find((r) => r.name === q.name);
18
+ const changes = [
19
+ after && after.status !== q.status ? `status ${q.status} → ${after.status}` : "",
20
+ after && after.due !== q.due ? `due ${q.due ?? "—"} → ${after.due ?? "—"}` : "",
21
+ after && after.remindAt !== q.remindAt
22
+ ? `reminder ${q.remindAt ? formatDate(q.remindAt, false) : "none"} → ${after.remindAt ? formatDate(after.remindAt, false) : "none"}`
23
+ : "",
24
+ ].filter(Boolean);
25
+ const base = {
26
+ account: p.account.name,
27
+ occurrence: q.occurrence,
28
+ label: q.label,
29
+ status: q.status,
30
+ policy: p.account.upgrade,
31
+ };
32
+ if (q.status === "Satisfied" || q.status === "Waived")
33
+ out.push({
34
+ ...base,
35
+ outcome: "keeps",
36
+ detail: `Keeps ${p.release} and proof ${proofOf(p.release, now, q)}`,
37
+ });
38
+ else if (!changes.length)
39
+ out.push({
40
+ ...base,
41
+ outcome: "unchanged",
42
+ detail: `${q.status}: the revision changes nothing here`,
43
+ });
44
+ else if (p.account.upgrade === "open-only")
45
+ out.push({
46
+ ...base,
47
+ outcome: "replans",
48
+ detail: `${q.status}: re-planned under ${nextRelease}: ${changes.join("; ")}`,
49
+ });
50
+ else if (p.account.upgrade === "review")
51
+ out.push({
52
+ ...base,
53
+ outcome: "review",
54
+ detail: `Finding: a reviewer approves ${changes.join("; ")} before re-planning`,
55
+ });
56
+ else
57
+ out.push({
58
+ ...base,
59
+ outcome: "next-cycle",
60
+ detail: `Stays on ${p.release} until its next cycle`,
61
+ });
62
+ }
63
+ }
64
+ return out;
65
+ };
@@ -0,0 +1,2 @@
1
+ export * from "../world-ir/schema.generated.js";
2
+ export declare const decodeCompiled: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("../world-ir/types.generated.js").Compiled;
@@ -0,0 +1,5 @@
1
+ // Decode only the current shipped IR schema.
2
+ import { Schema } from "effect";
3
+ import { Compiled } from "../world-ir/schema.generated.js";
4
+ export * from "../world-ir/schema.generated.js";
5
+ export const decodeCompiled = Schema.decodeUnknownSync(Compiled);
@@ -0,0 +1,32 @@
1
+ import type { EvaluationContext } from "./context.js";
2
+ import type { ActionResult, WorldReconciliation, EvaluationResult } from "./model.js";
3
+ export declare const workKey: (account: string, idempotencyKey: string) => string;
4
+ export declare const actionTargets: (action: ActionResult) => readonly string[];
5
+ export interface WorkMember {
6
+ readonly instance: string;
7
+ readonly action: string;
8
+ readonly occurrences: readonly string[];
9
+ }
10
+ export interface ProjectedWork {
11
+ readonly key: string;
12
+ readonly idempotencyKey: string;
13
+ readonly account: string;
14
+ readonly state: ActionResult["state"] | "conflict";
15
+ readonly assignee: {
16
+ readonly id: string | null;
17
+ readonly kind: ActionResult["assigneeKind"];
18
+ };
19
+ readonly members: readonly WorkMember[];
20
+ readonly reason?: string;
21
+ }
22
+ /** Project the provided graph only. Distinct proof contexts never become shared evidence. */
23
+ export declare const workItems: (recon: Pick<WorldReconciliation, "instances"> & {
24
+ readonly results: ReadonlyMap<string, Pick<EvaluationResult, "actions" | "requirements">>;
25
+ }) => readonly ProjectedWork[];
26
+ export declare const resolveWorkConflicts: (ctx: EvaluationContext) => void;
27
+ /** The host supplies identity/memberships; a display label cannot authorize a signature. */
28
+ export declare const canPerformWork: (action: ActionResult, actor: {
29
+ readonly id: string;
30
+ readonly kind: "human" | "agent";
31
+ readonly groups: readonly string[];
32
+ }, by: string) => boolean;
@@ -0,0 +1,101 @@
1
+ import { permitsConstraints } from "./policies.js";
2
+ export const workKey = (account, idempotencyKey) => JSON.stringify(["worldvm/work@1", account, idempotencyKey]);
3
+ export const actionTargets = (action) => action.advancesAll ?? [action.advances];
4
+ /** Project the provided graph only. Distinct proof contexts never become shared evidence. */
5
+ export const workItems = (recon) => {
6
+ const groups = new Map();
7
+ for (const [instance, result] of recon.results) {
8
+ const account = recon.instances.get(instance).account;
9
+ for (const action of result.actions) {
10
+ const key = workKey(account, action.idempotencyKey), member = {
11
+ instance,
12
+ action: action.action,
13
+ occurrences: actionTargets(action).map((name) => result.requirements.find((r) => r.name === name).occurrence),
14
+ };
15
+ const prior = groups.get(key);
16
+ if (!prior) {
17
+ groups.set(key, {
18
+ first: action,
19
+ item: {
20
+ key,
21
+ idempotencyKey: action.idempotencyKey,
22
+ account,
23
+ state: action.state,
24
+ assignee: { id: action.assigneeId ?? null, kind: action.assigneeKind },
25
+ members: [member],
26
+ },
27
+ });
28
+ continue;
29
+ }
30
+ const compatible = prior.item.members.every((m) => m.instance === instance && m.action === action.action) &&
31
+ prior.first.assigneeId === action.assigneeId &&
32
+ prior.first.assigneeKind === action.assigneeKind &&
33
+ prior.first.via === action.via &&
34
+ prior.first.kind === action.kind;
35
+ const members = [...prior.item.members, member].sort((a, b) => JSON.stringify(a) < JSON.stringify(b) ? -1 : JSON.stringify(a) > JSON.stringify(b) ? 1 : 0);
36
+ prior.item = {
37
+ ...prior.item,
38
+ members,
39
+ ...(!compatible
40
+ ? {
41
+ state: "conflict",
42
+ reason: "One work key names incompatible assignees or proof occurrences; use a shared keyed component or distinct keys.",
43
+ }
44
+ : {}),
45
+ };
46
+ }
47
+ }
48
+ return [...groups.values()]
49
+ .map((g) => g.item)
50
+ .sort((a, b) => (a.key < b.key ? -1 : a.key > b.key ? 1 : 0));
51
+ };
52
+ export const resolveWorkConflicts = (ctx) => {
53
+ let multi = false;
54
+ for (const result of ctx.results.values())
55
+ if (result.actions.some((a) => a.advancesAll)) {
56
+ multi = true;
57
+ break;
58
+ }
59
+ if (!multi)
60
+ return;
61
+ for (const work of workItems(ctx)) {
62
+ if (work.state !== "conflict")
63
+ continue;
64
+ for (const member of work.members) {
65
+ const result = ctx.results.get(member.instance);
66
+ const action = result.actions.find((a) => a.action === member.action);
67
+ if (!action.advancesAll)
68
+ continue;
69
+ const intents = (result.workIntents ?? []).filter((i) => i.action !== action.action);
70
+ if (action.state === "dispatched")
71
+ intents.push({
72
+ instance: member.instance,
73
+ action: action.action,
74
+ occurrence: member.occurrences[0],
75
+ idempotencyKey: action.idempotencyKey,
76
+ at: action.at,
77
+ kind: action.onIneligible ?? "withdraw",
78
+ });
79
+ ctx.results.set(member.instance, {
80
+ ...result,
81
+ actions: result.actions.map((a) => a === action
82
+ ? {
83
+ ...a,
84
+ state: "waiting",
85
+ missing: [...a.missing, { text: work.reason, kind: "other" }],
86
+ }
87
+ : a),
88
+ workIntents: intents,
89
+ });
90
+ }
91
+ }
92
+ };
93
+ /** The host supplies identity/memberships; a display label cannot authorize a signature. */
94
+ export const canPerformWork = (action, actor, by) => action.kind !== "interaction" ||
95
+ ((!action.advancesAll || actor.kind === "human") &&
96
+ actor.id === by &&
97
+ action.assigneeId != null &&
98
+ (action.assigneeKind === "entity"
99
+ ? actor.id === action.assigneeId
100
+ : action.assigneeKind === "group" && actor.groups.includes(action.assigneeId)) &&
101
+ permitsConstraints(action.authorityConstraints ?? [], actor));
@@ -0,0 +1,180 @@
1
+ import { Schema } from "effect";
2
+ import type * as T from "./types.generated.js";
3
+ export type Span = T.Span;
4
+ export declare const Span: Schema.Codec<T.Span>;
5
+ export type TypeRef = T.TypeRef;
6
+ export declare const TypeRef: Schema.Codec<T.TypeRef>;
7
+ export type Expr = T.Expr;
8
+ export declare const Expr: Schema.Codec<T.Expr>;
9
+ export type FilePolicy = T.FilePolicy;
10
+ export declare const FilePolicy: Schema.Codec<T.FilePolicy>;
11
+ export type Seal = T.Seal;
12
+ export declare const Seal: Schema.Codec<T.Seal>;
13
+ export type Field = T.Field;
14
+ export declare const Field: Schema.Codec<T.Field>;
15
+ export type Source = T.Source;
16
+ export declare const Source: Schema.Codec<T.Source>;
17
+ export type Citation = T.Citation;
18
+ export declare const Citation: Schema.Codec<T.Citation>;
19
+ export type SensitiveClass = T.SensitiveClass;
20
+ export declare const SensitiveClass: Schema.Codec<T.SensitiveClass>;
21
+ export type AgentReadGrant = T.AgentReadGrant;
22
+ export declare const AgentReadGrant: Schema.Codec<T.AgentReadGrant>;
23
+ export type Agent = T.Agent;
24
+ export declare const Agent: Schema.Codec<T.Agent>;
25
+ export type VaultKey = T.VaultKey;
26
+ export declare const VaultKey: Schema.Codec<T.VaultKey>;
27
+ export type VaultErasure = T.VaultErasure;
28
+ export declare const VaultErasure: Schema.Codec<T.VaultErasure>;
29
+ export type VaultDisposal = T.VaultDisposal;
30
+ export declare const VaultDisposal: Schema.Codec<T.VaultDisposal>;
31
+ export type Vault = T.Vault;
32
+ export declare const Vault: Schema.Codec<T.Vault>;
33
+ export type Library = T.Library;
34
+ export declare const Library: Schema.Codec<T.Library>;
35
+ export type TypeAlias = T.TypeAlias;
36
+ export declare const TypeAlias: Schema.Codec<T.TypeAlias>;
37
+ export type Role = T.Role;
38
+ export declare const Role: Schema.Codec<T.Role>;
39
+ export type EntityField = T.EntityField;
40
+ export declare const EntityField: Schema.Codec<T.EntityField>;
41
+ export type Binding = T.Binding;
42
+ export declare const Binding: Schema.Codec<T.Binding>;
43
+ export type Entity = T.Entity;
44
+ export declare const Entity: Schema.Codec<T.Entity>;
45
+ export type Holiday = T.Holiday;
46
+ export declare const Holiday: Schema.Codec<T.Holiday>;
47
+ export type Calendar = T.Calendar;
48
+ export declare const Calendar: Schema.Codec<T.Calendar>;
49
+ export type Derive = T.Derive;
50
+ export declare const Derive: Schema.Codec<T.Derive>;
51
+ export type Rule = T.Rule;
52
+ export declare const Rule: Schema.Codec<T.Rule>;
53
+ export type AmendmentPolicy = T.AmendmentPolicy;
54
+ export declare const AmendmentPolicy: Schema.Codec<T.AmendmentPolicy>;
55
+ export type AmendmentInput = T.AmendmentInput;
56
+ export declare const AmendmentInput: Schema.Codec<T.AmendmentInput>;
57
+ export type SignaturePolicy = T.SignaturePolicy;
58
+ export declare const SignaturePolicy: Schema.Codec<T.SignaturePolicy>;
59
+ export type SignatureInput = T.SignatureInput;
60
+ export declare const SignatureInput: Schema.Codec<T.SignatureInput>;
61
+ export type Evidence = T.Evidence;
62
+ export declare const Evidence: Schema.Codec<T.Evidence>;
63
+ export type InteractionBinding = T.InteractionBinding;
64
+ export declare const InteractionBinding: Schema.Codec<T.InteractionBinding>;
65
+ export type Interaction = T.Interaction;
66
+ export declare const Interaction: Schema.Codec<T.Interaction>;
67
+ export type LayoutItem = T.LayoutItem;
68
+ export declare const LayoutItem: Schema.Codec<T.LayoutItem>;
69
+ export type Layout = T.Layout;
70
+ export declare const Layout: Schema.Codec<T.Layout>;
71
+ export type Connector = T.Connector;
72
+ export declare const Connector: Schema.Codec<T.Connector>;
73
+ export type Machine = T.Machine;
74
+ export declare const Machine: Schema.Codec<T.Machine>;
75
+ export type InputHome = T.InputHome;
76
+ export declare const InputHome: Schema.Codec<T.InputHome>;
77
+ export type Home = T.Home;
78
+ export declare const Home: Schema.Codec<T.Home>;
79
+ export type Milestone = T.Milestone;
80
+ export declare const Milestone: Schema.Codec<T.Milestone>;
81
+ export type DayOffset = T.DayOffset;
82
+ export declare const DayOffset: Schema.Codec<T.DayOffset>;
83
+ export type Escalation = T.Escalation;
84
+ export declare const Escalation: Schema.Codec<T.Escalation>;
85
+ export type Hold = T.Hold;
86
+ export declare const Hold: Schema.Codec<T.Hold>;
87
+ export type Accepts = T.Accepts;
88
+ export declare const Accepts: Schema.Codec<T.Accepts>;
89
+ export type Recurrence = T.Recurrence;
90
+ export declare const Recurrence: Schema.Codec<T.Recurrence>;
91
+ export type Effective = T.Effective;
92
+ export declare const Effective: Schema.Codec<T.Effective>;
93
+ export type RenewalWindow = T.RenewalWindow;
94
+ export declare const RenewalWindow: Schema.Codec<T.RenewalWindow>;
95
+ export type Reuse = T.Reuse;
96
+ export declare const Reuse: Schema.Codec<T.Reuse>;
97
+ export type Notice = T.Notice;
98
+ export declare const Notice: Schema.Codec<T.Notice>;
99
+ export type DocumentField = T.DocumentField;
100
+ export declare const DocumentField: Schema.Codec<T.DocumentField>;
101
+ export type Document = T.Document;
102
+ export declare const Document: Schema.Codec<T.Document>;
103
+ export type Requirement = T.Requirement;
104
+ export declare const Requirement: Schema.Codec<T.Requirement>;
105
+ export type Via = T.Via;
106
+ export declare const Via: Schema.Codec<T.Via>;
107
+ export type Action = T.Action;
108
+ export declare const Action: Schema.Codec<T.Action>;
109
+ export type Slot = T.Slot;
110
+ export declare const Slot: Schema.Codec<T.Slot>;
111
+ export type Output = T.Output;
112
+ export declare const Output: Schema.Codec<T.Output>;
113
+ export type PolicyNumber = T.PolicyNumber;
114
+ export declare const PolicyNumber: Schema.Codec<T.PolicyNumber>;
115
+ export type ParamBound = T.ParamBound;
116
+ export declare const ParamBound: Schema.Codec<T.ParamBound>;
117
+ export type AccountPolicy = T.AccountPolicy;
118
+ export declare const AccountPolicy: Schema.Codec<T.AccountPolicy>;
119
+ export type ResourceCall = T.ResourceCall;
120
+ export declare const ResourceCall: Schema.Codec<T.ResourceCall>;
121
+ export type Resource = T.Resource;
122
+ export declare const Resource: Schema.Codec<T.Resource>;
123
+ export type Component = T.Component;
124
+ export declare const Component: Schema.Codec<T.Component>;
125
+ export type Account = T.Account;
126
+ export declare const Account: Schema.Codec<T.Account>;
127
+ export type ScenarioValue = T.ScenarioValue;
128
+ export declare const ScenarioValue: Schema.Codec<T.ScenarioValue>;
129
+ export type ScenarioInstance = T.ScenarioInstance;
130
+ export declare const ScenarioInstance: Schema.Codec<T.ScenarioInstance>;
131
+ export type ScenarioStatus = T.ScenarioStatus;
132
+ export declare const ScenarioStatus: Schema.Codec<T.ScenarioStatus>;
133
+ export type ScenarioExpect = T.ScenarioExpect;
134
+ export declare const ScenarioExpect: Schema.Codec<T.ScenarioExpect>;
135
+ export type ScenarioField = T.ScenarioField;
136
+ export declare const ScenarioField: Schema.Codec<T.ScenarioField>;
137
+ export type ScenarioFields = T.ScenarioFields;
138
+ export declare const ScenarioFields: Schema.Codec<T.ScenarioFields>;
139
+ export type ScenarioRecord = T.ScenarioRecord;
140
+ export declare const ScenarioRecord: Schema.Codec<T.ScenarioRecord>;
141
+ export type ScenarioCommand = T.ScenarioCommand;
142
+ export declare const ScenarioCommand: Schema.Codec<T.ScenarioCommand>;
143
+ export type ScenarioActor = T.ScenarioActor;
144
+ export declare const ScenarioActor: Schema.Codec<T.ScenarioActor>;
145
+ export type ScenarioEntity = T.ScenarioEntity;
146
+ export declare const ScenarioEntity: Schema.Codec<T.ScenarioEntity>;
147
+ export type ScenarioFile = T.ScenarioFile;
148
+ export declare const ScenarioFile: Schema.Codec<T.ScenarioFile>;
149
+ export type Scenario = T.Scenario;
150
+ export declare const Scenario: Schema.Codec<T.Scenario>;
151
+ export type PropertyTarget = T.PropertyTarget;
152
+ export declare const PropertyTarget: Schema.Codec<T.PropertyTarget>;
153
+ export type PropertyStatus = T.PropertyStatus;
154
+ export declare const PropertyStatus: Schema.Codec<T.PropertyStatus>;
155
+ export type PropertyOperator = T.PropertyOperator;
156
+ export declare const PropertyOperator: Schema.Codec<T.PropertyOperator>;
157
+ export type PropertyExpr = T.PropertyExpr;
158
+ export declare const PropertyExpr: Schema.Codec<T.PropertyExpr>;
159
+ export type Property = T.Property;
160
+ export declare const Property: Schema.Codec<T.Property>;
161
+ export type Decision = T.Decision;
162
+ export declare const Decision: Schema.Codec<T.Decision>;
163
+ export type ConfirmationWindow = T.ConfirmationWindow;
164
+ export declare const ConfirmationWindow: Schema.Codec<T.ConfirmationWindow>;
165
+ export type Collect = T.Collect;
166
+ export declare const Collect: Schema.Codec<T.Collect>;
167
+ export type Bundle = T.Bundle;
168
+ export declare const Bundle: Schema.Codec<T.Bundle>;
169
+ export type ContractOperation = T.ContractOperation;
170
+ export declare const ContractOperation: Schema.Codec<T.ContractOperation>;
171
+ export type ComponentContract = T.ComponentContract;
172
+ export declare const ComponentContract: Schema.Codec<T.ComponentContract>;
173
+ export type ComponentImport = T.ComponentImport;
174
+ export declare const ComponentImport: Schema.Codec<T.ComponentImport>;
175
+ export type WorldIR = T.WorldIR;
176
+ export declare const WorldIR: Schema.Codec<T.WorldIR>;
177
+ export type Diagnostic = T.Diagnostic;
178
+ export declare const Diagnostic: Schema.Codec<T.Diagnostic>;
179
+ export type Compiled = T.Compiled;
180
+ export declare const Compiled: Schema.Codec<T.Compiled>;