@superdoc/cli 0.35.0-next.6 → 0.35.0-next.8
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 +93759 -93720
- package/package.json +9 -9
- package/skill/SKILL.md +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc/cli",
|
|
3
|
-
"version": "0.35.0-next.
|
|
3
|
+
"version": "0.35.0-next.8",
|
|
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.15.0-next.
|
|
32
|
+
"superdoc": "2.15.0-next.7",
|
|
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.12.0-next.
|
|
38
|
+
"@superdoc/sdk": "2.12.0-next.8",
|
|
39
39
|
"@superdoc/document-api": "0.1.0-alpha.0",
|
|
40
|
-
"@superdoc/docx-engine": "0.14.0-next.
|
|
40
|
+
"@superdoc/docx-engine": "0.14.0-next.6",
|
|
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.35.0-next.
|
|
55
|
-
"@superdoc/cli-darwin-x64": "0.35.0-next.
|
|
56
|
-
"@superdoc/cli-linux-x64": "0.35.0-next.
|
|
57
|
-
"@superdoc/cli-linux-arm64": "0.35.0-next.
|
|
58
|
-
"@superdoc/cli-windows-x64": "0.35.0-next.
|
|
54
|
+
"@superdoc/cli-darwin-arm64": "0.35.0-next.8",
|
|
55
|
+
"@superdoc/cli-darwin-x64": "0.35.0-next.8",
|
|
56
|
+
"@superdoc/cli-linux-x64": "0.35.0-next.8",
|
|
57
|
+
"@superdoc/cli-linux-arm64": "0.35.0-next.8",
|
|
58
|
+
"@superdoc/cli-windows-x64": "0.35.0-next.8"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"predev": "node scripts/ensure-superdoc-build.js",
|
package/skill/SKILL.md
CHANGED
|
@@ -8,7 +8,7 @@ description: Edit, query, and transform Word documents with the SuperDoc CLI v1
|
|
|
8
8
|
Use SuperDoc CLI for DOCX work. Use v1 commands (canonical operations and their helper wrappers).
|
|
9
9
|
Do not default to legacy commands unless explicitly needed for v0-style bulk workflows.
|
|
10
10
|
|
|
11
|
-
Use `superdoc` if installed, or `npx @superdoc
|
|
11
|
+
Use `superdoc` if installed, or `npx @superdoc/cli@latest` as a fallback.
|
|
12
12
|
|
|
13
13
|
## First Step: Discover Exact Params
|
|
14
14
|
|
|
@@ -41,7 +41,7 @@ superdoc close
|
|
|
41
41
|
|
|
42
42
|
### 2) Generate or seed a document body (recommended for synthetic/probe docs)
|
|
43
43
|
|
|
44
|
-
Use `open --content-override`
|
|
44
|
+
Use `open --content-override` to initialize a blank document or replace a template's main body from Markdown, HTML, or plain text in one step. Template styles, theme, section settings, headers, footers, and other non-body package content are retained.
|
|
45
45
|
|
|
46
46
|
```bash
|
|
47
47
|
superdoc open --content-override "# Probe Title\n\nALPHA01" --override-type markdown
|