@platejs/ai 52.3.22 → 53.0.3

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.
@@ -706,6 +706,9 @@ const AIChatPlugin = createTPlatePlugin({
706
706
  },
707
707
  stop: () => {
708
708
  setOption("streaming", false);
709
+ setOption("_blockChunks", "");
710
+ setOption("_blockPath", null);
711
+ setOption("_mdxName", null);
709
712
  getOptions().chat.stop?.();
710
713
  }
711
714
  })).extendApi(({ api, editor, getOptions, setOption, tf }) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platejs/ai",
3
- "version": "52.3.22",
3
+ "version": "53.0.3",
4
4
  "description": "Text AI plugin for Plate",
5
5
  "keywords": [
6
6
  "plate",
@@ -32,19 +32,19 @@
32
32
  "fastest-levenshtein": "1.0.16",
33
33
  "lodash": "^4.17.21",
34
34
  "react-compiler-runtime": "^1.0.0",
35
- "@platejs/markdown": "^52.3.22",
36
- "@platejs/suggestion": "^52.3.10",
37
- "@platejs/selection": "^52.3.10",
38
- "@platejs/table": "^52.3.20"
35
+ "@platejs/markdown": "^53.0.0",
36
+ "@platejs/selection": "^53.0.0",
37
+ "@platejs/suggestion": "^53.0.3",
38
+ "@platejs/table": "^53.0.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@ai-sdk/react": "^3.0.0",
42
42
  "ai": "^6.0.0",
43
43
  "@plate/scripts": "1.0.0",
44
- "platejs": "^52.3.21"
44
+ "platejs": "^53.0.3"
45
45
  },
46
46
  "peerDependencies": {
47
- "platejs": ">=52.0.15",
47
+ "platejs": ">=53.0.3",
48
48
  "react": ">=18.0.0",
49
49
  "react-dom": ">=18.0.0"
50
50
  },