@somecat/ai-assist-sdk 1.2.6 → 1.3.1

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/package.json CHANGED
@@ -1,112 +1,113 @@
1
- {
2
- "name": "@somecat/ai-assist-sdk",
3
- "version": "1.2.6",
4
- "type": "module",
5
- "description": "AI助手 SDK — 支持 React 和 Vue3 的可嵌入AI对话组件",
6
- "main": "./dist/index.mjs",
7
- "module": "./dist/index.mjs",
8
- "types": "./dist/index.d.ts",
9
- "exports": {
10
- ".": {
11
- "types": "./dist/index.d.ts",
12
- "import": "./dist/index.mjs"
13
- },
14
- "./react": {
15
- "types": "./dist/react/index.d.ts",
16
- "import": "./dist/react/index.mjs"
17
- },
18
- "./vue": {
19
- "types": "./dist/vue/index.d.ts",
20
- "import": "./dist/vue/index.mjs"
21
- },
22
- "./styles": {
23
- "types": "./styles.d.ts",
24
- "default": "./dist/ai-assist-sdk.css"
25
- }
26
- },
27
- "license": "MIT",
28
- "repository": {
29
- "type": "git",
30
- "url": "https://github.com/zzzttt1017/ai-assist-sdk.git"
31
- },
32
- "publishConfig": {
33
- "access": "public"
34
- },
35
- "files": [
36
- "dist",
37
- "styles.d.ts"
38
- ],
39
- "dependencies": {
40
- "@ant-design/icons": "^5.6.1",
41
- "@ant-design/icons-vue": "^7.0.1",
42
- "@microsoft/fetch-event-source": "^2.0.1",
43
- "antd": "^5.24.0",
44
- "axios": "^1.9.0",
45
- "dompurify": "^3.2.6",
46
- "highlight.js": "^11.11.1",
47
- "markdown-it": "^14.1.0",
48
- "markdown-it-highlightjs": "^4.2.0",
49
- "markdown-it-multimd-table": "^4.2.3"
50
- },
51
- "peerDependencies": {
52
- "@iconify/react": ">=5.0.0",
53
- "@iconify/vue": ">=4.0.0",
54
- "react": ">=17.0.0",
55
- "react-dom": ">=17.0.0",
56
- "react-markdown": ">=9.0.0",
57
- "rehype-highlight": ">=7.0.0",
58
- "remark-gfm": ">=4.0.0",
59
- "vue": ">=3.0.0"
60
- },
61
- "peerDependenciesMeta": {
62
- "@iconify/react": {
63
- "optional": true
64
- },
65
- "@iconify/vue": {
66
- "optional": true
67
- },
68
- "react": {
69
- "optional": true
70
- },
71
- "react-dom": {
72
- "optional": true
73
- },
74
- "vue": {
75
- "optional": true
76
- },
77
- "react-markdown": {
78
- "optional": true
79
- },
80
- "remark-gfm": {
81
- "optional": true
82
- },
83
- "rehype-highlight": {
84
- "optional": true
85
- }
86
- },
87
- "devDependencies": {
88
- "@iconify/react": "^6.0.2",
89
- "@iconify/vue": "^5.0.1",
90
- "@types/dompurify": "^3.2.0",
91
- "@types/markdown-it": "^14.1.2",
92
- "@types/node": "^25.9.1",
93
- "@types/react": "^19.1.0",
94
- "@types/react-dom": "^19.1.0",
95
- "@vitejs/plugin-react": "^4.4.0",
96
- "@vitejs/plugin-vue": "^5.0.0",
97
- "less": "^4.3.0",
98
- "react": "^19.1.0",
99
- "react-dom": "^19.1.0",
100
- "typescript": "^5.8.0",
101
- "vite": "^6.3.0",
102
- "vite-plugin-dts": "^4.5.0",
103
- "vue": "^3.4.0"
104
- },
105
- "scripts": {
106
- "dev": "vite --host --open /",
107
- "dev:vue": "vite --host --open /index-vue.html",
108
- "build": "vite build",
109
- "build:lib": "vite build --mode lib",
110
- "preview": "vite preview"
111
- }
112
- }
1
+ {
2
+ "name": "@somecat/ai-assist-sdk",
3
+ "version": "1.3.1",
4
+ "type": "module",
5
+ "description": "AI助手 SDK — 支持 React 和 Vue3 的可嵌入AI对话组件",
6
+ "main": "./dist/index.mjs",
7
+ "module": "./dist/index.mjs",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.mjs"
13
+ },
14
+ "./react": {
15
+ "types": "./dist/react/index.d.ts",
16
+ "import": "./dist/react/index.mjs"
17
+ },
18
+ "./vue": {
19
+ "types": "./dist/vue/index.d.ts",
20
+ "import": "./dist/vue/index.mjs"
21
+ },
22
+ "./styles": {
23
+ "types": "./styles.d.ts",
24
+ "default": "./dist/ai-assist-sdk.css"
25
+ }
26
+ },
27
+ "license": "MIT",
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "https://github.com/zzzttt1017/ai-assist-sdk.git"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
35
+ "files": [
36
+ "dist",
37
+ "styles.d.ts"
38
+ ],
39
+ "scripts": {
40
+ "dev": "vite --host --open /",
41
+ "dev:vue": "vite --host --open /index-vue.html",
42
+ "build": "vite build",
43
+ "build:lib": "vite build --mode lib",
44
+ "preview": "vite preview",
45
+ "prepublishOnly": "pnpm build:lib"
46
+ },
47
+ "dependencies": {
48
+ "@ant-design/icons": "^5.6.1",
49
+ "@ant-design/icons-vue": "^7.0.1",
50
+ "@microsoft/fetch-event-source": "^2.0.1",
51
+ "antd": "^5.24.0",
52
+ "axios": "^1.9.0",
53
+ "dompurify": "^3.2.6",
54
+ "highlight.js": "^11.11.1",
55
+ "markdown-it": "^14.1.0",
56
+ "markdown-it-highlightjs": "^4.2.0",
57
+ "markdown-it-multimd-table": "^4.2.3"
58
+ },
59
+ "peerDependencies": {
60
+ "@iconify/react": ">=5.0.0",
61
+ "@iconify/vue": ">=4.0.0",
62
+ "react": ">=17.0.0",
63
+ "react-dom": ">=17.0.0",
64
+ "react-markdown": ">=9.0.0",
65
+ "rehype-highlight": ">=7.0.0",
66
+ "remark-gfm": ">=4.0.0",
67
+ "vue": ">=3.0.0"
68
+ },
69
+ "peerDependenciesMeta": {
70
+ "@iconify/react": {
71
+ "optional": true
72
+ },
73
+ "@iconify/vue": {
74
+ "optional": true
75
+ },
76
+ "react": {
77
+ "optional": true
78
+ },
79
+ "react-dom": {
80
+ "optional": true
81
+ },
82
+ "vue": {
83
+ "optional": true
84
+ },
85
+ "react-markdown": {
86
+ "optional": true
87
+ },
88
+ "remark-gfm": {
89
+ "optional": true
90
+ },
91
+ "rehype-highlight": {
92
+ "optional": true
93
+ }
94
+ },
95
+ "devDependencies": {
96
+ "@iconify/react": "^6.0.2",
97
+ "@iconify/vue": "^5.0.1",
98
+ "@types/dompurify": "^3.2.0",
99
+ "@types/markdown-it": "^14.1.2",
100
+ "@types/node": "^25.9.1",
101
+ "@types/react": "^19.1.0",
102
+ "@types/react-dom": "^19.1.0",
103
+ "@vitejs/plugin-react": "^4.4.0",
104
+ "@vitejs/plugin-vue": "^5.0.0",
105
+ "less": "^4.3.0",
106
+ "react": "^19.1.0",
107
+ "react-dom": "^19.1.0",
108
+ "typescript": "^5.8.0",
109
+ "vite": "^6.3.0",
110
+ "vite-plugin-dts": "^4.5.0",
111
+ "vue": "^3.4.0"
112
+ }
113
+ }