@superdoc/sdk 2.22.0-next.9 → 2.22.0

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.
@@ -14,10 +14,10 @@
14
14
  "operations": ["create.heading"]
15
15
  },
16
16
  "replace_text": {
17
- "hint": "edits[{find,replace}], optional selector to scope replacements to one inspected block, caseSensitive?, changeMode? — for EDITING existing wording only; the replaced span is rewritten as PLAIN text (intra-span bold/italic is dropped), so keep find/replace spans MINIMAL (the words that change, not the whole paragraph) and NEVER use it to append a new sentence/clause/paragraph (use insert_paragraphs)",
17
+ "hint": "edits[{find,replace,occurrence?}], optional selector to scope replacements to one inspected block, caseSensitive?, expectedRevision?, changeMode? — for EDITING existing wording only; keep find/replace spans MINIMAL (the words that change, not the whole paragraph). When the find appears more than once in the selected block and only one should change, set that edit's occurrence (1-based match number within the block; requires selector; this is not selector.occurrence, which picks a block). NEVER use it to append a new sentence/clause/paragraph (use insert_paragraphs)",
18
18
  "group": "Text/structure actions",
19
19
  "groupOrder": 2,
20
- "args": ["edits", "selector", "caseSensitive", "changeMode"],
20
+ "args": ["edits", "selector", "caseSensitive", "expectedRevision", "changeMode"],
21
21
  "operations": ["replace"]
22
22
  },
23
23
  "delete_text": {