@superdoc-dev/mcp 0.7.0 → 0.7.1-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-BptSHzcb.es.js
51894
+ // ../../packages/superdoc/dist/chunks/SuperConverter-opYK-HD4.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")
@@ -105833,7 +105833,7 @@ var isRegExp = (value) => {
105833
105833
  if (id)
105834
105834
  return trackedChanges.filter(({ mark }) => mark.attrs.id === id);
105835
105835
  return trackedChanges;
105836
- }, DERIVED_ID_LENGTH = 24, groupedCache, SDT_NODE_NAMES, SDT_BLOCK_NAME = "structuredContentBlock", SDT_INLINE_NAME = "structuredContent", 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.34.0", collectRunDefaultProperties = (runProps, { allowOverrideTypeface = true, allowOverrideSize = true, themeResolver, state }) => {
105836
+ }, DERIVED_ID_LENGTH = 24, groupedCache, SDT_NODE_NAMES, SDT_BLOCK_NAME = "structuredContentBlock", SDT_INLINE_NAME = "structuredContent", 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.35.0", collectRunDefaultProperties = (runProps, { allowOverrideTypeface = true, allowOverrideSize = true, themeResolver, state }) => {
105837
105837
  if (!runProps?.elements?.length || !state)
105838
105838
  return;
105839
105839
  const fontsNode = runProps.elements.find((el) => el.name === "w:rFonts");
@@ -105867,7 +105867,7 @@ var isRegExp = (value) => {
105867
105867
  state.kern = kernNode.attributes["w:val"];
105868
105868
  }
105869
105869
  }, SuperConverter;
105870
- var init_SuperConverter_BptSHzcb_es = __esm(() => {
105870
+ var init_SuperConverter_opYK_HD4_es = __esm(() => {
105871
105871
  init_rolldown_runtime_Bg48TavK_es();
105872
105872
  init_jszip_C49i9kUs_es();
105873
105873
  init_xml_js_CqGKpaft_es();
@@ -144047,7 +144047,7 @@ var init_SuperConverter_BptSHzcb_es = __esm(() => {
144047
144047
  };
144048
144048
  });
144049
144049
 
144050
- // ../../packages/superdoc/dist/chunks/create-headless-toolbar-nX0t772H.es.js
144050
+ // ../../packages/superdoc/dist/chunks/create-headless-toolbar-xjqjtPWl.es.js
144051
144051
  function parseSizeUnit(val = "0") {
144052
144052
  const length = val.toString() || "0";
144053
144053
  const value = Number.parseFloat(length);
@@ -154070,8 +154070,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, Extension = class Extension2 {
154070
154070
  }
154071
154071
  };
154072
154072
  };
154073
- var init_create_headless_toolbar_nX0t772H_es = __esm(() => {
154074
- init_SuperConverter_BptSHzcb_es();
154073
+ var init_create_headless_toolbar_xjqjtPWl_es = __esm(() => {
154074
+ init_SuperConverter_opYK_HD4_es();
154075
154075
  init_uuid_qzgm05fK_es();
154076
154076
  init_constants_DrU4EASo_es();
154077
154077
  init_dist_B8HfvhaK_es();
@@ -183521,8 +183521,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
183521
183521
  patchFlag |= 2048;
183522
183522
  }
183523
183523
  root2.codegenNode = createVNodeCall(context, helper(FRAGMENT), undefined, root2.children, patchFlag, undefined, undefined, true, undefined, false);
183524
- } else
183525
- ;
183524
+ }
183526
183525
  }
183527
183526
  function traverseChildren(parent, context) {
183528
183527
  let i4 = 0;
@@ -208798,7 +208797,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
208798
208797
  init_remark_gfm_BhnWr3yf_es();
208799
208798
  });
208800
208799
 
208801
- // ../../packages/superdoc/dist/chunks/src-Tq4gtGIV.es.js
208800
+ // ../../packages/superdoc/dist/chunks/src-BI5eBQvD.es.js
208802
208801
  function deleteProps(obj, propOrProps) {
208803
208802
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
208804
208803
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -209581,7 +209580,7 @@ function prosemirrorToYXmlFragment(doc$12, xmlFragment) {
209581
209580
  }
209582
209581
  function getSuperdocVersion() {
209583
209582
  try {
209584
- return "1.34.0";
209583
+ return "1.35.0";
209585
209584
  } catch {
209586
209585
  return "unknown";
209587
209586
  }
@@ -280220,7 +280219,7 @@ var Node$13 = class Node$14 {
280220
280219
  domAvailabilityCache = false;
280221
280220
  return false;
280222
280221
  }
280223
- }, summaryVersion = "1.34.0", nodeKeys, markKeys, transformListsInCopiedContent = (html3) => {
280222
+ }, summaryVersion = "1.35.0", nodeKeys, markKeys, transformListsInCopiedContent = (html3) => {
280224
280223
  const container = document.createElement("div");
280225
280224
  container.innerHTML = html3;
280226
280225
  const result = [];
@@ -281395,7 +281394,7 @@ var Node$13 = class Node$14 {
281395
281394
  return () => {};
281396
281395
  const handle3 = setInterval(callback, intervalMs);
281397
281396
  return () => clearInterval(handle3);
281398
- }, 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, 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.34.0", PIXELS_PER_INCH2 = 96, MAX_HEIGHT_BUFFER_PX = 50, MAX_WIDTH_BUFFER_PX = 20, cloneExtensionInstance = (extension2) => {
281397
+ }, 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, 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.35.0", PIXELS_PER_INCH2 = 96, MAX_HEIGHT_BUFFER_PX = 50, MAX_WIDTH_BUFFER_PX = 20, cloneExtensionInstance = (extension2) => {
281399
281398
  const extensionLike = extension2;
281400
281399
  const config3 = extensionLike?.config;
281401
281400
  const ExtensionCtor = extensionLike?.constructor;
@@ -297217,13 +297216,13 @@ menclose::after {
297217
297216
  return;
297218
297217
  console.log(...args$1);
297219
297218
  }, 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;
297220
- var init_src_Tq4gtGIV_es = __esm(() => {
297219
+ var init_src_BI5eBQvD_es = __esm(() => {
297221
297220
  init_rolldown_runtime_Bg48TavK_es();
297222
- init_SuperConverter_BptSHzcb_es();
297221
+ init_SuperConverter_opYK_HD4_es();
297223
297222
  init_jszip_C49i9kUs_es();
297224
297223
  init_xml_js_CqGKpaft_es();
297225
297224
  init_uuid_qzgm05fK_es();
297226
- init_create_headless_toolbar_nX0t772H_es();
297225
+ init_create_headless_toolbar_xjqjtPWl_es();
297227
297226
  init_constants_DrU4EASo_es();
297228
297227
  init_dist_B8HfvhaK_es();
297229
297228
  init_unified_Dsuw2be5_es();
@@ -334996,11 +334995,11 @@ function print() { __p += __j.call(arguments, '') }
334996
334995
  ];
334997
334996
  });
334998
334997
 
334999
- // ../../packages/superdoc/dist/chunks/create-super-doc-ui-DgOJ39d-.es.js
334998
+ // ../../packages/superdoc/dist/chunks/create-super-doc-ui-DqYtj3Jy.es.js
335000
334999
  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;
335001
- var init_create_super_doc_ui_DgOJ39d_es = __esm(() => {
335002
- init_SuperConverter_BptSHzcb_es();
335003
- init_create_headless_toolbar_nX0t772H_es();
335000
+ var init_create_super_doc_ui_DqYtj3Jy_es = __esm(() => {
335001
+ init_SuperConverter_opYK_HD4_es();
335002
+ init_create_headless_toolbar_xjqjtPWl_es();
335004
335003
  MOD_ALIASES = new Set([
335005
335004
  "Mod",
335006
335005
  "Meta",
@@ -335042,16 +335041,16 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
335042
335041
 
335043
335042
  // ../../packages/superdoc/dist/super-editor.es.js
335044
335043
  var init_super_editor_es = __esm(() => {
335045
- init_src_Tq4gtGIV_es();
335046
- init_SuperConverter_BptSHzcb_es();
335044
+ init_src_BI5eBQvD_es();
335045
+ init_SuperConverter_opYK_HD4_es();
335047
335046
  init_jszip_C49i9kUs_es();
335048
335047
  init_xml_js_CqGKpaft_es();
335049
- init_create_headless_toolbar_nX0t772H_es();
335048
+ init_create_headless_toolbar_xjqjtPWl_es();
335050
335049
  init_constants_DrU4EASo_es();
335051
335050
  init_dist_B8HfvhaK_es();
335052
335051
  init_unified_Dsuw2be5_es();
335053
335052
  init_DocxZipper_CZMPWpOp_es();
335054
- init_create_super_doc_ui_DgOJ39d_es();
335053
+ init_create_super_doc_ui_DqYtj3Jy_es();
335055
335054
  init_ui_C5PAS9hY_es();
335056
335055
  init_eventemitter3_BnGqBE_Q_es();
335057
335056
  init_errors_CNaD6vcg_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/mcp",
3
- "version": "0.7.0",
3
+ "version": "0.7.1-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/super-editor": "0.0.1",
24
- "superdoc": "1.34.0"
23
+ "superdoc": "1.35.0",
24
+ "@superdoc/super-editor": "0.0.1"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"