boardplot 0.57.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.
Files changed (494) hide show
  1. package/CHANGELOG.md +298 -0
  2. package/README.md +48 -14
  3. package/dist/{DiagnosticDetails-JFBBXOT2.js → DiagnosticDetails-VGSL4NJK.js} +1 -1
  4. package/dist/{ReaderBox-GCIITQCX.js → ReaderBox-MHMXIDAJ.js} +8 -7
  5. package/dist/{annotateEngine-JMZI6QEG.js → annotateEngine-753KQBNN.js} +2 -1
  6. package/dist/build-identity.json +3 -3
  7. package/dist/{chunk-5WSIH4SR.js → chunk-2CQBBN7M.js} +4 -4
  8. package/dist/{chunk-Q7VPTN5X.js → chunk-2ETK5TSA.js} +4 -4
  9. package/dist/{chunk-NO7GRVUU.js → chunk-2ETSI2EL.js} +8 -8
  10. package/dist/{chunk-4RN4OM6I.js → chunk-2GRXHWRH.js} +3 -3
  11. package/dist/{chunk-QFIRPOXR.js → chunk-2HII2B6S.js} +3 -3
  12. package/dist/{chunk-K6Y4HBK7.js → chunk-2LC2H3ZM.js} +1000 -904
  13. package/dist/{chunk-KF3ZHLHQ.js → chunk-2NX7EO7H.js} +5 -5
  14. package/dist/{chunk-D5G67OER.js → chunk-2QI2PK2O.js} +1 -1
  15. package/dist/{chunk-AFA32LHN.js → chunk-2VKQQLP7.js} +62 -36
  16. package/dist/chunk-3DOVXJ6K.js +602 -0
  17. package/dist/{chunk-XJUZC53Y.js → chunk-3E6NLODZ.js} +1 -1
  18. package/dist/{chunk-D5RAVZ5C.js → chunk-3HA4IJTO.js} +9 -8
  19. package/dist/{chunk-OTGNVAI4.js → chunk-3HPPTQEW.js} +4 -4
  20. package/dist/{chunk-TGR6PRKG.js → chunk-3KT2647F.js} +4 -2
  21. package/dist/{chunk-UBXIGE2P.js → chunk-3MFVJMP6.js} +2 -2
  22. package/dist/{chunk-JKXJWCJ5.js → chunk-3P3FKPFN.js} +116 -54
  23. package/dist/{chunk-JMOBA5ES.js → chunk-3XAJSMYD.js} +2 -2
  24. package/dist/{chunk-I65OLJ2X.js → chunk-42QKUSHJ.js} +13 -3
  25. package/dist/{chunk-Y5IKCXQR.js → chunk-44JU3VOT.js} +5 -5
  26. package/dist/{chunk-YBYV56FS.js → chunk-44K75CYE.js} +3 -3
  27. package/dist/{chunk-WKWCNS6K.js → chunk-4FNM4D57.js} +5 -5
  28. package/dist/{chunk-UD6U4EF5.js → chunk-4ROZ4TFL.js} +1 -1
  29. package/dist/{chunk-LO3AGGE3.js → chunk-4VV3KUFT.js} +5 -5
  30. package/dist/{chunk-6ZN2XJFI.js → chunk-54YO56IK.js} +1 -1
  31. package/dist/{chunk-JMGB444D.js → chunk-5ACFYNA4.js} +8 -4
  32. package/dist/{chunk-SHAAMKN7.js → chunk-5JEU6MWC.js} +18 -18
  33. package/dist/{chunk-I7KDPCC7.js → chunk-5JIB4VJA.js} +18 -10
  34. package/dist/{chunk-C5SQEYTQ.js → chunk-5OP3E2ZD.js} +153 -65
  35. package/dist/{chunk-BDCKHLUB.js → chunk-5SLBD4BT.js} +72 -304
  36. package/dist/{chunk-2BHLRHF2.js → chunk-5SVGTQTW.js} +4 -4
  37. package/dist/chunk-5U567TYU.js +23 -0
  38. package/dist/{chunk-BFDPY7JM.js → chunk-5ZLF4S7X.js} +11 -6
  39. package/dist/{chunk-73O6AOAA.js → chunk-5ZMTQATF.js} +241 -140
  40. package/dist/{chunk-5JTRCSBN.js → chunk-62BDQTO6.js} +2 -2
  41. package/dist/chunk-64K3V4VN.js +25 -0
  42. package/dist/{chunk-BM2A3IGQ.js → chunk-67YJJJIB.js} +1 -1
  43. package/dist/{chunk-TDDSWNGD.js → chunk-6DJNFT2K.js} +30 -28
  44. package/dist/{chunk-JYAZPMSA.js → chunk-6IUK6PAH.js} +7 -6
  45. package/dist/{chunk-W5SVS4B6.js → chunk-6JFQCVNN.js} +4 -4
  46. package/dist/{chunk-H2POQ4LB.js → chunk-6XPV6M3Q.js} +4 -4
  47. package/dist/{chunk-XFCBH3TI.js → chunk-6ZDSEITW.js} +3 -3
  48. package/dist/{chunk-LFX5BERN.js → chunk-72HVDLMT.js} +46 -32
  49. package/dist/chunk-75NU5RLX.js +24 -0
  50. package/dist/chunk-76GPN6AT.js +72 -0
  51. package/dist/{chunk-EFKFZNQC.js → chunk-7CAYRPJV.js} +34 -20
  52. package/dist/{chunk-EWR6WVOV.js → chunk-7GWWBHVQ.js} +6 -6
  53. package/dist/{chunk-H6EJ63QN.js → chunk-7NYUFMLJ.js} +143 -82
  54. package/dist/{chunk-D2B3KP35.js → chunk-7VWXXBTC.js} +4 -0
  55. package/dist/chunk-A65B23JK.js +113 -0
  56. package/dist/{chunk-XNV7VOIT.js → chunk-A7R6FUS6.js} +4 -4
  57. package/dist/{chunk-KIXNHDXS.js → chunk-AEVGUOPB.js} +5 -5
  58. package/dist/{chunk-IXM6BAM4.js → chunk-AHIK2N72.js} +1 -1
  59. package/dist/{chunk-I3DLERI7.js → chunk-AICO24HJ.js} +5 -2
  60. package/dist/{chunk-LSKCKGCF.js → chunk-AJGSCVVW.js} +2 -2
  61. package/dist/{chunk-RSCRIWAH.js → chunk-AL62JJTB.js} +10 -3
  62. package/dist/{chunk-CT4RFZO4.js → chunk-AN2V2LC4.js} +37 -22
  63. package/dist/{chunk-T5MBORBK.js → chunk-AOFUA5XP.js} +1 -1
  64. package/dist/{chunk-7FAO4ICF.js → chunk-BCMEGJRX.js} +2 -2
  65. package/dist/{chunk-H3EWFSWI.js → chunk-BDIKWR45.js} +43 -29
  66. package/dist/{chunk-DJBMA4FW.js → chunk-BG6AIWAK.js} +4 -6
  67. package/dist/{chunk-6XU5XGYV.js → chunk-BOT6W3VB.js} +5 -5
  68. package/dist/{chunk-DRHQG44U.js → chunk-BQBD6Q5J.js} +6 -2
  69. package/dist/{chunk-6LQKU6YN.js → chunk-BZ67BJBH.js} +11 -10
  70. package/dist/{chunk-2AJWRVZ2.js → chunk-C47POAC5.js} +1 -1
  71. package/dist/{chunk-FJKFYQ5I.js → chunk-C5OBPO4Z.js} +36 -28
  72. package/dist/{chunk-Y7Q3VEYC.js → chunk-CCAAI56H.js} +30 -10
  73. package/dist/{chunk-T3WCDDIL.js → chunk-CDUR3KWV.js} +2 -2
  74. package/dist/{chunk-WE5WVQE4.js → chunk-CMPHT2LS.js} +3 -3
  75. package/dist/{chunk-FHA3KMFC.js → chunk-CQBPNE7Z.js} +5 -1
  76. package/dist/{chunk-JSA3ESEJ.js → chunk-CR5FP5SF.js} +1 -1
  77. package/dist/{chunk-JHWDTV4K.js → chunk-D2TQX7UJ.js} +2 -2
  78. package/dist/{chunk-5TUDYKNL.js → chunk-DEANHDXU.js} +42 -29
  79. package/dist/{chunk-GHFTKVJN.js → chunk-DHGE46UK.js} +1 -1
  80. package/dist/{chunk-ZSYU6LIH.js → chunk-DIHX6NUB.js} +5 -5
  81. package/dist/{chunk-W7Q6PLT4.js → chunk-DILQ34NW.js} +37 -37
  82. package/dist/{chunk-IZRTNCJQ.js → chunk-DJKRYJP7.js} +5 -5
  83. package/dist/{chunk-43PCSBVQ.js → chunk-DKLC6QLF.js} +634 -8
  84. package/dist/{chunk-I6QGYRY4.js → chunk-DNHTMCUP.js} +2 -2
  85. package/dist/{chunk-26WNBTWB.js → chunk-DORE2RHL.js} +5 -5
  86. package/dist/{chunk-WZB6R2ZX.js → chunk-DZYTXZNS.js} +11 -3
  87. package/dist/chunk-E262NRFP.js +39 -0
  88. package/dist/{chunk-O4D27FKH.js → chunk-E5YF236N.js} +4 -1
  89. package/dist/{chunk-5H4HFRDO.js → chunk-EBUK7HJP.js} +5 -5
  90. package/dist/{chunk-YGPLUENN.js → chunk-ECBHC272.js} +132 -83
  91. package/dist/{chunk-KLQKHA3T.js → chunk-EFW43JQJ.js} +5 -5
  92. package/dist/{chunk-VM5CQ7CG.js → chunk-EHRRHSPV.js} +2 -2
  93. package/dist/{chunk-PYGEIPPH.js → chunk-EILNJQMN.js} +32 -12
  94. package/dist/{chunk-KGS5Z7SL.js → chunk-ERDKMZ7O.js} +2 -2
  95. package/dist/{chunk-AFGQXMKT.js → chunk-ETRAPN5G.js} +143 -62
  96. package/dist/{chunk-USFIDSTO.js → chunk-ETUKDEGL.js} +18 -11
  97. package/dist/chunk-F2ET5ZTT.js +49 -0
  98. package/dist/{chunk-HVX2E26J.js → chunk-F3XOBFS4.js} +9 -8
  99. package/dist/{chunk-I4NUYVP5.js → chunk-FB6X7QHA.js} +1 -1
  100. package/dist/{chunk-LW4ZQGVL.js → chunk-FGW54I23.js} +7 -8
  101. package/dist/{chunk-UCIAHSJK.js → chunk-FP5B5XIL.js} +7 -3
  102. package/dist/{chunk-QRZESG66.js → chunk-FRHQGA5Q.js} +64 -239
  103. package/dist/{chunk-YTEJYLU7.js → chunk-FRR7BJ3B.js} +2 -2
  104. package/dist/{chunk-DPUCT567.js → chunk-FVWHEM2N.js} +7 -5
  105. package/dist/{chunk-54HEIM2A.js → chunk-FWSMENKH.js} +2 -2
  106. package/dist/{chunk-F4JAGDPD.js → chunk-FWTUGNSF.js} +8 -8
  107. package/dist/{chunk-HB3TH7GY.js → chunk-FZKDZQ6U.js} +10 -6
  108. package/dist/{chunk-6EE6XEMA.js → chunk-G4FF6G3I.js} +25 -16
  109. package/dist/{chunk-72OJBDRB.js → chunk-GB6BZSTL.js} +52 -41
  110. package/dist/{chunk-QLWUFEKR.js → chunk-GCIHRRDJ.js} +8 -8
  111. package/dist/{chunk-MTCDGSYW.js → chunk-GHCU6OSE.js} +2 -2
  112. package/dist/chunk-GO66OCN7.js +24 -0
  113. package/dist/chunk-GOFS336W.js +24 -0
  114. package/dist/{chunk-JMXNXLAC.js → chunk-GQYT7G4F.js} +2 -2
  115. package/dist/{chunk-TWRFVW3J.js → chunk-GUTLXO7Q.js} +138 -89
  116. package/dist/{chunk-RRPTQGRU.js → chunk-H3VICNTN.js} +1 -1
  117. package/dist/{chunk-GC4WOLV3.js → chunk-HAG3K6PQ.js} +14 -2
  118. package/dist/{chunk-7P7D6WXR.js → chunk-HBQHSZ6S.js} +3 -3
  119. package/dist/{chunk-ZV3SNRJI.js → chunk-HTQGJQZN.js} +4 -2
  120. package/dist/{chunk-VY67Q6CJ.js → chunk-HUQRO6VF.js} +36 -33
  121. package/dist/{chunk-WSKZZ2ZB.js → chunk-I5VDW2XZ.js} +538 -503
  122. package/dist/{chunk-TMXRTYGT.js → chunk-I5VNHDPR.js} +3 -2
  123. package/dist/{chunk-M74H7QYD.js → chunk-IDXYHDQY.js} +1 -1
  124. package/dist/{chunk-IPWUBZ4P.js → chunk-IIWZJ5ZM.js} +1 -1
  125. package/dist/{chunk-HC6WHTBX.js → chunk-IPBOREIY.js} +1 -1
  126. package/dist/chunk-IU335UO7.js +27 -0
  127. package/dist/{chunk-WDAZ2MT4.js → chunk-IVDTP6SV.js} +4 -4
  128. package/dist/{chunk-BDGLMWPO.js → chunk-IXOBDDMW.js} +11 -2
  129. package/dist/{chunk-PSYPB22T.js → chunk-J4QRB6DQ.js} +5 -5
  130. package/dist/{chunk-CEMXGMQN.js → chunk-JCMGKQVS.js} +3 -3
  131. package/dist/{chunk-XR7VOF2V.js → chunk-JM7UTLF3.js} +25 -13
  132. package/dist/{chunk-VY2NPB2Q.js → chunk-JNDWRV34.js} +4 -4
  133. package/dist/{chunk-SHCW2TCA.js → chunk-JSRQTDZZ.js} +25 -23
  134. package/dist/{chunk-XYUXB5VK.js → chunk-JT3UTEWZ.js} +3 -3
  135. package/dist/{chunk-BO5EJBLH.js → chunk-JUYRDZSV.js} +63 -43
  136. package/dist/{chunk-I5ZADE2U.js → chunk-JVGL2SCN.js} +1 -1
  137. package/dist/{chunk-A6XCVOC5.js → chunk-JY4LTPOV.js} +1 -1
  138. package/dist/chunk-K7XPTQBJ.js +267 -0
  139. package/dist/{chunk-JIH52I36.js → chunk-KGBUXMFP.js} +119 -85
  140. package/dist/{chunk-2KCK63DD.js → chunk-KIE5V3DA.js} +2 -2
  141. package/dist/{chunk-A33MFWHW.js → chunk-KU4PCG4W.js} +2 -2
  142. package/dist/{chunk-MQ5EKWIG.js → chunk-KVBLTAO7.js} +5 -5
  143. package/dist/{chunk-XCROSJ2Z.js → chunk-KW4JXWHO.js} +1 -1
  144. package/dist/{chunk-BY5JGQFZ.js → chunk-KWIP5YRA.js} +4 -4
  145. package/dist/{chunk-JRRSKCGG.js → chunk-LG6M2JTH.js} +3 -3
  146. package/dist/{chunk-KUMJI5B6.js → chunk-LIE2WSB4.js} +17 -14
  147. package/dist/{chunk-KAAB2DIV.js → chunk-LJDATBPB.js} +6 -6
  148. package/dist/{chunk-EHNGPUTO.js → chunk-LMMS675D.js} +5 -5
  149. package/dist/{chunk-ANNQJWDX.js → chunk-LPKGZ664.js} +285 -34
  150. package/dist/{chunk-ZTSJ7NY6.js → chunk-LPMSGO7L.js} +3 -3
  151. package/dist/chunk-LQWINE7K.js +211 -0
  152. package/dist/{chunk-RHBQ2Q5H.js → chunk-MKMMQDIY.js} +60 -43
  153. package/dist/{chunk-RMVCKO6N.js → chunk-MQ4IEDM5.js} +458 -136
  154. package/dist/{chunk-J22ETKDJ.js → chunk-MRM4KJ2O.js} +2 -2
  155. package/dist/{chunk-Z2BDTZDT.js → chunk-MX2OZHIT.js} +97 -39
  156. package/dist/{chunk-IFURKTOL.js → chunk-MXUPMGRY.js} +2 -2
  157. package/dist/{chunk-IUVJVMKS.js → chunk-NHU26HQ7.js} +55 -32
  158. package/dist/{chunk-6KHRMK3I.js → chunk-NQVJ4FPY.js} +158 -75
  159. package/dist/chunk-NZ7FX3AE.js +65 -0
  160. package/dist/{chunk-L2XRUG4P.js → chunk-OALBVELJ.js} +5 -5
  161. package/dist/{chunk-3DUGZ7ML.js → chunk-OGZ4UPYK.js} +46 -31
  162. package/dist/{chunk-7MYJUJZV.js → chunk-OMNB27GM.js} +4 -4
  163. package/dist/{chunk-GS5UG6QD.js → chunk-OO63YP35.js} +1 -1
  164. package/dist/{chunk-RHVP62HI.js → chunk-OPYDTW5Q.js} +5 -5
  165. package/dist/{chunk-4U2WSW6F.js → chunk-OSJN7KDS.js} +65 -36
  166. package/dist/{chunk-EY4OA4OF.js → chunk-OSJXIW6I.js} +370 -785
  167. package/dist/{chunk-NRYERHEI.js → chunk-OVVE42P4.js} +5 -5
  168. package/dist/{chunk-Z257SH5U.js → chunk-OZA7HA6L.js} +1 -1
  169. package/dist/{chunk-WJQX7HBH.js → chunk-OZLKEBCD.js} +2 -2
  170. package/dist/{chunk-DYSEZVIJ.js → chunk-P6DEFCMQ.js} +2 -2
  171. package/dist/{chunk-CIDOL4FO.js → chunk-PDTIQL3B.js} +5 -5
  172. package/dist/{chunk-TQ5HHNM3.js → chunk-PJ5BYZPN.js} +2 -2
  173. package/dist/{chunk-EHQLLZCQ.js → chunk-PK7Z7WRJ.js} +59 -34
  174. package/dist/{chunk-KJLH5EHD.js → chunk-PL6NWB5U.js} +175 -110
  175. package/dist/chunk-PMT75APP.js +94 -0
  176. package/dist/{chunk-KQ2WZ6BY.js → chunk-PP6A4X55.js} +1 -1
  177. package/dist/{chunk-O7Y6RJ4D.js → chunk-PPCH3PLO.js} +11 -11
  178. package/dist/{chunk-IRXTNSZL.js → chunk-PPE6S7WU.js} +40 -22
  179. package/dist/{chunk-VT7PBGL2.js → chunk-PT7KSIEO.js} +23 -36
  180. package/dist/{chunk-GADI2DU7.js → chunk-QAUGRVRU.js} +121 -23
  181. package/dist/{chunk-2X6XY4K4.js → chunk-QMFWZG2P.js} +39 -19
  182. package/dist/{chunk-YB6QGOCO.js → chunk-QZGGCE45.js} +2 -2
  183. package/dist/{chunk-5P4MXWKP.js → chunk-R2RJQ3BM.js} +4 -4
  184. package/dist/{chunk-FAFUMSPR.js → chunk-R7HBIQ63.js} +83 -51
  185. package/dist/{chunk-76UL4CT4.js → chunk-RBNDZLYS.js} +27 -22
  186. package/dist/{chunk-XN7JDII2.js → chunk-RCSY4CT4.js} +230 -107
  187. package/dist/{chunk-OAT6FWKL.js → chunk-RHQRPJHS.js} +5 -5
  188. package/dist/chunk-RI6XQKWJ.js +26 -0
  189. package/dist/{chunk-FX5VZK5F.js → chunk-RJICOOB3.js} +14 -8
  190. package/dist/{chunk-NINK4G7U.js → chunk-RLAVNCQJ.js} +2 -2
  191. package/dist/{chunk-FERP4WS3.js → chunk-ROPPWJQB.js} +11 -10
  192. package/dist/{chunk-SSZB3VXG.js → chunk-SELOV32X.js} +102 -47
  193. package/dist/{chunk-EEBMK6T6.js → chunk-SQI4NWTQ.js} +8 -8
  194. package/dist/{chunk-2WTD3GCR.js → chunk-SRJ74CMG.js} +2 -2
  195. package/dist/{chunk-LSR3SBJ4.js → chunk-STWOURLG.js} +234 -136
  196. package/dist/{chunk-BQIADGJB.js → chunk-SWMFXSVW.js} +5 -5
  197. package/dist/{chunk-5HTGSB6Y.js → chunk-SZ5VGWDY.js} +3 -3
  198. package/dist/{chunk-EDBUVDRI.js → chunk-T26G23RS.js} +359 -86
  199. package/dist/chunk-T7GPIJ4L.js +89 -0
  200. package/dist/{chunk-LGMV7ZV4.js → chunk-TAEB3RU6.js} +5 -5
  201. package/dist/{chunk-YFI5PN5O.js → chunk-TBDIMTRD.js} +34 -11
  202. package/dist/{chunk-HDSHS2QZ.js → chunk-TFFPEWNP.js} +70 -47
  203. package/dist/{chunk-YO5UKKCQ.js → chunk-TMEUK2WS.js} +6 -2
  204. package/dist/{chunk-X5OVVMZX.js → chunk-TVOMGNFQ.js} +1 -1
  205. package/dist/{chunk-JARJP576.js → chunk-TX5FSNAU.js} +435 -29
  206. package/dist/{chunk-LUZ7HXBT.js → chunk-U52PNFPX.js} +1 -1
  207. package/dist/chunk-U74AWJ3X.js +24 -0
  208. package/dist/chunk-UC7LBW7N.js +26 -0
  209. package/dist/{chunk-V3UE3TB7.js → chunk-UCKUAKYQ.js} +2 -2
  210. package/dist/{chunk-62JZL6FW.js → chunk-UCYL3YA7.js} +56 -42
  211. package/dist/{chunk-AKJO6N4K.js → chunk-UD2GI3CS.js} +11 -4
  212. package/dist/{chunk-MOQFYJ3F.js → chunk-ULQIC76A.js} +5 -5
  213. package/dist/{chunk-HFFKN7PA.js → chunk-UY34DDUM.js} +3 -3
  214. package/dist/{chunk-2I76VFMZ.js → chunk-UYMFLWM6.js} +49 -37
  215. package/dist/{chunk-3LNVEE5Z.js → chunk-V7FV66KL.js} +1 -1
  216. package/dist/{chunk-UP4JSNDR.js → chunk-V7NUJEJE.js} +1 -1
  217. package/dist/{chunk-53OEKS4L.js → chunk-VESSIKBG.js} +6 -3
  218. package/dist/{chunk-HGPFEG2L.js → chunk-VRFJAF3R.js} +5 -5
  219. package/dist/chunk-VS2R3OGN.js +34 -0
  220. package/dist/{chunk-EEL2N4Y6.js → chunk-VS5B4J2D.js} +5 -5
  221. package/dist/{chunk-G5BUGYIL.js → chunk-W4R6SGU3.js} +192 -113
  222. package/dist/{chunk-JKOEHRGV.js → chunk-WDLWWEHZ.js} +1 -1
  223. package/dist/{chunk-IW3YUMPI.js → chunk-WFBN2HXR.js} +2 -2
  224. package/dist/{chunk-YCUNFAEE.js → chunk-WJS6SAWA.js} +238 -127
  225. package/dist/{chunk-VFLMBA2M.js → chunk-WQYNKF33.js} +19 -18
  226. package/dist/{chunk-QNLESRH6.js → chunk-WUP6C4ZD.js} +2 -2
  227. package/dist/{chunk-4JNHF6JW.js → chunk-X24WAHHV.js} +84 -40
  228. package/dist/{chunk-GKQLKUMF.js → chunk-X3UCQPVV.js} +41 -32
  229. package/dist/{chunk-TXMS7QUJ.js → chunk-X46PSAJ7.js} +6 -6
  230. package/dist/{chunk-M2OQK2FO.js → chunk-XD5XB22R.js} +2 -2
  231. package/dist/{chunk-AOIZJ7GR.js → chunk-XDIAQEYK.js} +6 -6
  232. package/dist/{chunk-7EQU2TUN.js → chunk-XFPNYHX3.js} +84 -53
  233. package/dist/{chunk-NCCDEUHD.js → chunk-XIBVAKCO.js} +1 -1
  234. package/dist/{chunk-SD6ENKTO.js → chunk-XMX4PCFL.js} +3 -3
  235. package/dist/{chunk-2HD5RY2U.js → chunk-XRRG4MBM.js} +3 -3
  236. package/dist/{chunk-Y5WHM2Q5.js → chunk-XTFO6D4L.js} +1 -1
  237. package/dist/chunk-XWRI3N5O.js +70 -0
  238. package/dist/{chunk-IVQT2E3Y.js → chunk-XXPLPSOE.js} +13 -13
  239. package/dist/{chunk-YNHPPZ7S.js → chunk-XZXZNI7A.js} +1 -1
  240. package/dist/{chunk-QZMLSK43.js → chunk-YEJZ2OYS.js} +294 -145
  241. package/dist/{chunk-GAFEN3H7.js → chunk-Z3WQXVFV.js} +2 -2
  242. package/dist/{chunk-D3PQAVFW.js → chunk-Z6DUNKFU.js} +152 -29
  243. package/dist/{chunk-FF7MV4D4.js → chunk-Z6H5ED2I.js} +1 -1
  244. package/dist/{chunk-CV3NC75L.js → chunk-ZBOOMLHD.js} +1 -1
  245. package/dist/{chunk-ZDD3MJ2H.js → chunk-ZDJ7C64T.js} +1 -1
  246. package/dist/{chunk-OKM5LYYP.js → chunk-ZGZLEUKM.js} +5 -5
  247. package/dist/{chunk-QHPJ5ZKS.js → chunk-ZHRGX225.js} +5 -5
  248. package/dist/{chunk-QYOZ46ZQ.js → chunk-ZIVCPXXL.js} +467 -650
  249. package/dist/{chunk-V62B23VC.js → chunk-ZNRSYS76.js} +8 -2
  250. package/dist/{chunk-UFZXZJJG.js → chunk-ZSLTSCTI.js} +5 -5
  251. package/dist/{chunk-NIDH22DI.js → chunk-ZSYFQSPF.js} +12 -2
  252. package/dist/cli/index.js +8 -3
  253. package/dist/{core-UNX4ZV4M.js → core-43GLGBOY.js} +5 -1
  254. package/dist/{core-T3OSZOVV.js → core-5GI3ERXO.js} +3 -1
  255. package/dist/{core-AMWCZTOT.js → core-5L7TMK7I.js} +5 -1
  256. package/dist/{core-5S5CJHBG.js → core-7TO4OVY5.js} +2 -1
  257. package/dist/{core-BJZEJ63L.js → core-BJVENHFQ.js} +3 -1
  258. package/dist/{core-A7HXVSKB.js → core-BX4MFWKC.js} +2 -1
  259. package/dist/{core-4PW4MXWR.js → core-C3KXTOIZ.js} +4 -1
  260. package/dist/{core-SKMHEA4Y.js → core-C5Y6BFLL.js} +3 -1
  261. package/dist/{core-FTQBESDS.js → core-CLUSJ2SK.js} +3 -1
  262. package/dist/{core-QM34237W.js → core-E3IN2VVH.js} +2 -1
  263. package/dist/{core-4M4RY7MX.js → core-FD67NQOV.js} +3 -1
  264. package/dist/{core-WXZJ7V7S.js → core-FDKMLRAK.js} +4 -1
  265. package/dist/{core-L3UR75IJ.js → core-FL6Z3VVX.js} +4 -1
  266. package/dist/{core-XKXDXALI.js → core-JC7JUFPY.js} +6 -1
  267. package/dist/{core-WP73P4CW.js → core-JF33TADA.js} +5 -1
  268. package/dist/{core-DMDAXVMY.js → core-JH32ZAKM.js} +2 -1
  269. package/dist/{core-GS4DXDDG.js → core-JYYZPPQV.js} +4 -1
  270. package/dist/{core-N2JEWJ7D.js → core-KJTKCV4U.js} +2 -1
  271. package/dist/{core-7XKNJM7Y.js → core-LCQPE5Y6.js} +5 -1
  272. package/dist/{core-ZACFV6XR.js → core-LHVGWE54.js} +5 -1
  273. package/dist/{core-VT35VDVS.js → core-OVSNBOCE.js} +6 -1
  274. package/dist/{core-AVA4XLQ2.js → core-PPEC236B.js} +2 -1
  275. package/dist/{core-QFAVWFI3.js → core-QTJZDK5H.js} +2 -1
  276. package/dist/{core-VWYXK2R3.js → core-R3YZCOUZ.js} +4 -1
  277. package/dist/{core-OFPPRHYY.js → core-RIBW5XU4.js} +3 -1
  278. package/dist/{core-MAW4S3KA.js → core-RJFILBWL.js} +5 -1
  279. package/dist/{core-FCSA74RT.js → core-RWSXEKTE.js} +3 -1
  280. package/dist/{core-WPEYRK6Y.js → core-SOPPZLEH.js} +4 -1
  281. package/dist/{core-EMSJRGSE.js → core-TBUZCXLX.js} +2 -1
  282. package/dist/{core-OBPTBKX6.js → core-TZ5QLTAX.js} +2 -1
  283. package/dist/{core-JDZDBTID.js → core-U7E5W4MY.js} +2 -1
  284. package/dist/{core-ZSERZGK6.js → core-UBNVSL44.js} +3 -1
  285. package/dist/{core-WNT6ZMRO.js → core-UDRD4WIU.js} +2 -1
  286. package/dist/{core-VRVL6LIM.js → core-UVJZ4HY2.js} +3 -1
  287. package/dist/{core-7TTM4KRP.js → core-X7WWYQH4.js} +3 -1
  288. package/dist/{core-D2OIGYC7.js → core-XP56X47I.js} +4 -1
  289. package/dist/{core-CCB3IXGD.js → core-XQG54CYG.js} +3 -1
  290. package/dist/{dataTable-7IO546LM.js → dataTable-U7W4I6IF.js} +7 -2
  291. package/dist/{engine-US3N6UCH.js → engine-O5V26MGR.js} +23 -18
  292. package/dist/fixtures.js +2 -1
  293. package/dist/flags-BVLSAXT3.js +10 -0
  294. package/dist/{fontTables-ZPZQ6IR3.js → fontTables-JUW7ZTQY.js} +3 -1
  295. package/dist/geo/dach.js +1 -1
  296. package/dist/geo/de-states.js +1 -1
  297. package/dist/geo/eu27.js +1 -1
  298. package/dist/geo/europe.js +1 -1
  299. package/dist/geo/index.js +2 -2
  300. package/dist/geo/us-states.js +1 -1
  301. package/dist/geo/world.js +1 -1
  302. package/dist/index.js +27 -20
  303. package/dist/{main-2UWKGUHR.js → main-35GS47XC.js} +50 -119
  304. package/dist/mcp/server.js +121 -118
  305. package/dist/react/bar.js +5 -1
  306. package/dist/react/bartable.js +3 -1
  307. package/dist/react/box.js +3 -1
  308. package/dist/react/bullet.js +4 -1
  309. package/dist/react/butterfly.js +5 -1
  310. package/dist/react/choropleth.js +3 -1
  311. package/dist/react/cohort.js +3 -1
  312. package/dist/react/column.js +5 -1
  313. package/dist/react/combo.js +5 -1
  314. package/dist/react/creative.js +4 -1
  315. package/dist/react/diagram.js +3 -1
  316. package/dist/react/dimswitch.js +6 -1
  317. package/dist/react/dot.js +4 -1
  318. package/dist/react/export.js +29 -18
  319. package/dist/react/funnel.js +4 -1
  320. package/dist/react/gantt.js +3 -1
  321. package/dist/react/grid.js +6 -1
  322. package/dist/react/heatmap.js +3 -1
  323. package/dist/react/histogram.js +6 -1
  324. package/dist/react/index.js +92 -85
  325. package/dist/react/kpi.js +4 -1
  326. package/dist/react/likert.js +6 -1
  327. package/dist/react/line.js +4 -1
  328. package/dist/react/mekko.js +5 -1
  329. package/dist/react/pareto.js +6 -1
  330. package/dist/react/pie.js +4 -1
  331. package/dist/react/prepare.js +35 -22
  332. package/dist/react/pvm.js +6 -1
  333. package/dist/react/pyramid.js +5 -1
  334. package/dist/react/sankey.js +3 -1
  335. package/dist/react/scatter.js +3 -1
  336. package/dist/react/slope.js +4 -1
  337. package/dist/react/sparkline.js +4 -1
  338. package/dist/react/spec.js +17 -13
  339. package/dist/react/status.js +3 -1
  340. package/dist/react/story.js +3 -2
  341. package/dist/react/table.js +4 -1
  342. package/dist/react/theme.js +5 -3
  343. package/dist/react/tilemap.js +3 -1
  344. package/dist/react/treemap.js +3 -1
  345. package/dist/react/variance.js +5 -1
  346. package/dist/react/waffle.js +3 -1
  347. package/dist/react/waterfall.js +5 -1
  348. package/dist/{resvg-VB7S5HRF.js → resvg-ZYEZTSUO.js} +3 -1
  349. package/dist/rows.js +2 -2
  350. package/dist/{rowsModule-DYDVHBAX.js → rowsModule-H2S6WW4D.js} +1 -1
  351. package/dist/{schema-YDZCGL56.js → schema-2R32F6AW.js} +1 -3
  352. package/dist/{schema-A2XUZUCV.js → schema-2TPGJGVR.js} +1 -3
  353. package/dist/{schema-MD22QYZU.js → schema-47BG2TZA.js} +1 -3
  354. package/dist/{schema-HEB6ZDI5.js → schema-56MOEOVR.js} +1 -3
  355. package/dist/{schema-K4V4PYBO.js → schema-5MSR4LNN.js} +1 -3
  356. package/dist/{schema-NOBNFD2F.js → schema-5RIYEWE6.js} +1 -3
  357. package/dist/{schema-PHIHMDVB.js → schema-A26ZNGTZ.js} +1 -3
  358. package/dist/{schema-OXO2XY4Y.js → schema-ALBF6V7Y.js} +1 -3
  359. package/dist/{schema-F2Q6MH7W.js → schema-BA6WP5YZ.js} +1 -3
  360. package/dist/{schema-G5KSSI5W.js → schema-CBL2SMVR.js} +1 -3
  361. package/dist/{schema-WFGDVBJK.js → schema-CWKGLDSR.js} +1 -3
  362. package/dist/{schema-DHMMGDTI.js → schema-DBIQFL56.js} +1 -3
  363. package/dist/{schema-626QXX4G.js → schema-DL7V6NN2.js} +1 -3
  364. package/dist/{schema-FC6J6KZC.js → schema-DUVJMFKQ.js} +1 -3
  365. package/dist/{schema-LGLQBRC4.js → schema-ECJERHKF.js} +1 -2
  366. package/dist/{schema-4JRNXEZF.js → schema-EDSEKZDJ.js} +1 -3
  367. package/dist/{schema-I44IDRGD.js → schema-ESR6ZIK4.js} +1 -3
  368. package/dist/{schema-FSYDLMGD.js → schema-F7TWGLRZ.js} +1 -3
  369. package/dist/{schema-JCU6LTYD.js → schema-FGB6IGZM.js} +1 -3
  370. package/dist/{schema-MGETMQYC.js → schema-FKGGTM4Z.js} +1 -2
  371. package/dist/{schema-6PL46VXZ.js → schema-FU2AFIEE.js} +1 -3
  372. package/dist/{schema-XIHAKX3B.js → schema-JNJFCYBM.js} +1 -1
  373. package/dist/{schema-6V5K3J2V.js → schema-JYZ4RF6S.js} +1 -3
  374. package/dist/{schema-GXOG4MXL.js → schema-K7F6TEDK.js} +1 -2
  375. package/dist/{schema-NMIYKGHE.js → schema-KAK6DZX4.js} +1 -3
  376. package/dist/{schema-XRSORYBI.js → schema-MOKWIGF7.js} +1 -3
  377. package/dist/{schema-3KMU5737.js → schema-MQT6BMNK.js} +1 -3
  378. package/dist/{schema-JJWORI7D.js → schema-MR3BPPQR.js} +1 -3
  379. package/dist/{schema-IFTIMTS3.js → schema-OPXZYIW7.js} +1 -3
  380. package/dist/{schema-UXWKA3PI.js → schema-PV7JGX5H.js} +1 -3
  381. package/dist/{schema-CNJ4Y6CT.js → schema-PWPQF5RC.js} +1 -3
  382. package/dist/{schema-WBOPCTPC.js → schema-PYQEUC5P.js} +1 -3
  383. package/dist/{schema-J4HCSD5C.js → schema-QPIC5MAG.js} +6 -2
  384. package/dist/{schema-IUY7VYHJ.js → schema-R42VXFIS.js} +1 -3
  385. package/dist/{schema-WX2RS4OU.js → schema-TVUJNEX7.js} +1 -3
  386. package/dist/{schema-FGE5YK3S.js → schema-Y4TI2T3T.js} +1 -3
  387. package/dist/{schema-MQB6CE5V.js → schema-ZU2EU2VP.js} +1 -3
  388. package/dist/{specValidation-XGELWQUU.js → specValidation-2NHJT7TQ.js} +3 -1
  389. package/dist/theme.js +4 -3
  390. package/dist/{themeShapeRules-PW4BQHKL.js → themeShapeRules-G7UZX6GJ.js} +1 -1
  391. package/dist/types/core/annotate.d.ts +27 -2
  392. package/dist/types/core/annotateArms.d.ts +3 -1
  393. package/dist/types/core/annotateTargets.d.ts +4 -0
  394. package/dist/types/core/annotationOrigin.d.ts +13 -0
  395. package/dist/types/core/axis.d.ts +2 -2
  396. package/dist/types/core/charts/band/stacks.d.ts +7 -1
  397. package/dist/types/core/charts/column/model.d.ts +13 -0
  398. package/dist/types/core/charts/combo/layout.d.ts +7 -0
  399. package/dist/types/core/charts/gantt/calendar.d.ts +4 -0
  400. package/dist/types/core/charts/grid/normalize.d.ts +5 -0
  401. package/dist/types/core/charts/grid/schema.d.ts +2 -2
  402. package/dist/types/core/charts/pareto/layout.d.ts +2 -0
  403. package/dist/types/core/charts/pvm/types.d.ts +1 -0
  404. package/dist/types/core/charts/scatter/clamp.d.ts +2 -1
  405. package/dist/types/core/charts/scatter/model.d.ts +5 -0
  406. package/dist/types/core/charts/scatter/valueLines.d.ts +3 -1
  407. package/dist/types/core/charts/table/resolve.d.ts +8 -3
  408. package/dist/types/core/charts/table/view.d.ts +24 -1
  409. package/dist/types/core/claims/browser.d.ts +2 -0
  410. package/dist/types/core/claims/ids.d.ts +38 -0
  411. package/dist/types/core/deferred.d.ts +1 -0
  412. package/dist/types/core/doc/diagnostics.d.ts +3 -2
  413. package/dist/types/core/formatSpec.d.ts +33 -14
  414. package/dist/types/core/frame.d.ts +25 -58
  415. package/dist/types/core/frameText.d.ts +203 -0
  416. package/dist/types/core/geometry.d.ts +2 -0
  417. package/dist/types/core/label/categoryRow.d.ts +19 -2
  418. package/dist/types/core/label/solver.d.ts +23 -2
  419. package/dist/types/core/normalize/shared.d.ts +12 -2
  420. package/dist/types/core/notes.d.ts +15 -2
  421. package/dist/types/core/reading.d.ts +12 -1
  422. package/dist/types/core/request.d.ts +1 -1
  423. package/dist/types/core/schema/capability.d.ts +12 -0
  424. package/dist/types/core/seriesIdentity.d.ts +4 -1
  425. package/dist/types/core/sizing.d.ts +32 -1
  426. package/dist/types/core/structureCounts.d.ts +3 -1
  427. package/dist/types/core/theme.d.ts +33 -4
  428. package/dist/types/core/themeRules.d.ts +2 -0
  429. package/dist/types/core/types/annotations.d.ts +74 -4
  430. package/dist/types/core/types/options.d.ts +35 -3
  431. package/dist/types/core/types/scene.d.ts +30 -2
  432. package/dist/types/core/types/table.d.ts +6 -0
  433. package/dist/types/core/types/theme.d.ts +23 -0
  434. package/dist/types/react/TableChart.d.ts +5 -0
  435. package/dist/validate.js +13 -6
  436. package/docs/TELEMETRY.md +2 -2
  437. package/docs/manual.md +252 -62
  438. package/docs/reference/bar.md +12 -4
  439. package/docs/reference/bartable.md +2 -2
  440. package/docs/reference/box.md +8 -4
  441. package/docs/reference/bullet.md +9 -5
  442. package/docs/reference/butterfly.md +10 -5
  443. package/docs/reference/choropleth.md +3 -5
  444. package/docs/reference/cohort.md +1 -1
  445. package/docs/reference/column.md +18 -4
  446. package/docs/reference/combo.md +10 -5
  447. package/docs/reference/creative.md +3 -7
  448. package/docs/reference/diagram.md +1 -1
  449. package/docs/reference/dimswitch.md +23 -88
  450. package/docs/reference/dot.md +9 -5
  451. package/docs/reference/fixtures.md +37 -1
  452. package/docs/reference/funnel.md +9 -5
  453. package/docs/reference/gantt.md +8 -15
  454. package/docs/reference/grid.md +5 -2
  455. package/docs/reference/heatmap.md +10 -6
  456. package/docs/reference/kpi.md +1 -1
  457. package/docs/reference/likert.md +9 -4
  458. package/docs/reference/line.md +18 -5
  459. package/docs/reference/mekko.md +10 -5
  460. package/docs/reference/options.md +17 -13
  461. package/docs/reference/pareto.md +8 -4
  462. package/docs/reference/pie.md +9 -5
  463. package/docs/reference/pvm.md +9 -5
  464. package/docs/reference/pyramid.md +8 -4
  465. package/docs/reference/react.md +5 -5
  466. package/docs/reference/sankey.md +2 -2
  467. package/docs/reference/scatter.md +8 -4
  468. package/docs/reference/slope.md +9 -5
  469. package/docs/reference/sparkline.md +1 -1
  470. package/docs/reference/status.md +1 -1
  471. package/docs/reference/table.md +33 -114
  472. package/docs/reference/theme.md +12 -4
  473. package/docs/reference/tilemap.md +2 -4
  474. package/docs/reference/treemap.md +1 -1
  475. package/docs/reference/variance.md +12 -6
  476. package/docs/reference/waffle.md +1 -1
  477. package/docs/reference/warnings.md +1077 -0
  478. package/docs/reference/waterfall.md +16 -4
  479. package/docs/use-cases.md +25 -13
  480. package/llms.txt +19 -6
  481. package/package.json +18 -3
  482. package/dist/chunk-5RHP7YTL.js +0 -24
  483. package/dist/chunk-6VU2XI3W.js +0 -89
  484. package/dist/chunk-6WJOHZPW.js +0 -26
  485. package/dist/chunk-FL3FQ2YA.js +0 -27
  486. package/dist/chunk-G5CELEUR.js +0 -26
  487. package/dist/chunk-M4SPKUZE.js +0 -7
  488. package/dist/chunk-OF7FMGH5.js +0 -24
  489. package/dist/chunk-S2TSXUYP.js +0 -24
  490. package/dist/chunk-TKERVBJ3.js +0 -23
  491. package/dist/chunk-VMGTNB6H.js +0 -25
  492. package/dist/chunk-WZL4EEBS.js +0 -11
  493. package/dist/chunk-YJGFT63R.js +0 -27
  494. package/dist/chunk-ZNX5J7D7.js +0 -47
@@ -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
- readingCountsSchema,
16
- readingMetricStackSchema,
16
+ readingSchema,
17
17
  rejectedInput,
18
18
  render,
19
19
  requestedFontTables,
20
20
  runVerb,
21
21
  sha256
22
- } from "../chunk-K6Y4HBK7.js";
22
+ } from "../chunk-2LC2H3ZM.js";
23
23
  import {
24
+ drawsPng,
24
25
  loadRasterFonts
25
- } from "../chunk-D2B3KP35.js";
26
+ } from "../chunk-7VWXXBTC.js";
26
27
  import {
27
28
  registerAllGeoPacks
28
- } from "../chunk-IPWUBZ4P.js";
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-43PCSBVQ.js";
84
+ } from "../chunk-DKLC6QLF.js";
84
85
 
85
86
 
86
87
 
@@ -180,21 +181,23 @@ import {
180
181
 
181
182
  import {
182
183
  canonicalJson
183
- } from "../chunk-CT4RFZO4.js";
184
+ } from "../chunk-AN2V2LC4.js";
184
185
  import {
185
186
  completeDiagnostic,
186
187
  parseWithInputConversions
187
- } from "../chunk-GADI2DU7.js";
188
+ } from "../chunk-QAUGRVRU.js";
188
189
  import {
189
190
  linkStoryLayer
190
- } from "../chunk-XR7VOF2V.js";
191
+ } from "../chunk-JM7UTLF3.js";
191
192
  import {
192
193
  sanitizeObjectPrototype
193
- } from "../chunk-QYOZ46ZQ.js";
194
+ } from "../chunk-K7XPTQBJ.js";
195
+
194
196
  import {
195
197
  InputError,
196
198
  parseSpecString
197
- } from "../chunk-6EE6XEMA.js";
199
+ } from "../chunk-G4FF6G3I.js";
200
+
198
201
 
199
202
 
200
203
 
@@ -207,7 +210,10 @@ import {
207
210
 
208
211
  import {
209
212
  linkAnnotateEngine
210
- } from "../chunk-RMVCKO6N.js";
213
+ } from "../chunk-MQ4IEDM5.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-BDGLMWPO.js";
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-AFGQXMKT.js";
267
+ } from "../chunk-ETRAPN5G.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-J22ETKDJ.js";
275
+ } from "../chunk-MRM4KJ2O.js";
276
+
269
277
 
270
278
 
271
279
 
@@ -275,7 +283,7 @@ import {
275
283
 
276
284
  import {
277
285
  resolveTheme
278
- } from "../chunk-JARJP576.js";
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
- path: { type: "string", description: "JSON pointer into the spec the caller sent." },
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 operations that fix the finding, when the engine can propose one." },
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("The chart spec as an object: { name?, type, data, options?, annotations?, theme? }, or an envelope { version: 1, charts: [...] } for several charts. name is the output file name and chart identity, default chart."), absolutePath = (description) => z.string().regex(new RegExp(ABSOLUTE_OUT_DIR_PATTERN)).meta({ pattern: ABSOLUTE_OUT_DIR_PATTERN, description }), rowArguments = {
335
- rows: z.array(z.looseObject({})).optional().describe("A flat table that fills a bare spec. One row per category/series pair, waterfall item, scatter point, sankey link, map region, table row or histogram or box observation. Keep data.pack for maps and data.columns for tables. Needs columns, except for a table."),
336
- rowsFile: absolutePath("Absolute path of a local .json (an array of row objects) or .csv, .tsv or .txt file (a header row) of at most 10 MB, read in place of rows so the numbers never pass through you. It must sit under a client root, the server working directory, the temp folder or a folder in BOARDPLOT_ROWS_ROOTS. A file separated by semicolons is detected from its header, and its values read a decimal comma as a decimal. Needs columns, except for a table.").optional(),
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("Column holding na, nm or suppressed for a cell whose value is null."),
346
- label: z.string().optional(),
347
- type: z.string().optional().describe("Waterfall item type: delta (default), subtotal or total."),
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("Table row id column. Without it the rows are row-1, row-2, ... ."),
357
- valueKind: z.enum(["number", "percent", "fraction"]).default("number")
358
- }).optional().describe("Source columns by chart type. Category charts require category,series,value; maps category,value. Waterfall: label,value; optional type (delta|subtotal|total). Scatter/bubble: x,y; optional size,label,group (legend series). Sankey: source,target,value; optional sourceStage,targetStage. Item/point ids are row-1,row-2,... . Table: optional label (row label) and id; spec data.columns declares the columns, and each value, text, status or date column reads the source field named like its id. Histogram: value. Box: category (group id), value; optional categoryLabel, date. A missing or non-numeric observation is refused. valueKind: number (default), percent (50 means 50%) or fraction (0.5 means 50%); applies to value or both x/y, never size; table, histogram and box take number only.")
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. Beats spec options.target."), notesList = {
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 exactly the width measured at. minHeight also holds at minWidth and can be taller." },
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, or { code, message, required: { width, height } }." }
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: "Full detail only. Options or option values this type ignores with an option-ignored warning and a remove patch." },
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: "path or schema: the half of the spec the answer describes; spec for path name, the bare chart's own name; design for path design." },
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("A chart type or alias from boardplot_list, or 'theme'."),
448
- detail: z.enum(["compact", "full"]).default("compact").describe("compact (default) or full."),
449
- path: z.string().optional().describe("One field, such as valueAxis.break or data.series[].values; a leading data. or options. picks the half. Not with type 'theme'."),
450
- schema: z.enum(["data", "options"]).optional().describe("The JSON Schema of the data or the options instead of the contract. Not with path.")
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 (default) or png."),
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("What the response carries."),
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; pt or mm go in spec options.size."),
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("One fixture id."),
474
- kind: z.enum(["example", "torture", "all"]).default("example"),
475
- cursor: z.string().optional().describe("nextCursor from the previous page.")
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-dropped."),
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: "Lists every chart type Boardplot draws, with a one-line summary, two or three typical use cases, its chart IDs (type.variant), aliases and minimum canvas in pixels. Also lists the options shared by all types once, the theme presets and how to get the theme contract, and names chart forms Boardplot does not draw, with the type and option that draw the same thing where one exists. Call it when you do not yet know which type exists; everything else in this server addresses a type by name. A row ending in \u2026 is cut: boardplot_describe with that path returns the whole text.",
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: "Returns the authoring contract for one chart type: the data shape, every option with its type, allowed values and default, one minimal working spec, the size floor and the runnable fixtures. Pass type 'theme' for the theme token contract instead (presets, every token, one minimal brand theme). The compact default is enough to write a valid spec; a row ending in \u2026 is cut, and path or detail 'full' returns its whole text. To look up one field, pass path (valueAxis.break, data.series[].values): the answer is that field and the fields below it in full, or the reason the type refuses it. A type with a design card (bar, line, waterfall) returns its message, use, not-when and first rules; path 'design' returns every rule. Pass schema 'data' or 'options' for the JSON Schema a constrained generator can fill. A field that is not in the response is not accepted by that type.",
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: "Lays out and draws one chart from a spec. It validates while drawing: an invalid spec comes back with ok false and one error per field, so there is no separate validation step. By default the response carries a short reading of what was drawn (series, labels placed and dropped, derived numbers, notes); ask for 'svg' in return to get the markup inline, and pass format 'png' to also receive the chart as an image you can look at. Pass outDir only when you need files on disk. Warnings never block the drawing; theme lints carry a path ending in /theme and come once per session for the same theme; design advice (severity advice, at most three per render) comes once per code per session. To draw numbers from a query result, pass rowsFile (or rows) with columns instead of writing them into spec.data. Rows fill categories and series, waterfall items, scatter points or map regions. The reading reports the row count and a sha256 of the data. target sets the reading context (default report); width and height are px, and pt or mm go in spec options.size with unit. Each chart reports its target, layout size in px and natural output size.",
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: "Reports the smallest, natural and comfortable pixel size one spec needs, without drawing. Use it when the chart has to fit a fixed container or a column of known width, or when a render was refused as too small; the response names the exact pixels that would make it fit. titleLines tells you how many lines the title will take at that width. A dashboard card takes minHeightAtWidth as its floor (minHeight is safe at the minimum width too and can be taller), and naturalHeight as its target for a dense chart (many categories, long footer, event lane), never a fixed small height. target and sizes work as on boardplot_render; the answer is in px. rows, rowsFile and columns work as on boardplot_render.",
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: "Returns complete, runnable example specs with real-looking data, one per use case. The fastest way to a first chart is to take the closest fixture, replace values and text, and keep the option structure. Omit type for the whole catalogue, pass id for one fixture. Torture fixtures are stress cases used for regression; ask for them only when you need edge cases.",
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: "Drafts a report about a Boardplot problem for the user: version, OS, chart type, option names, codes and your one-line summary, plus issueUrl, a prefilled GitHub issue the user opens and submits. It sends nothing. Offer it when Boardplot itself fails, refuses wrongly or draws something misleading, show the user the report, and let the user decide.",
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 rl = createInterface({ input: process.stdin, terminal: !1 }), initialized = !1, rootsSupported = !1, rootsRequests = 0, rootsRequest, rootsReady = Promise.resolve(), settleRoots, requestRoots = () => {
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 ?? {}, answer = () => {
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))) : answer();
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 && await loadRasterFonts().then(startMcpServer);
1053
+ direct && startMcpServer();
1051
1054
  }
1052
1055
  export {
1053
1056
  ABSOLUTE_OUT_DIR_PATTERN,
package/dist/react/bar.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  BarChart
4
- } from "../chunk-VMGTNB6H.js";
4
+ } from "../chunk-64K3V4VN.js";
5
+
6
+
7
+
8
+
5
9
 
6
10
 
7
11
 
@@ -1,7 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  BarTableChart
4
- } from "../chunk-KF3ZHLHQ.js";
4
+ } from "../chunk-2NX7EO7H.js";
5
+
6
+
5
7
 
6
8
 
7
9
 
package/dist/react/box.js CHANGED
@@ -1,7 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  BoxChart
4
- } from "../chunk-KLQKHA3T.js";
4
+ } from "../chunk-EFW43JQJ.js";
5
+
6
+
5
7
 
6
8
 
7
9
 
@@ -1,7 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  BulletChart
4
- } from "../chunk-EHNGPUTO.js";
4
+ } from "../chunk-LMMS675D.js";
5
+
6
+
7
+
5
8
 
6
9
 
7
10
 
@@ -1,7 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  ButterflyChart
4
- } from "../chunk-WKWCNS6K.js";
4
+ } from "../chunk-4FNM4D57.js";
5
+
6
+
7
+
8
+
5
9
 
6
10
 
7
11
 
@@ -1,7 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  ChoroplethChart
4
- } from "../chunk-L2XRUG4P.js";
4
+ } from "../chunk-OALBVELJ.js";
5
+
6
+
5
7
 
6
8
 
7
9