@superdoc-dev/mcp 0.3.0-next.52 → 0.3.0-next.54

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 +19 -6
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -198800,7 +198800,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
198800
198800
  init_remark_gfm_BhnWr3yf_es();
198801
198801
  });
198802
198802
 
198803
- // ../../packages/superdoc/dist/chunks/src-CazlxYMA.es.js
198803
+ // ../../packages/superdoc/dist/chunks/src-JQdl170N.es.js
198804
198804
  function deleteProps(obj, propOrProps) {
198805
198805
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
198806
198806
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -290063,7 +290063,7 @@ menclose::after {
290063
290063
  return;
290064
290064
  console.log(...args$1);
290065
290065
  }, 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;
290066
- var init_src_CazlxYMA_es = __esm(() => {
290066
+ var init_src_JQdl170N_es = __esm(() => {
290067
290067
  init_rolldown_runtime_Bg48TavK_es();
290068
290068
  init_SuperConverter_DFi0X147_es();
290069
290069
  init_jszip_C49i9kUs_es();
@@ -322014,6 +322014,19 @@ function print() { __p += __j.call(arguments, '') }
322014
322014
  getStorySessionManager() {
322015
322015
  return this.#storySessionManager;
322016
322016
  }
322017
+ getActiveStoryLocator() {
322018
+ const storySession = this.#storySessionManager?.getActiveSession();
322019
+ if (storySession)
322020
+ return storySession.locator;
322021
+ const session = this.#headerFooterSession?.session;
322022
+ if (!session || session.mode === "body" || !session.headerFooterRefId)
322023
+ return null;
322024
+ return {
322025
+ kind: "story",
322026
+ storyType: "headerFooterPart",
322027
+ refId: session.headerFooterRefId
322028
+ };
322029
+ }
322017
322030
  exitActiveStorySurface() {
322018
322031
  if ((this.#headerFooterSession?.session?.mode ?? "body") !== "body")
322019
322032
  this.#exitHeaderFooterMode();
@@ -327461,9 +327474,9 @@ function print() { __p += __j.call(arguments, '') }
327461
327474
  ];
327462
327475
  });
327463
327476
 
327464
- // ../../packages/superdoc/dist/chunks/create-super-doc-ui-IYY4udqU.es.js
327477
+ // ../../packages/superdoc/dist/chunks/create-super-doc-ui-_B0b9R4K.es.js
327465
327478
  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;
327466
- var init_create_super_doc_ui_IYY4udqU_es = __esm(() => {
327479
+ var init_create_super_doc_ui__B0b9R4K_es = __esm(() => {
327467
327480
  init_SuperConverter_DFi0X147_es();
327468
327481
  init_create_headless_toolbar_C9nvGdZQ_es();
327469
327482
  MOD_ALIASES = new Set([
@@ -327507,7 +327520,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
327507
327520
 
327508
327521
  // ../../packages/superdoc/dist/super-editor.es.js
327509
327522
  var init_super_editor_es = __esm(() => {
327510
- init_src_CazlxYMA_es();
327523
+ init_src_JQdl170N_es();
327511
327524
  init_SuperConverter_DFi0X147_es();
327512
327525
  init_jszip_C49i9kUs_es();
327513
327526
  init_xml_js_CqGKpaft_es();
@@ -327516,7 +327529,7 @@ var init_super_editor_es = __esm(() => {
327516
327529
  init_dist_B8HfvhaK_es();
327517
327530
  init_unified_Dsuw2be5_es();
327518
327531
  init_DocxZipper_CUX64E5K_es();
327519
- init_create_super_doc_ui_IYY4udqU_es();
327532
+ init_create_super_doc_ui__B0b9R4K_es();
327520
327533
  init_ui_CGB3qmy3_es();
327521
327534
  init_eventemitter3_UwU_CLPU_es();
327522
327535
  init_errors_C_DoKMoN_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/mcp",
3
- "version": "0.3.0-next.52",
3
+ "version": "0.3.0-next.54",
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.31.0"
23
+ "superdoc": "1.31.0",
24
+ "@superdoc/document-api": "0.0.1"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"