@sheetxl/mcp 0.8.0-beta.21 → 0.8.0-beta.22

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 (197) hide show
  1. package/assets/{DO86fHS3WYzHN_Rv.js → 0jPw8-AyT6VbPuGO.js} +1 -1
  2. package/assets/{BAqvmoeYqG6dwX3I.js → 1U3DwsqHnOBwiGWn.js} +2 -2
  3. package/assets/{C1ZP9W2tiVQUwLqZ.js → 1dUPpOVZSeeylKHv.js} +1 -1
  4. package/assets/{DG3hKZ75iK2wrCcz.js → 3N6hsbh2WLceyO6T.js} +1 -1
  5. package/assets/{C2YOx4ianxuIIeMP.js → 4zyHb1mmcFfqwpjO.js} +1 -1
  6. package/assets/{BZJvWc-5DdAyHXFk.js → 8csqJ8aGOdnKlrLl.js} +1 -1
  7. package/assets/{CkGQV_x1SpyzePln.js → 91BKH9obG4IfBzhy.js} +440 -435
  8. package/assets/{FOKynZCiA0wU2Spf.js → 9AosCdy_xtdhLjN1.js} +1 -1
  9. package/assets/{BEOwJnsyIuMC4SaI.js → B5VTjL9m0R-Icfaz.js} +4 -4
  10. package/assets/{D2XmpdMAe0SAuQWo.js → B6pXiayrnDoDbQt1.js} +62 -62
  11. package/assets/{CL348305B-kpRYzz.js → BDq4iVyBh5lwX8pE.js} +1 -1
  12. package/assets/{vXmCJwJaPhkPVhy8.js → BHsqPfJZrdKTbPLP.js} +1 -1
  13. package/assets/{DP-m2vK0GTaYqQZM.js → BI5L_Ysr8s0TQxdg.js} +1 -1
  14. package/assets/{raa4clZOm0L5A0zR.js → BPZWfwUvFCLQInXN.js} +548 -548
  15. package/assets/{BC2Y5XPkMBKS6jQX.js → BRVEVVhj-8ZPrNyQ.js} +335 -334
  16. package/assets/{CB9TsE5n0FEyFnAz.js → BSdRn3B8QeJFflY6.js} +15 -15
  17. package/assets/{D5mfuGSeGXSDHj9-.js → BUGEQS5WdiLcI_0X.js} +1 -1
  18. package/assets/{IEmEQHg895CUpAQq.js → BUIjRIGTum7VuRFk.js} +1 -1
  19. package/assets/{B4Z_YneQya9mUTN5.js → BV49J63s68Mj6lgF.js} +1 -1
  20. package/assets/{BbsMdXiRzPW9BCEK.js → BXean6K6oDUxkzyd.js} +1 -1
  21. package/assets/{DOYXEbY_WslpyqXW.js → BZxJKqVEO7B23XwE.js} +5 -5
  22. package/assets/{D1HLIgumuUqrSyYB.js → BaaVzb7xXROiWUhT.js} +4 -4
  23. package/assets/{CC2hfzradb2KOvtU.js → Bf7Irm8Ua4s1T4xH.js} +1 -1
  24. package/assets/{DITcEcZJ58z5yOx7.js → BgwCdHyXKQYFAl1M.js} +1 -1
  25. package/assets/{8wMcuw3b1CFk-D5A.js → Bi65BKwwiZYYZprq.js} +1 -1
  26. package/assets/{BeMLPoHRWacCbpl2.js → BiC09_YKQPmlUklQ.js} +1 -1
  27. package/assets/{Q2j8yQZX1kL_MbbB.js → BkqENH8xJ3_NQnD5.js} +413 -413
  28. package/assets/{rejXA2fTAujW3QRv.js → BlxrCp7d-SeM-2DW.js} +266 -266
  29. package/assets/{CzQ2o7qoMm0K7KSb.js → BnGNMsqG5CzUzmX7.js} +4 -4
  30. package/assets/{DRiAktGToP73uwgm.js → BnK6HEqT4rf1RoOG.js} +223 -223
  31. package/assets/{bpjLDXWxL6nDt4Mv.js → BrfsWImwRtf54LUU.js} +1 -1
  32. package/assets/{BRiLNigzVwOBIxBy.js → BvKzhnweVF6GhjXh.js} +1 -1
  33. package/assets/{69EXDk0YRdjdM86i.js → Bx592y6pyOwTS2x7.js} +1 -1
  34. package/assets/{VcTnn2qw_4tmyctb.js → BygXDW3XTdtR38aA.js} +1 -1
  35. package/assets/{0ewqK5X66DZmbhVR.js → BzFIkeB_lheiTR7z.js} +1 -1
  36. package/assets/{CBTQ8dknYY7RVQgL.js → Bzp3UtK_6fqEVlV8.js} +8 -8
  37. package/assets/{Vo34QvIefEN595xl.js → C1PTfp7kVu3DqqZh.js} +5650 -5644
  38. package/assets/{B8URptQcztz4DRvS.js → C1yAmXrOu3iHV2cu.js} +24 -24
  39. package/assets/{CmUz8bVbJgWVT-OB.js → C4-0s3Udk3v4ytSn.js} +2 -2
  40. package/assets/{BMkhJwKP7goV0vlJ.js → C7zManFR1LEJXiwb.js} +1 -1
  41. package/assets/{CrLDmJU84Dbwl6DZ.js → C9wlvcFyjQA59G-_.js} +1 -1
  42. package/assets/{BneTvtEMcBoSiQnw.js → CAgQJrDxGEfoa7jn.js} +3 -3
  43. package/assets/{CME1jbwnNlBD66aW.js → CGB4xgirbgEIN3tg.js} +312 -312
  44. package/assets/{CpLUgqgBDtlfFRj3.js → CGxhgXj5qKj_Ubcp.js} +1 -1
  45. package/assets/{BJo3edG_rqch-Kw2.js → CHG9Q0uLAZdLXYVz.js} +73 -73
  46. package/assets/{BtiRDaBbNpPpKelt.js → CHnaSM8aMnQ2_VWW.js} +3 -3
  47. package/assets/{C0pbMKm0FzhOek9r.js → CHpBOpoM9bCvQyn0.js} +1 -1
  48. package/assets/{BABP2ffkRrOs7_Ym.js → CHqnRMWNpLKcAWWn.js} +1 -1
  49. package/assets/{CDKZI2IIZ9boo7zG.js → CKhbbbjQ-_auMp3n.js} +1 -1
  50. package/assets/{Deu2acNFlgo__Mcd.js → COVhUB0EotytQDHg.js} +2 -2
  51. package/assets/{KSE7OWDMxhbfYt82.js → CSGN4rAf7CYnBDEa.js} +22 -22
  52. package/assets/{KQGPPHM486XPeClF.js → CSKjFDYwiwn5XNnH.js} +2 -2
  53. package/assets/{DqxW6EBLDV_6Eegk.js → CT99WREgkKGpcDTO.js} +1 -1
  54. package/assets/{pg0OaBJVRnW7uSz5.js → CV729JV1mNyYCmrq.js} +1 -1
  55. package/assets/{CXb2mlCk1s1VFPHU.js → CXk5vwFfosghrTKo.js} +506 -506
  56. package/assets/{BU7t2vK3_DH_BbMd.js → CXqqaFgNeUVRGvEb.js} +2 -2
  57. package/assets/{_oaPA65Bm2idKW7f.js → CYCqMEoWsry6_hrc.js} +1 -1
  58. package/assets/{CDYMLTHkkpRV9igv.js → Cahhn5OLNqRYy-n8.js} +1 -1
  59. package/assets/{D7WSYqvuwNQjOIuO.js → CdtVv8YQ8PTmS4dz.js} +1 -1
  60. package/assets/{DjCHmGw-ixoQ6ZTA.js → CpYgsvYMxV5SbRp3.js} +2 -2
  61. package/assets/{CVlsdN5C8QL-Kljv.js → Cu4VAHfmjXWfTMPu.js} +1 -1
  62. package/assets/{DX0znk3xZmL1AyX8.js → CufFcGwo5x95LSb7.js} +1 -1
  63. package/assets/{C8huq6_Gvbeyf6Zy.js → CwNKcoA7na7Ess3a.js} +2 -2
  64. package/assets/{DpgBOcByebrqzUrC.js → D-MsUF59BhikcNZt.js} +3 -3
  65. package/assets/{Dzxe5kLF5GOfh0_l.js → D-N87jCOShDKTFDh.js} +1 -1
  66. package/assets/{CLT0k5UJYPmi8ked.js → D1tShC5iBlUoT2V2.js} +1 -1
  67. package/assets/{H89MX09YsAj7NAk3.js → D89TE5n8VKre9Gmp.js} +1 -1
  68. package/assets/{B8NDzDM0Gpwmkylq.js → D8dNiNpu9_L0NjGP.js} +1 -1
  69. package/assets/{BVDaUnmVOSaDw9e3.js → D9ja7F9irHf9Iovx.js} +1 -1
  70. package/assets/{CZ5v2vTWktJ7qAj1.js → DAqaOCEQLmZRjcdR.js} +1 -1
  71. package/assets/{Dnn8laImZHy8LouL.js → DEOkcuqKBFyRnY18.js} +1 -1
  72. package/assets/{D9F0224gK4j4Iuq9.js → DFQLoYLUO4TgDZPK.js} +1 -1
  73. package/assets/{DjbBTiei0H-BIJaN.js → DHHYGjNwlLvja3dS.js} +1 -1
  74. package/assets/{DsK1Adz0vo-1zPkp.js → DLbzfP7OOWhafkTq.js} +1 -1
  75. package/assets/{BWqKV3QuZX31WPsa.js → DQIQR1t3IkC9wshP.js} +1 -1
  76. package/assets/{fUmGsmpgGhd8eZn2.js → DRd8gdwcr3EqtGkb.js} +1 -1
  77. package/assets/{B_n6s7Kj4_5BWn1q.js → DawLBAaNAAmo_P3Y.js} +2 -2
  78. package/assets/{ChpUbgXIWuQFoXyL.js → Dbh-XVDw294AVLtl.js} +1 -1
  79. package/assets/{Dt5rA9gefJFLoaeI.js → DdDKDqtpIkzd-mXi.js} +2 -2
  80. package/assets/{DBgOeiZg40MS63pB.js → DdXp_iPwTOHAOvlL.js} +8 -8
  81. package/assets/{I-GZ5PL9n_Sv5yAJ.js → DdnALoxd3b8TLNla.js} +1 -1
  82. package/assets/{RFPO1vKnkkgwx5Bs.js → DevKDvFONeJ9euEq.js} +1 -1
  83. package/assets/{C1xe-BzKWT17OO8a.js → DgVCjvTw9Df1DV1x.js} +14 -14
  84. package/assets/{BM9zwvBRXNbO_uD-.js → DgYcOz0M0pmZf9x_.js} +2 -2
  85. package/assets/{-NFft0E2Wj6WH3X9.js → DmVQgN-N_HhYvakk.js} +1 -1
  86. package/assets/{vItpZkDtFsjwsJzb.js → DoScYrfTJOHXe-Ko.js} +70 -70
  87. package/assets/{D-INtJnS1lCrEs8s.js → DrLUi6vduqDLmQjl.js} +82 -82
  88. package/assets/{C27330XswujHKrLu.js → Ds5pLAwSN4lSbao6.js} +1 -1
  89. package/assets/{BrgptoFtJepXL46Z.js → DsBXjYAgTUXAAWZZ.js} +1 -1
  90. package/assets/{ChwSFUzi5mMzUwdW.js → DtvJg63vbDd6B7sD.js} +6 -6
  91. package/assets/{CBqpH_MpBSmQRaGE.js → Dvsld01DkmiNLjfP.js} +1 -1
  92. package/assets/{CudjOMo6X7FRW6ME.js → DxNK3HVEzFdUou54.js} +1 -1
  93. package/assets/{Bagfe_VVU6NyQNS6.js → DzGpZ2CQ1St9BF0y.js} +1 -1
  94. package/assets/{DuCNecyIYfZL27SV.js → E9mta1q4VtVUusy5.js} +1 -1
  95. package/assets/{CTLGMulzw-oFbgHy.js → GGcMgq3ScY7Tv0PE.js} +3 -3
  96. package/assets/{DRqBWzdn9KKN68o8.js → HVwvDMZh0ZGR-hRT.js} +11 -11
  97. package/assets/{AGdlSbOsXWO1oZAE.js → OfjHqYH31KqC5gVM.js} +1 -1
  98. package/assets/{1bSTbCnkTWvsV82p.js → OtMeAlbq6tyW5Hnc.js} +4 -4
  99. package/assets/{DnQM29yv6KQQOVfl.js → UgDy0WNXuV1sEnFW.js} +2 -2
  100. package/assets/{Cg05U6rbXUnaz0rA.js → VSbzBtGH0cA8VBsM.js} +34 -34
  101. package/assets/{CcaH1FoDC8o3dzqp.js → VWEaItb0XvCoRiCT.js} +1 -1
  102. package/assets/{4-DOIpV6Hjaymwy7.js → WSiEiaP-NUEr9UaB.js} +2 -2
  103. package/assets/{QMCI00ZCedkNJd8C.js → Z5tQQ6IW5YBjblWX.js} +1 -1
  104. package/assets/{DO9RVxvm9vQh8A_j.js → b-xk3WtCPBkC4E-Z.js} +2 -2
  105. package/assets/{NEzc406_2k2MuiE3.js → coTH4ab6CTEzw87b.js} +2 -2
  106. package/assets/{DwqgvpYiTLOQd5wm.js → do_DTptu6c_xHJoZ.js} +2 -2
  107. package/assets/{I_yb1hhLA5bYPpWx.js → hAVtdK6u2tlLI2cB.js} +1 -1
  108. package/assets/{_l84VPWmScznS-9F.js → hhpAcu3tINDLk7Ov.js} +5 -5
  109. package/assets/{H1ICg_-K5ADFNHJj.js → nSzQt54CIADky_tF.js} +1 -1
  110. package/assets/r-pk3RNq_HjMQFqr.js +14 -0
  111. package/assets/{CSd5XfU4JBASIwTI.js → ryaMyh_8KvmXVSJd.js} +1 -1
  112. package/assets/{B1l0k4ErELObdQKE.js → sYakw2x8dcnpUlsX.js} +3 -3
  113. package/assets/{M62BqR7TbmgOzAEW.js → tIoHMgrZeRHWyxos.js} +3 -3
  114. package/assets/{DmJc5VoPPwBBtLIG.js → tPa3RpqYRqCCCYf1.js} +1 -1
  115. package/assets/{B_RppF41PrYlelc_.js → v5XZSqLd9ZV3kqcA.js} +1 -1
  116. package/assets/{rhT64BvdSLOEwglQ.js → vazKaFOkHRriv7tX.js} +1 -1
  117. package/assets/{rIQ1pzaGFqvCfzOk.js → wWgI0JPoe_Wv0ceW.js} +1 -1
  118. package/assets/{CPmMYI4DPQcXrZ-g.js → xDx1vaNa2aCMs4_e.js} +1 -1
  119. package/assets/{BtjG4s0StUieGI5b.js → zJoBN2CJdxEV7vdh.js} +3 -3
  120. package/assets/{D3RuKyCyAzvT0bGL.js → ze6Q8BiEw9RClBzZ.js} +1 -1
  121. package/index.js +84 -84
  122. package/lib.js +1 -1
  123. package/licenses/dependencies.txt +56 -56
  124. package/package.json +2 -2
  125. package/screenshot-page/assets/0buGanYjZDNd9qAK.js +39 -0
  126. package/screenshot-page/assets/{Z7Av7oqfaK7wy7Eb.js → B668_VaGrdcWRbkC.js} +1 -1
  127. package/screenshot-page/assets/BGWgIYge30MP6Xhz.js +48 -0
  128. package/screenshot-page/assets/{CxithxkenssFkfTT.js → BGh5K-hHzy8mSVDr.js} +3 -3
  129. package/screenshot-page/assets/{CN3dPtUjDVvcnA4e.js → BIQ7KK-buzeddVA9.js} +1 -1
  130. package/screenshot-page/assets/BPRDGSNh0kvXRFUY.js +1 -0
  131. package/screenshot-page/assets/{1s5we6Eqz8n3o0X_.js → BRemww1df2HKLd_k.js} +1 -1
  132. package/screenshot-page/assets/{Yz4ksf-M05RGdHO3.js → Bm9-R9keVK5Sx-8o.js} +1 -1
  133. package/screenshot-page/assets/{B5ujsbfF1ZBkPI4d.js → BnZX0sxceYpvtg3I.js} +2 -2
  134. package/screenshot-page/assets/Bv2MgCMkg3EIQ6iE.js +13 -0
  135. package/screenshot-page/assets/BvaiwYJ5zZ0d5NRP.js +1 -0
  136. package/screenshot-page/assets/CAlTfQ_Gh-dURmUc.js +1 -0
  137. package/screenshot-page/assets/{C0rOvlmOfLDpClJ_.js → CCFxspvs5VzbYCfl.js} +1 -1
  138. package/screenshot-page/assets/CCqTTfzZokVHIzs2.js +1 -0
  139. package/screenshot-page/assets/CPs_ARK8JCyz-yZg.js +1 -0
  140. package/screenshot-page/assets/{DHUomRu_S2zcBWwt.js → CQ9C0-FcDZxrgC3T.js} +4 -4
  141. package/screenshot-page/assets/CUeMb48Ucrm5dK5u.js +1 -0
  142. package/screenshot-page/assets/CcOIj8c4N9KaWnD7.js +1 -0
  143. package/screenshot-page/assets/CjrHeIdacavAT_Ud.js +3 -0
  144. package/screenshot-page/assets/{D4VgxwLDPUfCxPS9.js → Cmv8bpHaTWZ7Lmbt.js} +1 -1
  145. package/screenshot-page/assets/CqccUqSMYlwlf2ZU.js +2 -0
  146. package/screenshot-page/assets/CvmImq-Kbg9srxNr.js +4 -0
  147. package/screenshot-page/assets/D-3wYBqe4SWdE6bx.js +2 -0
  148. package/screenshot-page/assets/D-FWnGDbZ9BRDzPR.js +1 -0
  149. package/screenshot-page/assets/D717DArr-KKL0U6R.js +1 -0
  150. package/screenshot-page/assets/{p9abCAJQdpScjZVK.js → D8-mayyvvVE1a4JB.js} +1 -1
  151. package/screenshot-page/assets/DM27mE98BNk1T18I.js +1 -0
  152. package/screenshot-page/assets/DN-T1DyRMKvxEJSK.js +1 -0
  153. package/screenshot-page/assets/DRdL1GN4SP7P8lSP.js +2 -0
  154. package/screenshot-page/assets/DcnhaY93LQd7kVdH.js +2 -0
  155. package/screenshot-page/assets/{CzZu7Fd_VeHHL-4i.js → DdusmeEPaU7CWT6e.js} +1 -1
  156. package/screenshot-page/assets/{Bdt92xZzFotX0vdt.js → DfT1DMR1b5kiyYiV.js} +1 -1
  157. package/screenshot-page/assets/DigI6jhjHePzLgg1.js +1 -0
  158. package/screenshot-page/assets/DrDLCC0R2IV5VJd7.js +1 -0
  159. package/screenshot-page/assets/{BtydzT-AjL_LBr8x.js → Dwv5Z_c2XS-hm-5y.js} +1 -1
  160. package/screenshot-page/assets/Dx0pUf3G4Oa3dGOk.js +1 -0
  161. package/screenshot-page/assets/JcgNMFaj_uqHSFxr.js +1 -0
  162. package/screenshot-page/assets/{DQeIWKasFD3DnWL7.js → U_8_wApwfA7KmIG3.js} +11 -11
  163. package/screenshot-page/assets/WZprjN2sb7HlraOb.js +2 -0
  164. package/screenshot-page/assets/{CBuH_YHDn7A9E_hX.js → adhmz3N2Kgq5eW66.js} +2 -2
  165. package/screenshot-page/assets/qjoaeEBxfKWCHmqK.js +2 -0
  166. package/screenshot-page/assets/{Blg5f-jAtZfGnZ71.js → zALFdtoGJBN6m2Bn.js} +1 -1
  167. package/screenshot-page/assets/{BLON9pILfrgdZqAM.js → zd1Z2E1NjFp2EWC7.js} +3 -3
  168. package/screenshot-page/index.html +8 -8
  169. package/types/scripting-api.json +7065 -7064
  170. package/types/scripting.d.ts +29 -9
  171. package/assets/DrgkN0g7OHuD4iD6.js +0 -14
  172. package/screenshot-page/assets/9WplgXo__vp3e1Su.js +0 -2
  173. package/screenshot-page/assets/BEzCH6tp_dlxe7BH.js +0 -1
  174. package/screenshot-page/assets/BJvuevnsIw3DXQds.js +0 -2
  175. package/screenshot-page/assets/BVx7CEdRItIR30Fz.js +0 -1
  176. package/screenshot-page/assets/Ble2ESZnJzZnd3cc.js +0 -1
  177. package/screenshot-page/assets/Bozva6Wr4B8Q5QZN.js +0 -2
  178. package/screenshot-page/assets/Brp37MPC60tt9V3N.js +0 -1
  179. package/screenshot-page/assets/Bs65RHirk11sxOB9.js +0 -39
  180. package/screenshot-page/assets/Bu5h0ACtvNxDBmqw.js +0 -1
  181. package/screenshot-page/assets/BwFvwFIcX0dmcBt7.js +0 -1
  182. package/screenshot-page/assets/CHZ1925OpIa8ssZn.js +0 -1
  183. package/screenshot-page/assets/COO3CwHTbCgxybBd.js +0 -1
  184. package/screenshot-page/assets/CR8Rj_GpSbIqbaEO.js +0 -13
  185. package/screenshot-page/assets/CV9T0juyAiRmwTR-.js +0 -4
  186. package/screenshot-page/assets/ClC7zkHPp6egPrjL.js +0 -2
  187. package/screenshot-page/assets/CtS8qZB4_3skg_zL.js +0 -1
  188. package/screenshot-page/assets/CwutTi2EnNm_hyVj.js +0 -1
  189. package/screenshot-page/assets/CzijGQrSoteeqwmH.js +0 -2
  190. package/screenshot-page/assets/DG6q1MKITeSM4XMx.js +0 -1
  191. package/screenshot-page/assets/DHTXoT_pArB1opyI.js +0 -48
  192. package/screenshot-page/assets/DP2wwd1IM_gQtEaG.js +0 -1
  193. package/screenshot-page/assets/Ja-xcEStEdmh2Gwb.js +0 -2
  194. package/screenshot-page/assets/ODq-dKb9mTtqEIJl.js +0 -1
  195. package/screenshot-page/assets/VF7dro9jrDEAX6kD.js +0 -3
  196. package/screenshot-page/assets/bdWMVOcMKRI8kCDE.js +0 -1
  197. package/screenshot-page/assets/kJwY8fmEeWlAtTAc.js +0 -1
package/index.js CHANGED
@@ -1,18 +1,18 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.21
3
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.22
4
4
  *
5
5
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
6
6
  * License: SheetXL EULA — https://www.sheetxl.com/eula
7
7
  */
8
- import { H as e, K as t, lt as n, z as o } from "./assets/DjbBTiei0H-BIJaN.js";
9
- import { o as r } from "./assets/BAqvmoeYqG6dwX3I.js";
10
- import { Dt as s, F as a, G as i, ht as l, k as c, lt as u, p as d } from "./assets/CB9TsE5n0FEyFnAz.js";
11
- import { f as h, i as g, p as m, u as p } from "./assets/D5mfuGSeGXSDHj9-.js";
12
- import { $i as f, $t as w, C as $, Ea as y, En as b, Ir as k, Jt as S, Pr as x, Va as v, f as C, g as E, gr as R, xi as j } from "./assets/Vo34QvIefEN595xl.js";
13
- import { t as I } from "./assets/ChwSFUzi5mMzUwdW.js";
14
- import { A as T, D as N, P as A, f as M, k as F } from "./assets/CME1jbwnNlBD66aW.js";
15
- import { t as O } from "./assets/DOYXEbY_WslpyqXW.js";
8
+ import { H as e, K as t, lt as n, z as o } from "./assets/DHHYGjNwlLvja3dS.js";
9
+ import { o as r } from "./assets/1U3DwsqHnOBwiGWn.js";
10
+ import { Dt as s, F as a, G as i, ht as l, k as c, lt as u, p as d } from "./assets/BSdRn3B8QeJFflY6.js";
11
+ import { f as h, i as g, p as m, u as p } from "./assets/BUGEQS5WdiLcI_0X.js";
12
+ import { F as f, Gi as w, Gt as $, Ha as y, Mr as b, Rn as k, Wi as S, ei as x, hi as v, io as C, ln as E, oa as R, pn as j } from "./assets/C1PTfp7kVu3DqqZh.js";
13
+ import { t as I } from "./assets/DtvJg63vbDd6B7sD.js";
14
+ import { A as T, D as N, P as A, f as M, k as F } from "./assets/CGB4xgirbgEIN3tg.js";
15
+ import { t as O } from "./assets/BZxJKqVEO7B23XwE.js";
16
16
  import { createRequire as _ } from "node:module";
17
17
  import { StdioServerTransport as L } from "@modelcontextprotocol/sdk/server/stdio.js";
18
18
  import * as P from "node:os";
@@ -38,7 +38,7 @@ var ye = Object.defineProperty, be = (((e) => {
38
38
  MAX_WORKBOOK_NAME_SIZE: () => 96,
39
39
  isReservedFileNameChar: () => Se,
40
40
  isValidFileName: () => xe
41
- }), /^(con|prn|aux|nul|com\d|lpt\d)$/i), ke = /[<>:"/\\|?*\u0000-\u001F]/, Se = (e) => ke.test(e), xe = (e) => !(!e || e.length > 255 || ke.test(e) || be.test(e) || "." === e || ".." === e), ve = t("io:sxlReader", () => import("./assets/DRqBWzdn9KKN68o8.js")), Ce = t("io:sxlWriter", () => import("./assets/DO9RVxvm9vQh8A_j.js")), Ee = async (e, t) => (await ve.load()).readSXL(e, t), Re = (e) => async (t, n) => (await Ce.load()).writeSXL(t, {
41
+ }), /^(con|prn|aux|nul|com\d|lpt\d)$/i), ke = /[<>:"/\\|?*\u0000-\u001F]/, Se = (e) => ke.test(e), xe = (e) => !(!e || e.length > 255 || ke.test(e) || be.test(e) || "." === e || ".." === e), ve = t("io:sxlReader", () => import("./assets/HVwvDMZh0ZGR-hRT.js")), Ce = t("io:sxlWriter", () => import("./assets/b-xk3WtCPBkC4E-Z.js")), Ee = async (e, t) => (await ve.load()).readSXL(e, t), Re = (e) => async (t, n) => (await Ce.load()).writeSXL(t, {
42
42
  ...n,
43
43
  compress: n?.compress ?? e.compress,
44
44
  whiteSpace: n?.whiteSpace ?? e.whiteSpace
@@ -75,13 +75,13 @@ var ye = Object.defineProperty, be = (((e) => {
75
75
  })
76
76
  }, Ae = {
77
77
  name: "SXLPlugin",
78
- version: "0.8.0-beta.21",
78
+ version: "0.8.0-beta.22",
79
79
  description: "Import and export SXL format",
80
80
  author: "SheetXL",
81
81
  async register(e) {
82
82
  await e.registerReadFormat(je), await e.registerReadFormat(Ie), await e.registerWriteFormat(Te), await e.registerWriteFormat(Ne);
83
83
  }
84
- }, Me = t("io:csvReader", () => import("./assets/_l84VPWmScznS-9F.js")), Fe = t("io:csvWriter", () => import("./assets/M62BqR7TbmgOzAEW.js")), Oe = {
84
+ }, Me = t("io:csvReader", () => import("./assets/hhpAcu3tINDLk7Ov.js")), Fe = t("io:csvWriter", () => import("./assets/tIoHMgrZeRHWyxos.js")), Oe = {
85
85
  key: "CSV",
86
86
  description: "Comma Separated Values",
87
87
  mimeType: "text/csv",
@@ -95,7 +95,7 @@ var ye = Object.defineProperty, be = (((e) => {
95
95
  handler: async (e, t) => (await Fe.load()).writeCSV(e, t)
96
96
  }, Le = {
97
97
  name: "CSVPlugin",
98
- version: "0.8.0-beta.21",
98
+ version: "0.8.0-beta.22",
99
99
  description: "Import and export CSV format",
100
100
  author: "SheetXL",
101
101
  async register(e) {
@@ -103,7 +103,7 @@ var ye = Object.defineProperty, be = (((e) => {
103
103
  }
104
104
  }, Pe = {
105
105
  name: "@sheetxl/io",
106
- version: "0.8.0-beta.21",
106
+ version: "0.8.0-beta.22",
107
107
  description: "Built-in I/O formats for SheetXL",
108
108
  author: "SheetXL",
109
109
  async register(e) {
@@ -1073,7 +1073,7 @@ function Kt(e) {
1073
1073
  Value: "value",
1074
1074
  Formula: "formula"
1075
1075
  };
1076
- var Gt = (e) => "object" == typeof e && null !== e && !p.isError(e) && "function" == typeof e.getKind && e.getKind().getName() === b.Type, Zt = (e) => {
1076
+ var Gt = (e) => "object" == typeof e && null !== e && !p.isError(e) && "function" == typeof e.getKind && e.getKind().getName() === $.Type, Zt = (e) => {
1077
1077
  const t = e.getAltText();
1078
1078
  return t ? `[image: ${e.getSource()} "${t}"]` : `[image: ${e.getSource()}]`;
1079
1079
  }, Yt = [
@@ -1083,7 +1083,7 @@ var Gt = (e) => "object" == typeof e && null !== e && !p.isError(e) && "function
1083
1083
  "shape",
1084
1084
  "chart",
1085
1085
  "name"
1086
- ], Qt = (e, t) => e <= t + 3 ? e : t, en = C.ErrorCheck, tn = /* @__PURE__ */ new Map([
1086
+ ], Qt = (e, t) => e <= t + 3 ? e : t, en = S.ErrorCheck, tn = /* @__PURE__ */ new Map([
1087
1087
  [en.InconsistentFormula, "inconsistent formula"],
1088
1088
  [en.OmittedCells, "omits adjacent cells"],
1089
1089
  [en.NumberAsText, "number stored as text"],
@@ -1197,7 +1197,7 @@ function un(e, t) {
1197
1197
  return null === r || null === s ? e : s + r;
1198
1198
  });
1199
1199
  }
1200
- var dn = (e) => String(e + 1), hn = (e) => (x.cellToString({
1200
+ var dn = (e) => String(e + 1), hn = (e) => (j.cellToString({
1201
1201
  rowIndex: 0,
1202
1202
  colIndex: e
1203
1203
  }) ?? "").replace(/\d+$/, ""), gn = /(?<![A-Za-z0-9_.$])R(\[-?\d+\]|\d+)?C(\[-?\d+\]|\d+)?(?![A-Za-z0-9_(])/g;
@@ -1388,7 +1388,7 @@ function Tn(e, t = []) {
1388
1388
  const r = Math.max(10, ...n.map(([e]) => e.length + 2));
1389
1389
  return n.map(([e, t]) => `${e.padEnd(r)}${t}`);
1390
1390
  }
1391
- var Nn = f.Feature;
1391
+ var Nn = x.Feature;
1392
1392
  function An(e, t) {
1393
1393
  const n = t?.maxSeries ?? 24, o = t?.maxProfileCells ?? 2e4, r = t?.maxCategories ?? 3, s = e.getRowCount(), a = e.getColumnCount();
1394
1394
  if (1 === s && 1 === a) return {
@@ -1638,7 +1638,7 @@ function Jn(e, t, n) {
1638
1638
  const s = Array.from(o.getValueCounts()).slice(0, t);
1639
1639
  return `${r} unique (${s.map(([e, t]) => `${e} ${t}`).join(" · ")}${r > s.length ? " · …" : ""})`;
1640
1640
  }
1641
- var Xn = f.Feature, Kn = (e) => (e.rowEnd - e.rowStart + 1) * (e.colEnd - e.colStart + 1), Gn = (e, t) => {
1641
+ var Xn = x.Feature, Kn = (e) => (e.rowEnd - e.rowStart + 1) * (e.colEnd - e.colStart + 1), Gn = (e, t) => {
1642
1642
  const n = Math.min(e.rowEnd, t.rowEnd) - Math.max(e.rowStart, t.rowStart) + 1;
1643
1643
  if (n <= 0) return 0;
1644
1644
  const o = Math.min(e.colEnd, t.colEnd) - Math.max(e.colStart, t.colStart) + 1;
@@ -1648,7 +1648,7 @@ var Xn = f.Feature, Kn = (e) => (e.rowEnd - e.rowStart + 1) * (e.colEnd - e.colS
1648
1648
  return "times" === t || e.styled === e.content ? n : `${n} (+${Zn(e.styled - e.content)} blank)`;
1649
1649
  }, Qn = (e) => {
1650
1650
  if (0 === e.length) return "";
1651
- const t = x.rangeToString(e[0]);
1651
+ const t = j.rangeToString(e[0]);
1652
1652
  if (1 === e.length) return t;
1653
1653
  const n = e.length - 1;
1654
1654
  return `${t}, +${n} block${1 === n ? "" : "s"}`;
@@ -1994,8 +1994,8 @@ function So(e, t, n, o, r) {
1994
1994
  const s = n.map((e) => {
1995
1995
  const t = e.getCoords();
1996
1996
  o += r ? t.colEnd - t.colStart + 1 : t.rowEnd - t.rowStart + 1;
1997
- const n = r ? x.runToString(t.colStart, t.colEnd, !0) : x.runToString(t.rowStart, t.rowEnd, !1), s = r ? t.rowStart : t.colStart;
1998
- return 0 === s ? n : `${n} (from ${r ? `row ${s + 1}` : `column ${x.runToString(s, s, !0).split(":")[0]}`})`;
1997
+ const n = r ? j.runToString(t.colStart, t.colEnd, !0) : j.runToString(t.rowStart, t.rowEnd, !1), s = r ? t.rowStart : t.colStart;
1998
+ return 0 === s ? n : `${n} (from ${r ? `row ${s + 1}` : `column ${j.runToString(s, s, !0).split(":")[0]}`})`;
1999
1999
  });
2000
2000
  2 * o > a ? i.push(`${"sheet".padEnd(10)}${t || "default"}`) : i.push(`${e.padEnd(10)}${s.join(", ")} ${t || "default"}`);
2001
2001
  }
@@ -2031,16 +2031,16 @@ var xo = (e, t) => e.length > t ? `${e.slice(0, t - 1)}…` : e, vo = (e) => {
2031
2031
  }
2032
2032
  return e.borders && t.push("border"), e.alignment && t.push("alignment"), t.length > 0 ? t.join(" · ") : null;
2033
2033
  }, Eo = (e) => {
2034
- const t = e.type ?? S.ColorStopType.Num, n = e.value, o = null == n || "" === n ? t : `${t} ${n}`, r = vo(e.color);
2034
+ const t = e.type ?? C.ColorStopType.Num, n = e.value, o = null == n || "" === n ? t : `${t} ${n}`, r = vo(e.color);
2035
2035
  return r ? `${o} ${r}` : o;
2036
2036
  }, Ro = (e) => {
2037
- let t = e.type;
2038
- if (e.type === S.ScaleType.DataBar) {
2039
- const n = vo(e.color);
2040
- n && (t += ` ${n}`);
2041
- } else e.type === S.ScaleType.IconSet && (e.iconSet && (t += ` ${e.iconSet}`), e.reverse && (t += " reversed"), e.icon?.length && (t += " custom icons"));
2042
- const n = (e.stops ?? []).map(Eo).join(" → ");
2043
- return n ? `${t} · ${n}` : t;
2037
+ let t, n = e.type;
2038
+ if (e.type === C.ScaleType.DataBar) {
2039
+ const o = vo(e.color);
2040
+ o && (n += ` ${o}`), e.solidFill && (n += " solid"), t = [e.minPoint ?? { type: C.ColorStopType.Min }, e.maxPoint ?? { type: C.ColorStopType.Max }];
2041
+ } else e.type === C.ScaleType.IconSet && (e.iconSet && (n += ` ${e.iconSet}`), e.reverse && (n += " reversed"), e.icon?.length && (n += " custom icons")), t = e.stops ?? [];
2042
+ const o = t.map(Eo).join(" → ");
2043
+ return o ? `${n} · ${o}` : n;
2044
2044
  }, jo = "(no rule)", Io = (e) => {
2045
2045
  const t = e.getScale(), n = [];
2046
2046
  if (t) n.push(Ro(t));
@@ -2059,7 +2059,7 @@ var xo = (e, t) => e.length > t ? `${e.slice(0, t - 1)}…` : e, vo = (e) => {
2059
2059
  return o > 0 ? `${n.join(" | ")} | +${o} more` : n.join(" | ");
2060
2060
  }, Ao = (e, t) => {
2061
2061
  if (e.isInvalid()) return "#REF!";
2062
- const n = e.getWorksheet(), o = x.rangeToString(e.getCoords(), n.getEntireCoords()) ?? "#REF!";
2062
+ const n = e.getWorksheet(), o = j.rangeToString(e.getCoords(), n.getEntireCoords()) ?? "#REF!";
2063
2063
  return n === t ? o : `${Ko(n.getName())}!${o}`;
2064
2064
  }, Mo = (e) => {
2065
2065
  const t = [];
@@ -2083,7 +2083,7 @@ var xo = (e, t) => e.length > t ? `${e.slice(0, t - 1)}…` : e, vo = (e) => {
2083
2083
  ]]) "group" === n ? t.push(`same ${r}`) : "custom" === n && t.push(`${r} ${o ?? 0}`);
2084
2084
  const n = e.displayEmptyCellsAs ?? "zero";
2085
2085
  return "gap" !== n && t.push(`empty as ${n}`), e.displayHidden && t.push("hidden shown"), e.rightToLeft && t.push("right to left"), e.dateAxis && e.dateRange && t.push(`dates ${e.dateRange}`), t;
2086
- }, Fo = f.Feature, Oo = (e) => e.getRange().getStyle(), _o = (e) => Xt(e.getCell(), Ut.Mode.Display)?.display ?? null;
2086
+ }, Fo = x.Feature, Oo = (e) => e.getRange().getStyle(), _o = (e) => Xt(e.getCell(), Ut.Mode.Display)?.display ?? null;
2087
2087
  function Lo(e, t) {
2088
2088
  switch (e) {
2089
2089
  case Fo.Formula: return (e) => e.getCell().getFormulaText();
@@ -2221,7 +2221,7 @@ var Bo = (e) => {
2221
2221
  const t = e.getCell().getAnomalies();
2222
2222
  return t.length > 0 ? JSON.stringify(t.map((e) => [e.check, e.evidence])) : null;
2223
2223
  };
2224
- var Ho = f.Feature, Uo = [
2224
+ var Ho = x.Feature, Uo = [
2225
2225
  Ho.Error,
2226
2226
  Ho.CalcError,
2227
2227
  Ho.Anomalies,
@@ -2245,7 +2245,7 @@ var Ho = f.Feature, Uo = [
2245
2245
  Ho.Conditionals,
2246
2246
  Ho.DataValidations
2247
2247
  ]), zo = new Map(Object.entries(Ho).map(([e, t]) => [t, e])), Jo = (e) => zo.get(e) ?? e;
2248
- var Xo = (e) => `${e.toString()}, ${e.getRowCount()}×${e.getColumnCount()}`, Ko = (e) => x.sheetNameToString(e) ?? "Untitled", Go = (e) => `wb.getWorksheet(${JSON.stringify(e.getWorksheet().getName())})`, Zo = (e) => ((e) => {
2248
+ var Xo = (e) => `${e.toString()}, ${e.getRowCount()}×${e.getColumnCount()}`, Ko = (e) => j.sheetNameToString(e) ?? "Untitled", Go = (e) => `wb.getWorksheet(${JSON.stringify(e.getWorksheet().getName())})`, Zo = (e) => ((e) => {
2249
2249
  if (!e.includes("$")) return e;
2250
2250
  let t = "", n = !1;
2251
2251
  for (const o of e) {
@@ -2268,19 +2268,19 @@ function er(e, t) {
2268
2268
  0 === n.length && e.fact("None"), e.blank();
2269
2269
  }
2270
2270
  var tr = [
2271
- C.Role.Label,
2272
- C.Role.Input,
2273
- C.Role.Link,
2274
- C.Role.Reference,
2275
- C.Role.Computed,
2276
- C.Role.Output
2271
+ S.Role.Label,
2272
+ S.Role.Input,
2273
+ S.Role.Link,
2274
+ S.Role.Reference,
2275
+ S.Role.Computed,
2276
+ S.Role.Output
2277
2277
  ];
2278
2278
  var nr = 30, or = 4;
2279
2279
  function rr(e, t, n) {
2280
2280
  const o = /* @__PURE__ */ new Map();
2281
2281
  let r = 0;
2282
2282
  for (const e of n) for (const t of e.getCell().getAnomalies()) {
2283
- if (t.check !== C.ErrorCheck.ConstantFrequency) continue;
2283
+ if (t.check !== S.ErrorCheck.ConstantFrequency) continue;
2284
2284
  const n = `${t.evidence.kind}:${t.evidence.value}`;
2285
2285
  let s = o.get(n);
2286
2286
  s || o.set(n, s = {
@@ -2556,7 +2556,7 @@ async function Sr(e, t) {
2556
2556
  var xr = "#REF!", vr = (e) => {
2557
2557
  const t = e.getContent();
2558
2558
  return "chart" === t.getType() && "function" == typeof t.getSeries ? t : null;
2559
- }, Cr = (e, t) => `${Ko(e.getName())}!${x.rangeToString(t) ?? ""}`, Er = (e, t) => e ? Cr(e.getWorksheet(), e.getCoords()) : t, Rr = (e) => e.replace(/\s*[\r\n]+\s*/g, " ⏎ ").trim(), jr = (e, t) => ({
2559
+ }, Cr = (e, t) => `${Ko(e.getName())}!${j.rangeToString(t) ?? ""}`, Er = (e, t) => e ? Cr(e.getWorksheet(), e.getCoords()) : t, Rr = (e) => e.replace(/\s*[\r\n]+\s*/g, " ⏎ ").trim(), jr = (e, t) => ({
2560
2560
  colStart: Math.min(e.colStart, t.colStart),
2561
2561
  rowStart: Math.min(e.rowStart, t.rowStart),
2562
2562
  colEnd: Math.max(e.colEnd, t.colEnd),
@@ -2662,7 +2662,7 @@ var Or = (e) => Ar(e) ?? "", _r = {
2662
2662
  };
2663
2663
  var Dr = (e, t) => e.colStart <= t.colEnd && t.colStart <= e.colEnd && e.rowStart <= t.rowEnd && t.rowStart <= e.rowEnd;
2664
2664
  function Wr(e, t) {
2665
- const n = e.getWorksheet(), o = n.getWorkbook()?.getWorksheets().getItems({ visibility: k.Visibility.VeryHidden }) ?? [n], r = /* @__PURE__ */ new Map();
2665
+ const n = e.getWorksheet(), o = n.getWorkbook()?.getWorksheets().getItems({ visibility: b.Visibility.VeryHidden }) ?? [n], r = /* @__PURE__ */ new Map();
2666
2666
  for (let e = 0; e < (t?.length ?? 0); e++) {
2667
2667
  const n = t.at(e);
2668
2668
  if (n.isINamedRange) continue;
@@ -2814,7 +2814,7 @@ var Zr = (e) => {
2814
2814
  };
2815
2815
  var es = (e, t) => e.length > t ? `${e.slice(0, t - 1)}…` : e, ts = (e) => e.replace(/[\r\n]+/g, " ").trim(), ns = (e) => {
2816
2816
  const t = e.getRange();
2817
- return x.rangeToString(t.getCoords()) ?? t.toString();
2817
+ return j.rangeToString(t.getCoords()) ?? t.toString();
2818
2818
  }, os = ({ movable: e, text: t }) => Br(t, 300, ((e) => `${Go(e.getRange())}.getRange(${JSON.stringify(ns(e))}).getMovables()`)(e)), rs = (e) => {
2819
2819
  const t = e.getContent();
2820
2820
  return "function" == typeof t.getTextFrame ? t.getTextFrame()?.getText() ?? "" : null;
@@ -2968,8 +2968,8 @@ function ps(e, t) {
2968
2968
  const d = e.getContent().getDescription();
2969
2969
  d && n.fact(`Alt Text: ${ts(d)}`), n.fact(`Anchor: ${Xo(o)}, ${((e) => {
2970
2970
  switch (e) {
2971
- case w.Type.Absolute: return "absolute — stays put when rows or columns move";
2972
- case w.Type.OneCell: return "oneCell — moves with the cells, keeps its size";
2971
+ case k.Type.Absolute: return "absolute — stays put when rows or columns move";
2972
+ case k.Type.OneCell: return "oneCell — moves with the cells, keeps its size";
2973
2973
  default: return "twoCell — moves and resizes with the cells";
2974
2974
  }
2975
2975
  })(e.getAnchorType?.())}`), n.fact(`Bounds: ${((e) => {
@@ -3009,7 +3009,7 @@ var fs = (e) => "visible" === e.getVisibility(), ws = (e, t) => {
3009
3009
  }
3010
3010
  default: return null;
3011
3011
  }
3012
- }, $s = /* @__PURE__ */ new Map([["hyperlink", f.Feature.Hyperlink], ["numberFormat", f.Feature.NumberFormat]]), ys = (e, t) => t && "" !== t.trim() ? [{
3012
+ }, $s = /* @__PURE__ */ new Map([["hyperlink", x.Feature.Hyperlink], ["numberFormat", x.Feature.NumberFormat]]), ys = (e, t) => t && "" !== t.trim() ? [{
3013
3013
  field: e,
3014
3014
  text: {
3015
3015
  match: t,
@@ -3304,7 +3304,7 @@ var As = {
3304
3304
  rowIndex: t.rowStart,
3305
3305
  colIndex: t.colStart
3306
3306
  });
3307
- S("cell", r, x.rangeToString(t) ?? e.getRange().toString(), n, o) && m++;
3307
+ S("cell", r, j.rangeToString(t) ?? e.getRange().toString(), n, o) && m++;
3308
3308
  }
3309
3309
  for (const e of d) {
3310
3310
  if (b || !s) break;
@@ -3335,7 +3335,7 @@ var As = {
3335
3335
  for (const { movable: e, at: o } of t) {
3336
3336
  const t = k(ks(e, n));
3337
3337
  if (t) {
3338
- if (!S("object", r, x.rangeToString(o) ?? e.getRange().toString(), t)) break;
3338
+ if (!S("object", r, j.rangeToString(o) ?? e.getRange().toString(), t)) break;
3339
3339
  w++;
3340
3340
  }
3341
3341
  }
@@ -3759,7 +3759,7 @@ var Qs = {
3759
3759
  }(e, n);
3760
3760
  }
3761
3761
  }
3762
- }, ea = f.Feature;
3762
+ }, ea = x.Feature;
3763
3763
  async function ta(e, t, n, o) {
3764
3764
  await na(e, t, "precedents", n, o), await na(e, t, "dependents", n, o);
3765
3765
  }
@@ -4093,7 +4093,7 @@ function ba(e, t) {
4093
4093
  function ka(e) {
4094
4094
  return e.map((e) => `cites ${e.scope}: ${e.reason}`).join("; ");
4095
4095
  }
4096
- var Sa = f.Feature, xa = [
4096
+ var Sa = x.Feature, xa = [
4097
4097
  ["formatCells", "format cells"],
4098
4098
  ["formatColumns", "format columns"],
4099
4099
  ["formatRows", "format rows"],
@@ -4138,7 +4138,7 @@ var Sa = f.Feature, xa = [
4138
4138
  colEnd: Math.max(t.colEnd, e.colEnd)
4139
4139
  } : { ...e };
4140
4140
  }
4141
- return t ? x.rangeToString(t) ?? "" : "";
4141
+ return t ? j.rangeToString(t) ?? "" : "";
4142
4142
  }, Na = (e, t) => `${e} ${t}${1 !== e ? "s" : ""}`;
4143
4143
  function Aa(e) {
4144
4144
  const t = new En(), n = e.getRanges();
@@ -4146,7 +4146,7 @@ function Aa(e) {
4146
4146
  const o = n.getWorksheet().getProtection().isLocked();
4147
4147
  return t.fact("In force: " + (o ? "true — the sheet is protected" : "false — the sheet is not protected, so every cell is editable")), e.getSecurityDescriptor() && t.fact("Security Descriptor: present · not evaluated"), t.toLines().join("\n").trimEnd();
4148
4148
  }
4149
- var Ma = f.Feature;
4149
+ var Ma = x.Feature;
4150
4150
  async function Fa(e, t) {
4151
4151
  const n = e.getWorksheet().getRange(e.getCoords());
4152
4152
  e = n.getCell();
@@ -4305,7 +4305,7 @@ async function Fa(e, t) {
4305
4305
  }
4306
4306
  e.blank();
4307
4307
  }(o, e, a), function(e, t) {
4308
- const n = t.getAnomalies().filter((e) => e.check !== C.ErrorCheck.ConstantFrequency);
4308
+ const n = t.getAnomalies().filter((e) => e.check !== S.ErrorCheck.ConstantFrequency);
4309
4309
  if (0 !== n.length) {
4310
4310
  e.h2(`Anomalies (${n.length})`);
4311
4311
  for (const o of n) e.text(` ${nn(o, t)}`);
@@ -4441,7 +4441,7 @@ async function Da(e, t) {
4441
4441
  }(n, e, t);
4442
4442
  return function(e, t, n) {
4443
4443
  const o = [];
4444
- for (const e of t.getRegions(f.Feature.Formula)) {
4444
+ for (const e of t.getRegions(x.Feature.Formula)) {
4445
4445
  const t = e.getCell(), r = t.getFormulaText();
4446
4446
  if (r && (o.push({
4447
4447
  address: e.getAddress(),
@@ -4506,7 +4506,7 @@ function Ha(e) {
4506
4506
  const o = e.getCondition();
4507
4507
  t.fact(`Rule: ${o?.toString() || "none — anything is accepted here"}`);
4508
4508
  const r = ((e) => {
4509
- if (e?.getOperator()?.getName() !== y.BuiltInOperatorNames.InSet) return null;
4509
+ if (e?.getOperator()?.getName() !== R.BuiltInOperatorNames.InSet) return null;
4510
4510
  const t = e.getParam();
4511
4511
  if (!t) return null;
4512
4512
  const n = [], o = t.source;
@@ -4520,7 +4520,7 @@ function Ha(e) {
4520
4520
  })(o);
4521
4521
  r && t.fact(`Allowed: ${r}`), t.fact("Blanks: " + (e.isIncludeBlanks() ? "allowed" : "rejected"));
4522
4522
  const s = e.getAlertStyle();
4523
- if (t.fact(`Alert: ${s}${s === j.AlertStyle.Stop ? " — the entry is refused" : " — the entry is accepted anyway"}`), e.isShowAlertMessage()) {
4523
+ if (t.fact(`Alert: ${s}${s === w.AlertStyle.Stop ? " — the entry is refused" : " — the entry is accepted anyway"}`), e.isShowAlertMessage()) {
4524
4524
  const n = Ua(e.getAlertTitle(), e.getAlertMessage());
4525
4525
  n && t.fact(`Alert Message: ${n}`);
4526
4526
  }
@@ -4692,12 +4692,12 @@ var ni = [
4692
4692
  }, ci = (e) => oi.every(([, t], n) => ai(t(e)) === ni[n]), ui = (e, t) => {
4693
4693
  if (!e) return null;
4694
4694
  const n = e.getCoords();
4695
- return t ? x.runToString(n.colStart, n.colEnd, !0) : x.runToString(n.rowStart, n.rowEnd, !1);
4695
+ return t ? j.runToString(n.colStart, n.colEnd, !0) : j.runToString(n.rowStart, n.rowEnd, !1);
4696
4696
  }, di = (e, t) => {
4697
4697
  if (0 === e.length) return null;
4698
4698
  const n = e.slice(0, 20).map((e) => {
4699
4699
  const n = t ? e.getColumnIndex() : e.getRowIndex();
4700
- return x.runToString(n, n, t).split(":")[0];
4700
+ return j.runToString(n, n, t).split(":")[0];
4701
4701
  }), o = e.length > 20 ? `, …and ${e.length - 20} more` : "";
4702
4702
  return `before ${t ? "columns" : "rows"} ${n.join(", ")}${o}`;
4703
4703
  }, hi = (e) => {
@@ -4775,7 +4775,7 @@ var bi = (e) => {
4775
4775
  }, ki = /^\s*=\s*TABLE\s*\(([^()]*)\)\s*$/i;
4776
4776
  function Si(e) {
4777
4777
  const t = [];
4778
- for (const n of e.getEntireRange().getRegions(f.Feature.Formula)) {
4778
+ for (const n of e.getEntireRange().getRegions(x.Feature.Formula)) {
4779
4779
  if (!ki.test(n.getCell().getFormulaText() ?? "")) continue;
4780
4780
  const o = n.getCoords();
4781
4781
  for (let n = o.rowStart; n <= o.rowEnd; n++) for (let r = o.colStart; r <= o.colEnd; r++) {
@@ -4828,7 +4828,7 @@ async function Ei(e, t) {
4828
4828
  let n = "";
4829
4829
  t && t.getSelectedWorksheet()?.getId() === e.getId() && (n += " (selected)");
4830
4830
  const o = e.getVisibility();
4831
- return o === k.Visibility.Hidden ? n += " (hidden)" : o === k.Visibility.VeryHidden && (n += " (very hidden)"), e.getProtection().isLocked() && (n += " (protected)"), n;
4831
+ return o === b.Visibility.Hidden ? n += " (hidden)" : o === b.Visibility.VeryHidden && (n += " (very hidden)"), e.getProtection().isLocked() && (n += " (protected)"), n;
4832
4832
  }(e)}`), n.text(`Used: ${r ? Xo(r) : "empty"}`), n.text(`Selection: ${Xo(o)}`);
4833
4833
  const s = yr(e);
4834
4834
  s && n.text(`Outline: ${s}`);
@@ -4988,7 +4988,7 @@ var Ti = (e) => !!e && "object" == typeof e && !0 === e.isIRange, Ni = (e) => {
4988
4988
  text: t,
4989
4989
  alignment: "right"
4990
4990
  } : { text: t };
4991
- }, Ai = f.Feature, Mi = [
4991
+ }, Ai = x.Feature, Mi = [
4992
4992
  [Ai.Font, "fonts"],
4993
4993
  [Ai.NumberFormat, "formats"],
4994
4994
  [Ai.Fill, "fills"],
@@ -4999,7 +4999,7 @@ async function Fi(e, t) {
4999
4999
  const n = new En();
5000
5000
  n.h1(`Workbook — ${e.getName() ?? "Untitled"}`), n.text(`Locale: ${e.getRuntime().getLocale()}`);
5001
5001
  const o = e.getCalculation();
5002
- o.getStatus() === R.Status.Off ? n.text("Calculation: off — formulas have not been evaluated; values are as loaded. wb.getCalculation().calculate() evaluates them") : o.getStatus() === R.Status.Error ? n.text("Calculation: error — the engine failed to start; values are as loaded. wb.getCalculation().start() tries again") : o.getCalculationMode() === R.CalculationMode.Manual && n.text("Calculation: manual — values are as of the last calculation. wb.getCalculation().calculate() refreshes them");
5002
+ o.getStatus() === f.Status.Off ? n.text("Calculation: off — formulas have not been evaluated; values are as loaded. wb.getCalculation().calculate() evaluates them") : o.getStatus() === f.Status.Error ? n.text("Calculation: error — the engine failed to start; values are as loaded. wb.getCalculation().start() tries again") : o.getCalculationMode() === f.CalculationMode.Manual && n.text("Calculation: manual — values are as of the last calculation. wb.getCalculation().calculate() refreshes them");
5003
5003
  const r = ((e) => {
5004
5004
  const t = Ca(e);
5005
5005
  if (!t) return null;
@@ -5007,7 +5007,7 @@ async function Fi(e, t) {
5007
5007
  return n ? `${n} ${t}` : t;
5008
5008
  })(e.getProtection());
5009
5009
  r && n.text(`Protection: ${r}`), n.blank();
5010
- const s = e.getWorksheets().getItems({ visibility: k.Visibility.VeryHidden }), a = e.getSelectedSheet(), i = e.getStyles().getNormal(), l = [];
5010
+ const s = e.getWorksheets().getItems({ visibility: b.Visibility.VeryHidden }), a = e.getSelectedSheet(), i = e.getStyles().getNormal(), l = [];
5011
5011
  for (const e of s) {
5012
5012
  const t = Oi(e, i);
5013
5013
  l.push({
@@ -5049,7 +5049,7 @@ async function Fi(e, t) {
5049
5049
  n.blank();
5050
5050
  }
5051
5051
  u.length < l.length && (n.text(`…and ${l.length - u.length} more sheets · wb.getWorksheets().getItems() lists all`), n.blank());
5052
- const m = e.getSheets({ visibility: k.Visibility.VeryHidden }).filter((e) => e.getKind() !== k.Kind.Worksheet);
5052
+ const m = e.getSheets({ visibility: b.Visibility.VeryHidden }).filter((e) => e.getKind() !== b.Kind.Worksheet);
5053
5053
  if (m.length > 0) {
5054
5054
  n.h2(`Other sheets (${m.length})`), n.blank();
5055
5055
  for (const e of m) n.text(` ${Hi(e, e.getId() === a.getId())}`);
@@ -5150,7 +5150,7 @@ function Oi(e, t) {
5150
5150
  for (const n of l) {
5151
5151
  const o = n.getRowCount() * n.getColumnCount();
5152
5152
  t += o;
5153
- for (const t of n.getCell().getAnomalies()) t.check !== C.ErrorCheck.ConstantFrequency && e.set(t.check, (e.get(t.check) ?? 0) + o);
5153
+ for (const t of n.getCell().getAnomalies()) t.check !== S.ErrorCheck.ConstantFrequency && e.set(t.check, (e.get(t.check) ?? 0) + o);
5154
5154
  }
5155
5155
  r.push({
5156
5156
  label: "anomalies",
@@ -5269,18 +5269,18 @@ function Wi(e) {
5269
5269
  colEnd: Math.max(t.colEnd, e.colEnd)
5270
5270
  } : e;
5271
5271
  }
5272
- return t ? x.rangeToString(t) ?? "" : "";
5272
+ return t ? j.rangeToString(t) ?? "" : "";
5273
5273
  }
5274
5274
  var Vi = (e, t) => `${e} ${t}${1 !== e ? "s" : ""}`;
5275
5275
  function Bi(e, t) {
5276
5276
  const n = e.getVisibility();
5277
5277
  let o = "";
5278
- return t && (o += " (selected)"), n === k.Visibility.Hidden ? o += " (hidden)" : n === k.Visibility.VeryHidden && (o += " (very hidden)"), e.getProtection().isLocked() && (o += " (protected)"), `${Ko(e.getName())}${o}`;
5278
+ return t && (o += " (selected)"), n === b.Visibility.Hidden ? o += " (hidden)" : n === b.Visibility.VeryHidden && (o += " (very hidden)"), e.getProtection().isLocked() && (o += " (protected)"), `${Ko(e.getName())}${o}`;
5279
5279
  }
5280
5280
  function Hi(e, t) {
5281
- const n = e.getKind(), o = n === k.Kind.Chart ? "chart sheet" : n === k.Kind.Macro ? "Excel 4.0 macro sheet" : "dialog sheet", r = e.getVisibility();
5281
+ const n = e.getKind(), o = n === b.Kind.Chart ? "chart sheet" : n === b.Kind.Macro ? "Excel 4.0 macro sheet" : "dialog sheet", r = e.getVisibility();
5282
5282
  let s = ` (${o})`;
5283
- return t && (s += " (selected)"), r === k.Visibility.Hidden ? s += " (hidden)" : r === k.Visibility.VeryHidden && (s += " (very hidden)"), `${Ko(e.getName())}${s}`;
5283
+ return t && (s += " (selected)"), r === b.Visibility.Hidden ? s += " (hidden)" : r === b.Visibility.VeryHidden && (s += " (very hidden)"), `${Ko(e.getName())}${s}`;
5284
5284
  }
5285
5285
  var Ui = 6;
5286
5286
  function qi(e, t, n, o, r) {
@@ -5352,7 +5352,7 @@ function qi(e, t, n, o, r) {
5352
5352
  for (const { movable: e, detail: t } of m) {
5353
5353
  const n = e.getRange();
5354
5354
  l.push({
5355
- address: `${Ko(n.getWorksheet().getName())}!${x.rangeToString(n.getCoords()) ?? ""}`,
5355
+ address: `${Ko(n.getWorksheet().getName())}!${j.rangeToString(n.getCoords()) ?? ""}`,
5356
5356
  size: "chart",
5357
5357
  payload: `${e.getContent().getName?.() || "(unnamed)"} · ${t}`
5358
5358
  });
@@ -5673,7 +5673,7 @@ var Gi = 20, Zi = [
5673
5673
  kind: "stats",
5674
5674
  is: (e) => Ji(e, "isIRangeStats"),
5675
5675
  render: (e) => function(e) {
5676
- const t = new En(), n = e.getCoords(), o = n ? x.rangeToString(n) : null;
5676
+ const t = new En(), n = e.getCoords(), o = n ? j.rangeToString(n) : null;
5677
5677
  t.h1(o ? `Stats — ${o}` : "Stats");
5678
5678
  const r = e.getTypedCounts();
5679
5679
  t.fact(`Cells: ${e.getSize()}`), t.fact(`Values: ${e.getCount()}`);
@@ -5741,9 +5741,9 @@ var Gi = 20, Zi = [
5741
5741
  kind: "regions",
5742
5742
  is: (e) => Ji(e, "isICellRegions"),
5743
5743
  render: (e, t) => function(e, t) {
5744
- const n = [...e], o = e.getFeatures(), r = o.join(", "), s = 1 === o.length && o[0] === f.Feature.Contentful, a = e.getRange().getWorksheet().getWorkbook()?.getStyles().getNormal() ?? null, i = new En();
5744
+ const n = [...e], o = e.getFeatures(), r = o.join(", "), s = 1 === o.length && o[0] === x.Feature.Contentful, a = e.getRange().getWorksheet().getWorkbook()?.getStyles().getNormal() ?? null, i = new En();
5745
5745
  i.h1(`Regions — ${r} (${n.length})`);
5746
- const l = 1 === o.length && o[0] === f.Feature.Anomalies;
5746
+ const l = 1 === o.length && o[0] === x.Feature.Anomalies;
5747
5747
  return Do(i, n, {
5748
5748
  ...t,
5749
5749
  profile: s,
@@ -5835,7 +5835,7 @@ async function tl(e, t, n) {
5835
5835
  return a;
5836
5836
  }
5837
5837
  var nl = 2;
5838
- var ol = f.Feature;
5838
+ var ol = x.Feature;
5839
5839
  function rl(e, t, n, o, r, s) {
5840
5840
  const a = o?.getRanges() ?? null, i = {
5841
5841
  sheet: Ko(e.getName()),
@@ -6371,7 +6371,7 @@ async function Bl(e, t) {
6371
6371
  try {
6372
6372
  const n = "snippet" === await Ml(e) ? await Ll(e) : null;
6373
6373
  if ("undefined" === t && !n?.expectsValue) return [];
6374
- const [{ ScriptCompiler: o }, { getScriptingDeclarations: r }] = await Promise.all([import("./assets/B_n6s7Kj4_5BWn1q.js"), import("./assets/DrgkN0g7OHuD4iD6.js")]), { diagnostics: s } = await o.compile({
6374
+ const [{ ScriptCompiler: o }, { getScriptingDeclarations: r }] = await Promise.all([import("./assets/DawLBAaNAAmo_P3Y.js"), import("./assets/r-pk3RNq_HjMQFqr.js")]), { diagnostics: s } = await o.compile({
6375
6375
  source: n?.source ?? e,
6376
6376
  ambientTypes: await r(),
6377
6377
  lenient: !0,
@@ -7081,9 +7081,9 @@ var ac = class e {
7081
7081
  const e = {
7082
7082
  origin: "http://screenshot.sheetxl.invalid",
7083
7083
  key: null
7084
- }, t = await $.getDetails();
7084
+ }, t = await y.getDetails();
7085
7085
  if (t.isEval() || !t.getRuntimes().includes("browser")) return e;
7086
- const n = await $.getLicenseKey();
7086
+ const n = await y.getLicenseKey();
7087
7087
  if (!n) return e;
7088
7088
  for (const e of t.getDomains()) if (!e.includes("*")) try {
7089
7089
  const t = new URL(e);
@@ -7111,7 +7111,7 @@ var ac = class e {
7111
7111
  async capture(e, t) {
7112
7112
  if (!ic(e)) {
7113
7113
  const n = e.getCalculation();
7114
- n.getStatus() === R.Status.Running && await n.whenPendingDone({ timeout: t?.answerTimeout ?? 1e4 });
7114
+ n.getStatus() === f.Status.Running && await n.whenPendingDone({ timeout: t?.answerTimeout ?? 1e4 });
7115
7115
  }
7116
7116
  const n = new Uint8Array(ic(e) ? e : await T.writeArrayBuffer(e, { format: "sxl" })), o = t?.maxEdge ?? 1600, r = t?.scale ?? 1, s = {
7117
7117
  range: t?.range,
@@ -7375,7 +7375,7 @@ async function fc(e, t = function(e = process.env.SHEETXL_RUN_TIMEOUT) {
7375
7375
  const t = Number(e);
7376
7376
  return !Number.isFinite(t) || t < 0 ? pc : 0 === t ? null : Math.round(1e3 * t);
7377
7377
  }()) {
7378
- const { ScriptCompiler: n, DiagnosticCode: o } = await import("./assets/B_n6s7Kj4_5BWn1q.js"), r = await N(), s = null !== t ? {
7378
+ const { ScriptCompiler: n, DiagnosticCode: o } = await import("./assets/DawLBAaNAAmo_P3Y.js"), r = await N(), s = null !== t ? {
7379
7379
  key: me(),
7380
7380
  timeoutMs: t
7381
7381
  } : void 0, a = async (e) => {
@@ -7613,7 +7613,7 @@ var Mc = process.env.SHEETXL_WORKSPACE ?? process.cwd(), Fc = function(e, t, n,
7613
7613
  }(Xl, Mc, /* @__PURE__ */ new Date(), Nc), Oc = function(e, t) {
7614
7614
  const n = new lc(), o = /* @__PURE__ */ new Map(), r = new wc(), s = new fe({
7615
7615
  name: "sheetxl-mcp",
7616
- version: "0.8.0-beta.21"
7616
+ version: "0.8.0-beta.22"
7617
7617
  }, {
7618
7618
  instructions: `${Cc}\n\n${Ec}`,
7619
7619
  capabilities: { tasks: {
@@ -7678,10 +7678,10 @@ var Mc = process.env.SHEETXL_WORKSPACE ?? process.cwd(), Fc = function(e, t, n,
7678
7678
  }, ...t.content ?? []]);
7679
7679
  }
7680
7680
  const a = await (async () => {
7681
- const e = await $.getEvalState().catch(() => null);
7681
+ const e = await y.getEvalState().catch(() => null);
7682
7682
  if (!e || e === c) return null;
7683
7683
  if (c = e, "grace" !== e && "stopped" !== e) return null;
7684
- const t = (await $.getDetails()).getEvalStopDate()?.toISOString().slice(0, 10);
7684
+ const t = (await y.getDetails()).getEvalStopDate()?.toISOString().slice(0, 10);
7685
7685
  return `⚠ This SheetXL build is past its evaluation period: ${"grace" === e ? `exports (xlsx, csv — every format but .sxl) are refused, and on ${t} it stops calculating and running scripts` : "it no longer calculates, runs scripts or exports"}. Saving as .sxl always works. Tell the user before you edit anything they will need to export. Fix: update — restart this server on the latest release (\`npx -y @sheetxl/mcp@latest\`, or update the SheetXL VS Code extension) — or set a license key (\`SHEETXL_LICENSE_KEY\`).`;
7686
7686
  })();
7687
7687
  return a && (t.content = [{
@@ -7707,7 +7707,7 @@ var Mc = process.env.SHEETXL_WORKSPACE ?? process.cwd(), Fc = function(e, t, n,
7707
7707
  type: "text",
7708
7708
  text: ht(await lt({
7709
7709
  surface: "mcp",
7710
- license: () => $.getDetails(),
7710
+ license: () => y.getDetails(),
7711
7711
  serverCount: t ? Vt(t.workspace).filter(Bt).length + 1 : void 0,
7712
7712
  sessions: async () => (await e.list()).map((e) => ({
7713
7713
  id: e.id,
package/lib.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.21
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.22
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula