@superdoc-dev/mcp 0.12.0-next.14 → 0.12.0-next.15

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 +106 -24
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -52172,7 +52172,7 @@ var init_remark_gfm_BhnWr3yf_es = __esm(() => {
52172
52172
  emptyOptions2 = {};
52173
52173
  });
52174
52174
 
52175
- // ../../packages/superdoc/dist/chunks/SuperConverter-d9QeIy9-.es.js
52175
+ // ../../packages/superdoc/dist/chunks/SuperConverter-BTGVElJO.es.js
52176
52176
  function getExtensionConfigField(extension$1, field, context = { name: "" }) {
52177
52177
  const fieldValue = extension$1.config[field];
52178
52178
  if (typeof fieldValue === "function")
@@ -118172,7 +118172,7 @@ var isRegExp = (value) => {
118172
118172
  state.kern = kernNode.attributes["w:val"];
118173
118173
  }
118174
118174
  }, SuperConverter;
118175
- var init_SuperConverter_d9QeIy9_es = __esm(() => {
118175
+ var init_SuperConverter_BTGVElJO_es = __esm(() => {
118176
118176
  init_rolldown_runtime_Bg48TavK_es();
118177
118177
  init_jszip_C49i9kUs_es();
118178
118178
  init_xml_js_CqGKpaft_es();
@@ -155732,7 +155732,7 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
155732
155732
  meanDelta: 0,
155733
155733
  maxDelta: 0.5
155734
155734
  },
155735
- candidateLicense: "GPLv2-with-font-exception",
155735
+ candidateLicense: "GPL-2.0-only WITH Font-exception-2.0",
155736
155736
  faceVerdicts: {
155737
155737
  regular: "metric_safe",
155738
155738
  bold: "visual_only",
@@ -155841,7 +155841,7 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
155841
155841
  policyAction: "substitute",
155842
155842
  measurementRefs: ["bookman-old-style__tex-gyre-bonum#visual_review#2026-06-09"],
155843
155843
  exportRule: "preserve_original_name",
155844
- candidateLicense: "GUST-Font-License-1.0"
155844
+ candidateLicense: "LicenseRef-GUST-Font-License-1.0"
155845
155845
  },
155846
155846
  {
155847
155847
  evidenceId: "century",
@@ -155866,6 +155866,29 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
155866
155866
  exportRule: "preserve_original_name",
155867
155867
  candidateLicense: "AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817"
155868
155868
  },
155869
+ {
155870
+ evidenceId: "century-schoolbook",
155871
+ generic: "serif",
155872
+ logicalFamily: "Century Schoolbook",
155873
+ physicalFamily: "C059",
155874
+ verdict: "visual_only",
155875
+ faces: {
155876
+ regular: true,
155877
+ bold: true,
155878
+ italic: true,
155879
+ boldItalic: true
155880
+ },
155881
+ gates: {
155882
+ static: "pass",
155883
+ metric: "fail",
155884
+ layout: "not_run",
155885
+ ship: "fail"
155886
+ },
155887
+ policyAction: "substitute",
155888
+ measurementRefs: ["century-schoolbook__c059#visual_review#2026-06-09"],
155889
+ exportRule: "preserve_original_name",
155890
+ candidateLicense: "AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817"
155891
+ },
155869
155892
  {
155870
155893
  evidenceId: "garamond",
155871
155894
  generic: "serif",
@@ -156424,6 +156447,7 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
156424
156447
  family("Carlito", "Carlito", "OFL-1.1"),
156425
156448
  family("Caladea", "Caladea", "Apache-2.0"),
156426
156449
  family("Liberation Sans", "LiberationSans", "OFL-1.1"),
156450
+ family("Liberation Sans Narrow", "LiberationSansNarrow", "GPL-2.0-only WITH Font-exception-2.0"),
156427
156451
  family("Liberation Serif", "LiberationSerif", "OFL-1.1"),
156428
156452
  family("Liberation Mono", "LiberationMono", "OFL-1.1"),
156429
156453
  familyWithFaces("Caprasimo", "OFL-1.1", [{
@@ -156431,6 +156455,28 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
156431
156455
  style: "normal",
156432
156456
  file: "Caprasimo-Regular.woff2"
156433
156457
  }]),
156458
+ familyWithFaces("C059", "AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817", [
156459
+ {
156460
+ weight: "normal",
156461
+ style: "normal",
156462
+ file: "C059-Roman.woff2"
156463
+ },
156464
+ {
156465
+ weight: "bold",
156466
+ style: "normal",
156467
+ file: "C059-Bold.woff2"
156468
+ },
156469
+ {
156470
+ weight: "normal",
156471
+ style: "italic",
156472
+ file: "C059-Italic.woff2"
156473
+ },
156474
+ {
156475
+ weight: "bold",
156476
+ style: "italic",
156477
+ file: "C059-BdIta.woff2"
156478
+ }
156479
+ ]),
156434
156480
  familyWithFaces("Bacasime Antique", "OFL-1.1", [{
156435
156481
  weight: "normal",
156436
156482
  style: "normal",
@@ -156495,8 +156541,10 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
156495
156541
  registriesByFontSet = /* @__PURE__ */ new WeakMap;
156496
156542
  BUNDLED_FAMILIES = new Set(BUNDLED_MANIFEST.map((f2) => f2.family));
156497
156543
  ADVERTISED_BUILT_IN_TOOLBAR_FAMILIES = new Set([
156544
+ "Arial Narrow",
156498
156545
  "Baskerville Old Face",
156499
156546
  "Brush Script MT",
156547
+ "Century",
156500
156548
  "Cooper Black",
156501
156549
  "Comic Sans MS",
156502
156550
  "Garamond",
@@ -158292,7 +158340,7 @@ var init_SuperConverter_d9QeIy9_es = __esm(() => {
158292
158340
  };
158293
158341
  });
158294
158342
 
158295
- // ../../packages/superdoc/dist/chunks/create-headless-toolbar-CJpgldP1.es.js
158343
+ // ../../packages/superdoc/dist/chunks/create-headless-toolbar-DYbkX05s.es.js
158296
158344
  function parseSizeUnit(val = "0") {
158297
158345
  const length = val.toString() || "0";
158298
158346
  const value = Number.parseFloat(length);
@@ -168687,8 +168735,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, normalizeActorId = (value) => {
168687
168735
  }
168688
168736
  };
168689
168737
  };
168690
- var init_create_headless_toolbar_CJpgldP1_es = __esm(() => {
168691
- init_SuperConverter_d9QeIy9_es();
168738
+ var init_create_headless_toolbar_DYbkX05s_es = __esm(() => {
168739
+ init_SuperConverter_BTGVElJO_es();
168692
168740
  init_uuid_B2wVPhPi_es();
168693
168741
  init_constants_D9qj59G2_es();
168694
168742
  init_dist_B8HfvhaK_es();
@@ -223378,7 +223426,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
223378
223426
  init_remark_gfm_BhnWr3yf_es();
223379
223427
  });
223380
223428
 
223381
- // ../../packages/superdoc/dist/chunks/src-BVjcuFXj.es.js
223429
+ // ../../packages/superdoc/dist/chunks/src-CRJcfbIa.es.js
223382
223430
  function deleteProps(obj, propOrProps) {
223383
223431
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
223384
223432
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -320903,13 +320951,13 @@ menclose::after {
320903
320951
  return;
320904
320952
  console.log(...args$1);
320905
320953
  }, 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, TRACKED_MARK_NAMES;
320906
- var init_src_BVjcuFXj_es = __esm(() => {
320954
+ var init_src_CRJcfbIa_es = __esm(() => {
320907
320955
  init_rolldown_runtime_Bg48TavK_es();
320908
- init_SuperConverter_d9QeIy9_es();
320956
+ init_SuperConverter_BTGVElJO_es();
320909
320957
  init_jszip_C49i9kUs_es();
320910
320958
  init_xml_js_CqGKpaft_es();
320911
320959
  init_uuid_B2wVPhPi_es();
320912
- init_create_headless_toolbar_CJpgldP1_es();
320960
+ init_create_headless_toolbar_DYbkX05s_es();
320913
320961
  init_constants_D9qj59G2_es();
320914
320962
  init_dist_B8HfvhaK_es();
320915
320963
  init_unified_Dsuw2be5_es();
@@ -356580,11 +356628,11 @@ function print() { __p += __j.call(arguments, '') }
356580
356628
  ]);
356581
356629
  });
356582
356630
 
356583
- // ../../packages/superdoc/dist/chunks/create-super-doc-ui-DQMMcx6J.es.js
356631
+ // ../../packages/superdoc/dist/chunks/create-super-doc-ui-DUYQPx-V.es.js
356584
356632
  var DEFAULT_TEXT_ALIGN_OPTIONS, DEFAULT_LINE_HEIGHT_OPTIONS, DEFAULT_ZOOM_OPTIONS, DEFAULT_DOCUMENT_MODE_OPTIONS, DEFAULT_FONT_SIZE_OPTIONS, headlessToolbarConstants, 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, FONT_SIZE_OPTIONS;
356585
- var init_create_super_doc_ui_DQMMcx6J_es = __esm(() => {
356586
- init_SuperConverter_d9QeIy9_es();
356587
- init_create_headless_toolbar_CJpgldP1_es();
356633
+ var init_create_super_doc_ui_DUYQPx_V_es = __esm(() => {
356634
+ init_SuperConverter_BTGVElJO_es();
356635
+ init_create_headless_toolbar_DYbkX05s_es();
356588
356636
  DEFAULT_TEXT_ALIGN_OPTIONS = [
356589
356637
  {
356590
356638
  label: "Left",
@@ -356875,16 +356923,16 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
356875
356923
 
356876
356924
  // ../../packages/superdoc/dist/super-editor.es.js
356877
356925
  var init_super_editor_es = __esm(() => {
356878
- init_src_BVjcuFXj_es();
356879
- init_SuperConverter_d9QeIy9_es();
356926
+ init_src_CRJcfbIa_es();
356927
+ init_SuperConverter_BTGVElJO_es();
356880
356928
  init_jszip_C49i9kUs_es();
356881
356929
  init_xml_js_CqGKpaft_es();
356882
- init_create_headless_toolbar_CJpgldP1_es();
356930
+ init_create_headless_toolbar_DYbkX05s_es();
356883
356931
  init_constants_D9qj59G2_es();
356884
356932
  init_dist_B8HfvhaK_es();
356885
356933
  init_unified_Dsuw2be5_es();
356886
356934
  init_DocxZipper_FUsfThjV_es();
356887
- init_create_super_doc_ui_DQMMcx6J_es();
356935
+ init_create_super_doc_ui_DUYQPx_V_es();
356888
356936
  init_ui_C5PAS9hY_es();
356889
356937
  init_eventemitter3_BnGqBE_Q_es();
356890
356938
  init_errors_CNaD6vcg_es();
@@ -458109,7 +458157,7 @@ var init_exporter = __esm(() => {
458109
458157
  // ../../shared/font-system/src/types.ts
458110
458158
  var init_types8 = () => {};
458111
458159
 
458112
- // ../../node_modules/.pnpm/@docfonts+fallbacks@0.13.0/node_modules/@docfonts/fallbacks/dist/data.js
458160
+ // ../../node_modules/.pnpm/@docfonts+fallbacks@0.14.0/node_modules/@docfonts/fallbacks/dist/data.js
458113
458161
  var SUBSTITUTION_EVIDENCE2;
458114
458162
  var init_data = __esm(() => {
458115
458163
  SUBSTITUTION_EVIDENCE2 = [
@@ -458369,7 +458417,7 @@ var init_data = __esm(() => {
458369
458417
  meanDelta: 0,
458370
458418
  maxDelta: 0.5
458371
458419
  },
458372
- candidateLicense: "GPLv2-with-font-exception",
458420
+ candidateLicense: "GPL-2.0-only WITH Font-exception-2.0",
458373
458421
  faceVerdicts: {
458374
458422
  regular: "metric_safe",
458375
458423
  bold: "visual_only",
@@ -458492,7 +458540,7 @@ var init_data = __esm(() => {
458492
458540
  "bookman-old-style__tex-gyre-bonum#visual_review#2026-06-09"
458493
458541
  ],
458494
458542
  exportRule: "preserve_original_name",
458495
- candidateLicense: "GUST-Font-License-1.0"
458543
+ candidateLicense: "LicenseRef-GUST-Font-License-1.0"
458496
458544
  },
458497
458545
  {
458498
458546
  evidenceId: "century",
@@ -458519,6 +458567,31 @@ var init_data = __esm(() => {
458519
458567
  exportRule: "preserve_original_name",
458520
458568
  candidateLicense: "AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817"
458521
458569
  },
458570
+ {
458571
+ evidenceId: "century-schoolbook",
458572
+ generic: "serif",
458573
+ logicalFamily: "Century Schoolbook",
458574
+ physicalFamily: "C059",
458575
+ verdict: "visual_only",
458576
+ faces: {
458577
+ regular: true,
458578
+ bold: true,
458579
+ italic: true,
458580
+ boldItalic: true
458581
+ },
458582
+ gates: {
458583
+ static: "pass",
458584
+ metric: "fail",
458585
+ layout: "not_run",
458586
+ ship: "fail"
458587
+ },
458588
+ policyAction: "substitute",
458589
+ measurementRefs: [
458590
+ "century-schoolbook__c059#visual_review#2026-06-09"
458591
+ ],
458592
+ exportRule: "preserve_original_name",
458593
+ candidateLicense: "AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817"
458594
+ },
458522
458595
  {
458523
458596
  evidenceId: "garamond",
458524
458597
  generic: "serif",
@@ -459112,7 +459185,7 @@ var init_data = __esm(() => {
459112
459185
  ];
459113
459186
  });
459114
459187
 
459115
- // ../../node_modules/.pnpm/@docfonts+fallbacks@0.13.0/node_modules/@docfonts/fallbacks/dist/fallbacks.js
459188
+ // ../../node_modules/.pnpm/@docfonts+fallbacks@0.14.0/node_modules/@docfonts/fallbacks/dist/fallbacks.js
459116
459189
  function normalizeFamilyName2(name) {
459117
459190
  return name.trim().replace(/^['"]+|['"]+$/g, "").trim().toLowerCase();
459118
459191
  }
@@ -459206,7 +459279,7 @@ var init_fallbacks = __esm(() => {
459206
459279
  ]));
459207
459280
  });
459208
459281
 
459209
- // ../../node_modules/.pnpm/@docfonts+fallbacks@0.13.0/node_modules/@docfonts/fallbacks/dist/index.js
459282
+ // ../../node_modules/.pnpm/@docfonts+fallbacks@0.14.0/node_modules/@docfonts/fallbacks/dist/index.js
459210
459283
  var init_dist11 = __esm(() => {
459211
459284
  init_data();
459212
459285
  init_fallbacks();
@@ -459233,9 +459306,16 @@ var init_bundled_manifest = __esm(() => {
459233
459306
  family2("Carlito", "Carlito", "OFL-1.1"),
459234
459307
  family2("Caladea", "Caladea", "Apache-2.0"),
459235
459308
  family2("Liberation Sans", "LiberationSans", "OFL-1.1"),
459309
+ family2("Liberation Sans Narrow", "LiberationSansNarrow", "GPL-2.0-only WITH Font-exception-2.0"),
459236
459310
  family2("Liberation Serif", "LiberationSerif", "OFL-1.1"),
459237
459311
  family2("Liberation Mono", "LiberationMono", "OFL-1.1"),
459238
459312
  familyWithFaces2("Caprasimo", "OFL-1.1", [{ weight: "normal", style: "normal", file: "Caprasimo-Regular.woff2" }]),
459313
+ familyWithFaces2("C059", "AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817", [
459314
+ { weight: "normal", style: "normal", file: "C059-Roman.woff2" },
459315
+ { weight: "bold", style: "normal", file: "C059-Bold.woff2" },
459316
+ { weight: "normal", style: "italic", file: "C059-Italic.woff2" },
459317
+ { weight: "bold", style: "italic", file: "C059-BdIta.woff2" }
459318
+ ]),
459239
459319
  familyWithFaces2("Bacasime Antique", "OFL-1.1", [
459240
459320
  { weight: "normal", style: "normal", file: "BacasimeAntique-Regular.woff2" }
459241
459321
  ]),
@@ -459950,8 +460030,10 @@ var init_font_offerings = __esm(() => {
459950
460030
  init_substitution_evidence();
459951
460031
  BUNDLED_FAMILIES2 = new Set(BUNDLED_MANIFEST2.map((f2) => f2.family));
459952
460032
  ADVERTISED_BUILT_IN_TOOLBAR_FAMILIES2 = new Set([
460033
+ "Arial Narrow",
459953
460034
  "Baskerville Old Face",
459954
460035
  "Brush Script MT",
460036
+ "Century",
459955
460037
  "Cooper Black",
459956
460038
  "Comic Sans MS",
459957
460039
  "Garamond",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/mcp",
3
- "version": "0.12.0-next.14",
3
+ "version": "0.12.0-next.15",
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/document-api": "0.0.1",
23
22
  "@superdoc/super-editor": "0.0.1",
24
- "superdoc": "1.39.0"
23
+ "superdoc": "1.39.0",
24
+ "@superdoc/document-api": "0.0.1"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"