boardplot 0.56.0 → 0.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +408 -0
- package/README.md +49 -15
- package/dist/{DiagnosticDetails-JFBBXOT2.js → DiagnosticDetails-VGSL4NJK.js} +1 -1
- package/dist/{ReaderBox-GLCKYXBU.js → ReaderBox-MHMXIDAJ.js} +8 -7
- package/dist/{annotateEngine-QVNAE3EH.js → annotateEngine-753KQBNN.js} +2 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-HZUAEMN5.js → chunk-2CQBBN7M.js} +4 -4
- package/dist/{chunk-K3VZ5QJK.js → chunk-2ETK5TSA.js} +4 -4
- package/dist/{chunk-HHXIVFAU.js → chunk-2ETSI2EL.js} +11 -9
- package/dist/{chunk-ECBUFKCP.js → chunk-2GRXHWRH.js} +3 -3
- package/dist/{chunk-ZVM5TFGR.js → chunk-2HII2B6S.js} +6 -2
- package/dist/{chunk-WBETBGSC.js → chunk-2LC2H3ZM.js} +1003 -907
- package/dist/chunk-2NX7EO7H.js +23 -0
- package/dist/{chunk-52WNCUIN.js → chunk-2QI2PK2O.js} +1 -1
- package/dist/{chunk-QWCLWFKC.js → chunk-2VKQQLP7.js} +180 -58
- package/dist/chunk-3DOVXJ6K.js +602 -0
- package/dist/{chunk-CAJ54IEP.js → chunk-3E6NLODZ.js} +1 -1
- package/dist/{chunk-MOS6WFWM.js → chunk-3HA4IJTO.js} +9 -9
- package/dist/{chunk-JCIXYOND.js → chunk-3HPPTQEW.js} +4 -4
- package/dist/{chunk-7VVHTOE7.js → chunk-3KT2647F.js} +4 -2
- package/dist/{chunk-O6ZTIDWB.js → chunk-3MFVJMP6.js} +3 -2
- package/dist/{chunk-KQCKK3LD.js → chunk-3P3FKPFN.js} +170 -73
- package/dist/{chunk-WI5VOSQX.js → chunk-3XAJSMYD.js} +2 -2
- package/dist/{chunk-CPGASWNN.js → chunk-42QKUSHJ.js} +13 -3
- package/dist/{chunk-QB5HV4IY.js → chunk-44JU3VOT.js} +7 -8
- package/dist/{chunk-BYCJ6TKI.js → chunk-44K75CYE.js} +3 -3
- package/dist/{chunk-MS7O3KDJ.js → chunk-4FNM4D57.js} +6 -6
- package/dist/{chunk-BVYIKLQ5.js → chunk-4ROZ4TFL.js} +1 -1
- package/dist/{chunk-3V62N3Z7.js → chunk-4VV3KUFT.js} +7 -8
- package/dist/{chunk-MAFPVR4G.js → chunk-54YO56IK.js} +10 -5
- package/dist/{chunk-JMGB444D.js → chunk-5ACFYNA4.js} +8 -4
- package/dist/{chunk-6AMN7IKJ.js → chunk-5JEU6MWC.js} +49 -28
- package/dist/{chunk-NCLRZQR6.js → chunk-5JIB4VJA.js} +18 -10
- package/dist/{chunk-SXD3OYAR.js → chunk-5OP3E2ZD.js} +205 -96
- package/dist/{chunk-SS4YGK3E.js → chunk-5SLBD4BT.js} +72 -304
- package/dist/{chunk-XMP2DNLI.js → chunk-5SVGTQTW.js} +4 -4
- package/dist/chunk-5U567TYU.js +23 -0
- package/dist/chunk-5ZLF4S7X.js +40 -0
- package/dist/{chunk-T2YDWT54.js → chunk-5ZMTQATF.js} +261 -147
- package/dist/{chunk-WXJ5MHLH.js → chunk-62BDQTO6.js} +2 -2
- package/dist/chunk-64K3V4VN.js +25 -0
- package/dist/{chunk-BK6P6KMW.js → chunk-67YJJJIB.js} +1 -1
- package/dist/{chunk-32LLDRPI.js → chunk-6DJNFT2K.js} +42 -32
- package/dist/{chunk-JYAZPMSA.js → chunk-6IUK6PAH.js} +7 -6
- package/dist/{chunk-7STMIK2X.js → chunk-6JFQCVNN.js} +4 -4
- package/dist/chunk-6JXBLQJ2.js +32 -0
- package/dist/{chunk-5TWY3ZIC.js → chunk-6XPV6M3Q.js} +5 -5
- package/dist/{chunk-MPO5TVGF.js → chunk-6ZDSEITW.js} +3 -3
- package/dist/{chunk-75WIUG2W.js → chunk-72HVDLMT.js} +172 -78
- package/dist/chunk-75NU5RLX.js +24 -0
- package/dist/chunk-76GPN6AT.js +72 -0
- package/dist/chunk-7BQK2UDV.js +13 -0
- package/dist/{chunk-CF4NMRN7.js → chunk-7CAYRPJV.js} +45 -25
- package/dist/{chunk-U3A6FMSI.js → chunk-7GWWBHVQ.js} +7 -7
- package/dist/{chunk-CHAS5A5B.js → chunk-7NYUFMLJ.js} +149 -86
- package/dist/{chunk-D2B3KP35.js → chunk-7VWXXBTC.js} +4 -0
- package/dist/chunk-A65B23JK.js +113 -0
- package/dist/{chunk-4KMZAK6J.js → chunk-A7R6FUS6.js} +4 -4
- package/dist/{chunk-E2ZUBP4Q.js → chunk-AEVGUOPB.js} +7 -8
- package/dist/chunk-AHIK2N72.js +53 -0
- package/dist/{chunk-KLB2QC24.js → chunk-AICO24HJ.js} +5 -2
- package/dist/{chunk-7KSUMFBK.js → chunk-AJGSCVVW.js} +5 -1
- package/dist/{chunk-RSCRIWAH.js → chunk-AL62JJTB.js} +10 -3
- package/dist/{chunk-E7V3OHQQ.js → chunk-AN2V2LC4.js} +37 -22
- package/dist/{chunk-JIEVDGAF.js → chunk-AOFUA5XP.js} +1 -1
- package/dist/chunk-B5A7X2BA.js +44 -0
- package/dist/{chunk-2HTYGMMG.js → chunk-BCMEGJRX.js} +2 -2
- package/dist/{chunk-KD5GOR2K.js → chunk-BDIKWR45.js} +124 -69
- package/dist/{chunk-FNRPQIQE.js → chunk-BG6AIWAK.js} +4 -6
- package/dist/{chunk-ZMPH2OC4.js → chunk-BOT6W3VB.js} +7 -8
- package/dist/{chunk-DRHQG44U.js → chunk-BQBD6Q5J.js} +6 -2
- package/dist/{chunk-2DOEZ5QY.js → chunk-BZ67BJBH.js} +11 -10
- package/dist/{chunk-UBCVBBJJ.js → chunk-C47POAC5.js} +4 -3
- package/dist/{chunk-O7REHICC.js → chunk-C5OBPO4Z.js} +36 -28
- package/dist/{chunk-IGNBQT23.js → chunk-CCAAI56H.js} +121 -10
- package/dist/{chunk-RPIKNMZA.js → chunk-CDUR3KWV.js} +7 -2
- package/dist/{chunk-MZACASZY.js → chunk-CMPHT2LS.js} +14 -2
- package/dist/{chunk-FHA3KMFC.js → chunk-CQBPNE7Z.js} +5 -1
- package/dist/{chunk-IVRYF7QA.js → chunk-CR5FP5SF.js} +1 -1
- package/dist/{chunk-DD6RVD3S.js → chunk-D2TQX7UJ.js} +5 -1
- package/dist/{chunk-VVXKFU72.js → chunk-DEANHDXU.js} +62 -41
- package/dist/{chunk-GM3EGUYW.js → chunk-DHGE46UK.js} +1 -1
- package/dist/{chunk-UZTQUPTB.js → chunk-DIHX6NUB.js} +5 -5
- package/dist/{chunk-MD6DCQMA.js → chunk-DILQ34NW.js} +37 -37
- package/dist/{chunk-YMTXTQCN.js → chunk-DJKRYJP7.js} +6 -6
- package/dist/{chunk-JCAGVAB3.js → chunk-DKLC6QLF.js} +1200 -21
- package/dist/{chunk-SRAV6FPB.js → chunk-DNHTMCUP.js} +3 -3
- package/dist/{chunk-CKGSGRP7.js → chunk-DORE2RHL.js} +21 -5
- package/dist/{chunk-SMHZXHHD.js → chunk-DZYTXZNS.js} +15 -5
- package/dist/chunk-E262NRFP.js +39 -0
- package/dist/{chunk-V5JQQMFQ.js → chunk-E5YF236N.js} +4 -1
- package/dist/{chunk-IGJ2G5C6.js → chunk-EBUK7HJP.js} +6 -6
- package/dist/{chunk-ZL6IHMOW.js → chunk-ECBHC272.js} +198 -119
- package/dist/{chunk-SA46CNMS.js → chunk-ED7GLWTF.js} +4 -1
- package/dist/chunk-EFW43JQJ.js +24 -0
- package/dist/{chunk-5P2TTHBZ.js → chunk-EHRRHSPV.js} +2 -2
- package/dist/{chunk-JXBZIJCG.js → chunk-EILNJQMN.js} +32 -12
- package/dist/{chunk-GELSK76Y.js → chunk-ERDKMZ7O.js} +3 -3
- package/dist/{chunk-T2CYNDYU.js → chunk-ETRAPN5G.js} +366 -130
- package/dist/{chunk-JEUL777U.js → chunk-ETUKDEGL.js} +21 -12
- package/dist/chunk-F2ET5ZTT.js +49 -0
- package/dist/{chunk-2YO4WRJN.js → chunk-F3XOBFS4.js} +40 -29
- package/dist/{chunk-SPSGUFTI.js → chunk-FB6X7QHA.js} +1 -1
- package/dist/{chunk-5PPQIF4D.js → chunk-FGW54I23.js} +7 -8
- package/dist/{chunk-JTC5SEAQ.js → chunk-FP5B5XIL.js} +7 -3
- package/dist/{chunk-RJGCYGC3.js → chunk-FRHQGA5Q.js} +86 -250
- package/dist/{chunk-YZZLIYPA.js → chunk-FRR7BJ3B.js} +5 -1
- package/dist/{chunk-4DZFR52I.js → chunk-FVWHEM2N.js} +7 -5
- package/dist/{chunk-YPYD6OJ3.js → chunk-FWSMENKH.js} +2 -2
- package/dist/{chunk-YYJORENB.js → chunk-FWTUGNSF.js} +8 -8
- package/dist/{chunk-GIHH6VC2.js → chunk-FZKDZQ6U.js} +10 -6
- package/dist/{chunk-S7NRL66K.js → chunk-G4FF6G3I.js} +26 -17
- package/dist/{chunk-PQLAZEQV.js → chunk-GB6BZSTL.js} +248 -92
- package/dist/chunk-GCIHRRDJ.js +24 -0
- package/dist/{chunk-X3KCQEYZ.js → chunk-GHCU6OSE.js} +9 -1
- package/dist/chunk-GKDUIDU6.js +138 -0
- package/dist/chunk-GO66OCN7.js +24 -0
- package/dist/chunk-GOFS336W.js +24 -0
- package/dist/{chunk-AGDDH6XY.js → chunk-GQYT7G4F.js} +5 -1
- package/dist/{chunk-WN3HEU3P.js → chunk-GUTLXO7Q.js} +140 -89
- package/dist/chunk-H3VICNTN.js +47 -0
- package/dist/{chunk-GC4WOLV3.js → chunk-HAG3K6PQ.js} +14 -2
- package/dist/{chunk-CB4CERXZ.js → chunk-HBQHSZ6S.js} +11 -2
- package/dist/chunk-HTQGJQZN.js +124 -0
- package/dist/{chunk-F77TMAUY.js → chunk-HUQRO6VF.js} +39 -36
- package/dist/{chunk-4KQHKPB3.js → chunk-I5VDW2XZ.js} +543 -509
- package/dist/{chunk-43GGVT7W.js → chunk-I5VNHDPR.js} +11 -4
- package/dist/{chunk-4LTN7SND.js → chunk-IDXYHDQY.js} +1 -1
- package/dist/{chunk-Y54LU4CU.js → chunk-IIWZJ5ZM.js} +1 -1
- package/dist/{chunk-FMDNJ6PC.js → chunk-IPBOREIY.js} +2 -2
- package/dist/chunk-IU335UO7.js +27 -0
- package/dist/{chunk-JVZTKQFS.js → chunk-IVDTP6SV.js} +9 -5
- package/dist/{chunk-BDGLMWPO.js → chunk-IXOBDDMW.js} +11 -2
- package/dist/{chunk-EIL3KHAL.js → chunk-J4QRB6DQ.js} +5 -5
- package/dist/{chunk-3465633G.js → chunk-JCMGKQVS.js} +3 -3
- package/dist/{chunk-YK2KWNTU.js → chunk-JM7UTLF3.js} +28 -14
- package/dist/{chunk-CXETOLPX.js → chunk-JNDWRV34.js} +4 -4
- package/dist/{chunk-DLUNQHFO.js → chunk-JSRQTDZZ.js} +26 -24
- package/dist/{chunk-WTQAG2OT.js → chunk-JT3UTEWZ.js} +8 -3
- package/dist/{chunk-GQT2SY2S.js → chunk-JUYRDZSV.js} +291 -151
- package/dist/{chunk-LKMFMNQX.js → chunk-JVGL2SCN.js} +1 -1
- package/dist/{chunk-4JC3SE4G.js → chunk-JY4LTPOV.js} +1 -1
- package/dist/chunk-K7XPTQBJ.js +267 -0
- package/dist/{chunk-P4SMC4BY.js → chunk-KGBUXMFP.js} +120 -86
- package/dist/{chunk-XC5IRUEL.js → chunk-KIE5V3DA.js} +2 -2
- package/dist/{chunk-RT66UTLJ.js → chunk-KU4PCG4W.js} +2 -2
- package/dist/{chunk-VPL3JYC6.js → chunk-KVBLTAO7.js} +52 -10
- package/dist/{chunk-XCROSJ2Z.js → chunk-KW4JXWHO.js} +1 -1
- package/dist/{chunk-PJBEJR2U.js → chunk-KWIP5YRA.js} +24 -7
- package/dist/{chunk-JYBT2JNY.js → chunk-LE3LSEUL.js} +27 -2
- package/dist/{chunk-R2IKOLBK.js → chunk-LG6M2JTH.js} +3 -3
- package/dist/{chunk-DF3XEFQ7.js → chunk-LIE2WSB4.js} +21 -18
- package/dist/{chunk-Z55DXFWS.js → chunk-LJDATBPB.js} +26 -16
- package/dist/{chunk-KLIZXSBK.js → chunk-LMMS675D.js} +10 -9
- package/dist/{chunk-MRAP2UVV.js → chunk-LPKGZ664.js} +286 -35
- package/dist/{chunk-JFFREZGT.js → chunk-LPMSGO7L.js} +6 -2
- package/dist/chunk-LQWINE7K.js +211 -0
- package/dist/{chunk-6MJUW5R5.js → chunk-MKMMQDIY.js} +139 -71
- package/dist/{chunk-F5BYLT3M.js → chunk-MQ4IEDM5.js} +462 -138
- package/dist/{chunk-QGFKSDQO.js → chunk-MRM4KJ2O.js} +2 -2
- package/dist/{chunk-ETMHDCEH.js → chunk-MX2OZHIT.js} +102 -42
- package/dist/{chunk-6EYTD777.js → chunk-MXUPMGRY.js} +2 -2
- package/dist/{chunk-2FKEF2AC.js → chunk-NHU26HQ7.js} +58 -35
- package/dist/{chunk-KBJMLXNW.js → chunk-NQVJ4FPY.js} +161 -78
- package/dist/chunk-NZ7FX3AE.js +65 -0
- package/dist/chunk-OALBVELJ.js +23 -0
- package/dist/{chunk-5S3JQ5AT.js → chunk-OGZ4UPYK.js} +183 -137
- package/dist/{chunk-6WHWXCHJ.js → chunk-OMNB27GM.js} +7 -3
- package/dist/{chunk-EGGDPDYJ.js → chunk-OO63YP35.js} +1 -1
- package/dist/{chunk-ZYQYX66L.js → chunk-OPYDTW5Q.js} +6 -6
- package/dist/{chunk-A2GAWGVJ.js → chunk-OSJN7KDS.js} +68 -39
- package/dist/{chunk-RMC4OONA.js → chunk-OSJXIW6I.js} +1030 -1123
- package/dist/{chunk-X23SZHV5.js → chunk-OVVE42P4.js} +6 -6
- package/dist/{chunk-CCJP6QZO.js → chunk-OZA7HA6L.js} +1 -1
- package/dist/chunk-OZLKEBCD.js +54 -0
- package/dist/{chunk-TE4M52AA.js → chunk-P6DEFCMQ.js} +18 -2
- package/dist/{chunk-AMR4SUAN.js → chunk-PDTIQL3B.js} +6 -6
- package/dist/{chunk-BIVL764T.js → chunk-PJ5BYZPN.js} +2 -2
- package/dist/{chunk-BISJK67O.js → chunk-PK7Z7WRJ.js} +98 -46
- package/dist/{chunk-7VMEM3LN.js → chunk-PL6NWB5U.js} +178 -113
- package/dist/chunk-PMT75APP.js +94 -0
- package/dist/chunk-PP6A4X55.js +11 -0
- package/dist/{chunk-I7H5DU34.js → chunk-PPCH3PLO.js} +25 -13
- package/dist/{chunk-BIGQKCU7.js → chunk-PPE6S7WU.js} +42 -24
- package/dist/{chunk-2NSQIPAA.js → chunk-PT7KSIEO.js} +23 -36
- package/dist/{chunk-KZJ5VM6E.js → chunk-PZ3TQFSY.js} +15 -1
- package/dist/{chunk-ZJFJ2IKQ.js → chunk-QAUGRVRU.js} +122 -23
- package/dist/{chunk-BTDGWHGJ.js → chunk-QMFWZG2P.js} +39 -19
- package/dist/{chunk-L6YVK6VC.js → chunk-QZGGCE45.js} +2 -2
- package/dist/{chunk-67QSW5RW.js → chunk-R2RJQ3BM.js} +4 -4
- package/dist/{chunk-ZY72LSQK.js → chunk-R7HBIQ63.js} +102 -61
- package/dist/{chunk-4JHMCXOB.js → chunk-RBNDZLYS.js} +77 -36
- package/dist/chunk-RCSY4CT4.js +2170 -0
- package/dist/{chunk-NGA7ICG4.js → chunk-RDJ3ZU6O.js} +16 -13
- package/dist/{chunk-2NN676RI.js → chunk-RHQRPJHS.js} +7 -8
- package/dist/chunk-RI6XQKWJ.js +26 -0
- package/dist/{chunk-YOOHNQ3L.js → chunk-RJICOOB3.js} +18 -8
- package/dist/{chunk-5DTCOOLU.js → chunk-RLAVNCQJ.js} +2 -2
- package/dist/{chunk-CYKXROFG.js → chunk-ROPPWJQB.js} +23 -12
- package/dist/{chunk-54ROMBU7.js → chunk-SELOV32X.js} +105 -50
- package/dist/{chunk-TUW5IYGA.js → chunk-SQI4NWTQ.js} +9 -9
- package/dist/{chunk-ZEYBI47P.js → chunk-SRJ74CMG.js} +11 -3
- package/dist/{chunk-NHC2ADGI.js → chunk-STWOURLG.js} +253 -144
- package/dist/chunk-SWMFXSVW.js +23 -0
- package/dist/chunk-SXAZDIGM.js +84 -0
- package/dist/{chunk-EMFUZKYK.js → chunk-SZ5VGWDY.js} +3 -3
- package/dist/{chunk-R5MEBBAA.js → chunk-T26G23RS.js} +442 -119
- package/dist/{chunk-QHRE2M6V.js → chunk-T2L5H2WW.js} +4 -3
- package/dist/chunk-T7GPIJ4L.js +89 -0
- package/dist/{chunk-MJPXHCBW.js → chunk-TAEB3RU6.js} +5 -5
- package/dist/{chunk-V7F4F6JA.js → chunk-TBDIMTRD.js} +37 -16
- package/dist/{chunk-63Y3ROZ7.js → chunk-TFFPEWNP.js} +102 -64
- package/dist/{chunk-EZZ533MH.js → chunk-TMEUK2WS.js} +6 -2
- package/dist/{chunk-37PKNVLS.js → chunk-TVOMGNFQ.js} +1 -1
- package/dist/{chunk-HJRNBKIT.js → chunk-TX5FSNAU.js} +436 -30
- package/dist/{chunk-V634AXDM.js → chunk-U52PNFPX.js} +1 -1
- package/dist/{chunk-QLANK3VN.js → chunk-U74AWJ3X.js} +6 -6
- package/dist/chunk-UC7LBW7N.js +26 -0
- package/dist/{chunk-PZ46S2SY.js → chunk-UCKUAKYQ.js} +2 -2
- package/dist/{chunk-KF7HD3EH.js → chunk-UCYL3YA7.js} +77 -55
- package/dist/{chunk-HOU2MZHC.js → chunk-UD2GI3CS.js} +11 -4
- package/dist/{chunk-SNQ7D5R7.js → chunk-UIHGGWES.js} +51 -11
- package/dist/{chunk-LGNJCPFP.js → chunk-ULQIC76A.js} +10 -13
- package/dist/{chunk-KTHFHD6C.js → chunk-UY34DDUM.js} +11 -6
- package/dist/{chunk-6QDMRPXI.js → chunk-UYMFLWM6.js} +215 -258
- package/dist/{chunk-KDSYZLF6.js → chunk-V5IFI3FV.js} +8 -1
- package/dist/{chunk-JTFKRDDA.js → chunk-V7FV66KL.js} +1 -1
- package/dist/{chunk-27OIGDRK.js → chunk-V7NUJEJE.js} +1 -1
- package/dist/{chunk-CCDXK5NA.js → chunk-VESSIKBG.js} +8 -3
- package/dist/{chunk-QSMGZOT5.js → chunk-VRFJAF3R.js} +7 -8
- package/dist/chunk-VS2R3OGN.js +34 -0
- package/dist/{chunk-RLMC5CUP.js → chunk-VS5B4J2D.js} +7 -8
- package/dist/{chunk-7M2GK7XQ.js → chunk-W4R6SGU3.js} +252 -121
- package/dist/{chunk-JKOEHRGV.js → chunk-WDLWWEHZ.js} +1 -1
- package/dist/{chunk-7DAH2E4T.js → chunk-WFBN2HXR.js} +2 -2
- package/dist/{chunk-DLDDRXAI.js → chunk-WJS6SAWA.js} +296 -145
- package/dist/{chunk-WWGPTEQB.js → chunk-WQYNKF33.js} +73 -22
- package/dist/{chunk-64LJDGJH.js → chunk-WUP6C4ZD.js} +4 -2
- package/dist/{chunk-F2EVCJ4U.js → chunk-X24WAHHV.js} +87 -43
- package/dist/{chunk-OJ5CQV7H.js → chunk-X3UCQPVV.js} +209 -96
- package/dist/{chunk-7FKY6YWU.js → chunk-X46PSAJ7.js} +6 -6
- package/dist/{chunk-H3IBJQ5A.js → chunk-XD5XB22R.js} +2 -2
- package/dist/chunk-XDIAQEYK.js +28 -0
- package/dist/{chunk-7PPMT5EJ.js → chunk-XFPNYHX3.js} +372 -105
- package/dist/{chunk-FCECYJVA.js → chunk-XIBVAKCO.js} +1 -1
- package/dist/{chunk-OG2YUVBW.js → chunk-XMX4PCFL.js} +8 -3
- package/dist/{chunk-2NRHD2G7.js → chunk-XRRG4MBM.js} +12 -4
- package/dist/{chunk-FNMH5WEY.js → chunk-XTFO6D4L.js} +1 -1
- package/dist/chunk-XWRI3N5O.js +70 -0
- package/dist/{chunk-ZKJ5L35C.js → chunk-XXPLPSOE.js} +36 -25
- package/dist/{chunk-XQMYQ4TN.js → chunk-XZXZNI7A.js} +1 -1
- package/dist/{chunk-E555EDOQ.js → chunk-YEJZ2OYS.js} +490 -182
- package/dist/chunk-YGZEG3JV.js +123 -0
- package/dist/{chunk-F6OLHND5.js → chunk-Z3WQXVFV.js} +2 -2
- package/dist/{chunk-FFJGC2DX.js → chunk-Z6DUNKFU.js} +173 -40
- package/dist/{chunk-N5HN5QGH.js → chunk-Z6H5ED2I.js} +1 -1
- package/dist/{chunk-7Q37C6GZ.js → chunk-ZBOOMLHD.js} +1 -1
- package/dist/{chunk-MOK3ZS6P.js → chunk-ZDJ7C64T.js} +1 -1
- package/dist/{chunk-GLQ3KCTY.js → chunk-ZGZLEUKM.js} +7 -8
- package/dist/{chunk-YHD2FZFP.js → chunk-ZHRGX225.js} +6 -6
- package/dist/{chunk-76Q7E3TM.js → chunk-ZIVCPXXL.js} +510 -646
- package/dist/{chunk-BSATR6ZO.js → chunk-ZNRSYS76.js} +21 -3
- package/dist/{chunk-DMAMWUYY.js → chunk-ZSLTSCTI.js} +5 -5
- package/dist/{chunk-IGVAWAOK.js → chunk-ZSYFQSPF.js} +43 -9
- package/dist/cli/index.js +8 -3
- package/dist/{core-7Y5BZZON.js → core-43GLGBOY.js} +8 -1
- package/dist/{core-7S3XMW5O.js → core-5GI3ERXO.js} +4 -1
- package/dist/{core-K3JX5WPM.js → core-5L7TMK7I.js} +6 -1
- package/dist/{core-LB5M7XL4.js → core-7TO4OVY5.js} +6 -1
- package/dist/{core-ILPXXC2Z.js → core-BJVENHFQ.js} +7 -1
- package/dist/{core-JDFUZFRH.js → core-BX4MFWKC.js} +6 -1
- package/dist/{core-XW7UJFJZ.js → core-C3KXTOIZ.js} +7 -1
- package/dist/{core-WJNK7F2J.js → core-C5Y6BFLL.js} +7 -1
- package/dist/{core-WZ4CHVYL.js → core-CLUSJ2SK.js} +5 -1
- package/dist/{core-TCSW24N6.js → core-E3IN2VVH.js} +5 -1
- package/dist/{core-MU4ALRR7.js → core-FD67NQOV.js} +6 -1
- package/dist/{core-YMXYUGF5.js → core-FDKMLRAK.js} +5 -1
- package/dist/{core-VKZSQFRG.js → core-FL6Z3VVX.js} +5 -1
- package/dist/{core-5UF44NDI.js → core-JC7JUFPY.js} +8 -1
- package/dist/{core-RR2CAZC5.js → core-JF33TADA.js} +8 -1
- package/dist/{core-4RR6VSXM.js → core-JH32ZAKM.js} +4 -1
- package/dist/{core-G3LXHW73.js → core-JYYZPPQV.js} +7 -1
- package/dist/{core-4HFVG4CP.js → core-KJTKCV4U.js} +4 -1
- package/dist/{core-GSILPKUR.js → core-LCQPE5Y6.js} +8 -1
- package/dist/{core-GLOZY6Z7.js → core-LHVGWE54.js} +6 -1
- package/dist/{core-J2JD5ODO.js → core-OVSNBOCE.js} +9 -1
- package/dist/{core-BLHEJ5OK.js → core-PPEC236B.js} +5 -1
- package/dist/{core-ZLSQHZ3I.js → core-QTJZDK5H.js} +5 -1
- package/dist/{core-TKZZZ6UW.js → core-R3YZCOUZ.js} +7 -1
- package/dist/{core-HTD5RHE7.js → core-RIBW5XU4.js} +7 -1
- package/dist/{core-AR2T32Y3.js → core-RJFILBWL.js} +8 -1
- package/dist/{core-A5AKUB7H.js → core-RWSXEKTE.js} +4 -1
- package/dist/{core-DD62MWEW.js → core-SOPPZLEH.js} +5 -1
- package/dist/{core-HDNWVLJW.js → core-TBUZCXLX.js} +5 -1
- package/dist/{core-BOG33BFD.js → core-TZ5QLTAX.js} +5 -1
- package/dist/{core-H5HO2CED.js → core-U7E5W4MY.js} +3 -1
- package/dist/{core-QPSAYRFT.js → core-UBNVSL44.js} +7 -1
- package/dist/{core-E2XOSHPR.js → core-UDRD4WIU.js} +6 -1
- package/dist/{core-DFZMOO7E.js → core-UVJZ4HY2.js} +7 -1
- package/dist/{core-LGJZUP6H.js → core-X7WWYQH4.js} +8 -1
- package/dist/{core-BBNY2BX4.js → core-XP56X47I.js} +5 -1
- package/dist/{core-3KLQSYWB.js → core-XQG54CYG.js} +6 -1
- package/dist/{dataTable-CNDRVGA5.js → dataTable-U7W4I6IF.js} +15 -2
- package/dist/{engine-FVEIM3WV.js → engine-O5V26MGR.js} +32 -19
- package/dist/fixtures.js +4 -1
- package/dist/flags-BVLSAXT3.js +10 -0
- package/dist/{fontTables-ZPZQ6IR3.js → fontTables-JUW7ZTQY.js} +3 -1
- package/dist/fonts.js +1 -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 +41 -22
- package/dist/{main-THU6VIVU.js → main-35GS47XC.js} +68 -123
- package/dist/mcp/server.js +131 -118
- package/dist/react/bar.js +10 -1
- package/dist/react/bartable.js +10 -1
- package/dist/react/box.js +8 -1
- package/dist/react/bullet.js +10 -1
- package/dist/react/butterfly.js +10 -1
- package/dist/react/choropleth.js +10 -1
- package/dist/react/cohort.js +11 -1
- package/dist/react/column.js +10 -1
- package/dist/react/combo.js +10 -1
- package/dist/react/creative.js +11 -1
- package/dist/react/diagram.js +10 -1
- package/dist/react/dimswitch.js +11 -1
- package/dist/react/dot.js +9 -1
- package/dist/react/export.js +36 -18
- package/dist/react/funnel.js +9 -1
- package/dist/react/gantt.js +9 -1
- package/dist/react/grid.js +10 -1
- package/dist/react/heatmap.js +9 -1
- package/dist/react/histogram.js +11 -1
- package/dist/react/index.js +101 -85
- package/dist/react/kpi.js +10 -1
- package/dist/react/likert.js +11 -1
- package/dist/react/line.js +9 -1
- package/dist/react/mekko.js +10 -1
- package/dist/react/pareto.js +11 -1
- package/dist/react/pie.js +9 -1
- package/dist/react/prepare.js +49 -21
- package/dist/react/pvm.js +12 -1
- package/dist/react/pyramid.js +10 -1
- package/dist/react/sankey.js +10 -1
- package/dist/react/scatter.js +8 -1
- package/dist/react/slope.js +10 -1
- package/dist/react/sparkline.js +10 -1
- package/dist/react/spec.js +24 -14
- package/dist/react/status.js +9 -1
- package/dist/react/story.js +5 -2
- package/dist/react/table.js +9 -1
- package/dist/react/theme.js +10 -3
- package/dist/react/tilemap.js +9 -1
- package/dist/react/treemap.js +9 -1
- package/dist/react/variance.js +10 -1
- package/dist/react/waffle.js +9 -1
- package/dist/react/waterfall.js +11 -1
- package/dist/{resvg-VB7S5HRF.js → resvg-ZYEZTSUO.js} +3 -1
- package/dist/rows.js +3 -2
- package/dist/{rowsModule-LI6KOS46.js → rowsModule-H2S6WW4D.js} +2 -1
- package/dist/{schema-CGQID64D.js → schema-2R32F6AW.js} +1 -1
- package/dist/{schema-H2EC4GAQ.js → schema-2TPGJGVR.js} +1 -1
- package/dist/{schema-THXXFY6I.js → schema-47BG2TZA.js} +1 -3
- package/dist/{schema-AMT7P7KB.js → schema-56MOEOVR.js} +1 -1
- package/dist/{schema-GNTKL5DN.js → schema-5MSR4LNN.js} +1 -1
- package/dist/{schema-5ZTGVQAJ.js → schema-5RIYEWE6.js} +1 -1
- package/dist/{schema-LOQ3AFC7.js → schema-A26ZNGTZ.js} +1 -3
- package/dist/{schema-MMVPMJEF.js → schema-ALBF6V7Y.js} +1 -3
- package/dist/{schema-BKUFZLLI.js → schema-BA6WP5YZ.js} +1 -1
- package/dist/{schema-PQZWO3BP.js → schema-CBL2SMVR.js} +1 -3
- package/dist/{schema-BBTXTWYI.js → schema-CWKGLDSR.js} +1 -3
- package/dist/{schema-5KDEQBBT.js → schema-DBIQFL56.js} +1 -1
- package/dist/{schema-KPEPBGAX.js → schema-DL7V6NN2.js} +1 -1
- package/dist/{schema-PL3EU6EQ.js → schema-DUVJMFKQ.js} +4 -2
- package/dist/{schema-L5U4OROI.js → schema-ECJERHKF.js} +2 -1
- package/dist/{schema-YLE4XXQQ.js → schema-EDSEKZDJ.js} +1 -1
- package/dist/{schema-HH5HOORE.js → schema-ESR6ZIK4.js} +1 -3
- package/dist/{schema-5DUTAVO7.js → schema-F7TWGLRZ.js} +1 -3
- package/dist/{schema-B2GCEYXD.js → schema-FGB6IGZM.js} +1 -3
- package/dist/{schema-7NSV542V.js → schema-FKGGTM4Z.js} +2 -1
- package/dist/{schema-72EEMYS3.js → schema-FU2AFIEE.js} +1 -1
- package/dist/{schema-QORUB6EK.js → schema-JNJFCYBM.js} +18 -1
- package/dist/{schema-JH57NFXJ.js → schema-JYZ4RF6S.js} +2 -1
- package/dist/{schema-25INXAMY.js → schema-K7F6TEDK.js} +1 -2
- package/dist/{schema-OU35XA3Z.js → schema-KAK6DZX4.js} +1 -1
- package/dist/{schema-R5Y6NVBH.js → schema-MOKWIGF7.js} +1 -1
- package/dist/{schema-ZQSIR5UC.js → schema-MQT6BMNK.js} +1 -3
- package/dist/{schema-FDFQKIO5.js → schema-MR3BPPQR.js} +1 -1
- package/dist/{schema-VYECMPON.js → schema-OPXZYIW7.js} +1 -3
- package/dist/{schema-ZEVJMFLV.js → schema-PV7JGX5H.js} +1 -1
- package/dist/{schema-QPOBZUAR.js → schema-PWPQF5RC.js} +1 -1
- package/dist/{schema-GN6GAIU5.js → schema-PYQEUC5P.js} +1 -3
- package/dist/{schema-M5JBHQIV.js → schema-QPIC5MAG.js} +9 -2
- package/dist/{schema-QCIE6M2P.js → schema-R42VXFIS.js} +1 -1
- package/dist/{schema-J7TNCZIP.js → schema-TVUJNEX7.js} +1 -1
- package/dist/{schema-AXRDF6ND.js → schema-Y4TI2T3T.js} +1 -1
- package/dist/{schema-ZG6ZKFRZ.js → schema-ZU2EU2VP.js} +1 -1
- package/dist/{specValidation-VHLGDEME.js → specValidation-2NHJT7TQ.js} +4 -1
- package/dist/theme.js +7 -2
- 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/bartable/types.d.ts +14 -1
- package/dist/types/core/charts/box/types.d.ts +3 -1
- package/dist/types/core/charts/choropleth/layout.d.ts +1 -5
- package/dist/types/core/charts/choropleth/types.d.ts +19 -0
- package/dist/types/core/charts/cohort/types.d.ts +16 -3
- 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/creative/types.d.ts +21 -0
- package/dist/types/core/charts/dimswitch/compile.d.ts +15 -2
- package/dist/types/core/charts/dimswitch/types.d.ts +24 -1
- package/dist/types/core/charts/gantt/calendar.d.ts +24 -0
- package/dist/types/core/charts/gantt/columns.d.ts +56 -0
- package/dist/types/core/charts/gantt/layout.d.ts +8 -2
- package/dist/types/core/charts/gantt/model.d.ts +296 -0
- package/dist/types/core/charts/grid/metricStack.d.ts +9 -0
- package/dist/types/core/charts/grid/metricStackSchema.d.ts +13 -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/histogram/types.d.ts +8 -0
- package/dist/types/core/charts/likert/layout.d.ts +10 -8
- package/dist/types/core/charts/pareto/layout.d.ts +2 -0
- package/dist/types/core/charts/pvm/types.d.ts +10 -1
- package/dist/types/core/charts/pyramid/types.d.ts +3 -1
- package/dist/types/core/charts/sankey/types.d.ts +5 -1
- 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/status/layout.d.ts +3 -0
- package/dist/types/core/charts/table/resolve.d.ts +22 -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/doc/diagnostics.d.ts +3 -2
- package/dist/types/core/footer.d.ts +2 -0
- package/dist/types/core/formatSpec.d.ts +43 -14
- package/dist/types/core/frame.d.ts +26 -59
- package/dist/types/core/frameText.d.ts +203 -0
- package/dist/types/core/geo/types.d.ts +2 -0
- package/dist/types/core/geometry.d.ts +3 -1
- 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 +14 -2
- package/dist/types/core/notes.d.ts +15 -2
- package/dist/types/core/reading.d.ts +12 -1
- package/dist/types/core/registry.d.ts +4 -5
- package/dist/types/core/request.d.ts +7 -1
- package/dist/types/core/schema/capability.d.ts +32 -7
- package/dist/types/core/schema/generatedColumns.d.ts +168 -0
- package/dist/types/core/seriesIdentity.d.ts +4 -1
- package/dist/types/core/sizing.d.ts +32 -1
- package/dist/types/core/structureCounts.d.ts +3 -1
- package/dist/types/core/text.d.ts +16 -0
- package/dist/types/core/theme.d.ts +33 -4
- package/dist/types/core/themeGeometry.d.ts +9 -0
- package/dist/types/core/themeRules.d.ts +2 -0
- package/dist/types/core/timeAxis.d.ts +6 -1
- package/dist/types/core/types/annotations.d.ts +74 -4
- package/dist/types/core/types/diagram.d.ts +7 -0
- package/dist/types/core/types/options.d.ts +118 -15
- package/dist/types/core/types/scene.d.ts +30 -2
- package/dist/types/core/types/table.d.ts +27 -3
- package/dist/types/core/types/theme.d.ts +23 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/react/TableChart.d.ts +5 -0
- package/dist/types/react/barrelCharts.d.ts +16 -5
- package/dist/types/react/charts/butterfly.d.ts +2 -2
- package/dist/types/react/charts/dot.d.ts +7 -1
- package/dist/types/react/charts/pareto.d.ts +4 -1
- package/dist/types/react/charts/variance.d.ts +3 -1
- package/dist/types/react/hover/labelCard.d.ts +11 -2
- package/dist/types/react/prepare.d.ts +7 -1
- package/dist/types/theme.d.ts +2 -0
- package/dist/validate.js +23 -6
- package/docs/TELEMETRY.md +2 -2
- package/docs/manual.md +283 -65
- package/docs/reference/bar.md +15 -4
- package/docs/reference/bartable.md +17 -2
- package/docs/reference/box.md +15 -4
- package/docs/reference/bullet.md +21 -6
- package/docs/reference/butterfly.md +17 -6
- package/docs/reference/choropleth.md +16 -5
- package/docs/reference/cohort.md +25 -5
- package/docs/reference/column.md +19 -4
- package/docs/reference/combo.md +11 -5
- package/docs/reference/creative.md +17 -8
- package/docs/reference/diagram.md +6 -1
- package/docs/reference/dimswitch.md +71 -118
- package/docs/reference/dot.md +16 -7
- package/docs/reference/fixtures.md +94 -1
- package/docs/reference/funnel.md +14 -5
- package/docs/reference/gantt.md +17 -16
- package/docs/reference/grid.md +13 -3
- package/docs/reference/heatmap.md +16 -6
- package/docs/reference/histogram.md +2 -2
- package/docs/reference/kpi.md +5 -1
- package/docs/reference/likert.md +17 -4
- package/docs/reference/line.md +18 -5
- package/docs/reference/mekko.md +10 -5
- package/docs/reference/options.md +20 -15
- package/docs/reference/pareto.md +9 -5
- package/docs/reference/pie.md +9 -5
- package/docs/reference/pvm.md +16 -6
- package/docs/reference/pyramid.md +14 -4
- package/docs/reference/react.md +6 -7
- package/docs/reference/sankey.md +7 -3
- package/docs/reference/scatter.md +8 -4
- package/docs/reference/slope.md +15 -5
- package/docs/reference/sparkline.md +1 -1
- package/docs/reference/status.md +7 -1
- package/docs/reference/table.md +41 -110
- 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 +20 -5
- package/docs/use-cases.md +25 -13
- package/llms.txt +19 -6
- package/package.json +18 -3
- package/dist/chunk-6364WO5D.js +0 -47
- package/dist/chunk-DQ7YMQVX.js +0 -26
- package/dist/chunk-EBB4PYBN.js +0 -24
- package/dist/chunk-FG5L2LUK.js +0 -89
- package/dist/chunk-IFQN4GKK.js +0 -1852
- package/dist/chunk-IRXVV65V.js +0 -24
- package/dist/chunk-JGFHNAHS.js +0 -22
- package/dist/chunk-JHWYG7V5.js +0 -24
- package/dist/chunk-M4SPKUZE.js +0 -7
- package/dist/chunk-O36WX56O.js +0 -13
- package/dist/chunk-QJWLNP64.js +0 -24
- package/dist/chunk-QZIHKQRH.js +0 -26
- package/dist/chunk-SE7MJ2LQ.js +0 -24
- package/dist/chunk-TXBO2LWM.js +0 -25
- package/dist/chunk-UPTXFTKH.js +0 -25
- package/dist/chunk-UREXN6WG.js +0 -25
- package/dist/chunk-UZLR25BW.js +0 -24
- package/dist/chunk-WIVFIVFZ.js +0 -27
- package/dist/chunk-WZL4EEBS.js +0 -11
- package/dist/chunk-XHRUXZD7.js +0 -28
- package/dist/chunk-ZWNRLIFT.js +0 -24
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,21 @@ 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-2LC2H3ZM.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";
|
|
30
|
+
|
|
29
31
|
|
|
30
32
|
|
|
31
33
|
|
|
@@ -79,7 +81,9 @@ import {
|
|
|
79
81
|
|
|
80
82
|
import {
|
|
81
83
|
allFixtures
|
|
82
|
-
} from "../chunk-
|
|
84
|
+
} from "../chunk-DKLC6QLF.js";
|
|
85
|
+
|
|
86
|
+
|
|
83
87
|
|
|
84
88
|
|
|
85
89
|
|
|
@@ -177,21 +181,23 @@ import {
|
|
|
177
181
|
|
|
178
182
|
import {
|
|
179
183
|
canonicalJson
|
|
180
|
-
} from "../chunk-
|
|
184
|
+
} from "../chunk-AN2V2LC4.js";
|
|
181
185
|
import {
|
|
182
186
|
completeDiagnostic,
|
|
183
187
|
parseWithInputConversions
|
|
184
|
-
} from "../chunk-
|
|
188
|
+
} from "../chunk-QAUGRVRU.js";
|
|
185
189
|
import {
|
|
186
190
|
linkStoryLayer
|
|
187
|
-
} from "../chunk-
|
|
191
|
+
} from "../chunk-JM7UTLF3.js";
|
|
188
192
|
import {
|
|
189
193
|
sanitizeObjectPrototype
|
|
190
|
-
} from "../chunk-
|
|
194
|
+
} from "../chunk-K7XPTQBJ.js";
|
|
195
|
+
|
|
191
196
|
import {
|
|
192
197
|
InputError,
|
|
193
198
|
parseSpecString
|
|
194
|
-
} from "../chunk-
|
|
199
|
+
} from "../chunk-G4FF6G3I.js";
|
|
200
|
+
|
|
195
201
|
|
|
196
202
|
|
|
197
203
|
|
|
@@ -204,7 +210,15 @@ import {
|
|
|
204
210
|
|
|
205
211
|
import {
|
|
206
212
|
linkAnnotateEngine
|
|
207
|
-
} from "../chunk-
|
|
213
|
+
} from "../chunk-MQ4IEDM5.js";
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
208
222
|
|
|
209
223
|
|
|
210
224
|
|
|
@@ -235,7 +249,7 @@ import {
|
|
|
235
249
|
|
|
236
250
|
import {
|
|
237
251
|
linkThemeShapeRules
|
|
238
|
-
} from "../chunk-
|
|
252
|
+
} from "../chunk-IXOBDDMW.js";
|
|
239
253
|
|
|
240
254
|
|
|
241
255
|
|
|
@@ -250,7 +264,7 @@ import {
|
|
|
250
264
|
chartInputName,
|
|
251
265
|
inputConversion,
|
|
252
266
|
listCharts
|
|
253
|
-
} from "../chunk-
|
|
267
|
+
} from "../chunk-ETRAPN5G.js";
|
|
254
268
|
|
|
255
269
|
|
|
256
270
|
|
|
@@ -258,14 +272,18 @@ import {
|
|
|
258
272
|
import {
|
|
259
273
|
BOARDPLOT_VERSION,
|
|
260
274
|
version
|
|
261
|
-
} from "../chunk-
|
|
275
|
+
} from "../chunk-MRM4KJ2O.js";
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
262
280
|
|
|
263
281
|
|
|
264
282
|
|
|
265
283
|
|
|
266
284
|
import {
|
|
267
285
|
resolveTheme
|
|
268
|
-
} from "../chunk-
|
|
286
|
+
} from "../chunk-TX5FSNAU.js";
|
|
269
287
|
|
|
270
288
|
|
|
271
289
|
|
|
@@ -282,7 +300,6 @@ import {
|
|
|
282
300
|
|
|
283
301
|
|
|
284
302
|
// src/mcp/server.ts
|
|
285
|
-
import { createInterface } from "readline";
|
|
286
303
|
import { execFile } from "child_process";
|
|
287
304
|
import { existsSync, readFileSync, readdirSync, realpathSync, statSync } from "fs";
|
|
288
305
|
import { tmpdir } from "os";
|
|
@@ -297,11 +314,13 @@ var SUPPORTED_PROTOCOL_VERSIONS = ["2024-11-05", "2025-06-18", "2025-11-25"], DE
|
|
|
297
314
|
type: "object",
|
|
298
315
|
properties: {
|
|
299
316
|
code: { type: "string" },
|
|
300
|
-
|
|
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." },
|
|
301
320
|
message: { type: "string" },
|
|
302
321
|
expected: { type: "object" },
|
|
303
322
|
received: {},
|
|
304
|
-
fix: { type: "array", description: "JSON Patch
|
|
323
|
+
fix: { type: "array", description: "JSON Patch for the input at path, when the engine can propose one." },
|
|
305
324
|
suggest: { type: "string" },
|
|
306
325
|
docs: { type: "string" }
|
|
307
326
|
},
|
|
@@ -316,79 +335,53 @@ function output(properties) {
|
|
|
316
335
|
version: { type: "string", description: "The build this server runs, exactly as boardplot --version prints it." },
|
|
317
336
|
errors: findings,
|
|
318
337
|
warnings: findings,
|
|
338
|
+
fontTables: { type: "object", description: "Custom font metrics, when configured.", properties: { families: { type: "array", items: { type: "string" } }, faces: { type: "integer" } } },
|
|
319
339
|
...properties
|
|
320
340
|
},
|
|
321
341
|
required: ["ok"]
|
|
322
342
|
};
|
|
323
343
|
}
|
|
324
|
-
var spec = z.looseObject({}).describe("
|
|
325
|
-
rows: z.array(z.looseObject({})).optional().describe("
|
|
326
|
-
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(),
|
|
327
347
|
columns: z.strictObject({
|
|
328
|
-
category: z.string().optional(),
|
|
329
|
-
series: z.string().optional(),
|
|
330
|
-
value: z.string().optional(),
|
|
331
|
-
categoryLabel: z.string().optional(),
|
|
332
|
-
seriesLabel: z.string().optional(),
|
|
333
|
-
unit: z.string().optional(),
|
|
334
|
-
date: z.string().optional(),
|
|
335
|
-
state: z.string().optional().describe("
|
|
336
|
-
label: z.string().optional(),
|
|
337
|
-
type: z.string().optional().describe("
|
|
338
|
-
x: z.string().optional(),
|
|
339
|
-
y: z.string().optional(),
|
|
340
|
-
size: z.string().optional(),
|
|
341
|
-
group: z.string().optional(),
|
|
342
|
-
source: z.string().optional(),
|
|
343
|
-
target: z.string().optional(),
|
|
344
|
-
sourceStage: z.string().optional(),
|
|
345
|
-
targetStage: z.string().optional(),
|
|
346
|
-
id: z.string().optional().describe("
|
|
347
|
-
valueKind: z.enum(["number", "percent", "fraction"]).default("number")
|
|
348
|
-
}).optional().describe(
|
|
349
|
-
}, rowsRead = {
|
|
350
|
-
type: "object",
|
|
351
|
-
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."
|
|
352
|
-
}, 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 = {
|
|
353
370
|
target: { type: "string", enum: [...TARGETS] },
|
|
354
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"] } } },
|
|
355
372
|
minDisplayWidth: { type: "number", description: "The narrowest display width in CSS px that keeps text at its floor." }
|
|
356
|
-
}, target = z.enum(TARGETS).optional().describe("Reading context: report (default), dashboard, slide or print.
|
|
357
|
-
type: "array",
|
|
358
|
-
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.",
|
|
359
|
-
items: {
|
|
360
|
-
type: "object",
|
|
361
|
-
properties: {
|
|
362
|
-
n: { type: "number" },
|
|
363
|
-
kind: { type: "string", enum: ["source", "credit", "note", "method", "disclosure"] },
|
|
364
|
-
text: { type: "string" },
|
|
365
|
-
short: { type: "string" },
|
|
366
|
-
ref: { type: "number" },
|
|
367
|
-
links: { type: "array", items: { type: "object", properties: { text: { type: "string" }, href: { type: "string" } } } },
|
|
368
|
-
inFrame: { type: "boolean" }
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
}, 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 = {
|
|
372
374
|
size,
|
|
373
375
|
...presented,
|
|
374
376
|
svg: { type: "string" },
|
|
375
377
|
notes: notesList,
|
|
376
|
-
reading:
|
|
377
|
-
type: "object",
|
|
378
|
-
properties: {
|
|
379
|
-
data: rowsRead,
|
|
380
|
-
counts: readingCountsSchema,
|
|
381
|
-
metricStack: readingMetricStackSchema,
|
|
382
|
-
notes: notesList,
|
|
383
|
-
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." }
|
|
384
|
-
}
|
|
385
|
-
}
|
|
378
|
+
reading: readingSchema
|
|
386
379
|
}, measured = {
|
|
387
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." },
|
|
388
381
|
...presented,
|
|
389
382
|
minWidth: { type: "number" },
|
|
390
383
|
minHeight: { type: "number" },
|
|
391
|
-
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." },
|
|
392
385
|
naturalWidth: { type: "number" },
|
|
393
386
|
naturalHeight: { type: "number" },
|
|
394
387
|
comfortableWidth: { type: "number" },
|
|
@@ -397,7 +390,7 @@ var spec = z.looseObject({}).describe("The chart spec as an object: { name?, typ
|
|
|
397
390
|
fit: { type: "string", enum: ["fill", "content"] },
|
|
398
391
|
mode: { type: "string" },
|
|
399
392
|
titleLines: { type: ["number", "null"] },
|
|
400
|
-
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." }
|
|
401
394
|
}, described = {
|
|
402
395
|
type: { type: "string" },
|
|
403
396
|
summary: { type: "string" },
|
|
@@ -411,9 +404,11 @@ var spec = z.looseObject({}).describe("The chart spec as an object: { name?, typ
|
|
|
411
404
|
example: { type: ["object", "null"] },
|
|
412
405
|
data: { type: ["object", "array"] },
|
|
413
406
|
options: { type: ["object", "array"] },
|
|
414
|
-
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." },
|
|
415
410
|
notAccepted: { type: "array", items: { type: "string" }, description: "Options this type refuses after ignored settings have been removed." },
|
|
416
|
-
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." },
|
|
417
412
|
sizing: { type: "object" },
|
|
418
413
|
annotations: { type: ["object", "array"] },
|
|
419
414
|
fixtures: { type: ["object", "array"] },
|
|
@@ -421,7 +416,7 @@ var spec = z.looseObject({}).describe("The chart spec as an object: { name?, typ
|
|
|
421
416
|
presets: { type: "array", items: { type: "string" } },
|
|
422
417
|
tokens: { type: ["object", "array"] },
|
|
423
418
|
errorCodes: { type: "object" },
|
|
424
|
-
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." },
|
|
425
420
|
path: { type: "string", description: "path: the field as the contract spells it." },
|
|
426
421
|
fields: { type: "array", items: { type: "object" }, description: "path: the field and every field below it, in full rows." },
|
|
427
422
|
refused: { type: "string", description: "path: why this type refuses the field." },
|
|
@@ -434,14 +429,14 @@ function toolInputs() {
|
|
|
434
429
|
return {
|
|
435
430
|
boardplot_list: z.strictObject({}),
|
|
436
431
|
boardplot_describe: z.strictObject({
|
|
437
|
-
type: z.enum([...chartTypes(), "theme"]).describe("
|
|
438
|
-
detail: z.enum(["compact", "full"]).default("compact").describe("compact
|
|
439
|
-
path: z.string().optional().describe("One field, such as
|
|
440
|
-
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.")
|
|
441
436
|
}),
|
|
442
437
|
boardplot_render: z.strictObject({
|
|
443
438
|
spec,
|
|
444
|
-
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."),
|
|
445
440
|
target,
|
|
446
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."),
|
|
447
442
|
height: z.number().positive().optional().describe("Canvas height in px; overrides options.size."),
|
|
@@ -449,26 +444,26 @@ function toolInputs() {
|
|
|
449
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."),
|
|
450
445
|
overwrite: z.boolean().optional().describe("Replace existing output files when true. Default false. Chart names within one call still get distinct files."),
|
|
451
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(),
|
|
452
|
-
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."),
|
|
453
448
|
...rowArguments
|
|
454
449
|
}),
|
|
455
450
|
boardplot_measure: z.strictObject({
|
|
456
451
|
spec,
|
|
457
452
|
target,
|
|
458
|
-
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."),
|
|
459
454
|
...rowArguments
|
|
460
455
|
}),
|
|
461
456
|
boardplot_fixtures: z.strictObject({
|
|
462
457
|
type: z.string().optional().describe("A chart type or alias."),
|
|
463
|
-
id: z.string().optional().describe("
|
|
464
|
-
kind: z.enum(["example", "torture", "all"]).default("example"),
|
|
465
|
-
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.")
|
|
466
461
|
}),
|
|
467
462
|
boardplot_feedback: z.strictObject({
|
|
468
463
|
category: z.enum(FEEDBACK_CATEGORIES),
|
|
469
464
|
summary: z.string().describe(`One line, at most ${SUMMARY_MAX} characters, on what Boardplot did wrong. No client names, numbers, labels or paths.`),
|
|
470
465
|
type: z.string().optional().describe("The chart type involved."),
|
|
471
|
-
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."),
|
|
472
467
|
optionKeys: z.array(z.string()).optional().describe("Option names involved, such as valueAxis.")
|
|
473
468
|
})
|
|
474
469
|
};
|
|
@@ -490,7 +485,7 @@ function toolDefinitions() {
|
|
|
490
485
|
{
|
|
491
486
|
name: "boardplot_list",
|
|
492
487
|
title: "List chart types",
|
|
493
|
-
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.",
|
|
494
489
|
inputSchema: jsonInput(inputs.boardplot_list),
|
|
495
490
|
outputSchema: output({
|
|
496
491
|
engine: { type: "string" },
|
|
@@ -508,7 +503,7 @@ function toolDefinitions() {
|
|
|
508
503
|
{
|
|
509
504
|
name: "boardplot_describe",
|
|
510
505
|
title: "Describe one chart type",
|
|
511
|
-
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.",
|
|
512
507
|
inputSchema: jsonInput(inputs.boardplot_describe),
|
|
513
508
|
outputSchema: output(described),
|
|
514
509
|
annotations: READ_ONLY
|
|
@@ -516,11 +511,11 @@ function toolDefinitions() {
|
|
|
516
511
|
{
|
|
517
512
|
name: "boardplot_render",
|
|
518
513
|
title: "Draw a chart",
|
|
519
|
-
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.",
|
|
520
515
|
inputSchema: jsonInput(inputs.boardplot_render),
|
|
521
516
|
outputSchema: output({
|
|
522
517
|
...drawn,
|
|
523
|
-
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." } } } },
|
|
524
519
|
outputs: { type: "array", items: { type: "string" } }
|
|
525
520
|
}),
|
|
526
521
|
// overwrite can replace files; the default still allocates fresh names.
|
|
@@ -529,7 +524,7 @@ function toolDefinitions() {
|
|
|
529
524
|
{
|
|
530
525
|
name: "boardplot_measure",
|
|
531
526
|
title: "Measure a chart without drawing",
|
|
532
|
-
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.",
|
|
533
528
|
inputSchema: jsonInput(inputs.boardplot_measure),
|
|
534
529
|
outputSchema: output({
|
|
535
530
|
...measured,
|
|
@@ -541,7 +536,7 @@ function toolDefinitions() {
|
|
|
541
536
|
{
|
|
542
537
|
name: "boardplot_fixtures",
|
|
543
538
|
title: "Runnable example specs",
|
|
544
|
-
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.",
|
|
545
540
|
inputSchema: jsonInput(inputs.boardplot_fixtures),
|
|
546
541
|
outputSchema: output({
|
|
547
542
|
fixtures: {
|
|
@@ -552,7 +547,7 @@ function toolDefinitions() {
|
|
|
552
547
|
required: ["id", "type", "chart", "useCase", "spec"]
|
|
553
548
|
}
|
|
554
549
|
},
|
|
555
|
-
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." },
|
|
556
551
|
note: { type: "string" }
|
|
557
552
|
}),
|
|
558
553
|
annotations: READ_ONLY
|
|
@@ -560,7 +555,7 @@ function toolDefinitions() {
|
|
|
560
555
|
{
|
|
561
556
|
name: "boardplot_feedback",
|
|
562
557
|
title: "Draft a problem report",
|
|
563
|
-
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.",
|
|
564
559
|
inputSchema: jsonInput(inputs.boardplot_feedback),
|
|
565
560
|
outputSchema: output({
|
|
566
561
|
sent: { type: "boolean" },
|
|
@@ -805,7 +800,7 @@ function runTool(name, args) {
|
|
|
805
800
|
case "boardplot_fixtures":
|
|
806
801
|
return fixtures(args);
|
|
807
802
|
case "boardplot_render":
|
|
808
|
-
return render(args);
|
|
803
|
+
return render({ ...args, adviceRead: (code) => !(onceAdvice.has(code) && reportedAdvice.has(code)) });
|
|
809
804
|
case "boardplot_measure":
|
|
810
805
|
return measure(args);
|
|
811
806
|
case "boardplot_feedback":
|
|
@@ -837,11 +832,11 @@ function themeLintsOnce(spec2, result) {
|
|
|
837
832
|
});
|
|
838
833
|
return warnings.length === body.warnings.length ? result : { ...result, body: { ...body, warnings } };
|
|
839
834
|
}
|
|
840
|
-
var reportedAdvice = /* @__PURE__ */ new Set();
|
|
835
|
+
var reportedAdvice = /* @__PURE__ */ new Set(), onceAdvice = new Set(designCodes);
|
|
841
836
|
function adviceOnce(result) {
|
|
842
837
|
let body = result.body;
|
|
843
838
|
if (!Array.isArray(body.warnings)) return result;
|
|
844
|
-
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));
|
|
845
840
|
return warnings.length === body.warnings.length ? result : { ...result, body: { ...body, warnings } };
|
|
846
841
|
}
|
|
847
842
|
function dispatch(name, args) {
|
|
@@ -933,7 +928,7 @@ function startMcpServer() {
|
|
|
933
928
|
console.error(`boardplot-mcp: ${error instanceof Error ? error.message : error}`), process.exit(1);
|
|
934
929
|
}
|
|
935
930
|
sanitizeObjectPrototype((message) => console.error(`\u26A0 ${message}`));
|
|
936
|
-
let
|
|
931
|
+
let initialized = !1, rootsSupported = !1, rootsRequests = 0, rootsRequest, rootsReady = Promise.resolve(), rasterReady, settleRoots, requestRoots = () => {
|
|
937
932
|
settleRoots?.([]), rootsRequest = `boardplot-roots-${++rootsRequests}`, rootsReady = new Promise((resolveRoots) => {
|
|
938
933
|
let done = (roots) => {
|
|
939
934
|
clearTimeout(timer), clientRoots = roots, settleRoots = void 0, resolveRoots();
|
|
@@ -941,21 +936,8 @@ function startMcpServer() {
|
|
|
941
936
|
settleRoots = done;
|
|
942
937
|
}), process.stdout.write(`${JSON.stringify({ jsonrpc: "2.0", id: rootsRequest, method: "roots/list" })}
|
|
943
938
|
`);
|
|
944
|
-
}
|
|
945
|
-
rl.on("close", () => {
|
|
946
|
-
settleRoots?.([]);
|
|
947
|
-
try {
|
|
948
|
-
usage.flush();
|
|
949
|
-
} catch {
|
|
950
|
-
}
|
|
951
|
-
}), rl.on("line", (line) => {
|
|
939
|
+
}, handleLine = (line) => {
|
|
952
940
|
if (!line.trim()) return;
|
|
953
|
-
if (Buffer.byteLength(line, "utf8") > MCP_LIMITS.maxJsonLineBytes)
|
|
954
|
-
return respondError(
|
|
955
|
-
null,
|
|
956
|
-
-32600,
|
|
957
|
-
`request line exceeds ${MCP_LIMITS.maxJsonLineBytes} bytes; split the spec into smaller requests`
|
|
958
|
-
);
|
|
959
941
|
let parsed;
|
|
960
942
|
try {
|
|
961
943
|
parsed = JSON.parse(line);
|
|
@@ -1009,7 +991,9 @@ function startMcpServer() {
|
|
|
1009
991
|
-32602,
|
|
1010
992
|
`Invalid params: tools/call params.name must be a string, received ${Object.prototype.hasOwnProperty.call(params, "name") ? describeValue(params.name) : "missing"}`
|
|
1011
993
|
);
|
|
1012
|
-
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 = () => {
|
|
1013
997
|
let r = callTool(name, args);
|
|
1014
998
|
respond(req.id, {
|
|
1015
999
|
content: r.content,
|
|
@@ -1017,7 +1001,7 @@ function startMcpServer() {
|
|
|
1017
1001
|
...r.isError ? { isError: !0 } : {}
|
|
1018
1002
|
});
|
|
1019
1003
|
};
|
|
1020
|
-
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)));
|
|
1021
1005
|
}
|
|
1022
1006
|
case "ping":
|
|
1023
1007
|
return respond(req.id, {});
|
|
@@ -1027,8 +1011,37 @@ function startMcpServer() {
|
|
|
1027
1011
|
} catch (e) {
|
|
1028
1012
|
respondError(req.id, -32603, e instanceof Error ? e.message : String(e));
|
|
1029
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
|
+
}
|
|
1030
1025
|
});
|
|
1031
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
|
+
}
|
|
1032
1045
|
var invoked = process.argv[1];
|
|
1033
1046
|
if (invoked) {
|
|
1034
1047
|
let direct = import.meta.url === pathToFileURL(invoked).href;
|
|
@@ -1037,7 +1050,7 @@ if (invoked) {
|
|
|
1037
1050
|
direct = import.meta.url === pathToFileURL(realpathSync(invoked)).href;
|
|
1038
1051
|
} catch {
|
|
1039
1052
|
}
|
|
1040
|
-
direct &&
|
|
1053
|
+
direct && startMcpServer();
|
|
1041
1054
|
}
|
|
1042
1055
|
export {
|
|
1043
1056
|
ABSOLUTE_OUT_DIR_PATTERN,
|
package/dist/react/bar.js
CHANGED
package/dist/react/bartable.js
CHANGED
package/dist/react/box.js
CHANGED