@agent-factory-platform/docs-react 0.16.3 → 0.17.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.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +336 -323
- package/dist/rich-document.d.ts +3 -1
- package/package.json +3 -3
package/dist/rich-document.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Editor, Node, type JSONContent } from "@tiptap/core";
|
|
2
2
|
import { Slice } from "@tiptap/pm/model";
|
|
3
3
|
import type * as Y from "yjs";
|
|
4
4
|
import type { Awareness } from "y-protocols/awareness";
|
|
@@ -100,6 +100,8 @@ export declare function documentAssistantConflict(editor: Editor, identity: {
|
|
|
100
100
|
baseRevision: string;
|
|
101
101
|
}, operation: DocumentAssistantOperation): DocumentAssistantConflict | undefined;
|
|
102
102
|
export declare const emptyRichDocument: () => RichDocumentContent;
|
|
103
|
+
/** Parse trusted Markdown through the same schema used by paste and AI edits. */
|
|
104
|
+
export declare function richDocumentFromMarkdown(markdown: string): RichDocumentContent;
|
|
103
105
|
/** Remove ephemeral image projections before a document crosses a durable boundary. */
|
|
104
106
|
export declare function durableRichDocumentContent(doc: JSONContent): RichDocumentContent;
|
|
105
107
|
export declare function parseRichDocument(value: string): RichDocumentContent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-factory-platform/docs-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Product-neutral rich document editor and repository bindings.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"react-dom": "^19.0.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@agent-factory-platform/client": "0.
|
|
34
|
-
"@agent-factory-platform/ui-kit": "0.
|
|
33
|
+
"@agent-factory-platform/client": "0.17.0",
|
|
34
|
+
"@agent-factory-platform/ui-kit": "0.17.0",
|
|
35
35
|
"@tiptap/core": "3.30.5",
|
|
36
36
|
"@tiptap/extension-bubble-menu": "3.30.5",
|
|
37
37
|
"@tiptap/extension-collaboration": "3.30.5",
|