@locus-forge/locus-map 0.1.0 → 0.2.2-dev.20261206.g5e970d2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +2 -2
- package/README.md +35 -10
- package/THIRD_PARTY_NOTICES.md +3 -1
- package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/assets/{abnfDiagram-VCTEODGH-tB0FidS0.js → abnfDiagram-VCTEODGH-JiCO6vo-.js} +1 -1
- package/dist/assets/{ar-SA-G6X2FPQ2-BQNIWg05.js → ar-SA-G6X2FPQ2-BdzEBmp3.js} +1 -1
- package/dist/assets/{architectureDiagram-5GKGNRK7-D1SjeTh7.js → architectureDiagram-5GKGNRK7-D7T_vJwe.js} +1 -1
- package/dist/assets/{az-AZ-76LH7QW2-BAQK4UQr.js → az-AZ-76LH7QW2-BQ_SoVB7.js} +1 -1
- package/dist/assets/{bg-BG-XCXSNQG7-BDvRwwoU.js → bg-BG-XCXSNQG7-DlH1olUf.js} +1 -1
- package/dist/assets/{blockDiagram-I7D4REHJ-xOWzl6z3.js → blockDiagram-I7D4REHJ-DPz0LEjY.js} +1 -1
- package/dist/assets/{bn-BD-2XOGV67Q-B-osMrPA.js → bn-BD-2XOGV67Q-CFIZU06C.js} +1 -1
- package/dist/assets/{c4Diagram-7LVT6UL2-D5e6bidF.js → c4Diagram-7LVT6UL2-B6uCi0Ol.js} +1 -1
- package/dist/assets/{ca-ES-6MX7JW3Y-BqurRCRN.js → ca-ES-6MX7JW3Y-Bpe3kOti.js} +1 -1
- package/dist/assets/channel-DB3atv5o.js +1 -0
- package/dist/assets/{chunk-2Q5K7J3B-CQmSUQUU.js → chunk-2Q5K7J3B-DTWRWhpx.js} +1 -1
- package/dist/assets/{chunk-5VM5RSS4-iLXee7yJ.js → chunk-5VM5RSS4-Dfr1HUAN.js} +1 -1
- package/dist/assets/{chunk-F27PBJKO-BSQMcINP.js → chunk-F27PBJKO-D_IVoCIK.js} +1 -1
- package/dist/assets/{chunk-IMKFNOWR-l-2241K-.js → chunk-IMKFNOWR-Boa_chn8.js} +1 -1
- package/dist/assets/{chunk-JWPE2WC7-Cu7ldP_G.js → chunk-JWPE2WC7-RaK8jzc2.js} +1 -1
- package/dist/assets/{chunk-POPQ4Y6H-BkgM8HKl.js → chunk-POPQ4Y6H-D7xOpv6O.js} +1 -1
- package/dist/assets/{chunk-SVP7TREG-BR7R6F9G.js → chunk-SVP7TREG-XvJsx1jt.js} +1 -1
- package/dist/assets/{chunk-TICWLB2K-DzFEizqD.js → chunk-TICWLB2K-DZCVWmZG.js} +1 -1
- package/dist/assets/{chunk-XXDRQBXY-B3V5ae8Q.js → chunk-XXDRQBXY-Djk-REAy.js} +1 -1
- package/dist/assets/classDiagram-ZZMXUADV-CzvsXoj_.js +1 -0
- package/dist/assets/classDiagram-v2-VYDZK3BY-HxwJpdPt.js +1 -0
- package/dist/assets/{cose-bilkent-JH36ORCC-BSUyEU78.js → cose-bilkent-JH36ORCC-D6XaIbtG.js} +1 -1
- package/dist/assets/{cs-CZ-2BRQDIVT-BtaYa8qS.js → cs-CZ-2BRQDIVT-BdzgSHdJ.js} +1 -1
- package/dist/assets/{cynefin-OW5HDTMX-BQ6G1FGd.js → cynefin-OW5HDTMX-BMTkMDG1.js} +1 -1
- package/dist/assets/{cynefinDiagram-5FMLGOSQ-BmH3cQU1.js → cynefinDiagram-5FMLGOSQ-C2s5i9h9.js} +1 -1
- package/dist/assets/{d3-scale-6PaX2_v-.js → d3-scale-BMIMKl27.js} +1 -1
- package/dist/assets/{da-DK-5WZEPLOC-Dk88jbcE.js → da-DK-5WZEPLOC-Bj-GFWHU.js} +1 -1
- package/dist/assets/{dagre-GXQ25YYZ-DzqDTRYR.js → dagre-GXQ25YYZ-CMT8wlz0.js} +1 -1
- package/dist/assets/{de-DE-XR44H4JA-BtkAzckW.js → de-DE-XR44H4JA-JmpondAB.js} +1 -1
- package/dist/assets/{diagram-S7CK7UJ4-CKkad9LS.js → diagram-S7CK7UJ4-DU1blS3M.js} +1 -1
- package/dist/assets/{diagram-UQ7AKVKN-HnH6kGvY.js → diagram-UQ7AKVKN-0lWi4KDV.js} +1 -1
- package/dist/assets/{diagram-VSXAHHWV-BGbiUlE1.js → diagram-VSXAHHWV-CrseWrhn.js} +1 -1
- package/dist/assets/{diagram-VX7I27RA-MPt2qzsq.js → diagram-VX7I27RA-C5BMS8Ql.js} +1 -1
- package/dist/assets/{diagram-Z3DM3KII-hcUL0DLm.js → diagram-Z3DM3KII-Cc3vq6b8.js} +1 -1
- package/dist/assets/{ebnfDiagram-PWID7BFC-hUZUNK__.js → ebnfDiagram-PWID7BFC-ZF78imma.js} +1 -1
- package/dist/assets/{el-GR-BZB4AONW-DOnEE5fq.js → el-GR-BZB4AONW-BFslUpdm.js} +1 -1
- package/dist/assets/{engines-C6k3bUFA.js → engines-BtEtIBXt.js} +1 -1
- package/dist/assets/{erDiagram-RLTQ6QDP-DoHgp3nM.js → erDiagram-RLTQ6QDP-CjPjDn2i.js} +1 -1
- package/dist/assets/{es-ES-U4NZUMDT-VFRkCKl6.js → es-ES-U4NZUMDT-B0ezBTxQ.js} +1 -1
- package/dist/assets/{eu-ES-A7QVB2H4-CWlqsMWd.js → eu-ES-A7QVB2H4-DP_gx2kf.js} +1 -1
- package/dist/assets/{fa-IR-HGAKTJCU-CxtwUetE.js → fa-IR-HGAKTJCU-BuT1ELty.js} +1 -1
- package/dist/assets/{fi-FI-Z5N7JZ37-Djl1mow5.js → fi-FI-Z5N7JZ37-BAu_Cj7n.js} +1 -1
- package/dist/assets/{flowDiagram-HODETNUW-CCs8KCI7.js → flowDiagram-HODETNUW-yqPGWNdd.js} +1 -1
- package/dist/assets/{fr-FR-RHASNOE6-CTSI58QE.js → fr-FR-RHASNOE6-OF1CpgtN.js} +1 -1
- package/dist/assets/{ganttDiagram-EL5Y4UJY-V39NrnLQ.js → ganttDiagram-EL5Y4UJY-zUY5je2K.js} +1 -1
- package/dist/assets/{gitGraphDiagram-WWUBYQGX-DsfCYVRX.js → gitGraphDiagram-WWUBYQGX-oWrs7wy0.js} +1 -1
- package/dist/assets/{gl-ES-HMX3MZ6V-9X19A7Co.js → gl-ES-HMX3MZ6V-CkJ47l98.js} +1 -1
- package/dist/assets/{he-IL-6SHJWFNN-CCWn0aTE.js → he-IL-6SHJWFNN-D7CecRlh.js} +1 -1
- package/dist/assets/{hi-IN-IWLTKZ5I-Czvn3Cqk.js → hi-IN-IWLTKZ5I-CGlW2X-h.js} +1 -1
- package/dist/assets/{hu-HU-A5ZG7DT2-CSA0xyZy.js → hu-HU-A5ZG7DT2-Dq_n_tbp.js} +1 -1
- package/dist/assets/{id-ID-SAP4L64H-C8Y8IY1j.js → id-ID-SAP4L64H-CotwO_06.js} +1 -1
- package/dist/assets/index-CdVc9Lmz.js +624 -0
- package/dist/assets/{index-C_ek_ppO.css → index-Cv-tTxNC.css} +1 -1
- package/dist/assets/{index-0Kge4otW.js → index-VaWCb9bx.js} +5 -5
- package/dist/assets/{infoDiagram-27XIBGKW-C0Ivywz2.js → infoDiagram-27XIBGKW-CYzIkNFW.js} +1 -1
- package/dist/assets/{ishikawaDiagram-5VMMS53U-CMmE4k9T.js → ishikawaDiagram-5VMMS53U-DkgUsuk5.js} +1 -1
- package/dist/assets/{it-IT-JPQ66NNP-gVSFrMB6.js → it-IT-JPQ66NNP-h97o81us.js} +1 -1
- package/dist/assets/{ja-JP-DBVTYXUO-HnD6OZRp.js → ja-JP-DBVTYXUO-M6EVfh0o.js} +1 -1
- package/dist/assets/{journeyDiagram-3NMN7TZE-CpkEKmSl.js → journeyDiagram-3NMN7TZE-CuKkNrJy.js} +1 -1
- package/dist/assets/{kaa-6HZHGXH3-C29qXHap.js → kaa-6HZHGXH3-DUy85zzz.js} +1 -1
- package/dist/assets/{kab-KAB-ZGHBKWFO-CLNG0bT_.js → kab-KAB-ZGHBKWFO-ChL-fKtk.js} +1 -1
- package/dist/assets/{kanban-definition-UXKFOSKX-hOCBBBFh.js → kanban-definition-UXKFOSKX-DkOxt3kf.js} +1 -1
- package/dist/assets/{kk-KZ-P5N5QNE5-DNoNNWtH.js → kk-KZ-P5N5QNE5-DY6ucSGD.js} +1 -1
- package/dist/assets/{km-KH-HSX4SM5Z-eQMwEzV_.js → km-KH-HSX4SM5Z-BAaS4014.js} +1 -1
- package/dist/assets/{ko-KR-MTYHY66A-DP3yaFyg.js → ko-KR-MTYHY66A-D-r3mJ1R.js} +1 -1
- package/dist/assets/{ku-TR-6OUDTVRD-B2GUIkso.js → ku-TR-6OUDTVRD-Dk1GCoOP.js} +1 -1
- package/dist/assets/{layout-D_xIMZTq.js → layout-DtNEGI4_.js} +1 -1
- package/dist/assets/{lt-LT-XHIRWOB4-CuDegLO4.js → lt-LT-XHIRWOB4-3Z2Ui1VZ.js} +1 -1
- package/dist/assets/{lv-LV-5QDEKY6T-DOjbM5AK.js → lv-LV-5QDEKY6T-Bg59rOkR.js} +1 -1
- package/dist/assets/{mindmap-definition-YA3MSWOX-DL4r3hzu.js → mindmap-definition-YA3MSWOX-Dcs8eV7p.js} +1 -1
- package/dist/assets/{mr-IN-CRQNXWMA-C0vzd3Vl.js → mr-IN-CRQNXWMA-DepTOG29.js} +1 -1
- package/dist/assets/{my-MM-5M5IBNSE-Dirjg8Yf.js → my-MM-5M5IBNSE-4KqL4Tav.js} +1 -1
- package/dist/assets/{nb-NO-T6EIAALU-IpjtB42R.js → nb-NO-T6EIAALU-5YWO_l3W.js} +1 -1
- package/dist/assets/{nl-NL-IS3SIHDZ-BiVBDlHI.js → nl-NL-IS3SIHDZ-QlAndkM2.js} +1 -1
- package/dist/assets/{nn-NO-6E72VCQL-kbUyKFiJ.js → nn-NO-6E72VCQL-BscwhEDW.js} +1 -1
- package/dist/assets/{oc-FR-POXYY2M6-C-zRRb5B.js → oc-FR-POXYY2M6-k7bYbSQj.js} +1 -1
- package/dist/assets/{pa-IN-N4M65BXN-Dhh3bH7-.js → pa-IN-N4M65BXN-jxBFwrWj.js} +1 -1
- package/dist/assets/{pegDiagram-XKGWAZYB-CtbYRYVR.js → pegDiagram-XKGWAZYB-zM-VZA3r.js} +1 -1
- package/dist/assets/{pica-HSHSc6s6.js → pica-CsWQ4DPU.js} +1 -1
- package/dist/assets/{pieDiagram-E7YTZNPT-Cwv0hsvK.js → pieDiagram-E7YTZNPT-C60FE0D8.js} +1 -1
- package/dist/assets/{pl-PL-T2D74RX3-CuDP0Pq6.js → pl-PL-T2D74RX3-be8atU_l.js} +1 -1
- package/dist/assets/{pt-BR-5N22H2LF-BlvJqOgZ.js → pt-BR-5N22H2LF-CSE0O2fj.js} +1 -1
- package/dist/assets/{pt-PT-UZXXM6DQ-C3RUoC5C.js → pt-PT-UZXXM6DQ-5rnYJhy1.js} +1 -1
- package/dist/assets/{quadrantDiagram-AXDQQJYC-C_u4_Oxh.js → quadrantDiagram-AXDQQJYC-DyH84hx6.js} +1 -1
- package/dist/assets/{railroadDiagram-O6MQD6OU-FHKPLH9r.js → railroadDiagram-O6MQD6OU-DCrJgP9s.js} +1 -1
- package/dist/assets/{requirementDiagram-BXWQKSXE-B_8MbGxf.js → requirementDiagram-BXWQKSXE-C78-QlFo.js} +1 -1
- package/dist/assets/{ro-RO-JPDTUUEW-QUZCSbcA.js → ro-RO-JPDTUUEW-Gh6EgC27.js} +1 -1
- package/dist/assets/{ru-RU-B4JR7IUQ-BCk_AmNC.js → ru-RU-B4JR7IUQ-BUWESZhq.js} +1 -1
- package/dist/assets/{sankeyDiagram-P5KCCOFB-DsfunxYA.js → sankeyDiagram-P5KCCOFB-D_MOkKEs.js} +1 -1
- package/dist/assets/{sequenceDiagram-WJ2MYXX4-cRf71lBb.js → sequenceDiagram-WJ2MYXX4-BeQbHZRB.js} +1 -1
- package/dist/assets/{si-LK-N5RQ5JYF-jo1qm6JU.js → si-LK-N5RQ5JYF-C9pnvQMf.js} +1 -1
- package/dist/assets/{sizeCapture-INFHLROL-COrYinZO.js → sizeCapture-INFHLROL-DUn-Mus_.js} +1 -1
- package/dist/assets/{sk-SK-C5VTKIMK-BnMkvGRK.js → sk-SK-C5VTKIMK-FnkPBibb.js} +1 -1
- package/dist/assets/{sl-SI-NN7IZMDC-DIkgazuw.js → sl-SI-NN7IZMDC-Cwrqj_B9.js} +1 -1
- package/dist/assets/{stateDiagram-D77RDMKH-BvBlef2E.js → stateDiagram-D77RDMKH-C3EF3jQ3.js} +1 -1
- package/dist/assets/stateDiagram-v2-MP3YSRHH-CVQHmIvK.js +1 -0
- package/dist/assets/{subset-shared.chunk-Cp0oS3tn.js → subset-shared.chunk-8ifLcT_D.js} +1 -1
- package/dist/assets/{subset-worker.chunk-BEbN9HM2.js → subset-worker.chunk-DrNTybDR.js} +1 -1
- package/dist/assets/{sv-SE-XGPEYMSR-CxQiCAkW.js → sv-SE-XGPEYMSR-Btz80pGx.js} +1 -1
- package/dist/assets/{swimlanes-42K2YHIH-BjR8lfsn.js → swimlanes-42K2YHIH-B2_kGhPA.js} +1 -1
- package/dist/assets/swimlanesDiagram-VR7AAH4N-C1rOmrkT.js +8 -0
- package/dist/assets/{ta-IN-2NMHFXQM-e_HiIsgP.js → ta-IN-2NMHFXQM-B0bWtgu1.js} +1 -1
- package/dist/assets/{th-TH-HPSO5L25-DTp8x86q.js → th-TH-HPSO5L25-DgC0yFw3.js} +1 -1
- package/dist/assets/{timeline-definition-24CTP7MA-B0uf0zYu.js → timeline-definition-24CTP7MA-Bu0W3Mcy.js} +1 -1
- package/dist/assets/{tr-TR-DEFEU3FU-BfTQG1sR.js → tr-TR-DEFEU3FU-C9Mmy6ri.js} +1 -1
- package/dist/assets/{uk-UA-QMV73CPH-DMHmllj-.js → uk-UA-QMV73CPH-rxEnqB_i.js} +1 -1
- package/dist/assets/{vennDiagram-4TSXK5OY-AxXlA6VW.js → vennDiagram-4TSXK5OY-63JTeOph.js} +1 -1
- package/dist/assets/{vi-VN-M7AON7JQ-BtoynmIl.js → vi-VN-M7AON7JQ-DOVa-vAT.js} +1 -1
- package/dist/assets/{wardleyDiagram-VM6X3IG4-BiKqKrb1.js → wardleyDiagram-VM6X3IG4-Bct0TRuC.js} +1 -1
- package/dist/assets/{xychartDiagram-S5SC5T6Z-DKJ6ufCR.js → xychartDiagram-S5SC5T6Z-C21zgvSM.js} +1 -1
- package/dist/assets/{zh-CN-LNUGB5OW-BiSoyhtF.js → zh-CN-LNUGB5OW-MyifsmQ8.js} +1 -1
- package/dist/assets/{zh-HK-E62DVLB3-C6DC7GXY.js → zh-HK-E62DVLB3-Cp55UViv.js} +1 -1
- package/dist/assets/{zh-TW-RAJ6MFWO-D1A1a-SQ.js → zh-TW-RAJ6MFWO-DMy6SZap.js} +1 -1
- package/dist/index.html +2 -2
- package/dist/licenses/markdown-reading-notices.txt +76 -0
- package/docs/BUNDLE-FORMAT.md +18 -5
- package/docs/DIAGRAM-SOURCE.md +59 -12
- package/docs/LOCAL-DOCUMENT.md +17 -14
- package/docs/MODEL-CONTRACT.md +7 -4
- package/docs/PLANTUML-SOURCE.md +3 -2
- package/docs/VIEWER-LAUNCH.md +18 -3
- package/docs/VIEWER.md +118 -35
- package/docs/adr/ADR-001-2026-12-03-inspector-original-document-first/ADR-001-2026-12-03-inspector-original-document-first.md +1 -1
- package/docs/adr/ADR-006-2026-12-05-workspace-navigation-rows/ADR-006-2026-12-05-workspace-navigation-rows.md +29 -0
- package/docs/adr/ADR-007-2026-12-05-native-edit-selection/ADR-007-2026-12-05-native-edit-selection.md +25 -0
- package/docs/capabilities.json +27 -4
- package/docs/decisions.md +3 -1
- package/licenses/markdown-reading-notices.txt +76 -0
- package/package.json +5 -2
- package/scripts/build-map.mjs +1 -1
- package/scripts/lib/map-viewer-server.mjs +48 -24
- package/scripts/lib/original-materials.mjs +1 -1
- package/scripts/lib/original-report-server.mjs +7 -3
- package/scripts/lib/project-catalog.mjs +14 -2
- package/scripts/lib/project-map-inputs.mjs +1 -1
- package/scripts/lib/sketch-publication.mjs +1 -1
- package/scripts/lib/task-map-build.mjs +1 -1
- package/scripts/lib/view-args.mjs +183 -0
- package/scripts/lib/workflow/reader-surface.mjs +29 -11
- package/scripts/locus-map.mjs +14 -20
- package/scripts/open-map.mjs +84 -49
- package/scripts/vite-browser-dependencies.mjs +2 -1
- package/skills/README.md +2 -1
- package/skills/locus-map/SKILL.md +27 -25
- package/skills/locus-map/assets/artifact-handoff.md +2 -1
- package/skills/locus-map/references/build-environment.md +11 -7
- package/skills/locus-map/references/checks.md +16 -4
- package/skills/locus-map/references/component-checkpoint.md +35 -0
- package/skills/locus-map/references/draw-skill.md +2 -1
- package/skills/locus-map/references/selection.md +36 -13
- package/skills/locus-map/references/task-maps.md +5 -0
- package/skills/locus-map/references/visual-composition.md +69 -0
- package/skills/locus-map-draft/SKILL.md +95 -0
- package/skills/locus-map-draft/assets/chosen-direction.md +47 -0
- package/skills/locus-map-draft/references/divergence-and-formats.md +127 -0
- package/skills/locus-map-primitives/SKILL.md +6 -2
- package/skills/locus-map-primitives/references/card-presentation.md +57 -3
- package/skills/locus-map-primitives/references/reading-files.md +1 -1
- package/src/adapter/areas.js +1 -0
- package/src/adapter/semanticAdmission.js +118 -5
- package/src/authoring/buildDiagram.mjs +99 -19
- package/src/authoring/canvas-source-worker.mjs +96 -0
- package/src/authoring/canvasSource.mjs +41 -0
- package/src/authoring/diagramChecks.js +143 -1
- package/src/authoring/diagramSource.js +31 -5
- package/src/authoring/printPlantumlSource.js +13 -2
- package/src/authoring/readDetailsFiles.mjs +100 -19
- package/src/bundle/chain.js +129 -32
- package/src/bundle/chainBrowser.js +26 -2
- package/src/bundle/localDocument.mjs +87 -22
- package/src/bundle/localDocumentClient.js +5 -1
- package/src/bundle/projectClient.js +59 -18
- package/src/chain/validation.js +7 -1
- package/src/contract/readingMarkdown.js +57 -13
- package/src/contract/readingMaterials.js +18 -2
- package/src/contract/readingTable.js +66 -0
- package/src/viewer/ControlIcon.jsx +1 -0
- package/src/viewer/DiagramViewer.jsx +97 -56
- package/src/viewer/EmbeddedExcalidrawEditor.jsx +305 -0
- package/src/viewer/HighlightOverlay.jsx +146 -33
- package/src/viewer/Inspector.jsx +110 -33
- package/src/viewer/ProjectRail.jsx +11 -5
- package/src/viewer/ProjectTabs.jsx +9 -6
- package/src/viewer/ProjectViewChainViewer.jsx +235 -77
- package/src/viewer/ReadingTable.jsx +151 -0
- package/src/viewer/SketchCanvas.jsx +34 -87
- package/src/viewer/ViewChainViewer.jsx +583 -81
- package/src/viewer/camera.js +50 -18
- package/src/viewer/chainEditorSession.js +161 -35
- package/src/viewer/chainInstallation.js +3 -3
- package/src/viewer/details/CanvasPreview.jsx +303 -0
- package/src/viewer/details/InspectorReadingSettings.jsx +50 -13
- package/src/viewer/details/MeaningFirst.jsx +2 -2
- package/src/viewer/details/ReadingFiles.jsx +32 -4
- package/src/viewer/details/ReadingMarkdown.jsx +43 -12
- package/src/viewer/details/RelationshipBody.jsx +2 -2
- package/src/viewer/details/details.css +69 -26
- package/src/viewer/diagramControls.css +1 -1
- package/src/viewer/fileError.js +53 -0
- package/src/viewer/geometry.js +12 -0
- package/src/viewer/highlight.js +26 -12
- package/src/viewer/inspectorPosition.js +68 -16
- package/src/viewer/projectTasks.css +1 -2
- package/src/viewer/readingTable.css +47 -0
- package/src/viewer/sceneState.js +0 -4
- package/src/viewer/sketchSettling.js +71 -0
- package/src/viewer/useInspectorPosition.js +126 -39
- package/src/viewer/viewChain.css +55 -24
- package/src/viewer/viewer.css +23 -12
- package/dist/assets/channel-DP1yLO71.js +0 -1
- package/dist/assets/classDiagram-ZZMXUADV-DKQje2st.js +0 -1
- package/dist/assets/classDiagram-v2-VYDZK3BY-C3KVT455.js +0 -1
- package/dist/assets/index-BaHpjra6.js +0 -362
- package/dist/assets/stateDiagram-v2-MP3YSRHH-jeUVI-Q4.js +0 -1
- package/dist/assets/swimlanesDiagram-VR7AAH4N-Dp8eikhA.js +0 -8
package/docs/VIEWER-LAUNCH.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Start the local viewer
|
|
2
2
|
|
|
3
|
-
Run `locus-map view --help` for the installed command's options and the path to this guide.
|
|
3
|
+
Run `locus-map view --help` for the installed command's options and the path to this guide. Use `locus-map` when installed globally (`npm install -g @locus-forge/locus-map` or `./install.sh`), `./node_modules/.bin/locus-map` inside an npm project, or `npx @locus-forge/locus-map` without installing it. Use `node scripts/locus-map.mjs` only from an unpublished Map source checkout. The package includes the built viewer.
|
|
4
4
|
|
|
5
5
|
## Open a viewer
|
|
6
6
|
|
|
@@ -18,6 +18,11 @@ Without a registry, **Personal** opens `~/.locusmap/maps` and creates it only on
|
|
|
18
18
|
|
|
19
19
|
Create `~/.locusmap/projects.toml` to choose the tabs and their order.
|
|
20
20
|
|
|
21
|
+
The tabs stay in the top row. Use the next row to see the selected document's
|
|
22
|
+
location and open or close **Contents**. The toggle and location stay in place
|
|
23
|
+
while the sidebar changes. On a narrow window, document tools sit below this
|
|
24
|
+
row.
|
|
25
|
+
|
|
21
26
|
```toml
|
|
22
27
|
port = 8181
|
|
23
28
|
|
|
@@ -77,11 +82,21 @@ The local record is written beside the configured document after a successful bu
|
|
|
77
82
|
## Open one project or document
|
|
78
83
|
|
|
79
84
|
```sh
|
|
80
|
-
# From the project root,
|
|
85
|
+
# From the project root, open one topic (.locus-map/<name>/project.json,
|
|
86
|
+
# .locus-map/<name>/<name>.locus-map.json, or .locus-map/<name>.locus-map.json):
|
|
87
|
+
locus-map view billing
|
|
88
|
+
|
|
89
|
+
# Open the root catalog (.locus-map/project.json), or an explicit catalog/topic:
|
|
90
|
+
locus-map view --project
|
|
91
|
+
locus-map view --project billing
|
|
92
|
+
|
|
93
|
+
# Browse all topics in the current project's .locus-map/, skipping the home registry:
|
|
81
94
|
locus-map view --local
|
|
82
95
|
```
|
|
83
96
|
|
|
84
|
-
Explicit and isolated launches skip the registry and choose a free port by default.
|
|
97
|
+
Explicit and isolated launches skip the registry and choose a free port by default. `locus-map view TARGET` accepts a relative or absolute `.locus-map.json` file, a `project.json` catalog, a directory containing one, or a bare topic name under `.locus-map/`. Options such as `--read-only`, `--port N` and `--source-root DIR` may appear in any order.
|
|
98
|
+
|
|
99
|
+
When an isolated launch targets a file or catalog under `.locus-map/` or inside the launch directory, the CLI defaults `--source-root` to the enclosing project directory so **Open in Zed** and original HTML reports work without extra flags. Pass `--source-root DIR` to point at a different checkout, or `--no-source-root` to disable original-file links. The viewer prints a canonical `http://127.0.0.1:<port>/...` URL and also accepts same-origin requests on `http://localhost:<port>` for local previews. See [viewing and saving documents](LOCAL-DOCUMENT.md) for catalog entry views, comparison and saving.
|
|
85
100
|
|
|
86
101
|
## Open a project's local tasks
|
|
87
102
|
|
package/docs/VIEWER.md
CHANGED
|
@@ -77,9 +77,9 @@ replacement it keeps the values installed with the current document.
|
|
|
77
77
|
**Readable**, **Fit**) always stay in the canvas stage.
|
|
78
78
|
- `statusTarget`: optional DOM element that receives, through a React portal, the
|
|
79
79
|
warning-level diagnostics that scene inspection reports for a valid scene, such
|
|
80
|
-
as a route search that stopped early. Drift, refused-replacement and
|
|
81
|
-
warnings stay in the canvas stage. Without a target, both the toolbar and
|
|
82
|
-
warnings render inside the viewer.
|
|
80
|
+
as a route search that stopped early. Drift, refused-replacement and Edit-mode
|
|
81
|
+
area warnings stay in the canvas stage. Without a target, both the toolbar and
|
|
82
|
+
these warnings render inside the viewer.
|
|
83
83
|
- `detailTargets`, `onOpenDetails`: optional map from a semantic ID to its linked
|
|
84
84
|
detail view, and the callback that opens it. Together they show drill-down
|
|
85
85
|
markers and the card's **Details → target title** action.
|
|
@@ -148,24 +148,72 @@ readable without dimming or making the card transparent against a dark canvas.
|
|
|
148
148
|
Its light color-scheme is scoped to the card, not the official editor.
|
|
149
149
|
|
|
150
150
|
The inspector is a nonmodal, opaque overlay above the entire official
|
|
151
|
-
editor stacking context and the highlight layer. It
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
151
|
+
editor stacking context and the highlight layer. It defaults to a wide reading
|
|
152
|
+
card (`760 × 720 px`, capped to stage bounds on narrow or short viewports) and
|
|
153
|
+
keeps its full preferred size instead of shrinking into a tight gap beside a
|
|
154
|
+
card. While the inspector is already open, selecting another card or following
|
|
155
|
+
a connection keeps the window stationary and replaces only its content. After
|
|
156
|
+
closing, reopening on the same diagram restores the diagram's last window
|
|
157
|
+
position unless that rect would substantially cover the newly selected item
|
|
158
|
+
(more than 35% of its area) and a clearer side is available—in which case it
|
|
159
|
+
moves beside the selection while keeping the reader's preferred size. An unavailable anchor uses a
|
|
160
|
+
canvas-edge fallback. Once open, the reader can immediately resize or drag the
|
|
161
|
+
inspector freely within stage bounds—including over diagram elements—without
|
|
162
|
+
first moving it; `Home` or **Return Inspector** clears the diagram's saved
|
|
163
|
+
position and places the card beside the current selection at its preferred
|
|
164
|
+
size. Its sticky header shows the selected item title alongside borderless
|
|
165
|
+
circular Back/Settings/Close controls and a soft **Path** pill while content
|
|
166
|
+
scrolls.
|
|
167
|
+
|
|
168
|
+
### Minimalist viewer chrome
|
|
169
|
+
|
|
170
|
+
Viewer controls follow quiet, borderless chrome so diagram content and reading
|
|
171
|
+
notes stay primary:
|
|
172
|
+
|
|
173
|
+
- **Inspector header:** show the selected node, relation or task title on a
|
|
174
|
+
single truncated line beside compact, circular, borderless icon controls
|
|
175
|
+
(**Back**, **Reading settings**, **Close**) with a subtle hover tint and clear
|
|
176
|
+
`:focus-visible` outline. Group **Path** (**From** / **To**) inside one soft
|
|
177
|
+
borderless pill (`#f1f5f9`) whose buttons lift onto a white pill on hover or
|
|
178
|
+
focus.
|
|
179
|
+
- **Structural `Contents` groups:** preserve heading weight on structural folder
|
|
180
|
+
or subgroup headers (`data-group-entry`, `aria-disabled="true"`), mute their
|
|
181
|
+
text (`var(--lm-muted)` with reduced opacity), and suppress clickable-link
|
|
182
|
+
hover affordances on disabled rows so only actual diagram pages read as
|
|
183
|
+
navigation targets.
|
|
184
|
+
- **In-page `Contents` card anchors:** render optional card-anchor rows
|
|
185
|
+
(`data-node-anchor`, `{map, view, node}`) in a smaller, tighter muted scale
|
|
186
|
+
with a subtle dot indicator and `aria-current="location"` when selected so
|
|
187
|
+
readers distinguish in-page jumps from page/canvas destinations.
|
|
188
|
+
- **Clean View canvas:** keep live `Area layout` geometry warnings in **Edit**
|
|
189
|
+
mode rather than overlaying them in **View**.
|
|
157
190
|
|
|
158
191
|
### Inspector reading order
|
|
159
192
|
|
|
160
193
|
Selecting an element opens the available primary document for reading. The
|
|
161
|
-
borderless Inspector opens with the
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
`description` as plain text,
|
|
165
|
-
|
|
194
|
+
borderless Inspector opens with the selected item's title in its sticky header,
|
|
195
|
+
followed by the author's note, when present, and the first assigned reading
|
|
196
|
+
file. A local task uses its own `task.md` as the primary document, showing the
|
|
197
|
+
task title in the header, any textual frontmatter `description` as plain text,
|
|
198
|
+
and the complete rendered Markdown body. See the
|
|
199
|
+
[accepted viewer design decisions](decisions.md) for the rationale.
|
|
166
200
|
|
|
167
201
|
Markdown keeps its own headings, lists, pipe tables and
|
|
168
|
-
code.
|
|
202
|
+
code. In CommonMark notes, packaged Markdown, and local task documents, use
|
|
203
|
+
`$x^2$` or `\(x^2\)` for inline LaTeX. For a separate equation, put `$$` or
|
|
204
|
+
`\[` and `\]` on delimiter lines around the formula. For example:
|
|
205
|
+
|
|
206
|
+
```markdown
|
|
207
|
+
The area is $A = \pi r^2$.
|
|
208
|
+
|
|
209
|
+
$$
|
|
210
|
+
\frac{dA}{dr} = 2\pi r
|
|
211
|
+
$$
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
When math delimiters overlap code, links, images, or literal HTML, the reader
|
|
215
|
+
keeps the ordinary Markdown rendering. A leading YAML metadata mapping is
|
|
216
|
+
hidden in the reading view. **View original
|
|
169
217
|
Markdown** shows the complete packaged source, including metadata. Static HTML opens
|
|
170
218
|
inline. A path-only HTML document offers **Open full original HTML** when a bound
|
|
171
219
|
viewer can reach the original. Additional files follow in assignment order under
|
|
@@ -175,14 +223,31 @@ row gives its direction, source, action and destination; selecting it opens its
|
|
|
175
223
|
condition, endpoint controls and evidence.
|
|
176
224
|
|
|
177
225
|
In **View**, selecting a mapped node or relation opens its floating Inspector.
|
|
178
|
-
In **Edit**,
|
|
179
|
-
|
|
180
|
-
|
|
226
|
+
In **Edit**, canvas clicks use Excalidraw selection and tools. Hold Cmd on
|
|
227
|
+
macOS or Ctrl on Windows and Linux and click the arrow stroke to select it inside
|
|
228
|
+
a labeled group. Open details deliberately with **Options → Inspect**. Clicking
|
|
229
|
+
the canvas again closes the Inspector.
|
|
181
230
|
|
|
182
231
|
Closing the card returns focus to its opener or to the canvas. Its Back control
|
|
183
|
-
revisits cards inspected on that canvas.
|
|
184
|
-
|
|
185
|
-
|
|
232
|
+
revisits cards inspected on that canvas. Attached canvas files (`kind: "canvas"`)
|
|
233
|
+
render inline inside the Inspector using a view-only official Excalidraw preview
|
|
234
|
+
(the primary attachment mounts immediately; supporting attachments mount lazily
|
|
235
|
+
when expanded) with **Fit** and **↗** pop-out controls. When an element also
|
|
236
|
+
has a linked `↘` diagram, the same compact preview appears alongside its
|
|
237
|
+
**↘** target action: same-file views preview from the current session drafts,
|
|
238
|
+
and cross-document project links fetch strictly read-only previews through
|
|
239
|
+
`GET /api/project/document` without acquiring a write lock. Inspector text-zoom
|
|
240
|
+
settings scale prose blocks while canvas previews stay at native zoom (`1`).
|
|
241
|
+
When focus is inside a preview stage, `Escape` lets active preview menus or
|
|
242
|
+
dialogs close first or moves focus out of the preview stage instead of closing
|
|
243
|
+
the Inspector on the first press. Clicking **↗** on an attached canvas opens it
|
|
244
|
+
full-screen in the same window (supporting View/Edit, Save through the outer
|
|
245
|
+
document session and file lock, child **Inspector**, internal multi-view child
|
|
246
|
+
traversal, and `SceneEditPrompt` provenance naming `canvasId`, `attachment`, and
|
|
247
|
+
`sourcePath`) while keeping the parent viewer suspended in place so its camera,
|
|
248
|
+
undo history, and selected card caption survive return. A compact single-line
|
|
249
|
+
`←` return pill integrates into the existing location row (or header breadcrumb
|
|
250
|
+
when no location row is shown), reserving zero extra vertical chrome rows. Activating a `↘` destination opens the target in the same tab. The destination can be a view
|
|
186
251
|
in this file or a view in another registered project document. Project
|
|
187
252
|
addresses, the sidebar and browser history track the active canvas. A project address with a node ID highlights the card and shows its name above the canvas.
|
|
188
253
|
**Inspect card** opens its details. The document title stays at the top throughout the visit.
|
|
@@ -218,9 +283,9 @@ not trap Tab. On narrow screens its width and scrollable height stay within the
|
|
|
218
283
|
canvas.
|
|
219
284
|
|
|
220
285
|
The selected element names the dialog for assistive technology. Its title stays on the canvas. An unlabeled relationship uses its endpoints in source-to-target order. Connections in this diagram and Sources start collapsed. Expand Connections to read compact directional rows or follow a relationship. Back restores the previous disclosure, focus and scroll position. The gear opens **Reading settings** to adjust its width, height
|
|
221
|
-
and text zoom. The default size is
|
|
286
|
+
and text zoom. The default size is 760 × 720 pixels, constrained to the canvas.
|
|
222
287
|
The canvas keeps its own zoom. Desktop readers can also drag the resize corner.
|
|
223
|
-
|
|
288
|
+
Once customized, the browser remembers these three settings for the viewer hostname in the current
|
|
224
289
|
browser profile, including when the next launch selects a different port. They
|
|
225
290
|
apply across documents on that host. With cookies disabled, the fallback uses
|
|
226
291
|
storage for the same host and port. With all storage disabled, controls operate
|
|
@@ -234,14 +299,17 @@ card, release the pointer at the edge. **Return Inspector** appears on the visib
|
|
|
234
299
|
canvas as soon as the card extends beyond an edge. Click it or focus it and
|
|
235
300
|
press Enter to bring the same card back beside the selection. Its scroll
|
|
236
301
|
position, open sections and reading settings are preserved. Home on the handle
|
|
237
|
-
also returns the card.
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
302
|
+
also returns the card. Window placement is remembered per diagram in the
|
|
303
|
+
current session, including when the Inspector is closed and reopened, unless
|
|
304
|
+
reopening would cover more than 35% of the newly selected item and a clearer
|
|
305
|
+
position is available. Switching items while a visible Inspector is open keeps
|
|
306
|
+
it stationary. Home and Return Inspector clear the remembered position. Reloading the page
|
|
307
|
+
starts a fresh session. Position and evidence controls are local UI state.
|
|
308
|
+
|
|
309
|
+
The selected outline or arrow is drawn with a heavier stroke in its existing
|
|
310
|
+
color. Directly related shapes, lifelines and arrows get a lighter emphasis.
|
|
311
|
+
The viewer draws these strokes on its transient highlight layer using the
|
|
312
|
+
native element geometry. Native edits remain intact across view/edit/view transitions.
|
|
245
313
|
|
|
246
314
|
## Directed path
|
|
247
315
|
|
|
@@ -344,10 +412,12 @@ Every model receives the same public camera controls:
|
|
|
344
412
|
- The viewer starts in **Fit**, which contains the whole graph and may make text
|
|
345
413
|
smaller; an `initialCamera` replaces that first frame. Zoom stays within
|
|
346
414
|
10%–3000%, so a graph too large to fit at 10% is cropped.
|
|
347
|
-
- **Readable** keeps primary node names at least 14 CSS pixels
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
415
|
+
- **Readable** keeps primary node names at least 14 CSS pixels and card body
|
|
416
|
+
text (`responsibility`, `outcome`, `body`, `description`) at least 12.5 CSS
|
|
417
|
+
pixels (with a minimum floor of 60%). A graph whose Fit zoom reaches that
|
|
418
|
+
scale is shown whole, no larger than 100% unless the floor is higher;
|
|
419
|
+
otherwise the graph is framed from its top-left corner at the floor and may
|
|
420
|
+
require panning.
|
|
351
421
|
- `−` and `+` step by 5 percentage points around the viewport centre. Wheel and
|
|
352
422
|
pinch zoom stay native editor gestures; the percentage follows them.
|
|
353
423
|
- Both framings exclude the native guide. Camera choices are temporary and emit
|
|
@@ -361,3 +431,16 @@ The checks for this document and their limits are listed in `tests/README.md`
|
|
|
361
431
|
(source checkout only).
|
|
362
432
|
|
|
363
433
|
For editorial diagrams, expand the diagram key beneath the canvas to see the current card fills and relationship strokes. The accent identifies the author’s emphasized card. Declared legend labels describe their sampled treatments. Diagonal card hatching is drawn separately from the relationship line.
|
|
434
|
+
|
|
435
|
+
## Reading a table alongside the diagram
|
|
436
|
+
|
|
437
|
+
Views with a [reading table](DIAGRAM-SOURCE.md#reading-table) offer **Table**
|
|
438
|
+
and **Diagram**. Filter buttons show row counts. Select a row or use the arrow
|
|
439
|
+
keys and Enter to read its note, files and sources in the docked Inspector.
|
|
440
|
+
**Show in diagram ↘** reveals the node, expands any folded ancestors and opens
|
|
441
|
+
its canvas Inspector. Switching to Diagram also frames the selected row.
|
|
442
|
+
Returning to Table highlights the inspected node when it has a row and clears
|
|
443
|
+
a filter that hides it. A project link to a specific node opens the canvas
|
|
444
|
+
directly. The editor stays mounted while the table is open. Save and reopen
|
|
445
|
+
retain the authored table and its default mode. Reading selections and filters
|
|
446
|
+
belong to the current visit.
|
|
@@ -11,7 +11,7 @@ description: "How a viewer selection opens its primary document and distinguishe
|
|
|
11
11
|
|
|
12
12
|
## Decision
|
|
13
13
|
|
|
14
|
-
Selecting a task
|
|
14
|
+
Selecting a task or selecting a node or relationship in View opens its available primary document directly in the Inspector. The [Edit selection decision](../ADR-007-2026-12-05-native-edit-selection/ADR-007-2026-12-05-native-edit-selection.md) governs canvas editing. Render Markdown through its final section. Keep the raw source available for inspecting exact syntax and metadata.
|
|
15
15
|
|
|
16
16
|
For a local task, the original is its own `task.md`. Use the task title in the Inspector header and display an optional textual frontmatter `description` as plain text. For a diagram element, a short text field authored in PlantUML or JavaScript is an author's note. It can precede the primary document. When the reader needs a full explanation, assign a Markdown file to the element using its source format's supported route.
|
|
17
17
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Keep library tabs and document location on fixed rows"
|
|
3
|
+
type: adr
|
|
4
|
+
status: active
|
|
5
|
+
accepted: "2026-12-05"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Keep library tabs and document location on fixed rows
|
|
9
|
+
|
|
10
|
+
## Decision
|
|
11
|
+
|
|
12
|
+
Show the configured library tabs in the top row. Place the Contents toggle at
|
|
13
|
+
the start of the location row, next to the path within the selected library.
|
|
14
|
+
Opening or closing Contents keeps the toggle and path in place. In narrow
|
|
15
|
+
windows, diagram and drawing controls use a row below the location.
|
|
16
|
+
|
|
17
|
+
## Reason
|
|
18
|
+
|
|
19
|
+
Readers can switch libraries and identify the current document in a side-by-side
|
|
20
|
+
window. The toggle stays where the reader clicked it.
|
|
21
|
+
|
|
22
|
+
## Reader example
|
|
23
|
+
|
|
24
|
+
In a narrow window, select Billing in the top row and open a map in its Releases
|
|
25
|
+
folder. Open and close Contents from the start of the location row. The map's
|
|
26
|
+
folder and the toggle stay in the same positions.
|
|
27
|
+
|
|
28
|
+
See [registering project tabs](../../VIEWER-LAUNCH.md#register-project-tabs) and
|
|
29
|
+
[opening a project](../../LOCAL-DOCUMENT.md#open-a-project).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Keep canvas selection native in Edit"
|
|
3
|
+
type: adr
|
|
4
|
+
status: active
|
|
5
|
+
accepted: "2026-12-05"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Keep canvas selection native in Edit
|
|
9
|
+
|
|
10
|
+
## Decision
|
|
11
|
+
|
|
12
|
+
In Edit, selecting and manipulating an element uses Excalidraw's canvas
|
|
13
|
+
interaction. Open the Inspector deliberately with **Options → Inspect**.
|
|
14
|
+
Clicking the Edit canvas closes an open Inspector. View opens the available
|
|
15
|
+
primary document on selection under [ADR-001](../ADR-001-2026-12-03-inspector-original-document-first/ADR-001-2026-12-03-inspector-original-document-first.md).
|
|
16
|
+
|
|
17
|
+
## Reason
|
|
18
|
+
|
|
19
|
+
A popup over the canvas interferes with selecting, moving and reshaping elements.
|
|
20
|
+
|
|
21
|
+
## Reader example
|
|
22
|
+
|
|
23
|
+
Switch to Edit and select a node to expose its handles. Move it using the native
|
|
24
|
+
canvas and continue editing. Switch to View and click the same node to read its
|
|
25
|
+
details.
|
package/docs/capabilities.json
CHANGED
|
@@ -26,12 +26,13 @@
|
|
|
26
26
|
"description": "Ordinary packet-free Draw source build. PlantUML is the text input; schema-v1 .map.json is the compatibility input. Both use the same Map compiler.",
|
|
27
27
|
"limits": [
|
|
28
28
|
"Draw bounds actual label placement work. A label-search refusal identifies the exhausted resource, the relationship being processed and diagram-wide label counts; see the source guide linked below.",
|
|
29
|
-
"The optional --details-files index assigns local Markdown
|
|
29
|
+
"The optional --details-files index assigns local Markdown, static HTML, and depth-1 canvas files (.locus-map.json, .excalidraw, .puml, .map.json, .mjs; up to 16 distinct canvases) to nodes or relations. The document packages reading text, tables, raster figures, and admitted canvas payloads with the associated view. A {sourcePath} item links a repository original without packaging its content. Optional sourcePaths record the origins of embedded files. With --source-root, the bound local viewer opens an available original in Zed and assigned HTML on an isolated read-only report origin. Build-time .mjs canvas sources execute once from admitted bytes as trusted authoring code. The optional authored note precedes the first assigned document. Markdown renders pipe tables and LaTeX formulas and hides leading YAML metadata in the reader.",
|
|
30
30
|
"Handwritten text and optional hatched card fill are independent of the semantics and relationship strokes.",
|
|
31
31
|
"Draw owns the source language, source profiles and examples. Resolve @locus-forge/locus-draw/skill using the linked PlantUML guide rather than copying its catalog.",
|
|
32
32
|
"Title-first editorial-v4 and c4-modern-v2 cards admit decision nodes, as do editorial-v3 and c4-modern-v1. These profiles and editorial-v2 support per-node catalog icons, shapes and badges. The viewer hydrates installed Draw artwork by full file ID, including the role ink of architecture icons, after v4 admission and exports standalone images.",
|
|
33
33
|
"In editorial-v2 an author can omit the accent and repeat negative, caution or positive tones. Native legend samples follow the corresponding cards.",
|
|
34
34
|
"The opt-in task-card-v1 profile displays header metadata, a complete title, description and optional expected outcome. These are authored source fields, not verified completion claims or inferred dependencies.",
|
|
35
|
+
"A JSON source can declare a readingTable with ordered rows, filter options and cells. The viewer shares node details between table and canvas.",
|
|
35
36
|
"An optional readingTree declares ordered ownership edges for a foldable View projection. Edit and Save retain the full admitted drawing.",
|
|
36
37
|
"The compiler creates one semantic view. C4 Component notation selects vocabulary and appearance; source areas are reading areas, not canonical contains ownership.",
|
|
37
38
|
"The source subset has flow/data/call/dependency relations, without canonical contains or sequence/order. Do not infer a different family from a profile name.",
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
{ "path": "docs/PLANTUML-SOURCE.md" }
|
|
43
44
|
],
|
|
44
45
|
"implementation": [
|
|
45
|
-
{ "path": "src/authoring/diagramSource.js", "line":
|
|
46
|
+
{ "path": "src/authoring/diagramSource.js", "line": 51 },
|
|
46
47
|
{ "path": "src/authoring/buildDiagram.mjs", "line": 62 }
|
|
47
48
|
],
|
|
48
49
|
"examples": [
|
|
@@ -105,6 +106,11 @@
|
|
|
105
106
|
"implementation": [{ "path": "src/viewer/useInspectorPosition.js" }],
|
|
106
107
|
"docs": [{ "path": "docs/VIEWER.md" }]
|
|
107
108
|
},
|
|
109
|
+
{
|
|
110
|
+
"text": "The Inspector opens beside the selected item when space allows. A completed move is remembered per item within the current diagram session.",
|
|
111
|
+
"implementation": [{ "path": "src/viewer/inspectorPosition.js" }, { "path": "src/viewer/useInspectorPosition.js" }],
|
|
112
|
+
"docs": [{ "path": "docs/VIEWER.md" }]
|
|
113
|
+
},
|
|
108
114
|
{
|
|
109
115
|
"text": "In Edit, Prompt copies per-view element changes and scene-coordinate deltas for source reconciliation. Semantic drift still blocks invalid saves.",
|
|
110
116
|
"implementation": [{ "path": "src/viewer/SceneEditPrompt.jsx" }, { "path": "src/viewer/sceneEditPrompt.js" }],
|
|
@@ -116,7 +122,7 @@
|
|
|
116
122
|
"docs": [{ "path": "docs/VIEWER.md" }]
|
|
117
123
|
},
|
|
118
124
|
{
|
|
119
|
-
"text": "The workspace listens on port 8181 by default and opens named library folders from the user's TOML registry, with JSON v1 compatibility. Without configuration it shows Personal and any library in the launch directory. Libraries discover portable maps and native Excalidraw drawings. Refresh discovers arrivals while keeping the editor mounted. The first drawing save creates an exclusive file and later saves check its revision. An isolated launch opens the current project's .locus-map library. The location bar opens the declared source folder or registered map in Zed. A deep route reveals its row in Contents.",
|
|
125
|
+
"text": "The workspace listens on port 8181 by default and opens named library folders from the user's TOML registry, with JSON v1 compatibility. Without configuration it shows Personal and any library in the launch directory. Libraries discover portable maps and native Excalidraw drawings. Refresh discovers arrivals while keeping the editor mounted. The first drawing save creates an exclusive file and later saves check its revision. An isolated launch opens the current project's .locus-map library. Library tabs stay above the location bar. The Contents toggle keeps its position at the start of the bar while opening or closing the sidebar. The location bar opens the declared source folder or registered map in Zed. A deep route reveals its row in Contents.",
|
|
120
126
|
"implementation": [
|
|
121
127
|
{ "path": "scripts/lib/project-catalog.mjs" },
|
|
122
128
|
{ "path": "scripts/lib/map-viewer-server.mjs" },
|
|
@@ -137,6 +143,23 @@
|
|
|
137
143
|
],
|
|
138
144
|
"docs": [{ "path": "docs/LOCAL-DOCUMENT.md" }]
|
|
139
145
|
},
|
|
146
|
+
{
|
|
147
|
+
"text": "The Inspector renders attached depth-1 canvas diagrams (.locus-map.json, .excalidraw, and compiled sources) and linked ↘ detail targets inline via the official view-only Excalidraw preview (fetching cross-document project previews read-only without acquiring a write lock). Full-screen ↗ pop-out editing, internal child view return, and child SceneEditPrompt provenance save through the outer document's single file lock and revision while keeping parent camera and located-card state intact and placing the compact ← return pill in the existing location or breadcrumb row.",
|
|
148
|
+
"implementation": [
|
|
149
|
+
{ "path": "src/contract/readingMaterials.js" },
|
|
150
|
+
{ "path": "src/authoring/readDetailsFiles.mjs" },
|
|
151
|
+
{ "path": "src/bundle/chain.js" },
|
|
152
|
+
{ "path": "src/bundle/localDocument.mjs" },
|
|
153
|
+
{ "path": "src/viewer/Inspector.jsx" },
|
|
154
|
+
{ "path": "src/viewer/ViewChainViewer.jsx" },
|
|
155
|
+
{ "path": "src/viewer/SceneEditPrompt.jsx" }
|
|
156
|
+
],
|
|
157
|
+
"docs": [
|
|
158
|
+
{ "path": "docs/DIAGRAM-SOURCE.md" },
|
|
159
|
+
{ "path": "docs/BUNDLE-FORMAT.md" },
|
|
160
|
+
{ "path": "docs/VIEWER.md" }
|
|
161
|
+
]
|
|
162
|
+
},
|
|
140
163
|
{
|
|
141
164
|
"text": "Explicit positions and routes are admitted only for semantic/decision. component/sequence retain family placement; presentation areas do not create contains relations.",
|
|
142
165
|
"implementation": [
|
|
@@ -205,7 +228,7 @@
|
|
|
205
228
|
],
|
|
206
229
|
"implementation": [
|
|
207
230
|
{ "path": "src/contract/validation.js", "line": 23 },
|
|
208
|
-
{ "path": "src/authoring/diagramSource.js", "line":
|
|
231
|
+
{ "path": "src/authoring/diagramSource.js", "line": 118 },
|
|
209
232
|
{ "path": "src/authoring/excalidrawDsl.js", "line": 28 }
|
|
210
233
|
],
|
|
211
234
|
"evidence": {
|
package/docs/decisions.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
title: "Accepted viewer design decisions"
|
|
3
3
|
type: index
|
|
4
4
|
status: active
|
|
5
|
-
updated: "2026-12-
|
|
5
|
+
updated: "2026-12-05T01:08:00Z"
|
|
6
6
|
description: "Decision records and reading contracts for Locus Map viewer design"
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -15,6 +15,8 @@ description: "Decision records and reading contracts for Locus Map viewer design
|
|
|
15
15
|
| ADR-003 | 2026-12-03 | — | active | Author task maps with the same primitives as other maps | [Decision and rationale](adr/ADR-003-2026-12-03-project-authored-task-maps/ADR-003-2026-12-03-project-authored-task-maps.md) |
|
|
16
16
|
| ADR-004 | 2026-12-03 | — | active | Build and open task maps as ordinary Locus Map documents | [Decision and rationale](adr/ADR-004-2026-12-03-shared-map-build-and-open/ADR-004-2026-12-03-shared-map-build-and-open.md) |
|
|
17
17
|
| ADR-005 | 2026-12-04 | — | active | Open named libraries and save native drawings | [Decision and rationale](adr/ADR-005-2026-12-04-named-libraries/ADR-005-2026-12-04-named-libraries.md) |
|
|
18
|
+
| ADR-006 | 2026-12-05 | — | active | Keep library tabs and document location on fixed rows | [Decision and rationale](adr/ADR-006-2026-12-05-workspace-navigation-rows/ADR-006-2026-12-05-workspace-navigation-rows.md) |
|
|
19
|
+
| ADR-007 | 2026-12-05 | — | active | Keep canvas selection native in Edit | [Decision and rationale](adr/ADR-007-2026-12-05-native-edit-selection/ADR-007-2026-12-05-native-edit-selection.md) |
|
|
18
20
|
|
|
19
21
|
When the owner accepts a lasting change to a viewer interaction, record the decision, reason and reader example in a dated ADR under `docs/adr/`. Add it to this ledger and update the affected viewer or authoring contract. Link any superseded decision to its replacement.
|
|
20
22
|
|
|
@@ -486,3 +486,79 @@ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
|
486
486
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
487
487
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
|
488
488
|
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
katex 0.19.1
|
|
492
|
+
|
|
493
|
+
The MIT License (MIT)
|
|
494
|
+
|
|
495
|
+
Copyright (c) 2013-2020 Khan Academy and other contributors
|
|
496
|
+
|
|
497
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
498
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
499
|
+
in the Software without restriction, including without limitation the rights
|
|
500
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
501
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
502
|
+
furnished to do so, subject to the following conditions:
|
|
503
|
+
|
|
504
|
+
The above copyright notice and this permission notice shall be included in all
|
|
505
|
+
copies or substantial portions of the Software.
|
|
506
|
+
|
|
507
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
508
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
509
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
510
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
511
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
512
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
513
|
+
SOFTWARE.
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
@mdit/plugin-tex 1.3.0
|
|
517
|
+
|
|
518
|
+
The MIT License (MIT)
|
|
519
|
+
|
|
520
|
+
Copyright (c) 2016 Waylon Flinn
|
|
521
|
+
Copyright (C) 2022 - PRESENT by MrHope
|
|
522
|
+
|
|
523
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
524
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
525
|
+
in the Software without restriction, including without limitation the rights
|
|
526
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
527
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
528
|
+
furnished to do so, subject to the following conditions:
|
|
529
|
+
|
|
530
|
+
The above copyright notice and this permission notice shall be included in
|
|
531
|
+
all copies or substantial portions of the Software.
|
|
532
|
+
|
|
533
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
534
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
535
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
536
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
537
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
538
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
539
|
+
THE SOFTWARE.
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
@mdit/helper 1.2.1
|
|
543
|
+
|
|
544
|
+
The MIT License (MIT)
|
|
545
|
+
|
|
546
|
+
Copyright (C) 2024 - PRESENT by MrHope
|
|
547
|
+
|
|
548
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
549
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
550
|
+
in the Software without restriction, including without limitation the rights
|
|
551
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
552
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
553
|
+
furnished to do so, subject to the following conditions:
|
|
554
|
+
|
|
555
|
+
The above copyright notice and this permission notice shall be included in
|
|
556
|
+
all copies or substantial portions of the Software.
|
|
557
|
+
|
|
558
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
559
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
560
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
561
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
562
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
563
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
564
|
+
THE SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@locus-forge/locus-map",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2-dev.20261206.g5e970d2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Locus Forge contributors",
|
|
6
6
|
"private": false,
|
|
@@ -27,9 +27,11 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@excalidraw/excalidraw": "0.18.1",
|
|
29
29
|
"@hpcc-js/wasm-graphviz": "1.29.2",
|
|
30
|
-
"@locus-forge/locus-draw": "0.
|
|
30
|
+
"@locus-forge/locus-draw": "0.4.0",
|
|
31
|
+
"@mdit/plugin-tex": "1.3.0",
|
|
31
32
|
"commonmark": "0.31.2",
|
|
32
33
|
"js-yaml": "4.3.2",
|
|
34
|
+
"katex": "0.19.1",
|
|
33
35
|
"libavoid-js": "0.5.0-beta.5",
|
|
34
36
|
"markdown-it": "15.0.3",
|
|
35
37
|
"parse5": "7.2.1",
|
|
@@ -57,6 +59,7 @@
|
|
|
57
59
|
"exports": {
|
|
58
60
|
"./package.json": "./package.json",
|
|
59
61
|
"./skill": "./skills/locus-map/SKILL.md",
|
|
62
|
+
"./draft-skill": "./skills/locus-map-draft/SKILL.md",
|
|
60
63
|
"./primitives-skill": "./skills/locus-map-primitives/SKILL.md",
|
|
61
64
|
"./research-skill": "./skills/locus-map-research/SKILL.md"
|
|
62
65
|
},
|
package/scripts/build-map.mjs
CHANGED
|
@@ -23,7 +23,7 @@ Result file paths in stdout JSON (outputDir, bundlePath, pngPath, checkPath, sou
|
|
|
23
23
|
current working directory; API paths are absolute. Pass an absolute path, e.g. "$PWD/<bundlePath>", to open-map --document
|
|
24
24
|
and --previous-document. Import diagnostics may still carry the absolute source path.
|
|
25
25
|
The separate research Pi workflow still requires chromiumPath.
|
|
26
|
-
--details-files is only for --source. Each element lists packaged Markdown or
|
|
26
|
+
--details-files is only for --source. Each element lists packaged Markdown, HTML or canvas (.locus-map.json, .excalidraw, .puml, .map.json, .mjs) paths, or {sourcePath} entries for originals.
|
|
27
27
|
Open an original in Zed by starting the viewer with --source-root DIR.
|
|
28
28
|
--citation-bindings is only for --source: exact citation keys map to local source scopes.
|
|
29
29
|
API/stdout and check.json include citationChecks; omitted bindings are unbound. Valid ranges never verify meaning.
|