@appsoftwareltd/etherpk-mcp 0.18.2 → 0.18.4
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/README.md +7 -6
- package/dist/drawing-page/assets/Assistant-Bold-gm-uSS1B.woff2 +0 -0
- package/dist/drawing-page/assets/Assistant-Medium-DrcxCXg3.woff2 +0 -0
- package/dist/drawing-page/assets/Assistant-Regular-DVxZuzxb.woff2 +0 -0
- package/dist/drawing-page/assets/Assistant-SemiBold-SCI4bEL9.woff2 +0 -0
- package/dist/drawing-page/assets/CascadiaCode-Regular-B4uqZjLm.woff2 +0 -0
- package/dist/drawing-page/assets/ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4-Df2h9s-i.woff2 +0 -0
- package/dist/drawing-page/assets/ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c-D_sWL0Pm.woff2 +0 -0
- package/dist/drawing-page/assets/ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17-CmevDvz9.woff2 +0 -0
- package/dist/drawing-page/assets/ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039-DoNRqlby.woff2 +0 -0
- package/dist/drawing-page/assets/Excalifont-Regular-349fac6ca4700ffec595a7150a0d1e1d-CrYucEVm.woff2 +0 -0
- package/dist/drawing-page/assets/Excalifont-Regular-3f2c5db56cc93c5a6873b1361d730c16-DXqmZB_P.woff2 +0 -0
- package/dist/drawing-page/assets/Excalifont-Regular-41b173a47b57366892116a575a43e2b6-BJAJQqlB.woff2 +0 -0
- package/dist/drawing-page/assets/Excalifont-Regular-623ccf21b21ef6b3a0d87738f77eb071-BSZ9eoGa.woff2 +0 -0
- package/dist/drawing-page/assets/Excalifont-Regular-a88b72a24fb54c9f94e3b5fdaa7481c9-DBEDukyo.woff2 +0 -0
- package/dist/drawing-page/assets/Excalifont-Regular-b9dcf9d2e50a1eaf42fc664b50a3fd0d-C6QjyRMU.woff2 +0 -0
- package/dist/drawing-page/assets/Excalifont-Regular-be310b9bcd4f1a43f571c46df7809174-CwOnC3Ii.woff2 +0 -0
- package/dist/drawing-page/assets/LiberationSans-Regular-CIc5jr9A.woff2 +0 -0
- package/dist/drawing-page/assets/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg-fbjMpCcf.woff2 +0 -0
- package/dist/drawing-page/assets/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ-CiZ7RRtu.woff2 +0 -0
- package/dist/drawing-page/assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5-DtnD0cqV.woff2 +0 -0
- package/dist/drawing-page/assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg-DqUjjPte.woff2 +0 -0
- package/dist/drawing-page/assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5-Bp3i2Kq-.woff2 +0 -0
- package/dist/drawing-page/assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5-DZNkti8-.woff2 +0 -0
- package/dist/drawing-page/assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5-CfZcgVQK.woff2 +0 -0
- package/dist/drawing-page/assets/Virgil-Regular-hO16qHwV.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-019d66dcad46dc156b162d267f981c20--ng5YhL1.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-04b718e5623574919c8b0dea5f301444-DVmpwAT_.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-069e77aac84590e2e991d0a0176d34f2-UpJa-tL5.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-06c77b8c66e51ed6c63ccb502dd8b8af-1FyG5Ivq.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-08e0dc436ad0ad61ba5558db0674d762-CU9-FjM2.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-093b9ef39a46ceae95a1df18a0a3a326-Dz38OfKx.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-095c169f3314805276f603a362766abd-x6BO_Oyy.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-09850c4077f3fffe707905872e0e2460-BUsveLop.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-0986d134c05864f5025962eef9f994a0-wPOiKfkA.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-0b5d723fdc4e249c140f0909e87d03b4-D_L8Pv09.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-0f626226ba1272e832aea87bafd9720e-_NF7pkOz.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-0f7fb1e0d5015bb1371343153ecf7ce3-DDSgvIvg.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-0fa55a080fcd0f9dc2e0b0058b793df8-DUCJAQ8t.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-0facdf1ea213ba40261022f5d5ed4493-A3C5LsMs.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-10a7ae9a371830a80c3d844acf1c02d7-DYzWTkBs.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-112c051027b2d766c19a519f6ee1f4f7-BiGIv8Hz.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-11c345711937f0ba4b8f7b6b919c8440-D_B67cIm.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-12b52b58eb3df36804b9a654ec9ee194-wvU-ONA_.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-13ae07ed2e272d26d59bc0691cd7117a-DyG0IaBy.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-13d2887ec8ee73c43acdabc52a05af7b-INMPDEA4.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-145aa02cdd91946e67dc934e1acffe75-DCSMho3r.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-15dc6d811c9cd078f9086a740d5a1038-DoCPLXur.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-173945821411c09f70c95f98d590e697-B7fq8LyN.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-1b611157cd46bb184d4fa4dae2d6a2b8-C33wfJzC.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-1e6fd68f1f3902ce48ce8c69df385622-DGzb6yKi.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-1ee544f0f1dac422545c505baa788992-NU09-aQM.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-1fdc0c67ed57263a80fd108c1f6ccf24-DoICQ1xS.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-203b0e569e3b14aac86a003dc3fa523e-BV5OlbX8.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-20cc1bbf50e7efb442756cb605672c1f-CBSpKsgx.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-20e7bf72fa05de9adf7dbcc7bf51dde6-ta1Pyi_c.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-21430ee05a1248901da8d0de08744d47-Dlud8_SW.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-23686f7f29da6e8008c36dd3a80c83d6-z8BxibDJ.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-23ad2d71b280f00b1363b95b7bea94eb-CWNdSzDH.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-23f228f3999c01983860012330e4be08-Dp04nUAL.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-24476a126f129212beb33f66853ea151-CDbhuij5.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-24a21c1e4449222e8d1898d69ff3a404-Du4Tdt_c.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-25b7f38e18f035f96cb5e547bd2bd08c-BqNQjXDu.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-29cec36cd205b211da97acabaa62f055-ASJmclkg.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-2a26d20a23b00898ce82f09d2ee47c3f-DPPTIdnV.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-2adbc89c11e65905393d3dfc468b9d5b-CyGgH9ZL.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-2b7441d46298788ac94e610ffcc709b6-DRo87U0f.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-2b77e8ebfb2367ab2662396a60e7d320-cUCgsOXo.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-2cf96d082d35ea3d8106851223ad0d16-FhQpdGIu.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-2d43040e86ff03ba677f6f9c04cd0805-P1nHHNOe.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-2e33e8dc771ef5e1d9127d60a6b73679-DaWsAHu4.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-33432927cd87d40cfe393c7482bf221f-D1eSACaa.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-353f33792a8f60dc69323ddf635a269e-LFRkdvBZ.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-36925dfe329a45086cbb7fc5c20d45ac-B8ozVdIh.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-3717077e38f98d89eae729b6c14e56dc-Cl5hf5Gu.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-3756e81d3e149cf6099163ee79944fec-Bbj-MfTu.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-395c35dd584b56b0789f58a0559beaf1-6rT349CV.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-3c9de2ae0ea4bc91a510942dfa4be8d2-pAEHE2sG.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-3cc70dbb64df5b21f1326cc24dee2195-D2ESX3iw.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-3e1f8f654357353bf0e04ba5c34b5f7f-C8RFwjKr.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-3e63ed8162808a9e425ed80a8bc79114-DU58dBuz.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-3eaa538115d76932653c21d8dc28f207-RyXogWdy.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-4095eb84ef3874e2600247bee0b04026-BWquGSc0.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-41521fade99856108931b4768b1b2648-zfoWCXW-.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-450da755d5bcb70906e1295e559b9602-BE-fZWpf.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-452225341522a7942f0f6aab1a5c91a3-BItH6NkO.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-4535823663ad81405188a528d8f2b1a2-Dp0AnvC2.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-4806e761d750087c2d734fc64596eaff-B2q7cCEy.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-4a0fdb40036e87b40aa08dd30584cb85-DkU1vQUn.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-4a38cc3e9cf104e69ba246d37f8cf135-D1OvtD9u.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-4aca6a43e59aceee2166b0c7e4e85ef1-C01jEbNZ.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-4bfaa8ffa64c5ee560aa2daba7c9cbd3-VO85AMZO.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-4dc6d5f188d5c96d44815cd1e81aa885-BlDy-N61.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-4ddc14ed3eb0c3e46364317dfc0144a3-8XYGXkgK.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-4ee10ae43505e2e0bc62656ced49c0fa-D_An8dTW.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-4f50e5136e136527280bc902c5817561-99JNeEWV.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-51502f1206be09c565f1547c406e9558-CPAuIUuC.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-51a0e808bbc8361236ac521a119758a3-CTKgvLQn.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-52a84a22fd1369bffeaf21da2d6158dc-CnByBwne.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-5330a2119a716e4e7224ed108b085dac-DLHuUpCJ.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-543fa46ace099a7099dad69123399400-Br7yvPzX.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-544fc28abe2c5c30e62383fd4dac255f-BM5xhwXP.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-54acdfc2166ad7fcbd074f75fd4a56ba-BXjFfWgz.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-5572b3513ba8df57a3d5d7303ee6b11b-DXLuSVir.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-56467a5c8840c4d23a60b2f935114848-B_Gij8P8.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-56a32a7689abd0326e57c10c6c069bb4-DKLxWxQ9.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-57862b464a55b18c7bf234ce22907d73-CTU7oQrI.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-583d166e56ba0de4b77eabb47ef67839-DftKZHfW.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-5882ffa04f32584d26109137e2da4352-DJQgQUHU.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-58fd02350d0bc52cf1ca3bb32ce9766e-CSOGA1MS.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-5935a5775af3d5c6307ac667bd9ae74e-CEy4fyLt.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-59e9ff77b0efaf684bc09274fb6908c9-lS7CMV6S.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-5a1ce3117cfe90c48e8fb4a9a00f694d-DI9unF3q.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-5a45d991244d4c7140217e1e5f5ca4f4-98-Y7C70.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-5a7fac4b8b23a6e4e5ba0c9bf1756c91-CjrL9S9S.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-5b0ed6971aaab9c8ad563230bd5471a7-BwoEwHC3.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-5d2898fbc097a7e24c6f38d80587621e-NT0paPap.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-603aefd23e350ba7eb124273e3c9bcf1-BYoHqIbm.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-60a3089806700d379f11827ee9843b6b-BcMf768o.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-60a41c7e1c68f22424e6d22df544bc82-BoWJxPNW.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-642b26e2e5f5fb780b51b593dbc8c851-aDynz8WJ.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-66493ba5a8367f2928812f446f47b56a-De2P_-o1.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-670ba603758d94268e8606f240a42e12-CHg9Oajp.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-671a2c20b1eb9e4ef8a192833940e319-DWgMdwez.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-684d65f1793cac449dde5d59cb3c47fb-R45B_P5q.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-69c09cc5fa3e55c74fc4821f76909cc3-DShxBpgc.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-6ae5b42180ad70b971c91e7eefb8eba2-BKomNj9m.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-6e092f71c1e634059ada0e52abadce67-BjEU8N4B.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-6f3256af8454371776bc46670d33cc65-Dvbx_4Bw.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-6fe5c5973cc06f74b2387a631ea36b88-D4XbZvS1.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-70c2eb8d64e71a42a834eb857ea9df51-B8Q8dLrh.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-70e811fd7994e61f408c923de6ddd078-BBqqndEV.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-7197d6fda6cba7c3874c53d6381ca239-DmV0suSY.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-72252d73220fa3cd856677888cee1635-Bq-N2WPs.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-72536a3d71b694a0d53dd90ddceae41e-BRNq3of2.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-726303e0774b4e678bff8c2deb6ca603-6tgHIrFH.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-733171b4ffcd17ea1fe1c0ba627173bf-Cn6MTdmv.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-739bc1a567439c7cffcd1614644593d2-BlCjFBco.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-73e309718fd16cea44b4d54a33581811-Bgi9wxzs.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-7494dc504ae00ee9cd0505f990f88c5d-DFW79wrT.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-74e2263a91439c25b91d5132ce9f4d62-DDSUx7zl.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-761d05e3cd968cf574166867998ef06a-CZFfuY-d.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-7718fe60986d8b42b1be9c5ace5ccf25-DX1GSUc5.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-774d4f764a1299da5d28ec2f2ffe0d69-DFvc_KBt.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-79d494361ae093b69e74ee9dbe65bfd4-aR6GxXbw.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-79f007c1c6d07557120982951ea67998-P9vwfW59.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-7a07ddc0f0c0f5f4a9bad6ee3dda66b5-muaIVjGr.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-7ab2bed91166a9dca83a5ebfbe2a7f38-CqBj-Qda.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-7ccce86603f80a099ddb0cb21d4ae3e3-DYT8zuBS.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-7e4bde7e9c7f84cd34d8a845e384c746-CY7aQsOr.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-7e929f262f30c8ee78bf398150b1a7cd-Df7H3giT.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-7eb9fffd1aa890d07d0f88cc82e6cfe4-C3Av6KgO.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-7f855356ab893b0d2b9c1c83b8116f0e-CG5GHAm9.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-829615148e6357d826b9242eb7fbbd1e-CQnMGA0L.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-866fa7613df6b3fd272bcfd4530c0bb9-zSIef9FS.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-87599f94b6cc129d505b375798d0d751-CDmW2qxZ.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-8c2f33cee3993174f7e87c28e4bf42ee-COlFQ_za.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-8d3bcabb847b56243b16afe62adaaf21-CrzFs4NG.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-8de5b863cb50dfefdd07cb11c774d579-B2Svs0Cp.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-8e9f97f01034820170065b2921b4fb5e-CiuljCyr.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-8f476c4c99813d57cbe6eca4727388ad-D8Agzw0q.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-903bb6865f3452e2fda42e3a25547bc5-Bz4zUyIJ.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-91ddb2969bf2d31ba02ad82998d1314c-Bqis6-fO.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-938d90c10ff8c20386af7f242c05d6b0-6YCEBCbg.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-93fc8f28a33234bcadf1527cafabd502-BHNEsYyK.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-95429962233afd82db1c27df1500a28c-BOD8NMmf.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-9544732d2e62d1a429674f8ee41b5d3a-BaDZtDqe.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-9592bfc861f07bcb8d75c196b370e548-BBE7nH6u.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-95bfd249da4902577b4b7d76ebdd0b44-DJ99d5J9.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-968cffdc8ee679da094e77ebf50f58ef-DphJr-Hf.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-97f7f48ce90c9429bf32ae51469db74d-B_Yo-75I.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-982b630266d87db93d2539affb1275c6-CFRzRvRC.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-98f2ad84457de7f3740d9920b8fa8667-XAyjv85k.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-99a16ef6a64934d5781933dbd9c46b2e-Bh6otvMw.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-9cfb2a77a4e45025105ad29a1748b90d-Qv9a4Fc8.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-9d81066dd2b337c938df6e90380a00dc-DLRmjQlt.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-9eb5a99df4e76ac3363453ac9ca288b1-DmMSd5xT.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-a004ddfcb26e67bd6e678c8ed19e25ce-D1-58AFU.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-a0ca5df4258213d7fc9fce80f65ce760-CT6hW-Vs.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-a1f916d6039285c4ffb900cd654e418f-DUW-gGcA.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-a203b91dad570bf05a58c3c3ddb529bf-CooKDCDC.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-a365e82ed54697a52f27adcea1315fe8-BetXsMK2.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-a4c34be6d42152e64b0df90bc4607f64-dx_ow7yL.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-a7accba310e821da5505f71c03b76bdb-BKwpaO5_.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-aa0d470430e6391eca720c7cfa44446f-D6T8ixw4.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-aa5c9ca6cf4fba00433b7aa3fa10671a-Bj5H4-IL.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-ac9ceb44437becc3e9c4dbfebab7fc2d-CHo95gRn.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-b1220a3c61f85cc0408deedb4c5f57a2-Cg5napYa.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-b358f7a51ece39a3247942b1feabdb29-DcXJ4EOb.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-b57aaedfd8ebdf3931f25119dc6a5eb2-Jpbm8DAm.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-b5c1596551c256e0e9cf02028595b092-xiki3FDZ.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-b6d128682ee29e471486354d486a1b90-DH244Txe.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-b6fd38ca30869792244804b04bc058da-BWYJNrXl.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-b7d203b051eff504ff59ddca7576b6a9-DPl0t9Ky.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-b96d9226ce77ec94ceca043d712182e6-CXE-0LqQ.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-ba3de316d63c7e339987b16f41a0b879-BVZpoS1j.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-bafff7a14c27403dcc6cf1432e8ea836-jMZ8zBn3.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-bd77e3c7f9e0b072d96af37f73d1aa32-C26w6Bzb.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-be549ab72f0719d606a5c01e2c0219b6-Bl31pZPo.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-c16ed9740b85badf16e86ea782a3062f-DXOGpILP.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-c1f94158256bb1f3bf665b053d895af9-BXjTNLYa.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-c40533fdf4cc57177b12803598af7e59-D4Ealvhp.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-c4a687ac4f0c2766eefc9f77ed99cddf-DuPL2stk.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-c69f61a4ab18d0488c8d1fc12e7028e8-Da9RJiGz.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-c8b71798409ccc126ee264a00aadcf21-CqUaHeHR.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-c99eda15fc26a2941579560f76c3a5cf-DdGqdS8t.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-cb17fc3db95f6d139afc9d31a8e93293-C8HBTfH0.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-cbaaefaaf326668277aa24dfa93c4d28-BiJWP4PP.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-cd145ce4a0ea18469358df53c207bc1b-B_Gy08DW.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-cdbce89e82cc1ab53a2decbf5819278f-CNN_ffhm.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-ce4884f96f11589608b76b726a755803-DykwPGPo.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-cf2cc71752631e579e35b0e423bf2638-rw5kSffK.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-cf6ff4e0f491ca0cf3038187a997b9b4-BxJd8aoS.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-cfb211578629b7e8153b37240de6a9d5-B19K-Mti.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-d0cf73942fea1c74edbdf0b3011f4656-DPlqnxc1.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-d2666cbed13462c5dc36fa2f15c202ca-LVJkJYDK.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-d3716376641d615e2995605b29bca7b6-DhZcpdHo.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-dac48066b5883d8b4551fc584f0c2a3e-cH5j5HvW.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-dbea1af6dcd9860be40c3d18254338f5-DaxMnA87.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-e11567fd2accf9957cd0d3c2be937d87-C8FP60-W.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-e2ead7ea7da0437f085f42ffc05f8d13-IVEFJWhf.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-e3fcf5180fd466c8915c4e8069491054-ByA6SUO_.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-e480d9c614742d05f0e78f274f1e69e6-BIMxIjlk.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-e4bca6cfa53e499cae0a6be4894a90e9-3nXTr6rh.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-e51ef413167c6e14e0c0fdcc585f2fc9-CqK-7_-R.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-e5f453bb04da18eed01675eeebd88bf8-Dd7gBkJd.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-e656f091b9dc4709722c9f4b84d3c797-C9ZtrMvP.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-ec181b795ac1fb5a50d700b6e996d745-DP6VjqFu.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-ee8bae97908d5147b423f77ad0d3c1bb-BVUlCPsw.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-f0f13b5c60e0af5553bd359f5513be1b-D5XEMqoO.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-f2b54d4e7be0eaefe1c2c56836fa5368-CSLTOWqO.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-f56414bf9bced67990def8660e306759-BhdNe6yT.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-f5d079153c99a25b9be5b8583c4cc8a7-DOWF0G8S.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-f6032fc06eb20480f096199713f70885-D_kClYIg.woff2 +0 -0
- package/dist/drawing-page/assets/Xiaolai-Regular-f8ee5d36068a42b51d0e4a1116cfcec1-B9Fb-jqT.woff2 +0 -0
- package/dist/drawing-page/assets/abnfDiagram-N423BO3Z-CESuDXS9.js +1 -0
- package/dist/drawing-page/assets/ar-SA-G6X2FPQ2-BxYfG_4w.js +10 -0
- package/dist/drawing-page/assets/arc-DKLVGaIz.js +1 -0
- package/dist/drawing-page/assets/architecture-7GRP2DOG-BTbjixeh.js +1 -0
- package/dist/drawing-page/assets/architectureDiagram-T3A2C74G-CGXZt2s5.js +36 -0
- package/dist/drawing-page/assets/array-BifhSqXX.js +1 -0
- package/dist/drawing-page/assets/az-AZ-76LH7QW2-CmORYk3r.js +1 -0
- package/dist/drawing-page/assets/bg-BG-XCXSNQG7-CueRTQtz.js +5 -0
- package/dist/drawing-page/assets/blockDiagram-VBNYF7ZC-CrWptAUX.js +132 -0
- package/dist/drawing-page/assets/bn-BD-2XOGV67Q-BfLU6g3f.js +5 -0
- package/dist/drawing-page/assets/c4Diagram-5PPSVZJV-Cc4bJvZb.js +10 -0
- package/dist/drawing-page/assets/ca-ES-6MX7JW3Y-CoTtS-84.js +8 -0
- package/dist/drawing-page/assets/channel-BzrpSA9e.js +1 -0
- package/dist/drawing-page/assets/chunk-2GRJ4B5K-DcSwK2S2.js +1 -0
- package/dist/drawing-page/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
- package/dist/drawing-page/assets/chunk-4I5QYGJK-DneDyAZt.js +1 -0
- package/dist/drawing-page/assets/chunk-5RXB4S5H-B8cC2Isj.js +231 -0
- package/dist/drawing-page/assets/chunk-5VM5RSS4-ZNzvKenW.js +15 -0
- package/dist/drawing-page/assets/chunk-6Q2QTUOP-FSofyzu7.js +88 -0
- package/dist/drawing-page/assets/chunk-7BUUIJ7U-Bb538aSH.js +1 -0
- package/dist/drawing-page/assets/chunk-7Z6QIM7H-Czjy6v_N.js +10 -0
- package/dist/drawing-page/assets/chunk-FOHPRMQF-COOliuUh.js +161 -0
- package/dist/drawing-page/assets/chunk-GF5L2VYU-D7C4sksR.js +206 -0
- package/dist/drawing-page/assets/chunk-I66GZJ75-eQyCt4m7.js +125 -0
- package/dist/drawing-page/assets/chunk-JQJVKLGR-BP6tAsN9.js +156 -0
- package/dist/drawing-page/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
- package/dist/drawing-page/assets/chunk-KBJHAD2P-C5PM9_Z3.js +1 -0
- package/dist/drawing-page/assets/chunk-NSK5VX7P-CSBZRlGI.js +2 -0
- package/dist/drawing-page/assets/chunk-QR6OTTB3-ArIwTbsg.js +62 -0
- package/dist/drawing-page/assets/chunk-RYQCIY6F-r64JZc1V.js +1 -0
- package/dist/drawing-page/assets/chunk-UBXNYLIW-DCDJQ_uV.js +1 -0
- package/dist/drawing-page/assets/chunk-W5SLKNZC-DVmpr6gi.js +1 -0
- package/dist/drawing-page/assets/chunk-WRU74C26-CBC9mgCI.js +70 -0
- package/dist/drawing-page/assets/chunk-XXDRQBXY-D1NataVh.js +1 -0
- package/dist/drawing-page/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
- package/dist/drawing-page/assets/classDiagram-JCYQIIEL-fQUEpNef.js +1 -0
- package/dist/drawing-page/assets/classDiagram-v2-OCEON4UE-fQUEpNef.js +1 -0
- package/dist/drawing-page/assets/client-CX293Fae.js +9 -0
- package/dist/drawing-page/assets/cose-bilkent-JH36ORCC-CPalPD7U.js +1 -0
- package/dist/drawing-page/assets/cs-CZ-2BRQDIVT-JneBadmf.js +11 -0
- package/dist/drawing-page/assets/cynefin-OW5HDTMX-WjoyRlEx.js +1 -0
- package/dist/drawing-page/assets/cynefinDiagram-MW4NZA55-6UGHnaXm.js +62 -0
- package/dist/drawing-page/assets/cytoscape.esm-BY277UBX.js +321 -0
- package/dist/drawing-page/assets/da-DK-5WZEPLOC-MyYyPsgH.js +5 -0
- package/dist/drawing-page/assets/dagre-CjSkSz9-.js +1 -0
- package/dist/drawing-page/assets/dagre-VZM6K2ZE-Cq2tBCTV.js +4 -0
- package/dist/drawing-page/assets/de-DE-XR44H4JA-C5sxzBO0.js +8 -0
- package/dist/drawing-page/assets/defaultLocale-BFoDCU3G.js +1 -0
- package/dist/drawing-page/assets/diagram-7IWD3JNH-CSFNaVMQ.js +30 -0
- package/dist/drawing-page/assets/diagram-B4RE2ZJO-DERYVA6I.js +3 -0
- package/dist/drawing-page/assets/diagram-LBJQPF4R-BZLgpVLi.js +24 -0
- package/dist/drawing-page/assets/diagram-Q27KOJAE-CW8RthgJ.js +24 -0
- package/dist/drawing-page/assets/diagram-UB23O5K3-DtMRLexl.js +41 -0
- package/dist/drawing-page/assets/directory-open-01563666-D4xXyWb_.js +1 -0
- package/dist/drawing-page/assets/directory-open-4ed118d0-1i309Asm.js +1 -0
- package/dist/drawing-page/assets/dist-CBR8fdSM.js +60 -0
- package/dist/drawing-page/assets/dist-pj5P0X0N.js +1 -0
- package/dist/drawing-page/assets/ebnfDiagram-BXEA7PRR-DKlWK14b.js +1 -0
- package/dist/drawing-page/assets/el-GR-BZB4AONW-BDF9TGyK.js +10 -0
- package/dist/drawing-page/assets/en-B4ZKOASM-DQptt87B.js +1 -0
- package/dist/drawing-page/assets/erDiagram-JOGREHBK-C8jQzl05.js +85 -0
- package/dist/drawing-page/assets/es-ES-U4NZUMDT-CvMMDbja.js +9 -0
- package/dist/drawing-page/assets/eu-ES-A7QVB2H4-Azi3qer2.js +11 -0
- package/dist/drawing-page/assets/eventmodeling-NTZA5JFV-DwQax9Qo.js +1 -0
- package/dist/drawing-page/assets/excalidraw-font-licences-tJTBxDjd.txt +545 -0
- package/dist/drawing-page/assets/fa-IR-HGAKTJCU-CcB_2DLJ.js +8 -0
- package/dist/drawing-page/assets/fi-FI-Z5N7JZ37-Cfhwoabd.js +6 -0
- package/dist/drawing-page/assets/file-open-002ab408-BHUWm0Sh.js +1 -0
- package/dist/drawing-page/assets/file-open-7c801643-DZtJT5zp.js +1 -0
- package/dist/drawing-page/assets/file-save-3189631c-CO9S4HFW.js +1 -0
- package/dist/drawing-page/assets/file-save-745eba88-Bwdfz6OZ.js +1 -0
- package/dist/drawing-page/assets/flowDiagram-UKHOOZJN-LEBtdj-L.js +1 -0
- package/dist/drawing-page/assets/fr-FR-RHASNOE6-CtRkYaA9.js +9 -0
- package/dist/drawing-page/assets/ganttDiagram-PKOTCBZU-BlOkl0Ml.js +292 -0
- package/dist/drawing-page/assets/gitGraph-4MIJSDKK-kFhKQ1p7.js +1 -0
- package/dist/drawing-page/assets/gitGraphDiagram-DS77QQ5N-nNmXQTuR.js +106 -0
- package/dist/drawing-page/assets/gl-ES-HMX3MZ6V-BYvext-h.js +10 -0
- package/dist/drawing-page/assets/graphlib-DS17s2tU.js +1 -0
- package/dist/drawing-page/assets/he-IL-6SHJWFNN-Ds0Iws-m.js +10 -0
- package/dist/drawing-page/assets/hi-IN-IWLTKZ5I-C5-S2BYt.js +4 -0
- package/dist/drawing-page/assets/hu-HU-A5ZG7DT2-BKp400E6.js +7 -0
- package/dist/drawing-page/assets/id-ID-SAP4L64H-C0DZ4SF3.js +10 -0
- package/dist/drawing-page/assets/image-GAAHSSAO-CRETPnVQ.js +1 -0
- package/dist/drawing-page/assets/image-blob-reduce.esm-ZiL83eII.js +2 -0
- package/dist/drawing-page/assets/info-A6RAGUB7-CwndtF-v.js +1 -0
- package/dist/drawing-page/assets/infoDiagram-6WML65LV-PbgVrt2v.js +2 -0
- package/dist/drawing-page/assets/init-C-OQMol4.js +1 -0
- package/dist/drawing-page/assets/ishikawaDiagram-WSZJBQD7-oqiUmo-r.js +70 -0
- package/dist/drawing-page/assets/it-IT-JPQ66NNP-DqEW-1TC.js +11 -0
- package/dist/drawing-page/assets/ja-JP-DBVTYXUO-BD5fy2g0.js +8 -0
- package/dist/drawing-page/assets/journeyDiagram-NVQOT4AX-Du1rIQY5.js +139 -0
- package/dist/drawing-page/assets/kaa-6HZHGXH3-JwewpKGA.js +1 -0
- package/dist/drawing-page/assets/kab-KAB-ZGHBKWFO-Ypv2Vt_S.js +8 -0
- package/dist/drawing-page/assets/kanban-definition-27J2QSJJ-D41YNdW5.js +89 -0
- package/dist/drawing-page/assets/katex-DJhrJSbw.js +257 -0
- package/dist/drawing-page/assets/kk-KZ-P5N5QNE5-CW8QQBb4.js +1 -0
- package/dist/drawing-page/assets/km-KH-HSX4SM5Z-Brql62o4.js +11 -0
- package/dist/drawing-page/assets/ko-KR-MTYHY66A-B2AA9q3T.js +9 -0
- package/dist/drawing-page/assets/ku-TR-6OUDTVRD-wRfKM-UR.js +9 -0
- package/dist/drawing-page/assets/line-DR25GccZ.js +1 -0
- package/dist/drawing-page/assets/linear-CgBNAElN.js +1 -0
- package/dist/drawing-page/assets/lt-LT-XHIRWOB4-JLA_pCNn.js +3 -0
- package/dist/drawing-page/assets/lv-LV-5QDEKY6T-Bm_FaNIi.js +7 -0
- package/dist/drawing-page/assets/map-CLsMSThe.js +1 -0
- package/dist/drawing-page/assets/mermaid-parser.core-CFW1VGRO.js +7 -0
- package/dist/drawing-page/assets/mindmap-definition-FAOFIHXS-CIAkR1vw.js +96 -0
- package/dist/drawing-page/assets/mr-IN-CRQNXWMA-B1pSsBa2.js +13 -0
- package/dist/drawing-page/assets/my-MM-5M5IBNSE-DEuiqvRE.js +1 -0
- package/dist/drawing-page/assets/nb-NO-T6EIAALU-NgPXPjzu.js +10 -0
- package/dist/drawing-page/assets/nl-NL-IS3SIHDZ-CEIThWDg.js +8 -0
- package/dist/drawing-page/assets/nn-NO-6E72VCQL-CWaPfJ9b.js +8 -0
- package/dist/drawing-page/assets/oc-FR-POXYY2M6-DQI9Oi0b.js +8 -0
- package/dist/drawing-page/assets/ordinal-BDEzSJ7C.js +1 -0
- package/dist/drawing-page/assets/pa-IN-N4M65BXN-Bp1ixU58.js +4 -0
- package/dist/drawing-page/assets/packet-AYTQ26CC-Hp0dYuKn.js +1 -0
- package/dist/drawing-page/assets/path-fybaL0A-.js +1 -0
- package/dist/drawing-page/assets/pegDiagram-VL7TDLO6-B-xberCP.js +1 -0
- package/dist/drawing-page/assets/percentages-BXMCSKIN-BB8F9H2s.js +1 -0
- package/dist/drawing-page/assets/pica-CjdSVAiE.js +2 -0
- package/dist/drawing-page/assets/picture-B8KpPOJ2.js +1 -0
- package/dist/drawing-page/assets/pie-WAS4IAKB-DeHBddHP.js +1 -0
- package/dist/drawing-page/assets/pieDiagram-7S7Q4E2Y-mlV2Cfx3.js +39 -0
- package/dist/drawing-page/assets/pl-PL-T2D74RX3-BUKE4wqp.js +9 -0
- package/dist/drawing-page/assets/prod-Di24bKih.css +1 -0
- package/dist/drawing-page/assets/prod-h6IKD9uE.js +199 -0
- package/dist/drawing-page/assets/pt-BR-5N22H2LF--wv9sZf1.js +9 -0
- package/dist/drawing-page/assets/pt-PT-UZXXM6DQ-0XUNZ7du.js +9 -0
- package/dist/drawing-page/assets/quadrantDiagram-CIZ2JOQS-DCASpnCZ.js +7 -0
- package/dist/drawing-page/assets/radar-RG4KPBEZ-CsChGZyk.js +1 -0
- package/dist/drawing-page/assets/railroad-74A4TZTK-EDCAAmUH.js +1 -0
- package/dist/drawing-page/assets/railroad-abnf-HS5TGJTU-CbfTzsa4.js +1 -0
- package/dist/drawing-page/assets/railroad-ebnf-LZEXJU2U-DRjQ6hQ0.js +1 -0
- package/dist/drawing-page/assets/railroad-peg-WCYAUIDC-CdgfU0Wj.js +1 -0
- package/dist/drawing-page/assets/railroadDiagram-AXF67PYL-DUPotRSX.js +1 -0
- package/dist/drawing-page/assets/react-dom-bLrj4m0o.js +1 -0
- package/dist/drawing-page/assets/react-rKJS6zPL.js +1 -0
- package/dist/drawing-page/assets/requirementDiagram-LRYGKXZP-BqF3hAjG.js +84 -0
- package/dist/drawing-page/assets/ro-RO-JPDTUUEW-C_HZ_9_y.js +11 -0
- package/dist/drawing-page/assets/rough.esm-Dy-Kn_BL.js +1 -0
- package/dist/drawing-page/assets/roundRect-D01gJrlt.js +1 -0
- package/dist/drawing-page/assets/ru-RU-B4JR7IUQ-CghTzS1B.js +9 -0
- package/dist/drawing-page/assets/sankeyDiagram-W5VNT64P-TOHKGdOj.js +40 -0
- package/dist/drawing-page/assets/scene-CNYL6uXE.js +1 -0
- package/dist/drawing-page/assets/sequenceDiagram-SI44F4Z6-BPzBwJ23.js +162 -0
- package/dist/drawing-page/assets/si-LK-N5RQ5JYF-C-E7WMzT.js +1 -0
- package/dist/drawing-page/assets/sizeCapture-X5ZJPWSS-3uHXrFqA.js +1 -0
- package/dist/drawing-page/assets/sk-SK-C5VTKIMK-xSSzQ-Nc.js +6 -0
- package/dist/drawing-page/assets/sl-SI-NN7IZMDC-vd9S4rru.js +6 -0
- package/dist/drawing-page/assets/src-Bq_MLJPW.js +1 -0
- package/dist/drawing-page/assets/stateDiagram-OKZ733FA-DWhPSrGe.js +1 -0
- package/dist/drawing-page/assets/stateDiagram-v2-UEYNNEHI-0SsDmXm-.js +1 -0
- package/dist/drawing-page/assets/sv-SE-XGPEYMSR-C03vrITo.js +10 -0
- package/dist/drawing-page/assets/swimlanes-SLNWSIFB-bAtn9k-6.js +2 -0
- package/dist/drawing-page/assets/swimlanesDiagram-ULZ7WXOC-3CBtkpxY.js +8 -0
- package/dist/drawing-page/assets/ta-IN-2NMHFXQM-iApHUOhp.js +9 -0
- package/dist/drawing-page/assets/th-TH-HPSO5L25-XaEE8A2a.js +2 -0
- package/dist/drawing-page/assets/timeline-definition-Z64GVDOM-HpHAE7p1.js +120 -0
- package/dist/drawing-page/assets/tr-TR-DEFEU3FU-qh_6U6tZ.js +7 -0
- package/dist/drawing-page/assets/treeView-Q6P3EWNA-BQf_AACg.js +1 -0
- package/dist/drawing-page/assets/treemap-WGGIJYW6-DsYNoq2s.js +1 -0
- package/dist/drawing-page/assets/uk-UA-QMV73CPH-Dnaa4Abz.js +6 -0
- package/dist/drawing-page/assets/vennDiagram-T6HMQDX7-DLs65-zf.js +34 -0
- package/dist/drawing-page/assets/vi-VN-M7AON7JQ-YOkhVPYg.js +5 -0
- package/dist/drawing-page/assets/wardley-WFR3VGLG-D5_bMu7U.js +1 -0
- package/dist/drawing-page/assets/wardleyDiagram-T6FBY63Y-BD5VH3jw.js +78 -0
- package/dist/drawing-page/assets/xychartDiagram-ELKLHX3M-jJa9qhv1.js +7 -0
- package/dist/drawing-page/assets/zh-CN-LNUGB5OW-DggUAMgs.js +10 -0
- package/dist/drawing-page/assets/zh-HK-E62DVLB3-MCovRg56.js +1 -0
- package/dist/drawing-page/assets/zh-TW-RAJ6MFWO-BuC6uBYw.js +9 -0
- package/dist/drawing-page/drawing-picture-page.js +4 -0
- package/dist/main.js +472 -139
- package/dist/main.js.map +1 -1
- package/package.json +7 -6
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
2
|
import { createInterface } from "node:readline/promises";
|
|
3
3
|
import { availableParallelism, homedir, hostname, tmpdir } from "node:os";
|
|
4
|
-
import nodePath, { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
4
|
+
import nodePath, { basename, dirname, extname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
5
5
|
import { parseArgs } from "node:util";
|
|
6
6
|
import { access, chmod, lstat, mkdir, open, readFile, readdir, realpath, rename, rm, stat, unlink, utimes, writeFile } from "node:fs/promises";
|
|
7
7
|
import { InMemoryTransport } from "@modelcontextprotocol/sdk/inMemory.js";
|
|
@@ -30,6 +30,7 @@ import { languages } from "@codemirror/language-data";
|
|
|
30
30
|
import MarkdownIt from "markdown-it";
|
|
31
31
|
import katex from "katex";
|
|
32
32
|
import Mustache from "mustache";
|
|
33
|
+
import { Buffer as Buffer$1 } from "node:buffer";
|
|
33
34
|
import { createServer as createServer$1 } from "node:http";
|
|
34
35
|
import "maplibre-gl";
|
|
35
36
|
import { lookup } from "node:dns";
|
|
@@ -713,7 +714,7 @@ function looksLikeAgentSetupCode(value) {
|
|
|
713
714
|
}
|
|
714
715
|
var package_default = {
|
|
715
716
|
name: "@appsoftwareltd/etherpk-mcp",
|
|
716
|
-
version: "0.18.
|
|
717
|
+
version: "0.18.4",
|
|
717
718
|
license: "Elastic-2.0",
|
|
718
719
|
description: "EtherPK Headless Client: an MCP server over a synced knowledge graph, run beside the agent on the user's own machine.",
|
|
719
720
|
type: "module",
|
|
@@ -722,7 +723,7 @@ var package_default = {
|
|
|
722
723
|
files: ["bin", "dist"],
|
|
723
724
|
scripts: {
|
|
724
725
|
"client-tsconfig": "pnpm --dir ../client exec svelte-kit sync",
|
|
725
|
-
"build": "pnpm client-tsconfig && vite build && vite build --config vite.map-page.config.ts",
|
|
726
|
+
"build": "pnpm client-tsconfig && vite build && vite build --config vite.map-page.config.ts && vite build --config vite.drawing-page.config.ts",
|
|
726
727
|
"check": "tsc -p tsconfig.json --noEmit",
|
|
727
728
|
"test": "pnpm client-tsconfig && vitest run",
|
|
728
729
|
"test:watch": "pnpm client-tsconfig && vitest",
|
|
@@ -755,6 +756,7 @@ var package_default = {
|
|
|
755
756
|
"zod": "^4.6.7"
|
|
756
757
|
},
|
|
757
758
|
devDependencies: {
|
|
759
|
+
"@appsoftwareltd/etherpk-extension-excalidraw": "workspace:*",
|
|
758
760
|
"@appsoftwareltd/etherpk-extension-graph-view": "workspace:*",
|
|
759
761
|
"@appsoftwareltd/etherpk-extension-maps": "workspace:*",
|
|
760
762
|
"@appsoftwareltd/etherpk-shared": "workspace:*",
|
|
@@ -4561,6 +4563,26 @@ function withoutFreeTags(text, which = () => true) {
|
|
|
4561
4563
|
return (out + text.slice(at)).trim();
|
|
4562
4564
|
}
|
|
4563
4565
|
/**
|
|
4566
|
+
* What a task list shows for a task's label: its words, without the tag run or its Free Tags, and
|
|
4567
|
+
* the Free Tags as written, for pills. A task whose text is only Free Tags shows them as its words
|
|
4568
|
+
* with no pills, and one written as Task Tags alone shows its tags.
|
|
4569
|
+
*/
|
|
4570
|
+
function taskDisplay(label) {
|
|
4571
|
+
const text = parseTaskTags(label).text;
|
|
4572
|
+
const words = withoutFreeTags(text);
|
|
4573
|
+
return words === "" ? {
|
|
4574
|
+
text: text || label,
|
|
4575
|
+
freeTags: []
|
|
4576
|
+
} : {
|
|
4577
|
+
text: words,
|
|
4578
|
+
freeTags: freeTagsIn(text)
|
|
4579
|
+
};
|
|
4580
|
+
}
|
|
4581
|
+
/** The [[Task Tag]]s in a label's leading run, as written and in order, without the Free Tags in it. */
|
|
4582
|
+
function taskTagTokens(label) {
|
|
4583
|
+
return label.slice(0, scanRun(label).end).split(/\s+/).filter((token) => readTag(token) !== null);
|
|
4584
|
+
}
|
|
4585
|
+
/**
|
|
4564
4586
|
* A task's [[Task Status]], from its checkbox and its bare-letter tags: the one statement of the
|
|
4565
4587
|
* rule, which the index's SQL (`STATUS_SQL` in index-db.ts) mirrors.
|
|
4566
4588
|
*
|
|
@@ -4690,6 +4712,44 @@ new Set(STATE_TAGS.map(([kind]) => kind));
|
|
|
4690
4712
|
* construction (ADR 0015). Pure and DOM-free.
|
|
4691
4713
|
*/
|
|
4692
4714
|
/**
|
|
4715
|
+
* A task's title as a [[Task Text Filter]] matches it: the words a [[Kanban Board]] card shows,
|
|
4716
|
+
* without the task's [[Task Tag]] run or [[Free Tag]]s, folded in JS so that case is ignored beyond
|
|
4717
|
+
* the ASCII that SQLite's own LIKE folds.
|
|
4718
|
+
*/
|
|
4719
|
+
function taskTitleKey(label) {
|
|
4720
|
+
return taskDisplay(label).text.toLowerCase();
|
|
4721
|
+
}
|
|
4722
|
+
/**
|
|
4723
|
+
* A task's tags as a [[Task Text Filter]] matches them: every [[Task Tag]] in its leading run and
|
|
4724
|
+
* every [[Free Tag]] on its line, lower-cased, each with a space either side. No tag holds a space,
|
|
4725
|
+
* so {@link taskTagNeedle} finds a tag whole, and `#bug` is not found in `#bugfix`.
|
|
4726
|
+
*/
|
|
4727
|
+
function taskTagsKey(label) {
|
|
4728
|
+
const tags = [...taskTagTokens(label).map((token) => token.slice(1)), ...freeTagsIn(parseTaskTags(label).text)];
|
|
4729
|
+
return tags.length === 0 ? "" : ` ${tags.join(" ").toLowerCase()} `;
|
|
4730
|
+
}
|
|
4731
|
+
/** What {@link taskTagsKey} is searched for, for a tag out of a {@link TaskTextFilter}. */
|
|
4732
|
+
function taskTagNeedle(tag) {
|
|
4733
|
+
return ` ${tag} `;
|
|
4734
|
+
}
|
|
4735
|
+
/** A tag as it is typed into a filter: what a Free Tag or a Task Tag could be, letter included. */
|
|
4736
|
+
var TYPED_TAG = /^#(?=[a-z0-9-]*[a-z])[a-z0-9]+(?:-[a-z0-9]+)*$/;
|
|
4737
|
+
/**
|
|
4738
|
+
* What a person typed into a [[Task Text Filter]], or null when it asks for nothing. A whitespace-
|
|
4739
|
+
* separated `#word` is a tag and the rest are the words, in the order typed. A `#` on its own is a
|
|
4740
|
+
* tag still being typed, so it narrows nothing yet: the list does not empty on the way to `#bug`.
|
|
4741
|
+
* Hash text no tag can be (`#123`, `c#`) stays in the words, as a title can hold it.
|
|
4742
|
+
*/
|
|
4743
|
+
function parseTaskTextFilter(typed) {
|
|
4744
|
+
const tokens = typed.trim().toLowerCase().split(/\s+/).filter((token) => token !== "" && token !== "#");
|
|
4745
|
+
const tags = tokens.filter((token) => TYPED_TAG.test(token));
|
|
4746
|
+
const words = tokens.filter((token) => !TYPED_TAG.test(token)).join(" ");
|
|
4747
|
+
return words === "" && tags.length === 0 ? null : {
|
|
4748
|
+
words,
|
|
4749
|
+
tags: tags.map((tag) => tag.slice(1))
|
|
4750
|
+
};
|
|
4751
|
+
}
|
|
4752
|
+
/**
|
|
4693
4753
|
* A predicate over source line numbers: is this line inside a [[Fenced Code Block]]?
|
|
4694
4754
|
*
|
|
4695
4755
|
* A `- [ ] x` written inside a fence must not become a [[Task]]: the [[Tasks View]] would list
|
|
@@ -4802,6 +4862,7 @@ function deriveDoc(text, options = {}) {
|
|
|
4802
4862
|
const candidateTasks = blocks.filter((b) => b.kind === "task");
|
|
4803
4863
|
const fenced = candidateTasks.length === 0 ? () => false : fencedLines(text);
|
|
4804
4864
|
const taskBlocks = candidateTasks.filter((b) => !fenced(b.startLine));
|
|
4865
|
+
const taskIds = new Set(taskBlocks.map((b) => b.localId));
|
|
4805
4866
|
const tasks = taskBlocks.map((b) => {
|
|
4806
4867
|
const tags = parseTaskTags(b.label);
|
|
4807
4868
|
return {
|
|
@@ -4818,7 +4879,10 @@ function deriveDoc(text, options = {}) {
|
|
|
4818
4879
|
due: tags.due,
|
|
4819
4880
|
completion: tags.completion,
|
|
4820
4881
|
scheduled: tags.scheduled,
|
|
4821
|
-
freeTag: freeTagsIn(tags.text)[0]?.toLowerCase() ?? null
|
|
4882
|
+
freeTag: freeTagsIn(tags.text)[0]?.toLowerCase() ?? null,
|
|
4883
|
+
parentTaskLocalId: nearestTaskAbove(blocks, taskIds, b),
|
|
4884
|
+
titleKey: taskTitleKey(b.label),
|
|
4885
|
+
tagsKey: taskTagsKey(b.label)
|
|
4822
4886
|
};
|
|
4823
4887
|
});
|
|
4824
4888
|
const maps = deriveMaps(text, blocks, links, lineToBlock);
|
|
@@ -4929,6 +4993,11 @@ function deriveMaps(text, blocks, links, lineToBlock) {
|
|
|
4929
4993
|
searchText
|
|
4930
4994
|
};
|
|
4931
4995
|
}
|
|
4996
|
+
/** The nearest ancestor of `block` that is a task, through any plain bullets and headings between. */
|
|
4997
|
+
function nearestTaskAbove(blocks, taskIds, block) {
|
|
4998
|
+
for (let id = block.parentId; id !== null; id = blocks[id]?.parentId ?? null) if (taskIds.has(id)) return id;
|
|
4999
|
+
return null;
|
|
5000
|
+
}
|
|
4932
5001
|
/**
|
|
4933
5002
|
* The [[Task Concept]] rows for one document (ADR 0051): for each task, every concept
|
|
4934
5003
|
* wikilinked on its own block or on ANY ancestor, up to the root.
|
|
@@ -5443,9 +5512,14 @@ CREATE TABLE IF NOT EXISTS tasks (
|
|
|
5443
5512
|
priority INTEGER, waiting INTEGER NOT NULL DEFAULT 0, doing INTEGER NOT NULL DEFAULT 0,
|
|
5444
5513
|
test INTEGER NOT NULL DEFAULT 0, cancelled INTEGER NOT NULL DEFAULT 0,
|
|
5445
5514
|
archived INTEGER NOT NULL DEFAULT 0, due TEXT, completion TEXT, scheduled TEXT,
|
|
5446
|
-
free_tag TEXT
|
|
5515
|
+
free_tag TEXT, parent_task_local_id INTEGER, title_key TEXT NOT NULL DEFAULT '',
|
|
5516
|
+
tags_key TEXT NOT NULL DEFAULT '');
|
|
5447
5517
|
-- free_tag is the task's first [[Free Tag]], lower-cased, or NULL: what a [[Kanban Board]] section
|
|
5448
|
-
-- orders by first (ADR 0166).
|
|
5518
|
+
-- orders by first (ADR 0166). parent_task_local_id is the block of the task's [[Parent Task]], or
|
|
5519
|
+
-- NULL: a column, because which [[Subtask]]s leave a board has to be decided in the WHERE clause
|
|
5520
|
+
-- for its counts and paging to be right (ADR 0174). title_key is the task's words and tags_key its
|
|
5521
|
+
-- tags, lower-cased, for a [[Task Text Filter]], which is in the WHERE clause for the same reason.
|
|
5522
|
+
-- free_tag alone would not do: it holds a task's first Free Tag, and a filter reads them all.
|
|
5449
5523
|
-- [[Task Concept]] (ADR 0051): one row per (task, concept it answers to). Concepts are stored
|
|
5450
5524
|
-- AS WRITTEN and pooled over [[Alias]]es at query time, exactly as backlinksFor does — baking
|
|
5451
5525
|
-- the canonical name in would go stale the moment a page is renamed.
|
|
@@ -5490,7 +5564,7 @@ CREATE INDEX IF NOT EXISTS aliases_page ON aliases(page_id);
|
|
|
5490
5564
|
CREATE INDEX IF NOT EXISTS publication_includes_page ON publication_includes(page_id);
|
|
5491
5565
|
CREATE INDEX IF NOT EXISTS publication_includes_key ON publication_includes(concept_key);
|
|
5492
5566
|
CREATE INDEX IF NOT EXISTS links_page ON links(page_id);
|
|
5493
|
-
CREATE INDEX IF NOT EXISTS tasks_page ON tasks(page_id);
|
|
5567
|
+
CREATE INDEX IF NOT EXISTS tasks_page ON tasks(page_id, block_local_id);
|
|
5494
5568
|
-- The Name Filter's whole selectivity: without it, filtering to a concept scans every task
|
|
5495
5569
|
-- row in the graph. Mirrors links_concept_key, and like it stays put during a bulk rebuild.
|
|
5496
5570
|
CREATE INDEX IF NOT EXISTS task_concepts_key ON task_concepts(concept_key);
|
|
@@ -5527,7 +5601,7 @@ function createSchema(db) {
|
|
|
5527
5601
|
db.exec(SCHEMA$1);
|
|
5528
5602
|
db.run("INSERT OR IGNORE INTO index_metadata (key, value) VALUES ('active_generation', 1)");
|
|
5529
5603
|
db.run("INSERT OR IGNORE INTO index_metadata (key, value) VALUES ('revision', 0)");
|
|
5530
|
-
db.exec(`PRAGMA user_version =
|
|
5604
|
+
db.exec(`PRAGMA user_version = 22`);
|
|
5531
5605
|
}
|
|
5532
5606
|
function activeIndexGeneration(db) {
|
|
5533
5607
|
return db.all("SELECT value FROM index_metadata WHERE key = 'active_generation'")[0]?.value ?? 1;
|
|
@@ -5548,7 +5622,7 @@ function advanceIndexRevision(db) {
|
|
|
5548
5622
|
*/
|
|
5549
5623
|
function isUsableIndex(db) {
|
|
5550
5624
|
try {
|
|
5551
|
-
return db.all("PRAGMA user_version")[0]?.user_version ===
|
|
5625
|
+
return db.all("PRAGMA user_version")[0]?.user_version === 22;
|
|
5552
5626
|
} catch {
|
|
5553
5627
|
return false;
|
|
5554
5628
|
}
|
|
@@ -5696,8 +5770,8 @@ function insertDerived(db, pageId, doc) {
|
|
|
5696
5770
|
l.blockLocalId
|
|
5697
5771
|
]);
|
|
5698
5772
|
for (const t of tasks) db.run(`INSERT INTO tasks (page_id, block_local_id, done, text, line,
|
|
5699
|
-
priority, waiting, doing, test, cancelled, archived, due, completion, scheduled, free_tag)
|
|
5700
|
-
VALUES (
|
|
5773
|
+
priority, waiting, doing, test, cancelled, archived, due, completion, scheduled, free_tag, parent_task_local_id, title_key, tags_key)
|
|
5774
|
+
VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)`, [
|
|
5701
5775
|
pageId,
|
|
5702
5776
|
t.blockLocalId,
|
|
5703
5777
|
Number(t.done),
|
|
@@ -5712,7 +5786,10 @@ function insertDerived(db, pageId, doc) {
|
|
|
5712
5786
|
t.due,
|
|
5713
5787
|
t.completion,
|
|
5714
5788
|
t.scheduled,
|
|
5715
|
-
t.freeTag
|
|
5789
|
+
t.freeTag,
|
|
5790
|
+
t.parentTaskLocalId,
|
|
5791
|
+
t.titleKey,
|
|
5792
|
+
t.tagsKey
|
|
5716
5793
|
]);
|
|
5717
5794
|
insertTaskConcepts(db, pageId, doc, tasks, taskConcepts);
|
|
5718
5795
|
insertMapRows(db, pageId, doc, mapItems, mapConcepts);
|
|
@@ -6780,6 +6857,80 @@ var BY_FREE_TAG_SQL = "(t.free_tag IS NULL), t.free_tag ASC";
|
|
|
6780
6857
|
*/
|
|
6781
6858
|
var TIE_BREAK_SQL = "p.concept_key ASC, t.line ASC, t.page_id ASC, t.block_local_id ASC";
|
|
6782
6859
|
/**
|
|
6860
|
+
* Every name a [[Name Filter]] matches: the page it resolves to, by its own name and its [[Alias]]es,
|
|
6861
|
+
* the pooling backlinksFor performs, so filtering by an alias finds tasks written against the
|
|
6862
|
+
* canonical name and vice versa. A name with no page is a [[Pageless Concept]] and matches only
|
|
6863
|
+
* itself, which is right: it has none.
|
|
6864
|
+
*/
|
|
6865
|
+
function namesForFilter(db, concept) {
|
|
6866
|
+
const key = conceptKey$1(concept);
|
|
6867
|
+
const pageId = canonicalPageId(db, key);
|
|
6868
|
+
return pageId === null ? [key] : namesForPage(db, pageId);
|
|
6869
|
+
}
|
|
6870
|
+
/** SQL: the task under alias `task` answers to one of `names`. One parameter per name. */
|
|
6871
|
+
function answersToNames(task, alias, names) {
|
|
6872
|
+
return `EXISTS (SELECT 1 FROM task_concepts ${alias}
|
|
6873
|
+
WHERE ${alias}.page_id = ${task}.page_id AND ${alias}.block_local_id = ${task}.block_local_id
|
|
6874
|
+
AND ${alias}.concept_key IN (${names.map(() => "?").join(",")}))`;
|
|
6875
|
+
}
|
|
6876
|
+
/**
|
|
6877
|
+
* SQL: the task is not a [[Subtask]] of a task on the same board (ADR 0174), a board for `names`,
|
|
6878
|
+
* or the Graph Kanban with null. One parameter per name. Its parent is on the board when that task
|
|
6879
|
+
* answers to the board's concept and is not Archived, whatever lane it is in. What is under an
|
|
6880
|
+
* Archived parent or one the board's concept does not reach would otherwise be on no card at all.
|
|
6881
|
+
*/
|
|
6882
|
+
function onlyBoardCards(names) {
|
|
6883
|
+
return `(t.parent_task_local_id IS NULL OR NOT EXISTS (
|
|
6884
|
+
SELECT 1 FROM tasks parent
|
|
6885
|
+
WHERE parent.page_id = t.page_id AND parent.block_local_id = t.parent_task_local_id
|
|
6886
|
+
AND NOT ${STATUS_SQL.archived.replaceAll("t.", "parent.")} ${names === null ? "" : `AND ${answersToNames("parent", "ptc", names)}`}))`;
|
|
6887
|
+
}
|
|
6888
|
+
/** The tasks at `priorities`, or null when that is all of them. */
|
|
6889
|
+
function priorityClause(priorities) {
|
|
6890
|
+
if (priorities.length >= TASK_PRIORITY_FILTERS.length) return null;
|
|
6891
|
+
const levels = priorities.filter((p) => p !== null);
|
|
6892
|
+
const clauses = [];
|
|
6893
|
+
if (levels.length > 0) clauses.push(`t.priority IN (${levels.map(() => "?").join(",")})`);
|
|
6894
|
+
if (priorities.includes(null)) clauses.push("t.priority IS NULL");
|
|
6895
|
+
return {
|
|
6896
|
+
sql: `(${clauses.join(" OR ")})`,
|
|
6897
|
+
params: levels
|
|
6898
|
+
};
|
|
6899
|
+
}
|
|
6900
|
+
/** The tasks due in `window` of `today`, or null for any. */
|
|
6901
|
+
function dueClause(window, today) {
|
|
6902
|
+
if (window === "any") return null;
|
|
6903
|
+
if (window === "overdue") return {
|
|
6904
|
+
sql: "(t.due IS NOT NULL AND t.due < ?)",
|
|
6905
|
+
params: [today]
|
|
6906
|
+
};
|
|
6907
|
+
if (window === "today") return {
|
|
6908
|
+
sql: "t.due = ?",
|
|
6909
|
+
params: [today]
|
|
6910
|
+
};
|
|
6911
|
+
return {
|
|
6912
|
+
sql: "(t.due IS NOT NULL AND t.due >= ? AND t.due <= ?)",
|
|
6913
|
+
params: [today, addDays(today, 7)]
|
|
6914
|
+
};
|
|
6915
|
+
}
|
|
6916
|
+
/** The tasks a [[Task Text Filter]] lets through, or null when it asks for nothing. `instr`, not LIKE, so % and _ are plain. */
|
|
6917
|
+
function textFilterClause(typed) {
|
|
6918
|
+
const filter = parseTaskTextFilter(typed ?? "");
|
|
6919
|
+
if (filter === null) return null;
|
|
6920
|
+
const parts = filter.tags.map((tag) => ({
|
|
6921
|
+
sql: "instr(t.tags_key, ?) > 0",
|
|
6922
|
+
param: taskTagNeedle(tag)
|
|
6923
|
+
}));
|
|
6924
|
+
if (filter.words !== "") parts.push({
|
|
6925
|
+
sql: "instr(t.title_key, ?) > 0",
|
|
6926
|
+
param: filter.words
|
|
6927
|
+
});
|
|
6928
|
+
return {
|
|
6929
|
+
sql: parts.map((part) => part.sql).join(" AND "),
|
|
6930
|
+
params: parts.map((part) => part.param)
|
|
6931
|
+
};
|
|
6932
|
+
}
|
|
6933
|
+
/**
|
|
6783
6934
|
* The WHERE clause and parameters shared by {@link tasksMatching} and its count, so the two
|
|
6784
6935
|
* can never drift into answering different questions about the same filter.
|
|
6785
6936
|
*
|
|
@@ -6791,39 +6942,25 @@ function taskPredicate(db, query) {
|
|
|
6791
6942
|
if (query.statuses.length === 0 || query.priorities.length === 0) return null;
|
|
6792
6943
|
const where = ["p.generation = ?"];
|
|
6793
6944
|
const params = [activeIndexGeneration(db)];
|
|
6794
|
-
|
|
6795
|
-
|
|
6796
|
-
const pageId = canonicalPageId(db, key);
|
|
6797
|
-
const names = pageId === null ? [key] : namesForPage(db, pageId);
|
|
6945
|
+
const names = query.concept === null ? null : namesForFilter(db, query.concept);
|
|
6946
|
+
if (names !== null) {
|
|
6798
6947
|
if (names.length === 0) return null;
|
|
6799
|
-
where.push(
|
|
6800
|
-
WHERE tc.page_id = t.page_id AND tc.block_local_id = t.block_local_id
|
|
6801
|
-
AND tc.concept_key IN (${names.map(() => "?").join(",")}))`);
|
|
6948
|
+
where.push(answersToNames("t", "tc", names));
|
|
6802
6949
|
params.push(...names);
|
|
6803
6950
|
}
|
|
6951
|
+
if (query.asBoard) {
|
|
6952
|
+
where.push(onlyBoardCards(names));
|
|
6953
|
+
params.push(...names ?? []);
|
|
6954
|
+
}
|
|
6804
6955
|
if (query.statuses.length < TASK_STATUSES.length) where.push(`(${query.statuses.map((s) => STATUS_SQL[s]).join(" OR ")})`);
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
where.push(`(${clauses.join(" OR ")})`);
|
|
6814
|
-
}
|
|
6815
|
-
if (query.due !== "any") {
|
|
6816
|
-
const today = query.today;
|
|
6817
|
-
if (query.due === "overdue") {
|
|
6818
|
-
where.push("(t.due IS NOT NULL AND t.due < ?)");
|
|
6819
|
-
params.push(today);
|
|
6820
|
-
} else if (query.due === "today") {
|
|
6821
|
-
where.push("t.due = ?");
|
|
6822
|
-
params.push(today);
|
|
6823
|
-
} else {
|
|
6824
|
-
where.push("(t.due IS NOT NULL AND t.due >= ? AND t.due <= ?)");
|
|
6825
|
-
params.push(today, addDays(today, 7));
|
|
6826
|
-
}
|
|
6956
|
+
for (const clause of [
|
|
6957
|
+
priorityClause(query.priorities),
|
|
6958
|
+
dueClause(query.due, query.today),
|
|
6959
|
+
textFilterClause(query.textFilter)
|
|
6960
|
+
]) {
|
|
6961
|
+
if (clause === null) continue;
|
|
6962
|
+
where.push(clause.sql);
|
|
6963
|
+
params.push(...clause.params);
|
|
6827
6964
|
}
|
|
6828
6965
|
return {
|
|
6829
6966
|
where: where.join(" AND "),
|
|
@@ -6860,59 +6997,129 @@ function tasksMatching(db, query, offset, limit) {
|
|
|
6860
6997
|
hits: [],
|
|
6861
6998
|
hasMore: false
|
|
6862
6999
|
};
|
|
6863
|
-
const
|
|
7000
|
+
const around = taskSurroundings(db, page, new Set(query.concept === null ? [] : namesForFilter(db, query.concept)));
|
|
6864
7001
|
return {
|
|
6865
|
-
hits: page.map((row) => {
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
breadcrumb: found?.breadcrumb ?? [],
|
|
6870
|
-
parentTask: found?.parentTask ?? null
|
|
6871
|
-
};
|
|
6872
|
-
}),
|
|
7002
|
+
hits: page.map((row) => ({
|
|
7003
|
+
...toHit(row),
|
|
7004
|
+
...around(row)
|
|
7005
|
+
})),
|
|
6873
7006
|
hasMore
|
|
6874
7007
|
};
|
|
6875
7008
|
}
|
|
6876
7009
|
/**
|
|
6877
|
-
*
|
|
6878
|
-
*
|
|
6879
|
-
*
|
|
7010
|
+
* What is around each task on a page of results: one read per table for every document involved,
|
|
7011
|
+
* then the chains walked in JS. The same shape searchText uses, and for the same reason - a
|
|
7012
|
+
* recursive SQL walk per row would be one query per task.
|
|
6880
7013
|
*/
|
|
6881
|
-
function
|
|
7014
|
+
function taskSurroundings(db, rows, asked) {
|
|
6882
7015
|
const ids = [...new Set(rows.map((row) => row.page_id))];
|
|
6883
|
-
const
|
|
6884
|
-
const
|
|
7016
|
+
const blocks = blocksOfPages(db, ids);
|
|
7017
|
+
const tasks = tasksOfPages(db, ids);
|
|
7018
|
+
const links = firstLinksOfPages(db, ids);
|
|
7019
|
+
const names = namesOfPages(db, ids);
|
|
7020
|
+
return (row) => {
|
|
7021
|
+
const pageBlocks = blocks.get(row.page_id) ?? /* @__PURE__ */ new Map();
|
|
7022
|
+
const pageTasks = tasks.get(row.page_id) ?? /* @__PURE__ */ new Map();
|
|
7023
|
+
const parent = parentTaskOf(pageTasks, row.block_local_id);
|
|
7024
|
+
const concept = nearestAncestorLink(pageBlocks, links.get(row.page_id), row.block_local_id);
|
|
7025
|
+
return {
|
|
7026
|
+
breadcrumb: searchBreadcrumb(pageBlocks, row.block_local_id),
|
|
7027
|
+
parentTask: parent?.text ?? null,
|
|
7028
|
+
parentTaskLine: parent?.line ?? null,
|
|
7029
|
+
ancestorConcept: concept === null || asked.has(concept.key) || names.get(row.page_id)?.has(concept.key) ? null : concept.concept,
|
|
7030
|
+
subtasks: countSubtasks(pageTasks, row.block_local_id)
|
|
7031
|
+
};
|
|
7032
|
+
};
|
|
7033
|
+
}
|
|
7034
|
+
/** The `?,?,?` for an `IN` over `ids`. */
|
|
7035
|
+
function placeholdersFor(ids) {
|
|
7036
|
+
return ids.map(() => "?").join(",");
|
|
7037
|
+
}
|
|
7038
|
+
function blocksOfPages(db, ids) {
|
|
7039
|
+
const rows = db.all(`SELECT page_id, local_id, parent_local_id, label FROM blocks WHERE page_id IN (${placeholdersFor(ids)})`, [...ids]);
|
|
6885
7040
|
const byPage = /* @__PURE__ */ new Map();
|
|
6886
|
-
for (const
|
|
6887
|
-
let page = byPage.get(
|
|
6888
|
-
if (!page) byPage.set(
|
|
6889
|
-
page.set(
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
7041
|
+
for (const row of rows) {
|
|
7042
|
+
let page = byPage.get(row.page_id);
|
|
7043
|
+
if (!page) byPage.set(row.page_id, page = /* @__PURE__ */ new Map());
|
|
7044
|
+
page.set(row.local_id, row);
|
|
7045
|
+
}
|
|
7046
|
+
return byPage;
|
|
7047
|
+
}
|
|
7048
|
+
function tasksOfPages(db, ids) {
|
|
7049
|
+
const rows = db.all(`SELECT page_id, block_local_id, parent_task_local_id, text, line, done, archived FROM tasks WHERE page_id IN (${placeholdersFor(ids)})`, [...ids]);
|
|
7050
|
+
const byPage = /* @__PURE__ */ new Map();
|
|
7051
|
+
for (const row of rows) {
|
|
7052
|
+
let page = byPage.get(row.page_id);
|
|
7053
|
+
if (!page) byPage.set(row.page_id, page = /* @__PURE__ */ new Map());
|
|
7054
|
+
const archived = row.done !== 0 && row.archived !== 0;
|
|
7055
|
+
page.set(row.block_local_id, {
|
|
7056
|
+
parent: row.parent_task_local_id,
|
|
7057
|
+
children: [],
|
|
7058
|
+
text: row.text,
|
|
7059
|
+
line: row.line,
|
|
7060
|
+
finished: row.done !== 0,
|
|
7061
|
+
archived
|
|
6893
7062
|
});
|
|
6894
7063
|
}
|
|
6895
|
-
const
|
|
7064
|
+
for (const page of byPage.values()) for (const [id, task] of page) if (task.parent !== null) page.get(task.parent)?.children.push(id);
|
|
7065
|
+
return byPage;
|
|
7066
|
+
}
|
|
7067
|
+
function parentTaskOf(tasks, localId) {
|
|
7068
|
+
const parent = tasks.get(localId)?.parent ?? null;
|
|
7069
|
+
return parent === null ? null : tasks.get(parent) ?? null;
|
|
7070
|
+
}
|
|
7071
|
+
function countSubtasks(tasks, localId) {
|
|
7072
|
+
const count = {
|
|
7073
|
+
done: 0,
|
|
7074
|
+
total: 0
|
|
7075
|
+
};
|
|
7076
|
+
const stack = [...tasks.get(localId)?.children ?? []];
|
|
7077
|
+
while (stack.length > 0) {
|
|
7078
|
+
const task = tasks.get(stack.pop());
|
|
7079
|
+
if (!task) continue;
|
|
7080
|
+
stack.push(...task.children);
|
|
7081
|
+
if (task.archived) continue;
|
|
7082
|
+
count.total++;
|
|
7083
|
+
if (task.finished) count.done++;
|
|
7084
|
+
}
|
|
7085
|
+
return count;
|
|
7086
|
+
}
|
|
7087
|
+
/** The first concept written on each block that links one, by page. */
|
|
7088
|
+
function firstLinksOfPages(db, ids) {
|
|
7089
|
+
const rows = db.all(`SELECT page_id, block_local_id, concept, concept_key FROM links
|
|
7090
|
+
WHERE page_id IN (${placeholdersFor(ids)}) AND block_local_id IS NOT NULL
|
|
7091
|
+
ORDER BY line ASC, match_start ASC`, [...ids]);
|
|
7092
|
+
const byPage = /* @__PURE__ */ new Map();
|
|
6896
7093
|
for (const row of rows) {
|
|
6897
|
-
|
|
6898
|
-
if (!page)
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
breadcrumb: searchBreadcrumb(page, row.block_local_id),
|
|
6903
|
-
parentTask: nearestTask(page, row.block_local_id)
|
|
7094
|
+
let page = byPage.get(row.page_id);
|
|
7095
|
+
if (!page) byPage.set(row.page_id, page = /* @__PURE__ */ new Map());
|
|
7096
|
+
if (!page.has(row.block_local_id)) page.set(row.block_local_id, {
|
|
7097
|
+
concept: row.concept,
|
|
7098
|
+
key: row.concept_key
|
|
6904
7099
|
});
|
|
6905
7100
|
}
|
|
6906
|
-
return
|
|
7101
|
+
return byPage;
|
|
6907
7102
|
}
|
|
6908
|
-
/**
|
|
6909
|
-
function
|
|
7103
|
+
/** Each page's own name and its [[Alias]]es, as keys. */
|
|
7104
|
+
function namesOfPages(db, ids) {
|
|
7105
|
+
const rows = db.all(`SELECT id AS page_id, concept_key AS k FROM pages WHERE id IN (${placeholdersFor(ids)})
|
|
7106
|
+
UNION ALL SELECT page_id, alias_key AS k FROM aliases WHERE page_id IN (${placeholdersFor(ids)})`, [...ids, ...ids]);
|
|
7107
|
+
const byPage = /* @__PURE__ */ new Map();
|
|
7108
|
+
for (const row of rows) {
|
|
7109
|
+
const names = byPage.get(row.page_id);
|
|
7110
|
+
if (names) names.add(row.k);
|
|
7111
|
+
else byPage.set(row.page_id, /* @__PURE__ */ new Set([row.k]));
|
|
7112
|
+
}
|
|
7113
|
+
return byPage;
|
|
7114
|
+
}
|
|
7115
|
+
/** The nearest link on a block above `localId`, its own line not counted. */
|
|
7116
|
+
function nearestAncestorLink(blocks, links, localId) {
|
|
7117
|
+
if (!links) return null;
|
|
6910
7118
|
let parent = blocks.get(localId)?.parent_local_id ?? null;
|
|
6911
7119
|
for (let guard = 0; parent !== null && guard <= blocks.size; guard++) {
|
|
6912
|
-
const
|
|
6913
|
-
if (
|
|
6914
|
-
|
|
6915
|
-
parent = block.parent_local_id;
|
|
7120
|
+
const link = links.get(parent);
|
|
7121
|
+
if (link) return link;
|
|
7122
|
+
parent = blocks.get(parent)?.parent_local_id ?? null;
|
|
6916
7123
|
}
|
|
6917
7124
|
return null;
|
|
6918
7125
|
}
|
|
@@ -7228,7 +7435,7 @@ function cacheRoot(env) {
|
|
|
7228
7435
|
* recovered from a joined path (see there).
|
|
7229
7436
|
*/
|
|
7230
7437
|
var CACHE_FILE_NAME = `local-cache.v${CACHE_DB_VERSION}.bin`;
|
|
7231
|
-
var INDEX_FILE_NAME = `index.
|
|
7438
|
+
var INDEX_FILE_NAME = `index.v22.sqlite`;
|
|
7232
7439
|
var VECTORS_FILE_NAME = `vectors.v1.sqlite`;
|
|
7233
7440
|
function cacheFile(dir) {
|
|
7234
7441
|
return join(dir, CACHE_FILE_NAME);
|
|
@@ -16197,7 +16404,7 @@ async function setupDiagrams(env, say) {
|
|
|
16197
16404
|
return after;
|
|
16198
16405
|
}
|
|
16199
16406
|
/** The page every render runs in: Mermaid loaded once, configured as the Client configures it. */
|
|
16200
|
-
var PAGE$
|
|
16407
|
+
var PAGE$2 = "<!doctype html><html><head><meta charset=\"utf-8\"></head><body></body></html>";
|
|
16201
16408
|
/** A headless browser from whichever Chromium is available, or null. The caller closes it. */
|
|
16202
16409
|
async function launchChromium(env) {
|
|
16203
16410
|
const status = await chromiumStatus(env);
|
|
@@ -16219,7 +16426,7 @@ async function openDiagramRenderer(env) {
|
|
|
16219
16426
|
const page = () => {
|
|
16220
16427
|
if (!pagePromise) pagePromise = (async () => {
|
|
16221
16428
|
const p = await (await browser.newContext({ javaScriptEnabled: true })).newPage();
|
|
16222
|
-
await p.setContent(PAGE$
|
|
16429
|
+
await p.setContent(PAGE$2);
|
|
16223
16430
|
await p.addScriptTag({ path: require$2.resolve("mermaid/dist/mermaid.min.js") });
|
|
16224
16431
|
await p.evaluate(() => {
|
|
16225
16432
|
window.mermaid.initialize({
|
|
@@ -16256,6 +16463,120 @@ async function openDiagramRenderer(env) {
|
|
|
16256
16463
|
}
|
|
16257
16464
|
};
|
|
16258
16465
|
}
|
|
16466
|
+
// ../../extensions/excalidraw/src/format.ts
|
|
16467
|
+
var DRAWING_FENCE = "excalidraw.drawing";
|
|
16468
|
+
// src/page-server.ts
|
|
16469
|
+
/**
|
|
16470
|
+
* A server for the pages the Headless Client draws pictures in (map-pictures.ts,
|
|
16471
|
+
* drawing-pictures.ts): on the loopback address, answering one page and the files named to it and
|
|
16472
|
+
* nothing else, so a page's workers, chunks and fonts load over http as they do in the Client. Open
|
|
16473
|
+
* only for a publish that draws something.
|
|
16474
|
+
*/
|
|
16475
|
+
var TYPES = {
|
|
16476
|
+
".js": "text/javascript; charset=utf-8",
|
|
16477
|
+
".mjs": "text/javascript; charset=utf-8",
|
|
16478
|
+
".css": "text/css; charset=utf-8",
|
|
16479
|
+
".woff2": "font/woff2"
|
|
16480
|
+
};
|
|
16481
|
+
/** A file built beside this module in the published package (dist/), or in dist/ when run from source. */
|
|
16482
|
+
function builtPath(...path) {
|
|
16483
|
+
const here = dirname(fileURLToPath(import.meta.url));
|
|
16484
|
+
return here.endsWith("dist") ? join(here, ...path) : join(here, "..", "dist", ...path);
|
|
16485
|
+
}
|
|
16486
|
+
/** Every file under `folder`, by the path a page asks for it at. Empty when the folder is missing. */
|
|
16487
|
+
async function filesUnder$1(folder) {
|
|
16488
|
+
const files = (await readdir(folder, {
|
|
16489
|
+
recursive: true,
|
|
16490
|
+
withFileTypes: true
|
|
16491
|
+
}).catch(() => [])).filter((entry) => entry.isFile()).map((entry) => join(entry.parentPath, entry.name));
|
|
16492
|
+
return new Map(files.map((file) => [`/${relative(folder, file).split(sep).join("/")}`, file]));
|
|
16493
|
+
}
|
|
16494
|
+
/** The server: `html` at `/page.html`, and each of `files` at its path. */
|
|
16495
|
+
async function servePage(html, files) {
|
|
16496
|
+
const server = createServer$1((request, response) => {
|
|
16497
|
+
const path = new URL(request.url ?? "/", "http://localhost").pathname;
|
|
16498
|
+
if (path === "/page.html") {
|
|
16499
|
+
response.writeHead(200, { "Content-Type": "text/html; charset=utf-8" }).end(html);
|
|
16500
|
+
return;
|
|
16501
|
+
}
|
|
16502
|
+
const file = files.get(path);
|
|
16503
|
+
if (!file) {
|
|
16504
|
+
response.writeHead(404).end();
|
|
16505
|
+
return;
|
|
16506
|
+
}
|
|
16507
|
+
readFile(file).then((bytes) => response.writeHead(200, { "Content-Type": TYPES[extname(file)] ?? "application/octet-stream" }).end(bytes), () => response.writeHead(404).end());
|
|
16508
|
+
});
|
|
16509
|
+
await new Promise((resolve, reject) => {
|
|
16510
|
+
server.once("error", reject);
|
|
16511
|
+
server.listen(0, "127.0.0.1", () => resolve());
|
|
16512
|
+
});
|
|
16513
|
+
const address = server.address();
|
|
16514
|
+
if (!address || typeof address === "string") throw new Error("The page server has no port.");
|
|
16515
|
+
return {
|
|
16516
|
+
server,
|
|
16517
|
+
origin: `http://127.0.0.1:${address.port}`
|
|
16518
|
+
};
|
|
16519
|
+
}
|
|
16520
|
+
// src/drawing-pictures.ts
|
|
16521
|
+
/**
|
|
16522
|
+
* Drawing pictures for a publish from the Headless Client (ADR 0175): a [[Drawing]] is published as
|
|
16523
|
+
* a picture, never as its lines, and the picture is drawn in a real Chromium, the one Mermaid
|
|
16524
|
+
* diagrams use (diagrams.ts), because Excalidraw's export needs a page to measure text and load
|
|
16525
|
+
* fonts in.
|
|
16526
|
+
*
|
|
16527
|
+
* The page runs the Excalidraw extension's own code (`drawing-page/`, built from
|
|
16528
|
+
* `src/drawing-picture-page.ts` beside the Node bundle), and is served, with Excalidraw's chunks and
|
|
16529
|
+
* fonts, from a server on the loopback address (page-server.ts).
|
|
16530
|
+
*/
|
|
16531
|
+
/** Whether a publish of these bodies draws a drawing: a fenced block whose info string is the drawing fence's. */
|
|
16532
|
+
function needsDrawings(bodies) {
|
|
16533
|
+
const fence = new RegExp(`^\\s*(?:-\\s+)?\`{3,}${DRAWING_FENCE.replace(".", "\\.")}\\s*$`, "m");
|
|
16534
|
+
for (const body of bodies) if (fence.test(body)) return true;
|
|
16535
|
+
return false;
|
|
16536
|
+
}
|
|
16537
|
+
var PAGE$1 = `<!doctype html>
|
|
16538
|
+
<html><head><meta charset="utf-8">
|
|
16539
|
+
<script type="module" src="/drawing-picture-page.js"><\/script>
|
|
16540
|
+
</head><body></body></html>`;
|
|
16541
|
+
/**
|
|
16542
|
+
* A renderer over one headless browser, opened for a publish and closed after it. Null when no
|
|
16543
|
+
* browser is available; the caller decides what that means (a publish with drawings refuses).
|
|
16544
|
+
*/
|
|
16545
|
+
async function openDrawingRenderer(env) {
|
|
16546
|
+
const browser = await launchChromium(env);
|
|
16547
|
+
if (!browser) return null;
|
|
16548
|
+
let served = null;
|
|
16549
|
+
let pagePromise;
|
|
16550
|
+
const page = () => {
|
|
16551
|
+
pagePromise ??= (async () => {
|
|
16552
|
+
served = await servePage(PAGE$1, await filesUnder$1(builtPath("drawing-page")));
|
|
16553
|
+
const p = await (await browser.newContext()).newPage();
|
|
16554
|
+
await p.goto(`${served.origin}/page.html`);
|
|
16555
|
+
await p.waitForFunction(() => typeof window.etherpkDrawDrawingPicture === "function", void 0, { timeout: 15e3 });
|
|
16556
|
+
return p;
|
|
16557
|
+
})();
|
|
16558
|
+
return pagePromise;
|
|
16559
|
+
};
|
|
16560
|
+
return {
|
|
16561
|
+
async render(body) {
|
|
16562
|
+
const drawn = await (await page()).evaluate((lines) => window.etherpkDrawDrawingPicture(lines), [...body]);
|
|
16563
|
+
if (drawn === null) return null;
|
|
16564
|
+
return {
|
|
16565
|
+
kind: "picture",
|
|
16566
|
+
type: drawn.type,
|
|
16567
|
+
width: drawn.width,
|
|
16568
|
+
height: drawn.height,
|
|
16569
|
+
alt: drawn.alt,
|
|
16570
|
+
bytes: new Uint8Array(Buffer$1.from(drawn.data, "base64"))
|
|
16571
|
+
};
|
|
16572
|
+
},
|
|
16573
|
+
async dispose() {
|
|
16574
|
+
await browser.close().catch(() => {});
|
|
16575
|
+
const open = served;
|
|
16576
|
+
await new Promise((resolve) => open ? open.server.close(() => resolve()) : resolve());
|
|
16577
|
+
}
|
|
16578
|
+
};
|
|
16579
|
+
}
|
|
16259
16580
|
// ../../extensions/maps/src/map-host.ts
|
|
16260
16581
|
var HOST_STYLE = "https://maps.etherpk.com/styles/light.json";
|
|
16261
16582
|
var DEFAULT_MAP_STYLES = {
|
|
@@ -16263,18 +16584,6 @@ var DEFAULT_MAP_STYLES = {
|
|
|
16263
16584
|
dark: HOST_STYLE
|
|
16264
16585
|
};
|
|
16265
16586
|
// src/map-pictures.ts
|
|
16266
|
-
/**
|
|
16267
|
-
* Map pictures for a publish from the Headless Client (ADR 0118): a [[Map Block]] is published as
|
|
16268
|
-
* a picture of the map, never as its lines, and the picture is drawn in a real Chromium, the one
|
|
16269
|
-
* Mermaid diagrams use (diagrams.ts), because MapLibre needs WebGL and a page to draw in.
|
|
16270
|
-
*
|
|
16271
|
-
* The page runs the maps extension's own drawing code (`map-picture-page.js`, built from
|
|
16272
|
-
* `src/map-picture-page.ts` beside the Node bundle), so a map published from here looks as it
|
|
16273
|
-
* does published from the browser. It is served, with the MapLibre this package installs, from a
|
|
16274
|
-
* server on the loopback address that answers only those files, so MapLibre's worker loads as it
|
|
16275
|
-
* does in the Client. The basemap comes from EtherPK's map host, or the style
|
|
16276
|
-
* `ETHERPK_MAP_STYLE_URL` names; set empty, maps are drawn on a plain background.
|
|
16277
|
-
*/
|
|
16278
16587
|
var require$1 = createRequire(import.meta.url);
|
|
16279
16588
|
/** The light basemap style a publish draws with, or null for a plain background. */
|
|
16280
16589
|
function publishMapStyle(env) {
|
|
@@ -16296,42 +16605,13 @@ var PAGE = `<!doctype html>
|
|
|
16296
16605
|
/** The files the page loads, by path, and where each is on disk. */
|
|
16297
16606
|
function pageFiles() {
|
|
16298
16607
|
const maplibre = dirname(require$1.resolve("maplibre-gl/dist/maplibre-gl.mjs"));
|
|
16299
|
-
const here = dirname(fileURLToPath(import.meta.url));
|
|
16300
|
-
const bundle = here.endsWith("dist") ? join(here, "map-picture-page.js") : join(here, "..", "dist", "map-picture-page.js");
|
|
16301
16608
|
return /* @__PURE__ */ new Map([
|
|
16302
16609
|
["/maplibre-gl.mjs", join(maplibre, "maplibre-gl.mjs")],
|
|
16303
16610
|
["/maplibre-gl-shared.mjs", join(maplibre, "maplibre-gl-shared.mjs")],
|
|
16304
16611
|
["/maplibre-gl-worker.mjs", join(maplibre, "maplibre-gl-worker.mjs")],
|
|
16305
|
-
["/map-picture-page.js",
|
|
16612
|
+
["/map-picture-page.js", builtPath("map-picture-page.js")]
|
|
16306
16613
|
]);
|
|
16307
16614
|
}
|
|
16308
|
-
/** A server on the loopback address that answers the page and its files, and nothing else. */
|
|
16309
|
-
async function servePage() {
|
|
16310
|
-
const files = pageFiles();
|
|
16311
|
-
const server = createServer$1((request, response) => {
|
|
16312
|
-
const path = new URL(request.url ?? "/", "http://localhost").pathname;
|
|
16313
|
-
if (path === "/map.html") {
|
|
16314
|
-
response.writeHead(200, { "Content-Type": "text/html; charset=utf-8" }).end(PAGE);
|
|
16315
|
-
return;
|
|
16316
|
-
}
|
|
16317
|
-
const file = files.get(path);
|
|
16318
|
-
if (!file) {
|
|
16319
|
-
response.writeHead(404).end();
|
|
16320
|
-
return;
|
|
16321
|
-
}
|
|
16322
|
-
readFile(file).then((bytes) => response.writeHead(200, { "Content-Type": "text/javascript; charset=utf-8" }).end(bytes), () => response.writeHead(404).end());
|
|
16323
|
-
});
|
|
16324
|
-
await new Promise((resolve, reject) => {
|
|
16325
|
-
server.once("error", reject);
|
|
16326
|
-
server.listen(0, "127.0.0.1", () => resolve());
|
|
16327
|
-
});
|
|
16328
|
-
const address = server.address();
|
|
16329
|
-
if (!address || typeof address === "string") throw new Error("The map page server has no port.");
|
|
16330
|
-
return {
|
|
16331
|
-
server,
|
|
16332
|
-
origin: `http://127.0.0.1:${address.port}`
|
|
16333
|
-
};
|
|
16334
|
-
}
|
|
16335
16615
|
/**
|
|
16336
16616
|
* A renderer over one headless browser, opened for a publish and closed after it. Null when no
|
|
16337
16617
|
* browser is available; the caller decides what that means (a publish with maps refuses).
|
|
@@ -16344,9 +16624,9 @@ async function openMapRenderer(env) {
|
|
|
16344
16624
|
let pagePromise;
|
|
16345
16625
|
const page = () => {
|
|
16346
16626
|
pagePromise ??= (async () => {
|
|
16347
|
-
served = await servePage();
|
|
16627
|
+
served = await servePage(PAGE, pageFiles());
|
|
16348
16628
|
const p = await (await browser.newContext()).newPage();
|
|
16349
|
-
await p.goto(`${served.origin}/
|
|
16629
|
+
await p.goto(`${served.origin}/page.html`);
|
|
16350
16630
|
await p.waitForFunction(() => typeof window.etherpkDrawMapPicture === "function", void 0, { timeout: 15e3 });
|
|
16351
16631
|
return p;
|
|
16352
16632
|
})();
|
|
@@ -16526,7 +16806,7 @@ async function fetchPublicText(href, options = {}) {
|
|
|
16526
16806
|
/**
|
|
16527
16807
|
* The publisher's environment in Node (ADR 0082, ADR 0084): themes resolved the way the Client
|
|
16528
16808
|
* resolves them (bundled, the graph's own, a url), KaTeX's stylesheet and fonts read from the
|
|
16529
|
-
* package this depends on, Mermaid and
|
|
16809
|
+
* package this depends on, Mermaid, map and drawing pictures through a real browser when one is available,
|
|
16530
16810
|
* and a site folder over `fs` under the same rules as the browser's directory handle. Browser-free
|
|
16531
16811
|
* counterpart of `host/browser-environment.ts`; the core is shared.
|
|
16532
16812
|
*/
|
|
@@ -16560,6 +16840,7 @@ function createNodePublishEnvironment(deps) {
|
|
|
16560
16840
|
}),
|
|
16561
16841
|
...renderer ? { renderMermaid: (source) => renderer.render(source) } : {},
|
|
16562
16842
|
...deps.maps ? { renderMap: (source) => deps.maps.render(source) } : {},
|
|
16843
|
+
publishFence: (fence) => fence.info === "excalidraw.drawing" ? deps.drawings?.render(fence.body) : void 0,
|
|
16563
16844
|
katexAssets
|
|
16564
16845
|
};
|
|
16565
16846
|
}
|
|
@@ -19476,20 +19757,22 @@ function taskSelection(graph, args) {
|
|
|
19476
19757
|
if (graph.backend.kind === "synced" && lane.graphId !== graph.graphId) throw new ToolError("other_graph", `That lane reference is for another graph. This server serves "${graph.name}" (${graph.graphId}); ask the user to connect the graph the reference is from.`);
|
|
19477
19758
|
return {
|
|
19478
19759
|
concept: lane.concept,
|
|
19479
|
-
statuses: [lane.status]
|
|
19760
|
+
statuses: [lane.status],
|
|
19761
|
+
asBoard: true
|
|
19480
19762
|
};
|
|
19481
19763
|
}
|
|
19482
19764
|
const statuses = args.statuses ?? OPEN_TASK_STATUSES;
|
|
19483
19765
|
for (const status of statuses) if (!TASK_STATUSES.includes(status)) throw new ToolError("invalid_argument", `Unknown task status "${status}".`);
|
|
19484
19766
|
return {
|
|
19485
19767
|
concept: args.concept?.trim() ? args.concept.trim() === "today" ? todayISO() : args.concept.trim() : null,
|
|
19486
|
-
statuses
|
|
19768
|
+
statuses,
|
|
19769
|
+
asBoard: args.board ?? false
|
|
19487
19770
|
};
|
|
19488
19771
|
}
|
|
19489
19772
|
async function tasks(graph, args = {}) {
|
|
19490
19773
|
const offset = bounded(args.offset, 0, Number.MAX_SAFE_INTEGER);
|
|
19491
19774
|
const limit = bounded(args.limit, 100, 200);
|
|
19492
|
-
const { concept, statuses } = taskSelection(graph, args);
|
|
19775
|
+
const { concept, statuses, asBoard } = taskSelection(graph, args);
|
|
19493
19776
|
const priorities = args.priorities ? args.priorities.map((priority) => priority === "none" ? null : priority) : [...TASK_PRIORITY_FILTERS];
|
|
19494
19777
|
await graph.store.refresh();
|
|
19495
19778
|
const hidden = hiddenKeys(graph);
|
|
@@ -19504,6 +19787,7 @@ async function tasks(graph, args = {}) {
|
|
|
19504
19787
|
priorities,
|
|
19505
19788
|
due: args.due ?? "any",
|
|
19506
19789
|
groupBy: "document",
|
|
19790
|
+
asBoard,
|
|
19507
19791
|
today: todayISO()
|
|
19508
19792
|
}, offset, limit);
|
|
19509
19793
|
const shown = result.hits.filter((hit) => !hidden.has(conceptKey(hit.concept)));
|
|
@@ -19522,6 +19806,11 @@ async function tasks(graph, args = {}) {
|
|
|
19522
19806
|
scheduled: hit.scheduled,
|
|
19523
19807
|
completion: hit.completion,
|
|
19524
19808
|
breadcrumb: hit.breadcrumb,
|
|
19809
|
+
parentTask: hit.parentTask === null ? null : {
|
|
19810
|
+
text: hit.parentTask,
|
|
19811
|
+
line: hit.parentTaskLine
|
|
19812
|
+
},
|
|
19813
|
+
subtasks: hit.subtasks,
|
|
19525
19814
|
freeTags: freeTagsIn(hit.text),
|
|
19526
19815
|
reference: await referenceFor(graph, hit.concept, hit.line, hit.text)
|
|
19527
19816
|
}))),
|
|
@@ -20193,6 +20482,25 @@ function subtreeEnd(blocks, localId) {
|
|
|
20193
20482
|
return end;
|
|
20194
20483
|
}
|
|
20195
20484
|
/**
|
|
20485
|
+
* The tasks nested under the task on block `root`, at any depth, in document order, with how many
|
|
20486
|
+
* tasks down each one is. `tasks` are in document order, so a parent is always met before its own
|
|
20487
|
+
* subtasks: only a task whose parent has already been reached is under `root`.
|
|
20488
|
+
*/
|
|
20489
|
+
function tasksNestedUnder(tasks, root) {
|
|
20490
|
+
const depths = /* @__PURE__ */ new Map([[root, 0]]);
|
|
20491
|
+
const nested = [];
|
|
20492
|
+
for (const task of tasks) {
|
|
20493
|
+
const above = task.parentTaskLocalId === null ? void 0 : depths.get(task.parentTaskLocalId);
|
|
20494
|
+
if (above === void 0) continue;
|
|
20495
|
+
depths.set(task.blockLocalId, above + 1);
|
|
20496
|
+
nested.push({
|
|
20497
|
+
task,
|
|
20498
|
+
depth: above + 1
|
|
20499
|
+
});
|
|
20500
|
+
}
|
|
20501
|
+
return nested;
|
|
20502
|
+
}
|
|
20503
|
+
/**
|
|
20196
20504
|
* The task a Task Reference names: its words and tags, where it is now, what is above it (the
|
|
20197
20505
|
* headings and bullets its breadcrumb names) and its detail (its continuation lines and
|
|
20198
20506
|
* everything nested under it), and how it was found. For the text around it, read the document.
|
|
@@ -20202,10 +20510,11 @@ async function readTask(graph, args) {
|
|
|
20202
20510
|
const lines = found.body.split("\n");
|
|
20203
20511
|
const line = lines[found.line];
|
|
20204
20512
|
const task = parseTaskLine(line);
|
|
20205
|
-
const { blocks } = deriveDoc(found.body);
|
|
20513
|
+
const { blocks, tasks: bodyTasks } = deriveDoc(found.body);
|
|
20206
20514
|
const block = blocks.find((candidate) => candidate.startLine === found.line);
|
|
20207
20515
|
const end = block ? subtreeEnd(blocks, block.localId) : found.line;
|
|
20208
20516
|
const structure = readTaskStructure(lines, found.line);
|
|
20517
|
+
const subtasks = block ? tasksNestedUnder(bodyTasks, block.localId) : [];
|
|
20209
20518
|
return {
|
|
20210
20519
|
concept: found.document,
|
|
20211
20520
|
line: found.line,
|
|
@@ -20220,7 +20529,14 @@ async function readTask(graph, args) {
|
|
|
20220
20529
|
foundBy: found.foundBy,
|
|
20221
20530
|
reference: await referenceFor(graph, found.document, found.line, bulletLabel(line)),
|
|
20222
20531
|
assets: structure?.assets ?? [...new Set(assetReferencesIn(lines.slice(found.line, end + 1).join("\n")))],
|
|
20223
|
-
comments: structure ? taskComments(lines, structure) : []
|
|
20532
|
+
comments: structure ? taskComments(lines, structure) : [],
|
|
20533
|
+
subtasks: await Promise.all(subtasks.map(async ({ task: nested, depth }) => ({
|
|
20534
|
+
text: nested.text,
|
|
20535
|
+
status: taskStatus(nested.done, nested),
|
|
20536
|
+
line: nested.line,
|
|
20537
|
+
depth,
|
|
20538
|
+
reference: await referenceFor(graph, found.document, nested.line, nested.text)
|
|
20539
|
+
})))
|
|
20224
20540
|
};
|
|
20225
20541
|
}
|
|
20226
20542
|
/**
|
|
@@ -20528,13 +20844,24 @@ async function publish(graph, args, host) {
|
|
|
20528
20844
|
throw new ToolError("chromium_unavailable", `"${publication.name}" has maps, which a publish draws as pictures with a browser, and none is set up on this computer. Ask the user to run: ${status.setupCommand} (or set ETHERPK_CHROMIUM to a Chromium on this machine). Nothing was published.`);
|
|
20529
20845
|
}
|
|
20530
20846
|
}
|
|
20847
|
+
let drawings = null;
|
|
20848
|
+
if (needsDrawings(bodies)) {
|
|
20849
|
+
drawings = await openDrawingRenderer(env);
|
|
20850
|
+
if (!drawings) {
|
|
20851
|
+
await renderer?.dispose();
|
|
20852
|
+
await maps?.dispose();
|
|
20853
|
+
const status = await chromiumStatus(env, cmd);
|
|
20854
|
+
throw new ToolError("chromium_unavailable", `"${publication.name}" has drawings, which a publish draws as pictures with a browser, and none is set up on this computer. Ask the user to run: ${status.setupCommand} (or set ETHERPK_CHROMIUM to a Chromium on this machine). Nothing was published.`);
|
|
20855
|
+
}
|
|
20856
|
+
}
|
|
20531
20857
|
try {
|
|
20532
20858
|
const run = await runPublish(publication, {
|
|
20533
20859
|
source,
|
|
20534
20860
|
environment: createNodePublishEnvironment({
|
|
20535
20861
|
graphTheme: (id) => graph.publishing.graphTheme(id),
|
|
20536
20862
|
renderer,
|
|
20537
|
-
maps
|
|
20863
|
+
maps,
|
|
20864
|
+
drawings
|
|
20538
20865
|
}),
|
|
20539
20866
|
unsettled,
|
|
20540
20867
|
destination: repository ? "repository" : "folder"
|
|
@@ -20601,6 +20928,7 @@ async function publish(graph, args, host) {
|
|
|
20601
20928
|
} finally {
|
|
20602
20929
|
await renderer?.dispose();
|
|
20603
20930
|
await maps?.dispose();
|
|
20931
|
+
await drawings?.dispose();
|
|
20604
20932
|
}
|
|
20605
20933
|
}
|
|
20606
20934
|
/**
|
|
@@ -21138,11 +21466,14 @@ async function previewTheme(graph, args, host) {
|
|
|
21138
21466
|
...publication,
|
|
21139
21467
|
theme: themeRef
|
|
21140
21468
|
};
|
|
21141
|
-
const
|
|
21469
|
+
const bodies = source.documents.map((d) => d.text);
|
|
21470
|
+
const renderer = needsMermaid(bodies) ? await openDiagramRenderer(env) : null;
|
|
21471
|
+
const drawings = needsDrawings(bodies) ? await openDrawingRenderer(env) : null;
|
|
21142
21472
|
try {
|
|
21143
21473
|
const environment = createNodePublishEnvironment({
|
|
21144
21474
|
graphTheme: (id) => graph.publishing.graphTheme(id),
|
|
21145
|
-
renderer
|
|
21475
|
+
renderer,
|
|
21476
|
+
drawings
|
|
21146
21477
|
});
|
|
21147
21478
|
const { bundle, report } = await publishPublication(source, publication, environment);
|
|
21148
21479
|
const scratch = !args.out_dir?.trim();
|
|
@@ -21175,6 +21506,7 @@ async function previewTheme(graph, args, host) {
|
|
|
21175
21506
|
};
|
|
21176
21507
|
} finally {
|
|
21177
21508
|
await renderer?.dispose();
|
|
21509
|
+
await drawings?.dispose();
|
|
21178
21510
|
}
|
|
21179
21511
|
}
|
|
21180
21512
|
/** The rendered site into the folder, through the writer `publish` uses: no path may leave the folder. */
|
|
@@ -21304,7 +21636,7 @@ function createMcpServer(source, info) {
|
|
|
21304
21636
|
"search has two kinds of matching: mode \"text\" (default) matches words and quoted phrases, and mode \"semantic\" finds passages about what a question or description means even when no words match. Use semantic for questions and descriptions, text for names, identifiers and exact phrases. \"hybrid\" returns both groups. When you answer from a search result, cite the document and where in it (its breadcrumb or lines). Semantic mode needs a one-time \"semantic setup\" on this computer - if it is not set up, search says so and names the command.",
|
|
21305
21637
|
"graph_insights says what the links show across the whole graph (the most-linked concepts, pages many documents ask for that do not exist yet, pages linked to nothing, groups of related concepts and the concepts bridging them), and graph_path finds how two concepts are connected. Use them to answer questions about the shape of the graph, or to suggest pages to write or link.",
|
|
21306
21638
|
"Start with graph_info to see what you are connected to. read_documents reads several documents in one call. tasks lists tasks and set_task changes one (status, priority, due and scheduled dates) by document and line.",
|
|
21307
|
-
"A task reference is how a person hands you one task: a few lines naming the graph, the task's words and a reference, etherpk:/g/<graph>/d/<document>#task=<line>-<fingerprint> (an earlier version wrote a web address ending in the same #task=). The reference is not a web address: never fetch it. Pass the whole text to read_task for the task and its detail, to set_task (as reference) to change it, and to add_task_note to write what you did as a task comment (a bullet under the \"- Comments\" bullet nested directly under the task). Leave its status as it is unless the user asks you to change it. The detail can hold images and files (its assets list): read each with read_asset and look at it before you start, as it is part of the task. A reference finds the task after lines are added above it or its tags change; if its words were edited it answers task_not_found, and you should ask the user for a fresh one.",
|
|
21639
|
+
"A task reference is how a person hands you one task: a few lines naming the graph, the task's words and a reference, etherpk:/g/<graph>/d/<document>#task=<line>-<fingerprint> (an earlier version wrote a web address ending in the same #task=). The reference is not a web address: never fetch it. Pass the whole text to read_task for the task and its detail, to set_task (as reference) to change it, and to add_task_note to write what you did as a task comment (a bullet under the \"- Comments\" bullet nested directly under the task). Leave its status as it is unless the user asks you to change it. Tasks nested under a task are its subtasks: read_task lists them in subtasks, and you may tick off or change each one with set_task as you work through it, using its reference. A Kanban board shows a subtask only through its parent's card when the parent is on the same board. The detail can hold images and files (its assets list): read each with read_asset and look at it before you start, as it is part of the task. A reference finds the task after lines are added above it or its tags change; if its words were edited it answers task_not_found, and you should ask the user for a fresh one.",
|
|
21308
21640
|
"A lane reference is how a person hands you a whole lane of a Kanban board, to work through every task in it or to triage them: a few lines naming the graph, the board and the lane, and a reference, etherpk:/g/<graph>/k/<concept>#lane=<status> (etherpk:/g/<graph>/kanban#lane=<status> for the Graph Kanban, which holds every task in the graph). It is not a web address either. Pass the whole text to tasks as reference to list the lane's tasks as the board shows them now; each comes with its own task reference for read_task, set_task and add_task_note.",
|
|
21309
21641
|
"Publishing: list_publications shows the publications this graph defines (a publication is a page whose frontmatter defines it - its outline is the site navigation) and the public documents none takes. A document is on a site when its frontmatter has public: true and names the publication in publications. create_publication and update_publication change the settings, and publish writes the site into the publish folder the user set for it on this machine with the etherpk-mcp publish command (the tool cannot choose a folder) and returns the report. publish with dryRun: true renders and reports without writing and needs no folder: run it after editing a publication's pages and fix what it names. Diagrams need a browser the user installs once with \"diagrams setup\".",
|
|
21310
21642
|
"Themes: a publication's look is a theme - Mustache templates, a stylesheet, a script and a manifest. list_themes shows the bundled ones (read-only) and the graph's own. read_theme writes a theme's files to a folder on this machine to read and edit. customise_publication_theme copies a publication's bundled theme into the graph and points the publication at the copy (create_theme copies any theme). write_theme_file, delete_theme_file and import_theme_folder change a graph theme. preview_theme renders a theme to a folder (with screenshots when a browser is set up) to check before publish. For a snippet such as an analytics script, an include slot (update_publication includes, e.g. head) filled by a page may be lighter than a theme copy.",
|
|
@@ -21376,7 +21708,7 @@ function createMcpServer(source, info) {
|
|
|
21376
21708
|
}, async (args) => run((graph) => graphPath(graph, args)));
|
|
21377
21709
|
server.registerTool("tasks", {
|
|
21378
21710
|
title: "Tasks",
|
|
21379
|
-
description: `Tasks ("- [ ]" bullets) across the graph with their tags, and freeTags: the person's own #words anywhere in a task's text (#bug), which carry no status. Defaults to every unfinished task. A concept filter matches tasks written on that page or on a page named for it ("[[Concept]] Notes"), linking it, or nested under a block or heading that links it. A lane reference (a Kanban lane the user copied) in reference lists that lane's tasks: it sets the concept and status, so pass it without concept or statuses; errors invalid_argument (not a lane reference) and other_graph (the lane is in another graph). At most 200 per call.`,
|
|
21711
|
+
description: `Tasks ("- [ ]" bullets) across the graph with their tags, and freeTags: the person's own #words anywhere in a task's text (#bug), which carry no status. Defaults to every unfinished task. A concept filter matches tasks written on that page or on a page named for it ("[[Concept]] Notes"), linking it, or nested under a block or heading that links it. A task nested under another lists its parentTask (its text and line), and subtasks counts the tasks nested under each one (done of total; cancelled counts as done, archived is left out). board: true lists what a Kanban board shows: a task whose parent task is also on the board is left out, as you reach it through its parent with read_task. A lane reference (a Kanban lane the user copied) in reference lists that lane's tasks as the board shows them: it sets the concept and status, so pass it without concept or statuses; errors invalid_argument (not a lane reference) and other_graph (the lane is in another graph). At most 200 per call.`,
|
|
21380
21712
|
inputSchema: {
|
|
21381
21713
|
reference: z.string().min(1).optional().describe("A lane reference as the user gave it: the whole text, or the etherpk: reference alone. In place of concept and statuses."),
|
|
21382
21714
|
concept: concept.optional(),
|
|
@@ -21401,13 +21733,14 @@ function createMcpServer(source, info) {
|
|
|
21401
21733
|
"today",
|
|
21402
21734
|
"next7"
|
|
21403
21735
|
]).optional(),
|
|
21736
|
+
board: z.boolean().optional().describe("List as a Kanban board shows them: without a task whose parent task is also on the board."),
|
|
21404
21737
|
offset,
|
|
21405
21738
|
limit: z.number().int().positive().max(200).optional()
|
|
21406
21739
|
}
|
|
21407
21740
|
}, async (args) => run((graph) => tasks(graph, args)));
|
|
21408
21741
|
server.registerTool("read_task", {
|
|
21409
21742
|
title: "Read a task",
|
|
21410
|
-
description: "The task a task reference names: its text, status, priority, due and scheduled days, its free tags, its document and current 0-based line, its breadcrumb (the headings and bullets above it), its detail (its continuation lines and everything nested under it), foundBy (at_line, moved or other_document), its current reference, assets: the images and files the task and its detail show, to read with read_asset,
|
|
21743
|
+
description: "The task a task reference names: its text, status, priority, due and scheduled days, its free tags, its document and current 0-based line, its breadcrumb (the headings and bullets above it), its detail (its continuation lines and everything nested under it), foundBy (at_line, moved or other_document), its current reference, assets: the images and files the task and its detail show, to read with read_asset, comments: the task comments, each the text of one bullet under the \"Comments\" bullet nested directly under the task (they are in its detail too), and subtasks: every task nested under it at any depth, each with its text, status, line, depth and a reference for set_task, read_task and add_task_note. Errors: task_not_found (its words were edited or it was deleted), task_ambiguous (two tasks have its words; the message names them), other_graph (the reference is from another graph).",
|
|
21411
21744
|
inputSchema: { reference: z.string().min(1).describe("The task reference as the user gave it: the whole text, or the etherpk: reference alone.") }
|
|
21412
21745
|
}, async (args) => run((graph) => readTask(graph, args)));
|
|
21413
21746
|
server.registerTool("add_task_note", {
|
|
@@ -28292,9 +28625,9 @@ var USAGE = `etherpk-mcp - EtherPK Headless Client (an MCP server over one synce
|
|
|
28292
28625
|
names of the pages it mentions, but writes nothing and needs no folder. Keep its output
|
|
28293
28626
|
out of public logs.
|
|
28294
28627
|
${CMD} diagrams setup
|
|
28295
|
-
Let a publish draw Mermaid diagrams and
|
|
28628
|
+
Let a publish draw Mermaid diagrams, maps and drawings. Downloads a Chromium (about 170 MB) into the
|
|
28296
28629
|
cache directory with Playwright's installer, once per computer - a publish whose pages hold
|
|
28297
|
-
diagrams or
|
|
28630
|
+
diagrams, maps or drawings refuses until this has run. Set ETHERPK_CHROMIUM=<path> to use a browser
|
|
28298
28631
|
already on this machine instead (NixOS needs this).
|
|
28299
28632
|
${CMD} diagrams status
|
|
28300
28633
|
Which browser a publish would use, if any.
|