@superdoc-dev/mcp 0.6.0-next.7 → 0.6.0-next.9

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 (2) hide show
  1. package/dist/index.js +31 -31
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -147180,7 +147180,7 @@ var init_remark_stringify_6MMJfY0k_es = __esm(() => {
147180
147180
  eol = /\r?\n|\r/g;
147181
147181
  });
147182
147182
 
147183
- // ../../packages/superdoc/dist/chunks/detect-container-F9mvzfM4.es.js
147183
+ // ../../packages/superdoc/dist/chunks/detect-container-C6_bljPf.es.js
147184
147184
  function matchesMagic(bytes, magic) {
147185
147185
  if (bytes.length < magic.length)
147186
147186
  return false;
@@ -147198,7 +147198,7 @@ function detectContainerType(data) {
147198
147198
  return "unknown";
147199
147199
  }
147200
147200
  var ZIP_MAGIC, CFB_MAGIC;
147201
- var init_detect_container_F9mvzfM4_es = __esm(() => {
147201
+ var init_detect_container_C6_bljPf_es = __esm(() => {
147202
147202
  ZIP_MAGIC = [
147203
147203
  80,
147204
147204
  75,
@@ -147217,13 +147217,13 @@ var init_detect_container_F9mvzfM4_es = __esm(() => {
147217
147217
  ];
147218
147218
  });
147219
147219
 
147220
- // ../../packages/superdoc/dist/chunks/detect-container-CkAleP2M.es.js
147221
- var exports_detect_container_CkAleP2M_es = {};
147222
- __export(exports_detect_container_CkAleP2M_es, {
147220
+ // ../../packages/superdoc/dist/chunks/detect-container-CK5AEj_z.es.js
147221
+ var exports_detect_container_CK5AEj_z_es = {};
147222
+ __export(exports_detect_container_CK5AEj_z_es, {
147223
147223
  detectContainerType: () => detectContainerType
147224
147224
  });
147225
- var init_detect_container_CkAleP2M_es = __esm(() => {
147226
- init_detect_container_F9mvzfM4_es();
147225
+ var init_detect_container_CK5AEj_z_es = __esm(() => {
147226
+ init_detect_container_C6_bljPf_es();
147227
147227
  });
147228
147228
 
147229
147229
  // ../../packages/superdoc/dist/chunks/errors-CNaD6vcg.es.js
@@ -147276,9 +147276,9 @@ var init_errors_CNaD6vcg_es = __esm(() => {
147276
147276
  };
147277
147277
  });
147278
147278
 
147279
- // ../../packages/superdoc/dist/chunks/decrypt-docx-qHyNrqvz.es.js
147280
- var exports_decrypt_docx_qHyNrqvz_es = {};
147281
- __export(exports_decrypt_docx_qHyNrqvz_es, {
147279
+ // ../../packages/superdoc/dist/chunks/decrypt-docx-DaCAb_nX.es.js
147280
+ var exports_decrypt_docx_DaCAb_nX_es = {};
147281
+ __export(exports_decrypt_docx_DaCAb_nX_es, {
147282
147282
  decryptDocxIfNeeded: () => decryptDocxIfNeeded
147283
147283
  });
147284
147284
  function concatUint8Arrays(chunks) {
@@ -147819,10 +147819,10 @@ async function decryptDocxIfNeeded(data, options) {
147819
147819
  };
147820
147820
  }
147821
147821
  var CFB_SIGNATURE, CFB_END_OF_CHAIN = 4294967294, CFB_OBJECT_TYPE, utf16LeDecoder, AGILE_VERSION = 4, AGILE_RESERVED = 4, STANDARD_VERSION_3 = 3, STANDARD_VERSION_4 = 4, STANDARD_RESERVED = 3, MIN_HEADER_SIZE = 8, BLOCK_KEY_VERIFIER_INPUT, BLOCK_KEY_VERIFIER_VALUE, BLOCK_KEY_ENCRYPTED_KEY, BLOCK_KEY_HMAC_KEY, BLOCK_KEY_HMAC_VALUE, SEGMENT_SIZE = 4096, PACKAGE_HEADER_SIZE = 8;
147822
- var init_decrypt_docx_qHyNrqvz_es = __esm(() => {
147822
+ var init_decrypt_docx_DaCAb_nX_es = __esm(() => {
147823
147823
  init_dist_B8HfvhaK_es();
147824
147824
  init_errors_CNaD6vcg_es();
147825
- init_detect_container_F9mvzfM4_es();
147825
+ init_detect_container_C6_bljPf_es();
147826
147826
  CFB_SIGNATURE = new Uint8Array([
147827
147827
  208,
147828
147828
  207,
@@ -147891,7 +147891,7 @@ var init_decrypt_docx_qHyNrqvz_es = __esm(() => {
147891
147891
  ]);
147892
147892
  });
147893
147893
 
147894
- // ../../packages/superdoc/dist/chunks/DocxZipper-CU4X_-2c.es.js
147894
+ // ../../packages/superdoc/dist/chunks/DocxZipper-DoY5OEjc.es.js
147895
147895
  function sniffEncoding(u8) {
147896
147896
  if (u8.length >= 2) {
147897
147897
  const b0 = u8[0], b1 = u8[1];
@@ -148207,11 +148207,11 @@ var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.docum
148207
148207
  return new Uint8Array(0);
148208
148208
  }
148209
148209
  async getDocxData(file2, isNode = false, options = {}) {
148210
- const { detectContainerType: detectContainerType2 } = await Promise.resolve().then(() => (init_detect_container_CkAleP2M_es(), exports_detect_container_CkAleP2M_es));
148210
+ const { detectContainerType: detectContainerType2 } = await Promise.resolve().then(() => (init_detect_container_CK5AEj_z_es(), exports_detect_container_CK5AEj_z_es));
148211
148211
  const containerType = detectContainerType2(await this.#peekBytes(file2, 8));
148212
148212
  let fileData = file2;
148213
148213
  if (containerType === "cfb") {
148214
- const { decryptDocxIfNeeded: decryptDocxIfNeeded2 } = await Promise.resolve().then(() => (init_decrypt_docx_qHyNrqvz_es(), exports_decrypt_docx_qHyNrqvz_es));
148214
+ const { decryptDocxIfNeeded: decryptDocxIfNeeded2 } = await Promise.resolve().then(() => (init_decrypt_docx_DaCAb_nX_es(), exports_decrypt_docx_DaCAb_nX_es));
148215
148215
  const result = await decryptDocxIfNeeded2(file2 instanceof Uint8Array ? file2 : file2 instanceof ArrayBuffer ? new Uint8Array(file2) : new Uint8Array(await file2.arrayBuffer()), { password: options.password });
148216
148216
  fileData = result.data;
148217
148217
  this.decryptedFileData = result.data;
@@ -148564,7 +148564,7 @@ var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.docum
148564
148564
  return `image/${MIME_TYPE_FOR_EXT[detectedType] || detectedType}`;
148565
148565
  }
148566
148566
  }, DocxZipper_default;
148567
- var init_DocxZipper_CU4X__2c_es = __esm(() => {
148567
+ var init_DocxZipper_DoY5OEjc_es = __esm(() => {
148568
148568
  init_rolldown_runtime_Bg48TavK_es();
148569
148569
  init_jszip_C49i9kUs_es();
148570
148570
  init_xml_js_CqGKpaft_es();
@@ -189964,9 +189964,9 @@ var init_unified_vFnLRfAM_es = __esm(() => {
189964
189964
  init_unified_Dsuw2be5_es();
189965
189965
  });
189966
189966
 
189967
- // ../../packages/superdoc/dist/chunks/rehype-parse-BI-WIfXl.es.js
189968
- var exports_rehype_parse_BI_WIfXl_es = {};
189969
- __export(exports_rehype_parse_BI_WIfXl_es, {
189967
+ // ../../packages/superdoc/dist/chunks/rehype-parse-CD6KGerH.es.js
189968
+ var exports_rehype_parse_CD6KGerH_es = {};
189969
+ __export(exports_rehype_parse_CD6KGerH_es, {
189970
189970
  default: () => rehypeParse
189971
189971
  });
189972
189972
  function merge2(definitions, space) {
@@ -195915,7 +195915,7 @@ var Schema2 = class {
195915
195915
  }
195916
195916
  }
195917
195917
  }, TABLE_VOID_ELEMENTS, errors4, base2 = "https://html.spec.whatwg.org/multipage/parsing.html#parse-error-", dashToCamelRe, formatCRe, formatXRe, fatalities, emptyOptions3;
195918
- var init_rehype_parse_BI_WIfXl_es = __esm(() => {
195918
+ var init_rehype_parse_CD6KGerH_es = __esm(() => {
195919
195919
  init_rolldown_runtime_Bg48TavK_es();
195920
195920
  init_default_BqgWzMfR_es();
195921
195921
  init_lib_CYqLdG4z_es();
@@ -198660,9 +198660,9 @@ var init_rehype_parse_BI_WIfXl_es = __esm(() => {
198660
198660
  emptyOptions3 = {};
198661
198661
  });
198662
198662
 
198663
- // ../../packages/superdoc/dist/chunks/rehype-remark-CjZ9Q9bL.es.js
198664
- var exports_rehype_remark_CjZ9Q9bL_es = {};
198665
- __export(exports_rehype_remark_CjZ9Q9bL_es, {
198663
+ // ../../packages/superdoc/dist/chunks/rehype-remark-B1RWSuTX.es.js
198664
+ var exports_rehype_remark_B1RWSuTX_es = {};
198665
+ __export(exports_rehype_remark_B1RWSuTX_es, {
198666
198666
  default: () => rehypeRemark
198667
198667
  });
198668
198668
  function anyFactory2(tests) {
@@ -200282,7 +200282,7 @@ var env, deserializer = ($2, _2) => {
200282
200282
  if (is(parent.children[index2], index2, parent))
200283
200283
  return parent.children[index2];
200284
200284
  }, searchLineFeeds, searchTabOrSpaces, br$1, cell, p$1, row, notRendered, blockOrCaption, prefix = "language-", defaultChecked = "[x]", defaultUnchecked = "[ ]", own$12, list$1, basic, meta3, defaultQuotes, nodeHandlers, handlers2, own6, emptyOptions4, defaults;
200285
- var init_rehype_remark_CjZ9Q9bL_es = __esm(() => {
200285
+ var init_rehype_remark_B1RWSuTX_es = __esm(() => {
200286
200286
  init_lib_DEff_P2k_es();
200287
200287
  env = typeof self === "object" ? self : globalThis;
200288
200288
  ({ toString: toString$1 } = {});
@@ -200676,7 +200676,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
200676
200676
  init_remark_gfm_BhnWr3yf_es();
200677
200677
  });
200678
200678
 
200679
- // ../../packages/superdoc/dist/chunks/src-DlI-vUrR.es.js
200679
+ // ../../packages/superdoc/dist/chunks/src-DnrLgjeO.es.js
200680
200680
  function deleteProps(obj, propOrProps) {
200681
200681
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
200682
200682
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -295445,7 +295445,7 @@ menclose::after {
295445
295445
  return;
295446
295446
  console.log(...args$1);
295447
295447
  }, HEADER_FOOTER_INIT_BUDGET_MS = 200, MAX_ZOOM_WARNING_THRESHOLD = 10, MAX_SELECTION_RECTS_PER_USER = 100, SEMANTIC_RESIZE_DEBOUNCE_MS = 120, MIN_SEMANTIC_CONTENT_WIDTH_PX = 1, GLOBAL_PERFORMANCE, PresentationEditor, ICONS, TEXTS, tableActionsOptions;
295448
- var init_src_DlI_vUrR_es = __esm(() => {
295448
+ var init_src_DnrLgjeO_es = __esm(() => {
295449
295449
  init_rolldown_runtime_Bg48TavK_es();
295450
295450
  init_SuperConverter_CnwfJPj6_es();
295451
295451
  init_jszip_C49i9kUs_es();
@@ -295457,7 +295457,7 @@ var init_src_DlI_vUrR_es = __esm(() => {
295457
295457
  init_unified_Dsuw2be5_es();
295458
295458
  init_remark_gfm_BhnWr3yf_es();
295459
295459
  init_remark_stringify_6MMJfY0k_es();
295460
- init_DocxZipper_CU4X__2c_es();
295460
+ init_DocxZipper_DoY5OEjc_es();
295461
295461
  init__plugin_vue_export_helper_5t5P5NuM_es();
295462
295462
  init_eventemitter3_BnGqBE_Q_es();
295463
295463
  init_errors_CNaD6vcg_es();
@@ -321284,8 +321284,8 @@ function print() { __p += __j.call(arguments, '') }
321284
321284
  try {
321285
321285
  const [{ unified: unified$1 }, { default: rehypeParse2 }, { default: rehypeRemark2 }, { default: remarkStringify$1 }, { default: remarkGfm$1 }] = await Promise.all([
321286
321286
  Promise.resolve().then(() => (init_unified_vFnLRfAM_es(), exports_unified_vFnLRfAM_es)),
321287
- Promise.resolve().then(() => (init_rehype_parse_BI_WIfXl_es(), exports_rehype_parse_BI_WIfXl_es)),
321288
- Promise.resolve().then(() => (init_rehype_remark_CjZ9Q9bL_es(), exports_rehype_remark_CjZ9Q9bL_es)),
321287
+ Promise.resolve().then(() => (init_rehype_parse_CD6KGerH_es(), exports_rehype_parse_CD6KGerH_es)),
321288
+ Promise.resolve().then(() => (init_rehype_remark_B1RWSuTX_es(), exports_rehype_remark_B1RWSuTX_es)),
321289
321289
  Promise.resolve().then(() => (init_remark_stringify_B_orWEvD_es(), exports_remark_stringify_B_orWEvD_es)),
321290
321290
  Promise.resolve().then(() => (init_remark_gfm_eZN6yzWQ_es(), exports_remark_gfm_eZN6yzWQ_es))
321291
321291
  ]);
@@ -333664,7 +333664,7 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
333664
333664
 
333665
333665
  // ../../packages/superdoc/dist/super-editor.es.js
333666
333666
  var init_super_editor_es = __esm(() => {
333667
- init_src_DlI_vUrR_es();
333667
+ init_src_DnrLgjeO_es();
333668
333668
  init_SuperConverter_CnwfJPj6_es();
333669
333669
  init_jszip_C49i9kUs_es();
333670
333670
  init_xml_js_CqGKpaft_es();
@@ -333672,7 +333672,7 @@ var init_super_editor_es = __esm(() => {
333672
333672
  init_constants_DrU4EASo_es();
333673
333673
  init_dist_B8HfvhaK_es();
333674
333674
  init_unified_Dsuw2be5_es();
333675
- init_DocxZipper_CU4X__2c_es();
333675
+ init_DocxZipper_DoY5OEjc_es();
333676
333676
  init_create_super_doc_ui_BgATtiYQ_es();
333677
333677
  init_ui_C5PAS9hY_es();
333678
333678
  init_eventemitter3_BnGqBE_Q_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/mcp",
3
- "version": "0.6.0-next.7",
3
+ "version": "0.6.0-next.9",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -19,9 +19,9 @@
19
19
  "@types/bun": "^1.3.8",
20
20
  "@types/node": "22.19.2",
21
21
  "typescript": "^5.9.2",
22
+ "superdoc": "1.33.1",
22
23
  "@superdoc/document-api": "0.0.1",
23
- "@superdoc/super-editor": "0.0.1",
24
- "superdoc": "1.33.1"
24
+ "@superdoc/super-editor": "0.0.1"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"