@superdoc-dev/mcp 0.6.0-next.4 → 0.6.0-next.5
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.
- package/dist/index.js +13 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -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-
|
|
200679
|
+
// ../../packages/superdoc/dist/chunks/src-89KDSWz7.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) => {
|
|
@@ -210988,6 +210988,8 @@ function shouldProcessEqualAsModification$1(oldParagraph, newParagraph) {
|
|
|
210988
210988
|
return JSON.stringify(oldNormalized) !== JSON.stringify(newNormalized);
|
|
210989
210989
|
}
|
|
210990
210990
|
function paragraphComparator(oldParagraph, newParagraph) {
|
|
210991
|
+
if (oldParagraph?.depth !== newParagraph?.depth)
|
|
210992
|
+
return false;
|
|
210991
210993
|
const oldId = oldParagraph?.node?.attrs?.paraId;
|
|
210992
210994
|
const newId = newParagraph?.node?.attrs?.paraId;
|
|
210993
210995
|
if (oldId && newId && oldId === newId)
|
|
@@ -211030,6 +211032,8 @@ function buildModifiedParagraphDiff(oldParagraph, newParagraph) {
|
|
|
211030
211032
|
};
|
|
211031
211033
|
}
|
|
211032
211034
|
function canTreatAsModification(oldParagraph, newParagraph) {
|
|
211035
|
+
if (oldParagraph?.depth !== newParagraph?.depth)
|
|
211036
|
+
return false;
|
|
211033
211037
|
if (paragraphComparator(oldParagraph, newParagraph))
|
|
211034
211038
|
return true;
|
|
211035
211039
|
const oldText = oldParagraph.fullText;
|
|
@@ -295441,7 +295445,7 @@ menclose::after {
|
|
|
295441
295445
|
return;
|
|
295442
295446
|
console.log(...args$1);
|
|
295443
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;
|
|
295444
|
-
var
|
|
295448
|
+
var init_src_89KDSWz7_es = __esm(() => {
|
|
295445
295449
|
init_rolldown_runtime_Bg48TavK_es();
|
|
295446
295450
|
init_SuperConverter_CnwfJPj6_es();
|
|
295447
295451
|
init_jszip_C49i9kUs_es();
|
|
@@ -333660,7 +333664,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
|
|
|
333660
333664
|
|
|
333661
333665
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
333662
333666
|
var init_super_editor_es = __esm(() => {
|
|
333663
|
-
|
|
333667
|
+
init_src_89KDSWz7_es();
|
|
333664
333668
|
init_SuperConverter_CnwfJPj6_es();
|
|
333665
333669
|
init_jszip_C49i9kUs_es();
|
|
333666
333670
|
init_xml_js_CqGKpaft_es();
|
|
@@ -454194,6 +454198,9 @@ function shouldProcessEqualAsModification3(oldParagraph, newParagraph) {
|
|
|
454194
454198
|
return JSON.stringify(oldNormalized) !== JSON.stringify(newNormalized);
|
|
454195
454199
|
}
|
|
454196
454200
|
function paragraphComparator2(oldParagraph, newParagraph) {
|
|
454201
|
+
if (oldParagraph?.depth !== newParagraph?.depth) {
|
|
454202
|
+
return false;
|
|
454203
|
+
}
|
|
454197
454204
|
const oldId = oldParagraph?.node?.attrs?.paraId;
|
|
454198
454205
|
const newId = newParagraph?.node?.attrs?.paraId;
|
|
454199
454206
|
if (oldId && newId && oldId === newId) {
|
|
@@ -454240,6 +454247,9 @@ function buildModifiedParagraphDiff2(oldParagraph, newParagraph) {
|
|
|
454240
454247
|
};
|
|
454241
454248
|
}
|
|
454242
454249
|
function canTreatAsModification2(oldParagraph, newParagraph) {
|
|
454250
|
+
if (oldParagraph?.depth !== newParagraph?.depth) {
|
|
454251
|
+
return false;
|
|
454252
|
+
}
|
|
454243
454253
|
if (paragraphComparator2(oldParagraph, newParagraph)) {
|
|
454244
454254
|
return true;
|
|
454245
454255
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/mcp",
|
|
3
|
-
"version": "0.6.0-next.
|
|
3
|
+
"version": "0.6.0-next.5",
|
|
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
|
-
"
|
|
24
|
-
"superdoc": "
|
|
23
|
+
"superdoc": "1.33.1",
|
|
24
|
+
"@superdoc/super-editor": "0.0.1"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|