@superdoc-dev/mcp 0.5.1 → 0.6.0-next.1

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 +24 -25
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -14569,7 +14569,7 @@ function finalize(ctx, schema) {
14569
14569
  result.$schema = "http://json-schema.org/draft-07/schema#";
14570
14570
  } else if (ctx.target === "draft-04") {
14571
14571
  result.$schema = "http://json-schema.org/draft-04/schema#";
14572
- } else if (ctx.target === "openapi-3.0") {} else {}
14572
+ } else if (ctx.target === "openapi-3.0") {}
14573
14573
  if (ctx.external?.uri) {
14574
14574
  const id = ctx.external.registry.get(schema)?.id;
14575
14575
  if (!id)
@@ -14834,7 +14834,7 @@ var formatMap, stringProcessor = (schema, ctx, _json, _params) => {
14834
14834
  if (val === undefined) {
14835
14835
  if (ctx.unrepresentable === "throw") {
14836
14836
  throw new Error("Literal `undefined` cannot be represented in JSON Schema");
14837
- } else {}
14837
+ }
14838
14838
  } else if (typeof val === "bigint") {
14839
14839
  if (ctx.unrepresentable === "throw") {
14840
14840
  throw new Error("BigInt literals cannot be represented in JSON Schema");
@@ -51891,7 +51891,7 @@ var init_remark_gfm_BhnWr3yf_es = __esm(() => {
51891
51891
  emptyOptions2 = {};
51892
51892
  });
51893
51893
 
51894
- // ../../packages/superdoc/dist/chunks/SuperConverter-CMMmelrE.es.js
51894
+ // ../../packages/superdoc/dist/chunks/SuperConverter-CnwfJPj6.es.js
51895
51895
  function getExtensionConfigField(extension$1, field, context = { name: "" }) {
51896
51896
  const fieldValue = extension$1.config[field];
51897
51897
  if (typeof fieldValue === "function")
@@ -105653,7 +105653,7 @@ var isRegExp = (value) => {
105653
105653
  if (id)
105654
105654
  return trackedChanges.filter(({ mark }) => mark.attrs.id === id);
105655
105655
  return trackedChanges;
105656
- }, DERIVED_ID_LENGTH = 24, groupedCache, SDT_NODE_NAMES, SDT_BLOCK_NAME = "structuredContentBlock", SDT_NODE_TYPES, VALID_CONTROL_TYPES, VALID_LOCK_MODES, VALID_APPEARANCES, FIELD_LIKE_SDT_TYPES, liveDocumentCountsCache, BIBLIOGRAPHY_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", CUSTOM_XML_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml", CUSTOM_XML_PROPS_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps", DEFAULT_SELECTED_STYLE = "/APA.XSL", DEFAULT_STYLE_NAME = "APA", DEFAULT_VERSION = "6", API_TO_OOXML_SOURCE_TYPE, OOXML_TO_API_SOURCE_TYPE, SIMPLE_FIELD_TO_XML_TAG, XML_TAG_TO_SIMPLE_FIELD, import_lib2, FONT_FAMILY_FALLBACKS, DEFAULT_GENERIC_FALLBACK = "sans-serif", DEFAULT_FONT_SIZE_PT = 10, CURRENT_APP_VERSION = "1.33.0", collectRunDefaultProperties = (runProps, { allowOverrideTypeface = true, allowOverrideSize = true, themeResolver, state }) => {
105656
+ }, DERIVED_ID_LENGTH = 24, groupedCache, SDT_NODE_NAMES, SDT_BLOCK_NAME = "structuredContentBlock", SDT_NODE_TYPES, VALID_CONTROL_TYPES, VALID_LOCK_MODES, VALID_APPEARANCES, FIELD_LIKE_SDT_TYPES, liveDocumentCountsCache, BIBLIOGRAPHY_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", CUSTOM_XML_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml", CUSTOM_XML_PROPS_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps", DEFAULT_SELECTED_STYLE = "/APA.XSL", DEFAULT_STYLE_NAME = "APA", DEFAULT_VERSION = "6", API_TO_OOXML_SOURCE_TYPE, OOXML_TO_API_SOURCE_TYPE, SIMPLE_FIELD_TO_XML_TAG, XML_TAG_TO_SIMPLE_FIELD, import_lib2, FONT_FAMILY_FALLBACKS, DEFAULT_GENERIC_FALLBACK = "sans-serif", DEFAULT_FONT_SIZE_PT = 10, CURRENT_APP_VERSION = "1.33.1", collectRunDefaultProperties = (runProps, { allowOverrideTypeface = true, allowOverrideSize = true, themeResolver, state }) => {
105657
105657
  if (!runProps?.elements?.length || !state)
105658
105658
  return;
105659
105659
  const fontsNode = runProps.elements.find((el) => el.name === "w:rFonts");
@@ -105687,7 +105687,7 @@ var isRegExp = (value) => {
105687
105687
  state.kern = kernNode.attributes["w:val"];
105688
105688
  }
105689
105689
  }, SuperConverter;
105690
- var init_SuperConverter_CMMmelrE_es = __esm(() => {
105690
+ var init_SuperConverter_CnwfJPj6_es = __esm(() => {
105691
105691
  init_rolldown_runtime_Bg48TavK_es();
105692
105692
  init_jszip_C49i9kUs_es();
105693
105693
  init_xml_js_CqGKpaft_es();
@@ -143721,7 +143721,7 @@ var init_SuperConverter_CMMmelrE_es = __esm(() => {
143721
143721
  };
143722
143722
  });
143723
143723
 
143724
- // ../../packages/superdoc/dist/chunks/create-headless-toolbar-BE8Nb0oO.es.js
143724
+ // ../../packages/superdoc/dist/chunks/create-headless-toolbar-Btizo_Im.es.js
143725
143725
  function parseSizeUnit(val = "0") {
143726
143726
  const length = val.toString() || "0";
143727
143727
  const value = Number.parseFloat(length);
@@ -146443,8 +146443,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, Extension = class Extension2 {
146443
146443
  }
146444
146444
  };
146445
146445
  };
146446
- var init_create_headless_toolbar_BE8Nb0oO_es = __esm(() => {
146447
- init_SuperConverter_CMMmelrE_es();
146446
+ var init_create_headless_toolbar_Btizo_Im_es = __esm(() => {
146447
+ init_SuperConverter_CnwfJPj6_es();
146448
146448
  init_constants_DrU4EASo_es();
146449
146449
  init_dist_B8HfvhaK_es();
146450
146450
  CSS_DIMENSION_REGEX = /[\d-.]+(\w+)$/;
@@ -175400,8 +175400,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
175400
175400
  patchFlag |= 2048;
175401
175401
  }
175402
175402
  root2.codegenNode = createVNodeCall(context, helper(FRAGMENT), undefined, root2.children, patchFlag, undefined, undefined, true, undefined, false);
175403
- } else
175404
- ;
175403
+ }
175405
175404
  }
175406
175405
  function traverseChildren(parent, context) {
175407
175406
  let i4 = 0;
@@ -200677,7 +200676,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
200677
200676
  init_remark_gfm_BhnWr3yf_es();
200678
200677
  });
200679
200678
 
200680
- // ../../packages/superdoc/dist/chunks/src-BDnlS-6f.es.js
200679
+ // ../../packages/superdoc/dist/chunks/src-Jjjx6UC7.es.js
200681
200680
  function deleteProps(obj, propOrProps) {
200682
200681
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
200683
200682
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -201460,7 +201459,7 @@ function prosemirrorToYXmlFragment(doc$12, xmlFragment) {
201460
201459
  }
201461
201460
  function getSuperdocVersion() {
201462
201461
  try {
201463
- return "1.33.0";
201462
+ return "1.33.1";
201464
201463
  } catch {
201465
201464
  return "unknown";
201466
201465
  }
@@ -278254,7 +278253,7 @@ var Node$13 = class Node$14 {
278254
278253
  domAvailabilityCache = false;
278255
278254
  return false;
278256
278255
  }
278257
- }, summaryVersion = "1.33.0", nodeKeys, markKeys, transformListsInCopiedContent = (html3) => {
278256
+ }, summaryVersion = "1.33.1", nodeKeys, markKeys, transformListsInCopiedContent = (html3) => {
278258
278257
  const container = document.createElement("div");
278259
278258
  container.innerHTML = html3;
278260
278259
  const result = [];
@@ -279429,7 +279428,7 @@ var Node$13 = class Node$14 {
279429
279428
  return () => {};
279430
279429
  const handle3 = setInterval(callback, intervalMs);
279431
279430
  return () => clearInterval(handle3);
279432
- }, HISTORY_UNSAFE_OPS, CANONICAL_COMMENT_IGNORED_KEYS, INITIAL_HASH, ROUND_CONSTANTS, V1_COVERAGE, V2_COVERAGE, SNAPSHOT_VERSION_V2 = "sd-diff-snapshot/v2", PAYLOAD_VERSION_V1 = "sd-diff-payload/v1", PAYLOAD_VERSION_V2 = "sd-diff-payload/v2", ENGINE_ID = "super-editor", STAGED_CONVERTER_KEYS, DiffServiceError, DEFAULT_LEVEL = 1, SWITCH_PATTERN, TOC_BOOKMARK_PREFIX = "_Toc", ALLOWED_SOURCE_MARK_TYPES, TEXT_STYLE_ALLOWED_ATTRS, DEFAULT_RIGHT_TAB_POS = 9350, TAB_LEADER_MAP, NO_ENTRIES_PLACEHOLDER, TOC_ENTRY_STYLE_RE, TC_LEVEL_MIN = 1, TC_LEVEL_MAX = 9, ALLOWED_WRAP_ATTRS, WRAP_TYPES_SUPPORTING_SIDE, WRAP_TYPES_SUPPORTING_DISTANCES, RELATIVE_HEIGHT_MIN = 0, RELATIVE_HEIGHT_MAX = 4294967295, FORBIDDEN_RAW_PATCH_NAMES, CONTROL_TYPE_SDT_PR_ELEMENTS, DEFAULT_CHECKBOX_SYMBOL_FONT2 = "MS Gothic", DEFAULT_CHECKBOX_CHECKED_HEX2 = "2612", DEFAULT_CHECKBOX_UNCHECKED_HEX2 = "2610", VARIANT_ORDER, KIND_ORDER, HEADER_RELATIONSHIP_TYPE3 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", FOOTER_RELATIONSHIP_TYPE3 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", DOCUMENT_RELS_PATH2 = "word/_rels/document.xml.rels", HEADER_FILE_PATTERN2, FOOTER_FILE_PATTERN2, SPECIAL_NOTE_TYPES, BOOKMARK_SCAN_REVISION_PREFIX = "bookmark-scan:", import_lib4, CUSTOM_XML_DATA_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml", CUSTOM_XML_PROPS_RELATIONSHIP_TYPE2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps", CUSTOM_XML_DATASTORE_NAMESPACE = "http://schemas.openxmlformats.org/officeDocument/2006/customXml", SETTINGS_PART, RESTART_POLICY_TO_OOXML, VALID_DISPLAYS, REFERENCE_BLOCK_PREFIX, CAPTION_STYLE_NAMES, CAPTION_PARAGRAPH_STYLE_ID = "Caption", CAPTION_FORMAT_TO_OOXML, DOCUMENT_STAT_FIELD_TYPES, TOA_LEADER_REVERSE_MAP, EDGE_NODE_TYPES, CONTENT_TYPES_PART_ID = "[Content_Types].xml", CONTENT_TYPES_NS = "http://schemas.openxmlformats.org/package/2006/content-types", contentTypesPartDescriptor, empty_exports, init_empty, CURRENT_APP_VERSION2 = "1.33.0", PIXELS_PER_INCH2 = 96, MAX_HEIGHT_BUFFER_PX = 50, MAX_WIDTH_BUFFER_PX = 20, cloneExtensionInstance = (extension2) => {
279431
+ }, HISTORY_UNSAFE_OPS, CANONICAL_COMMENT_IGNORED_KEYS, INITIAL_HASH, ROUND_CONSTANTS, V1_COVERAGE, V2_COVERAGE, SNAPSHOT_VERSION_V2 = "sd-diff-snapshot/v2", PAYLOAD_VERSION_V1 = "sd-diff-payload/v1", PAYLOAD_VERSION_V2 = "sd-diff-payload/v2", ENGINE_ID = "super-editor", STAGED_CONVERTER_KEYS, DiffServiceError, DEFAULT_LEVEL = 1, SWITCH_PATTERN, TOC_BOOKMARK_PREFIX = "_Toc", ALLOWED_SOURCE_MARK_TYPES, TEXT_STYLE_ALLOWED_ATTRS, DEFAULT_RIGHT_TAB_POS = 9350, TAB_LEADER_MAP, NO_ENTRIES_PLACEHOLDER, TOC_ENTRY_STYLE_RE, TC_LEVEL_MIN = 1, TC_LEVEL_MAX = 9, ALLOWED_WRAP_ATTRS, WRAP_TYPES_SUPPORTING_SIDE, WRAP_TYPES_SUPPORTING_DISTANCES, RELATIVE_HEIGHT_MIN = 0, RELATIVE_HEIGHT_MAX = 4294967295, FORBIDDEN_RAW_PATCH_NAMES, CONTROL_TYPE_SDT_PR_ELEMENTS, DEFAULT_CHECKBOX_SYMBOL_FONT2 = "MS Gothic", DEFAULT_CHECKBOX_CHECKED_HEX2 = "2612", DEFAULT_CHECKBOX_UNCHECKED_HEX2 = "2610", VARIANT_ORDER, KIND_ORDER, HEADER_RELATIONSHIP_TYPE3 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", FOOTER_RELATIONSHIP_TYPE3 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", DOCUMENT_RELS_PATH2 = "word/_rels/document.xml.rels", HEADER_FILE_PATTERN2, FOOTER_FILE_PATTERN2, SPECIAL_NOTE_TYPES, BOOKMARK_SCAN_REVISION_PREFIX = "bookmark-scan:", import_lib4, CUSTOM_XML_DATA_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml", CUSTOM_XML_PROPS_RELATIONSHIP_TYPE2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps", CUSTOM_XML_DATASTORE_NAMESPACE = "http://schemas.openxmlformats.org/officeDocument/2006/customXml", SETTINGS_PART, RESTART_POLICY_TO_OOXML, VALID_DISPLAYS, REFERENCE_BLOCK_PREFIX, CAPTION_STYLE_NAMES, CAPTION_PARAGRAPH_STYLE_ID = "Caption", CAPTION_FORMAT_TO_OOXML, DOCUMENT_STAT_FIELD_TYPES, TOA_LEADER_REVERSE_MAP, EDGE_NODE_TYPES, CONTENT_TYPES_PART_ID = "[Content_Types].xml", CONTENT_TYPES_NS = "http://schemas.openxmlformats.org/package/2006/content-types", contentTypesPartDescriptor, empty_exports, init_empty, CURRENT_APP_VERSION2 = "1.33.1", PIXELS_PER_INCH2 = 96, MAX_HEIGHT_BUFFER_PX = 50, MAX_WIDTH_BUFFER_PX = 20, cloneExtensionInstance = (extension2) => {
279433
279432
  const extensionLike = extension2;
279434
279433
  const config3 = extensionLike?.config;
279435
279434
  const ExtensionCtor = extensionLike?.constructor;
@@ -295202,13 +295201,13 @@ menclose::after {
295202
295201
  return;
295203
295202
  console.log(...args$1);
295204
295203
  }, 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;
295205
- var init_src_BDnlS_6f_es = __esm(() => {
295204
+ var init_src_Jjjx6UC7_es = __esm(() => {
295206
295205
  init_rolldown_runtime_Bg48TavK_es();
295207
- init_SuperConverter_CMMmelrE_es();
295206
+ init_SuperConverter_CnwfJPj6_es();
295208
295207
  init_jszip_C49i9kUs_es();
295209
295208
  init_xml_js_CqGKpaft_es();
295210
295209
  init_uuid_qzgm05fK_es();
295211
- init_create_headless_toolbar_BE8Nb0oO_es();
295210
+ init_create_headless_toolbar_Btizo_Im_es();
295212
295211
  init_constants_DrU4EASo_es();
295213
295212
  init_dist_B8HfvhaK_es();
295214
295213
  init_unified_Dsuw2be5_es();
@@ -333361,11 +333360,11 @@ function print() { __p += __j.call(arguments, '') }
333361
333360
  ];
333362
333361
  });
333363
333362
 
333364
- // ../../packages/superdoc/dist/chunks/create-super-doc-ui-63j-4MGz.es.js
333363
+ // ../../packages/superdoc/dist/chunks/create-super-doc-ui-CkaOaJa5.es.js
333365
333364
  var MOD_ALIASES, ALT_ALIASES, CTRL_ALIASES, SHIFT_ALIASES, BUILTIN_CONTEXT_MENU_GROUPS, BUILTIN_GROUP_ORDER, RESERVED_PROXY_PROPERTY_NAMES, ALL_TOOLBAR_COMMAND_IDS, EMPTY_ACTIVE_IDS;
333366
- var init_create_super_doc_ui_63j_4MGz_es = __esm(() => {
333367
- init_SuperConverter_CMMmelrE_es();
333368
- init_create_headless_toolbar_BE8Nb0oO_es();
333365
+ var init_create_super_doc_ui_CkaOaJa5_es = __esm(() => {
333366
+ init_SuperConverter_CnwfJPj6_es();
333367
+ init_create_headless_toolbar_Btizo_Im_es();
333369
333368
  MOD_ALIASES = new Set([
333370
333369
  "Mod",
333371
333370
  "Meta",
@@ -333407,16 +333406,16 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
333407
333406
 
333408
333407
  // ../../packages/superdoc/dist/super-editor.es.js
333409
333408
  var init_super_editor_es = __esm(() => {
333410
- init_src_BDnlS_6f_es();
333411
- init_SuperConverter_CMMmelrE_es();
333409
+ init_src_Jjjx6UC7_es();
333410
+ init_SuperConverter_CnwfJPj6_es();
333412
333411
  init_jszip_C49i9kUs_es();
333413
333412
  init_xml_js_CqGKpaft_es();
333414
- init_create_headless_toolbar_BE8Nb0oO_es();
333413
+ init_create_headless_toolbar_Btizo_Im_es();
333415
333414
  init_constants_DrU4EASo_es();
333416
333415
  init_dist_B8HfvhaK_es();
333417
333416
  init_unified_Dsuw2be5_es();
333418
333417
  init_DocxZipper_Bphhij1P_es();
333419
- init_create_super_doc_ui_63j_4MGz_es();
333418
+ init_create_super_doc_ui_CkaOaJa5_es();
333420
333419
  init_ui_CGB3qmy3_es();
333421
333420
  init_eventemitter3_UwU_CLPU_es();
333422
333421
  init_errors_C_DoKMoN_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/mcp",
3
- "version": "0.5.1",
3
+ "version": "0.6.0-next.1",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -20,8 +20,8 @@
20
20
  "@types/node": "22.19.2",
21
21
  "typescript": "^5.9.2",
22
22
  "@superdoc/document-api": "0.0.1",
23
- "superdoc": "1.33.0",
24
- "@superdoc/super-editor": "0.0.1"
23
+ "@superdoc/super-editor": "0.0.1",
24
+ "superdoc": "1.33.1"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"