@waniwani/sdk 0.0.8 → 0.0.10

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@waniwani/sdk",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "WaniWani SDK - MCP event tracking, widget framework, and tools",
5
5
  "type": "module",
6
6
  "exports": {
@@ -19,13 +19,15 @@
19
19
  "./chat": {
20
20
  "import": "./dist/chat/index.js",
21
21
  "types": "./dist/chat/index.d.ts"
22
- }
22
+ },
23
+ "./chat/styles.css": "./dist/chat/styles.css"
23
24
  },
24
25
  "files": [
25
26
  "dist"
26
27
  ],
27
28
  "scripts": {
28
- "build": "rm -rf dist && bun run typecheck && bun run lint && tsup",
29
+ "build": "rm -rf dist && bun run typecheck && bun run lint && tsup && bun run build:chat-css",
30
+ "build:chat-css": "tailwindcss -i src/chat/tailwind.css -o dist/chat/styles.css --minify",
29
31
  "dev": "tsx --watch src/index.ts",
30
32
  "typecheck": "tsc --noEmit",
31
33
  "lint": "biome check .",
@@ -41,7 +43,15 @@
41
43
  "react": ">=18.0.0",
42
44
  "zod": ">=3.0.0",
43
45
  "@ai-sdk/react": ">=1.0.0",
44
- "ai": ">=4.0.0"
46
+ "ai": ">=4.0.0",
47
+ "lucide-react": ">=0.400.0",
48
+ "use-stick-to-bottom": ">=1.0.0",
49
+ "streamdown": ">=2.0.0",
50
+ "@streamdown/cjk": ">=1.0.0",
51
+ "@streamdown/code": ">=1.0.0",
52
+ "clsx": ">=2.0.0",
53
+ "tailwind-merge": ">=3.0.0",
54
+ "nanoid": ">=5.0.0"
45
55
  },
46
56
  "peerDependenciesMeta": {
47
57
  "@modelcontextprotocol/sdk": {
@@ -61,6 +71,30 @@
61
71
  },
62
72
  "ai": {
63
73
  "optional": true
74
+ },
75
+ "lucide-react": {
76
+ "optional": true
77
+ },
78
+ "use-stick-to-bottom": {
79
+ "optional": true
80
+ },
81
+ "streamdown": {
82
+ "optional": true
83
+ },
84
+ "@streamdown/cjk": {
85
+ "optional": true
86
+ },
87
+ "@streamdown/code": {
88
+ "optional": true
89
+ },
90
+ "clsx": {
91
+ "optional": true
92
+ },
93
+ "tailwind-merge": {
94
+ "optional": true
95
+ },
96
+ "nanoid": {
97
+ "optional": true
64
98
  }
65
99
  },
66
100
  "devDependencies": {
@@ -68,15 +102,26 @@
68
102
  "@biomejs/biome": "^2.3.13",
69
103
  "@modelcontextprotocol/ext-apps": "1.0.1",
70
104
  "@modelcontextprotocol/sdk": "^1.0.0",
105
+ "@streamdown/cjk": "^1.0.1",
106
+ "@streamdown/code": "^1.0.1",
107
+ "@tailwindcss/cli": "^4.1.18",
108
+ "@tailwindcss/postcss": "^4.1.18",
71
109
  "@types/node": "^22.10.0",
72
110
  "@types/react": "^19.0.0",
73
111
  "@types/react-dom": "^19.2.3",
74
112
  "ai": "^6.0.71",
113
+ "clsx": "^2.1.1",
114
+ "lucide-react": "^0.563.0",
115
+ "postcss": "^8.5.6",
75
116
  "react": "^19.0.0",
76
117
  "react-dom": "^19.2.4",
118
+ "streamdown": "^2.1.0",
119
+ "tailwind-merge": "^3.4.0",
120
+ "tailwindcss": "^4",
77
121
  "tsup": "^8.3.5",
78
122
  "tsx": "^4.19.2",
79
123
  "typescript": "^5.7.3",
124
+ "use-stick-to-bottom": "^1.1.3",
80
125
  "zod": "^3.0.0"
81
126
  },
82
127
  "repository": {