@somecat/ai-assist-sdk 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/package.json +7 -3
  2. package/styles.d.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@somecat/ai-assist-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
5
  "description": "AI助手 SDK — 支持 React 和 Vue3 的可嵌入AI对话组件",
6
6
  "main": "./dist/index.mjs",
@@ -19,7 +19,10 @@
19
19
  "types": "./dist/vue/index.d.ts",
20
20
  "import": "./dist/vue/index.mjs"
21
21
  },
22
- "./styles": "./dist/ai-assist-sdk.css"
22
+ "./styles": {
23
+ "types": "./styles.d.ts",
24
+ "default": "./dist/ai-assist-sdk.css"
25
+ }
23
26
  },
24
27
  "license": "MIT",
25
28
  "repository": {
@@ -30,7 +33,8 @@
30
33
  "access": "public"
31
34
  },
32
35
  "files": [
33
- "dist"
36
+ "dist",
37
+ "styles.d.ts"
34
38
  ],
35
39
  "scripts": {
36
40
  "dev": "vite --host --open /",
package/styles.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ // TypeScript 类型声明 — ai-assist-sdk 样式入口
2
+ export {};