@clevertask/scribe 0.1.23 → 0.1.24

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/README.md CHANGED
@@ -89,9 +89,14 @@ const capabilities = createScribeDocumentNodeCapabilityManifest(getSchema(extens
89
89
 
90
90
  capabilities.paragraph.potentialOperations; // [{ type: "replace_content" }]
91
91
  capabilities.callout.potentialOperations; // [{ type: "set_attributes", attributes: ["variant"] }]
92
+ capabilities.taskItem.potentialOperations; // [{ type: "set_attributes", attributes: ["checked"] }]
92
93
  capabilities.tableCell.potentialOperations; // []
93
94
  ```
94
95
 
96
+ The manifest intentionally keeps structural list changes application-owned. A consumer can use
97
+ the task-item attribute capability while defining its own bounded policy for adding or moving
98
+ task-list items.
99
+
95
100
  These are structural possibilities, not application permissions. An application must still check
96
101
  authorization, the current node and its ancestors, protected descendants, revision visibility,
97
102
  parser support, and size limits before it offers or performs a write.
@@ -180,7 +180,10 @@ var n = [
180
180
  },
181
181
  label: "Task item",
182
182
  nodeType: "taskItem",
183
- potentialOperations: o,
183
+ potentialOperations: [{
184
+ attributes: ["checked"],
185
+ type: "set_attributes"
186
+ }],
184
187
  role: "list_item"
185
188
  }),
186
189
  i({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clevertask/scribe",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "private": false,
5
5
  "description": "A Radix-based Tiptap rich text editor with a Notion-style block interface for viewing and creating content. Perfect for diverse needs like notes, documents, AI chat, Markdown parsing, and comments.",
6
6
  "keywords": [