boardplot 0.57.0 → 0.58.1
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/CHANGELOG.md +311 -0
- package/README.md +48 -14
- package/dist/{DiagnosticDetails-JFBBXOT2.js → DiagnosticDetails-FXNTFSA4.js} +2 -2
- package/dist/{ReaderBox-GCIITQCX.js → ReaderBox-WVOT7VVJ.js} +8 -7
- package/dist/{annotateEngine-JMZI6QEG.js → annotateEngine-57L26X77.js} +2 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-6LQKU6YN.js → chunk-23FT7RLN.js} +11 -10
- package/dist/{chunk-5WSIH4SR.js → chunk-2CQBBN7M.js} +4 -4
- package/dist/chunk-2DS4MT7T.js +25 -0
- package/dist/{chunk-QFIRPOXR.js → chunk-2HII2B6S.js} +3 -3
- package/dist/{chunk-JMOBA5ES.js → chunk-2IRMGCYE.js} +2 -2
- package/dist/{chunk-JKXJWCJ5.js → chunk-2SWSUNA4.js} +116 -54
- package/dist/{chunk-O7Y6RJ4D.js → chunk-33EBLJVZ.js} +11 -11
- package/dist/{chunk-EHQLLZCQ.js → chunk-34PKJZRY.js} +59 -34
- package/dist/{chunk-SHAAMKN7.js → chunk-35ZJUZUO.js} +18 -18
- package/dist/{chunk-TGR6PRKG.js → chunk-3BMPYY26.js} +6 -3
- package/dist/{chunk-XJUZC53Y.js → chunk-3E6NLODZ.js} +1 -1
- package/dist/{chunk-H3EWFSWI.js → chunk-3ESWPMDW.js} +43 -29
- package/dist/{chunk-6KHRMK3I.js → chunk-3M2F7KSS.js} +158 -75
- package/dist/{chunk-UBXIGE2P.js → chunk-3MFVJMP6.js} +2 -2
- package/dist/{chunk-MOQFYJ3F.js → chunk-3OSQ32GN.js} +5 -5
- package/dist/{chunk-HGPFEG2L.js → chunk-3RXUA6VY.js} +5 -5
- package/dist/{chunk-I65OLJ2X.js → chunk-42QKUSHJ.js} +13 -3
- package/dist/{chunk-FAFUMSPR.js → chunk-4DK67I3B.js} +83 -51
- package/dist/{chunk-EEBMK6T6.js → chunk-4DMRIL5K.js} +8 -8
- package/dist/chunk-4M3UADCM.js +602 -0
- package/dist/{chunk-WSKZZ2ZB.js → chunk-4OJF6DXL.js} +538 -503
- package/dist/{chunk-UD6U4EF5.js → chunk-4ROZ4TFL.js} +1 -1
- package/dist/{chunk-I7KDPCC7.js → chunk-4TUU3UGY.js} +18 -10
- package/dist/{chunk-6ZN2XJFI.js → chunk-54YO56IK.js} +1 -1
- package/dist/{chunk-JMGB444D.js → chunk-5ACFYNA4.js} +8 -4
- package/dist/{chunk-BQIADGJB.js → chunk-5CYLT6FJ.js} +5 -5
- package/dist/{chunk-IVQT2E3Y.js → chunk-5I4RPBNE.js} +13 -13
- package/dist/{chunk-LW4ZQGVL.js → chunk-5KAYLRRP.js} +7 -8
- package/dist/{chunk-2BHLRHF2.js → chunk-5SVGTQTW.js} +4 -4
- package/dist/{chunk-5JTRCSBN.js → chunk-62BDQTO6.js} +2 -2
- package/dist/{chunk-4RN4OM6I.js → chunk-63JUV7NR.js} +3 -3
- package/dist/chunk-645BGVPP.js +26 -0
- package/dist/{chunk-JIH52I36.js → chunk-65U6ZBZZ.js} +119 -85
- package/dist/{chunk-3DUGZ7ML.js → chunk-6ALORYH7.js} +46 -31
- package/dist/{chunk-HB3TH7GY.js → chunk-6AVUTZ6W.js} +10 -6
- package/dist/{chunk-JYAZPMSA.js → chunk-6IUK6PAH.js} +7 -6
- package/dist/{chunk-W5SVS4B6.js → chunk-6JFQCVNN.js} +4 -4
- package/dist/{chunk-IZRTNCJQ.js → chunk-6JTCFPAD.js} +5 -5
- package/dist/{chunk-5TUDYKNL.js → chunk-6NGKQNTB.js} +42 -29
- package/dist/{chunk-IUVJVMKS.js → chunk-6V3A3MTG.js} +55 -32
- package/dist/{chunk-FJKFYQ5I.js → chunk-6YBNVI5I.js} +36 -28
- package/dist/chunk-76GPN6AT.js +72 -0
- package/dist/{chunk-SHCW2TCA.js → chunk-7GRR72MY.js} +25 -23
- package/dist/{chunk-D2B3KP35.js → chunk-7VWXXBTC.js} +4 -0
- package/dist/{chunk-Y5IKCXQR.js → chunk-7YZZCQT3.js} +5 -5
- package/dist/chunk-A65B23JK.js +113 -0
- package/dist/{chunk-2WTD3GCR.js → chunk-A6N24NGW.js} +3 -3
- package/dist/{chunk-72OJBDRB.js → chunk-AAQWFTDM.js} +52 -41
- package/dist/{chunk-4JNHF6JW.js → chunk-AGJ2QL4A.js} +84 -40
- package/dist/{chunk-I3DLERI7.js → chunk-AICO24HJ.js} +5 -2
- package/dist/{chunk-LSKCKGCF.js → chunk-AJGSCVVW.js} +2 -2
- package/dist/{chunk-7P7D6WXR.js → chunk-AKZOQGF3.js} +3 -3
- package/dist/{chunk-RSCRIWAH.js → chunk-AL62JJTB.js} +10 -3
- package/dist/{chunk-VY67Q6CJ.js → chunk-AMBQ6SWU.js} +36 -33
- package/dist/{chunk-73O6AOAA.js → chunk-AQ2PQ7FK.js} +241 -140
- package/dist/{chunk-XFCBH3TI.js → chunk-BHLNSJG7.js} +3 -3
- package/dist/{chunk-6XU5XGYV.js → chunk-BQ7SN7AW.js} +5 -5
- package/dist/{chunk-DRHQG44U.js → chunk-BQBD6Q5J.js} +6 -2
- package/dist/{chunk-LSR3SBJ4.js → chunk-BSZOQJXB.js} +234 -136
- package/dist/{chunk-KJLH5EHD.js → chunk-BVIJCUWW.js} +175 -110
- package/dist/{chunk-2AJWRVZ2.js → chunk-C47POAC5.js} +1 -1
- package/dist/{chunk-AOIZJ7GR.js → chunk-C4SQU2PB.js} +6 -6
- package/dist/{chunk-Y7Q3VEYC.js → chunk-CCAAI56H.js} +30 -10
- package/dist/{chunk-T3WCDDIL.js → chunk-CDUR3KWV.js} +2 -2
- package/dist/{chunk-T5MBORBK.js → chunk-CFESVCZR.js} +1 -1
- package/dist/{chunk-EEL2N4Y6.js → chunk-CKEFAD4R.js} +5 -5
- package/dist/{chunk-WE5WVQE4.js → chunk-CMPHT2LS.js} +3 -3
- package/dist/{chunk-FHA3KMFC.js → chunk-CQBPNE7Z.js} +5 -1
- package/dist/{chunk-JSA3ESEJ.js → chunk-CR5FP5SF.js} +1 -1
- package/dist/{chunk-NCCDEUHD.js → chunk-CSMVKG2C.js} +1 -1
- package/dist/{chunk-JHWDTV4K.js → chunk-D2TQX7UJ.js} +2 -2
- package/dist/{chunk-GHFTKVJN.js → chunk-DHGE46UK.js} +1 -1
- package/dist/{chunk-26WNBTWB.js → chunk-DORE2RHL.js} +5 -5
- package/dist/{chunk-AFA32LHN.js → chunk-DUOGEFLG.js} +62 -36
- package/dist/{chunk-WZB6R2ZX.js → chunk-DZYTXZNS.js} +11 -3
- package/dist/{chunk-O4D27FKH.js → chunk-E5YF236N.js} +4 -1
- package/dist/{chunk-6EE6XEMA.js → chunk-EB4PQEI3.js} +26 -17
- package/dist/{chunk-ANNQJWDX.js → chunk-EBWMTQ4U.js} +285 -34
- package/dist/{chunk-EHNGPUTO.js → chunk-EDW5HQND.js} +5 -5
- package/dist/{chunk-VM5CQ7CG.js → chunk-EHRRHSPV.js} +2 -2
- package/dist/{chunk-PYGEIPPH.js → chunk-EILNJQMN.js} +32 -12
- package/dist/{chunk-KGS5Z7SL.js → chunk-ERDKMZ7O.js} +2 -2
- package/dist/{chunk-USFIDSTO.js → chunk-ETUKDEGL.js} +18 -11
- package/dist/chunk-F2ET5ZTT.js +49 -0
- package/dist/{chunk-HVX2E26J.js → chunk-F3XOBFS4.js} +9 -8
- package/dist/{chunk-I4NUYVP5.js → chunk-FB6X7QHA.js} +1 -1
- package/dist/{chunk-LO3AGGE3.js → chunk-FJNZ7NWD.js} +5 -5
- package/dist/{chunk-IRXTNSZL.js → chunk-FPFRLRQO.js} +40 -22
- package/dist/{chunk-YTEJYLU7.js → chunk-FRR7BJ3B.js} +2 -2
- package/dist/{chunk-DPUCT567.js → chunk-FVWHEM2N.js} +7 -5
- package/dist/{chunk-A33MFWHW.js → chunk-G7BCLYL4.js} +2 -2
- package/dist/{chunk-2KCK63DD.js → chunk-G7CXJPEN.js} +2 -2
- package/dist/{chunk-2X6XY4K4.js → chunk-GB3RZYTK.js} +39 -19
- package/dist/{chunk-MTCDGSYW.js → chunk-GHCU6OSE.js} +2 -2
- package/dist/{chunk-AFGQXMKT.js → chunk-GNMB72V7.js} +161 -67
- package/dist/chunk-GOFS336W.js +24 -0
- package/dist/{chunk-JMXNXLAC.js → chunk-GQYT7G4F.js} +2 -2
- package/dist/{chunk-RRPTQGRU.js → chunk-H3VICNTN.js} +1 -1
- package/dist/{chunk-JRRSKCGG.js → chunk-H4EDDGGX.js} +3 -3
- package/dist/{chunk-5H4HFRDO.js → chunk-H7BCNS5J.js} +5 -5
- package/dist/{chunk-GC4WOLV3.js → chunk-HAG3K6PQ.js} +14 -2
- package/dist/chunk-HF4BCPIV.js +26 -0
- package/dist/{chunk-YCUNFAEE.js → chunk-HM4AJ5U4.js} +238 -127
- package/dist/{chunk-7FAO4ICF.js → chunk-HO4ILCW7.js} +2 -2
- package/dist/{chunk-ZV3SNRJI.js → chunk-HTQGJQZN.js} +4 -2
- package/dist/{chunk-G5BUGYIL.js → chunk-I52OMC5B.js} +192 -113
- package/dist/{chunk-TMXRTYGT.js → chunk-I5VNHDPR.js} +3 -2
- package/dist/{chunk-M74H7QYD.js → chunk-IDXYHDQY.js} +1 -1
- package/dist/{chunk-SSZB3VXG.js → chunk-IFUAPFL5.js} +102 -47
- package/dist/{chunk-IPWUBZ4P.js → chunk-IIWZJ5ZM.js} +1 -1
- package/dist/{chunk-KF3ZHLHQ.js → chunk-IMUMPKXF.js} +5 -5
- package/dist/{chunk-HC6WHTBX.js → chunk-IPBOREIY.js} +1 -1
- package/dist/{chunk-76UL4CT4.js → chunk-IPZJCBWD.js} +27 -22
- package/dist/{chunk-5P4MXWKP.js → chunk-ITEJQHXE.js} +4 -4
- package/dist/{chunk-WDAZ2MT4.js → chunk-IVDTP6SV.js} +4 -4
- package/dist/{chunk-BDGLMWPO.js → chunk-IXOBDDMW.js} +11 -2
- package/dist/{chunk-K6Y4HBK7.js → chunk-IXU5C3YY.js} +1000 -904
- package/dist/{chunk-EDBUVDRI.js → chunk-JBAVMO56.js} +372 -93
- package/dist/{chunk-VY2NPB2Q.js → chunk-JNDWRV34.js} +4 -4
- package/dist/{chunk-XYUXB5VK.js → chunk-JT3UTEWZ.js} +3 -3
- package/dist/{chunk-A6XCVOC5.js → chunk-JY4LTPOV.js} +1 -1
- package/dist/{chunk-VT7PBGL2.js → chunk-JYSFAH7C.js} +23 -36
- package/dist/chunk-K7XPTQBJ.js +267 -0
- package/dist/{chunk-2I76VFMZ.js → chunk-KI7VCHNZ.js} +49 -37
- package/dist/{chunk-YB6QGOCO.js → chunk-KUWIRCYJ.js} +2 -2
- package/dist/{chunk-MQ5EKWIG.js → chunk-KVBLTAO7.js} +5 -5
- package/dist/{chunk-XCROSJ2Z.js → chunk-KW4JXWHO.js} +1 -1
- package/dist/{chunk-BY5JGQFZ.js → chunk-KWIP5YRA.js} +4 -4
- package/dist/{chunk-KAAB2DIV.js → chunk-LJDATBPB.js} +6 -6
- package/dist/{chunk-TDDSWNGD.js → chunk-LOXZSTIM.js} +30 -28
- package/dist/{chunk-ZTSJ7NY6.js → chunk-LPMSGO7L.js} +3 -3
- package/dist/{chunk-IXM6BAM4.js → chunk-LXH4RPY4.js} +1 -1
- package/dist/{chunk-D5G67OER.js → chunk-LYAT62UT.js} +1 -1
- package/dist/{chunk-EFKFZNQC.js → chunk-M5LPP2GQ.js} +34 -20
- package/dist/{chunk-QZMLSK43.js → chunk-MALSSEXO.js} +294 -145
- package/dist/{chunk-XN7JDII2.js → chunk-MB5EX2YG.js} +230 -107
- package/dist/{chunk-PSYPB22T.js → chunk-MGXHFRQK.js} +5 -5
- package/dist/{chunk-GADI2DU7.js → chunk-MVR7YKBF.js} +152 -27
- package/dist/{chunk-IFURKTOL.js → chunk-MXUPMGRY.js} +2 -2
- package/dist/{chunk-C5SQEYTQ.js → chunk-NFGV5OAR.js} +153 -65
- package/dist/{chunk-RZNYW7UP.js → chunk-NNIZG3TH.js} +8 -0
- package/dist/{chunk-AKJO6N4K.js → chunk-NQPJWQTW.js} +11 -4
- package/dist/{chunk-YFI5PN5O.js → chunk-NSMYIUBZ.js} +34 -11
- package/dist/{chunk-H6EJ63QN.js → chunk-NT3HCXQC.js} +144 -83
- package/dist/chunk-NZ7FX3AE.js +65 -0
- package/dist/chunk-O3LT4TAI.js +34 -0
- package/dist/{chunk-L2XRUG4P.js → chunk-OELB7MTE.js} +5 -5
- package/dist/{chunk-7MYJUJZV.js → chunk-OMNB27GM.js} +4 -4
- package/dist/{chunk-GS5UG6QD.js → chunk-OO63YP35.js} +1 -1
- package/dist/{chunk-CEMXGMQN.js → chunk-OQUH7I5T.js} +3 -3
- package/dist/{chunk-Q7VPTN5X.js → chunk-OS7C2KMQ.js} +4 -4
- package/dist/{chunk-NRYERHEI.js → chunk-OTWIW2L3.js} +5 -5
- package/dist/chunk-OUNYHYJL.js +27 -0
- package/dist/{chunk-54HEIM2A.js → chunk-OUR5ZHCB.js} +2 -2
- package/dist/{chunk-Z257SH5U.js → chunk-OZA7HA6L.js} +1 -1
- package/dist/{chunk-WJQX7HBH.js → chunk-OZLKEBCD.js} +2 -2
- package/dist/{chunk-YGPLUENN.js → chunk-P3NMDPDP.js} +132 -83
- package/dist/{chunk-NINK4G7U.js → chunk-P5RCP4NK.js} +2 -2
- package/dist/{chunk-DYSEZVIJ.js → chunk-P6DEFCMQ.js} +2 -2
- package/dist/{chunk-J22ETKDJ.js → chunk-P7UOOMXE.js} +2 -2
- package/dist/chunk-PMT75APP.js +94 -0
- package/dist/{chunk-KLQKHA3T.js → chunk-PNYWBY4K.js} +5 -5
- package/dist/{chunk-XNV7VOIT.js → chunk-PVGJM2HP.js} +4 -4
- package/dist/{chunk-4U2WSW6F.js → chunk-Q2I3QLE3.js} +65 -36
- package/dist/{chunk-LGMV7ZV4.js → chunk-QATOOZMH.js} +5 -5
- package/dist/{chunk-H2POQ4LB.js → chunk-QFNWGSCT.js} +4 -4
- package/dist/{chunk-CIDOL4FO.js → chunk-QQMESIDA.js} +5 -5
- package/dist/{chunk-OTGNVAI4.js → chunk-R3VSWOTI.js} +4 -4
- package/dist/{chunk-UCIAHSJK.js → chunk-R5SGE2NS.js} +7 -3
- package/dist/{chunk-FX5VZK5F.js → chunk-RJICOOB3.js} +14 -8
- package/dist/{chunk-RMVCKO6N.js → chunk-RLH2CQCD.js} +458 -136
- package/dist/{chunk-VFLMBA2M.js → chunk-RPGEB3Z5.js} +19 -18
- package/dist/{chunk-KIXNHDXS.js → chunk-RQKDEJFQ.js} +5 -5
- package/dist/chunk-SBKM6XFS.js +211 -0
- package/dist/{chunk-TQ5HHNM3.js → chunk-SCAYWQZK.js} +2 -2
- package/dist/{chunk-Y5WHM2Q5.js → chunk-SH4FLUAD.js} +1 -1
- package/dist/{chunk-7EQU2TUN.js → chunk-SH4UGK5U.js} +84 -53
- package/dist/{chunk-EY4OA4OF.js → chunk-SHYS52VO.js} +370 -785
- package/dist/{chunk-ZSYU6LIH.js → chunk-SKPOXLG5.js} +5 -5
- package/dist/{chunk-OAT6FWKL.js → chunk-T7PRG6AO.js} +5 -5
- package/dist/chunk-TBZT5WUT.js +39 -0
- package/dist/{chunk-5HTGSB6Y.js → chunk-TKH655ON.js} +3 -3
- package/dist/{chunk-YO5UKKCQ.js → chunk-TMEUK2WS.js} +6 -2
- package/dist/{chunk-X5OVVMZX.js → chunk-TVOMGNFQ.js} +1 -1
- package/dist/{chunk-JARJP576.js → chunk-TX5FSNAU.js} +435 -29
- package/dist/{chunk-LUZ7HXBT.js → chunk-U52PNFPX.js} +1 -1
- package/dist/{chunk-OKM5LYYP.js → chunk-U6QZOMYC.js} +5 -5
- package/dist/{chunk-F4JAGDPD.js → chunk-UBYDY4B7.js} +8 -8
- package/dist/{chunk-V3UE3TB7.js → chunk-UCKUAKYQ.js} +2 -2
- package/dist/{chunk-NO7GRVUU.js → chunk-UOOXWGBU.js} +8 -8
- package/dist/{chunk-LFX5BERN.js → chunk-USMKNNOU.js} +47 -33
- package/dist/chunk-USSG6TJV.js +23 -0
- package/dist/{chunk-HFFKN7PA.js → chunk-UY34DDUM.js} +3 -3
- package/dist/{chunk-3LNVEE5Z.js → chunk-V7FV66KL.js} +1 -1
- package/dist/{chunk-62JZL6FW.js → chunk-V7JFT7NQ.js} +56 -42
- package/dist/{chunk-UP4JSNDR.js → chunk-V7NUJEJE.js} +1 -1
- package/dist/{chunk-FERP4WS3.js → chunk-VACZGW5R.js} +16 -18
- package/dist/{chunk-BO5EJBLH.js → chunk-VC62V7CX.js} +82 -47
- package/dist/{chunk-53OEKS4L.js → chunk-VESSIKBG.js} +6 -3
- package/dist/chunk-VJULLJLN.js +70 -0
- package/dist/{chunk-QLWUFEKR.js → chunk-VKNQOSGW.js} +8 -8
- package/dist/{chunk-BFDPY7JM.js → chunk-VTY6YHQZ.js} +11 -6
- package/dist/{chunk-UFZXZJJG.js → chunk-W2QILXAL.js} +5 -5
- package/dist/{chunk-QHPJ5ZKS.js → chunk-W6XSIBLR.js} +5 -5
- package/dist/{chunk-DJBMA4FW.js → chunk-WDJSDJLV.js} +4 -6
- package/dist/{chunk-JKOEHRGV.js → chunk-WDLWWEHZ.js} +1 -1
- package/dist/{chunk-IW3YUMPI.js → chunk-WFBN2HXR.js} +2 -2
- package/dist/chunk-WGJIYFVQ.js +24 -0
- package/dist/{chunk-43PCSBVQ.js → chunk-WKXLJNHW.js} +634 -8
- package/dist/{chunk-EWR6WVOV.js → chunk-WLH5IBFY.js} +6 -6
- package/dist/{chunk-RHVP62HI.js → chunk-WMQ57FOP.js} +5 -5
- package/dist/{chunk-GKQLKUMF.js → chunk-WNTUBGBB.js} +41 -32
- package/dist/{chunk-RHBQ2Q5H.js → chunk-WOICFLOJ.js} +60 -43
- package/dist/{chunk-QNLESRH6.js → chunk-WUP6C4ZD.js} +2 -2
- package/dist/chunk-WVCDISZP.js +89 -0
- package/dist/{chunk-CT4RFZO4.js → chunk-WW4KLAVO.js} +38 -23
- package/dist/{chunk-I5ZADE2U.js → chunk-X3QUASBR.js} +1 -1
- package/dist/{chunk-TXMS7QUJ.js → chunk-X46PSAJ7.js} +6 -6
- package/dist/{chunk-Z2BDTZDT.js → chunk-XC32OSCD.js} +97 -39
- package/dist/{chunk-M2OQK2FO.js → chunk-XD5XB22R.js} +2 -2
- package/dist/chunk-XLLWIHN2.js +24 -0
- package/dist/{chunk-SD6ENKTO.js → chunk-XMX4PCFL.js} +3 -3
- package/dist/{chunk-BM2A3IGQ.js → chunk-XO44IJGZ.js} +1 -1
- package/dist/{chunk-2HD5RY2U.js → chunk-XRRG4MBM.js} +3 -3
- package/dist/chunk-XSC4IXXC.js +24 -0
- package/dist/{chunk-D5RAVZ5C.js → chunk-XSEETONJ.js} +10 -9
- package/dist/{chunk-YBYV56FS.js → chunk-XZOFKLTD.js} +3 -3
- package/dist/{chunk-YNHPPZ7S.js → chunk-XZXZNI7A.js} +1 -1
- package/dist/{chunk-W7Q6PLT4.js → chunk-Y6E4JU3U.js} +37 -37
- package/dist/{chunk-XR7VOF2V.js → chunk-YGWPOYDE.js} +25 -13
- package/dist/{chunk-HDSHS2QZ.js → chunk-YJUBX3QF.js} +70 -47
- package/dist/{chunk-BDCKHLUB.js → chunk-YLRAAJYV.js} +72 -304
- package/dist/{chunk-I6QGYRY4.js → chunk-YW35KSXR.js} +2 -2
- package/dist/{chunk-GAFEN3H7.js → chunk-Z3WQXVFV.js} +2 -2
- package/dist/{chunk-WKWCNS6K.js → chunk-Z62TJQO5.js} +5 -5
- package/dist/{chunk-D3PQAVFW.js → chunk-Z6DUNKFU.js} +152 -29
- package/dist/{chunk-FF7MV4D4.js → chunk-Z6H5ED2I.js} +1 -1
- package/dist/{chunk-TWRFVW3J.js → chunk-ZB3JIL3L.js} +138 -89
- package/dist/{chunk-KUMJI5B6.js → chunk-ZBCCJPGW.js} +17 -14
- package/dist/{chunk-CV3NC75L.js → chunk-ZBOOMLHD.js} +1 -1
- package/dist/{chunk-QRZESG66.js → chunk-ZCHKIR7C.js} +64 -239
- package/dist/{chunk-ZDD3MJ2H.js → chunk-ZDJ7C64T.js} +1 -1
- package/dist/{chunk-KQ2WZ6BY.js → chunk-ZG4BMJRL.js} +1 -1
- package/dist/{chunk-QYOZ46ZQ.js → chunk-ZIVCPXXL.js} +467 -650
- package/dist/{chunk-V62B23VC.js → chunk-ZNRSYS76.js} +8 -2
- package/dist/{chunk-NIDH22DI.js → chunk-ZSYFQSPF.js} +12 -2
- package/dist/cli/index.js +8 -3
- package/dist/{core-5S5CJHBG.js → core-2GWH3ED7.js} +2 -1
- package/dist/{core-ZSERZGK6.js → core-3LCSHMKN.js} +3 -1
- package/dist/{core-FTQBESDS.js → core-3NQ5TXOJ.js} +3 -1
- package/dist/{core-D2OIGYC7.js → core-3XGQBHJI.js} +4 -1
- package/dist/{core-T3OSZOVV.js → core-4N6WH3IF.js} +3 -1
- package/dist/{core-VRVL6LIM.js → core-5CRTPVYA.js} +3 -1
- package/dist/{core-7XKNJM7Y.js → core-5K4HRIHX.js} +5 -1
- package/dist/{core-CCB3IXGD.js → core-743ZXTWK.js} +3 -1
- package/dist/{core-4M4RY7MX.js → core-7OAGK7ZJ.js} +3 -1
- package/dist/{core-VT35VDVS.js → core-7YDNMUU3.js} +6 -1
- package/dist/{core-4PW4MXWR.js → core-AAPPZSSZ.js} +4 -1
- package/dist/{core-OBPTBKX6.js → core-AC5AKSCM.js} +2 -1
- package/dist/{core-QFAVWFI3.js → core-AEALAFRA.js} +2 -1
- package/dist/{core-WXZJ7V7S.js → core-BEK6EPVF.js} +4 -1
- package/dist/{core-WP73P4CW.js → core-BRBJ3LPF.js} +5 -1
- package/dist/{core-AVA4XLQ2.js → core-EGTJOQK7.js} +2 -1
- package/dist/{core-XKXDXALI.js → core-FE4THVV3.js} +6 -1
- package/dist/{core-MAW4S3KA.js → core-FEBNVNVE.js} +5 -1
- package/dist/{core-L3UR75IJ.js → core-HIONDJGC.js} +4 -1
- package/dist/{core-GS4DXDDG.js → core-HMBMMF5Z.js} +4 -1
- package/dist/{core-QM34237W.js → core-LSYX4UQQ.js} +2 -1
- package/dist/{core-N2JEWJ7D.js → core-MIERUUUT.js} +2 -1
- package/dist/{core-A7HXVSKB.js → core-NTOOJZRA.js} +2 -1
- package/dist/{core-JDZDBTID.js → core-O5S2NETE.js} +2 -1
- package/dist/{core-OFPPRHYY.js → core-Q2Y3JEWL.js} +3 -1
- package/dist/{core-BJZEJ63L.js → core-RTBPKALG.js} +3 -1
- package/dist/{core-WNT6ZMRO.js → core-T7CKLMT2.js} +2 -1
- package/dist/{core-VWYXK2R3.js → core-TIIPSEK3.js} +4 -1
- package/dist/{core-EMSJRGSE.js → core-VBMWBPKM.js} +2 -1
- package/dist/{core-WPEYRK6Y.js → core-VLXOQ5CK.js} +4 -1
- package/dist/{core-7TTM4KRP.js → core-VYHQ5JY6.js} +3 -1
- package/dist/{core-DMDAXVMY.js → core-XJZWD43V.js} +2 -1
- package/dist/{core-AMWCZTOT.js → core-XUNZB6BM.js} +5 -1
- package/dist/{core-UNX4ZV4M.js → core-YKDDPMWW.js} +5 -1
- package/dist/{core-SKMHEA4Y.js → core-YN2VVGUL.js} +3 -1
- package/dist/{core-ZACFV6XR.js → core-YP4MNIMV.js} +5 -1
- package/dist/{core-FCSA74RT.js → core-ZETBHLSV.js} +3 -1
- package/dist/{dataTable-7IO546LM.js → dataTable-FEQZSDUZ.js} +7 -2
- package/dist/{engine-US3N6UCH.js → engine-SCQVNSAM.js} +23 -18
- package/dist/fixtures.js +2 -1
- package/dist/flags-BVLSAXT3.js +10 -0
- package/dist/{fontTables-ZPZQ6IR3.js → fontTables-JUW7ZTQY.js} +3 -1
- package/dist/geo/dach.js +1 -1
- package/dist/geo/de-states.js +1 -1
- package/dist/geo/eu27.js +1 -1
- package/dist/geo/europe.js +1 -1
- package/dist/geo/index.js +2 -2
- package/dist/geo/us-states.js +1 -1
- package/dist/geo/world.js +1 -1
- package/dist/index.js +27 -20
- package/dist/{main-2UWKGUHR.js → main-7UKLXCIL.js} +50 -119
- package/dist/mcp/server.js +121 -118
- package/dist/react/bar.js +5 -1
- package/dist/react/bartable.js +3 -1
- package/dist/react/box.js +3 -1
- package/dist/react/bullet.js +4 -1
- package/dist/react/butterfly.js +5 -1
- package/dist/react/choropleth.js +3 -1
- package/dist/react/cohort.js +3 -1
- package/dist/react/column.js +5 -1
- package/dist/react/combo.js +5 -1
- package/dist/react/creative.js +4 -1
- package/dist/react/diagram.js +3 -1
- package/dist/react/dimswitch.js +6 -1
- package/dist/react/dot.js +4 -1
- package/dist/react/export.js +29 -18
- package/dist/react/funnel.js +4 -1
- package/dist/react/gantt.js +3 -1
- package/dist/react/grid.js +6 -1
- package/dist/react/heatmap.js +3 -1
- package/dist/react/histogram.js +6 -1
- package/dist/react/index.js +92 -85
- package/dist/react/kpi.js +4 -1
- package/dist/react/likert.js +6 -1
- package/dist/react/line.js +4 -1
- package/dist/react/mekko.js +5 -1
- package/dist/react/pareto.js +6 -1
- package/dist/react/pie.js +4 -1
- package/dist/react/prepare.js +35 -22
- package/dist/react/pvm.js +6 -1
- package/dist/react/pyramid.js +5 -1
- package/dist/react/sankey.js +3 -1
- package/dist/react/scatter.js +3 -1
- package/dist/react/slope.js +4 -1
- package/dist/react/sparkline.js +4 -1
- package/dist/react/spec.js +17 -13
- package/dist/react/status.js +3 -1
- package/dist/react/story.js +3 -2
- package/dist/react/table.js +4 -1
- package/dist/react/theme.js +5 -3
- package/dist/react/tilemap.js +3 -1
- package/dist/react/treemap.js +3 -1
- package/dist/react/variance.js +5 -1
- package/dist/react/waffle.js +3 -1
- package/dist/react/waterfall.js +5 -1
- package/dist/{resvg-VB7S5HRF.js → resvg-ZYEZTSUO.js} +3 -1
- package/dist/rows.js +2 -2
- package/dist/{rowsModule-DYDVHBAX.js → rowsModule-WJH4QNXZ.js} +1 -1
- package/dist/{schema-YDZCGL56.js → schema-2R32F6AW.js} +1 -3
- package/dist/{schema-A2XUZUCV.js → schema-2TPGJGVR.js} +1 -3
- package/dist/{schema-MD22QYZU.js → schema-47BG2TZA.js} +1 -3
- package/dist/{schema-HEB6ZDI5.js → schema-56MOEOVR.js} +1 -3
- package/dist/{schema-K4V4PYBO.js → schema-5MSR4LNN.js} +1 -3
- package/dist/{schema-NOBNFD2F.js → schema-5RIYEWE6.js} +1 -3
- package/dist/{schema-OXO2XY4Y.js → schema-ALBF6V7Y.js} +1 -3
- package/dist/{schema-F2Q6MH7W.js → schema-BA6WP5YZ.js} +1 -3
- package/dist/{schema-G5KSSI5W.js → schema-CBL2SMVR.js} +1 -3
- package/dist/{schema-WFGDVBJK.js → schema-CWKGLDSR.js} +1 -3
- package/dist/{schema-DHMMGDTI.js → schema-DBIQFL56.js} +1 -3
- package/dist/{schema-626QXX4G.js → schema-DL7V6NN2.js} +1 -3
- package/dist/{schema-FC6J6KZC.js → schema-DUVJMFKQ.js} +1 -3
- package/dist/{schema-LGLQBRC4.js → schema-ECJERHKF.js} +1 -2
- package/dist/{schema-4JRNXEZF.js → schema-EDSEKZDJ.js} +1 -3
- package/dist/{schema-I44IDRGD.js → schema-ESR6ZIK4.js} +1 -3
- package/dist/{schema-FSYDLMGD.js → schema-F7TWGLRZ.js} +1 -3
- package/dist/{schema-JCU6LTYD.js → schema-FGB6IGZM.js} +1 -3
- package/dist/{schema-MGETMQYC.js → schema-FKGGTM4Z.js} +1 -2
- package/dist/{schema-XIHAKX3B.js → schema-JIAQE7WO.js} +1 -1
- package/dist/{schema-6V5K3J2V.js → schema-JYZ4RF6S.js} +1 -3
- package/dist/{schema-GXOG4MXL.js → schema-K7F6TEDK.js} +1 -2
- package/dist/{schema-NMIYKGHE.js → schema-KAK6DZX4.js} +1 -3
- package/dist/{schema-PHIHMDVB.js → schema-KCJ6WTGV.js} +1 -3
- package/dist/{schema-XRSORYBI.js → schema-MOKWIGF7.js} +1 -3
- package/dist/{schema-3KMU5737.js → schema-MQT6BMNK.js} +1 -3
- package/dist/{schema-JJWORI7D.js → schema-MR3BPPQR.js} +1 -3
- package/dist/{schema-IFTIMTS3.js → schema-OPXZYIW7.js} +1 -3
- package/dist/{schema-UXWKA3PI.js → schema-PV7JGX5H.js} +1 -3
- package/dist/{schema-CNJ4Y6CT.js → schema-PWPQF5RC.js} +1 -3
- package/dist/{schema-WBOPCTPC.js → schema-PYQEUC5P.js} +1 -3
- package/dist/{schema-J4HCSD5C.js → schema-Q5DACE4I.js} +6 -2
- package/dist/{schema-IUY7VYHJ.js → schema-R42VXFIS.js} +1 -3
- package/dist/{schema-WX2RS4OU.js → schema-TVUJNEX7.js} +1 -3
- package/dist/{schema-6PL46VXZ.js → schema-WZOSDDDJ.js} +1 -3
- package/dist/{schema-FGE5YK3S.js → schema-Y4TI2T3T.js} +1 -3
- package/dist/{schema-MQB6CE5V.js → schema-ZU2EU2VP.js} +1 -3
- package/dist/{specValidation-XGELWQUU.js → specValidation-DC4TVHWD.js} +3 -1
- package/dist/theme.js +4 -3
- package/dist/{themeShapeRules-PW4BQHKL.js → themeShapeRules-G7UZX6GJ.js} +1 -1
- package/dist/types/core/annotate.d.ts +27 -2
- package/dist/types/core/annotateArms.d.ts +3 -1
- package/dist/types/core/annotateTargets.d.ts +4 -0
- package/dist/types/core/annotationOrigin.d.ts +13 -0
- package/dist/types/core/axis.d.ts +2 -2
- package/dist/types/core/charts/band/stacks.d.ts +7 -1
- package/dist/types/core/charts/column/model.d.ts +13 -0
- package/dist/types/core/charts/combo/layout.d.ts +7 -0
- package/dist/types/core/charts/gantt/calendar.d.ts +4 -0
- package/dist/types/core/charts/grid/normalize.d.ts +5 -0
- package/dist/types/core/charts/grid/schema.d.ts +2 -2
- package/dist/types/core/charts/pareto/layout.d.ts +2 -0
- package/dist/types/core/charts/pvm/types.d.ts +1 -0
- package/dist/types/core/charts/scatter/clamp.d.ts +2 -1
- package/dist/types/core/charts/scatter/model.d.ts +5 -0
- package/dist/types/core/charts/scatter/valueLines.d.ts +3 -1
- package/dist/types/core/charts/table/resolve.d.ts +8 -3
- package/dist/types/core/charts/table/view.d.ts +24 -1
- package/dist/types/core/claims/browser.d.ts +2 -0
- package/dist/types/core/claims/ids.d.ts +38 -0
- package/dist/types/core/deferred.d.ts +1 -0
- package/dist/types/core/diagnostics/describe.d.ts +6 -1
- package/dist/types/core/doc/diagnostics.d.ts +3 -2
- package/dist/types/core/formatSpec.d.ts +33 -14
- package/dist/types/core/frame.d.ts +25 -58
- package/dist/types/core/frameText.d.ts +203 -0
- package/dist/types/core/geometry.d.ts +2 -0
- package/dist/types/core/label/categoryRow.d.ts +19 -2
- package/dist/types/core/label/solver.d.ts +23 -2
- package/dist/types/core/normalize/shared.d.ts +12 -2
- package/dist/types/core/notes.d.ts +15 -2
- package/dist/types/core/reading.d.ts +12 -1
- package/dist/types/core/request.d.ts +1 -1
- package/dist/types/core/schema/capability.d.ts +12 -0
- package/dist/types/core/seriesIdentity.d.ts +4 -1
- package/dist/types/core/sizing.d.ts +37 -1
- package/dist/types/core/structureCounts.d.ts +3 -1
- package/dist/types/core/theme.d.ts +33 -4
- package/dist/types/core/themeRules.d.ts +2 -0
- package/dist/types/core/types/annotations.d.ts +74 -4
- package/dist/types/core/types/options.d.ts +35 -3
- package/dist/types/core/types/scene.d.ts +30 -2
- package/dist/types/core/types/table.d.ts +6 -0
- package/dist/types/core/types/theme.d.ts +23 -0
- package/dist/types/react/TableChart.d.ts +5 -0
- package/dist/validate.js +13 -6
- package/docs/TELEMETRY.md +2 -2
- package/docs/manual.md +252 -62
- package/docs/reference/bar.md +12 -4
- package/docs/reference/bartable.md +2 -2
- package/docs/reference/box.md +8 -4
- package/docs/reference/bullet.md +9 -5
- package/docs/reference/butterfly.md +10 -5
- package/docs/reference/choropleth.md +3 -5
- package/docs/reference/cohort.md +1 -1
- package/docs/reference/column.md +18 -4
- package/docs/reference/combo.md +10 -5
- package/docs/reference/creative.md +3 -7
- package/docs/reference/diagram.md +1 -1
- package/docs/reference/dimswitch.md +23 -88
- package/docs/reference/dot.md +9 -5
- package/docs/reference/fixtures.md +37 -1
- package/docs/reference/funnel.md +9 -5
- package/docs/reference/gantt.md +8 -15
- package/docs/reference/grid.md +5 -2
- package/docs/reference/heatmap.md +10 -6
- package/docs/reference/kpi.md +1 -1
- package/docs/reference/likert.md +9 -4
- package/docs/reference/line.md +18 -5
- package/docs/reference/mekko.md +10 -5
- package/docs/reference/options.md +17 -13
- package/docs/reference/pareto.md +8 -4
- package/docs/reference/pie.md +9 -5
- package/docs/reference/pvm.md +9 -5
- package/docs/reference/pyramid.md +8 -4
- package/docs/reference/react.md +5 -5
- package/docs/reference/sankey.md +2 -2
- package/docs/reference/scatter.md +8 -4
- package/docs/reference/slope.md +9 -5
- package/docs/reference/sparkline.md +1 -1
- package/docs/reference/status.md +1 -1
- package/docs/reference/table.md +33 -114
- package/docs/reference/theme.md +12 -4
- package/docs/reference/tilemap.md +2 -4
- package/docs/reference/treemap.md +1 -1
- package/docs/reference/variance.md +12 -6
- package/docs/reference/waffle.md +1 -1
- package/docs/reference/warnings.md +1077 -0
- package/docs/reference/waterfall.md +16 -4
- package/docs/use-cases.md +25 -13
- package/llms.txt +19 -6
- package/package.json +18 -3
- package/dist/chunk-5RHP7YTL.js +0 -24
- package/dist/chunk-6VU2XI3W.js +0 -89
- package/dist/chunk-6WJOHZPW.js +0 -26
- package/dist/chunk-FL3FQ2YA.js +0 -27
- package/dist/chunk-G5CELEUR.js +0 -26
- package/dist/chunk-M4SPKUZE.js +0 -7
- package/dist/chunk-OF7FMGH5.js +0 -24
- package/dist/chunk-S2TSXUYP.js +0 -24
- package/dist/chunk-TKERVBJ3.js +0 -23
- package/dist/chunk-VMGTNB6H.js +0 -25
- package/dist/chunk-WZL4EEBS.js +0 -11
- package/dist/chunk-YJGFT63R.js +0 -27
- package/dist/chunk-ZNX5J7D7.js +0 -47
package/dist/mcp/server.js
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
SUMMARY_MAX,
|
|
5
5
|
TARGETS,
|
|
6
6
|
describe,
|
|
7
|
+
designCodes,
|
|
7
8
|
feedback,
|
|
8
9
|
fixtures,
|
|
9
10
|
fontTablesSummary,
|
|
@@ -12,20 +13,20 @@ import {
|
|
|
12
13
|
mcpNotice,
|
|
13
14
|
mcpReporter,
|
|
14
15
|
measure,
|
|
15
|
-
|
|
16
|
-
readingMetricStackSchema,
|
|
16
|
+
readingSchema,
|
|
17
17
|
rejectedInput,
|
|
18
18
|
render,
|
|
19
19
|
requestedFontTables,
|
|
20
20
|
runVerb,
|
|
21
21
|
sha256
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-IXU5C3YY.js";
|
|
23
23
|
import {
|
|
24
|
+
drawsPng,
|
|
24
25
|
loadRasterFonts
|
|
25
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-7VWXXBTC.js";
|
|
26
27
|
import {
|
|
27
28
|
registerAllGeoPacks
|
|
28
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-IIWZJ5ZM.js";
|
|
29
30
|
|
|
30
31
|
|
|
31
32
|
|
|
@@ -80,7 +81,7 @@ import {
|
|
|
80
81
|
|
|
81
82
|
import {
|
|
82
83
|
allFixtures
|
|
83
|
-
} from "../chunk-
|
|
84
|
+
} from "../chunk-WKXLJNHW.js";
|
|
84
85
|
|
|
85
86
|
|
|
86
87
|
|
|
@@ -180,21 +181,23 @@ import {
|
|
|
180
181
|
|
|
181
182
|
import {
|
|
182
183
|
canonicalJson
|
|
183
|
-
} from "../chunk-
|
|
184
|
+
} from "../chunk-WW4KLAVO.js";
|
|
184
185
|
import {
|
|
185
186
|
completeDiagnostic,
|
|
186
187
|
parseWithInputConversions
|
|
187
|
-
} from "../chunk-
|
|
188
|
+
} from "../chunk-MVR7YKBF.js";
|
|
188
189
|
import {
|
|
189
190
|
linkStoryLayer
|
|
190
|
-
} from "../chunk-
|
|
191
|
+
} from "../chunk-YGWPOYDE.js";
|
|
191
192
|
import {
|
|
192
193
|
sanitizeObjectPrototype
|
|
193
|
-
} from "../chunk-
|
|
194
|
+
} from "../chunk-K7XPTQBJ.js";
|
|
195
|
+
|
|
194
196
|
import {
|
|
195
197
|
InputError,
|
|
196
198
|
parseSpecString
|
|
197
|
-
} from "../chunk-
|
|
199
|
+
} from "../chunk-EB4PQEI3.js";
|
|
200
|
+
|
|
198
201
|
|
|
199
202
|
|
|
200
203
|
|
|
@@ -207,7 +210,10 @@ import {
|
|
|
207
210
|
|
|
208
211
|
import {
|
|
209
212
|
linkAnnotateEngine
|
|
210
|
-
} from "../chunk-
|
|
213
|
+
} from "../chunk-RLH2CQCD.js";
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
211
217
|
|
|
212
218
|
|
|
213
219
|
|
|
@@ -243,7 +249,8 @@ import {
|
|
|
243
249
|
|
|
244
250
|
import {
|
|
245
251
|
linkThemeShapeRules
|
|
246
|
-
} from "../chunk-
|
|
252
|
+
} from "../chunk-IXOBDDMW.js";
|
|
253
|
+
|
|
247
254
|
|
|
248
255
|
|
|
249
256
|
|
|
@@ -257,7 +264,7 @@ import {
|
|
|
257
264
|
chartInputName,
|
|
258
265
|
inputConversion,
|
|
259
266
|
listCharts
|
|
260
|
-
} from "../chunk-
|
|
267
|
+
} from "../chunk-GNMB72V7.js";
|
|
261
268
|
|
|
262
269
|
|
|
263
270
|
|
|
@@ -265,7 +272,8 @@ import {
|
|
|
265
272
|
import {
|
|
266
273
|
BOARDPLOT_VERSION,
|
|
267
274
|
version
|
|
268
|
-
} from "../chunk-
|
|
275
|
+
} from "../chunk-P7UOOMXE.js";
|
|
276
|
+
|
|
269
277
|
|
|
270
278
|
|
|
271
279
|
|
|
@@ -275,7 +283,7 @@ import {
|
|
|
275
283
|
|
|
276
284
|
import {
|
|
277
285
|
resolveTheme
|
|
278
|
-
} from "../chunk-
|
|
286
|
+
} from "../chunk-TX5FSNAU.js";
|
|
279
287
|
|
|
280
288
|
|
|
281
289
|
|
|
@@ -292,7 +300,6 @@ import {
|
|
|
292
300
|
|
|
293
301
|
|
|
294
302
|
// src/mcp/server.ts
|
|
295
|
-
import { createInterface } from "readline";
|
|
296
303
|
import { execFile } from "child_process";
|
|
297
304
|
import { existsSync, readFileSync, readdirSync, realpathSync, statSync } from "fs";
|
|
298
305
|
import { tmpdir } from "os";
|
|
@@ -307,11 +314,13 @@ var SUPPORTED_PROTOCOL_VERSIONS = ["2024-11-05", "2025-06-18", "2025-11-25"], DE
|
|
|
307
314
|
type: "object",
|
|
308
315
|
properties: {
|
|
309
316
|
code: { type: "string" },
|
|
310
|
-
|
|
317
|
+
severity: { type: "string", enum: ["advice", "info", "warn", "error"] },
|
|
318
|
+
path: { type: "string", description: "JSON pointer into the spec or the tool arguments." },
|
|
319
|
+
displayPath: { type: "string", description: "The source row and column, for a row finding." },
|
|
311
320
|
message: { type: "string" },
|
|
312
321
|
expected: { type: "object" },
|
|
313
322
|
received: {},
|
|
314
|
-
fix: { type: "array", description: "JSON Patch
|
|
323
|
+
fix: { type: "array", description: "JSON Patch for the input at path, when the engine can propose one." },
|
|
315
324
|
suggest: { type: "string" },
|
|
316
325
|
docs: { type: "string" }
|
|
317
326
|
},
|
|
@@ -326,79 +335,53 @@ function output(properties) {
|
|
|
326
335
|
version: { type: "string", description: "The build this server runs, exactly as boardplot --version prints it." },
|
|
327
336
|
errors: findings,
|
|
328
337
|
warnings: findings,
|
|
338
|
+
fontTables: { type: "object", description: "Custom font metrics, when configured.", properties: { families: { type: "array", items: { type: "string" } }, faces: { type: "integer" } } },
|
|
329
339
|
...properties
|
|
330
340
|
},
|
|
331
341
|
required: ["ok"]
|
|
332
342
|
};
|
|
333
343
|
}
|
|
334
|
-
var spec = z.looseObject({}).describe("
|
|
335
|
-
rows: z.array(z.looseObject({})).optional().describe("
|
|
336
|
-
rowsFile: absolutePath("
|
|
344
|
+
var spec = z.looseObject({}).describe("One chart: { name?, type, data, options?, annotations?, theme? }. Several charts: { version: 1, charts: [...] }. name sets chart identity and file name, default chart."), absolutePath = (description) => z.string().regex(new RegExp(ABSOLUTE_OUT_DIR_PATTERN)).meta({ pattern: ABSOLUTE_OUT_DIR_PATTERN, description }), rowArguments = {
|
|
345
|
+
rows: z.array(z.looseObject({})).optional().describe("Inline records for one chart, without a document wrapper. Use rows or rowsFile, never both. One row per category/series pair, waterfall item, scatter point, Sankey link, map region, table row, or histogram/box observation. Keep data.pack for maps and data.columns for tables. Requires columns except for tables."),
|
|
346
|
+
rowsFile: absolutePath("Read records directly from a local file of at most 10 MB: .json holds an array of objects, .csv/.tsv/.txt has a header row. Use rowsFile or rows, never both, with one chart and no document wrapper. Requires columns except for tables. Keep data.pack for maps and data.columns for tables. Allowed folders: client roots, server working directory, temp folder, or BOARDPLOT_ROWS_ROOTS. Semicolon-separated files are detected and accept decimal-comma values.").optional(),
|
|
337
347
|
columns: z.strictObject({
|
|
338
|
-
category: z.string().optional(),
|
|
339
|
-
series: z.string().optional(),
|
|
340
|
-
value: z.string().optional(),
|
|
341
|
-
categoryLabel: z.string().optional(),
|
|
342
|
-
seriesLabel: z.string().optional(),
|
|
343
|
-
unit: z.string().optional(),
|
|
344
|
-
date: z.string().optional(),
|
|
345
|
-
state: z.string().optional().describe("
|
|
346
|
-
label: z.string().optional(),
|
|
347
|
-
type: z.string().optional().describe("
|
|
348
|
-
x: z.string().optional(),
|
|
349
|
-
y: z.string().optional(),
|
|
350
|
-
size: z.string().optional(),
|
|
351
|
-
group: z.string().optional(),
|
|
352
|
-
source: z.string().optional(),
|
|
353
|
-
target: z.string().optional(),
|
|
354
|
-
sourceStage: z.string().optional(),
|
|
355
|
-
targetStage: z.string().optional(),
|
|
356
|
-
id: z.string().optional().describe("
|
|
357
|
-
valueKind: z.enum(["number", "percent", "fraction"]).default("number")
|
|
358
|
-
}).optional().describe(
|
|
359
|
-
}, rowsRead = {
|
|
360
|
-
type: "object",
|
|
361
|
-
description: "With rows or rowsFile: the row count, the sha256 of the file bytes (of the canonical JSON for inline rows), the source, the columns nothing read, and the cells a state column suppressed."
|
|
362
|
-
}, size = { type: "object", description: "The layout size in px.", properties: { width: { type: "number" }, height: { type: "number" } } }, presented = {
|
|
348
|
+
category: z.string().optional().describe("Source column containing category, map region or box group IDs."),
|
|
349
|
+
series: z.string().optional().describe("Source column containing series IDs."),
|
|
350
|
+
value: z.string().optional().describe("Source column containing numeric values."),
|
|
351
|
+
categoryLabel: z.string().optional().describe("Source column containing display names for categories or box groups."),
|
|
352
|
+
seriesLabel: z.string().optional().describe("Source column containing display names for series."),
|
|
353
|
+
unit: z.string().optional().describe("Source column containing series units."),
|
|
354
|
+
date: z.string().optional().describe("Source column containing category or observation dates."),
|
|
355
|
+
state: z.string().optional().describe("Source column holding na, nm or suppressed for a null cell."),
|
|
356
|
+
label: z.string().optional().describe("Source column containing waterfall, scatter or table row labels."),
|
|
357
|
+
type: z.string().optional().describe("Source column holding waterfall item types: delta, subtotal or total. Missing values use delta."),
|
|
358
|
+
x: z.string().optional().describe("Source column containing scatter x values."),
|
|
359
|
+
y: z.string().optional().describe("Source column containing scatter y values."),
|
|
360
|
+
size: z.string().optional().describe("Source column containing bubble sizes."),
|
|
361
|
+
group: z.string().optional().describe("Source column containing scatter groups for the legend."),
|
|
362
|
+
source: z.string().optional().describe("Source column containing Sankey source IDs."),
|
|
363
|
+
target: z.string().optional().describe("Source column containing Sankey target IDs."),
|
|
364
|
+
sourceStage: z.string().optional().describe("Source column containing Sankey source stages."),
|
|
365
|
+
targetStage: z.string().optional().describe("Source column containing Sankey target stages."),
|
|
366
|
+
id: z.string().optional().describe("Source column containing table row IDs. Default: row-1, row-2, ... ."),
|
|
367
|
+
valueKind: z.enum(["number", "percent", "fraction"]).default("number").describe("Conversion for value or scatter x/y, never size: number, percent (50 means 50%), or fraction (0.5 means 50%). Table, histogram, box and Sankey require number.")
|
|
368
|
+
}).optional().describe('Map roles to source field names, for example {"category":"region","series":"product","value":"revenue"}. Required roles: category charts category/series/value, maps category/value, waterfall label/value, scatter x/y, Sankey source/target/value, histogram value, box category/value. Table roles are optional: data.columns declares each value, text, status or date column, which reads the source field matching its id. Waterfall items and scatter points get IDs row-1, row-2, ... . Missing or non-numeric histogram and box observations are refused.')
|
|
369
|
+
}, rowsRead = readingSchema.properties.data, size = { type: "object", description: "The layout size in px.", properties: { width: { type: "number" }, height: { type: "number" } } }, presented = {
|
|
363
370
|
target: { type: "string", enum: [...TARGETS] },
|
|
364
371
|
naturalSize: { type: "object", description: "The natural output size: pt for slide and print, else px.", properties: { width: { type: "number" }, height: { type: "number" }, unit: { type: "string", enum: ["px", "pt"] } } },
|
|
365
372
|
minDisplayWidth: { type: "number", description: "The narrowest display width in CSS px that keeps text at its floor." }
|
|
366
|
-
}, target = z.enum(TARGETS).optional().describe("Reading context: report (default), dashboard, slide or print.
|
|
367
|
-
type: "array",
|
|
368
|
-
description: "Every note under the chart in list order: author notes, the engine's disclosures (always printed), then method notes, source and map credit. inFrame says whether the drawing prints it; the rest is for an appendix or an info panel. short is the one-line form of a method note or credit.",
|
|
369
|
-
items: {
|
|
370
|
-
type: "object",
|
|
371
|
-
properties: {
|
|
372
|
-
n: { type: "number" },
|
|
373
|
-
kind: { type: "string", enum: ["source", "credit", "note", "method", "disclosure"] },
|
|
374
|
-
text: { type: "string" },
|
|
375
|
-
short: { type: "string" },
|
|
376
|
-
ref: { type: "number" },
|
|
377
|
-
links: { type: "array", items: { type: "object", properties: { text: { type: "string" }, href: { type: "string" } } } },
|
|
378
|
-
inFrame: { type: "boolean" }
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
}, drawn = {
|
|
373
|
+
}, target = z.enum(TARGETS).optional().describe("Reading context: report (default), dashboard, slide or print. Overrides spec options.target."), notesList = readingSchema.properties.notes, drawn = {
|
|
382
374
|
size,
|
|
383
375
|
...presented,
|
|
384
376
|
svg: { type: "string" },
|
|
385
377
|
notes: notesList,
|
|
386
|
-
reading:
|
|
387
|
-
type: "object",
|
|
388
|
-
properties: {
|
|
389
|
-
data: rowsRead,
|
|
390
|
-
counts: readingCountsSchema,
|
|
391
|
-
metricStack: readingMetricStackSchema,
|
|
392
|
-
notes: notesList,
|
|
393
|
-
rounding: { type: "array", items: { type: "object" }, description: "Under options.rounding 'sum-consistent' (mekko, pie): each share printed off its nearest rounding so its whole adds up to 100%, with whole, part, share, nearest and printed." }
|
|
394
|
-
}
|
|
395
|
-
}
|
|
378
|
+
reading: readingSchema
|
|
396
379
|
}, measured = {
|
|
397
380
|
size: { ...size, description: "The layout size in px. The height is the height the chart draws: a pinned frame taller than the chart reports only the part the chart uses." },
|
|
398
381
|
...presented,
|
|
399
382
|
minWidth: { type: "number" },
|
|
400
383
|
minHeight: { type: "number" },
|
|
401
|
-
minHeightAtWidth: { type: "number", description: "The height needed at
|
|
384
|
+
minHeightAtWidth: { type: "number", description: "The height needed at the measured width, using minWidth if the requested width is smaller. minHeight also holds at minWidth and can be taller." },
|
|
402
385
|
naturalWidth: { type: "number" },
|
|
403
386
|
naturalHeight: { type: "number" },
|
|
404
387
|
comfortableWidth: { type: "number" },
|
|
@@ -407,7 +390,7 @@ var spec = z.looseObject({}).describe("The chart spec as an object: { name?, typ
|
|
|
407
390
|
fit: { type: "string", enum: ["fill", "content"] },
|
|
408
391
|
mode: { type: "string" },
|
|
409
392
|
titleLines: { type: ["number", "null"] },
|
|
410
|
-
refused: { type: ["object", "null"], description: "null,
|
|
393
|
+
refused: { type: ["object", "null"], description: "null when the requested size fits, otherwise { code, message, required?, suggest? }. required is a verified { width, height } when available. A size refusal can accompany ok true." }
|
|
411
394
|
}, described = {
|
|
412
395
|
type: { type: "string" },
|
|
413
396
|
summary: { type: "string" },
|
|
@@ -421,9 +404,11 @@ var spec = z.looseObject({}).describe("The chart spec as an object: { name?, typ
|
|
|
421
404
|
example: { type: ["object", "null"] },
|
|
422
405
|
data: { type: ["object", "array"] },
|
|
423
406
|
options: { type: ["object", "array"] },
|
|
424
|
-
sharedOptions: { type: "string" },
|
|
407
|
+
sharedOptions: { type: "string", description: "Compact detail: additional accepted shared option names and an exact path lookup example." },
|
|
408
|
+
cell: { type: "string", description: "Value-cell definition when the contract uses cell." },
|
|
409
|
+
anchor: { type: "string", description: "Anchor definition for the annotations this type supports." },
|
|
425
410
|
notAccepted: { type: "array", items: { type: "string" }, description: "Options this type refuses after ignored settings have been removed." },
|
|
426
|
-
ignored: { type: "array", items: { type: "string" }, description: "
|
|
411
|
+
ignored: { type: "array", items: { type: "string" }, description: "Options or option values this type ignores with an option-ignored warning and a remove patch. Present in compact and full detail." },
|
|
427
412
|
sizing: { type: "object" },
|
|
428
413
|
annotations: { type: ["object", "array"] },
|
|
429
414
|
fixtures: { type: ["object", "array"] },
|
|
@@ -431,7 +416,7 @@ var spec = z.looseObject({}).describe("The chart spec as an object: { name?, typ
|
|
|
431
416
|
presets: { type: "array", items: { type: "string" } },
|
|
432
417
|
tokens: { type: ["object", "array"] },
|
|
433
418
|
errorCodes: { type: "object" },
|
|
434
|
-
part: { type: "string", enum: ["data", "options", "spec", "design"], description: "
|
|
419
|
+
part: { type: "string", enum: ["data", "options", "spec", "design"], description: "The section returned by path or schema. spec identifies the bare chart's name field. design identifies the design guidance." },
|
|
435
420
|
path: { type: "string", description: "path: the field as the contract spells it." },
|
|
436
421
|
fields: { type: "array", items: { type: "object" }, description: "path: the field and every field below it, in full rows." },
|
|
437
422
|
refused: { type: "string", description: "path: why this type refuses the field." },
|
|
@@ -444,14 +429,14 @@ function toolInputs() {
|
|
|
444
429
|
return {
|
|
445
430
|
boardplot_list: z.strictObject({}),
|
|
446
431
|
boardplot_describe: z.strictObject({
|
|
447
|
-
type: z.enum([...chartTypes(), "theme"]).describe("
|
|
448
|
-
detail: z.enum(["compact", "full"]).default("compact").describe("compact
|
|
449
|
-
path: z.string().optional().describe("One field, such as
|
|
450
|
-
schema: z.enum(["data", "options"]).optional().describe("
|
|
432
|
+
type: z.enum([...chartTypes(), "theme"]).describe("Chart type or alias, such as bar or bridge. Use theme for presets and theme tokens."),
|
|
433
|
+
detail: z.enum(["compact", "full"]).default("compact").describe("Use compact for a starter contract and shared option names, then path for one field. full adds complete descriptions of the own data and option fields, the reading schema and all fixture IDs. Shared options stay names; use path for one."),
|
|
434
|
+
path: z.string().optional().describe("One field and its children, such as options.title or data.series[].values. Prefix data. or options. to disambiguate. Use design for complete design guidance when the response includes design. Not with schema or type theme."),
|
|
435
|
+
schema: z.enum(["data", "options"]).optional().describe("Return the JSON Schema for data or options instead of descriptive rows. Not with path or type theme.")
|
|
451
436
|
}),
|
|
452
437
|
boardplot_render: z.strictObject({
|
|
453
438
|
spec,
|
|
454
|
-
format: z.enum(["svg", "png"]).default("svg").describe("svg
|
|
439
|
+
format: z.enum(["svg", "png"]).default("svg").describe("Requested image format. PNG adds image content on success. With no usable rasterizer, PNG falls back to SVG with warnings. Other PNG export errors can fail the call. Explicit svg includes markup when return and outDir are omitted."),
|
|
455
440
|
target,
|
|
456
441
|
width: z.number().positive().optional().describe("Canvas width in px; overrides options.size. For pt or mm, put { width, height, unit } in spec options.size instead."),
|
|
457
442
|
height: z.number().positive().optional().describe("Canvas height in px; overrides options.size."),
|
|
@@ -459,26 +444,26 @@ function toolInputs() {
|
|
|
459
444
|
background: z.enum(["theme", "transparent"]).default("theme").describe("theme (default) draws the theme's canvas; transparent leaves it out. Halos keep the theme background colour, so place the result on a surface of that colour."),
|
|
460
445
|
overwrite: z.boolean().optional().describe("Replace existing output files when true. Default false. Chart names within one call still get distinct files."),
|
|
461
446
|
outDir: absolutePath("Absolute directory for the files, each named after its chart (a bare spec's name, default chart), or for a spec with one chart an absolute file path ending in .png or .svg; without format, that extension sets it. A new path that ends in any other letters-only extension, such as .jpg or .pdf, is refused; end it with / to make a folder of that name. It must sit under a client root, the server working directory, the temp folder or a folder in BOARDPLOT_ROWS_ROOTS. By default an existing file is not replaced: a taken name gets a -N suffix, outputs lists the paths written, and an out-name-taken warning names the requested and the written path.").optional(),
|
|
462
|
-
return: z.array(z.enum(["svg", "reading"])).default(["reading"]).describe("
|
|
447
|
+
return: z.array(z.enum(["svg", "reading"])).default(["reading"]).describe("Response fields: reading (default) reports labels, omissions and computed values. Include svg for inline markup. PNG image content is separate; with outDir, an empty return sends none."),
|
|
463
448
|
...rowArguments
|
|
464
449
|
}),
|
|
465
450
|
boardplot_measure: z.strictObject({
|
|
466
451
|
spec,
|
|
467
452
|
target,
|
|
468
|
-
width: z.number().positive().optional().describe("Width in px to measure at
|
|
453
|
+
width: z.number().positive().optional().describe("Width in px to measure at. Height estimates use at least minWidth. Put pt or mm in spec options.size."),
|
|
469
454
|
...rowArguments
|
|
470
455
|
}),
|
|
471
456
|
boardplot_fixtures: z.strictObject({
|
|
472
457
|
type: z.string().optional().describe("A chart type or alias."),
|
|
473
|
-
id: z.string().optional().describe("
|
|
474
|
-
kind: z.enum(["example", "torture", "all"]).default("example"),
|
|
475
|
-
cursor: z.string().optional().describe("nextCursor from the previous
|
|
458
|
+
id: z.string().optional().describe("Fixture ID from describe or fixtures. Pair with type because IDs are unique within a type. Selecting an ID ignores kind."),
|
|
459
|
+
kind: z.enum(["example", "torture", "all"]).default("example").describe("Listing filter: example for normal use, torture for stress cases, all for both. Ignored when id is supplied."),
|
|
460
|
+
cursor: z.string().optional().describe("nextCursor from the previous response. Repeat the same type and kind filters.")
|
|
476
461
|
}),
|
|
477
462
|
boardplot_feedback: z.strictObject({
|
|
478
463
|
category: z.enum(FEEDBACK_CATEGORIES),
|
|
479
464
|
summary: z.string().describe(`One line, at most ${SUMMARY_MAX} characters, on what Boardplot did wrong. No client names, numbers, labels or paths.`),
|
|
480
465
|
type: z.string().optional().describe("The chart type involved."),
|
|
481
|
-
codes: z.array(z.string()).optional().describe("Warning or error codes from the response, such as label-
|
|
466
|
+
codes: z.array(z.string()).optional().describe("Warning or error codes from the response, such as label-hidden."),
|
|
482
467
|
optionKeys: z.array(z.string()).optional().describe("Option names involved, such as valueAxis.")
|
|
483
468
|
})
|
|
484
469
|
};
|
|
@@ -500,7 +485,7 @@ function toolDefinitions() {
|
|
|
500
485
|
{
|
|
501
486
|
name: "boardplot_list",
|
|
502
487
|
title: "List chart types",
|
|
503
|
-
description: "
|
|
488
|
+
description: "Find a supported chart type when you have not chosen one. Returns chart types, use cases, aliases, variants, minimum sizes, shared options and theme presets. Unsupported chart forms include alternatives where available. For a known type, use boardplot_describe directly.",
|
|
504
489
|
inputSchema: jsonInput(inputs.boardplot_list),
|
|
505
490
|
outputSchema: output({
|
|
506
491
|
engine: { type: "string" },
|
|
@@ -518,7 +503,7 @@ function toolDefinitions() {
|
|
|
518
503
|
{
|
|
519
504
|
name: "boardplot_describe",
|
|
520
505
|
title: "Describe one chart type",
|
|
521
|
-
description: "
|
|
506
|
+
description: "Learn a known chart type without a catalogue call. Compact detail returns a starter spec, data and option fields, shared option names, sizing and fixture IDs. Use path for one field or a description ending in \u2026, which marks shortened text. A field lookup reports acceptance or refusal. Use full for complete descriptions of the own fields of the type. Type theme returns theme presets and tokens.",
|
|
522
507
|
inputSchema: jsonInput(inputs.boardplot_describe),
|
|
523
508
|
outputSchema: output(described),
|
|
524
509
|
annotations: READ_ONLY
|
|
@@ -526,11 +511,11 @@ function toolDefinitions() {
|
|
|
526
511
|
{
|
|
527
512
|
name: "boardplot_render",
|
|
528
513
|
title: "Draw a chart",
|
|
529
|
-
description: "
|
|
514
|
+
description: "Draw charts from a supplied spec, with optional data from inline rows or a local file. Call directly when the spec is ready: rendering also validates input and returns ok false with actionable errors on failure. The default response includes a reading of labels, omissions and computed values. Request inline SVG, PNG image content or files through the output arguments. Inspect warnings, the reading and the actual output format before using the chart. Errors stop at ten, then more-errors. A fix is a JSON Patch for the spec or the arguments, as its path names; for a file row, edit the source cell that displayPath names. Repeated design advice appears once per server session. ok false means nothing was drawn; a warn warning needs a review; info and advice need no retry.",
|
|
530
515
|
inputSchema: jsonInput(inputs.boardplot_render),
|
|
531
516
|
outputSchema: output({
|
|
532
517
|
...drawn,
|
|
533
|
-
charts: { type: "array", items: { type: "object", properties: { name: { type: "string" }, ...drawn } } },
|
|
518
|
+
charts: { type: "array", items: { type: "object", properties: { name: { type: "string" }, ...drawn, reading: { type: "object", description: "The top-level reading shape." } } } },
|
|
534
519
|
outputs: { type: "array", items: { type: "string" } }
|
|
535
520
|
}),
|
|
536
521
|
// overwrite can replace files; the default still allocates fresh names.
|
|
@@ -539,7 +524,7 @@ function toolDefinitions() {
|
|
|
539
524
|
{
|
|
540
525
|
name: "boardplot_measure",
|
|
541
526
|
title: "Measure a chart without drawing",
|
|
542
|
-
description: "
|
|
527
|
+
description: "Find chart dimensions for a constrained container or after a size refusal. Returns minimum, natural and comfortable dimensions in pixels without an image. Keep the container at least minWidth wide, use minHeightAtWidth as the height floor and naturalHeight as the target height. Check refused even when ok is true. A refusal includes required dimensions when a fitting size was found.",
|
|
543
528
|
inputSchema: jsonInput(inputs.boardplot_measure),
|
|
544
529
|
outputSchema: output({
|
|
545
530
|
...measured,
|
|
@@ -551,7 +536,7 @@ function toolDefinitions() {
|
|
|
551
536
|
{
|
|
552
537
|
name: "boardplot_fixtures",
|
|
553
538
|
title: "Runnable example specs",
|
|
554
|
-
description: "
|
|
539
|
+
description: "Find a runnable example for a chart or retrieve a known fixture. Replace its illustrative data and text while keeping the option structure. Scope listings by type to avoid unrelated examples. Listings return up to 25 fixtures per page with nextCursor when more remain. The default kind is example, while torture selects stress cases.",
|
|
555
540
|
inputSchema: jsonInput(inputs.boardplot_fixtures),
|
|
556
541
|
outputSchema: output({
|
|
557
542
|
fixtures: {
|
|
@@ -562,7 +547,7 @@ function toolDefinitions() {
|
|
|
562
547
|
required: ["id", "type", "chart", "useCase", "spec"]
|
|
563
548
|
}
|
|
564
549
|
},
|
|
565
|
-
nextCursor: { type: "string" },
|
|
550
|
+
nextCursor: { type: "string", description: "Pass as cursor with the same filters to retrieve the next page. Absent on the last page." },
|
|
566
551
|
note: { type: "string" }
|
|
567
552
|
}),
|
|
568
553
|
annotations: READ_ONLY
|
|
@@ -570,7 +555,7 @@ function toolDefinitions() {
|
|
|
570
555
|
{
|
|
571
556
|
name: "boardplot_feedback",
|
|
572
557
|
title: "Draft a problem report",
|
|
573
|
-
description: "
|
|
558
|
+
description: "Draft a problem report when Boardplot fails, wrongly refuses valid input or draws a misleading chart. Returns version and system details, your summary and a prefilled GitHub issue URL. The tool sends nothing. Show the draft to the user, who decides whether to submit it.",
|
|
574
559
|
inputSchema: jsonInput(inputs.boardplot_feedback),
|
|
575
560
|
outputSchema: output({
|
|
576
561
|
sent: { type: "boolean" },
|
|
@@ -815,7 +800,7 @@ function runTool(name, args) {
|
|
|
815
800
|
case "boardplot_fixtures":
|
|
816
801
|
return fixtures(args);
|
|
817
802
|
case "boardplot_render":
|
|
818
|
-
return render(args);
|
|
803
|
+
return render({ ...args, adviceRead: (code) => !(onceAdvice.has(code) && reportedAdvice.has(code)) });
|
|
819
804
|
case "boardplot_measure":
|
|
820
805
|
return measure(args);
|
|
821
806
|
case "boardplot_feedback":
|
|
@@ -847,11 +832,11 @@ function themeLintsOnce(spec2, result) {
|
|
|
847
832
|
});
|
|
848
833
|
return warnings.length === body.warnings.length ? result : { ...result, body: { ...body, warnings } };
|
|
849
834
|
}
|
|
850
|
-
var reportedAdvice = /* @__PURE__ */ new Set();
|
|
835
|
+
var reportedAdvice = /* @__PURE__ */ new Set(), onceAdvice = new Set(designCodes);
|
|
851
836
|
function adviceOnce(result) {
|
|
852
837
|
let body = result.body;
|
|
853
838
|
if (!Array.isArray(body.warnings)) return result;
|
|
854
|
-
let warnings = body.warnings.filter((warning) => warning.severity !== "advice" ? !0 : reportedAdvice.has(warning.code) ? !1 : (reportedAdvice.add(warning.code), !0));
|
|
839
|
+
let warnings = body.warnings.filter((warning) => warning.severity !== "advice" || !onceAdvice.has(warning.code) ? !0 : reportedAdvice.has(warning.code) ? !1 : (reportedAdvice.add(warning.code), !0));
|
|
855
840
|
return warnings.length === body.warnings.length ? result : { ...result, body: { ...body, warnings } };
|
|
856
841
|
}
|
|
857
842
|
function dispatch(name, args) {
|
|
@@ -943,7 +928,7 @@ function startMcpServer() {
|
|
|
943
928
|
console.error(`boardplot-mcp: ${error instanceof Error ? error.message : error}`), process.exit(1);
|
|
944
929
|
}
|
|
945
930
|
sanitizeObjectPrototype((message) => console.error(`\u26A0 ${message}`));
|
|
946
|
-
let
|
|
931
|
+
let initialized = !1, rootsSupported = !1, rootsRequests = 0, rootsRequest, rootsReady = Promise.resolve(), rasterReady, settleRoots, requestRoots = () => {
|
|
947
932
|
settleRoots?.([]), rootsRequest = `boardplot-roots-${++rootsRequests}`, rootsReady = new Promise((resolveRoots) => {
|
|
948
933
|
let done = (roots) => {
|
|
949
934
|
clearTimeout(timer), clientRoots = roots, settleRoots = void 0, resolveRoots();
|
|
@@ -951,21 +936,8 @@ function startMcpServer() {
|
|
|
951
936
|
settleRoots = done;
|
|
952
937
|
}), process.stdout.write(`${JSON.stringify({ jsonrpc: "2.0", id: rootsRequest, method: "roots/list" })}
|
|
953
938
|
`);
|
|
954
|
-
}
|
|
955
|
-
rl.on("close", () => {
|
|
956
|
-
settleRoots?.([]);
|
|
957
|
-
try {
|
|
958
|
-
usage.flush();
|
|
959
|
-
} catch {
|
|
960
|
-
}
|
|
961
|
-
}), rl.on("line", (line) => {
|
|
939
|
+
}, handleLine = (line) => {
|
|
962
940
|
if (!line.trim()) return;
|
|
963
|
-
if (Buffer.byteLength(line, "utf8") > MCP_LIMITS.maxJsonLineBytes)
|
|
964
|
-
return respondError(
|
|
965
|
-
null,
|
|
966
|
-
-32600,
|
|
967
|
-
`request line exceeds ${MCP_LIMITS.maxJsonLineBytes} bytes; split the spec into smaller requests`
|
|
968
|
-
);
|
|
969
941
|
let parsed;
|
|
970
942
|
try {
|
|
971
943
|
parsed = JSON.parse(line);
|
|
@@ -1019,7 +991,9 @@ function startMcpServer() {
|
|
|
1019
991
|
-32602,
|
|
1020
992
|
`Invalid params: tools/call params.name must be a string, received ${Object.prototype.hasOwnProperty.call(params, "name") ? describeValue(params.name) : "missing"}`
|
|
1021
993
|
);
|
|
1022
|
-
let name = params.name, args = params.arguments ?? {}
|
|
994
|
+
let name = params.name, args = params.arguments ?? {};
|
|
995
|
+
name === "boardplot_render" && isRecord(args) && drawsPng(args.format, args.outDir) && (rasterReady ??= loadRasterFonts());
|
|
996
|
+
let answer = () => {
|
|
1023
997
|
let r = callTool(name, args);
|
|
1024
998
|
respond(req.id, {
|
|
1025
999
|
content: r.content,
|
|
@@ -1027,7 +1001,7 @@ function startMcpServer() {
|
|
|
1027
1001
|
...r.isError ? { isError: !0 } : {}
|
|
1028
1002
|
});
|
|
1029
1003
|
};
|
|
1030
|
-
return settleRoots ? void rootsReady.then(answer).catch((e) => respondError(req.id, -32603, e instanceof Error ? e.message : String(e)))
|
|
1004
|
+
return !settleRoots && !rasterReady ? answer() : void Promise.all([rootsReady, rasterReady]).then(answer).catch((e) => respondError(req.id, -32603, e instanceof Error ? e.message : String(e)));
|
|
1031
1005
|
}
|
|
1032
1006
|
case "ping":
|
|
1033
1007
|
return respond(req.id, {});
|
|
@@ -1037,8 +1011,37 @@ function startMcpServer() {
|
|
|
1037
1011
|
} catch (e) {
|
|
1038
1012
|
respondError(req.id, -32603, e instanceof Error ? e.message : String(e));
|
|
1039
1013
|
}
|
|
1014
|
+
}, lines = boundedLines(MCP_LIMITS.maxJsonLineBytes, handleLine, () => respondError(
|
|
1015
|
+
null,
|
|
1016
|
+
-32600,
|
|
1017
|
+
`request line exceeds ${MCP_LIMITS.maxJsonLineBytes} bytes; split the spec into smaller requests`
|
|
1018
|
+
));
|
|
1019
|
+
process.stdin.on("data", (chunk) => lines.push(chunk)), process.stdin.once("end", () => {
|
|
1020
|
+
lines.end(), settleRoots?.([]);
|
|
1021
|
+
try {
|
|
1022
|
+
usage.flush();
|
|
1023
|
+
} catch {
|
|
1024
|
+
}
|
|
1040
1025
|
});
|
|
1041
1026
|
}
|
|
1027
|
+
function boundedLines(maxBytes, onLine, onOverflow) {
|
|
1028
|
+
let parts = [], held = 0, dropping = !1, emit = () => {
|
|
1029
|
+
let line = Buffer.concat(parts, held).toString("utf8");
|
|
1030
|
+
parts = [], held = 0, onLine(line.endsWith("\r") ? line.slice(0, -1) : line);
|
|
1031
|
+
};
|
|
1032
|
+
return {
|
|
1033
|
+
push(chunk) {
|
|
1034
|
+
for (let start = 0; start < chunk.length; ) {
|
|
1035
|
+
let newline = chunk.indexOf(10, start), end = newline === -1 ? chunk.length : newline;
|
|
1036
|
+
if (dropping || (held += end - start, held > maxBytes ? (dropping = !0, parts = [], held = 0, onOverflow()) : parts.push(Buffer.from(chunk.subarray(start, end)))), newline === -1) return;
|
|
1037
|
+
dropping ? dropping = !1 : emit(), start = newline + 1;
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
end() {
|
|
1041
|
+
!dropping && held > 0 && emit();
|
|
1042
|
+
}
|
|
1043
|
+
};
|
|
1044
|
+
}
|
|
1042
1045
|
var invoked = process.argv[1];
|
|
1043
1046
|
if (invoked) {
|
|
1044
1047
|
let direct = import.meta.url === pathToFileURL(invoked).href;
|
|
@@ -1047,7 +1050,7 @@ if (invoked) {
|
|
|
1047
1050
|
direct = import.meta.url === pathToFileURL(realpathSync(invoked)).href;
|
|
1048
1051
|
} catch {
|
|
1049
1052
|
}
|
|
1050
|
-
direct &&
|
|
1053
|
+
direct && startMcpServer();
|
|
1051
1054
|
}
|
|
1052
1055
|
export {
|
|
1053
1056
|
ABSOLUTE_OUT_DIR_PATTERN,
|
package/dist/react/bar.js
CHANGED
package/dist/react/bartable.js
CHANGED
package/dist/react/box.js
CHANGED
package/dist/react/bullet.js
CHANGED
package/dist/react/butterfly.js
CHANGED