@zeke-02/docx-editor 0.5.2 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/LICENSE +204 -0
  2. package/dist/FindReplaceDialog-7SQOVQWH.js +1 -0
  3. package/dist/FindReplaceDialog-RK3A7MSK.mjs +1 -0
  4. package/dist/{FootnotePropertiesDialog-XQ7NIFIU.js → FootnotePropertiesDialog-2Q2SHVMR.js} +1 -1
  5. package/dist/{FootnotePropertiesDialog-TNVJJCY6.mjs → FootnotePropertiesDialog-ZKQXW3YO.mjs} +1 -1
  6. package/dist/{HyperlinkDialog-FR4IZZ7E.mjs → HyperlinkDialog-QV3CVFQU.mjs} +1 -1
  7. package/dist/HyperlinkDialog-XVAF7FVN.js +1 -0
  8. package/dist/{ImagePositionDialog-JSZSIKF5.mjs → ImagePositionDialog-EGRH3HPP.mjs} +1 -1
  9. package/dist/{ImagePositionDialog-2YXRAGZS.js → ImagePositionDialog-HIVHUTBT.js} +1 -1
  10. package/dist/ImagePropertiesDialog-67WLFIIZ.mjs +1 -0
  11. package/dist/ImagePropertiesDialog-HSM3JJ22.js +1 -0
  12. package/dist/KeyboardShortcutsDialog-B0UFuR4w.d.ts +395 -0
  13. package/dist/KeyboardShortcutsDialog-t6JKL4Aj.d.mts +395 -0
  14. package/dist/PageSetupDialog-642IAVG2.js +1 -0
  15. package/dist/PageSetupDialog-ERUQDHAY.mjs +1 -0
  16. package/dist/PluginHost-HS31VIuo.d.mts +16 -0
  17. package/dist/PluginHost-zILZO7zX.d.ts +16 -0
  18. package/dist/{SplitCellDialog-NP3JJYHD.mjs → SplitCellDialog-GFWCFCTD.mjs} +1 -1
  19. package/dist/{SplitCellDialog-JIAC3RYV.js → SplitCellDialog-M7WF7ANE.js} +1 -1
  20. package/dist/{TablePropertiesDialog-TIK4AA5M.mjs → TablePropertiesDialog-TZ7VCL6V.mjs} +1 -1
  21. package/dist/{TablePropertiesDialog-T7D4HSVP.js → TablePropertiesDialog-ZKU2FTUX.js} +1 -1
  22. package/dist/agentApi-B2Y7kexW.d.ts +486 -0
  23. package/dist/agentApi-BzUJ_kao.d.mts +486 -0
  24. package/dist/chunk-2XXILKEQ.js +1 -0
  25. package/dist/chunk-35DG3R42.js +2 -0
  26. package/dist/chunk-5UX5CD4C.js +1 -0
  27. package/dist/chunk-7QQSDIWK.mjs +2 -0
  28. package/dist/chunk-AW5TISUL.js +3 -0
  29. package/dist/chunk-B45ECEGY.js +18 -0
  30. package/dist/chunk-B7CCL7SL.mjs +2 -0
  31. package/dist/chunk-BRMTZRLJ.js +2 -0
  32. package/dist/chunk-D47GTKGU.js +2 -0
  33. package/dist/chunk-F5SERL7X.mjs +2 -0
  34. package/dist/chunk-FWPVBFKQ.mjs +1 -0
  35. package/dist/chunk-GGQK26JO.js +2 -0
  36. package/dist/chunk-GM2S2WMT.mjs +1 -0
  37. package/dist/chunk-HXDMASAR.js +1 -0
  38. package/dist/chunk-ILYKDR3C.js +1 -0
  39. package/dist/chunk-JFRDFK7V.mjs +260 -0
  40. package/dist/chunk-JPF5R2ZM.mjs +1 -0
  41. package/dist/chunk-KOXCF3CL.mjs +1 -0
  42. package/dist/chunk-KRLNX56Y.mjs +2 -0
  43. package/dist/chunk-LWOHVYKW.mjs +1 -0
  44. package/dist/chunk-MDTA25AN.mjs +60 -0
  45. package/dist/chunk-MKNSJOCN.js +70 -0
  46. package/dist/chunk-NIBCC7WQ.js +1 -0
  47. package/dist/chunk-NLFXR2VH.js +2 -0
  48. package/dist/chunk-NOLMVQNN.mjs +40 -0
  49. package/dist/chunk-ONIYA2FU.mjs +2 -0
  50. package/dist/chunk-RCIZ7OM3.mjs +70 -0
  51. package/dist/chunk-SGTUE33R.js +260 -0
  52. package/dist/{chunk-EHFEG3TX.js → chunk-SNZ57XBI.js} +1 -1
  53. package/dist/chunk-SOTWG3KJ.mjs +1 -0
  54. package/dist/chunk-TYPGB4KF.js +1 -0
  55. package/dist/chunk-U7ZW2DOO.mjs +2 -0
  56. package/dist/chunk-WO3FIV4B.js +40 -0
  57. package/dist/{chunk-PKEOQIQO.mjs → chunk-WPI3YRFO.mjs} +1 -1
  58. package/dist/chunk-XGJ2EORY.mjs +1 -0
  59. package/dist/chunk-XQZTWWRF.mjs +18 -0
  60. package/dist/chunk-Y3SEHWZ2.js +1 -0
  61. package/dist/chunk-YBEVHQCT.js +60 -0
  62. package/dist/chunk-ZVAFVHWR.mjs +3 -0
  63. package/dist/chunk-ZXPCJWVY.js +2 -0
  64. package/dist/{agentApi-DLt94vXk.d.mts → content-REFGFfEH.d.mts} +8 -755
  65. package/dist/{agentApi-DLt94vXk.d.ts → content-REFGFfEH.d.ts} +8 -755
  66. package/dist/dialogs.d.mts +25 -0
  67. package/dist/dialogs.d.ts +25 -0
  68. package/dist/dialogs.js +1 -0
  69. package/dist/dialogs.mjs +1 -0
  70. package/dist/document-Cu2vq_wS.d.mts +294 -0
  71. package/dist/document-CxOagoLQ.d.ts +294 -0
  72. package/dist/executor-WBHID2RK.mjs +1 -0
  73. package/dist/executor-Y5VUOAHY.js +1 -0
  74. package/dist/findReplace-Bue0JaXh.d.ts +138 -0
  75. package/dist/findReplace-shXbOjFQ.d.mts +138 -0
  76. package/dist/fork.d.mts +535 -0
  77. package/dist/fork.d.ts +535 -0
  78. package/dist/fork.js +1 -0
  79. package/dist/fork.mjs +1 -0
  80. package/dist/hooks.d.mts +598 -0
  81. package/dist/hooks.d.ts +598 -0
  82. package/dist/hooks.js +1 -0
  83. package/dist/hooks.mjs +1 -0
  84. package/dist/index-B5A-J9GC.d.ts +1119 -0
  85. package/dist/index-bw-PaozF.d.mts +1119 -0
  86. package/dist/index.d.mts +12 -591
  87. package/dist/index.d.ts +12 -591
  88. package/dist/index.js +1 -120
  89. package/dist/index.mjs +1 -120
  90. package/dist/layout-bridge-5GYGYKM5.mjs +1 -0
  91. package/dist/layout-bridge-QQDA7ELH.js +1 -0
  92. package/dist/plugin-api.d.mts +165 -0
  93. package/dist/plugin-api.d.ts +165 -0
  94. package/dist/plugin-api.js +1 -0
  95. package/dist/plugin-api.mjs +1 -0
  96. package/dist/processTemplate-BTBTR7AM.js +1 -0
  97. package/dist/{processTemplate-W2C5PXZB.mjs → processTemplate-MBX2KDLE.mjs} +1 -1
  98. package/dist/styles.css +1 -1
  99. package/dist/styles.d.mts +18 -0
  100. package/dist/styles.d.ts +18 -0
  101. package/dist/styles.js +1 -0
  102. package/dist/styles.mjs +1 -0
  103. package/dist/types-BF48VxkC.d.mts +18 -0
  104. package/dist/types-BF48VxkC.d.ts +18 -0
  105. package/dist/types-BnIs4sE7.d.mts +281 -0
  106. package/dist/types-BnIs4sE7.d.ts +281 -0
  107. package/dist/types-CW6HFAX6.d.ts +39 -0
  108. package/dist/types-DIsDCwTG.d.mts +39 -0
  109. package/dist/ui.d.mts +111 -552
  110. package/dist/ui.d.ts +111 -552
  111. package/dist/ui.js +111 -1
  112. package/dist/ui.mjs +111 -1
  113. package/dist/useFindReplace-DKy-s3gS.d.ts +261 -0
  114. package/dist/useFindReplace-vuoKpDKE.d.mts +261 -0
  115. package/package.json +47 -49
  116. package/dist/ClipboardManager-CVKX0v9q.d.ts +0 -464
  117. package/dist/ClipboardManager-V3aaMnWE.d.mts +0 -464
  118. package/dist/DocumentAgent-BWflKHpH.d.mts +0 -442
  119. package/dist/DocumentAgent-DsdXtetF.d.ts +0 -442
  120. package/dist/FindReplaceDialog-L3YF5HIS.mjs +0 -1
  121. package/dist/FindReplaceDialog-SEBWC5P7.js +0 -1
  122. package/dist/HyperlinkDialog-WEK6JSAC.js +0 -1
  123. package/dist/ImagePropertiesDialog-527MFLQO.mjs +0 -1
  124. package/dist/ImagePropertiesDialog-HG4K3IE7.js +0 -1
  125. package/dist/PageSetupDialog-GALVJMUB.js +0 -1
  126. package/dist/PageSetupDialog-TGQIAMI7.mjs +0 -1
  127. package/dist/TableToolbar-DUgmob2I.d.ts +0 -1273
  128. package/dist/TableToolbar-YL74HNS1.d.mts +0 -1273
  129. package/dist/chunk-23SXXIZS.js +0 -111
  130. package/dist/chunk-3F52AP2Q.js +0 -1
  131. package/dist/chunk-42O5GXM5.mjs +0 -82
  132. package/dist/chunk-54ULJEHM.mjs +0 -1
  133. package/dist/chunk-5XK326FI.mjs +0 -1
  134. package/dist/chunk-6WPRCJ5A.mjs +0 -1
  135. package/dist/chunk-76IYR7C7.mjs +0 -1
  136. package/dist/chunk-AGRIVA4G.js +0 -1
  137. package/dist/chunk-BTCQ2QI3.mjs +0 -3
  138. package/dist/chunk-BUEMG4NW.js +0 -1
  139. package/dist/chunk-BXRC4U3X.mjs +0 -2
  140. package/dist/chunk-CPAYKE6X.mjs +0 -1
  141. package/dist/chunk-DACWLFKI.mjs +0 -1
  142. package/dist/chunk-EPBFWE36.js +0 -2
  143. package/dist/chunk-FXES3YDB.js +0 -82
  144. package/dist/chunk-HI66BSGS.mjs +0 -9
  145. package/dist/chunk-INTPVEO6.mjs +0 -9
  146. package/dist/chunk-IOAGVW6Q.mjs +0 -2
  147. package/dist/chunk-JCEWC5QL.mjs +0 -4
  148. package/dist/chunk-JTIUFACT.js +0 -1
  149. package/dist/chunk-LUF7PWIC.js +0 -10
  150. package/dist/chunk-MGEN6GOE.mjs +0 -2
  151. package/dist/chunk-MOE2ZGUE.js +0 -18
  152. package/dist/chunk-MWLHJWB6.js +0 -9
  153. package/dist/chunk-OFYVDN3U.mjs +0 -2
  154. package/dist/chunk-P4VSHBGZ.js +0 -2
  155. package/dist/chunk-P5FQHIES.mjs +0 -1
  156. package/dist/chunk-PBC7XAYZ.js +0 -3
  157. package/dist/chunk-PEMB6SZT.js +0 -2
  158. package/dist/chunk-PQMSZTBB.js +0 -9
  159. package/dist/chunk-Q7UDQXAF.js +0 -1
  160. package/dist/chunk-QGTAIC5E.js +0 -1
  161. package/dist/chunk-QVPR2W5S.js +0 -1
  162. package/dist/chunk-R3QMYPL5.mjs +0 -59
  163. package/dist/chunk-RBUTXXQJ.mjs +0 -18
  164. package/dist/chunk-RRWYZ2TS.mjs +0 -111
  165. package/dist/chunk-S3STEPVO.js +0 -182
  166. package/dist/chunk-SFUM35DH.js +0 -2
  167. package/dist/chunk-SNLC6EK2.js +0 -1
  168. package/dist/chunk-TMTLIGLZ.js +0 -59
  169. package/dist/chunk-TSE2PWFX.mjs +0 -10
  170. package/dist/chunk-UKESXQS5.mjs +0 -182
  171. package/dist/chunk-UWYD42WV.js +0 -4
  172. package/dist/chunk-UXVACQCY.mjs +0 -1
  173. package/dist/chunk-W4EIKDM6.mjs +0 -2
  174. package/dist/chunk-W53SI3XW.mjs +0 -1
  175. package/dist/chunk-WNS2RBQD.js +0 -2
  176. package/dist/chunk-Z3KMSHUP.js +0 -1
  177. package/dist/core-plugins-reexport.d.mts +0 -31
  178. package/dist/core-plugins-reexport.d.ts +0 -31
  179. package/dist/core-plugins-reexport.js +0 -1
  180. package/dist/core-plugins-reexport.mjs +0 -1
  181. package/dist/core-reexport.d.mts +0 -340
  182. package/dist/core-reexport.d.ts +0 -340
  183. package/dist/core-reexport.js +0 -1
  184. package/dist/core-reexport.mjs +0 -1
  185. package/dist/documentSerializer-DtS_-oGA.d.mts +0 -664
  186. package/dist/documentSerializer-Wj1p2ASa.d.ts +0 -664
  187. package/dist/executor-C3VXF7QA.mjs +0 -1
  188. package/dist/executor-GDBV3AGV.js +0 -1
  189. package/dist/headless-reexport.d.mts +0 -197
  190. package/dist/headless-reexport.d.ts +0 -197
  191. package/dist/headless-reexport.js +0 -1
  192. package/dist/headless-reexport.mjs +0 -1
  193. package/dist/insertOperations-BTH1Asas.d.mts +0 -176
  194. package/dist/insertOperations-CbUnXAXH.d.ts +0 -176
  195. package/dist/layout-bridge-EA4DJ227.js +0 -1
  196. package/dist/layout-bridge-XDPSO6GO.mjs +0 -1
  197. package/dist/mcp-reexport.d.mts +0 -156
  198. package/dist/mcp-reexport.d.ts +0 -156
  199. package/dist/mcp-reexport.js +0 -16
  200. package/dist/mcp-reexport.mjs +0 -16
  201. package/dist/processTemplate-MJ2PCSO5.js +0 -1
  202. package/dist/react-B0W16SV6.d.ts +0 -1330
  203. package/dist/react-D0Pn1nww.d.mts +0 -1330
  204. package/dist/react.d.mts +0 -10
  205. package/dist/react.d.ts +0 -10
  206. package/dist/react.js +0 -1
  207. package/dist/react.mjs +0 -1
  208. package/dist/registry-CH9V-IX0.d.ts +0 -165
  209. package/dist/registry-CWBKYlNW.d.mts +0 -165
  210. package/dist/types-UDsUq8D3.d.mts +0 -310
  211. package/dist/types-jbivc9Lj.d.ts +0 -310
  212. package/dist/variableDetector-CdQ7ZTzA.d.mts +0 -204
  213. package/dist/variableDetector-DsRV3A9z.d.ts +0 -204
  214. package/i18n/de.json +0 -792
  215. package/i18n/en.json +0 -792
  216. package/i18n/he.json +0 -792
  217. package/i18n/pl.json +0 -792
  218. package/i18n/pt-BR.json +0 -792
  219. package/i18n/tr.json +0 -792
  220. package/i18n/zh-CN.json +0 -792
  221. /package/dist/{chunk-YC5KZSYD.js → chunk-ESZ6JRTW.js} +0 -0
  222. /package/dist/{chunk-LVGJKS7Y.mjs → chunk-TZMMD6RR.mjs} +0 -0
  223. /package/dist/{react.css → fork.css} +0 -0
package/dist/react.d.mts DELETED
@@ -1,10 +0,0 @@
1
- export { a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef, e as EditorPlugin, f as ErrorBoundary, g as ErrorBoundaryProps, h as ErrorContextValue, i as ErrorProvider, P as PLUGIN_HOST_STYLES, k as ParseErrorDisplay, l as ParseErrorDisplayProps, m as PluginContext, n as PluginHost, o as PluginHostProps, p as PluginHostRef, r as RenderAsyncOptions, t as SelectionOverlayProps, T as TableSelectionState, U as UnsupportedFeatureWarning, w as UnsupportedFeatureWarningProps, x as UseAutoSaveOptions, y as UseAutoSaveReturn, z as UseClipboardOptions, A as UseClipboardReturn, B as UseSelectionHighlightOptions, C as UseSelectionHighlightReturn, F as UseTableSelectionOptions, G as UseTableSelectionReturn, I as UseWheelZoomOptions, J as UseWheelZoomReturn, Z as ZOOM_PRESETS, L as clampZoom, O as findNearestZoomPreset, Q as formatZoom, V as generateOverlayElements, _ as getNextZoomPreset, $ as getPreviousZoomPreset, a3 as getUserFriendlyMessage, a4 as getZoomPresets, a8 as isParseError, ab as isZoomPreset, ae as parseZoom, ag as renderAsync, ai as useAutoSave, aj as useClipboard, ak as useErrorNotifications, al as useSelectionHighlight, am as useTableSelection, an as useWheelZoom } from './react-D0Pn1nww.mjs';
2
- export { g as DocxInput, t as toArrayBuffer } from './DocumentAgent-BWflKHpH.mjs';
3
- export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-V3aaMnWE.mjs';
4
- import 'react';
5
- import 'prosemirror-view';
6
- import 'prosemirror-state';
7
- import './agentApi-DLt94vXk.mjs';
8
- import './TableToolbar-YL74HNS1.mjs';
9
- import 'react/jsx-runtime';
10
- import 'prosemirror-model';
package/dist/react.d.ts DELETED
@@ -1,10 +0,0 @@
1
- export { a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef, e as EditorPlugin, f as ErrorBoundary, g as ErrorBoundaryProps, h as ErrorContextValue, i as ErrorProvider, P as PLUGIN_HOST_STYLES, k as ParseErrorDisplay, l as ParseErrorDisplayProps, m as PluginContext, n as PluginHost, o as PluginHostProps, p as PluginHostRef, r as RenderAsyncOptions, t as SelectionOverlayProps, T as TableSelectionState, U as UnsupportedFeatureWarning, w as UnsupportedFeatureWarningProps, x as UseAutoSaveOptions, y as UseAutoSaveReturn, z as UseClipboardOptions, A as UseClipboardReturn, B as UseSelectionHighlightOptions, C as UseSelectionHighlightReturn, F as UseTableSelectionOptions, G as UseTableSelectionReturn, I as UseWheelZoomOptions, J as UseWheelZoomReturn, Z as ZOOM_PRESETS, L as clampZoom, O as findNearestZoomPreset, Q as formatZoom, V as generateOverlayElements, _ as getNextZoomPreset, $ as getPreviousZoomPreset, a3 as getUserFriendlyMessage, a4 as getZoomPresets, a8 as isParseError, ab as isZoomPreset, ae as parseZoom, ag as renderAsync, ai as useAutoSave, aj as useClipboard, ak as useErrorNotifications, al as useSelectionHighlight, am as useTableSelection, an as useWheelZoom } from './react-B0W16SV6.js';
2
- export { g as DocxInput, t as toArrayBuffer } from './DocumentAgent-DsdXtetF.js';
3
- export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-CVKX0v9q.js';
4
- import 'react';
5
- import 'prosemirror-view';
6
- import 'prosemirror-state';
7
- import './agentApi-DLt94vXk.js';
8
- import './TableToolbar-DUgmob2I.js';
9
- import 'react/jsx-runtime';
10
- import 'prosemirror-model';
package/dist/react.js DELETED
@@ -1 +0,0 @@
1
- 'use strict';var chunkS3STEPVO_js=require('./chunk-S3STEPVO.js');require('./chunk-PEMB6SZT.js'),require('./chunk-EPBFWE36.js'),require('./chunk-FXES3YDB.js'),require('./chunk-SFUM35DH.js'),require('./chunk-EHFEG3TX.js'),require('./chunk-PBC7XAYZ.js'),require('./chunk-WNS2RBQD.js');var chunkJTIUFACT_js=require('./chunk-JTIUFACT.js');require('./chunk-AGRIVA4G.js'),require('./chunk-UWYD42WV.js'),require('./chunk-QVPR2W5S.js'),require('./chunk-PQMSZTBB.js'),require('./chunk-3F52AP2Q.js'),require('./chunk-SNLC6EK2.js'),require('./chunk-LUF7PWIC.js'),require('./chunk-TMTLIGLZ.js'),require('./chunk-QGTAIC5E.js'),require('./chunk-Z3KMSHUP.js'),require('./chunk-P4VSHBGZ.js'),require('./chunk-IFPN3NT3.js'),require('./chunk-BUEMG4NW.js'),require('./chunk-MOE2ZGUE.js');var chunkMWLHJWB6_js=require('./chunk-MWLHJWB6.js');require('./chunk-Q7UDQXAF.js'),require('./chunk-YC5KZSYD.js'),require('./chunk-H5NTJZO4.js');Object.defineProperty(exports,"DocxEditor",{enumerable:true,get:function(){return chunkS3STEPVO_js.k}});Object.defineProperty(exports,"ErrorBoundary",{enumerable:true,get:function(){return chunkS3STEPVO_js.e}});Object.defineProperty(exports,"ErrorProvider",{enumerable:true,get:function(){return chunkS3STEPVO_js.d}});Object.defineProperty(exports,"PLUGIN_HOST_STYLES",{enumerable:true,get:function(){return chunkS3STEPVO_js.A}});Object.defineProperty(exports,"ParseErrorDisplay",{enumerable:true,get:function(){return chunkS3STEPVO_js.f}});Object.defineProperty(exports,"PluginHost",{enumerable:true,get:function(){return chunkS3STEPVO_js.B}});Object.defineProperty(exports,"UnsupportedFeatureWarning",{enumerable:true,get:function(){return chunkS3STEPVO_js.g}});Object.defineProperty(exports,"ZOOM_PRESETS",{enumerable:true,get:function(){return chunkS3STEPVO_js.n}});Object.defineProperty(exports,"clampZoom",{enumerable:true,get:function(){return chunkS3STEPVO_js.w}});Object.defineProperty(exports,"findNearestZoomPreset",{enumerable:true,get:function(){return chunkS3STEPVO_js.q}});Object.defineProperty(exports,"formatZoom",{enumerable:true,get:function(){return chunkS3STEPVO_js.t}});Object.defineProperty(exports,"generateOverlayElements",{enumerable:true,get:function(){return chunkS3STEPVO_js.y}});Object.defineProperty(exports,"getNextZoomPreset",{enumerable:true,get:function(){return chunkS3STEPVO_js.r}});Object.defineProperty(exports,"getPreviousZoomPreset",{enumerable:true,get:function(){return chunkS3STEPVO_js.s}});Object.defineProperty(exports,"getUserFriendlyMessage",{enumerable:true,get:function(){return chunkS3STEPVO_js.i}});Object.defineProperty(exports,"getZoomPresets",{enumerable:true,get:function(){return chunkS3STEPVO_js.p}});Object.defineProperty(exports,"isParseError",{enumerable:true,get:function(){return chunkS3STEPVO_js.h}});Object.defineProperty(exports,"isZoomPreset",{enumerable:true,get:function(){return chunkS3STEPVO_js.v}});Object.defineProperty(exports,"parseZoom",{enumerable:true,get:function(){return chunkS3STEPVO_js.u}});Object.defineProperty(exports,"renderAsync",{enumerable:true,get:function(){return chunkS3STEPVO_js.l}});Object.defineProperty(exports,"useAutoSave",{enumerable:true,get:function(){return chunkS3STEPVO_js.m}});Object.defineProperty(exports,"useClipboard",{enumerable:true,get:function(){return chunkS3STEPVO_js.z}});Object.defineProperty(exports,"useErrorNotifications",{enumerable:true,get:function(){return chunkS3STEPVO_js.c}});Object.defineProperty(exports,"useSelectionHighlight",{enumerable:true,get:function(){return chunkS3STEPVO_js.x}});Object.defineProperty(exports,"useTableSelection",{enumerable:true,get:function(){return chunkS3STEPVO_js.j}});Object.defineProperty(exports,"useWheelZoom",{enumerable:true,get:function(){return chunkS3STEPVO_js.o}});Object.defineProperty(exports,"TABLE_DATA_ATTRIBUTES",{enumerable:true,get:function(){return chunkJTIUFACT_js.j}});Object.defineProperty(exports,"createSelectionFromDOM",{enumerable:true,get:function(){return chunkJTIUFACT_js.r}});Object.defineProperty(exports,"formatLastSaveTime",{enumerable:true,get:function(){return chunkJTIUFACT_js.e}});Object.defineProperty(exports,"formatStorageSize",{enumerable:true,get:function(){return chunkJTIUFACT_js.h}});Object.defineProperty(exports,"getAutoSaveStatusLabel",{enumerable:true,get:function(){return chunkJTIUFACT_js.f}});Object.defineProperty(exports,"getAutoSaveStorageSize",{enumerable:true,get:function(){return chunkJTIUFACT_js.g}});Object.defineProperty(exports,"getSelectionRuns",{enumerable:true,get:function(){return chunkJTIUFACT_js.q}});Object.defineProperty(exports,"isAutoSaveSupported",{enumerable:true,get:function(){return chunkJTIUFACT_js.i}});Object.defineProperty(exports,"toArrayBuffer",{enumerable:true,get:function(){return chunkMWLHJWB6_js.a}});
package/dist/react.mjs DELETED
@@ -1 +0,0 @@
1
- export{k as DocxEditor,e as ErrorBoundary,d as ErrorProvider,A as PLUGIN_HOST_STYLES,f as ParseErrorDisplay,B as PluginHost,g as UnsupportedFeatureWarning,n as ZOOM_PRESETS,w as clampZoom,q as findNearestZoomPreset,t as formatZoom,y as generateOverlayElements,r as getNextZoomPreset,s as getPreviousZoomPreset,i as getUserFriendlyMessage,p as getZoomPresets,h as isParseError,v as isZoomPreset,u as parseZoom,l as renderAsync,m as useAutoSave,z as useClipboard,c as useErrorNotifications,x as useSelectionHighlight,j as useTableSelection,o as useWheelZoom}from'./chunk-UKESXQS5.mjs';import'./chunk-BXRC4U3X.mjs';import'./chunk-OFYVDN3U.mjs';import'./chunk-42O5GXM5.mjs';import'./chunk-W4EIKDM6.mjs';import'./chunk-PKEOQIQO.mjs';import'./chunk-BTCQ2QI3.mjs';import'./chunk-MGEN6GOE.mjs';export{j as TABLE_DATA_ATTRIBUTES,r as createSelectionFromDOM,e as formatLastSaveTime,h as formatStorageSize,f as getAutoSaveStatusLabel,g as getAutoSaveStorageSize,q as getSelectionRuns,i as isAutoSaveSupported}from'./chunk-DACWLFKI.mjs';import'./chunk-P5FQHIES.mjs';import'./chunk-JCEWC5QL.mjs';import'./chunk-6WPRCJ5A.mjs';import'./chunk-HI66BSGS.mjs';import'./chunk-UXVACQCY.mjs';import'./chunk-CPAYKE6X.mjs';import'./chunk-TSE2PWFX.mjs';import'./chunk-R3QMYPL5.mjs';import'./chunk-5XK326FI.mjs';import'./chunk-76IYR7C7.mjs';import'./chunk-IOAGVW6Q.mjs';import'./chunk-WOHFANC5.mjs';import'./chunk-W53SI3XW.mjs';import'./chunk-RBUTXXQJ.mjs';export{a as toArrayBuffer}from'./chunk-INTPVEO6.mjs';import'./chunk-54ULJEHM.mjs';import'./chunk-LVGJKS7Y.mjs';import'./chunk-TAUMSKRE.mjs';
@@ -1,165 +0,0 @@
1
- import { C as CorePlugin, P as PluginOptions, a as PluginRegistrationResult, b as CommandHandler, M as McpToolDefinition, c as PluginEventListener } from './types-jbivc9Lj.js';
2
-
3
- /**
4
- * Plugin Registry
5
- *
6
- * Central registry for core plugins. Manages plugin lifecycle,
7
- * collects command handlers from all plugins, and aggregates
8
- * MCP tool definitions for the MCP server.
9
- */
10
-
11
- /**
12
- * Plugin Registry - manages core plugins
13
- *
14
- * @example
15
- * ```ts
16
- * import { pluginRegistry, docxtemplaterPlugin } from '@eigenpal/docx-editor/core-plugins';
17
- *
18
- * // Register plugins
19
- * pluginRegistry.register(docxtemplaterPlugin);
20
- *
21
- * // Get all MCP tools for MCP server
22
- * const tools = pluginRegistry.getMcpTools();
23
- *
24
- * // Get command handler for executor
25
- * const handler = pluginRegistry.getCommandHandler('insertTemplateVariable');
26
- * ```
27
- */
28
- declare class PluginRegistry {
29
- private plugins;
30
- private commandHandlers;
31
- private eventListeners;
32
- private initialized;
33
- /**
34
- * Register a plugin
35
- *
36
- * @param plugin - The plugin to register
37
- * @param options - Optional configuration
38
- * @returns Registration result
39
- */
40
- register(plugin: CorePlugin, options?: PluginOptions): PluginRegistrationResult;
41
- /**
42
- * Unregister a plugin
43
- *
44
- * @param pluginId - ID of the plugin to unregister
45
- * @returns Whether unregistration succeeded
46
- */
47
- unregister(pluginId: string): boolean;
48
- /**
49
- * Get a registered plugin by ID
50
- *
51
- * @param id - Plugin ID
52
- * @returns The plugin or undefined
53
- */
54
- get(id: string): CorePlugin | undefined;
55
- /**
56
- * Get all registered plugins
57
- *
58
- * @returns Array of all plugins
59
- */
60
- getAll(): CorePlugin[];
61
- /**
62
- * Check if a plugin is registered
63
- *
64
- * @param id - Plugin ID
65
- * @returns Whether the plugin is registered
66
- */
67
- has(id: string): boolean;
68
- /**
69
- * Get number of registered plugins
70
- */
71
- get size(): number;
72
- /**
73
- * Get a command handler for a command type
74
- *
75
- * @param commandType - The command type
76
- * @returns The handler or undefined
77
- */
78
- getCommandHandler(commandType: string): CommandHandler | undefined;
79
- /**
80
- * Get all registered command types
81
- *
82
- * @returns Array of command type strings
83
- */
84
- getCommandTypes(): string[];
85
- /**
86
- * Check if a command type has a handler
87
- *
88
- * @param commandType - The command type
89
- * @returns Whether a handler exists
90
- */
91
- hasCommandHandler(commandType: string): boolean;
92
- /**
93
- * Get all MCP tools from all registered plugins
94
- *
95
- * @returns Array of MCP tool definitions
96
- */
97
- getMcpTools(): McpToolDefinition[];
98
- /**
99
- * Get MCP tools from a specific plugin
100
- *
101
- * @param pluginId - Plugin ID
102
- * @returns Array of MCP tool definitions
103
- */
104
- getMcpToolsForPlugin(pluginId: string): McpToolDefinition[];
105
- /**
106
- * Get an MCP tool by name
107
- *
108
- * @param toolName - Tool name
109
- * @returns The tool definition or undefined
110
- */
111
- getMcpTool(toolName: string): McpToolDefinition | undefined;
112
- /**
113
- * Add an event listener
114
- *
115
- * @param listener - Event listener function
116
- */
117
- addEventListener(listener: PluginEventListener): void;
118
- /**
119
- * Remove an event listener
120
- *
121
- * @param listener - Event listener function
122
- */
123
- removeEventListener(listener: PluginEventListener): void;
124
- /**
125
- * Emit an event to all listeners
126
- */
127
- private emit;
128
- /**
129
- * Clear all registered plugins
130
- *
131
- * Useful for testing or resetting state.
132
- */
133
- clear(): void;
134
- /**
135
- * Get registry state for debugging
136
- */
137
- getDebugInfo(): {
138
- plugins: string[];
139
- commandTypes: string[];
140
- mcpTools: string[];
141
- initialized: string[];
142
- };
143
- }
144
- /**
145
- * Global plugin registry instance
146
- *
147
- * Use this for registering plugins and accessing their capabilities.
148
- */
149
- declare const pluginRegistry: PluginRegistry;
150
- /**
151
- * Register multiple plugins at once
152
- *
153
- * @param plugins - Array of plugins to register
154
- * @returns Array of registration results
155
- */
156
- declare function registerPlugins(plugins: CorePlugin[], options?: PluginOptions): PluginRegistrationResult[];
157
- /**
158
- * Create a plugin registration helper with options pre-configured
159
- *
160
- * @param options - Default options for plugin registration
161
- * @returns Registration function
162
- */
163
- declare function createPluginRegistrar(options: PluginOptions): (plugin: CorePlugin) => PluginRegistrationResult;
164
-
165
- export { PluginRegistry as P, createPluginRegistrar as c, pluginRegistry as p, registerPlugins as r };
@@ -1,165 +0,0 @@
1
- import { C as CorePlugin, P as PluginOptions, a as PluginRegistrationResult, b as CommandHandler, M as McpToolDefinition, c as PluginEventListener } from './types-UDsUq8D3.mjs';
2
-
3
- /**
4
- * Plugin Registry
5
- *
6
- * Central registry for core plugins. Manages plugin lifecycle,
7
- * collects command handlers from all plugins, and aggregates
8
- * MCP tool definitions for the MCP server.
9
- */
10
-
11
- /**
12
- * Plugin Registry - manages core plugins
13
- *
14
- * @example
15
- * ```ts
16
- * import { pluginRegistry, docxtemplaterPlugin } from '@eigenpal/docx-editor/core-plugins';
17
- *
18
- * // Register plugins
19
- * pluginRegistry.register(docxtemplaterPlugin);
20
- *
21
- * // Get all MCP tools for MCP server
22
- * const tools = pluginRegistry.getMcpTools();
23
- *
24
- * // Get command handler for executor
25
- * const handler = pluginRegistry.getCommandHandler('insertTemplateVariable');
26
- * ```
27
- */
28
- declare class PluginRegistry {
29
- private plugins;
30
- private commandHandlers;
31
- private eventListeners;
32
- private initialized;
33
- /**
34
- * Register a plugin
35
- *
36
- * @param plugin - The plugin to register
37
- * @param options - Optional configuration
38
- * @returns Registration result
39
- */
40
- register(plugin: CorePlugin, options?: PluginOptions): PluginRegistrationResult;
41
- /**
42
- * Unregister a plugin
43
- *
44
- * @param pluginId - ID of the plugin to unregister
45
- * @returns Whether unregistration succeeded
46
- */
47
- unregister(pluginId: string): boolean;
48
- /**
49
- * Get a registered plugin by ID
50
- *
51
- * @param id - Plugin ID
52
- * @returns The plugin or undefined
53
- */
54
- get(id: string): CorePlugin | undefined;
55
- /**
56
- * Get all registered plugins
57
- *
58
- * @returns Array of all plugins
59
- */
60
- getAll(): CorePlugin[];
61
- /**
62
- * Check if a plugin is registered
63
- *
64
- * @param id - Plugin ID
65
- * @returns Whether the plugin is registered
66
- */
67
- has(id: string): boolean;
68
- /**
69
- * Get number of registered plugins
70
- */
71
- get size(): number;
72
- /**
73
- * Get a command handler for a command type
74
- *
75
- * @param commandType - The command type
76
- * @returns The handler or undefined
77
- */
78
- getCommandHandler(commandType: string): CommandHandler | undefined;
79
- /**
80
- * Get all registered command types
81
- *
82
- * @returns Array of command type strings
83
- */
84
- getCommandTypes(): string[];
85
- /**
86
- * Check if a command type has a handler
87
- *
88
- * @param commandType - The command type
89
- * @returns Whether a handler exists
90
- */
91
- hasCommandHandler(commandType: string): boolean;
92
- /**
93
- * Get all MCP tools from all registered plugins
94
- *
95
- * @returns Array of MCP tool definitions
96
- */
97
- getMcpTools(): McpToolDefinition[];
98
- /**
99
- * Get MCP tools from a specific plugin
100
- *
101
- * @param pluginId - Plugin ID
102
- * @returns Array of MCP tool definitions
103
- */
104
- getMcpToolsForPlugin(pluginId: string): McpToolDefinition[];
105
- /**
106
- * Get an MCP tool by name
107
- *
108
- * @param toolName - Tool name
109
- * @returns The tool definition or undefined
110
- */
111
- getMcpTool(toolName: string): McpToolDefinition | undefined;
112
- /**
113
- * Add an event listener
114
- *
115
- * @param listener - Event listener function
116
- */
117
- addEventListener(listener: PluginEventListener): void;
118
- /**
119
- * Remove an event listener
120
- *
121
- * @param listener - Event listener function
122
- */
123
- removeEventListener(listener: PluginEventListener): void;
124
- /**
125
- * Emit an event to all listeners
126
- */
127
- private emit;
128
- /**
129
- * Clear all registered plugins
130
- *
131
- * Useful for testing or resetting state.
132
- */
133
- clear(): void;
134
- /**
135
- * Get registry state for debugging
136
- */
137
- getDebugInfo(): {
138
- plugins: string[];
139
- commandTypes: string[];
140
- mcpTools: string[];
141
- initialized: string[];
142
- };
143
- }
144
- /**
145
- * Global plugin registry instance
146
- *
147
- * Use this for registering plugins and accessing their capabilities.
148
- */
149
- declare const pluginRegistry: PluginRegistry;
150
- /**
151
- * Register multiple plugins at once
152
- *
153
- * @param plugins - Array of plugins to register
154
- * @returns Array of registration results
155
- */
156
- declare function registerPlugins(plugins: CorePlugin[], options?: PluginOptions): PluginRegistrationResult[];
157
- /**
158
- * Create a plugin registration helper with options pre-configured
159
- *
160
- * @param options - Default options for plugin registration
161
- * @returns Registration function
162
- */
163
- declare function createPluginRegistrar(options: PluginOptions): (plugin: CorePlugin) => PluginRegistrationResult;
164
-
165
- export { PluginRegistry as P, createPluginRegistrar as c, pluginRegistry as p, registerPlugins as r };
@@ -1,310 +0,0 @@
1
- import { D as Document, P as Position, R as Range, A as AgentCommand } from './agentApi-DLt94vXk.mjs';
2
-
3
- /**
4
- * Core Plugin System Types
5
- *
6
- * Defines the interfaces for headless plugins that work in Node.js
7
- * without React/DOM dependencies. These plugins extend DocumentAgent
8
- * with additional commands and expose MCP tools for AI integration.
9
- */
10
-
11
- /**
12
- * Core plugin interface - headless, works in Node.js
13
- *
14
- * Plugins can:
15
- * - Register command handlers that DocumentAgent dispatches to
16
- * - Declare MCP tools that the MCP server exposes to AI clients
17
- * - Have optional initialization logic
18
- * - Declare dependencies on other plugins
19
- */
20
- interface CorePlugin {
21
- /** Unique plugin identifier */
22
- id: string;
23
- /** Human-readable plugin name */
24
- name: string;
25
- /** Plugin version (semver) */
26
- version?: string;
27
- /** Plugin description */
28
- description?: string;
29
- /**
30
- * Command handlers this plugin provides.
31
- * DocumentAgent dispatches commands to these handlers.
32
- *
33
- * @example
34
- * ```ts
35
- * commandHandlers: {
36
- * 'insertTemplateVariable': (doc, cmd) => {
37
- * // Transform document
38
- * return modifiedDoc;
39
- * },
40
- * }
41
- * ```
42
- */
43
- commandHandlers?: Record<string, CommandHandler>;
44
- /**
45
- * MCP tools this plugin exposes.
46
- * MCP server collects these from all plugins.
47
- */
48
- mcpTools?: McpToolDefinition[];
49
- /**
50
- * Optional setup when plugin is registered.
51
- * Called once during plugin registration.
52
- */
53
- initialize?: () => void | Promise<void>;
54
- /**
55
- * Optional cleanup when plugin is unregistered.
56
- */
57
- destroy?: () => void | Promise<void>;
58
- /**
59
- * Dependencies on other plugins (by ID).
60
- * The registry ensures dependencies are loaded first.
61
- */
62
- dependencies?: string[];
63
- }
64
- /**
65
- * Command handler function type
66
- *
67
- * Receives a document and a command, returns a modified document.
68
- * Must be pure/immutable - always return a new document.
69
- */
70
- type CommandHandler = (doc: Document, command: PluginCommand) => Document;
71
- /**
72
- * Extended command type for plugins
73
- *
74
- * Plugins can define custom command types beyond the built-in AgentCommand types.
75
- */
76
- interface PluginCommand {
77
- /** Command type identifier */
78
- type: string;
79
- /** Unique command ID (for undo tracking) */
80
- id?: string;
81
- /** Position for positional commands */
82
- position?: Position;
83
- /** Range for range-based commands */
84
- range?: Range;
85
- /** Additional command-specific data */
86
- [key: string]: unknown;
87
- }
88
- /**
89
- * Result of command execution
90
- */
91
- interface CommandResult {
92
- /** The modified document */
93
- document: Document;
94
- /** Whether the command succeeded */
95
- success: boolean;
96
- /** Error message if failed */
97
- error?: string;
98
- /** Metadata about the operation */
99
- metadata?: Record<string, unknown>;
100
- }
101
- /**
102
- * MCP tool definition
103
- *
104
- * Describes a tool that can be called by AI clients through the MCP server.
105
- */
106
- interface McpToolDefinition {
107
- /** Tool name (used in MCP protocol) */
108
- name: string;
109
- /** Human-readable description for AI */
110
- description: string;
111
- /**
112
- * JSON Schema for tool input validation.
113
- * Can be a Zod schema or plain JSON Schema object.
114
- */
115
- inputSchema: JsonSchema | ZodSchemaLike;
116
- /**
117
- * Handler function for the tool.
118
- * Receives validated input and returns a result.
119
- */
120
- handler: McpToolHandler;
121
- /**
122
- * Optional annotations for the tool
123
- */
124
- annotations?: McpToolAnnotations;
125
- }
126
- /**
127
- * MCP tool handler function
128
- */
129
- type McpToolHandler = (input: unknown, context: McpToolContext) => Promise<McpToolResult> | McpToolResult;
130
- /**
131
- * Context passed to MCP tool handlers
132
- */
133
- interface McpToolContext {
134
- /** Current document (if loaded) */
135
- document?: Document;
136
- /** Document buffer (if loaded) */
137
- documentBuffer?: ArrayBuffer;
138
- /** Session state */
139
- session: McpSession;
140
- /** Logger for debugging */
141
- log: (message: string, data?: unknown) => void;
142
- }
143
- /**
144
- * MCP session state
145
- *
146
- * Maintains state across tool calls within a session.
147
- */
148
- interface McpSession {
149
- /** Session ID */
150
- id: string;
151
- /** Loaded documents by ID */
152
- documents: Map<string, LoadedDocument>;
153
- /** Custom session data */
154
- data: Map<string, unknown>;
155
- }
156
- /**
157
- * A loaded document in the session
158
- */
159
- interface LoadedDocument {
160
- /** Document ID */
161
- id: string;
162
- /** Parsed document */
163
- document: Document;
164
- /** Original buffer (for repacking) */
165
- buffer?: ArrayBuffer;
166
- /** Source filename or path */
167
- source?: string;
168
- /** Last modified timestamp */
169
- lastModified: number;
170
- }
171
- /**
172
- * MCP tool result
173
- */
174
- interface McpToolResult {
175
- /** Result content */
176
- content: McpToolContent[];
177
- /** Whether this is an error result */
178
- isError?: boolean;
179
- }
180
- /**
181
- * MCP tool content types
182
- */
183
- type McpToolContent = {
184
- type: 'text';
185
- text: string;
186
- } | {
187
- type: 'image';
188
- data: string;
189
- mimeType: string;
190
- } | {
191
- type: 'resource';
192
- uri: string;
193
- mimeType?: string;
194
- text?: string;
195
- };
196
- /**
197
- * MCP tool annotations
198
- */
199
- interface McpToolAnnotations {
200
- /** Tool category for organization */
201
- category?: string;
202
- /** Whether this tool modifies the document */
203
- readOnly?: boolean;
204
- /** Estimated cost/complexity */
205
- complexity?: 'low' | 'medium' | 'high';
206
- /** Example usage */
207
- examples?: McpToolExample[];
208
- }
209
- /**
210
- * MCP tool example
211
- */
212
- interface McpToolExample {
213
- /** Example description */
214
- description: string;
215
- /** Example input */
216
- input: unknown;
217
- /** Expected output description */
218
- output?: string;
219
- }
220
- /**
221
- * JSON Schema definition (subset)
222
- */
223
- interface JsonSchema {
224
- type?: string | string[];
225
- properties?: Record<string, JsonSchema>;
226
- items?: JsonSchema;
227
- required?: string[];
228
- description?: string;
229
- enum?: unknown[];
230
- default?: unknown;
231
- minimum?: number;
232
- maximum?: number;
233
- minLength?: number;
234
- maxLength?: number;
235
- pattern?: string;
236
- format?: string;
237
- additionalProperties?: boolean | JsonSchema;
238
- anyOf?: JsonSchema[];
239
- oneOf?: JsonSchema[];
240
- allOf?: JsonSchema[];
241
- $ref?: string;
242
- }
243
- /**
244
- * Zod-like schema interface for compatibility
245
- */
246
- interface ZodSchemaLike {
247
- _def?: unknown;
248
- parse?: (data: unknown) => unknown;
249
- safeParse?: (data: unknown) => {
250
- success: boolean;
251
- data?: unknown;
252
- error?: unknown;
253
- };
254
- }
255
- /**
256
- * Check if a schema is Zod-like
257
- */
258
- declare function isZodSchema(schema: unknown): schema is ZodSchemaLike;
259
- /**
260
- * Plugin lifecycle events
261
- */
262
- type PluginEvent = {
263
- type: 'registered';
264
- plugin: CorePlugin;
265
- } | {
266
- type: 'unregistered';
267
- pluginId: string;
268
- } | {
269
- type: 'error';
270
- pluginId: string;
271
- error: Error;
272
- };
273
- /**
274
- * Plugin event listener
275
- */
276
- type PluginEventListener = (event: PluginEvent) => void;
277
- /**
278
- * Extract command type from a union
279
- */
280
- type ExtractCommand<T extends AgentCommand, Type extends string> = T extends {
281
- type: Type;
282
- } ? T : never;
283
- /**
284
- * Create a typed command handler
285
- */
286
- type TypedCommandHandler<T extends PluginCommand> = (doc: Document, command: T) => Document;
287
- /**
288
- * Plugin configuration options
289
- */
290
- interface PluginOptions {
291
- /** Enable debug logging */
292
- debug?: boolean;
293
- /** Custom configuration */
294
- config?: Record<string, unknown>;
295
- }
296
- /**
297
- * Result of plugin registration
298
- */
299
- interface PluginRegistrationResult {
300
- /** Whether registration succeeded */
301
- success: boolean;
302
- /** Registered plugin (if successful) */
303
- plugin?: CorePlugin;
304
- /** Error message (if failed) */
305
- error?: string;
306
- /** Warning messages */
307
- warnings?: string[];
308
- }
309
-
310
- export { type CorePlugin as C, type ExtractCommand as E, type JsonSchema as J, type LoadedDocument as L, type McpToolDefinition as M, type PluginOptions as P, type TypedCommandHandler as T, type ZodSchemaLike as Z, type PluginRegistrationResult as a, type CommandHandler as b, type PluginEventListener as c, type CommandResult as d, type McpSession as e, type McpToolAnnotations as f, type McpToolContent as g, type McpToolContext as h, type McpToolHandler as i, type McpToolResult as j, type PluginCommand as k, type PluginEvent as l, isZodSchema as m, type McpToolExample as n };