@superdoc-dev/mcp 0.3.0-next.4 → 0.3.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 +7 -8
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -351608,7 +351608,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
351608
351608
|
init_remark_gfm_BhnWr3yf_es();
|
|
351609
351609
|
});
|
|
351610
351610
|
|
|
351611
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
351611
|
+
// ../../packages/superdoc/dist/chunks/src-B2eovI4l.es.js
|
|
351612
351612
|
function deleteProps(obj, propOrProps) {
|
|
351613
351613
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
351614
351614
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -440573,7 +440573,7 @@ menclose::after {
|
|
|
440573
440573
|
return;
|
|
440574
440574
|
console.log(...args$1);
|
|
440575
440575
|
}, 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;
|
|
440576
|
-
var
|
|
440576
|
+
var init_src_B2eovI4l_es = __esm(() => {
|
|
440577
440577
|
init_rolldown_runtime_Bg48TavK_es();
|
|
440578
440578
|
init_SuperConverter_lmyr0gmB_es();
|
|
440579
440579
|
init_jszip_C49i9kUs_es();
|
|
@@ -444092,15 +444092,14 @@ ${err.toString()}`);
|
|
|
444092
444092
|
const currentTrackedChanges = pluginState.trackedChanges;
|
|
444093
444093
|
if (trackedChangeMeta)
|
|
444094
444094
|
pluginState.trackedChanges = handleTrackedChangeTransaction(trackedChangeMeta, currentTrackedChanges, newEditorState, editor);
|
|
444095
|
-
|
|
444096
|
-
if (!tr.docChanged && tr.selectionSet || trChangedActiveComment) {
|
|
444095
|
+
if (!tr.docChanged && tr.selectionSet) {
|
|
444097
444096
|
const { selection } = tr;
|
|
444098
444097
|
let currentActiveThread = getActiveCommentId(newEditorState.doc, selection);
|
|
444099
|
-
if (trChangedActiveComment)
|
|
444100
|
-
currentActiveThread = meta4.activeThreadId;
|
|
444101
444098
|
if (meta4?.type === "setCursorById" && meta4.preferredActiveThreadId && selectionContainsThread(newEditorState.doc, selection, meta4.preferredActiveThreadId))
|
|
444102
444099
|
currentActiveThread = meta4.preferredActiveThreadId;
|
|
444103
|
-
|
|
444100
|
+
const previousSelectionId = pluginState.activeThreadId;
|
|
444101
|
+
const isNonCollapsedClear = currentActiveThread == null && selection && selection.$from.pos !== selection.$to.pos;
|
|
444102
|
+
if (previousSelectionId !== currentActiveThread && !isNonCollapsedClear) {
|
|
444104
444103
|
pluginState.activeThreadId = currentActiveThread;
|
|
444105
444104
|
const update = {
|
|
444106
444105
|
type: comments_module_events.SELECTED,
|
|
@@ -477476,7 +477475,7 @@ var init_zipper_DbkgrypV_es = __esm(() => {
|
|
|
477476
477475
|
|
|
477477
477476
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
477478
477477
|
var init_super_editor_es = __esm(() => {
|
|
477479
|
-
|
|
477478
|
+
init_src_B2eovI4l_es();
|
|
477480
477479
|
init_SuperConverter_lmyr0gmB_es();
|
|
477481
477480
|
init_jszip_C49i9kUs_es();
|
|
477482
477481
|
init_xml_js_CqGKpaft_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/mcp",
|
|
3
|
-
"version": "0.3.0-next.
|
|
3
|
+
"version": "0.3.0-next.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc-mcp": "./dist/index.js"
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
13
13
|
"zod": "^4.3.6",
|
|
14
|
-
"@superdoc-
|
|
15
|
-
"@superdoc/
|
|
14
|
+
"@superdoc/document-api": "0.0.1",
|
|
15
|
+
"@superdoc-dev/sdk": "1.7.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/bun": "^1.3.8",
|