@locus-forge/locus-map 0.0.0-stage → 0.2.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 (1121) hide show
  1. package/.locus-pi/workflows/locus-map-compact/locus-map-compact.workflow.mjs +925 -0
  2. package/CONTRIBUTING.md +194 -0
  3. package/LICENSE +21 -0
  4. package/README.md +161 -2
  5. package/SECURITY.md +58 -0
  6. package/THIRD_PARTY_NOTICES.md +65 -0
  7. package/dist/assets/Assistant-Bold-gm-uSS1B.woff2 +0 -0
  8. package/dist/assets/Assistant-Medium-DrcxCXg3.woff2 +0 -0
  9. package/dist/assets/Assistant-Regular-DVxZuzxb.woff2 +0 -0
  10. package/dist/assets/Assistant-SemiBold-SCI4bEL9.woff2 +0 -0
  11. package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  12. package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  13. package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  14. package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  15. package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  16. package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  17. package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  18. package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  19. package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  20. package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  21. package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  22. package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  23. package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  24. package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  25. package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  26. package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  27. package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  28. package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  29. package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  30. package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  31. package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  32. package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  33. package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  34. package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  35. package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  36. package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  37. package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  38. package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  39. package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  40. package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  41. package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  42. package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  43. package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  44. package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  45. package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  46. package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  47. package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  48. package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  49. package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  50. package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  51. package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  52. package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  53. package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  54. package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  55. package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  56. package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  57. package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  58. package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  59. package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  60. package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  61. package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  62. package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  63. package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  64. package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  65. package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  66. package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  67. package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  68. package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  69. package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  70. package/dist/assets/abnfDiagram-VCTEODGH-BnTGKKaL.js +1 -0
  71. package/dist/assets/ar-SA-G6X2FPQ2-LY3czoz9.js +10 -0
  72. package/dist/assets/architectureDiagram-5GKGNRK7-BG9h9KRx.js +36 -0
  73. package/dist/assets/az-AZ-76LH7QW2-Brv6kuM6.js +1 -0
  74. package/dist/assets/bg-BG-XCXSNQG7-tsQwwvMW.js +5 -0
  75. package/dist/assets/blockDiagram-I7D4REHJ-V9bUuR63.js +129 -0
  76. package/dist/assets/bn-BD-2XOGV67Q-0Cou5nNv.js +5 -0
  77. package/dist/assets/c4Diagram-7LVT6UL2-BmCtzbrY.js +38 -0
  78. package/dist/assets/ca-ES-6MX7JW3Y-pZF7WJUL.js +8 -0
  79. package/dist/assets/channel-Dx9OTBrx.js +1 -0
  80. package/dist/assets/chunk-2Q5K7J3B-D2iTDmHh.js +1 -0
  81. package/dist/assets/chunk-5VM5RSS4-CTxdXZIx.js +15 -0
  82. package/dist/assets/chunk-F27PBJKO-Hic1X1pm.js +1 -0
  83. package/dist/assets/chunk-IMKFNOWR-DhLW1JVb.js +231 -0
  84. package/dist/assets/chunk-JWPE2WC7-_g5twKlC.js +1 -0
  85. package/dist/assets/chunk-POPQ4Y6H-DMV4qmkd.js +1 -0
  86. package/dist/assets/chunk-SVP7TREG-BWg83oEL.js +88 -0
  87. package/dist/assets/chunk-TICWLB2K-CPmkpa7J.js +206 -0
  88. package/dist/assets/chunk-XXDRQBXY-KnXvIZ_8.js +1 -0
  89. package/dist/assets/classDiagram-ZZMXUADV-Da4s894j.js +1 -0
  90. package/dist/assets/classDiagram-v2-VYDZK3BY--H9NrCfO.js +1 -0
  91. package/dist/assets/cose-bilkent-JH36ORCC-BChK_CGh.js +1 -0
  92. package/dist/assets/cs-CZ-2BRQDIVT-CtAC2Qjy.js +11 -0
  93. package/dist/assets/cynefin-OW5HDTMX-CdsltaMX.js +166 -0
  94. package/dist/assets/cynefinDiagram-5FMLGOSQ-bXvXX3Fx.js +62 -0
  95. package/dist/assets/cytoscape.esm-BHa1VTXv.js +321 -0
  96. package/dist/assets/d3-scale-sM87TD1Z.js +1 -0
  97. package/dist/assets/da-DK-5WZEPLOC-DyWwaclV.js +5 -0
  98. package/dist/assets/dagre-GXQ25YYZ-CTmiZZVO.js +4 -0
  99. package/dist/assets/de-DE-XR44H4JA-BDXUBHki.js +8 -0
  100. package/dist/assets/diagram-S7CK7UJ4-Bm8Fy0R_.js +30 -0
  101. package/dist/assets/diagram-UQ7AKVKN-BU_AmM_A.js +41 -0
  102. package/dist/assets/diagram-VSXAHHWV-B78LUoXq.js +3 -0
  103. package/dist/assets/diagram-VX7I27RA-DNvWjMlf.js +24 -0
  104. package/dist/assets/diagram-Z3DM3KII-DmFVt1fa.js +24 -0
  105. package/dist/assets/directory-open-01563666-DWU9wJ6I.js +1 -0
  106. package/dist/assets/directory-open-4ed118d0-CunoC1EB.js +1 -0
  107. package/dist/assets/dist-5XZJcZMV.js +21 -0
  108. package/dist/assets/dist-YE-j8nFO.js +3 -0
  109. package/dist/assets/ebnfDiagram-PWID7BFC-CpDna0Jp.js +1 -0
  110. package/dist/assets/el-GR-BZB4AONW-CNhF7oN2.js +10 -0
  111. package/dist/assets/engines-a8mi_N6S.js +1 -0
  112. package/dist/assets/erDiagram-RLTQ6QDP-BGD-9OAS.js +99 -0
  113. package/dist/assets/es-ES-U4NZUMDT-DXMrJcKL.js +9 -0
  114. package/dist/assets/eu-ES-A7QVB2H4-BTkMEwMi.js +11 -0
  115. package/dist/assets/fa-IR-HGAKTJCU-CgkknSS7.js +8 -0
  116. package/dist/assets/fi-FI-Z5N7JZ37-B1K83nId.js +6 -0
  117. package/dist/assets/file-open-002ab408-DIuFHtCF.js +1 -0
  118. package/dist/assets/file-open-7c801643-684qeFg4.js +1 -0
  119. package/dist/assets/file-save-3189631c-C1wFhQhH.js +1 -0
  120. package/dist/assets/file-save-745eba88-Bb9F9Kg7.js +1 -0
  121. package/dist/assets/flowDiagram-HODETNUW-CjU1yR1F.js +168 -0
  122. package/dist/assets/fr-FR-RHASNOE6-CBFZBGMr.js +9 -0
  123. package/dist/assets/ganttDiagram-EL5Y4UJY-bvb8BjSh.js +292 -0
  124. package/dist/assets/gitGraphDiagram-WWUBYQGX-DZXQ_x8t.js +106 -0
  125. package/dist/assets/gl-ES-HMX3MZ6V-CON98Mma.js +10 -0
  126. package/dist/assets/he-IL-6SHJWFNN-CBoFaEdB.js +10 -0
  127. package/dist/assets/hi-IN-IWLTKZ5I-BJuoh3dl.js +4 -0
  128. package/dist/assets/hu-HU-A5ZG7DT2-CQruu8XR.js +7 -0
  129. package/dist/assets/icon-0-B1nVfAeC.js +6 -0
  130. package/dist/assets/icon-1-BB6AG9gM.js +6 -0
  131. package/dist/assets/icon-10-DZFK3YST.js +7 -0
  132. package/dist/assets/icon-100-DJkcDXhn.js +7 -0
  133. package/dist/assets/icon-101-DBSse9CM.js +6 -0
  134. package/dist/assets/icon-102-BnxZHFIv.js +6 -0
  135. package/dist/assets/icon-103-sLc3eQWO.js +6 -0
  136. package/dist/assets/icon-104-BQazFUnn.js +6 -0
  137. package/dist/assets/icon-105-Cc1dCVZY.js +7 -0
  138. package/dist/assets/icon-106-Dsm26VMI.js +7 -0
  139. package/dist/assets/icon-107-CTfHlA3r.js +8 -0
  140. package/dist/assets/icon-108-BV3_gTwL.js +7 -0
  141. package/dist/assets/icon-109-LcWd-DPG.js +7 -0
  142. package/dist/assets/icon-11-Ck94EqLX.js +7 -0
  143. package/dist/assets/icon-110-CzMtvC4E.js +7 -0
  144. package/dist/assets/icon-111-RhOOYnYs.js +6 -0
  145. package/dist/assets/icon-112-Brjphob9.js +6 -0
  146. package/dist/assets/icon-113-D6o90w8p.js +8 -0
  147. package/dist/assets/icon-114-B3PtrOAM.js +7 -0
  148. package/dist/assets/icon-115-BHWSQi73.js +6 -0
  149. package/dist/assets/icon-116-CjjTDutA.js +6 -0
  150. package/dist/assets/icon-117-CiyDBQRd.js +6 -0
  151. package/dist/assets/icon-118-BKghplP7.js +6 -0
  152. package/dist/assets/icon-119-C66U0X2Z.js +6 -0
  153. package/dist/assets/icon-12-BIIzektY.js +7 -0
  154. package/dist/assets/icon-120-DOWuZwny.js +6 -0
  155. package/dist/assets/icon-121-CFpHliq-.js +6 -0
  156. package/dist/assets/icon-122-CDbFwKzd.js +8 -0
  157. package/dist/assets/icon-123-C4_ZzJKx.js +8 -0
  158. package/dist/assets/icon-124-CSrE5xMq.js +8 -0
  159. package/dist/assets/icon-125-CViMXo6M.js +7 -0
  160. package/dist/assets/icon-126-LvH7ZIUN.js +7 -0
  161. package/dist/assets/icon-127-D4rZyYvV.js +10 -0
  162. package/dist/assets/icon-128-C60_2TSj.js +7 -0
  163. package/dist/assets/icon-129-BTKaVLyI.js +6 -0
  164. package/dist/assets/icon-13-MmHg-aVB.js +7 -0
  165. package/dist/assets/icon-130-C1nmEjwm.js +7 -0
  166. package/dist/assets/icon-131-CFanGaiN.js +7 -0
  167. package/dist/assets/icon-132-DvDvP_mz.js +7 -0
  168. package/dist/assets/icon-133-BbNiBiYQ.js +7 -0
  169. package/dist/assets/icon-134-Rdo3VLsE.js +6 -0
  170. package/dist/assets/icon-135-dIyCdAnR.js +6 -0
  171. package/dist/assets/icon-136-DXeBKuFV.js +7 -0
  172. package/dist/assets/icon-137-DTQC1STd.js +7 -0
  173. package/dist/assets/icon-138-CieKkHSA.js +9 -0
  174. package/dist/assets/icon-139-yCDfoHA7.js +7 -0
  175. package/dist/assets/icon-14-_iYhOAxf.js +7 -0
  176. package/dist/assets/icon-15-CIkC0bSy.js +7 -0
  177. package/dist/assets/icon-16-Dz0Hwmvs.js +6 -0
  178. package/dist/assets/icon-17-Cf1jKmJ9.js +6 -0
  179. package/dist/assets/icon-18-C_cVw5ru.js +6 -0
  180. package/dist/assets/icon-19-De7tySRe.js +6 -0
  181. package/dist/assets/icon-2-BiezH_JN.js +7 -0
  182. package/dist/assets/icon-20-CjL7S_wd.js +6 -0
  183. package/dist/assets/icon-21-C0q-1bpH.js +6 -0
  184. package/dist/assets/icon-22-D2-vd2Vo.js +6 -0
  185. package/dist/assets/icon-23-CedJLXKG.js +7 -0
  186. package/dist/assets/icon-24-C58mciGE.js +6 -0
  187. package/dist/assets/icon-25-DSHXW9L-.js +6 -0
  188. package/dist/assets/icon-26-DXutjT6y.js +6 -0
  189. package/dist/assets/icon-27--BoADDsQ.js +6 -0
  190. package/dist/assets/icon-28-CheZrtz1.js +8 -0
  191. package/dist/assets/icon-29-CrZdz1I2.js +7 -0
  192. package/dist/assets/icon-3-sYhuFSG7.js +7 -0
  193. package/dist/assets/icon-30-C7Kyjm57.js +6 -0
  194. package/dist/assets/icon-31-DtcvlpTq.js +6 -0
  195. package/dist/assets/icon-32-CphWtCb4.js +6 -0
  196. package/dist/assets/icon-33-CQT4KEni.js +6 -0
  197. package/dist/assets/icon-34-pe2lPRPi.js +6 -0
  198. package/dist/assets/icon-35-BVtSZw3c.js +6 -0
  199. package/dist/assets/icon-36-xRhJ8mZt.js +6 -0
  200. package/dist/assets/icon-37-Uq6qYn82.js +7 -0
  201. package/dist/assets/icon-38-BpFeeALu.js +7 -0
  202. package/dist/assets/icon-39-Dx9zYq-y.js +7 -0
  203. package/dist/assets/icon-4-BeiqVGT3.js +7 -0
  204. package/dist/assets/icon-40-D0wxO99E.js +7 -0
  205. package/dist/assets/icon-41-5eBMQB2n.js +8 -0
  206. package/dist/assets/icon-42-BSElyGDo.js +7 -0
  207. package/dist/assets/icon-43-BSOGyJdE.js +8 -0
  208. package/dist/assets/icon-44-DAYRrZIq.js +7 -0
  209. package/dist/assets/icon-45-DXY5ZNNW.js +7 -0
  210. package/dist/assets/icon-46-BGV7Hq6C.js +7 -0
  211. package/dist/assets/icon-47-ZrOn6gh_.js +7 -0
  212. package/dist/assets/icon-48-CsZTQMYV.js +7 -0
  213. package/dist/assets/icon-49-B8BaY0Mp.js +7 -0
  214. package/dist/assets/icon-5-CpedJNNw.js +7 -0
  215. package/dist/assets/icon-50-B7IWOCKA.js +7 -0
  216. package/dist/assets/icon-51-2Rn1eZ4M.js +7 -0
  217. package/dist/assets/icon-52-D4HDdcUX.js +8 -0
  218. package/dist/assets/icon-53-DNszwqSR.js +6 -0
  219. package/dist/assets/icon-54-Xp8wC9Mn.js +6 -0
  220. package/dist/assets/icon-55-DvKPtWtc.js +6 -0
  221. package/dist/assets/icon-56-qdaDYO-c.js +6 -0
  222. package/dist/assets/icon-57-C3jBnpDY.js +6 -0
  223. package/dist/assets/icon-58-CHVPbimu.js +6 -0
  224. package/dist/assets/icon-59-BxYpVoLi.js +6 -0
  225. package/dist/assets/icon-6-DGMnODWY.js +7 -0
  226. package/dist/assets/icon-60-nT25Jfot.js +6 -0
  227. package/dist/assets/icon-61-TWCIas0q.js +6 -0
  228. package/dist/assets/icon-62-B2rpCbSK.js +6 -0
  229. package/dist/assets/icon-63-xnsp2xo2.js +6 -0
  230. package/dist/assets/icon-64-PMlrHZZa.js +6 -0
  231. package/dist/assets/icon-65-BmQAifhj.js +6 -0
  232. package/dist/assets/icon-66-DeV16I8-.js +6 -0
  233. package/dist/assets/icon-67-B8HsO_gP.js +6 -0
  234. package/dist/assets/icon-68-ComCfpKF.js +6 -0
  235. package/dist/assets/icon-69-CG4uEyXD.js +5 -0
  236. package/dist/assets/icon-7-D7QV8iDt.js +7 -0
  237. package/dist/assets/icon-70-DhuszGqg.js +5 -0
  238. package/dist/assets/icon-71-CECea36R.js +8 -0
  239. package/dist/assets/icon-72-D6Cilerx.js +5 -0
  240. package/dist/assets/icon-73-BcXKN0_Q.js +6 -0
  241. package/dist/assets/icon-74-x-WCCw7Y.js +6 -0
  242. package/dist/assets/icon-75-DwYg3aAl.js +6 -0
  243. package/dist/assets/icon-76-Dmh1yl_o.js +6 -0
  244. package/dist/assets/icon-77-BWpZprdZ.js +6 -0
  245. package/dist/assets/icon-78--zVbx8yc.js +6 -0
  246. package/dist/assets/icon-79-CEUXlPh-.js +6 -0
  247. package/dist/assets/icon-8-BdsnITTH.js +7 -0
  248. package/dist/assets/icon-80-Bg-ZZRLP.js +7 -0
  249. package/dist/assets/icon-81-cD-KNOoy.js +6 -0
  250. package/dist/assets/icon-82-16FU2TZ-.js +6 -0
  251. package/dist/assets/icon-83-CvL4wS1h.js +6 -0
  252. package/dist/assets/icon-84-BfiboSwi.js +6 -0
  253. package/dist/assets/icon-85-LB0Ura8Y.js +6 -0
  254. package/dist/assets/icon-86-DWja1qqa.js +6 -0
  255. package/dist/assets/icon-87-GQ4vkWov.js +6 -0
  256. package/dist/assets/icon-88-Bjb3oyjh.js +6 -0
  257. package/dist/assets/icon-89-CS3JNCxI.js +6 -0
  258. package/dist/assets/icon-9-aGq56hE7.js +6 -0
  259. package/dist/assets/icon-90-B0_E4np7.js +6 -0
  260. package/dist/assets/icon-91-D_7zfU7y.js +8 -0
  261. package/dist/assets/icon-92-DMMH9vOM.js +6 -0
  262. package/dist/assets/icon-93-wLckB8wM.js +6 -0
  263. package/dist/assets/icon-94-CjD59yDM.js +6 -0
  264. package/dist/assets/icon-95-CipgPXt3.js +7 -0
  265. package/dist/assets/icon-96-DeADzXz2.js +8 -0
  266. package/dist/assets/icon-97-BNxSQhrs.js +7 -0
  267. package/dist/assets/icon-98-CZW2Twh8.js +6 -0
  268. package/dist/assets/icon-99-CIA1GOq3.js +6 -0
  269. package/dist/assets/id-ID-SAP4L64H-VhaoENjR.js +10 -0
  270. package/dist/assets/image-blob-reduce.esm-BZtWH-rr.js +2 -0
  271. package/dist/assets/index-CDNl17QJ.css +1 -0
  272. package/dist/assets/index-CboxqaL5.js +328 -0
  273. package/dist/assets/index-DBGHN_5E.js +624 -0
  274. package/dist/assets/infoDiagram-27XIBGKW-CM9Hap0f.js +2 -0
  275. package/dist/assets/ishikawaDiagram-5VMMS53U-i8pQztJI.js +70 -0
  276. package/dist/assets/it-IT-JPQ66NNP-Dj9BkXfh.js +11 -0
  277. package/dist/assets/ja-JP-DBVTYXUO-CB2BlfIS.js +8 -0
  278. package/dist/assets/journeyDiagram-3NMN7TZE-PxcdqONT.js +139 -0
  279. package/dist/assets/kaa-6HZHGXH3-CLnR_zY5.js +1 -0
  280. package/dist/assets/kab-KAB-ZGHBKWFO-8TJr4nPf.js +8 -0
  281. package/dist/assets/kanban-definition-UXKFOSKX-B2p5NBhO.js +89 -0
  282. package/dist/assets/katex-HP8lGamR.js +257 -0
  283. package/dist/assets/kk-KZ-P5N5QNE5-5uZYjZ2e.js +1 -0
  284. package/dist/assets/km-KH-HSX4SM5Z-D54aOpMd.js +11 -0
  285. package/dist/assets/ko-KR-MTYHY66A-Bnm0G6eo.js +9 -0
  286. package/dist/assets/ku-TR-6OUDTVRD-CtGCn_eB.js +9 -0
  287. package/dist/assets/layout-BBV3_Svw.js +1 -0
  288. package/dist/assets/libavoid-BRQRZjmQ.wasm +0 -0
  289. package/dist/assets/lt-LT-XHIRWOB4-Bl8G0yv6.js +3 -0
  290. package/dist/assets/lv-LV-5QDEKY6T-Cax93Eua.js +7 -0
  291. package/dist/assets/mindmap-definition-YA3MSWOX-CsOezwmE.js +96 -0
  292. package/dist/assets/mr-IN-CRQNXWMA-Br7GVyJH.js +13 -0
  293. package/dist/assets/my-MM-5M5IBNSE-xC6lzTDV.js +1 -0
  294. package/dist/assets/nb-NO-T6EIAALU-B0i5THqA.js +10 -0
  295. package/dist/assets/nl-NL-IS3SIHDZ-CqYhUjP3.js +8 -0
  296. package/dist/assets/nn-NO-6E72VCQL-rpjr_9Z5.js +8 -0
  297. package/dist/assets/oc-FR-POXYY2M6-BlhQ99Ty.js +8 -0
  298. package/dist/assets/pa-IN-N4M65BXN-N2XbQgZ_.js +4 -0
  299. package/dist/assets/pegDiagram-XKGWAZYB-C2iSJgYQ.js +1 -0
  300. package/dist/assets/pica-DvYcrBvx.js +2 -0
  301. package/dist/assets/pieDiagram-E7YTZNPT-CUjgOGBw.js +39 -0
  302. package/dist/assets/pl-PL-T2D74RX3-CnMxn1dA.js +9 -0
  303. package/dist/assets/pt-BR-5N22H2LF-Di-jnHb3.js +9 -0
  304. package/dist/assets/pt-PT-UZXXM6DQ-BaAKq8Sh.js +9 -0
  305. package/dist/assets/quadrantDiagram-AXDQQJYC-DwwqgJXZ.js +7 -0
  306. package/dist/assets/railroadDiagram-O6MQD6OU-DyRgYGPF.js +1 -0
  307. package/dist/assets/requirementDiagram-BXWQKSXE-C3ixXeHJ.js +84 -0
  308. package/dist/assets/ro-RO-JPDTUUEW-BWrclVyo.js +11 -0
  309. package/dist/assets/roundRect-mAH3dD0p.js +1 -0
  310. package/dist/assets/ru-RU-B4JR7IUQ-_z0DINaG.js +9 -0
  311. package/dist/assets/sankeyDiagram-P5KCCOFB-mKpKYI_w.js +40 -0
  312. package/dist/assets/sequenceDiagram-WJ2MYXX4-ZkNd0Wnj.js +162 -0
  313. package/dist/assets/si-LK-N5RQ5JYF-CdKOb383.js +1 -0
  314. package/dist/assets/sizeCapture-INFHLROL-hQLGO-0z.js +1 -0
  315. package/dist/assets/sk-SK-C5VTKIMK-MHJC6ZIe.js +6 -0
  316. package/dist/assets/sl-SI-NN7IZMDC-BF9YWbZx.js +6 -0
  317. package/dist/assets/stateDiagram-D77RDMKH-CRWj3j-B.js +1 -0
  318. package/dist/assets/stateDiagram-v2-MP3YSRHH-B2DcVJGG.js +1 -0
  319. package/dist/assets/subset-shared.chunk-DtxXjVIA.js +22 -0
  320. package/dist/assets/subset-worker.chunk-DONNSbUF.js +1 -0
  321. package/dist/assets/sv-SE-XGPEYMSR-DkaTkfUY.js +10 -0
  322. package/dist/assets/swimlanes-42K2YHIH-CFf6j7jO.js +1 -0
  323. package/dist/assets/swimlanesDiagram-VR7AAH4N-DO_W2uN2.js +8 -0
  324. package/dist/assets/ta-IN-2NMHFXQM-BfxqXEDI.js +9 -0
  325. package/dist/assets/th-TH-HPSO5L25-DT3vLA39.js +2 -0
  326. package/dist/assets/timeline-definition-24CTP7MA-BGP2Dq8M.js +120 -0
  327. package/dist/assets/tr-TR-DEFEU3FU-CdfsG7py.js +7 -0
  328. package/dist/assets/uk-UA-QMV73CPH-CZrQuC1S.js +6 -0
  329. package/dist/assets/vennDiagram-4TSXK5OY-CaxGPIab.js +34 -0
  330. package/dist/assets/vi-VN-M7AON7JQ-DQJk1_KV.js +5 -0
  331. package/dist/assets/wardleyDiagram-VM6X3IG4-DQxQ-zXH.js +78 -0
  332. package/dist/assets/xychartDiagram-S5SC5T6Z-DoxdZQ6R.js +7 -0
  333. package/dist/assets/zh-CN-LNUGB5OW-DRVBfkOy.js +10 -0
  334. package/dist/assets/zh-HK-E62DVLB3-BJHrltss.js +1 -0
  335. package/dist/assets/zh-TW-RAJ6MFWO-DpMZ5m2x.js +9 -0
  336. package/dist/fonts/Assistant/Assistant-Bold.woff2 +0 -0
  337. package/dist/fonts/Assistant/Assistant-Medium.woff2 +0 -0
  338. package/dist/fonts/Assistant/Assistant-Regular.woff2 +0 -0
  339. package/dist/fonts/Assistant/Assistant-SemiBold.woff2 +0 -0
  340. package/dist/fonts/Cascadia/CascadiaCode-Regular.woff2 +0 -0
  341. package/dist/fonts/ComicShanns/ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4.woff2 +0 -0
  342. package/dist/fonts/ComicShanns/ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c.woff2 +0 -0
  343. package/dist/fonts/ComicShanns/ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17.woff2 +0 -0
  344. package/dist/fonts/ComicShanns/ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039.woff2 +0 -0
  345. package/dist/fonts/Excalifont/Excalifont-Regular-349fac6ca4700ffec595a7150a0d1e1d.woff2 +0 -0
  346. package/dist/fonts/Excalifont/Excalifont-Regular-3f2c5db56cc93c5a6873b1361d730c16.woff2 +0 -0
  347. package/dist/fonts/Excalifont/Excalifont-Regular-41b173a47b57366892116a575a43e2b6.woff2 +0 -0
  348. package/dist/fonts/Excalifont/Excalifont-Regular-623ccf21b21ef6b3a0d87738f77eb071.woff2 +0 -0
  349. package/dist/fonts/Excalifont/Excalifont-Regular-a88b72a24fb54c9f94e3b5fdaa7481c9.woff2 +0 -0
  350. package/dist/fonts/Excalifont/Excalifont-Regular-b9dcf9d2e50a1eaf42fc664b50a3fd0d.woff2 +0 -0
  351. package/dist/fonts/Excalifont/Excalifont-Regular-be310b9bcd4f1a43f571c46df7809174.woff2 +0 -0
  352. package/dist/fonts/Liberation/LiberationSans-Regular.woff2 +0 -0
  353. package/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
  354. package/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
  355. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
  356. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
  357. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
  358. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
  359. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
  360. package/dist/fonts/Virgil/Virgil-Regular.woff2 +0 -0
  361. package/dist/fonts/Xiaolai/Xiaolai-Regular-019d66dcad46dc156b162d267f981c20.woff2 +0 -0
  362. package/dist/fonts/Xiaolai/Xiaolai-Regular-04b718e5623574919c8b0dea5f301444.woff2 +0 -0
  363. package/dist/fonts/Xiaolai/Xiaolai-Regular-069e77aac84590e2e991d0a0176d34f2.woff2 +0 -0
  364. package/dist/fonts/Xiaolai/Xiaolai-Regular-06c77b8c66e51ed6c63ccb502dd8b8af.woff2 +0 -0
  365. package/dist/fonts/Xiaolai/Xiaolai-Regular-08e0dc436ad0ad61ba5558db0674d762.woff2 +0 -0
  366. package/dist/fonts/Xiaolai/Xiaolai-Regular-093b9ef39a46ceae95a1df18a0a3a326.woff2 +0 -0
  367. package/dist/fonts/Xiaolai/Xiaolai-Regular-095c169f3314805276f603a362766abd.woff2 +0 -0
  368. package/dist/fonts/Xiaolai/Xiaolai-Regular-09850c4077f3fffe707905872e0e2460.woff2 +0 -0
  369. package/dist/fonts/Xiaolai/Xiaolai-Regular-0986d134c05864f5025962eef9f994a0.woff2 +0 -0
  370. package/dist/fonts/Xiaolai/Xiaolai-Regular-0b5d723fdc4e249c140f0909e87d03b4.woff2 +0 -0
  371. package/dist/fonts/Xiaolai/Xiaolai-Regular-0f626226ba1272e832aea87bafd9720e.woff2 +0 -0
  372. package/dist/fonts/Xiaolai/Xiaolai-Regular-0f7fb1e0d5015bb1371343153ecf7ce3.woff2 +0 -0
  373. package/dist/fonts/Xiaolai/Xiaolai-Regular-0fa55a080fcd0f9dc2e0b0058b793df8.woff2 +0 -0
  374. package/dist/fonts/Xiaolai/Xiaolai-Regular-0facdf1ea213ba40261022f5d5ed4493.woff2 +0 -0
  375. package/dist/fonts/Xiaolai/Xiaolai-Regular-10a7ae9a371830a80c3d844acf1c02d7.woff2 +0 -0
  376. package/dist/fonts/Xiaolai/Xiaolai-Regular-112c051027b2d766c19a519f6ee1f4f7.woff2 +0 -0
  377. package/dist/fonts/Xiaolai/Xiaolai-Regular-11c345711937f0ba4b8f7b6b919c8440.woff2 +0 -0
  378. package/dist/fonts/Xiaolai/Xiaolai-Regular-12b52b58eb3df36804b9a654ec9ee194.woff2 +0 -0
  379. package/dist/fonts/Xiaolai/Xiaolai-Regular-13ae07ed2e272d26d59bc0691cd7117a.woff2 +0 -0
  380. package/dist/fonts/Xiaolai/Xiaolai-Regular-13d2887ec8ee73c43acdabc52a05af7b.woff2 +0 -0
  381. package/dist/fonts/Xiaolai/Xiaolai-Regular-145aa02cdd91946e67dc934e1acffe75.woff2 +0 -0
  382. package/dist/fonts/Xiaolai/Xiaolai-Regular-15dc6d811c9cd078f9086a740d5a1038.woff2 +0 -0
  383. package/dist/fonts/Xiaolai/Xiaolai-Regular-173945821411c09f70c95f98d590e697.woff2 +0 -0
  384. package/dist/fonts/Xiaolai/Xiaolai-Regular-1b611157cd46bb184d4fa4dae2d6a2b8.woff2 +0 -0
  385. package/dist/fonts/Xiaolai/Xiaolai-Regular-1e6fd68f1f3902ce48ce8c69df385622.woff2 +0 -0
  386. package/dist/fonts/Xiaolai/Xiaolai-Regular-1ee544f0f1dac422545c505baa788992.woff2 +0 -0
  387. package/dist/fonts/Xiaolai/Xiaolai-Regular-1fdc0c67ed57263a80fd108c1f6ccf24.woff2 +0 -0
  388. package/dist/fonts/Xiaolai/Xiaolai-Regular-203b0e569e3b14aac86a003dc3fa523e.woff2 +0 -0
  389. package/dist/fonts/Xiaolai/Xiaolai-Regular-20cc1bbf50e7efb442756cb605672c1f.woff2 +0 -0
  390. package/dist/fonts/Xiaolai/Xiaolai-Regular-20e7bf72fa05de9adf7dbcc7bf51dde6.woff2 +0 -0
  391. package/dist/fonts/Xiaolai/Xiaolai-Regular-21430ee05a1248901da8d0de08744d47.woff2 +0 -0
  392. package/dist/fonts/Xiaolai/Xiaolai-Regular-23686f7f29da6e8008c36dd3a80c83d6.woff2 +0 -0
  393. package/dist/fonts/Xiaolai/Xiaolai-Regular-23ad2d71b280f00b1363b95b7bea94eb.woff2 +0 -0
  394. package/dist/fonts/Xiaolai/Xiaolai-Regular-23f228f3999c01983860012330e4be08.woff2 +0 -0
  395. package/dist/fonts/Xiaolai/Xiaolai-Regular-24476a126f129212beb33f66853ea151.woff2 +0 -0
  396. package/dist/fonts/Xiaolai/Xiaolai-Regular-24a21c1e4449222e8d1898d69ff3a404.woff2 +0 -0
  397. package/dist/fonts/Xiaolai/Xiaolai-Regular-25b7f38e18f035f96cb5e547bd2bd08c.woff2 +0 -0
  398. package/dist/fonts/Xiaolai/Xiaolai-Regular-29cec36cd205b211da97acabaa62f055.woff2 +0 -0
  399. package/dist/fonts/Xiaolai/Xiaolai-Regular-2a26d20a23b00898ce82f09d2ee47c3f.woff2 +0 -0
  400. package/dist/fonts/Xiaolai/Xiaolai-Regular-2adbc89c11e65905393d3dfc468b9d5b.woff2 +0 -0
  401. package/dist/fonts/Xiaolai/Xiaolai-Regular-2b7441d46298788ac94e610ffcc709b6.woff2 +0 -0
  402. package/dist/fonts/Xiaolai/Xiaolai-Regular-2b77e8ebfb2367ab2662396a60e7d320.woff2 +0 -0
  403. package/dist/fonts/Xiaolai/Xiaolai-Regular-2cf96d082d35ea3d8106851223ad0d16.woff2 +0 -0
  404. package/dist/fonts/Xiaolai/Xiaolai-Regular-2d43040e86ff03ba677f6f9c04cd0805.woff2 +0 -0
  405. package/dist/fonts/Xiaolai/Xiaolai-Regular-2e33e8dc771ef5e1d9127d60a6b73679.woff2 +0 -0
  406. package/dist/fonts/Xiaolai/Xiaolai-Regular-33432927cd87d40cfe393c7482bf221f.woff2 +0 -0
  407. package/dist/fonts/Xiaolai/Xiaolai-Regular-353f33792a8f60dc69323ddf635a269e.woff2 +0 -0
  408. package/dist/fonts/Xiaolai/Xiaolai-Regular-36925dfe329a45086cbb7fc5c20d45ac.woff2 +0 -0
  409. package/dist/fonts/Xiaolai/Xiaolai-Regular-3717077e38f98d89eae729b6c14e56dc.woff2 +0 -0
  410. package/dist/fonts/Xiaolai/Xiaolai-Regular-3756e81d3e149cf6099163ee79944fec.woff2 +0 -0
  411. package/dist/fonts/Xiaolai/Xiaolai-Regular-395c35dd584b56b0789f58a0559beaf1.woff2 +0 -0
  412. package/dist/fonts/Xiaolai/Xiaolai-Regular-3c9de2ae0ea4bc91a510942dfa4be8d2.woff2 +0 -0
  413. package/dist/fonts/Xiaolai/Xiaolai-Regular-3cc70dbb64df5b21f1326cc24dee2195.woff2 +0 -0
  414. package/dist/fonts/Xiaolai/Xiaolai-Regular-3e1f8f654357353bf0e04ba5c34b5f7f.woff2 +0 -0
  415. package/dist/fonts/Xiaolai/Xiaolai-Regular-3e63ed8162808a9e425ed80a8bc79114.woff2 +0 -0
  416. package/dist/fonts/Xiaolai/Xiaolai-Regular-3eaa538115d76932653c21d8dc28f207.woff2 +0 -0
  417. package/dist/fonts/Xiaolai/Xiaolai-Regular-4095eb84ef3874e2600247bee0b04026.woff2 +0 -0
  418. package/dist/fonts/Xiaolai/Xiaolai-Regular-41521fade99856108931b4768b1b2648.woff2 +0 -0
  419. package/dist/fonts/Xiaolai/Xiaolai-Regular-450da755d5bcb70906e1295e559b9602.woff2 +0 -0
  420. package/dist/fonts/Xiaolai/Xiaolai-Regular-452225341522a7942f0f6aab1a5c91a3.woff2 +0 -0
  421. package/dist/fonts/Xiaolai/Xiaolai-Regular-4535823663ad81405188a528d8f2b1a2.woff2 +0 -0
  422. package/dist/fonts/Xiaolai/Xiaolai-Regular-4806e761d750087c2d734fc64596eaff.woff2 +0 -0
  423. package/dist/fonts/Xiaolai/Xiaolai-Regular-4a0fdb40036e87b40aa08dd30584cb85.woff2 +0 -0
  424. package/dist/fonts/Xiaolai/Xiaolai-Regular-4a38cc3e9cf104e69ba246d37f8cf135.woff2 +0 -0
  425. package/dist/fonts/Xiaolai/Xiaolai-Regular-4aca6a43e59aceee2166b0c7e4e85ef1.woff2 +0 -0
  426. package/dist/fonts/Xiaolai/Xiaolai-Regular-4bfaa8ffa64c5ee560aa2daba7c9cbd3.woff2 +0 -0
  427. package/dist/fonts/Xiaolai/Xiaolai-Regular-4dc6d5f188d5c96d44815cd1e81aa885.woff2 +0 -0
  428. package/dist/fonts/Xiaolai/Xiaolai-Regular-4ddc14ed3eb0c3e46364317dfc0144a3.woff2 +0 -0
  429. package/dist/fonts/Xiaolai/Xiaolai-Regular-4ee10ae43505e2e0bc62656ced49c0fa.woff2 +0 -0
  430. package/dist/fonts/Xiaolai/Xiaolai-Regular-4f50e5136e136527280bc902c5817561.woff2 +0 -0
  431. package/dist/fonts/Xiaolai/Xiaolai-Regular-51502f1206be09c565f1547c406e9558.woff2 +0 -0
  432. package/dist/fonts/Xiaolai/Xiaolai-Regular-51a0e808bbc8361236ac521a119758a3.woff2 +0 -0
  433. package/dist/fonts/Xiaolai/Xiaolai-Regular-52a84a22fd1369bffeaf21da2d6158dc.woff2 +0 -0
  434. package/dist/fonts/Xiaolai/Xiaolai-Regular-5330a2119a716e4e7224ed108b085dac.woff2 +0 -0
  435. package/dist/fonts/Xiaolai/Xiaolai-Regular-543fa46ace099a7099dad69123399400.woff2 +0 -0
  436. package/dist/fonts/Xiaolai/Xiaolai-Regular-544fc28abe2c5c30e62383fd4dac255f.woff2 +0 -0
  437. package/dist/fonts/Xiaolai/Xiaolai-Regular-54acdfc2166ad7fcbd074f75fd4a56ba.woff2 +0 -0
  438. package/dist/fonts/Xiaolai/Xiaolai-Regular-5572b3513ba8df57a3d5d7303ee6b11b.woff2 +0 -0
  439. package/dist/fonts/Xiaolai/Xiaolai-Regular-56467a5c8840c4d23a60b2f935114848.woff2 +0 -0
  440. package/dist/fonts/Xiaolai/Xiaolai-Regular-56a32a7689abd0326e57c10c6c069bb4.woff2 +0 -0
  441. package/dist/fonts/Xiaolai/Xiaolai-Regular-57862b464a55b18c7bf234ce22907d73.woff2 +0 -0
  442. package/dist/fonts/Xiaolai/Xiaolai-Regular-583d166e56ba0de4b77eabb47ef67839.woff2 +0 -0
  443. package/dist/fonts/Xiaolai/Xiaolai-Regular-5882ffa04f32584d26109137e2da4352.woff2 +0 -0
  444. package/dist/fonts/Xiaolai/Xiaolai-Regular-58fd02350d0bc52cf1ca3bb32ce9766e.woff2 +0 -0
  445. package/dist/fonts/Xiaolai/Xiaolai-Regular-5935a5775af3d5c6307ac667bd9ae74e.woff2 +0 -0
  446. package/dist/fonts/Xiaolai/Xiaolai-Regular-59e9ff77b0efaf684bc09274fb6908c9.woff2 +0 -0
  447. package/dist/fonts/Xiaolai/Xiaolai-Regular-5a1ce3117cfe90c48e8fb4a9a00f694d.woff2 +0 -0
  448. package/dist/fonts/Xiaolai/Xiaolai-Regular-5a45d991244d4c7140217e1e5f5ca4f4.woff2 +0 -0
  449. package/dist/fonts/Xiaolai/Xiaolai-Regular-5a7fac4b8b23a6e4e5ba0c9bf1756c91.woff2 +0 -0
  450. package/dist/fonts/Xiaolai/Xiaolai-Regular-5b0ed6971aaab9c8ad563230bd5471a7.woff2 +0 -0
  451. package/dist/fonts/Xiaolai/Xiaolai-Regular-5d2898fbc097a7e24c6f38d80587621e.woff2 +0 -0
  452. package/dist/fonts/Xiaolai/Xiaolai-Regular-603aefd23e350ba7eb124273e3c9bcf1.woff2 +0 -0
  453. package/dist/fonts/Xiaolai/Xiaolai-Regular-60a3089806700d379f11827ee9843b6b.woff2 +0 -0
  454. package/dist/fonts/Xiaolai/Xiaolai-Regular-60a41c7e1c68f22424e6d22df544bc82.woff2 +0 -0
  455. package/dist/fonts/Xiaolai/Xiaolai-Regular-642b26e2e5f5fb780b51b593dbc8c851.woff2 +0 -0
  456. package/dist/fonts/Xiaolai/Xiaolai-Regular-66493ba5a8367f2928812f446f47b56a.woff2 +0 -0
  457. package/dist/fonts/Xiaolai/Xiaolai-Regular-670ba603758d94268e8606f240a42e12.woff2 +0 -0
  458. package/dist/fonts/Xiaolai/Xiaolai-Regular-671a2c20b1eb9e4ef8a192833940e319.woff2 +0 -0
  459. package/dist/fonts/Xiaolai/Xiaolai-Regular-684d65f1793cac449dde5d59cb3c47fb.woff2 +0 -0
  460. package/dist/fonts/Xiaolai/Xiaolai-Regular-69c09cc5fa3e55c74fc4821f76909cc3.woff2 +0 -0
  461. package/dist/fonts/Xiaolai/Xiaolai-Regular-6ae5b42180ad70b971c91e7eefb8eba2.woff2 +0 -0
  462. package/dist/fonts/Xiaolai/Xiaolai-Regular-6e092f71c1e634059ada0e52abadce67.woff2 +0 -0
  463. package/dist/fonts/Xiaolai/Xiaolai-Regular-6f3256af8454371776bc46670d33cc65.woff2 +0 -0
  464. package/dist/fonts/Xiaolai/Xiaolai-Regular-6fe5c5973cc06f74b2387a631ea36b88.woff2 +0 -0
  465. package/dist/fonts/Xiaolai/Xiaolai-Regular-70c2eb8d64e71a42a834eb857ea9df51.woff2 +0 -0
  466. package/dist/fonts/Xiaolai/Xiaolai-Regular-70e811fd7994e61f408c923de6ddd078.woff2 +0 -0
  467. package/dist/fonts/Xiaolai/Xiaolai-Regular-7197d6fda6cba7c3874c53d6381ca239.woff2 +0 -0
  468. package/dist/fonts/Xiaolai/Xiaolai-Regular-72252d73220fa3cd856677888cee1635.woff2 +0 -0
  469. package/dist/fonts/Xiaolai/Xiaolai-Regular-72536a3d71b694a0d53dd90ddceae41e.woff2 +0 -0
  470. package/dist/fonts/Xiaolai/Xiaolai-Regular-726303e0774b4e678bff8c2deb6ca603.woff2 +0 -0
  471. package/dist/fonts/Xiaolai/Xiaolai-Regular-733171b4ffcd17ea1fe1c0ba627173bf.woff2 +0 -0
  472. package/dist/fonts/Xiaolai/Xiaolai-Regular-739bc1a567439c7cffcd1614644593d2.woff2 +0 -0
  473. package/dist/fonts/Xiaolai/Xiaolai-Regular-73e309718fd16cea44b4d54a33581811.woff2 +0 -0
  474. package/dist/fonts/Xiaolai/Xiaolai-Regular-7494dc504ae00ee9cd0505f990f88c5d.woff2 +0 -0
  475. package/dist/fonts/Xiaolai/Xiaolai-Regular-74e2263a91439c25b91d5132ce9f4d62.woff2 +0 -0
  476. package/dist/fonts/Xiaolai/Xiaolai-Regular-761d05e3cd968cf574166867998ef06a.woff2 +0 -0
  477. package/dist/fonts/Xiaolai/Xiaolai-Regular-7718fe60986d8b42b1be9c5ace5ccf25.woff2 +0 -0
  478. package/dist/fonts/Xiaolai/Xiaolai-Regular-774d4f764a1299da5d28ec2f2ffe0d69.woff2 +0 -0
  479. package/dist/fonts/Xiaolai/Xiaolai-Regular-79d494361ae093b69e74ee9dbe65bfd4.woff2 +0 -0
  480. package/dist/fonts/Xiaolai/Xiaolai-Regular-79f007c1c6d07557120982951ea67998.woff2 +0 -0
  481. package/dist/fonts/Xiaolai/Xiaolai-Regular-7a07ddc0f0c0f5f4a9bad6ee3dda66b5.woff2 +0 -0
  482. package/dist/fonts/Xiaolai/Xiaolai-Regular-7ab2bed91166a9dca83a5ebfbe2a7f38.woff2 +0 -0
  483. package/dist/fonts/Xiaolai/Xiaolai-Regular-7ccce86603f80a099ddb0cb21d4ae3e3.woff2 +0 -0
  484. package/dist/fonts/Xiaolai/Xiaolai-Regular-7e4bde7e9c7f84cd34d8a845e384c746.woff2 +0 -0
  485. package/dist/fonts/Xiaolai/Xiaolai-Regular-7e929f262f30c8ee78bf398150b1a7cd.woff2 +0 -0
  486. package/dist/fonts/Xiaolai/Xiaolai-Regular-7eb9fffd1aa890d07d0f88cc82e6cfe4.woff2 +0 -0
  487. package/dist/fonts/Xiaolai/Xiaolai-Regular-7f855356ab893b0d2b9c1c83b8116f0e.woff2 +0 -0
  488. package/dist/fonts/Xiaolai/Xiaolai-Regular-829615148e6357d826b9242eb7fbbd1e.woff2 +0 -0
  489. package/dist/fonts/Xiaolai/Xiaolai-Regular-866fa7613df6b3fd272bcfd4530c0bb9.woff2 +0 -0
  490. package/dist/fonts/Xiaolai/Xiaolai-Regular-87599f94b6cc129d505b375798d0d751.woff2 +0 -0
  491. package/dist/fonts/Xiaolai/Xiaolai-Regular-8c2f33cee3993174f7e87c28e4bf42ee.woff2 +0 -0
  492. package/dist/fonts/Xiaolai/Xiaolai-Regular-8d3bcabb847b56243b16afe62adaaf21.woff2 +0 -0
  493. package/dist/fonts/Xiaolai/Xiaolai-Regular-8de5b863cb50dfefdd07cb11c774d579.woff2 +0 -0
  494. package/dist/fonts/Xiaolai/Xiaolai-Regular-8e9f97f01034820170065b2921b4fb5e.woff2 +0 -0
  495. package/dist/fonts/Xiaolai/Xiaolai-Regular-8f476c4c99813d57cbe6eca4727388ad.woff2 +0 -0
  496. package/dist/fonts/Xiaolai/Xiaolai-Regular-903bb6865f3452e2fda42e3a25547bc5.woff2 +0 -0
  497. package/dist/fonts/Xiaolai/Xiaolai-Regular-91ddb2969bf2d31ba02ad82998d1314c.woff2 +0 -0
  498. package/dist/fonts/Xiaolai/Xiaolai-Regular-938d90c10ff8c20386af7f242c05d6b0.woff2 +0 -0
  499. package/dist/fonts/Xiaolai/Xiaolai-Regular-93fc8f28a33234bcadf1527cafabd502.woff2 +0 -0
  500. package/dist/fonts/Xiaolai/Xiaolai-Regular-95429962233afd82db1c27df1500a28c.woff2 +0 -0
  501. package/dist/fonts/Xiaolai/Xiaolai-Regular-9544732d2e62d1a429674f8ee41b5d3a.woff2 +0 -0
  502. package/dist/fonts/Xiaolai/Xiaolai-Regular-9592bfc861f07bcb8d75c196b370e548.woff2 +0 -0
  503. package/dist/fonts/Xiaolai/Xiaolai-Regular-95bfd249da4902577b4b7d76ebdd0b44.woff2 +0 -0
  504. package/dist/fonts/Xiaolai/Xiaolai-Regular-968cffdc8ee679da094e77ebf50f58ef.woff2 +0 -0
  505. package/dist/fonts/Xiaolai/Xiaolai-Regular-97f7f48ce90c9429bf32ae51469db74d.woff2 +0 -0
  506. package/dist/fonts/Xiaolai/Xiaolai-Regular-982b630266d87db93d2539affb1275c6.woff2 +0 -0
  507. package/dist/fonts/Xiaolai/Xiaolai-Regular-98f2ad84457de7f3740d9920b8fa8667.woff2 +0 -0
  508. package/dist/fonts/Xiaolai/Xiaolai-Regular-99a16ef6a64934d5781933dbd9c46b2e.woff2 +0 -0
  509. package/dist/fonts/Xiaolai/Xiaolai-Regular-9cfb2a77a4e45025105ad29a1748b90d.woff2 +0 -0
  510. package/dist/fonts/Xiaolai/Xiaolai-Regular-9d81066dd2b337c938df6e90380a00dc.woff2 +0 -0
  511. package/dist/fonts/Xiaolai/Xiaolai-Regular-9eb5a99df4e76ac3363453ac9ca288b1.woff2 +0 -0
  512. package/dist/fonts/Xiaolai/Xiaolai-Regular-a004ddfcb26e67bd6e678c8ed19e25ce.woff2 +0 -0
  513. package/dist/fonts/Xiaolai/Xiaolai-Regular-a0ca5df4258213d7fc9fce80f65ce760.woff2 +0 -0
  514. package/dist/fonts/Xiaolai/Xiaolai-Regular-a1f916d6039285c4ffb900cd654e418f.woff2 +0 -0
  515. package/dist/fonts/Xiaolai/Xiaolai-Regular-a203b91dad570bf05a58c3c3ddb529bf.woff2 +0 -0
  516. package/dist/fonts/Xiaolai/Xiaolai-Regular-a365e82ed54697a52f27adcea1315fe8.woff2 +0 -0
  517. package/dist/fonts/Xiaolai/Xiaolai-Regular-a4c34be6d42152e64b0df90bc4607f64.woff2 +0 -0
  518. package/dist/fonts/Xiaolai/Xiaolai-Regular-a7accba310e821da5505f71c03b76bdb.woff2 +0 -0
  519. package/dist/fonts/Xiaolai/Xiaolai-Regular-aa0d470430e6391eca720c7cfa44446f.woff2 +0 -0
  520. package/dist/fonts/Xiaolai/Xiaolai-Regular-aa5c9ca6cf4fba00433b7aa3fa10671a.woff2 +0 -0
  521. package/dist/fonts/Xiaolai/Xiaolai-Regular-ac9ceb44437becc3e9c4dbfebab7fc2d.woff2 +0 -0
  522. package/dist/fonts/Xiaolai/Xiaolai-Regular-b1220a3c61f85cc0408deedb4c5f57a2.woff2 +0 -0
  523. package/dist/fonts/Xiaolai/Xiaolai-Regular-b358f7a51ece39a3247942b1feabdb29.woff2 +0 -0
  524. package/dist/fonts/Xiaolai/Xiaolai-Regular-b57aaedfd8ebdf3931f25119dc6a5eb2.woff2 +0 -0
  525. package/dist/fonts/Xiaolai/Xiaolai-Regular-b5c1596551c256e0e9cf02028595b092.woff2 +0 -0
  526. package/dist/fonts/Xiaolai/Xiaolai-Regular-b6d128682ee29e471486354d486a1b90.woff2 +0 -0
  527. package/dist/fonts/Xiaolai/Xiaolai-Regular-b6fd38ca30869792244804b04bc058da.woff2 +0 -0
  528. package/dist/fonts/Xiaolai/Xiaolai-Regular-b7d203b051eff504ff59ddca7576b6a9.woff2 +0 -0
  529. package/dist/fonts/Xiaolai/Xiaolai-Regular-b96d9226ce77ec94ceca043d712182e6.woff2 +0 -0
  530. package/dist/fonts/Xiaolai/Xiaolai-Regular-ba3de316d63c7e339987b16f41a0b879.woff2 +0 -0
  531. package/dist/fonts/Xiaolai/Xiaolai-Regular-bafff7a14c27403dcc6cf1432e8ea836.woff2 +0 -0
  532. package/dist/fonts/Xiaolai/Xiaolai-Regular-bd77e3c7f9e0b072d96af37f73d1aa32.woff2 +0 -0
  533. package/dist/fonts/Xiaolai/Xiaolai-Regular-be549ab72f0719d606a5c01e2c0219b6.woff2 +0 -0
  534. package/dist/fonts/Xiaolai/Xiaolai-Regular-c16ed9740b85badf16e86ea782a3062f.woff2 +0 -0
  535. package/dist/fonts/Xiaolai/Xiaolai-Regular-c1f94158256bb1f3bf665b053d895af9.woff2 +0 -0
  536. package/dist/fonts/Xiaolai/Xiaolai-Regular-c40533fdf4cc57177b12803598af7e59.woff2 +0 -0
  537. package/dist/fonts/Xiaolai/Xiaolai-Regular-c4a687ac4f0c2766eefc9f77ed99cddf.woff2 +0 -0
  538. package/dist/fonts/Xiaolai/Xiaolai-Regular-c69f61a4ab18d0488c8d1fc12e7028e8.woff2 +0 -0
  539. package/dist/fonts/Xiaolai/Xiaolai-Regular-c8b71798409ccc126ee264a00aadcf21.woff2 +0 -0
  540. package/dist/fonts/Xiaolai/Xiaolai-Regular-c99eda15fc26a2941579560f76c3a5cf.woff2 +0 -0
  541. package/dist/fonts/Xiaolai/Xiaolai-Regular-cb17fc3db95f6d139afc9d31a8e93293.woff2 +0 -0
  542. package/dist/fonts/Xiaolai/Xiaolai-Regular-cbaaefaaf326668277aa24dfa93c4d28.woff2 +0 -0
  543. package/dist/fonts/Xiaolai/Xiaolai-Regular-cd145ce4a0ea18469358df53c207bc1b.woff2 +0 -0
  544. package/dist/fonts/Xiaolai/Xiaolai-Regular-cdbce89e82cc1ab53a2decbf5819278f.woff2 +0 -0
  545. package/dist/fonts/Xiaolai/Xiaolai-Regular-ce4884f96f11589608b76b726a755803.woff2 +0 -0
  546. package/dist/fonts/Xiaolai/Xiaolai-Regular-cf2cc71752631e579e35b0e423bf2638.woff2 +0 -0
  547. package/dist/fonts/Xiaolai/Xiaolai-Regular-cf6ff4e0f491ca0cf3038187a997b9b4.woff2 +0 -0
  548. package/dist/fonts/Xiaolai/Xiaolai-Regular-cfb211578629b7e8153b37240de6a9d5.woff2 +0 -0
  549. package/dist/fonts/Xiaolai/Xiaolai-Regular-d0cf73942fea1c74edbdf0b3011f4656.woff2 +0 -0
  550. package/dist/fonts/Xiaolai/Xiaolai-Regular-d2666cbed13462c5dc36fa2f15c202ca.woff2 +0 -0
  551. package/dist/fonts/Xiaolai/Xiaolai-Regular-d3716376641d615e2995605b29bca7b6.woff2 +0 -0
  552. package/dist/fonts/Xiaolai/Xiaolai-Regular-dac48066b5883d8b4551fc584f0c2a3e.woff2 +0 -0
  553. package/dist/fonts/Xiaolai/Xiaolai-Regular-dbea1af6dcd9860be40c3d18254338f5.woff2 +0 -0
  554. package/dist/fonts/Xiaolai/Xiaolai-Regular-e11567fd2accf9957cd0d3c2be937d87.woff2 +0 -0
  555. package/dist/fonts/Xiaolai/Xiaolai-Regular-e2ead7ea7da0437f085f42ffc05f8d13.woff2 +0 -0
  556. package/dist/fonts/Xiaolai/Xiaolai-Regular-e3fcf5180fd466c8915c4e8069491054.woff2 +0 -0
  557. package/dist/fonts/Xiaolai/Xiaolai-Regular-e480d9c614742d05f0e78f274f1e69e6.woff2 +0 -0
  558. package/dist/fonts/Xiaolai/Xiaolai-Regular-e4bca6cfa53e499cae0a6be4894a90e9.woff2 +0 -0
  559. package/dist/fonts/Xiaolai/Xiaolai-Regular-e51ef413167c6e14e0c0fdcc585f2fc9.woff2 +0 -0
  560. package/dist/fonts/Xiaolai/Xiaolai-Regular-e5f453bb04da18eed01675eeebd88bf8.woff2 +0 -0
  561. package/dist/fonts/Xiaolai/Xiaolai-Regular-e656f091b9dc4709722c9f4b84d3c797.woff2 +0 -0
  562. package/dist/fonts/Xiaolai/Xiaolai-Regular-ec181b795ac1fb5a50d700b6e996d745.woff2 +0 -0
  563. package/dist/fonts/Xiaolai/Xiaolai-Regular-ee8bae97908d5147b423f77ad0d3c1bb.woff2 +0 -0
  564. package/dist/fonts/Xiaolai/Xiaolai-Regular-f0f13b5c60e0af5553bd359f5513be1b.woff2 +0 -0
  565. package/dist/fonts/Xiaolai/Xiaolai-Regular-f2b54d4e7be0eaefe1c2c56836fa5368.woff2 +0 -0
  566. package/dist/fonts/Xiaolai/Xiaolai-Regular-f56414bf9bced67990def8660e306759.woff2 +0 -0
  567. package/dist/fonts/Xiaolai/Xiaolai-Regular-f5d079153c99a25b9be5b8583c4cc8a7.woff2 +0 -0
  568. package/dist/fonts/Xiaolai/Xiaolai-Regular-f6032fc06eb20480f096199713f70885.woff2 +0 -0
  569. package/dist/fonts/Xiaolai/Xiaolai-Regular-f8ee5d36068a42b51d0e4a1116cfcec1.woff2 +0 -0
  570. package/dist/index.html +3 -0
  571. package/dist/layout-runtime/libavoid-js-LICENSE.txt +505 -0
  572. package/dist/layout-runtime/libavoid.wasm +0 -0
  573. package/dist/layout-runtime/wasm-graphviz-LICENSE.txt +201 -0
  574. package/dist/licenses/commonmark-BSD-2-Clause.txt +89 -0
  575. package/dist/licenses/entities-BSD-2-Clause.txt +11 -0
  576. package/dist/licenses/libavoid-js-LGPL-2.1.txt +505 -0
  577. package/dist/licenses/locus-draw-MIT.txt +21 -0
  578. package/dist/licenses/markdown-reading-notices.txt +564 -0
  579. package/dist/licenses/mdurl-MIT.txt +45 -0
  580. package/dist/licenses/wasm-graphviz-Apache-2.0.txt +201 -0
  581. package/docs/AGENTS.md +78 -0
  582. package/docs/BUNDLE-FORMAT.md +212 -0
  583. package/docs/C4-AUTO-LAYOUT.md +170 -0
  584. package/docs/DIAGRAM-COMMUNICATION.md +273 -0
  585. package/docs/DIAGRAM-SOURCE.md +398 -0
  586. package/docs/DSL-AUTHORING.md +360 -0
  587. package/docs/EXPLICIT-LAYOUT.md +161 -0
  588. package/docs/FRESHNESS.md +160 -0
  589. package/docs/LANGUAGE-COMPATIBILITY.md +87 -0
  590. package/docs/LOCAL-DOCUMENT.md +255 -0
  591. package/docs/MODEL-CONTRACT.md +490 -0
  592. package/docs/PI-WORKFLOW.md +597 -0
  593. package/docs/PLANTUML-SOURCE.md +78 -0
  594. package/docs/SCENE-ADAPTER.md +213 -0
  595. package/docs/VIEW-CHAIN.md +129 -0
  596. package/docs/VIEWER-LAUNCH.md +128 -0
  597. package/docs/VIEWER.md +379 -0
  598. package/docs/adr/ADR-001-2026-12-03-inspector-original-document-first/ADR-001-2026-12-03-inspector-original-document-first.md +26 -0
  599. package/docs/adr/ADR-002-2026-12-03-project-selector/ADR-002-2026-12-03-project-selector.md +26 -0
  600. package/docs/adr/ADR-003-2026-12-03-project-authored-task-maps/ADR-003-2026-12-03-project-authored-task-maps.md +32 -0
  601. package/docs/adr/ADR-004-2026-12-03-shared-map-build-and-open/ADR-004-2026-12-03-shared-map-build-and-open.md +28 -0
  602. package/docs/adr/ADR-005-2026-12-04-named-libraries/ADR-005-2026-12-04-named-libraries.md +26 -0
  603. package/docs/adr/ADR-006-2026-12-05-workspace-navigation-rows/ADR-006-2026-12-05-workspace-navigation-rows.md +29 -0
  604. package/docs/adr/ADR-007-2026-12-05-native-edit-selection/ADR-007-2026-12-05-native-edit-selection.md +25 -0
  605. package/docs/assets/locus-map-repository.locus-map.json +1 -0
  606. package/docs/assets/locus-map-repository.mjs +327 -0
  607. package/docs/assets/locus-map-repository.png +0 -0
  608. package/docs/capabilities.json +747 -0
  609. package/docs/compact-component-cards.md +43 -0
  610. package/docs/decisions.md +23 -0
  611. package/docs/index.md +69 -0
  612. package/index.html +1 -0
  613. package/licenses/commonmark-BSD-2-Clause.txt +89 -0
  614. package/licenses/entities-BSD-2-Clause.txt +11 -0
  615. package/licenses/excalidraw-LICENSE +21 -0
  616. package/licenses/libavoid-js-LGPL-2.1.txt +505 -0
  617. package/licenses/locus-draw-MIT.txt +21 -0
  618. package/licenses/markdown-reading-notices.txt +564 -0
  619. package/licenses/mdurl-MIT.txt +45 -0
  620. package/licenses/parse5-MIT.txt +19 -0
  621. package/licenses/react-LICENSE +21 -0
  622. package/licenses/react-dom-LICENSE +21 -0
  623. package/licenses/vendor/@antfu__install-pkg__LICENSE +21 -0
  624. package/licenses/vendor/@babel__runtime__LICENSE +22 -0
  625. package/licenses/vendor/@braintree__sanitize-url__LICENSE +21 -0
  626. package/licenses/vendor/@chevrotain__cst-dts-gen__LICENSE.txt +202 -0
  627. package/licenses/vendor/@chevrotain__gast__LICENSE.txt +202 -0
  628. package/licenses/vendor/@chevrotain__regexp-to-ast__LICENSE.txt +202 -0
  629. package/licenses/vendor/@chevrotain__types__LICENSE.txt +202 -0
  630. package/licenses/vendor/@chevrotain__utils__LICENSE.txt +202 -0
  631. package/licenses/vendor/@excalidraw__excalidraw__node_modules__chokidar__LICENSE +21 -0
  632. package/licenses/vendor/@excalidraw__excalidraw__node_modules__immutable__LICENSE +21 -0
  633. package/licenses/vendor/@excalidraw__excalidraw__node_modules__picomatch__LICENSE +21 -0
  634. package/licenses/vendor/@excalidraw__excalidraw__node_modules__readdirp__LICENSE +21 -0
  635. package/licenses/vendor/@excalidraw__excalidraw__node_modules__sass__LICENSE +1532 -0
  636. package/licenses/vendor/@excalidraw__laser-pointer__LICENSE +21 -0
  637. package/licenses/vendor/@excalidraw__markdown-to-text__LICENSE +21 -0
  638. package/licenses/vendor/@excalidraw__mermaid-to-excalidraw__LICENSE +21 -0
  639. package/licenses/vendor/@excalidraw__mermaid-to-excalidraw__node_modules__nanoid__LICENSE +20 -0
  640. package/licenses/vendor/@excalidraw__random-username__LICENSE +21 -0
  641. package/licenses/vendor/@floating-ui__core__LICENSE +20 -0
  642. package/licenses/vendor/@floating-ui__dom__LICENSE +20 -0
  643. package/licenses/vendor/@floating-ui__react-dom__LICENSE +20 -0
  644. package/licenses/vendor/@floating-ui__utils__LICENSE +20 -0
  645. package/licenses/vendor/@iconify__types__license.txt +21 -0
  646. package/licenses/vendor/@iconify__utils__license.txt +21 -0
  647. package/licenses/vendor/@mermaid-js__parser__LICENSE +21 -0
  648. package/licenses/vendor/@parcel__watcher-linux-x64-glibc__LICENSE +21 -0
  649. package/licenses/vendor/@parcel__watcher__LICENSE +21 -0
  650. package/licenses/vendor/@types__d3-array__LICENSE +21 -0
  651. package/licenses/vendor/@types__d3-axis__LICENSE +21 -0
  652. package/licenses/vendor/@types__d3-brush__LICENSE +21 -0
  653. package/licenses/vendor/@types__d3-chord__LICENSE +21 -0
  654. package/licenses/vendor/@types__d3-color__LICENSE +21 -0
  655. package/licenses/vendor/@types__d3-contour__LICENSE +21 -0
  656. package/licenses/vendor/@types__d3-delaunay__LICENSE +21 -0
  657. package/licenses/vendor/@types__d3-dispatch__LICENSE +21 -0
  658. package/licenses/vendor/@types__d3-drag__LICENSE +21 -0
  659. package/licenses/vendor/@types__d3-dsv__LICENSE +21 -0
  660. package/licenses/vendor/@types__d3-ease__LICENSE +21 -0
  661. package/licenses/vendor/@types__d3-fetch__LICENSE +21 -0
  662. package/licenses/vendor/@types__d3-force__LICENSE +21 -0
  663. package/licenses/vendor/@types__d3-format__LICENSE +21 -0
  664. package/licenses/vendor/@types__d3-geo__LICENSE +21 -0
  665. package/licenses/vendor/@types__d3-hierarchy__LICENSE +21 -0
  666. package/licenses/vendor/@types__d3-interpolate__LICENSE +21 -0
  667. package/licenses/vendor/@types__d3-path__LICENSE +21 -0
  668. package/licenses/vendor/@types__d3-polygon__LICENSE +21 -0
  669. package/licenses/vendor/@types__d3-quadtree__LICENSE +21 -0
  670. package/licenses/vendor/@types__d3-random__LICENSE +21 -0
  671. package/licenses/vendor/@types__d3-scale-chromatic__LICENSE +21 -0
  672. package/licenses/vendor/@types__d3-scale__LICENSE +21 -0
  673. package/licenses/vendor/@types__d3-selection__LICENSE +21 -0
  674. package/licenses/vendor/@types__d3-shape__LICENSE +21 -0
  675. package/licenses/vendor/@types__d3-time-format__LICENSE +21 -0
  676. package/licenses/vendor/@types__d3-time__LICENSE +21 -0
  677. package/licenses/vendor/@types__d3-timer__LICENSE +21 -0
  678. package/licenses/vendor/@types__d3-transition__LICENSE +21 -0
  679. package/licenses/vendor/@types__d3-zoom__LICENSE +21 -0
  680. package/licenses/vendor/@types__d3__LICENSE +21 -0
  681. package/licenses/vendor/@types__estree__LICENSE +21 -0
  682. package/licenses/vendor/@types__geojson__LICENSE +21 -0
  683. package/licenses/vendor/@types__trusted-types__LICENSE +21 -0
  684. package/licenses/vendor/@upsetjs__venn.js__LICENSE +22 -0
  685. package/licenses/vendor/anymatch__LICENSE +15 -0
  686. package/licenses/vendor/anymatch__node_modules__picomatch__LICENSE +21 -0
  687. package/licenses/vendor/aria-hidden__LICENSE +21 -0
  688. package/licenses/vendor/binary-extensions__license +10 -0
  689. package/licenses/vendor/braces__LICENSE +21 -0
  690. package/licenses/vendor/browser-fs-access__LICENSE +201 -0
  691. package/licenses/vendor/canvas-roundrect-polyfill__LICENSE +21 -0
  692. package/licenses/vendor/chevrotain-allstar__LICENSE +16 -0
  693. package/licenses/vendor/chevrotain__LICENSE.txt +202 -0
  694. package/licenses/vendor/chokidar__LICENSE +21 -0
  695. package/licenses/vendor/clsx__license +9 -0
  696. package/licenses/vendor/commander__LICENSE +22 -0
  697. package/licenses/vendor/cose-base__LICENSE +21 -0
  698. package/licenses/vendor/crc-32__LICENSE +14 -0
  699. package/licenses/vendor/cross-env__LICENSE +20 -0
  700. package/licenses/vendor/cross-spawn__LICENSE +21 -0
  701. package/licenses/vendor/cytoscape-cose-bilkent__LICENSE +21 -0
  702. package/licenses/vendor/cytoscape-fcose__LICENSE +19 -0
  703. package/licenses/vendor/cytoscape-fcose__node_modules__cose-base__LICENSE +21 -0
  704. package/licenses/vendor/cytoscape-fcose__node_modules__layout-base__LICENSE +21 -0
  705. package/licenses/vendor/cytoscape__LICENSE +19 -0
  706. package/licenses/vendor/d3-array__LICENSE +13 -0
  707. package/licenses/vendor/d3-axis__LICENSE +13 -0
  708. package/licenses/vendor/d3-brush__LICENSE +13 -0
  709. package/licenses/vendor/d3-chord__LICENSE +13 -0
  710. package/licenses/vendor/d3-color__LICENSE +13 -0
  711. package/licenses/vendor/d3-contour__LICENSE +13 -0
  712. package/licenses/vendor/d3-delaunay__LICENSE +14 -0
  713. package/licenses/vendor/d3-dispatch__LICENSE +13 -0
  714. package/licenses/vendor/d3-drag__LICENSE +13 -0
  715. package/licenses/vendor/d3-dsv__LICENSE +13 -0
  716. package/licenses/vendor/d3-ease__LICENSE +28 -0
  717. package/licenses/vendor/d3-fetch__LICENSE +13 -0
  718. package/licenses/vendor/d3-force__LICENSE +13 -0
  719. package/licenses/vendor/d3-format__LICENSE +13 -0
  720. package/licenses/vendor/d3-geo__LICENSE +34 -0
  721. package/licenses/vendor/d3-hierarchy__LICENSE +13 -0
  722. package/licenses/vendor/d3-interpolate__LICENSE +13 -0
  723. package/licenses/vendor/d3-path__LICENSE +13 -0
  724. package/licenses/vendor/d3-polygon__LICENSE +13 -0
  725. package/licenses/vendor/d3-quadtree__LICENSE +13 -0
  726. package/licenses/vendor/d3-random__LICENSE +13 -0
  727. package/licenses/vendor/d3-sankey__LICENSE +27 -0
  728. package/licenses/vendor/d3-sankey__node_modules__d3-array__LICENSE +27 -0
  729. package/licenses/vendor/d3-sankey__node_modules__d3-path__LICENSE +27 -0
  730. package/licenses/vendor/d3-sankey__node_modules__d3-shape__LICENSE +27 -0
  731. package/licenses/vendor/d3-sankey__node_modules__internmap__LICENSE +13 -0
  732. package/licenses/vendor/d3-scale-chromatic__LICENSE +28 -0
  733. package/licenses/vendor/d3-scale__LICENSE +13 -0
  734. package/licenses/vendor/d3-selection__LICENSE +13 -0
  735. package/licenses/vendor/d3-shape__LICENSE +13 -0
  736. package/licenses/vendor/d3-time-format__LICENSE +13 -0
  737. package/licenses/vendor/d3-time__LICENSE +13 -0
  738. package/licenses/vendor/d3-timer__LICENSE +13 -0
  739. package/licenses/vendor/d3-transition__LICENSE +13 -0
  740. package/licenses/vendor/d3-zoom__LICENSE +13 -0
  741. package/licenses/vendor/d3__LICENSE +13 -0
  742. package/licenses/vendor/dagre-d3-es__LICENSE.md +23 -0
  743. package/licenses/vendor/dayjs__LICENSE +21 -0
  744. package/licenses/vendor/delaunator__LICENSE +15 -0
  745. package/licenses/vendor/detect-libc__LICENSE +201 -0
  746. package/licenses/vendor/detect-node-es__LICENSE +21 -0
  747. package/licenses/vendor/dompurify__LICENSE +202 -0
  748. package/licenses/vendor/es-toolkit__LICENSE +21 -0
  749. package/licenses/vendor/es-toolkit__NOTICE +39 -0
  750. package/licenses/vendor/es6-promise-pool__LICENSE +19 -0
  751. package/licenses/vendor/esbuild__LICENSE.md +21 -0
  752. package/licenses/vendor/fdir__LICENSE +7 -0
  753. package/licenses/vendor/fill-range__LICENSE +21 -0
  754. package/licenses/vendor/fractional-indexing__LICENSE +121 -0
  755. package/licenses/vendor/get-nonce__LICENSE +21 -0
  756. package/licenses/vendor/glob-parent__LICENSE +15 -0
  757. package/licenses/vendor/glur__LICENSE +22 -0
  758. package/licenses/vendor/hachure-fill__LICENSE +21 -0
  759. package/licenses/vendor/iconv-lite__LICENSE +21 -0
  760. package/licenses/vendor/image-blob-reduce__LICENSE +21 -0
  761. package/licenses/vendor/immutable__LICENSE +21 -0
  762. package/licenses/vendor/import-meta-resolve__license +74 -0
  763. package/licenses/vendor/inherits__LICENSE +16 -0
  764. package/licenses/vendor/internmap__LICENSE +13 -0
  765. package/licenses/vendor/is-binary-path__license +9 -0
  766. package/licenses/vendor/is-extglob__LICENSE +21 -0
  767. package/licenses/vendor/is-glob__LICENSE +21 -0
  768. package/licenses/vendor/is-number__LICENSE +21 -0
  769. package/licenses/vendor/isexe__LICENSE +15 -0
  770. package/licenses/vendor/jotai-scope__LICENSE +21 -0
  771. package/licenses/vendor/jotai__LICENSE +21 -0
  772. package/licenses/vendor/js-tokens__LICENSE +21 -0
  773. package/licenses/vendor/katex__LICENSE +21 -0
  774. package/licenses/vendor/katex__node_modules__commander__LICENSE +22 -0
  775. package/licenses/vendor/khroma__license +21 -0
  776. package/licenses/vendor/langium__LICENSE +16 -0
  777. package/licenses/vendor/layout-base__LICENSE +21 -0
  778. package/licenses/vendor/lodash-es__LICENSE +47 -0
  779. package/licenses/vendor/lodash.debounce__LICENSE +47 -0
  780. package/licenses/vendor/lodash.throttle__LICENSE +47 -0
  781. package/licenses/vendor/loose-envify__LICENSE +21 -0
  782. package/licenses/vendor/marked__LICENSE.md +44 -0
  783. package/licenses/vendor/mermaid__LICENSE +21 -0
  784. package/licenses/vendor/mermaid__node_modules__@braintree__sanitize-url__LICENSE +21 -0
  785. package/licenses/vendor/mermaid__node_modules__@chevrotain__types__LICENSE.txt +202 -0
  786. package/licenses/vendor/mermaid__node_modules__@mermaid-js__parser__LICENSE +21 -0
  787. package/licenses/vendor/mermaid__node_modules__points-on-curve__LICENSE +21 -0
  788. package/licenses/vendor/mermaid__node_modules__roughjs__LICENSE +21 -0
  789. package/licenses/vendor/multimath__LICENSE +21 -0
  790. package/licenses/vendor/nanoid__LICENSE +20 -0
  791. package/licenses/vendor/node-addon-api__LICENSE.md +9 -0
  792. package/licenses/vendor/normalize-path__LICENSE +21 -0
  793. package/licenses/vendor/object-assign__license +21 -0
  794. package/licenses/vendor/open-color__LICENSE +21 -0
  795. package/licenses/vendor/package-manager-detector__LICENSE +21 -0
  796. package/licenses/vendor/pako__LICENSE +21 -0
  797. package/licenses/vendor/path-data-parser__LICENSE +21 -0
  798. package/licenses/vendor/path-key__license +9 -0
  799. package/licenses/vendor/perfect-freehand__LICENSE +21 -0
  800. package/licenses/vendor/pica__LICENSE +21 -0
  801. package/licenses/vendor/picocolors__LICENSE +15 -0
  802. package/licenses/vendor/picomatch__LICENSE +21 -0
  803. package/licenses/vendor/png-chunk-text__LICENSE.md +21 -0
  804. package/licenses/vendor/png-chunks-encode__LICENSE.md +21 -0
  805. package/licenses/vendor/png-chunks-extract__LICENSE.md +21 -0
  806. package/licenses/vendor/points-on-curve__LICENSE +21 -0
  807. package/licenses/vendor/points-on-path__LICENSE +21 -0
  808. package/licenses/vendor/points-on-path__node_modules__points-on-curve__LICENSE +21 -0
  809. package/licenses/vendor/postcss__LICENSE +20 -0
  810. package/licenses/vendor/postcss__node_modules__nanoid__LICENSE +20 -0
  811. package/licenses/vendor/pwacompat__LICENSE +201 -0
  812. package/licenses/vendor/react-dom__LICENSE +21 -0
  813. package/licenses/vendor/react-remove-scroll__LICENSE +21 -0
  814. package/licenses/vendor/react-style-singleton__LICENSE +21 -0
  815. package/licenses/vendor/react__LICENSE +21 -0
  816. package/licenses/vendor/readdirp__LICENSE +21 -0
  817. package/licenses/vendor/robust-predicates__LICENSE +24 -0
  818. package/licenses/vendor/rollup__LICENSE.md +679 -0
  819. package/licenses/vendor/roughjs__LICENSE +21 -0
  820. package/licenses/vendor/roughjs__node_modules__points-on-curve__LICENSE +21 -0
  821. package/licenses/vendor/rw__LICENSE +26 -0
  822. package/licenses/vendor/safer-buffer__LICENSE +21 -0
  823. package/licenses/vendor/sass__LICENSE +1692 -0
  824. package/licenses/vendor/scheduler__LICENSE +21 -0
  825. package/licenses/vendor/shebang-command__license +9 -0
  826. package/licenses/vendor/shebang-regex__license +9 -0
  827. package/licenses/vendor/sliced__LICENSE +22 -0
  828. package/licenses/vendor/source-map-js__LICENSE +28 -0
  829. package/licenses/vendor/stylis__LICENSE +21 -0
  830. package/licenses/vendor/tinyexec__LICENSE +21 -0
  831. package/licenses/vendor/tinyglobby__LICENSE +21 -0
  832. package/licenses/vendor/to-regex-range__LICENSE +21 -0
  833. package/licenses/vendor/ts-dedent__LICENSE +21 -0
  834. package/licenses/vendor/tslib__LICENSE.txt +12 -0
  835. package/licenses/vendor/tunnel-rat__LICENSE +21 -0
  836. package/licenses/vendor/use-callback-ref__LICENSE +21 -0
  837. package/licenses/vendor/use-sidecar__LICENSE +21 -0
  838. package/licenses/vendor/use-sync-external-store__LICENSE +21 -0
  839. package/licenses/vendor/uuid__LICENSE.md +9 -0
  840. package/licenses/vendor/vite__LICENSE.md +2144 -0
  841. package/licenses/vendor/vscode-jsonrpc__License.txt +11 -0
  842. package/licenses/vendor/vscode-languageserver-protocol__License.txt +11 -0
  843. package/licenses/vendor/vscode-languageserver-textdocument__License.txt +11 -0
  844. package/licenses/vendor/vscode-languageserver-types__License.txt +11 -0
  845. package/licenses/vendor/vscode-languageserver__License.txt +11 -0
  846. package/licenses/vendor/vscode-uri__LICENSE.md +9 -0
  847. package/licenses/vendor/webworkify__LICENSE +18 -0
  848. package/licenses/vendor/which__LICENSE +15 -0
  849. package/licenses/vendor/zustand__LICENSE +21 -0
  850. package/licenses/wasm-graphviz-Apache-2.0.txt +201 -0
  851. package/package.json +93 -4
  852. package/scripts/build-locus-map-workflow.mjs +29 -0
  853. package/scripts/build-map.mjs +138 -0
  854. package/scripts/check-installed-draw.mjs +13 -0
  855. package/scripts/check-locus-map-workflow-pi.mjs +39 -0
  856. package/scripts/convert-map-source.mjs +34 -0
  857. package/scripts/lib/library-directory.mjs +73 -0
  858. package/scripts/lib/map-build-invocation.mjs +50 -0
  859. package/scripts/lib/map-viewer-server.mjs +322 -0
  860. package/scripts/lib/original-materials.mjs +70 -0
  861. package/scripts/lib/original-report-server.mjs +52 -0
  862. package/scripts/lib/project-catalog.mjs +484 -0
  863. package/scripts/lib/project-map-inputs.mjs +161 -0
  864. package/scripts/lib/project-registry.mjs +180 -0
  865. package/scripts/lib/project-tasks.mjs +100 -0
  866. package/scripts/lib/sketch-publication.mjs +72 -0
  867. package/scripts/lib/task-map-build.mjs +110 -0
  868. package/scripts/lib/task-map-worker.mjs +20 -0
  869. package/scripts/lib/workflow/build-native-map.mjs +134 -0
  870. package/scripts/lib/workflow/compact-access.mjs +167 -0
  871. package/scripts/lib/workflow/compact-admission.mjs +410 -0
  872. package/scripts/lib/workflow/compact-builds.mjs +153 -0
  873. package/scripts/lib/workflow/compact-final.mjs +77 -0
  874. package/scripts/lib/workflow/compact-handoff.mjs +679 -0
  875. package/scripts/lib/workflow/compact-instructions.mjs +81 -0
  876. package/scripts/lib/workflow/compact-methods.mjs +203 -0
  877. package/scripts/lib/workflow/compact-native-evidence.mjs +423 -0
  878. package/scripts/lib/workflow/compact-native.mjs +92 -0
  879. package/scripts/lib/workflow/compact-prefix.mjs +470 -0
  880. package/scripts/lib/workflow/compact-prompts.mjs +108 -0
  881. package/scripts/lib/workflow/compact-reader.mjs +170 -0
  882. package/scripts/lib/workflow/compact-report.mjs +106 -0
  883. package/scripts/lib/workflow/compact-reuse.mjs +422 -0
  884. package/scripts/lib/workflow/compact-route.mjs +380 -0
  885. package/scripts/lib/workflow/compact-source.mjs +69 -0
  886. package/scripts/lib/workflow/input-body.js +152 -0
  887. package/scripts/lib/workflow/native-artifacts.mjs +53 -0
  888. package/scripts/lib/workflow/native-calls.mjs +609 -0
  889. package/scripts/lib/workflow/native-output.mjs +204 -0
  890. package/scripts/lib/workflow/policy.json +27 -0
  891. package/scripts/lib/workflow/reader-surface.mjs +183 -0
  892. package/scripts/lib/workflow/route-body.js +182 -0
  893. package/scripts/lib/workflow/route.mjs +342 -0
  894. package/scripts/lib/workflow/schemas.mjs +244 -0
  895. package/scripts/lib/workflow/source-bindings.mjs +16 -0
  896. package/scripts/lib/workflow/source-bodies.mjs +33 -0
  897. package/scripts/lib/zed.mjs +20 -0
  898. package/scripts/locus-map.mjs +150 -0
  899. package/scripts/measure-traceability.mjs +160 -0
  900. package/scripts/open-map.mjs +59 -0
  901. package/scripts/prepare-assets.mjs +114 -0
  902. package/scripts/prepare-locus-map-run.mjs +102 -0
  903. package/scripts/traceability/authoring.mjs +294 -0
  904. package/scripts/traceability/built-scene.mjs +220 -0
  905. package/scripts/traceability/geometry.mjs +185 -0
  906. package/scripts/traceability/journal.mjs +77 -0
  907. package/scripts/traceability/metrics.mjs +362 -0
  908. package/scripts/traceability/run.mjs +316 -0
  909. package/scripts/traceability/static-delivery.mjs +59 -0
  910. package/scripts/traceability/view.mjs +245 -0
  911. package/scripts/verify-locus-map-workflow-run.mjs +347 -0
  912. package/scripts/vite-browser-dependencies.mjs +15 -0
  913. package/scripts/vite-cache.mjs +48 -0
  914. package/skills/README.md +17 -0
  915. package/skills/locus-map/SKILL.md +116 -0
  916. package/skills/locus-map/assets/artifact-handoff.md +45 -0
  917. package/skills/locus-map/assets/examples/README.md +26 -0
  918. package/skills/locus-map/assets/examples/library-c4.puml +18 -0
  919. package/skills/locus-map/assets/examples/library-flow.puml +16 -0
  920. package/skills/locus-map/assets/examples/prepare.mjs +13 -0
  921. package/skills/locus-map/assets/task-map.mjs +160 -0
  922. package/skills/locus-map/references/authoring-order.md +354 -0
  923. package/skills/locus-map/references/build-environment.md +99 -0
  924. package/skills/locus-map/references/checks.md +181 -0
  925. package/skills/locus-map/references/connected-diagram.md +17 -0
  926. package/skills/locus-map/references/draw-skill.md +47 -0
  927. package/skills/locus-map/references/folder.md +82 -0
  928. package/skills/locus-map/references/pi-handoff.md +51 -0
  929. package/skills/locus-map/references/revise.md +56 -0
  930. package/skills/locus-map/references/selection.md +67 -0
  931. package/skills/locus-map/references/task-maps.md +16 -0
  932. package/skills/locus-map-primitives/SKILL.md +57 -0
  933. package/skills/locus-map-primitives/assets/batch/README.md +21 -0
  934. package/skills/locus-map-primitives/assets/batch/accept-batch.mjs +9 -0
  935. package/skills/locus-map-primitives/assets/batch/build.mjs +43 -0
  936. package/skills/locus-map-primitives/assets/batch/intake.puml +21 -0
  937. package/skills/locus-map-primitives/assets/batch/materials.json +18 -0
  938. package/skills/locus-map-primitives/assets/batch/project.json +58 -0
  939. package/skills/locus-map-primitives/assets/batch/protocol.md +14 -0
  940. package/skills/locus-map-primitives/assets/batch/results.html +10 -0
  941. package/skills/locus-map-primitives/assets/batch/run-batch.mjs +9 -0
  942. package/skills/locus-map-primitives/assets/batch/sources.mjs +39 -0
  943. package/skills/locus-map-primitives/references/card-presentation.md +9 -0
  944. package/skills/locus-map-primitives/references/reading-files.md +21 -0
  945. package/skills/locus-map-research/SKILL.md +103 -0
  946. package/skills/locus-map-research/assets/examples/README.md +41 -0
  947. package/skills/locus-map-research/assets/examples/cases.mjs +57 -0
  948. package/skills/locus-map-research/assets/examples/prepare.mjs +66 -0
  949. package/skills/locus-map-research/references/explanation-design.md +244 -0
  950. package/skills/locus-map-research/references/stages.json +113 -0
  951. package/src/adapter/annotationPolicy.js +493 -0
  952. package/src/adapter/archimatePresentation.js +9 -0
  953. package/src/adapter/areas.js +82 -0
  954. package/src/adapter/autoLayout/engines.js +15 -0
  955. package/src/adapter/autoLayout/metrics.js +32 -0
  956. package/src/adapter/autoLayout/shared.js +68 -0
  957. package/src/adapter/cards/README.md +14 -0
  958. package/src/adapter/cards/geometry.js +2 -0
  959. package/src/adapter/cards/glyphs.js +2 -0
  960. package/src/adapter/cards/labels.js +2 -0
  961. package/src/adapter/cards/taskStatus.js +28 -0
  962. package/src/adapter/cards/template.js +14 -0
  963. package/src/adapter/cards/templates/archimate.js +2 -0
  964. package/src/adapter/cards/templates/c4-2b.js +3 -0
  965. package/src/adapter/cards/templates/c4-reference.js +2 -0
  966. package/src/adapter/cards/templates/compact-b.js +2 -0
  967. package/src/adapter/cards/templates/e2.js +3 -0
  968. package/src/adapter/cards/templates/editorial.js +2 -0
  969. package/src/adapter/cards/templates/legacy.js +2 -0
  970. package/src/adapter/cards/text.js +2 -0
  971. package/src/adapter/chain.js +24 -0
  972. package/src/adapter/conversion.js +14 -0
  973. package/src/adapter/drawProjection.js +280 -0
  974. package/src/adapter/drawingStyle.js +20 -0
  975. package/src/adapter/drift.js +13 -0
  976. package/src/adapter/edgeCues.js +138 -0
  977. package/src/adapter/editGeometry.js +116 -0
  978. package/src/adapter/glyphDrift.js +1 -0
  979. package/src/adapter/identity.js +10 -0
  980. package/src/adapter/index.js +36 -0
  981. package/src/adapter/layout.js +91 -0
  982. package/src/adapter/layoutDiagnostics.js +87 -0
  983. package/src/adapter/nativePresentation.js +53 -0
  984. package/src/adapter/page.js +108 -0
  985. package/src/adapter/presentation.js +82 -0
  986. package/src/adapter/relationLabels.js +21 -0
  987. package/src/adapter/routeGeometry.js +1 -0
  988. package/src/adapter/semanticAdmission.js +901 -0
  989. package/src/adapter/skeleton.js +83 -0
  990. package/src/adapter/staticDelivery.js +211 -0
  991. package/src/app.css +13 -0
  992. package/src/authoring/author-worker.mjs +46 -0
  993. package/src/authoring/automaticLayout.js +24 -0
  994. package/src/authoring/boundedProcess.mjs +92 -0
  995. package/src/authoring/browser-build-worker.mjs +139 -0
  996. package/src/authoring/browserBuild.mjs +151 -0
  997. package/src/authoring/browserBuildClient.js +220 -0
  998. package/src/authoring/browserExecutable.mjs +83 -0
  999. package/src/authoring/browserSession.mjs +38 -0
  1000. package/src/authoring/buildDelivery.mjs +127 -0
  1001. package/src/authoring/buildDiagram.mjs +247 -0
  1002. package/src/authoring/buildMap.mjs +165 -0
  1003. package/src/authoring/citationChecks.mjs +80 -0
  1004. package/src/authoring/diagramChecks.js +215 -0
  1005. package/src/authoring/diagramLayoutChecks.js +47 -0
  1006. package/src/authoring/diagramSource.js +125 -0
  1007. package/src/authoring/diagramText.js +5 -0
  1008. package/src/authoring/excalidrawDsl.js +83 -0
  1009. package/src/authoring/gridLayout.js +2 -0
  1010. package/src/authoring/mapAuthoring.js +234 -0
  1011. package/src/authoring/moduleRunner.mjs +24 -0
  1012. package/src/authoring/plantumlSource.js +4 -0
  1013. package/src/authoring/plantumlSyntax.js +1 -0
  1014. package/src/authoring/printPlantumlSource.js +4 -0
  1015. package/src/authoring/readDetailsFiles.mjs +215 -0
  1016. package/src/authoring/regenerationArtifacts.mjs +91 -0
  1017. package/src/authoring/runtimeIdentity.mjs +171 -0
  1018. package/src/authoring/sceneComparison.mjs +182 -0
  1019. package/src/authoring/selectAutomaticLayout.mjs +115 -0
  1020. package/src/authoring/sourceEvidence.mjs +219 -0
  1021. package/src/authoring/sourceView.js +22 -0
  1022. package/src/authoring/staticExport.js +63 -0
  1023. package/src/authoring/viewTree.js +46 -0
  1024. package/src/authoring/viewportSettle.js +19 -0
  1025. package/src/bundle/assets.js +163 -0
  1026. package/src/bundle/browser.js +73 -0
  1027. package/src/bundle/catalogFiles.js +53 -0
  1028. package/src/bundle/chain.js +289 -0
  1029. package/src/bundle/chainBrowser.js +59 -0
  1030. package/src/bundle/index.js +133 -0
  1031. package/src/bundle/localDocument.mjs +366 -0
  1032. package/src/bundle/localDocumentClient.js +115 -0
  1033. package/src/bundle/projectClient.js +173 -0
  1034. package/src/bundle/safety.js +178 -0
  1035. package/src/bundle/scene.js +213 -0
  1036. package/src/bundle/sketch.js +111 -0
  1037. package/src/chain/index.js +1 -0
  1038. package/src/chain/projection.js +28 -0
  1039. package/src/chain/validation.js +268 -0
  1040. package/src/contract/archimateNotation.js +47 -0
  1041. package/src/contract/c4Presentation.js +50 -0
  1042. package/src/contract/citations.js +1 -0
  1043. package/src/contract/cli.mjs +20 -0
  1044. package/src/contract/diagramPresentation.js +140 -0
  1045. package/src/contract/documentVersions.js +20 -0
  1046. package/src/contract/index.js +92 -0
  1047. package/src/contract/layoutAreas.js +62 -0
  1048. package/src/contract/layoutHints.js +2 -0
  1049. package/src/contract/page.js +142 -0
  1050. package/src/contract/presentationProfile.js +36 -0
  1051. package/src/contract/readingMarkdown.js +124 -0
  1052. package/src/contract/readingMaterials.js +102 -0
  1053. package/src/contract/relationshipBody.js +1 -0
  1054. package/src/contract/safety.js +35 -0
  1055. package/src/contract/validation.js +499 -0
  1056. package/src/freshness/cli.mjs +21 -0
  1057. package/src/freshness/git.js +119 -0
  1058. package/src/freshness/index.js +155 -0
  1059. package/src/freshness/local.js +107 -0
  1060. package/src/main.jsx +88 -0
  1061. package/src/research/admission-body.js +1059 -0
  1062. package/src/research/cli.mjs +83 -0
  1063. package/src/research/contract.js +1169 -0
  1064. package/src/research/generate-pi-admission.mjs +49 -0
  1065. package/src/research/schemas.mjs +13 -0
  1066. package/src/tasks/locus.mjs +119 -0
  1067. package/src/tasks/taskIndex.js +47 -0
  1068. package/src/viewer/ControlIcon.jsx +28 -0
  1069. package/src/viewer/DiagramGuide.jsx +72 -0
  1070. package/src/viewer/DiagramViewer.jsx +705 -0
  1071. package/src/viewer/EditorialKey.jsx +69 -0
  1072. package/src/viewer/FoldButtons.jsx +38 -0
  1073. package/src/viewer/HighlightOverlay.jsx +157 -0
  1074. package/src/viewer/Inspector.jsx +128 -0
  1075. package/src/viewer/MapInputNotice.jsx +42 -0
  1076. package/src/viewer/Minimap.jsx +140 -0
  1077. package/src/viewer/ProjectLocation.jsx +34 -0
  1078. package/src/viewer/ProjectRail.jsx +122 -0
  1079. package/src/viewer/ProjectTabs.jsx +23 -0
  1080. package/src/viewer/ProjectTasks.jsx +158 -0
  1081. package/src/viewer/ProjectViewChainViewer.jsx +690 -0
  1082. package/src/viewer/RegenerationComparison.jsx +213 -0
  1083. package/src/viewer/SavedDiagramLink.jsx +34 -0
  1084. package/src/viewer/SceneEditPrompt.jsx +56 -0
  1085. package/src/viewer/SketchCanvas.jsx +301 -0
  1086. package/src/viewer/ViewChainViewer.jsx +340 -0
  1087. package/src/viewer/camera.js +119 -0
  1088. package/src/viewer/chainEditorSession.js +110 -0
  1089. package/src/viewer/chainInstallation.js +28 -0
  1090. package/src/viewer/details/CommonMarkBody.jsx +92 -0
  1091. package/src/viewer/details/InspectorReadingSettings.jsx +67 -0
  1092. package/src/viewer/details/MeaningFirst.jsx +79 -0
  1093. package/src/viewer/details/PhraseAndCondition.jsx +34 -0
  1094. package/src/viewer/details/ReadingFiles.jsx +111 -0
  1095. package/src/viewer/details/ReadingMarkdown.jsx +96 -0
  1096. package/src/viewer/details/RelationshipBody.jsx +45 -0
  1097. package/src/viewer/details/SourceEvidence.jsx +104 -0
  1098. package/src/viewer/details/TaskDocument.jsx +41 -0
  1099. package/src/viewer/details/details.css +190 -0
  1100. package/src/viewer/diagramControls.css +58 -0
  1101. package/src/viewer/diagramGuide.css +25 -0
  1102. package/src/viewer/directedPath.js +36 -0
  1103. package/src/viewer/fit.js +11 -0
  1104. package/src/viewer/geometry.js +62 -0
  1105. package/src/viewer/highlight.js +159 -0
  1106. package/src/viewer/inspectorPosition.js +79 -0
  1107. package/src/viewer/interaction.js +94 -0
  1108. package/src/viewer/minimapGeometry.js +21 -0
  1109. package/src/viewer/projectContents.js +93 -0
  1110. package/src/viewer/projectNavigation.js +227 -0
  1111. package/src/viewer/projectTasks.css +33 -0
  1112. package/src/viewer/readingTree.js +120 -0
  1113. package/src/viewer/sceneEditPrompt.js +94 -0
  1114. package/src/viewer/sceneState.js +23 -0
  1115. package/src/viewer/sceneWarnings.js +12 -0
  1116. package/src/viewer/theme.css +20 -0
  1117. package/src/viewer/useInspectorPosition.js +155 -0
  1118. package/src/viewer/viewChain.css +181 -0
  1119. package/src/viewer/viewChainState.js +86 -0
  1120. package/src/viewer/viewer.css +76 -0
  1121. package/vite.config.js +42 -0
@@ -0,0 +1,499 @@
1
+ import { supportsDecision } from '@locus-forge/locus-draw/source';
2
+ import { validateReadingMaterials } from './readingMaterials.js';
3
+ import { archimateModelDiagnostics } from './archimateNotation.js';
4
+ import { ALL_PRESENTATION_PROFILES, SCENARIO_PROFILE, scenarioRoleDiagnostics } from './presentationProfile.js';
5
+ import { LIMITS, isPlainText, isPortablePath, isReservedKey, isSafeUrl, pointer } from './safety.js';
6
+ import {
7
+ C4_TYPES,
8
+ PRESENTATION_VERSION,
9
+ RETIRED_PRESENTATION_VERSION,
10
+ c4RoleConflict,
11
+ isDecisionNode,
12
+ } from './c4Presentation.js';
13
+ import { validateLayoutHints } from './layoutHints.js';
14
+ import { validateLayoutAreas } from './layoutAreas.js';
15
+ import { parseRelationshipBody } from './relationshipBody.js';
16
+ import { isMarkdownText } from '@locus-forge/locus-draw/source';
17
+ import { citationDiagnostics } from './citations.js';
18
+ import { validatePage } from './page.js';
19
+ import {
20
+ DIAGRAM_CARD_PRESENTATION,
21
+ isDiagramPresentationProfile,
22
+ validateDiagramPresentation,
23
+ } from './diagramPresentation.js';
24
+
25
+ export const STATUSES = Object.freeze(['current', 'proposed', 'unknown']);
26
+ export const LAYOUT_FAMILIES = Object.freeze(['semantic', 'component', 'sequence', 'decision']);
27
+ export const EDGE_KINDS = Object.freeze(['data', 'call', 'dependency', 'flow', 'sequence', 'contains', 'decision']);
28
+ export const FRESHNESS_STATUSES = Object.freeze(['unchanged', 'changed', 'unavailable', 'unknown']);
29
+ const commitPattern = /^(?:[a-f0-9]{40}|[a-f0-9]{64})$/;
30
+ const hashPattern = /^(?:git-sha1:[a-f0-9]{40}|git-sha256:[a-f0-9]{64}|sha256:[a-f0-9]{64})$/;
31
+ const has = (value, key) => Object.hasOwn(value, key);
32
+ const isRecord = (value) => value !== null && typeof value === 'object' && !Array.isArray(value);
33
+
34
+ // Small, explicit validators keep field policy here, independent of rendering.
35
+ export function checkModel(model, report) {
36
+ const at = pointer;
37
+ function object(value, path, required, optional = []) {
38
+ if (!isRecord(value)) {
39
+ report('INVALID_TYPE', path, 'Expected a JSON object.');
40
+ return false;
41
+ }
42
+ for (const key of required) if (!has(value, key)) report('REQUIRED_FIELD', at(path, key), 'Required field is missing.');
43
+ for (const key of Object.keys(value)) if (![...required, ...optional].includes(key)) report('UNKNOWN_FIELD', at(path, key), 'Field is not supported by schema version 1.');
44
+ return true;
45
+ }
46
+ function text(value, path, maximum = 1_024, allowEmpty = false) {
47
+ if (typeof value !== 'string') return report('INVALID_TYPE', path, 'Expected a string.');
48
+ if ((!allowEmpty && !value.trim()) || value.length > maximum) report('OUT_OF_RANGE', path, `Text must contain ${allowEmpty ? '0' : '1'}–${maximum} characters.`);
49
+ if (!isPlainText(value)) report('INVALID_TEXT', path, 'Use plain text without HTML markup or control characters.');
50
+ }
51
+ function id(value, path) {
52
+ if (typeof value !== 'string' || value.length > 128 || !/^[A-Za-z0-9][A-Za-z0-9._:-]*$/.test(value) || isReservedKey(value)) report('INVALID_ID', path, 'Expected a stable identifier of 1–128 letters, digits, dots, underscores, colons or hyphens.');
53
+ }
54
+ function oneOf(value, path, values) {
55
+ if (!values.includes(value)) report('INVALID_VALUE', path, `Expected one of: ${values.join(', ')}.`);
56
+ }
57
+ function integer(value, path, min, max) {
58
+ if (!Number.isInteger(value) || value < min || value > max) report('OUT_OF_RANGE', path, `Expected an integer from ${min} to ${max}.`);
59
+ }
60
+ function array(value, path, max, visit, min = 0) {
61
+ if (!Array.isArray(value)) return report('INVALID_TYPE', path, 'Expected an array.');
62
+ if (value.length < min || value.length > max) report('OUT_OF_RANGE', path, `Expected ${min}–${max} items.`);
63
+ value.slice(0, max).forEach((item, i) => visit(item, at(path, i)));
64
+ }
65
+ function catalog(value, path, maximum, visit) {
66
+ if (!isRecord(value)) return report('INVALID_TYPE', path, 'Expected an ID-keyed catalog.');
67
+ const entries = Object.entries(value);
68
+ if (entries.length > maximum) report('OUT_OF_RANGE', path, `Catalog allows at most ${maximum} entries.`);
69
+ for (const [key, item] of entries.slice(0, maximum)) {
70
+ id(key, at(path, key));
71
+ visit(item, at(path, key));
72
+ }
73
+ }
74
+ function references(value, path) {
75
+ const seen = new Set();
76
+ array(value, path, 100, (reference, p) => {
77
+ id(reference, p);
78
+ if (seen.has(reference)) report('DUPLICATE_ID', p, 'Evidence reference is repeated.');
79
+ seen.add(reference);
80
+ });
81
+ }
82
+ function citations(value, path) {
83
+ array(value, path, 16, (citation, p) => {
84
+ for (const diagnostic of citationDiagnostics(citation)) report(diagnostic.code, p, diagnostic.message);
85
+ }, 1);
86
+ }
87
+ function hash(value, path) {
88
+ if (typeof value !== 'string' || !hashPattern.test(value)) report('INVALID_HASH', path, 'Expected git-sha1:<40 hex>, git-sha256:<64 hex> or sha256:<64 hex>.');
89
+ }
90
+ function revision(value, path) {
91
+ if (typeof value !== 'string' || !commitPattern.test(value)) report('INVALID_REVISION', path, 'Repository revision must be a full lowercase 40- or 64-digit commit hash.');
92
+ }
93
+ function source(value, path) {
94
+ if (!isRecord(value)) return report('INVALID_TYPE', path, 'Expected a source record.');
95
+ const repository = value.type === 'repository';
96
+ if (!object(value, path, repository ? ['type', 'repository', 'revision', 'path', 'lineRange', 'contentHash'] : ['type', 'path', 'contentHash'], repository ? [] : ['lineRange'])) return;
97
+ oneOf(value.type, at(path, 'type'), ['repository', 'document']);
98
+ if (!isPortablePath(value.path)) report('UNSAFE_PATH', at(path, 'path'), 'Source path must be a portable relative path without traversal or URL encoding.');
99
+ hash(value.contentHash, at(path, 'contentHash'));
100
+ if (repository) {
101
+ if (!isSafeUrl(value.repository, { repository: true })) report('UNSAFE_URL', at(path, 'repository'), 'Repository identity must be an HTTPS URL without credentials, query or fragment.');
102
+ revision(value.revision, at(path, 'revision'));
103
+ if (typeof value.contentHash === 'string' && !value.contentHash.startsWith('git-')) report('INVALID_HASH', at(path, 'contentHash'), 'Repository evidence requires a Git blob hash.');
104
+ } else if (value.type === 'document' && typeof value.contentHash === 'string' && !value.contentHash.startsWith('sha256:')) {
105
+ report('INVALID_HASH', at(path, 'contentHash'), 'Document evidence requires a SHA-256 snapshot hash.');
106
+ }
107
+ if (has(value, 'lineRange') && object(value.lineRange, at(path, 'lineRange'), ['start', 'end'])) {
108
+ integer(value.lineRange.start, at(at(path, 'lineRange'), 'start'), 1, 10_000_000);
109
+ integer(value.lineRange.end, at(at(path, 'lineRange'), 'end'), 1, 10_000_000);
110
+ if (Number.isInteger(value.lineRange.start) && Number.isInteger(value.lineRange.end) && value.lineRange.end < value.lineRange.start) report('INVALID_RANGE', at(path, 'lineRange'), 'Line range end must not precede its start.');
111
+ }
112
+ }
113
+ function freshness(value, path, evidenceSource) {
114
+ if (!object(value, path, ['status'], ['checkedRevision', 'checkedContentHash', 'reason'])) return;
115
+ oneOf(value.status, at(path, 'status'), FRESHNESS_STATUSES);
116
+ if (has(value, 'reason')) text(value.reason, at(path, 'reason'), 2_048);
117
+ const compared = value.status === 'unchanged' || value.status === 'changed';
118
+ if (compared) {
119
+ hash(value.checkedContentHash, at(path, 'checkedContentHash'));
120
+ if (evidenceSource?.type === 'repository') revision(value.checkedRevision, at(path, 'checkedRevision'));
121
+ else if (has(value, 'checkedRevision')) report('INVALID_FRESHNESS', at(path, 'checkedRevision'), 'Document observations do not have a repository revision.');
122
+ const baseHash = evidenceSource?.contentHash;
123
+ if (typeof baseHash === 'string' && typeof value.checkedContentHash === 'string') {
124
+ if (baseHash.split(':')[0] !== value.checkedContentHash.split(':')[0]) report('INVALID_FRESHNESS', path, 'Compared content hashes must use the same algorithm.');
125
+ if ((baseHash === value.checkedContentHash) !== (value.status === 'unchanged')) report('INVALID_FRESHNESS', path, 'Freshness status contradicts the supplied content hashes.');
126
+ }
127
+ } else {
128
+ if (has(value, 'checkedContentHash') || has(value, 'checkedRevision')) report('INVALID_FRESHNESS', path, 'Unresolved freshness must not include a successful comparison target.');
129
+ if (value.status === 'unavailable' && !has(value, 'reason')) report('REQUIRED_FIELD', at(path, 'reason'), 'Unavailable freshness needs a reason.');
130
+ }
131
+ }
132
+ function evidence(value, path) {
133
+ if (!isRecord(value)) return report('INVALID_TYPE', path, 'Expected an evidence record.');
134
+ oneOf(value.state, at(path, 'state'), ['available', 'missing']);
135
+ if (value.state === 'missing') {
136
+ if (object(value, path, ['state', 'reason'], ['note'])) text(value.reason, at(path, 'reason'), 2_048);
137
+ } else if (object(value, path, ['state', 'source', 'freshness'], ['url', 'note'])) {
138
+ source(value.source, at(path, 'source'));
139
+ freshness(value.freshness, at(path, 'freshness'), value.source);
140
+ if (has(value, 'url') && !isSafeUrl(value.url)) report('UNSAFE_URL', at(path, 'url'), 'Evidence links must use HTTPS without credentials.');
141
+ }
142
+ if (has(value, 'note')) text(value.note, at(path, 'note'), 4_096, true);
143
+ }
144
+ function asset(value, path) {
145
+ if (!object(value, path, ['path', 'mimeType', 'alt'], ['caption', 'byteLength', 'width', 'height', 'contentHash'])) return;
146
+ if (!isPortablePath(value.path, { asset: true })) report('UNSAFE_PATH', at(path, 'path'), 'Image path must stay inside assets/ and contain no URL, traversal, query or fragment.');
147
+ const extensions = { 'image/png': /\.png$/i, 'image/jpeg': /\.jpe?g$/i, 'image/webp': /\.webp$/i };
148
+ oneOf(value.mimeType, at(path, 'mimeType'), Object.keys(extensions));
149
+ if (typeof value.mimeType === 'string' && has(extensions, value.mimeType) && (typeof value.path !== 'string' || !extensions[value.mimeType].test(value.path))) report('INVALID_VALUE', at(path, 'path'), 'Image file extension must agree with its declared MIME type.');
150
+ text(value.alt, at(path, 'alt'), 1_024);
151
+ if (has(value, 'caption')) text(value.caption, at(path, 'caption'), 2_048, true);
152
+ if (has(value, 'byteLength')) integer(value.byteLength, at(path, 'byteLength'), 1, LIMITS.assetBytes);
153
+ for (const key of ['width', 'height']) if (has(value, key)) integer(value[key], at(path, key), 1, 8_192);
154
+ if (has(value, 'contentHash') && (typeof value.contentHash !== 'string' || !/^sha256:[a-f0-9]{64}$/.test(value.contentHash))) report('INVALID_HASH', at(path, 'contentHash'), 'Asset digest must be a SHA-256 hash.');
155
+ }
156
+ function technical(value, path) {
157
+ catalog(value, path, 32, (item, p) => {
158
+ if (Array.isArray(item)) array(item, p, 32, (entry, ep) => text(entry, ep, 1_024));
159
+ else if (typeof item === 'string') text(item, p, 2_048, true);
160
+ else if (typeof item !== 'boolean' && !(typeof item === 'number' && Number.isFinite(item))) report('INVALID_TYPE', p, 'Technical metadata values must be text, finite numbers, booleans or text arrays.');
161
+ });
162
+ }
163
+ function node(value, path) {
164
+ if (!object(value, path, ['id', 'label', 'body', 'status', 'evidence'], ['kind', 'category', 'technical', 'imageRef', 'links', 'notation', 'sources', 'bodyFormat'])) return;
165
+ id(value.id, at(path, 'id'));
166
+ text(value.label, at(path, 'label'), 256);
167
+ bodyFormat(value, path);
168
+ if (value.bodyFormat === 'commonmark-v1') markdown(value.body, at(path, 'body'), true);
169
+ else text(value.body, at(path, 'body'), 16_384, true);
170
+ oneOf(value.status, at(path, 'status'), STATUSES);
171
+ references(value.evidence, at(path, 'evidence'));
172
+ if (has(value, 'kind')) id(value.kind, at(path, 'kind'));
173
+ if (has(value, 'category')) text(value.category, at(path, 'category'), 256);
174
+ if (has(value, 'technical')) technical(value.technical, at(path, 'technical'));
175
+ if (has(value, 'sources')) citations(value.sources, at(path, 'sources'));
176
+ if (has(value, 'imageRef')) id(value.imageRef, at(path, 'imageRef'));
177
+ if (has(value, 'links')) array(value.links, at(path, 'links'), 20, (link, p) => {
178
+ if (!object(link, p, ['label', 'href'])) return;
179
+ text(link.label, at(p, 'label'), 256);
180
+ if (!isSafeUrl(link.href)) report('UNSAFE_URL', at(p, 'href'), 'Links must use HTTPS without credentials.');
181
+ });
182
+ }
183
+ function edge(value, path) {
184
+ if (!object(value, path, ['id', 'from', 'to', 'label', 'kind', 'status', 'evidence'], ['condition', 'order', 'body', 'bodyFormat', 'notation', 'technology', 'sources'])) return;
185
+ for (const key of ['id', 'from', 'to']) id(value[key], at(path, key));
186
+ text(value.label, at(path, 'label'), 256, isDiagramPresentationProfile(model.presentationProfile));
187
+ if (has(value, 'technology')) text(value.technology, at(path, 'technology'), 120, true);
188
+ if (has(value, 'sources')) citations(value.sources, at(path, 'sources'));
189
+ bodyFormat(value, path);
190
+ if (has(value, 'bodyFormat') && !has(value, 'body')) report('REQUIRED_FIELD', at(path, 'body'), 'bodyFormat requires body.');
191
+ if (value.bodyFormat === 'commonmark-v1') markdown(value.body, at(path, 'body'));
192
+ else if (has(value, 'body')) {
193
+ const { error } = parseRelationshipBody(value.body);
194
+ if (error) report('INVALID_RELATION_BODY', at(path, 'body'), error);
195
+ }
196
+ oneOf(value.kind, at(path, 'kind'), EDGE_KINDS);
197
+ oneOf(value.status, at(path, 'status'), STATUSES);
198
+ references(value.evidence, at(path, 'evidence'));
199
+ if (has(value, 'condition')) text(value.condition, at(path, 'condition'), 2_048);
200
+ if (value.kind === 'decision' && !has(value, 'condition')) report('REQUIRED_FIELD', at(path, 'condition'), 'A decision edge needs an explicit guard or outcome condition.');
201
+ if (value.kind === 'sequence') integer(value.order, at(path, 'order'), 1, LIMITS.edges);
202
+ else if (has(value, 'order')) report('INVALID_SEQUENCE', at(path, 'order'), 'Only sequence messages can declare semantic order.');
203
+ }
204
+ function bodyFormat(value, path) {
205
+ if (!has(value, 'bodyFormat')) return;
206
+ oneOf(value.bodyFormat, at(path, 'bodyFormat'), ['commonmark-v1']);
207
+ }
208
+ function markdown(value, path, allowEmpty = false) {
209
+ if (typeof value !== 'string') return report('INVALID_TYPE', path, 'Expected a string.');
210
+ if ((!allowEmpty && !value.trim()) || value.length > 16_384) report('OUT_OF_RANGE', path, 'CommonMark body exceeds its text bounds.');
211
+ if (!isMarkdownText(value)) report('INVALID_TEXT', path, 'Use text without control characters.');
212
+ }
213
+ function layout(value, path) {
214
+ if (!object(value, path, ['family'], ['mode', 'direction', 'nodeHints', 'hints', 'grid', 'positions', 'routes', 'edgeCues', 'areas', 'presentation'])) return;
215
+ oneOf(value.family, at(path, 'family'), LAYOUT_FAMILIES);
216
+ if (isDiagramPresentationProfile(model.presentationProfile) && !has(value, 'mode')) {
217
+ report('REQUIRED_FIELD', at(path, 'mode'), 'Diagram presentation profiles require an explicit placement mode.');
218
+ }
219
+ if (has(value, 'mode')) oneOf(value.mode, at(path, 'mode'), ['auto', 'grid', 'explicit']);
220
+ if (has(value, 'direction')) oneOf(value.direction, at(path, 'direction'), ['LR', 'TB']);
221
+ for (const key of ['positions', 'routes']) if (has(value, key) && !['semantic', 'decision'].includes(value.family)) report('UNSUPPORTED_LAYOUT', at(path, key), 'Explicit positions and routes are supported only by semantic and decision layouts.');
222
+ function point(value, p) {
223
+ if (!object(value, p, ['x', 'y'])) return;
224
+ for (const key of ['x', 'y']) if (!Number.isFinite(value[key]) || Math.abs(value[key]) > 100_000) report('OUT_OF_RANGE', at(p, key), 'Expected a finite coordinate between -100000 and 100000 scene units.');
225
+ }
226
+ if (has(value, 'positions')) catalog(value.positions, at(path, 'positions'), LIMITS.nodes, point);
227
+ if (has(value, 'grid')) {
228
+ const grid = value.grid, p = at(path, 'grid');
229
+ if (object(grid, p, ['cells'], ['gap'])) {
230
+ if (value.mode !== 'grid') report('LAYOUT_MODE_CONFLICT', p, 'Grid data requires layout.mode grid.');
231
+ catalog(grid.cells, at(p, 'cells'), LIMITS.nodes, (cell, cp) => {
232
+ if (!Array.isArray(cell) || cell.length !== 2) return report('INVALID_GRID_CELL', cp, 'A grid cell is [row, column].');
233
+ cell.forEach((coordinate, index) => integer(coordinate, at(cp, index), 0, 63));
234
+ });
235
+ if (grid.gap !== undefined && (!Array.isArray(grid.gap) || grid.gap.length !== 2)) report('INVALID_GRID_GAP', at(p, 'gap'), 'Grid gap is [horizontal, vertical].');
236
+ else grid.gap?.forEach((gap, index) => {
237
+ if (!Number.isFinite(gap) || gap < 24 || gap > 240) report('OUT_OF_RANGE', at(at(p, 'gap'), index), 'Grid gaps must be 24–240 scene units.');
238
+ });
239
+ }
240
+ }
241
+ if (value.mode === 'grid') {
242
+ if (!has(value, 'grid')) report('REQUIRED_FIELD', at(path, 'grid'), 'Grid mode requires grid cells and gaps.');
243
+ for (const key of ['direction', 'hints', 'positions']) if (has(value, key)) report('LAYOUT_MODE_CONFLICT', at(path, key), `${key} is not available in grid mode.`);
244
+ }
245
+ if (value.mode === 'explicit') {
246
+ if (!has(value, 'positions')) report('REQUIRED_FIELD', at(path, 'positions'), 'Explicit mode requires positions.');
247
+ for (const key of ['direction', 'hints', 'grid']) if (has(value, key)) report('LAYOUT_MODE_CONFLICT', at(path, key), `${key} is not available in explicit mode.`);
248
+ }
249
+ if (value.mode === 'auto') for (const key of ['grid', 'positions']) if (has(value, key)) report('LAYOUT_MODE_CONFLICT', at(path, key), `${key} is not available in auto mode.`);
250
+ if (has(value, 'routes')) catalog(value.routes, at(path, 'routes'), LIMITS.edges, (route, p) => {
251
+ if (!object(route, p, ['sourceSide', 'targetSide'], ['waypoints'])) return;
252
+ for (const key of ['sourceSide', 'targetSide']) oneOf(route[key], at(p, key), ['top', 'right', 'bottom', 'left']);
253
+ if (has(route, 'waypoints')) array(route.waypoints, at(p, 'waypoints'), 16, point, 1);
254
+ });
255
+ if (has(value, 'nodeHints')) catalog(value.nodeHints, at(path, 'nodeHints'), LIMITS.nodes, (hint, p) => {
256
+ if (!object(hint, p, [], ['rank', 'order', 'lane'])) return;
257
+ if (!Object.keys(hint).length) report('INVALID_VALUE', p, 'A node hint must specify rank, order or lane.');
258
+ for (const key of ['rank', 'order', 'lane']) if (has(hint, key)) integer(hint[key], at(p, key), 0, LIMITS.nodes - 1);
259
+ });
260
+ if (has(value, 'edgeCues')) {
261
+ const cues = value.edgeCues, p = at(path, 'edgeCues');
262
+ if (!object(cues, p, ['version', 'mode', 'modelId', 'reviewId', 'sourcePacketHash', 'entries'])) return;
263
+ if (cues.version !== 1) report('UNSUPPORTED_CUE_VERSION', at(p, 'version'), 'Only reviewed cue catalog version 1 is supported.');
264
+ oneOf(cues.mode, at(p, 'mode'), ['reviewed-condition-cues']);
265
+ id(cues.modelId, at(p, 'modelId')); text(cues.reviewId, at(p, 'reviewId'), 256);
266
+ if (typeof cues.sourcePacketHash !== 'string' || !/^sha256:[a-f0-9]{64}$/.test(cues.sourcePacketHash)) report('INVALID_HASH', at(p, 'sourcePacketHash'), 'Cue approval needs sha256:<64 lowercase hex>.');
267
+ catalog(cues.entries, at(p, 'entries'), LIMITS.edges, (entry, ep) => {
268
+ if (!object(entry, ep, ['cue', 'condition', 'relation', 'evidenceIds', 'evidencePins'], ['approvalClass'])) return;
269
+ text(entry.cue, at(ep, 'cue'), 96);
270
+ if (typeof entry.cue === 'string' && (/[\r\n\t]/u.test(entry.cue) || new TextEncoder().encode(entry.cue).byteLength > 96)) report('INVALID_CUE', at(ep, 'cue'), 'A final reviewed cue is one line of at most 96 UTF-8 bytes.');
271
+ text(entry.condition, at(ep, 'condition'), 2_048);
272
+ object(entry.relation, at(ep, 'relation'), ['from', 'to', 'label', 'kind', 'status'], ['order']);
273
+ references(entry.evidenceIds, at(ep, 'evidenceIds'));
274
+ catalog(entry.evidencePins, at(ep, 'evidencePins'), 100, evidence);
275
+ if (has(entry, 'approvalClass')) oneOf(entry.approvalClass, at(ep, 'approvalClass'), ['reviewed-gap']);
276
+ });
277
+ }
278
+ }
279
+
280
+ if (!object(model, '', ['schemaVersion', 'id', 'title', 'nodes', 'edges', 'layout', ...(model?.schemaVersion === 2 ? ['presentationProfile'] : [])], ['description', 'page', 'assets', 'evidence', 'reading'])) return;
281
+ if (![1, 2].includes(model.schemaVersion)) report('UNSUPPORTED_VERSION', '/schemaVersion', 'Only schemaVersion 1 or 2 is supported.');
282
+ for (const item of archimateModelDiagnostics(model)) report(item.code, item.path, item.message);
283
+ if (model.schemaVersion === 2) oneOf(model.presentationProfile, '/presentationProfile', ALL_PRESENTATION_PROFILES);
284
+ id(model.id, '/id');
285
+ text(model.title, '/title', 256);
286
+ // A projected view carries its complete question as the model description.
287
+ if (has(model, 'description')) text(model.description, '/description', Infinity, true);
288
+ array(model.nodes, '/nodes', LIMITS.nodes, node, 1);
289
+ array(model.edges, '/edges', LIMITS.edges, edge);
290
+ layout(model.layout, '/layout');
291
+ if (has(model, 'reading')) validateReadingMaterials(model.reading, model, report);
292
+ if (has(model, 'assets')) catalog(model.assets, '/assets', LIMITS.assets, asset);
293
+ if (has(model, 'evidence')) catalog(model.evidence, '/evidence', LIMITS.evidence, evidence);
294
+ checkPresentation(model, report);
295
+ validateDiagramPresentation(model, report);
296
+ checkReferences(model, report);
297
+ validateLayoutAreas(model.layout, Array.isArray(model.nodes) ? model.nodes.map(node => node?.id) : [], report, model.presentationProfile);
298
+ validateLayoutHints({
299
+ hints: model.layout?.hints,
300
+ nodeIds: Array.isArray(model.nodes) ? model.nodes.map(node => node?.id).filter(id => typeof id === 'string') : [],
301
+ family: model.layout?.family,
302
+ presentationProfile: model.presentationProfile,
303
+ direction: model.layout?.direction,
304
+ report,
305
+ });
306
+ validatePage(model, report);
307
+ checkEdgeCuePins(model, report);
308
+ }
309
+
310
+ function checkPresentation(model, report) {
311
+ if (!Array.isArray(model.nodes)) return;
312
+ if (model.presentationProfile === SCENARIO_PROFILE) {
313
+ for (const item of scenarioRoleDiagnostics(model)) report(item.code, item.path, item.message);
314
+ return;
315
+ }
316
+ if (isDiagramPresentationProfile(model.presentationProfile)) {
317
+ model.nodes.slice(0, LIMITS.nodes).forEach((node, index) => {
318
+ if (!isRecord(node)) return;
319
+ const path = `/nodes/${index}`;
320
+ if (!isRecord(node.technical)) {
321
+ report('REQUIRED_FIELD', path + '/technical', 'A diagram card requires technical presentation metadata.');
322
+ return;
323
+ }
324
+ if (node.technical.presentation !== DIAGRAM_CARD_PRESENTATION) report('UNSUPPORTED_PRESENTATION', `${path}/technical/presentation`, `Diagram profiles require ${DIAGRAM_CARD_PRESENTATION}.`);
325
+ if (!has(node, 'kind')) report('REQUIRED_FIELD', `${path}/kind`, 'Diagram cards require an explicit node kind.');
326
+ if (node.kind === 'decision') {
327
+ if (!supportsDecision(model.presentationProfile) || has(node.technical, 'type') || node.technical.external === true)
328
+ report('PRESENTATION_ROLE_CONFLICT', path, 'A diagram decision must be internal, use a role-card profile and omit its C4 type.');
329
+ } else if (!has(node.technical, 'type') || !C4_TYPES.includes(node.technical.type)) report('UNSUPPORTED_C4_TYPE', `${path}/technical/type`, `Expected one of: ${C4_TYPES.join(', ')}.`);
330
+ if (typeof node.technical.responsibility !== 'string' || node.technical.responsibility.length > 240) report('PRESENTATION_METADATA', `${path}/technical/responsibility`, 'Diagram card responsibility must contain 0–240 characters.');
331
+ if (model.presentationProfile === 'task-card-v1' && has(node.technical, 'outcome')
332
+ && (typeof node.technical.outcome !== 'string' || !node.technical.outcome.trim() || node.technical.outcome.length > 240)) report('PRESENTATION_METADATA', `${path}/technical/outcome`, 'Task outcome must contain 1–240 characters.');
333
+ if (has(node.technical, 'technology') && (typeof node.technical.technology !== 'string' || node.technical.technology.length > 120)) report('PRESENTATION_METADATA', `${path}/technical/technology`, 'Diagram card technology must contain 0–120 characters.');
334
+ if (has(node.technical, 'tag') && (typeof node.technical.tag !== 'string' || !node.technical.tag.trim() || node.technical.tag.length > 48)) report('PRESENTATION_METADATA', `${path}/technical/tag`, 'Diagram card tag must contain 1–48 characters.');
335
+ if (has(node.technical, 'size')) report('PRESENTATION_METADATA', `${path}/technical/size`, 'Diagram card size belongs to layout.presentation.nodeSizes.');
336
+ const externalStore = node.technical.external === true && ['Data Store', 'Artifact'].includes(node.technical.type);
337
+ if (has(node.technical, 'external') && typeof node.technical.external !== 'boolean') report('INVALID_C4_EXTERNAL', `${path}/technical/external`, 'Diagram external must be a boolean.');
338
+ if (!externalStore && has(node, 'kind') && C4_TYPES.includes(node.technical.type) && c4RoleConflict(node, { independentExternal: true })) report('PRESENTATION_ROLE_CONFLICT', `${path}/technical/type`, 'The declared C4 type conflicts with the explicit node kind or external role.');
339
+ });
340
+ return;
341
+ }
342
+ const markers = [];
343
+ let unsupported = false;
344
+ model.nodes.slice(0, LIMITS.nodes).forEach((node, index) => {
345
+ if (!isRecord(node) || !isRecord(node.technical) || !has(node.technical, 'presentation')) return;
346
+ const marker = node.technical.presentation;
347
+ if (marker === RETIRED_PRESENTATION_VERSION) {
348
+ unsupported = true;
349
+ report('RETIRED_PRESENTATION', `/nodes/${index}/technical/presentation`, 'explained-v3 is retired; re-author the model with explained-v4 and the closed C4 type vocabulary.');
350
+ } else if (marker !== PRESENTATION_VERSION) {
351
+ unsupported = true;
352
+ report('UNSUPPORTED_PRESENTATION', `/nodes/${index}/technical/presentation`, 'The only supported presentation marker is explained-v4.');
353
+ }
354
+ markers.push(marker);
355
+ if (marker !== PRESENTATION_VERSION) return;
356
+ const path = `/nodes/${index}`;
357
+ if (!has(node, 'kind')) report('REQUIRED_FIELD', `${path}/kind`, 'explained-v4 requires an explicit node kind.');
358
+ const decision = isDecisionNode(node);
359
+ if (decision && has(node.technical, 'type')) {
360
+ report('PRESENTATION_ROLE_CONFLICT', `${path}/technical/type`, 'Decision nodes keep the decision diamond and must not declare a C4 type.');
361
+ } else if (!decision && !has(node.technical, 'type')) {
362
+ report('REQUIRED_FIELD', `${path}/technical/type`, 'Every non-decision explained-v4 node requires a C4 type.');
363
+ } else if (!decision && !C4_TYPES.includes(node.technical.type)) {
364
+ report('UNSUPPORTED_C4_TYPE', `${path}/technical/type`, `Expected one of: ${C4_TYPES.join(', ')}.`);
365
+ }
366
+ if (node.technical.external === true && !['Person', 'Software System'].includes(node.technical.type)) {
367
+ report('INVALID_C4_EXTERNAL', `${path}/technical/external`, 'technical.external: true is allowed only for Person and Software System.');
368
+ }
369
+ if (has(node.technical, 'external') && typeof node.technical.external !== 'boolean') {
370
+ report('INVALID_C4_EXTERNAL', `${path}/technical/external`, 'technical.external must be a boolean when present.');
371
+ }
372
+ if ((!decision && has(node, 'kind') && C4_TYPES.includes(node.technical.type)) && c4RoleConflict(node)) {
373
+ report('PRESENTATION_ROLE_CONFLICT', `${path}/technical/type`, 'The declared C4 type conflicts with the explicit node kind or external role.');
374
+ }
375
+ });
376
+ if (!markers.length && model.nodes.length) {
377
+ report('PRESENTATION_REQUIRED', '/nodes', 'Every node must use the expected technical.presentation marker explained-v4.');
378
+ return;
379
+ }
380
+ if (!unsupported && markers.length && (markers.length !== model.nodes.length || new Set(markers).size > 1)) {
381
+ report('PRESENTATION_INCOMPLETE', '/nodes', 'Use the same supported technical.presentation marker on every node.');
382
+ }
383
+ }
384
+
385
+ // Pins compare the facts already validated above. They never derive a cue from
386
+ // prose or treat a digest as evidence that an author/reviewer approved a claim.
387
+ function checkEdgeCuePins(model, report) {
388
+ const cues = model.layout?.edgeCues;
389
+ if (!isRecord(cues)) return;
390
+ const path = '/layout/edgeCues';
391
+ if (cues.modelId !== model.id) report('CUE_MODEL_MISMATCH', `${path}/modelId`, 'Cue catalog belongs to another model.');
392
+ if (!['semantic', 'decision'].includes(model.layout.family) || !Array.isArray(model.nodes) || !model.nodes.every(node => node?.technical?.presentation === PRESENTATION_VERSION)) report('UNSUPPORTED_CUE_PRESENTATION', path, 'Cue mode requires semantic/decision and explained-v4 on every node.');
393
+ if (!isRecord(cues.entries) || !Array.isArray(model.edges)) return;
394
+ const conditioned = new Map(model.edges.filter(edge => isRecord(edge) && typeof edge.condition === 'string' && edge.condition.trim()).map(edge => [edge.id, edge]));
395
+ for (const id of conditioned.keys()) if (!has(cues.entries, id)) report('CUE_COVERAGE', pointer(`${path}/entries`, id), 'Every conditioned edge needs exactly one final cue.');
396
+ const stable = value => JSON.stringify(value, function (_key, item) {
397
+ return isRecord(item) ? Object.fromEntries(Object.keys(item).sort().map(key => [key, item[key]])) : item;
398
+ });
399
+ for (const [id, entry] of Object.entries(cues.entries)) {
400
+ const p = pointer(`${path}/entries`, id), edge = conditioned.get(id);
401
+ if (!edge) { report('CUE_COVERAGE', p, 'Cue entries must reference conditioned canonical edges only.'); continue; }
402
+ if (!isRecord(entry)) continue;
403
+ const relation = Object.fromEntries(['from', 'to', 'label', 'kind', 'status', 'order'].filter(key => has(edge, key)).map(key => [key, edge[key]]));
404
+ for (const [key, expected] of [['condition', edge.condition], ['relation', relation], ['evidenceIds', edge.evidence]]) {
405
+ if (stable(entry[key]) !== stable(expected)) report('CUE_PIN_MISMATCH', pointer(p, key), 'Cue pin must match the canonical edge exactly.');
406
+ }
407
+ if (!Array.isArray(edge.evidence) || !isRecord(entry.evidencePins)) continue;
408
+ if (stable(Object.keys(entry.evidencePins).sort()) !== stable([...edge.evidence].sort())) report('CUE_PIN_MISMATCH', `${p}/evidencePins`, 'Cue source pins must cover exactly the referenced evidence IDs.');
409
+ let hasGap = false;
410
+ for (const evidenceId of edge.evidence) {
411
+ const record = model.evidence?.[evidenceId], pinPath = pointer(`${p}/evidencePins`, evidenceId);
412
+ if (!isRecord(record)) { report('CUE_SOURCE_UNAVAILABLE', pinPath, 'Referenced source record is absent.'); continue; }
413
+ hasGap ||= record.state === 'missing';
414
+ const expected = record.state === 'missing' ? record : { state: record.state, source: record.source, freshness: record.freshness };
415
+ if (stable(entry.evidencePins[evidenceId]) !== stable(expected)) report('CUE_PIN_MISMATCH', pinPath, 'Source, freshness or reviewed-gap pin differs from the canonical evidence.');
416
+ if (record.state === 'available' && (!record.source || record.freshness?.status === 'unavailable')) report('CUE_SOURCE_UNAVAILABLE', pinPath, 'Unavailable sources cannot activate reviewed cue mode.');
417
+ }
418
+ if (hasGap ? edge.status !== 'unknown' || entry.approvalClass !== 'reviewed-gap' : has(entry, 'approvalClass')) report('CUE_GAP_NOT_REVIEWED', `${p}/approvalClass`, 'Missing evidence requires an exact reviewed-gap approval on an unknown edge.');
419
+ }
420
+ }
421
+
422
+ function checkReferences(model, report) {
423
+ const nodes = Array.isArray(model.nodes) ? model.nodes.filter(isRecord) : [];
424
+ const edges = Array.isArray(model.edges) ? model.edges.filter(isRecord) : [];
425
+ const nodeIds = new Set(nodes.map((node) => node.id));
426
+ const semanticIds = new Set([model.id]);
427
+ const sourceIds = new Set(isRecord(model.evidence) ? Object.keys(model.evidence) : []);
428
+ const assetIds = new Set(isRecord(model.assets) ? Object.keys(model.assets) : []);
429
+ const sequenceOrders = new Set();
430
+ const parents = new Map();
431
+ for (const [collection, values] of [['nodes', model.nodes], ['edges', model.edges]]) {
432
+ if (!Array.isArray(values)) continue;
433
+ values.forEach((item, i) => {
434
+ if (!isRecord(item)) return;
435
+ const path = `/${collection}/${i}`;
436
+ if (semanticIds.has(item.id)) report('DUPLICATE_ID', `${path}/id`, 'Diagram, node and edge IDs must be unique across the model.');
437
+ semanticIds.add(item.id);
438
+ if (Array.isArray(item.evidence)) item.evidence.forEach((ref, index) => {
439
+ if (!sourceIds.has(ref)) report('BROKEN_REFERENCE', `${path}/evidence/${index}`, 'Evidence reference is absent from the catalog.');
440
+ });
441
+ if (collection === 'nodes') {
442
+ if (has(item, 'imageRef') && !assetIds.has(item.imageRef)) report('BROKEN_REFERENCE', `${path}/imageRef`, 'Image reference is absent from the asset catalog.');
443
+ } else {
444
+ for (const endpoint of ['from', 'to']) if (!nodeIds.has(item[endpoint])) report('BROKEN_REFERENCE', `${path}/${endpoint}`, 'Edge endpoint must reference an existing node.');
445
+ if (model.layout?.family === 'sequence' && item.kind !== 'sequence') report('INVALID_SEQUENCE', `${path}/kind`, 'The sequence family supports only explicitly ordered sequence messages.');
446
+ if (item.kind === 'sequence') {
447
+ if (sequenceOrders.has(item.order)) report('INVALID_SEQUENCE', `${path}/order`, 'Sequence messages must have unique semantic order values.');
448
+ sequenceOrders.add(item.order);
449
+ }
450
+ if (item.kind === 'contains') {
451
+ if (parents.has(item.to)) report('INVALID_CONTAINMENT', `${path}/to`, 'A component can have only one declared parent.');
452
+ parents.set(item.to, item.from);
453
+ }
454
+ }
455
+ });
456
+ }
457
+ for (let i = 0; i < edges.length; i += 1) {
458
+ const edge = edges[i];
459
+ if (edge.kind !== 'contains') continue;
460
+ const visited = new Set([edge.to]);
461
+ let ancestor = edge.from;
462
+ while (parents.has(ancestor) || ancestor === edge.to) {
463
+ if (visited.has(ancestor)) {
464
+ // Locate the original index even if malformed entries were skipped above.
465
+ report('INVALID_CONTAINMENT', `/edges/${model.edges.indexOf(edge)}`, 'Component containment must be acyclic.');
466
+ break;
467
+ }
468
+ visited.add(ancestor);
469
+ ancestor = parents.get(ancestor);
470
+ }
471
+ }
472
+ for (const [key, ids] of [['positions', nodeIds], ['routes', new Set(edges.map(edge => edge.id))]]) {
473
+ if (isRecord(model.layout?.[key])) for (const ref of Object.keys(model.layout[key])) {
474
+ if (!ids.has(ref)) report('BROKEN_REFERENCE', pointer(`/layout/${key}`, ref), 'Explicit layout must reference an existing semantic ID.');
475
+ if (key === 'routes') {
476
+ const edge = edges.find(edge => edge.id === ref), route = model.layout.routes[ref];
477
+ if (edge?.from === edge?.to && edge && isRecord(route) && route.sourceSide === route.targetSide && !route.waypoints?.length) report('DEGENERATE_ROUTE', pointer('/layout/routes', ref), 'A self-relation using the same side needs interior waypoints.');
478
+ }
479
+ }
480
+ }
481
+ if (isRecord(model.layout?.grid?.cells)) {
482
+ const occupied = new Set();
483
+ for (const [ref, cell] of Object.entries(model.layout.grid.cells)) {
484
+ if (!nodeIds.has(ref)) report('BROKEN_REFERENCE', pointer('/layout/grid/cells', ref), 'Grid placement must reference an existing node.');
485
+ if (Array.isArray(cell) && cell.length === 2) {
486
+ const key = `${cell[0]},${cell[1]}`;
487
+ if (occupied.has(key)) report('GRID_CELL_CONFLICT', pointer('/layout/grid/cells', ref), `Grid cell ${key} is occupied more than once.`);
488
+ occupied.add(key);
489
+ }
490
+ }
491
+ for (const nodeId of nodeIds) if (!Object.hasOwn(model.layout.grid.cells, nodeId)) report('LAYOUT_COVERAGE', '/layout/grid/cells', `Grid is missing node ${nodeId}.`);
492
+ }
493
+ if (model.layout?.mode === 'explicit' && isRecord(model.layout?.positions)) {
494
+ for (const nodeId of nodeIds) if (!Object.hasOwn(model.layout.positions, nodeId)) report('LAYOUT_COVERAGE', '/layout/positions', `Explicit layout is missing node ${nodeId}.`);
495
+ }
496
+ if (isRecord(model.layout?.nodeHints)) for (const nodeId of Object.keys(model.layout.nodeHints)) {
497
+ if (!nodeIds.has(nodeId)) report('BROKEN_REFERENCE', pointer('/layout/nodeHints', nodeId), 'Layout hint must reference an existing node.');
498
+ }
499
+ }
@@ -0,0 +1,21 @@
1
+ import { readFile } from 'node:fs/promises';
2
+ import { checkFreshness } from './index.js';
3
+
4
+ try {
5
+ const args = process.argv.slice(2);
6
+ if (args.length !== 2 || args.some((arg) => arg.startsWith('-'))) {
7
+ throw Object.assign(new Error(), { code: 'USAGE' });
8
+ }
9
+ const model = await readFile(args[0], 'utf8');
10
+ let options;
11
+ try { options = JSON.parse(await readFile(args[1], 'utf8')); }
12
+ catch { throw Object.assign(new Error(), { code: 'OPTIONS_READ_FAILED' }); }
13
+ const report = await checkFreshness(model, options);
14
+ process.stdout.write(`${JSON.stringify(report, null, 2)}\n`);
15
+ process.exitCode = report.evidence.some((item) => item.status !== 'unchanged') ? 1 : 0;
16
+ } catch (error) {
17
+ const known = ['USAGE', 'OPTIONS_READ_FAILED', 'INVALID_FRESHNESS_OPTIONS', 'MODEL_VALIDATION_FAILED'];
18
+ const code = known.includes(error.code) ? error.code : 'INPUT_READ_FAILED';
19
+ process.stdout.write(`${JSON.stringify({ error: { code, message: 'Freshness check could not start. Usage: node src/freshness/cli.mjs MODEL.json OPTIONS.json', ...(error.diagnostics ? { diagnostics: error.diagnostics } : {}) } }, null, 2)}\n`);
20
+ process.exitCode = 2;
21
+ }