From 76af4f692ea565d444f106acbc51b56e139fdb43 Mon Sep 17 00:00:00 2001 From: agent_coder Date: Fri, 10 Jul 2026 07:26:42 +0300 Subject: [PATCH] =?UTF-8?q?docs(mcp):=20=D0=BF=D0=BE=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D1=82=D1=8C=20=D1=83=D1=81=D1=82=D0=B0=D1=80=D0=B5?= =?UTF-8?q?=D0=B2=D1=88=D1=83=D1=8E=20=D1=81=D1=81=D1=8B=D0=BB=D0=BA=D1=83?= =?UTF-8?q?=20footnote-authoring.ts=20->=20@docmost/prosemirror-markdown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #429 (дедуп node-ops) перенёс footnoteContentKey в @docmost/prosemirror-markdown и удалил footnote-authoring.ts, но два docstring-комментария в footnote-normalize-merge.ts всё ещё ссылались на старое имя файла. Только комментарии, на сборку/поведение не влияет. Co-Authored-By: Claude Opus 4.8 (1M context) --- packages/mcp/src/lib/footnote-normalize-merge.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mcp/src/lib/footnote-normalize-merge.ts b/packages/mcp/src/lib/footnote-normalize-merge.ts index ac5a121e..307ca2c8 100644 --- a/packages/mcp/src/lib/footnote-normalize-merge.ts +++ b/packages/mcp/src/lib/footnote-normalize-merge.ts @@ -6,7 +6,7 @@ * typographic quotes («…»/“…”) vs ASCII "…", em/en-dash vs `-`, non-breaking * space vs normal space, differing space counts — are not recognized as equal * and "fork": two definitions appear where the author meant one. The existing - * de-dup paths miss this: `footnoteContentKey` (footnote-authoring.ts) only + * de-dup paths miss this: `footnoteContentKey` (@docmost/prosemirror-markdown) only * collapses ASCII whitespace (quotes/dashes/NBSP untouched), and * `canonicalizeFootnotes` keys purely by `attrs.id` (the two forks have * different ids), so neither glues the forks together. @@ -195,7 +195,7 @@ function stableAttrs(attrs: any): string { /** * ATTRS-AWARE merge key for a footnote definition. Deliberately DIVERGES from - * the shared `footnoteContentKey` (footnote-authoring.ts): that key's mark + * the shared `footnoteContentKey` (@docmost/prosemirror-markdown): that key's mark * signature is TYPE-ONLY (`m.type`), so two definitions with identical visible * text but marks differing only in ATTRIBUTES — most importantly a `link` with a * different `href` (footnotes are usually citations/links), also `code` / -- 2.52.0