@superdoc/cli 0.46.0-next.12 → 0.46.0-next.14

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.
@@ -1517,6 +1517,14 @@
1517
1517
  "type": "string",
1518
1518
  "description": "Require exact selected text before mutation. Only explicit single-paragraph text selections support this guard. Only for action 'replace'. Omit for other actions."
1519
1519
  },
1520
+ "replacementGranularity": {
1521
+ "enum": [
1522
+ "word",
1523
+ "phrase",
1524
+ "range"
1525
+ ],
1526
+ "description": "Tracked revision boundaries for an explicit single-paragraph text selection. word (default) preserves matching tokens; phrase joins edits separated only by spaces; range replaces the complete selection. Requires changeMode: tracked. Only for action 'replace'. Omit for other actions."
1527
+ },
1520
1528
  "behavior": {
1521
1529
  "$ref": "#/$defs/DeleteBehavior",
1522
1530
  "description": "Delete behavior: 'selection' (default) or 'exact'. Only for action 'delete'. Omit for other actions."
@@ -1480,6 +1480,14 @@
1480
1480
  "type": "string",
1481
1481
  "description": "Require exact selected text before mutation. Only explicit single-paragraph text selections support this guard. Only for action 'replace'. Omit for other actions."
1482
1482
  },
1483
+ "replacementGranularity": {
1484
+ "enum": [
1485
+ "word",
1486
+ "phrase",
1487
+ "range"
1488
+ ],
1489
+ "description": "Tracked revision boundaries for an explicit single-paragraph text selection. word (default) preserves matching tokens; phrase joins edits separated only by spaces; range replaces the complete selection. Requires changeMode: tracked. Only for action 'replace'. Omit for other actions."
1490
+ },
1483
1491
  "behavior": {
1484
1492
  "$ref": "#/$defs/DeleteBehavior",
1485
1493
  "description": "Delete behavior: 'selection' (default) or 'exact'. Only for action 'delete'. Omit for other actions."
@@ -1503,6 +1503,14 @@
1503
1503
  "type": "string",
1504
1504
  "description": "Require exact selected text before mutation. Only explicit single-paragraph text selections support this guard. Only for action 'replace'. Omit for other actions."
1505
1505
  },
1506
+ "replacementGranularity": {
1507
+ "enum": [
1508
+ "word",
1509
+ "phrase",
1510
+ "range"
1511
+ ],
1512
+ "description": "Tracked revision boundaries for an explicit single-paragraph text selection. word (default) preserves matching tokens; phrase joins edits separated only by spaces; range replaces the complete selection. Requires changeMode: tracked. Only for action 'replace'. Omit for other actions."
1513
+ },
1506
1514
  "behavior": {
1507
1515
  "$ref": "#/$defs/DeleteBehavior",
1508
1516
  "description": "Delete behavior: 'selection' (default) or 'exact'. Only for action 'delete'. Omit for other actions."
@@ -1485,6 +1485,14 @@
1485
1485
  "type": "string",
1486
1486
  "description": "Require exact selected text before mutation. Only explicit single-paragraph text selections support this guard. Only for action 'replace'. Omit for other actions."
1487
1487
  },
1488
+ "replacementGranularity": {
1489
+ "enum": [
1490
+ "word",
1491
+ "phrase",
1492
+ "range"
1493
+ ],
1494
+ "description": "Tracked revision boundaries for an explicit single-paragraph text selection. word (default) preserves matching tokens; phrase joins edits separated only by spaces; range replaces the complete selection. Requires changeMode: tracked. Only for action 'replace'. Omit for other actions."
1495
+ },
1488
1496
  "behavior": {
1489
1497
  "$ref": "#/$defs/DeleteBehavior",
1490
1498
  "description": "Delete behavior: 'selection' (default) or 'exact'. Only for action 'delete'. Omit for other actions."
@@ -1485,6 +1485,14 @@
1485
1485
  "type": "string",
1486
1486
  "description": "Require exact selected text before mutation. Only explicit single-paragraph text selections support this guard. Only for action 'replace'. Omit for other actions."
1487
1487
  },
1488
+ "replacementGranularity": {
1489
+ "enum": [
1490
+ "word",
1491
+ "phrase",
1492
+ "range"
1493
+ ],
1494
+ "description": "Tracked revision boundaries for an explicit single-paragraph text selection. word (default) preserves matching tokens; phrase joins edits separated only by spaces; range replaces the complete selection. Requires changeMode: tracked. Only for action 'replace'. Omit for other actions."
1495
+ },
1488
1496
  "behavior": {
1489
1497
  "$ref": "#/$defs/DeleteBehavior",
1490
1498
  "description": "Delete behavior: 'selection' (default) or 'exact'. Only for action 'delete'. Omit for other actions."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc/cli",
3
- "version": "0.46.0-next.12",
3
+ "version": "0.46.0-next.14",
4
4
  "description": "Command-line interface for SuperDoc: inspect, convert, and edit .docx files from a terminal or a script.",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0",
@@ -29,15 +29,15 @@
29
29
  "fast-glob": "^3.3.3",
30
30
  "happy-dom": "^20.3.4",
31
31
  "ws": "^8.18.0",
32
- "superdoc": "2.26.0-next.13",
32
+ "superdoc": "2.26.0-next.15",
33
33
  "y-websocket": "^3.0.0",
34
34
  "yjs": "13.6.31"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@hocuspocus/server": "^2.13.6",
38
- "@superdoc/sdk": "2.23.0-next.13",
38
+ "@superdoc/sdk": "2.23.0-next.15",
39
39
  "@superdoc/document-api": "0.1.0-alpha.0",
40
- "@superdoc/docx-engine": "0.25.0-next.13",
40
+ "@superdoc/docx-engine": "0.25.0-next.15",
41
41
  "@types/bun": "^1.3.8",
42
42
  "@types/node": "22.19.2",
43
43
  "@types/ws": "^8.5.13",
@@ -51,11 +51,11 @@
51
51
  "access": "public"
52
52
  },
53
53
  "optionalDependencies": {
54
- "@superdoc/cli-darwin-arm64": "0.46.0-next.12",
55
- "@superdoc/cli-darwin-x64": "0.46.0-next.12",
56
- "@superdoc/cli-linux-x64": "0.46.0-next.12",
57
- "@superdoc/cli-linux-arm64": "0.46.0-next.12",
58
- "@superdoc/cli-windows-x64": "0.46.0-next.12"
54
+ "@superdoc/cli-darwin-arm64": "0.46.0-next.14",
55
+ "@superdoc/cli-darwin-x64": "0.46.0-next.14",
56
+ "@superdoc/cli-linux-x64": "0.46.0-next.14",
57
+ "@superdoc/cli-linux-arm64": "0.46.0-next.14",
58
+ "@superdoc/cli-windows-x64": "0.46.0-next.14"
59
59
  },
60
60
  "scripts": {
61
61
  "predev": "node scripts/ensure-superdoc-build.js --internal",