@locus-forge/locus-map 0.2.0 → 0.3.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.
- package/CONTRIBUTING.md +2 -2
- package/README.md +21 -6
- package/dist/assets/{abnfDiagram-VCTEODGH-BnTGKKaL.js → abnfDiagram-VCTEODGH-YtlnkH6t.js} +1 -1
- package/dist/assets/{ar-SA-G6X2FPQ2-LY3czoz9.js → ar-SA-G6X2FPQ2-BH5AlOAp.js} +1 -1
- package/dist/assets/{architectureDiagram-5GKGNRK7-BG9h9KRx.js → architectureDiagram-5GKGNRK7-DKYw7IM8.js} +1 -1
- package/dist/assets/{az-AZ-76LH7QW2-Brv6kuM6.js → az-AZ-76LH7QW2-DoI4xcyq.js} +1 -1
- package/dist/assets/{bg-BG-XCXSNQG7-tsQwwvMW.js → bg-BG-XCXSNQG7-CS9_2dp-.js} +1 -1
- package/dist/assets/{blockDiagram-I7D4REHJ-V9bUuR63.js → blockDiagram-I7D4REHJ-FelDwD1I.js} +1 -1
- package/dist/assets/{bn-BD-2XOGV67Q-0Cou5nNv.js → bn-BD-2XOGV67Q-CoIu5tTK.js} +1 -1
- package/dist/assets/{c4Diagram-7LVT6UL2-BmCtzbrY.js → c4Diagram-7LVT6UL2-Bh7h9IHP.js} +1 -1
- package/dist/assets/{ca-ES-6MX7JW3Y-pZF7WJUL.js → ca-ES-6MX7JW3Y-DAEHzf3H.js} +1 -1
- package/dist/assets/channel-DXsl7ag_.js +1 -0
- package/dist/assets/{chunk-2Q5K7J3B-D2iTDmHh.js → chunk-2Q5K7J3B-CgUOCDxa.js} +1 -1
- package/dist/assets/{chunk-5VM5RSS4-CTxdXZIx.js → chunk-5VM5RSS4-B97oha-s.js} +1 -1
- package/dist/assets/{chunk-F27PBJKO-Hic1X1pm.js → chunk-F27PBJKO-BQGqI2Ej.js} +1 -1
- package/dist/assets/{chunk-IMKFNOWR-DhLW1JVb.js → chunk-IMKFNOWR-C_sOeFT_.js} +1 -1
- package/dist/assets/{chunk-JWPE2WC7-_g5twKlC.js → chunk-JWPE2WC7-DG5n2owX.js} +1 -1
- package/dist/assets/{chunk-POPQ4Y6H-DMV4qmkd.js → chunk-POPQ4Y6H-Y-h3THrr.js} +1 -1
- package/dist/assets/{chunk-SVP7TREG-BWg83oEL.js → chunk-SVP7TREG-Dn6yBHtF.js} +1 -1
- package/dist/assets/{chunk-TICWLB2K-CPmkpa7J.js → chunk-TICWLB2K-Cb_yWOVI.js} +1 -1
- package/dist/assets/{chunk-XXDRQBXY-KnXvIZ_8.js → chunk-XXDRQBXY-QE51OqTj.js} +1 -1
- package/dist/assets/classDiagram-ZZMXUADV-DLyWZtYF.js +1 -0
- package/dist/assets/classDiagram-v2-VYDZK3BY-Cb3mb68m.js +1 -0
- package/dist/assets/{cose-bilkent-JH36ORCC-BChK_CGh.js → cose-bilkent-JH36ORCC-Bt7ZI9S1.js} +1 -1
- package/dist/assets/{cs-CZ-2BRQDIVT-CtAC2Qjy.js → cs-CZ-2BRQDIVT-BKZzkx2M.js} +1 -1
- package/dist/assets/{cynefin-OW5HDTMX-CdsltaMX.js → cynefin-OW5HDTMX-n6-BmECj.js} +1 -1
- package/dist/assets/{cynefinDiagram-5FMLGOSQ-bXvXX3Fx.js → cynefinDiagram-5FMLGOSQ-Bq2km1fZ.js} +1 -1
- package/dist/assets/{d3-scale-sM87TD1Z.js → d3-scale-C9oJHYFk.js} +1 -1
- package/dist/assets/{da-DK-5WZEPLOC-DyWwaclV.js → da-DK-5WZEPLOC-DWJm1_Yl.js} +1 -1
- package/dist/assets/{dagre-GXQ25YYZ-CTmiZZVO.js → dagre-GXQ25YYZ-D9EJj_nK.js} +1 -1
- package/dist/assets/{de-DE-XR44H4JA-BDXUBHki.js → de-DE-XR44H4JA-D-5dMJXD.js} +1 -1
- package/dist/assets/{diagram-S7CK7UJ4-Bm8Fy0R_.js → diagram-S7CK7UJ4-DX3qZf_H.js} +1 -1
- package/dist/assets/{diagram-UQ7AKVKN-BU_AmM_A.js → diagram-UQ7AKVKN-lODsxrZ9.js} +1 -1
- package/dist/assets/{diagram-VSXAHHWV-B78LUoXq.js → diagram-VSXAHHWV-B48xz8Xq.js} +1 -1
- package/dist/assets/{diagram-VX7I27RA-DNvWjMlf.js → diagram-VX7I27RA-Dms2AfBa.js} +1 -1
- package/dist/assets/{diagram-Z3DM3KII-DmFVt1fa.js → diagram-Z3DM3KII-BnwZBeJA.js} +1 -1
- package/dist/assets/{ebnfDiagram-PWID7BFC-CpDna0Jp.js → ebnfDiagram-PWID7BFC-OtcCvaIU.js} +1 -1
- package/dist/assets/{el-GR-BZB4AONW-CNhF7oN2.js → el-GR-BZB4AONW-BZVA3YVN.js} +1 -1
- package/dist/assets/{engines-a8mi_N6S.js → engines-DPbXorS1.js} +1 -1
- package/dist/assets/{erDiagram-RLTQ6QDP-BGD-9OAS.js → erDiagram-RLTQ6QDP-Cnh8Gn9f.js} +1 -1
- package/dist/assets/{es-ES-U4NZUMDT-DXMrJcKL.js → es-ES-U4NZUMDT-DKJIfS-2.js} +1 -1
- package/dist/assets/{eu-ES-A7QVB2H4-BTkMEwMi.js → eu-ES-A7QVB2H4-LHCF7lHc.js} +1 -1
- package/dist/assets/{fa-IR-HGAKTJCU-CgkknSS7.js → fa-IR-HGAKTJCU-CMtLvHxY.js} +1 -1
- package/dist/assets/{fi-FI-Z5N7JZ37-B1K83nId.js → fi-FI-Z5N7JZ37-CUIzm5UM.js} +1 -1
- package/dist/assets/{flowDiagram-HODETNUW-CjU1yR1F.js → flowDiagram-HODETNUW-lneiCvFi.js} +1 -1
- package/dist/assets/{fr-FR-RHASNOE6-CBFZBGMr.js → fr-FR-RHASNOE6-DTJ2WS73.js} +1 -1
- package/dist/assets/{ganttDiagram-EL5Y4UJY-bvb8BjSh.js → ganttDiagram-EL5Y4UJY-B2aJ2MDb.js} +1 -1
- package/dist/assets/{gitGraphDiagram-WWUBYQGX-DZXQ_x8t.js → gitGraphDiagram-WWUBYQGX-C74V3MFm.js} +1 -1
- package/dist/assets/{gl-ES-HMX3MZ6V-CON98Mma.js → gl-ES-HMX3MZ6V-BP8M0fQQ.js} +1 -1
- package/dist/assets/{he-IL-6SHJWFNN-CBoFaEdB.js → he-IL-6SHJWFNN-BMd-Q0PW.js} +1 -1
- package/dist/assets/{hi-IN-IWLTKZ5I-BJuoh3dl.js → hi-IN-IWLTKZ5I-Ct52OkX5.js} +1 -1
- package/dist/assets/{hu-HU-A5ZG7DT2-CQruu8XR.js → hu-HU-A5ZG7DT2-NfIL6Jfo.js} +1 -1
- package/dist/assets/{id-ID-SAP4L64H-VhaoENjR.js → id-ID-SAP4L64H-Osl6P1wb.js} +1 -1
- package/dist/assets/index-CyQSsku0.js +624 -0
- package/dist/assets/{index-CDNl17QJ.css → index-DR6sd54W.css} +1 -1
- package/dist/assets/{index-CboxqaL5.js → index-VfiAlFSM.js} +5 -5
- package/dist/assets/{infoDiagram-27XIBGKW-CM9Hap0f.js → infoDiagram-27XIBGKW-BjDMKD-X.js} +1 -1
- package/dist/assets/{ishikawaDiagram-5VMMS53U-i8pQztJI.js → ishikawaDiagram-5VMMS53U-DjrBmz8f.js} +1 -1
- package/dist/assets/{it-IT-JPQ66NNP-Dj9BkXfh.js → it-IT-JPQ66NNP-vT-EYZw5.js} +1 -1
- package/dist/assets/{ja-JP-DBVTYXUO-CB2BlfIS.js → ja-JP-DBVTYXUO-DexyPC4p.js} +1 -1
- package/dist/assets/{journeyDiagram-3NMN7TZE-PxcdqONT.js → journeyDiagram-3NMN7TZE-Bs5RL4Ef.js} +1 -1
- package/dist/assets/{kaa-6HZHGXH3-CLnR_zY5.js → kaa-6HZHGXH3-0BLUFlXY.js} +1 -1
- package/dist/assets/{kab-KAB-ZGHBKWFO-8TJr4nPf.js → kab-KAB-ZGHBKWFO-ByGN5_Fc.js} +1 -1
- package/dist/assets/{kanban-definition-UXKFOSKX-B2p5NBhO.js → kanban-definition-UXKFOSKX-DgcopnbA.js} +1 -1
- package/dist/assets/{kk-KZ-P5N5QNE5-5uZYjZ2e.js → kk-KZ-P5N5QNE5-DlK-wQWu.js} +1 -1
- package/dist/assets/{km-KH-HSX4SM5Z-D54aOpMd.js → km-KH-HSX4SM5Z-BZ75967_.js} +1 -1
- package/dist/assets/{ko-KR-MTYHY66A-Bnm0G6eo.js → ko-KR-MTYHY66A-C-copauZ.js} +1 -1
- package/dist/assets/{ku-TR-6OUDTVRD-CtGCn_eB.js → ku-TR-6OUDTVRD-CNqY-Uj4.js} +1 -1
- package/dist/assets/{layout-BBV3_Svw.js → layout-B8D2HGrb.js} +1 -1
- package/dist/assets/{lt-LT-XHIRWOB4-Bl8G0yv6.js → lt-LT-XHIRWOB4-BopE_XJX.js} +1 -1
- package/dist/assets/{lv-LV-5QDEKY6T-Cax93Eua.js → lv-LV-5QDEKY6T--7hU3JSZ.js} +1 -1
- package/dist/assets/{mindmap-definition-YA3MSWOX-CsOezwmE.js → mindmap-definition-YA3MSWOX-DYOVTEyE.js} +1 -1
- package/dist/assets/{mr-IN-CRQNXWMA-Br7GVyJH.js → mr-IN-CRQNXWMA-DydjVI2G.js} +1 -1
- package/dist/assets/{my-MM-5M5IBNSE-xC6lzTDV.js → my-MM-5M5IBNSE-D6ewM-EV.js} +1 -1
- package/dist/assets/{nb-NO-T6EIAALU-B0i5THqA.js → nb-NO-T6EIAALU--iqOwj15.js} +1 -1
- package/dist/assets/{nl-NL-IS3SIHDZ-CqYhUjP3.js → nl-NL-IS3SIHDZ-Bnhl_SmS.js} +1 -1
- package/dist/assets/{nn-NO-6E72VCQL-rpjr_9Z5.js → nn-NO-6E72VCQL-CIx7sLAQ.js} +1 -1
- package/dist/assets/{oc-FR-POXYY2M6-BlhQ99Ty.js → oc-FR-POXYY2M6-DWt5a8Ow.js} +1 -1
- package/dist/assets/{pa-IN-N4M65BXN-N2XbQgZ_.js → pa-IN-N4M65BXN-BW3LNure.js} +1 -1
- package/dist/assets/{pegDiagram-XKGWAZYB-C2iSJgYQ.js → pegDiagram-XKGWAZYB-ixSY_9-e.js} +1 -1
- package/dist/assets/{pica-DvYcrBvx.js → pica-Dn0N8xAP.js} +1 -1
- package/dist/assets/{pieDiagram-E7YTZNPT-CUjgOGBw.js → pieDiagram-E7YTZNPT-BbCRV6Qi.js} +1 -1
- package/dist/assets/{pl-PL-T2D74RX3-CnMxn1dA.js → pl-PL-T2D74RX3-7nXJ8SiV.js} +1 -1
- package/dist/assets/{pt-BR-5N22H2LF-Di-jnHb3.js → pt-BR-5N22H2LF-DKGGof4J.js} +1 -1
- package/dist/assets/{pt-PT-UZXXM6DQ-BaAKq8Sh.js → pt-PT-UZXXM6DQ-DCLEXuhk.js} +1 -1
- package/dist/assets/{quadrantDiagram-AXDQQJYC-DwwqgJXZ.js → quadrantDiagram-AXDQQJYC-Bvh_H4wg.js} +1 -1
- package/dist/assets/{railroadDiagram-O6MQD6OU-DyRgYGPF.js → railroadDiagram-O6MQD6OU-DHC3neQ8.js} +1 -1
- package/dist/assets/{requirementDiagram-BXWQKSXE-C3ixXeHJ.js → requirementDiagram-BXWQKSXE-DuCkl3u1.js} +1 -1
- package/dist/assets/{ro-RO-JPDTUUEW-BWrclVyo.js → ro-RO-JPDTUUEW-Cwf4k3Ou.js} +1 -1
- package/dist/assets/{ru-RU-B4JR7IUQ-_z0DINaG.js → ru-RU-B4JR7IUQ-sZF6fySs.js} +1 -1
- package/dist/assets/{sankeyDiagram-P5KCCOFB-mKpKYI_w.js → sankeyDiagram-P5KCCOFB-1ELTqwtI.js} +1 -1
- package/dist/assets/{sequenceDiagram-WJ2MYXX4-ZkNd0Wnj.js → sequenceDiagram-WJ2MYXX4-BK8Ou8Dz.js} +1 -1
- package/dist/assets/{si-LK-N5RQ5JYF-CdKOb383.js → si-LK-N5RQ5JYF-DmYhXIqO.js} +1 -1
- package/dist/assets/{sizeCapture-INFHLROL-hQLGO-0z.js → sizeCapture-INFHLROL-BKwx3lxX.js} +1 -1
- package/dist/assets/{sk-SK-C5VTKIMK-MHJC6ZIe.js → sk-SK-C5VTKIMK-BRLu35YX.js} +1 -1
- package/dist/assets/{sl-SI-NN7IZMDC-BF9YWbZx.js → sl-SI-NN7IZMDC-CMjfvJTr.js} +1 -1
- package/dist/assets/{stateDiagram-D77RDMKH-CRWj3j-B.js → stateDiagram-D77RDMKH-CDwJ9XLN.js} +1 -1
- package/dist/assets/stateDiagram-v2-MP3YSRHH-BZjKARGY.js +1 -0
- package/dist/assets/{subset-shared.chunk-DtxXjVIA.js → subset-shared.chunk-DngAvf0H.js} +1 -1
- package/dist/assets/{subset-worker.chunk-DONNSbUF.js → subset-worker.chunk-DkH_mqr5.js} +1 -1
- package/dist/assets/{sv-SE-XGPEYMSR-DkaTkfUY.js → sv-SE-XGPEYMSR-G4S06sbd.js} +1 -1
- package/dist/assets/{swimlanes-42K2YHIH-CFf6j7jO.js → swimlanes-42K2YHIH-Z9u8PDi-.js} +1 -1
- package/dist/assets/swimlanesDiagram-VR7AAH4N-D0kM5xmS.js +8 -0
- package/dist/assets/{ta-IN-2NMHFXQM-BfxqXEDI.js → ta-IN-2NMHFXQM-DgBbCQ8S.js} +1 -1
- package/dist/assets/{th-TH-HPSO5L25-DT3vLA39.js → th-TH-HPSO5L25-o9u4fVfq.js} +1 -1
- package/dist/assets/{timeline-definition-24CTP7MA-BGP2Dq8M.js → timeline-definition-24CTP7MA-BNgrm1r_.js} +1 -1
- package/dist/assets/{tr-TR-DEFEU3FU-CdfsG7py.js → tr-TR-DEFEU3FU-BqqSdzoL.js} +1 -1
- package/dist/assets/{uk-UA-QMV73CPH-CZrQuC1S.js → uk-UA-QMV73CPH-Dna46aia.js} +1 -1
- package/dist/assets/{vennDiagram-4TSXK5OY-CaxGPIab.js → vennDiagram-4TSXK5OY-CHwUI40M.js} +1 -1
- package/dist/assets/{vi-VN-M7AON7JQ-DQJk1_KV.js → vi-VN-M7AON7JQ-CbKRBQPB.js} +1 -1
- package/dist/assets/{wardleyDiagram-VM6X3IG4-DQxQ-zXH.js → wardleyDiagram-VM6X3IG4-KB0xBjXX.js} +1 -1
- package/dist/assets/{xychartDiagram-S5SC5T6Z-DoxdZQ6R.js → xychartDiagram-S5SC5T6Z-B3LOQLL-.js} +1 -1
- package/dist/assets/{zh-CN-LNUGB5OW-DRVBfkOy.js → zh-CN-LNUGB5OW-BFjA6n_2.js} +1 -1
- package/dist/assets/{zh-HK-E62DVLB3-BJHrltss.js → zh-HK-E62DVLB3-BoTU6iS7.js} +1 -1
- package/dist/assets/{zh-TW-RAJ6MFWO-DpMZ5m2x.js → zh-TW-RAJ6MFWO-DB4kdpOS.js} +1 -1
- package/dist/index.html +2 -2
- package/docs/BUNDLE-FORMAT.md +18 -5
- package/docs/DIAGRAM-SOURCE.md +59 -12
- package/docs/LOCAL-DOCUMENT.md +42 -86
- package/docs/MODEL-CONTRACT.md +7 -4
- package/docs/PLANTUML-SOURCE.md +3 -2
- package/docs/VIEWER-LAUNCH.md +29 -22
- package/docs/VIEWER.md +93 -26
- package/docs/adr/ADR-002-2026-12-03-project-selector/ADR-002-2026-12-03-project-selector.md +1 -1
- package/docs/adr/ADR-005-2026-12-04-named-libraries/ADR-005-2026-12-04-named-libraries.md +1 -1
- package/docs/capabilities.json +21 -3
- package/package.json +2 -1
- package/scripts/build-map.mjs +1 -1
- package/scripts/lib/library-directory.mjs +1 -1
- package/scripts/lib/map-build-invocation.mjs +5 -1
- package/scripts/lib/map-viewer-server.mjs +195 -43
- package/scripts/lib/original-materials.mjs +1 -1
- package/scripts/lib/original-report-server.mjs +7 -3
- package/scripts/lib/project-catalog.mjs +264 -97
- package/scripts/lib/project-map-inputs.mjs +1 -1
- package/scripts/lib/project-registry.mjs +151 -47
- package/scripts/lib/sketch-publication.mjs +1 -1
- package/scripts/lib/task-map-build.mjs +1 -1
- package/scripts/lib/view-args.mjs +163 -0
- package/scripts/lib/workflow/reader-surface.mjs +29 -11
- package/scripts/locus-map.mjs +18 -23
- package/scripts/open-map.mjs +96 -51
- package/skills/README.md +2 -1
- package/skills/locus-map/SKILL.md +30 -26
- 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/folder.md +2 -2
- 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 +78 -0
- package/skills/locus-map-primitives/SKILL.md +11 -10
- package/skills/locus-map-primitives/assets/batch/README.md +2 -2
- package/skills/locus-map-primitives/assets/batch/build.mjs +1 -1
- package/skills/locus-map-primitives/assets/batch/{project.json → topic.json} +13 -20
- 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 +64 -21
- package/src/chain/validation.js +7 -1
- package/src/contract/readingMaterials.js +18 -2
- package/src/contract/readingTable.js +66 -0
- package/src/main.jsx +25 -1
- package/src/viewer/ControlIcon.jsx +3 -0
- package/src/viewer/DiagramViewer.jsx +70 -30
- package/src/viewer/EmbeddedExcalidrawEditor.jsx +305 -0
- package/src/viewer/HighlightOverlay.jsx +53 -25
- package/src/viewer/Inspector.jsx +109 -39
- package/src/viewer/ProjectLocation.jsx +25 -7
- package/src/viewer/ProjectRail.jsx +20 -7
- package/src/viewer/ProjectViewChainViewer.jsx +254 -83
- package/src/viewer/ReadingTable.jsx +151 -0
- package/src/viewer/SketchCanvas.jsx +133 -84
- package/src/viewer/ViewChainViewer.jsx +557 -57
- package/src/viewer/ViewerSettings.jsx +208 -0
- package/src/viewer/camera.js +50 -18
- package/src/viewer/chainEditorSession.js +160 -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/ReadingFiles.jsx +32 -4
- package/src/viewer/details/details.css +65 -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/inspectorPosition.js +54 -31
- package/src/viewer/projectContents.js +248 -55
- package/src/viewer/projectNavigation.js +27 -3
- package/src/viewer/readingTable.css +47 -0
- package/src/viewer/sketchSettling.js +71 -0
- package/src/viewer/useInspectorPosition.js +116 -35
- package/src/viewer/viewChain.css +92 -5
- package/src/viewer/viewer.css +23 -12
- package/dist/assets/channel-Dx9OTBrx.js +0 -1
- package/dist/assets/classDiagram-ZZMXUADV-Da4s894j.js +0 -1
- package/dist/assets/classDiagram-v2-VYDZK3BY--H9NrCfO.js +0 -1
- package/dist/assets/index-DBGHN_5E.js +0 -624
- package/dist/assets/stateDiagram-v2-MP3YSRHH-B2DcVJGG.js +0 -1
- package/dist/assets/swimlanesDiagram-VR7AAH4N-DO_W2uN2.js +0 -8
package/docs/LOCAL-DOCUMENT.md
CHANGED
|
@@ -4,135 +4,90 @@ updated: "2026-11-26T22:37:02Z"
|
|
|
4
4
|
|
|
5
5
|
# Viewing and saving the result file
|
|
6
6
|
|
|
7
|
-
For launch modes, named project tabs and agent instructions, see [Start the local viewer](VIEWER-LAUNCH.md). The local viewer opens the
|
|
8
|
-
comparing a regenerated candidate with the previous version.
|
|
7
|
+
For launch modes, `~/.locus-map/projects.toml`, **Viewer settings**, named project tabs and agent instructions, see [Start the local viewer](VIEWER-LAUNCH.md). The local viewer opens the workspace library, a topic directory, or a saved `.locus-map.json` file. **Save** writes the current document. Single-file mode also supports comparing a regenerated candidate with the previous version.
|
|
9
8
|
|
|
10
9
|
## Browse the project library
|
|
11
10
|
|
|
12
|
-
Run the following from the directory that contains the project's `.locus-map
|
|
11
|
+
Run the following from the directory that contains the project's `.locus-map` (or open your running `8181` workspace):
|
|
13
12
|
|
|
14
13
|
```sh
|
|
15
14
|
locus-map view --local
|
|
16
15
|
```
|
|
17
16
|
|
|
18
|
-
Open the address printed by the launcher. The library
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
`builds/`, legacy `build-N/`, `preflight/` and `viewer-check/` folders, hidden
|
|
24
|
-
entries and symbolic links. Select **Refresh library** to discover added or moved files without replacing the open editor. To define cross-document links and a specific initial view, use an
|
|
25
|
-
[explicit project catalog](#open-a-project).
|
|
26
|
-
|
|
27
|
-
The location bar shows the project name and map folder on one line. Each name
|
|
28
|
-
sits beside its editor icon. Hover or focus either control to see its full
|
|
29
|
-
target path. Narrow windows shorten the names while keeping both icons visible. When a release copy is opened with `--source-root`, the folder icon opens
|
|
30
|
-
that declared source directory in Zed. In isolated mode the folder icon opens the launch directory. In a named TOML library it opens the registered folder unless `source_root` is set. The adjacent file icon opens the active JSON at its registered
|
|
31
|
-
location. Both actions work in a read-only session when Zed is available. An
|
|
32
|
-
unavailable source directory leaves the document action independent. An imported file has no bound project
|
|
33
|
-
path. An empty library still lets you open the project in Zed or choose a file.
|
|
17
|
+
Open the address printed by the launcher. The library recursively discovers finished `*.locus-map.json` maps and `*.excalidraw` drawings up to eight levels deep under `.locus-map/` and selects the first readable non-draft map in order. Nested folders directly form the **Contents** tree (`<topic>/<subtopic>/<subtopic>.locus-map.json` — do not insert an intermediate `pages/` folder). A leaf folder containing only its namesake document collapses into a single row titled by `model.title`.
|
|
18
|
+
|
|
19
|
+
Place deliverable files outside working and archive folders. The scan skips `artifacts/`, `archive/`, `builds/`, legacy `build-N/`, `materials/`, `preflight/` and `viewer-check/` folders, hidden entries and symbolic links at every depth. Active review templates live under `<topic>/drafts/<variant>/<variant>.locus-map.json`, which appears as a dedicated **Drafts** (`DRAFT`) subgroup at the bottom of its topic (expanded while no final map exists, collapsed once the final map is delivered, and hidden once moved to `<topic>/archive/drafts/`). Select **Refresh library** to discover added or moved files without replacing the open editor. To define cross-document links, custom ordering, explicit source bindings, or custom navigation groups, add an optional [topic manifest](#open-a-project) (`topic.json`).
|
|
20
|
+
|
|
21
|
+
The location bar shows the project name, a readable topic/variant breadcrumb (with a `DRAFT` pill for items inside `drafts/`), and when an authored source file (`.mjs`, `.puml`, `.map.json`) is resolved beside the map or via `topic.json#sources`, a **Source** button to open it directly in Zed. Hover or focus any control to see its full target path. Narrow windows shorten the names while keeping all icons visible. When opened with `--source-root` or `source_root` in `projects.toml`, the folder icon opens that declared source directory in Zed; otherwise it opens the library. The document icon opens the active saved file at its registered location. All editor actions work in a read-only session when Zed is available. An unavailable source directory leaves the document action independent. An imported file has no bound project path. An empty library still lets you open the project in Zed or choose a file.
|
|
34
22
|
|
|
35
23
|
## Open a saved document
|
|
36
24
|
|
|
37
25
|
```sh
|
|
38
|
-
|
|
26
|
+
# From the project root (topic name or relative/absolute path)
|
|
27
|
+
locus-map view <topic>
|
|
28
|
+
locus-map view .locus-map/<topic>/<topic>.locus-map.json
|
|
39
29
|
```
|
|
40
30
|
|
|
41
|
-
`locus-map` is the installed command (`./node_modules/.bin/locus-map` in an npm
|
|
42
|
-
project); `locus-map doctor` reports whether the viewer is ready. In a source
|
|
43
|
-
checkout, run `npm run build` once and then `node scripts/locus-map.mjs` with the
|
|
44
|
-
same arguments. After a build, open the actual `bundlePath` it reports.
|
|
31
|
+
`locus-map` is the installed command (globally via `npm install -g @locus-forge/locus-map` or `./install.sh`, `./node_modules/.bin/locus-map` in an npm project, or `npx @locus-forge/locus-map` without installing); `locus-map doctor` reports whether the viewer is ready. In an unpublished source checkout, run `npm run build` once and then `node scripts/locus-map.mjs` with the same arguments. After a build, open the delivered topic or the actual `bundlePath` it reports.
|
|
45
32
|
|
|
46
|
-
The command prints an address on `127.0.0.1` with a free port. The address's `document` parameter contains the actual absolute path; spaces and Cyrillic are encoded in the usual URL way. Keep the process running while the map is needed in the browser. `Ctrl+C` releases the write permission. `--port` selects the port explicitly; `--read-only`
|
|
33
|
+
The command prints an address on `127.0.0.1` with a free port (and also accepts same-origin requests on `localhost` on the same port for local previews). The address's `document` parameter contains the actual absolute path; spaces and Cyrillic are encoded in the usual URL way. Keep the process running while the map is needed in the browser. `Ctrl+C` releases the write permission. `--port` selects the port explicitly; `--read-only` disables writes and locks process-wide.
|
|
47
34
|
|
|
48
35
|
The address opens the saved scenes through the same [chain bundle admission](BUNDLE-FORMAT.md) as a manual import. Layout is not recomputed. A wrong path or an unsupported document produces a rejection; there is no fallback subject-matter map. Without a document, the application offers to open a file; old `?example=` addresses no longer select demos.
|
|
49
36
|
|
|
50
|
-
To give another browser on the same computer the current saved view, open
|
|
51
|
-
the **Share saved diagram** link icon in the toolbar. Choose **Copy address** or **Open
|
|
52
|
-
saved diagram in a new tab**. Save first to include pending edits. The link
|
|
53
|
-
carries the document or project and view IDs and grants read access while the
|
|
54
|
-
viewer process is running. A file imported with **Open** only exists in that
|
|
55
|
-
tab. Download a copy and launch the saved file with `locus-map view FILE` to
|
|
56
|
-
give it an address.
|
|
37
|
+
To give another browser on the same computer the current saved view, open the **Share saved diagram** link icon in the toolbar. Choose **Copy address** or **Open saved diagram in a new tab**. Save first to include pending edits. The link carries the document or project and view IDs and grants read access while the viewer process is running. A file imported with **Open** only exists in that tab. Download a copy and launch the saved file with `locus-map view FILE` to give it an address.
|
|
57
38
|
|
|
58
39
|
## Open a project
|
|
59
40
|
|
|
60
|
-
|
|
61
|
-
Map documents. This example connects the `viewer` element on an overview to
|
|
62
|
-
the detail canvas in a second file.
|
|
41
|
+
Nested topic folders need no manifest to appear in **Contents**. Add an optional `topic.json` inside any topic folder (at any depth) only when you want a custom folder title, explicit entry view, child ordering, `modelId` pins, authored `sources`, cross-document `links` (`↘`), or custom `navigation` groups. `topic.json` overlays independently discovered documents under its folder — it never requires re-listing every file in a `documents` array.
|
|
63
42
|
|
|
64
43
|
```json
|
|
65
44
|
{
|
|
66
45
|
"version": 1,
|
|
67
|
-
"
|
|
68
|
-
"entry": { "map": "overview", "view": "context" },
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
46
|
+
"title": "Architecture",
|
|
47
|
+
"entry": { "map": "overview/overview.locus-map.json", "view": "context" },
|
|
48
|
+
"order": ["overview", "workflows"],
|
|
49
|
+
"models": {
|
|
50
|
+
"overview/overview.locus-map.json": "context",
|
|
51
|
+
"workflows/viewer/viewer.locus-map.json": "drilldown"
|
|
52
|
+
},
|
|
53
|
+
"sources": {
|
|
54
|
+
"overview/overview.locus-map.json": "overview/overview.puml"
|
|
55
|
+
},
|
|
73
56
|
"links": [
|
|
74
57
|
{
|
|
75
|
-
"from": { "map": "overview", "view": "context", "trigger": "viewer" },
|
|
76
|
-
"to": { "map": "viewer", "view": "drilldown" }
|
|
58
|
+
"from": { "map": "overview/overview.locus-map.json", "view": "context", "trigger": "viewer" },
|
|
59
|
+
"to": { "map": "workflows/viewer/viewer.locus-map.json", "view": "drilldown" }
|
|
77
60
|
}
|
|
78
61
|
]
|
|
79
62
|
}
|
|
80
63
|
```
|
|
81
64
|
|
|
82
|
-
|
|
83
|
-
file's `model.id` and its view IDs from `chain.views`. A trigger is a node or
|
|
84
|
-
relation ID on the source view. Member paths resolve from the directory
|
|
85
|
-
containing the catalog. Register the delivered copy of each file so that
|
|
86
|
-
older builds in adjacent folders stay outside the project.
|
|
65
|
+
Every `map` path in `topic.json` is a portable relative path below the folder containing `topic.json`. A trigger is a node or relation ID on the source view. When `models` pins a `modelId`, a replaced file with a different model ID will not inherit stale links or navigation entries.
|
|
87
66
|
|
|
88
67
|
```sh
|
|
89
|
-
# From the project root
|
|
90
|
-
locus-map view
|
|
68
|
+
# From the project root: open a topic folder (.locus-map/<topic>/ or explicit topic.json)
|
|
69
|
+
locus-map view <topic>
|
|
70
|
+
locus-map view .locus-map/<topic>/topic.json
|
|
91
71
|
```
|
|
92
72
|
|
|
93
|
-
Open the printed address. The section title opens the entry diagram. Its arrow
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
The header shows the saved document title and folder. The rail uses single-line labels and identifies the active page or its collapsed branch. Topic groups start folded in a library. Following an address opens the necessary ancestors and reveals the selected row, including for cards reached through a link. The tab remembers manual expansion choices on reload. The bound JSON file remains
|
|
97
|
-
the target of document actions. For repeated titles, hover or focus the row to see its document and labeled view ID. Click a
|
|
98
|
-
mapped node or relation to open its floating Inspector. Activate the named
|
|
99
|
-
diagram action to open its target in this tab. Browser Back and Forward return
|
|
100
|
-
to visited canvases. Links inside a single file continue to come from its
|
|
101
|
-
own view chain.
|
|
102
|
-
|
|
103
|
-
To open a canvas in another tab on the same machine, copy its address from
|
|
104
|
-
the open project. For this example the detail address ends in
|
|
105
|
-
`/?project=architecture&map=viewer&view=drilldown`. A direct visit or reload
|
|
106
|
-
of this address opens read-only. The private launch address enables writing
|
|
107
|
-
for that tab. Keep the process running to use its addresses. To move a file,
|
|
108
|
-
update its registered path and relaunch the project with the same IDs.
|
|
109
|
-
The server remembers the identity of each registered file. If another
|
|
110
|
-
process replaces a member with a new file at the same path, relaunch the
|
|
111
|
-
project to register that version.
|
|
112
|
-
|
|
113
|
-
To browse all delivered folders, run `locus-map view --local` from the project root.
|
|
114
|
-
Each first-level folder with saved documents owns a section. Its optional
|
|
115
|
-
`project.json` supplies the entry, links and contents for files found in that
|
|
116
|
-
folder. A folder without a catalog uses its namesake document when present,
|
|
117
|
-
then a directly contained document, then the first available nested document.
|
|
118
|
-
The root model title names the section, with the folder name as fallback.
|
|
119
|
-
An explicit `--project` launch uses only its registered documents.
|
|
73
|
+
Open the printed address (or open the registered tab on `127.0.0.1:8181`). The section title opens the entry diagram. Its arrow shows or hides the children. Drag the sidebar border or focus it and use the arrow keys to adjust its width. The toolbar toggle restores the chosen width. The header shows the saved document title. The rail uses single-line labels and identifies the active page or its collapsed branch. Following an address opens the necessary ancestors and reveals the selected row, including for cards reached through a link. The tab remembers manual expansion choices on reload. For repeated titles, hover or focus the row to see its document and labeled view ID. Click a mapped node or relation to open its floating Inspector. Activate the named diagram action to open its target in this tab. Browser Back and Forward return to visited canvases. Links inside a single file continue to come from its own view chain.
|
|
74
|
+
|
|
75
|
+
To open a canvas in another tab on the same machine, copy its address from the open project. A direct visit or reload of this address opens read-only. The private launch address enables writing for that tab. Keep the process running to use its addresses. The server remembers the identity of each registered file. If another process replaces a member with a new file at the same path, refresh or reopen to register that version.
|
|
120
76
|
|
|
121
77
|
### Open a named card from the project contents
|
|
122
78
|
|
|
123
|
-
|
|
79
|
+
A `topic.json` manifest can include an optional `navigation` array to group or sort destinations and optionally expose in-page card anchors (`{ "map", "view", "node" }`). Groups have a title and ordered children. Selecting the title opens the first available descendant in that order. Put the intended entry first. The separate arrow expands or collapses the group. The sidebar takes a leaf’s name from the saved view or card, and renders card anchors visually smaller and muted (`data-node-anchor`, `aria-current="location"` when selected) so they remain distinct from page destinations. Give each destination one place in `navigation`. Discovered views omitted from `navigation` still appear in the same contents tree.
|
|
124
80
|
|
|
125
81
|
```json
|
|
126
82
|
"navigation": [
|
|
127
83
|
{ "title": "Forecast reliability", "children": [
|
|
128
|
-
{ "
|
|
129
|
-
|
|
130
|
-
] }
|
|
84
|
+
{ "map": "signals/signals.locus-map.json", "view": "comparison" },
|
|
85
|
+
{ "map": "signals/signals.locus-map.json", "view": "comparison", "node": "timing" }
|
|
131
86
|
] }
|
|
132
87
|
]
|
|
133
88
|
```
|
|
134
89
|
|
|
135
|
-
Selecting a card highlights its position and shows its name. Use **Inspect card** to open details. First visits fit the whole graph. Later visits restore the last camera for the same project, map and view. The viewer pans only when the requested card is outside the visible area. A document link names its destination. The back arrow beside the document location leads to the originating block. Its tooltip names the destination. A direct link uses the authored link to that card or view, preferring its
|
|
90
|
+
Selecting a card highlights its position and shows its name. Use **Inspect card** to open details. First visits fit the whole graph. Later visits restore the last camera for the same project, map and view. The viewer pans only when the requested card is outside the visible area. A document link names its destination. The back arrow beside the document location leads to the originating block. Its tooltip names the destination. A direct link uses the authored link to that card or view, preferring its enclosing topic entry as the source. If no source link is described, it offers the topic entry itself. Reload and browser Back restore the destination. A topic link may also specify `node` in its `to` address. An address containing only the map and view opens the whole diagram. Unavailable contents destinations appear disabled. Each path can contain up to eight entries, including its leaf. A manifest can contain up to 2,048 contents entries.
|
|
136
91
|
|
|
137
92
|
Selecting the active page in the sidebar checks its current revision. A changed
|
|
138
93
|
page uses the normal unsaved-changes choice; an unchanged page keeps the
|
|
@@ -168,7 +123,7 @@ never enter the folder. Unique evidence is not left in /tmp; closing the chat do
|
|
|
168
123
|
Sources are read from the checkout where the work started, other repositories from their main checkout; another
|
|
169
124
|
worktree is used only on the user's request.
|
|
170
125
|
|
|
171
|
-
Opening uses the command above with
|
|
126
|
+
Opening uses the command above with a topic name or a relative/absolute path, including spaces. The presence of the library does not
|
|
172
127
|
install the viewer: an available product with dist is needed. An old localhost URL may become stale; a repeated `view`
|
|
173
128
|
issues a new address and loads the ready scene without layout. Project mode lists the members of the supplied catalog.
|
|
174
129
|
A new generation creates a sibling revision without replacing the previous file with user edits.
|
|
@@ -189,16 +144,17 @@ Viewer Save writes the diagram only. Agents follow the [revision workflow](../sk
|
|
|
189
144
|
|
|
190
145
|
## What Save does
|
|
191
146
|
|
|
192
|
-
**Save** writes edits to the active file shown above the map. The server checks the whole document, the original scenes of semantic admission, and that the model,
|
|
147
|
+
**Save** writes edits to the active file shown above the map. The server checks the whole document (including any embedded canvas attachments), the original scenes of semantic admission, and that the model, embedded assets, and semantic chain structure are unchanged (while deriving updated page geometry and below-note offsets from admitted scenes when page elements move). Moves and style are permitted; substituting a label, role, direction, or model does not become an admissible edit.
|
|
193
148
|
|
|
194
149
|
A temporary file is created in the same directory and replaces the previous one through `rename`. Before the replacement, a separate restore copy is kept; it is not rolled back automatically. Success appears after readback of the written result. A second Save uses the new revision. Edits made while waiting for the response remain on screen and are marked unsaved.
|
|
195
150
|
|
|
196
151
|
If the response is lost after a possible write, the client only rereads the document. A match with the sent snapshot confirms that snapshot. Different content means a conflict; an unavailable read leaves the outcome unknown. There is no repeated write and no blind rollback. Local edits are available in the window; **Download a copy** lets you save a separate portable file before reopening.
|
|
197
152
|
|
|
198
|
-
|
|
153
|
+
Isolated `locus-map view` launches targeting files under `.locus-map/` or the launch directory infer `--source-root` automatically to enable **Open in Zed** on attached Markdown, HTML and canvas sources. Pass `--source-root DIR` to bind a different source checkout, or `--no-source-root` to disable original-file links:
|
|
199
154
|
|
|
200
155
|
```sh
|
|
201
|
-
locus-map view --
|
|
156
|
+
locus-map view --local --read-only
|
|
157
|
+
locus-map view <topic> --source-root . --read-only
|
|
202
158
|
```
|
|
203
159
|
|
|
204
160
|
The same option works with a saved document and with original-only references declared in the details index. The viewer resolves each declared `sourcePath` under that root and opens the existing regular file with the host's `zed` command. Both the editor action and **Copy path** work independently of Save permission. Imported files retain their packaged reading materials. Opening an original in Zed requires the file-backed viewer, the declared root and Zed on its executable path.
|
package/docs/MODEL-CONTRACT.md
CHANGED
|
@@ -99,10 +99,13 @@ Optional root fields include `description`, `assets`, `evidence` and `reading`.
|
|
|
99
99
|
closed record boundaries are rejected. Presentation coordinates are accepted only
|
|
100
100
|
in the explicit `layout` fields below. Optional `reading.items` assigns ordered
|
|
101
101
|
reading file IDs to semantic element IDs. A path-only entry has exactly `{kind: "original", sourcePath}`, where the path is repository-relative. It carries no embedded content or assets. An embedded entry contains
|
|
102
|
-
a file name and either Markdown with an image-destination-to-asset catalog,
|
|
103
|
-
a static report tree of text, table cells and figures
|
|
104
|
-
|
|
105
|
-
|
|
102
|
+
a file name and either Markdown with an image-destination-to-asset catalog,
|
|
103
|
+
a static report tree of text, table cells and figures, or a canvas attachment
|
|
104
|
+
reference (`kind: "canvas"`, `canvasId`, `format: "locus-map" | "excalidraw"`, non-blank plain-text `title`, and optional
|
|
105
|
+
`sourceFormat` and `sourcePath`, with its payload stored at depth 1 in
|
|
106
|
+
the bundle's top-level `canvases` catalog). Image references use
|
|
107
|
+
the ordinary asset catalog. Each projected view retains the reading files,
|
|
108
|
+
canvas references and images of its own elements. See [packaging reading files](DIAGRAM-SOURCE.md#package-reading-files-with-the-diagram).
|
|
106
109
|
|
|
107
110
|
IDs are 1–128 characters, begin with an ASCII letter or digit, and otherwise use
|
|
108
111
|
ASCII letters/digits or `. _ : -`. `constructor`, `prototype` and `__proto__` are
|
package/docs/PLANTUML-SOURCE.md
CHANGED
|
@@ -38,8 +38,9 @@ A missing question remains absent; it is never copied from the title. A successf
|
|
|
38
38
|
Map rendering or claim validity. Map's importer does not read includes.
|
|
39
39
|
|
|
40
40
|
The Draw skill's `references/presentation-profiles.md` compares the profiles and links its specimens.
|
|
41
|
-
Use `LM_Profile("c4-
|
|
42
|
-
for verb-led editorial
|
|
41
|
+
Use `LM_Profile("c4-reference-v1")` as the default for standard C4 architecture overviews,
|
|
42
|
+
`LM_Profile("editorial-v4")` for verb-led editorial workflows, or `LM_Profile("c4-modern-v2")`
|
|
43
|
+
when opting into colored modern C4 cards. For `c4-modern-v2`, `editorial-v4` or their predecessors (`c4-modern-v1`, `editorial-v3`), `LM_Decision(alias)` marks a declared component. On a supported
|
|
43
44
|
profile, `LM_Icon`, `LM_NodeShape` and `LM_Badge` specify per-node appearance.
|
|
44
45
|
|
|
45
46
|
## Compile the Map document
|
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
|
|
|
@@ -10,18 +10,19 @@ locus-map view
|
|
|
10
10
|
|
|
11
11
|
Open the loopback URL printed on standard output. An agent should keep the command running in a retained process session and give the operator that launch address. Reuse it to switch projects. The URL fragment grants access to the project list and, for a writable launch, permission to save. Use **Share saved diagram** for a read-only address to the selected project and view. Reloading the operator's tab retains the project choices and drops write access. Reopen the original launch URL to save again.
|
|
12
12
|
|
|
13
|
-
The ordinary workspace listens on `127.0.0.1:8181` unless
|
|
13
|
+
The ordinary workspace listens on `127.0.0.1:8181` unless `~/.locus-map/projects.toml` sets `port`. Opening `http://127.0.0.1:8181/` (or `http://localhost:8181/`) opens the active workspace tabs in read-only mode instead of an empty file opener. When a workspace viewer is already running on `8181`, open `http://127.0.0.1:8181/?cwd=/abs/path/to/project` or `http://127.0.0.1:8181/?tab=ProjectName` (optionally with `&map=<relative-path>&view=<view-id>&node=<node-id>`) to jump straight to that project's tab or diagram in read-only mode. Reopen the operator launch URL with `#write=` whenever you need write/save access.
|
|
14
|
+
|
|
15
|
+
Use **Viewer settings** (the gear button at the right end of the top header bar) at any time to inspect the active host/port, PID, launch mode, server vs. tab access mode (`Writable` or `Read-only` with reason), loaded configuration path (with **Copy** and **Open in Zed**), and all registered projects with their `folder`, `source_root`, and availability status.
|
|
16
|
+
|
|
17
|
+
Use `--port N` to override the configured port. A busy port stops a second launch with a diagnostic pointing at the running viewer. Use `--read-only` to disable file saves and write locks process-wide (both `.locus-map.json` maps and `.excalidraw` drawings already open in **View** mode by default on a writable server, so `--read-only` is not required for clickable Inspector cards). Stop the foreground process with Ctrl+C or send SIGTERM to the process you started. Stopping releases document locks and ends the current launch links.
|
|
14
18
|
|
|
15
19
|
## Register project tabs
|
|
16
20
|
|
|
17
|
-
Without
|
|
21
|
+
Without `~/.locus-map/projects.toml`, **Personal** opens `~/.locus-map/maps` and creates it only on Save. If the launch directory contains a `.locus-map` library, its tab is added and selected.
|
|
18
22
|
|
|
19
|
-
Create `~/.
|
|
23
|
+
Create `~/.locus-map/projects.toml` to choose the tabs and their order. This is the single workspace configuration file.
|
|
20
24
|
|
|
21
|
-
The tabs stay in the top row
|
|
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
|
+
The tabs stay in the top row alongside **Viewer settings**. Use the next row to see the selected document's location, open the source or saved file in Zed, and open or close **Contents**. The toggle and location stay in place while the sidebar changes. On a narrow window, document tools sit below this row.
|
|
25
26
|
|
|
26
27
|
```toml
|
|
27
28
|
port = 8181
|
|
@@ -36,21 +37,19 @@ folder = "~/work/diagrams/Platform"
|
|
|
36
37
|
source_root = "~/work/infra"
|
|
37
38
|
```
|
|
38
39
|
|
|
39
|
-
Each entry needs a unique name and a distinct library folder. Folder and source paths can be absolute, relative to
|
|
40
|
+
Each entry needs a unique name and a distinct library folder. Folder and source paths can be absolute, relative to `~/.locus-map/projects.toml`, or start with `~/`. The viewer scans the given folder directly. With `source_root`, original materials, configured task directories and build inputs resolve against that checkout, and the folder action in Zed opens it. Without a source checkout the folder action opens the library. The document action opens the registered file; when an authored source file (`.mjs`, `.puml`, `.map.json`) is resolved beside a map or via `topic.json#sources`, **Source** opens it directly in Zed.
|
|
40
41
|
|
|
41
|
-
The viewer
|
|
42
|
-
|
|
43
|
-
Set `LOCUS_MAP_PROJECTS_FILE` to select a registry for one launch. A relative override resolves from the launch directory. Without the override, the viewer uses home TOML first and falls back to `~/.locusmap/projects.json` (version 1). The launcher reports the chosen registry on standard error. A selected invalid registry stops startup. In version 1, `root` still selects a checkout with a `.locus-map` library, and `sourceRoot` still selects a separate checkout for source actions.
|
|
42
|
+
The viewer matches the launch directory (or any subdirectory inside a registered `folder` or `source_root`, deepest match first). If the launch directory contains `.locus-map/` but is not listed in `~/.locus-map/projects.toml`, the launcher prints the ready-to-paste `[[projects]]` stanza on standard error. Restart the viewer to apply registry edits or connect a replaced library directory. **Refresh library** updates the contents tree live for newly added maps or drafts while keeping the open editor and its local edits. A file removed from the library loses its save binding. If a new file later appears at the same path, reopen it to save against its new revision.
|
|
44
43
|
|
|
45
44
|
## Save a drawing
|
|
46
45
|
|
|
47
|
-
Open **New drawing** in the desired library. An empty workspace library already opens an editable canvas. Draw with Excalidraw, then choose **Save drawing** and enter a name. The name prompt shows the destination folder. Saving creates one visible `.excalidraw` file and selects it in the same library. Choose a different name if it already exists. If the first save cannot be confirmed, use **Check saved drawing** to bind to a writable file that matches the sent drawing. Edits made after the attempted save stay in the editor. Canceling or leaving an untouched draft creates no file. On later saves, if the file has changed, download a copy to keep your edits or reopen the drawing to see its disk version.
|
|
46
|
+
Open **New drawing** in the desired library. An empty workspace library already opens an editable canvas in **Edit** mode. Saved `.excalidraw` drawings open in **View** mode by default (fitted to the viewport) with a **View / Edit** switch in the header; choose **Edit** to unlock drawing tools. Draw with Excalidraw, then choose **Save drawing** and enter a name. The name prompt shows the destination folder. Saving creates one visible `.excalidraw` file and selects it in the same library. Choose a different name if it already exists. If the first save cannot be confirmed, use **Check saved drawing** to bind to a writable file that matches the sent drawing. Edits made after the attempted save stay in the editor. Canceling or leaving an untouched draft creates no file. On later saves, if the file has changed, download a copy to keep your edits or reopen the drawing to see its disk version.
|
|
48
47
|
|
|
49
48
|
Finish a text or image edit before saving, downloading or navigating. Open saved drawings from **Contents**. Sketches retain their native shapes, text bindings, arrows, and embedded images. Use **Download a copy** in a read-only session. Use **Stay**, **Save and open** or **Discard and open** when navigating away from an edited drawing.
|
|
50
49
|
|
|
51
50
|
## Deliver an agent-authored map
|
|
52
51
|
|
|
53
|
-
When the user names a tab, resolve its `folder` from
|
|
52
|
+
When the user names a tab, resolve its `folder` from `~/.locus-map/projects.toml`. Put the finished `.locus-map.json` in `<folder>/<topic>/<topic>.locus-map.json` (and nested subtopics directly under `<folder>/<topic>/<subtopic>/<subtopic>.locus-map.json`, without a `pages/` wrapper; see [viewing and saving documents](LOCAL-DOCUMENT.md)). Use the conventional project `.locus-map` location when the task names a checkout without a destination tab. Keep build artifacts outside discovery (`artifacts/`, `builds/`, `materials/`, `archive/`) and preserve other files in the destination. Do not create hidden `.viewer.toml` files; reuse the running `8181` viewer (`http://127.0.0.1:8181/?cwd=<project-dir>&map=<relative-map-path>`) or use **Refresh library**.
|
|
54
53
|
|
|
55
54
|
## Observe inputs for an ordinary map
|
|
56
55
|
|
|
@@ -66,11 +65,9 @@ mapSources = [
|
|
|
66
65
|
]
|
|
67
66
|
```
|
|
68
67
|
|
|
69
|
-
For a JSON v1 registry, the document is relative to the conventional library and inputs are relative to `sourceRoot` or `root`.
|
|
70
|
-
|
|
71
68
|
The operator's Maps tab checks the active diagram's declared files while visible and on returning to the tab. Input checks read file metadata without running the author. A missing or unreadable source can make the state unknown. With no successful build record, changes are reported relative to the time the viewer opened the project registry.
|
|
72
69
|
|
|
73
|
-
To retain an input record across launches, add `--record-for` to the ordinary build. Run from the declared `source_root
|
|
70
|
+
To retain an input record across launches, add `--record-for` to the ordinary build. Run from the declared `source_root`. The result goes into a new directory under the diagram folder's `artifacts` directory. The parent of the chosen output directory must already exist.
|
|
74
71
|
|
|
75
72
|
```sh
|
|
76
73
|
mkdir -p .locus-map/billing/artifacts/builds
|
|
@@ -79,18 +76,28 @@ locus-map build --source billing.puml --out-dir .locus-map/billing/artifacts/bui
|
|
|
79
76
|
|
|
80
77
|
The local record is written beside the configured document after a successful build with stable declared inputs. If those inputs change, the notice includes a shell-quoted command with the original working directory and a new output directory. For a run with an explicit browser executable override, rerun the original command with a new output directory. A replaced or missing recorded artifact makes the comparison unknown. The viewer distinguishes a built candidate from the saved document. A layout save cannot mark an edited input as built. An input omitted from the entry, including a dynamic import, has unknown coverage. Portable documents and shared links carry no local input registration.
|
|
81
78
|
|
|
82
|
-
## Open one
|
|
79
|
+
## Open one topic or document (isolated launch)
|
|
83
80
|
|
|
84
81
|
```sh
|
|
85
|
-
# From the project root,
|
|
82
|
+
# From the project root, open one topic folder (.locus-map/<name>/ or .locus-map/<name>.locus-map.json):
|
|
83
|
+
locus-map view billing
|
|
84
|
+
|
|
85
|
+
# Open an explicit directory, topic.json, or .locus-map.json file:
|
|
86
|
+
locus-map view .locus-map/billing
|
|
87
|
+
locus-map view .locus-map/billing/topic.json
|
|
88
|
+
locus-map view .locus-map/billing/billing.locus-map.json
|
|
89
|
+
|
|
90
|
+
# Browse all topics and sketches in the current project's .locus-map/, skipping the home registry:
|
|
86
91
|
locus-map view --local
|
|
87
92
|
```
|
|
88
93
|
|
|
89
|
-
|
|
94
|
+
Isolated launches skip `~/.locus-map/projects.toml` and automatically bind a free port (`127.0.0.1:<port>`), so you do not need to pass `--port 0`. Use isolated launches only for an unregistered repository, a single-file diff (`--previous-document`), or a standalone `--read-only` demo. Options such as `--read-only`, `--port N` and `--source-root DIR` may appear in any order.
|
|
95
|
+
|
|
96
|
+
When an isolated launch targets a file or directory 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 nested topics, `drafts/`, `topic.json`, comparison and saving.
|
|
90
97
|
|
|
91
98
|
## Open a project's local tasks
|
|
92
99
|
|
|
93
|
-
Use **Tasks** next to the project name when the library has configured task sources.
|
|
100
|
+
Use **Tasks** next to the project name when the library has configured task sources. To open Tasks directly, append `§ion=tasks` to the operator URL's `#workspace=…` fragment. A Tasks link to a library without task sources opens Maps. Reloading the same tab restores its selected section when available. **Maps** returns to the same mounted map, including its camera and pending edits. Selecting a different project uses the usual map departure controls. The operator can read tasks in a read-only launch. A shared diagram URL grants access only to the map surfaces.
|
|
94
101
|
|
|
95
102
|
Declare each task directory in the corresponding registry entry. This entry reads active tasks and the archive from the Billing repository.
|
|
96
103
|
|
|
@@ -104,7 +111,7 @@ taskSources = [
|
|
|
104
111
|
]
|
|
105
112
|
```
|
|
106
113
|
|
|
107
|
-
The task directory resolves below `source_root`.
|
|
114
|
+
The task directory resolves below `source_root`. Use distinct names and portable relative paths. The archive is opt-in. Restart the viewer after changing the registry or replacing a bound directory. A missing directory, an inaccessible or unsafe source, and a readable directory with no records have distinct states.
|
|
108
115
|
|
|
109
116
|
The agent authors the project's editable module inside that directory. The optional `map` is a path relative to it and defaults to `map.mjs`. For example, `views/release.mjs` builds the sibling portable document `views/release.locus-map.json`. Use distinct source names to register multiple modules in one task directory. An explicit build runs trusted project JavaScript. The viewer restores its saved scene. **Tasks** also binds its cards to current local originals.
|
|
110
117
|
|
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,21 +148,55 @@ 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
|
-
the
|
|
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
202
|
code. In CommonMark notes, packaged Markdown, and local task documents, use
|
|
@@ -195,9 +229,25 @@ a labeled group. Open details deliberately with **Options → Inspect**. Clickin
|
|
|
195
229
|
the canvas again closes the Inspector.
|
|
196
230
|
|
|
197
231
|
Closing the card returns focus to its opener or to the canvas. Its Back control
|
|
198
|
-
revisits cards inspected on that canvas.
|
|
199
|
-
|
|
200
|
-
|
|
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
|
|
201
251
|
in this file or a view in another registered project document. Project
|
|
202
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.
|
|
203
253
|
**Inspect card** opens its details. The document title stays at the top throughout the visit.
|
|
@@ -233,9 +283,9 @@ not trap Tab. On narrow screens its width and scrollable height stay within the
|
|
|
233
283
|
canvas.
|
|
234
284
|
|
|
235
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
|
|
236
|
-
and text zoom. The default size is
|
|
286
|
+
and text zoom. The default size is 760 × 720 pixels, constrained to the canvas.
|
|
237
287
|
The canvas keeps its own zoom. Desktop readers can also drag the resize corner.
|
|
238
|
-
|
|
288
|
+
Once customized, the browser remembers these three settings for the viewer hostname in the current
|
|
239
289
|
browser profile, including when the next launch selects a different port. They
|
|
240
290
|
apply across documents on that host. With cookies disabled, the fallback uses
|
|
241
291
|
storage for the same host and port. With all storage disabled, controls operate
|
|
@@ -249,9 +299,11 @@ card, release the pointer at the edge. **Return Inspector** appears on the visib
|
|
|
249
299
|
canvas as soon as the card extends beyond an edge. Click it or focus it and
|
|
250
300
|
press Enter to bring the same card back beside the selection. Its scroll
|
|
251
301
|
position, open sections and reading settings are preserved. Home on the handle
|
|
252
|
-
also returns the card.
|
|
253
|
-
current
|
|
254
|
-
|
|
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
|
|
255
307
|
starts a fresh session. Position and evidence controls are local UI state.
|
|
256
308
|
|
|
257
309
|
The selected outline or arrow is drawn with a heavier stroke in its existing
|
|
@@ -360,10 +412,12 @@ Every model receives the same public camera controls:
|
|
|
360
412
|
- The viewer starts in **Fit**, which contains the whole graph and may make text
|
|
361
413
|
smaller; an `initialCamera` replaces that first frame. Zoom stays within
|
|
362
414
|
10%–3000%, so a graph too large to fit at 10% is cropped.
|
|
363
|
-
- **Readable** keeps primary node names at least 14 CSS pixels
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
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.
|
|
367
421
|
- `−` and `+` step by 5 percentage points around the viewport centre. Wheel and
|
|
368
422
|
pinch zoom stay native editor gestures; the percentage follows them.
|
|
369
423
|
- Both framings exclude the native guide. Camera choices are temporary and emit
|
|
@@ -377,3 +431,16 @@ The checks for this document and their limits are listed in `tests/README.md`
|
|
|
377
431
|
(source checkout only).
|
|
378
432
|
|
|
379
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.
|
|
@@ -9,7 +9,7 @@ accepted: "2026-12-03"
|
|
|
9
9
|
|
|
10
10
|
## Decision
|
|
11
11
|
|
|
12
|
-
Use one project selector in the viewer header. List every entry from the operator's `~/.
|
|
12
|
+
Use one project selector in the viewer header. List every entry from the operator's `~/.locus-map/projects.json` in registry order, using its configured display name. Selecting an entry opens the canvas or map library for its configured folder in the running viewer. Remove the separate **Maps / Tasks** switch.
|
|
13
13
|
|
|
14
14
|
Each entry names a project, its repository root and the folder to display. Resolve relative repository roots from the registry directory and folder paths from the declared repository root. Several entries may share a repository root. The [viewer launch guide](../../VIEWER-LAUNCH.md#register-project-tabs), reachable from `locus-map view --help` and the Map skills, is the owner of the instructions for adding a folder.
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ accepted: "2026-12-04"
|
|
|
9
9
|
|
|
10
10
|
## Decision
|
|
11
11
|
|
|
12
|
-
Register direct library folders in `~/.
|
|
12
|
+
Register direct library folders in `~/.locus-map/projects.toml`. A tab may declare a separate source checkout for originals, build inputs, and Tasks. Show Tasks for configured sources. JSON v1 keeps its project roots, source bindings and Tasks switch.
|
|
13
13
|
|
|
14
14
|
The ordinary viewer uses loopback port 8181 by default. Its launch URL grants workspace access and, when enabled, file writes for the current process.
|
|
15
15
|
|