@superdoc-dev/cli 0.12.0-next.19 → 0.12.0-next.20
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 +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -1489,7 +1489,7 @@ More content with **bold** and *italic*.`
|
|
|
1489
1489
|
},
|
|
1490
1490
|
comment: {
|
|
1491
1491
|
toolName: "superdoc_comment",
|
|
1492
|
-
description: "Manage document comment threads: create, read, update, and delete. " + 'To create a comment, first use superdoc_search to find the target text, then pass action "create" with the comment text and a target
|
|
1492
|
+
description: "Manage document comment threads: create, read, update, and delete. " + 'To create a comment, first use superdoc_search to find the target text, then pass action "create" with the comment text and a target built from items[0].blocks. For a single-block match use {kind:"text", blockId: items[0].blocks[0].blockId, range: items[0].blocks[0].range}. For a cross-block match use {kind:"text", segments: items[0].blocks.map(b => ({blockId: b.blockId, range: b.range}))}. Do NOT use items[0].highlightRange (snippet-relative, not block-relative) or items[0].target (a SelectionTarget, not accepted by comments.create). ' + 'For threaded replies, pass "parentId" with the parent comment ID. ' + 'Action "list" returns all comments with optional pagination (limit, offset) and filtering (includeResolved:true to include resolved). ' + 'Action "get" retrieves a single comment by ID. Action "update" changes status to "resolved" or marks as internal. Action "delete" removes a comment or reply by ID. ' + 'Do NOT pass "ref", "id", or "parentId" when creating a new top-level comment; only "action", "text", and "target" are needed.',
|
|
1493
1493
|
inputExamples: [
|
|
1494
1494
|
{
|
|
1495
1495
|
action: "create",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.12.0-next.
|
|
3
|
+
"version": "0.12.0-next.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -26,19 +26,19 @@
|
|
|
26
26
|
"typescript": "^5.9.2",
|
|
27
27
|
"@superdoc/document-api": "0.0.1",
|
|
28
28
|
"@superdoc/pm-adapter": "0.0.0",
|
|
29
|
-
"
|
|
30
|
-
"superdoc": "
|
|
29
|
+
"superdoc": "1.34.0",
|
|
30
|
+
"@superdoc/super-editor": "0.0.1"
|
|
31
31
|
},
|
|
32
32
|
"module": "src/index.ts",
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@superdoc-dev/cli-darwin-arm64": "0.12.0-next.
|
|
38
|
-
"@superdoc-dev/cli-darwin-x64": "0.12.0-next.
|
|
39
|
-
"@superdoc-dev/cli-linux-x64": "0.12.0-next.
|
|
40
|
-
"@superdoc-dev/cli-linux-arm64": "0.12.0-next.
|
|
41
|
-
"@superdoc-dev/cli-windows-x64": "0.12.0-next.
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.12.0-next.20",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.12.0-next.20",
|
|
39
|
+
"@superdoc-dev/cli-linux-x64": "0.12.0-next.20",
|
|
40
|
+
"@superdoc-dev/cli-linux-arm64": "0.12.0-next.20",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.12.0-next.20"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|