@peam-ai/client 0.1.3 → 0.1.5

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": "@peam-ai/client",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Client side components for Peam",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -31,71 +31,78 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@ai-sdk/openai": "^3.0.0",
35
- "@ai-sdk/react": "^3.0.5",
34
+ "@ai-sdk/react": "^3.0.71",
36
35
  "@radix-ui/react-collapsible": "^1.1.12",
37
36
  "@radix-ui/react-dialog": "^1.1.15",
38
37
  "@radix-ui/react-dropdown-menu": "^2.1.16",
39
38
  "@radix-ui/react-hover-card": "^1.1.15",
40
- "@radix-ui/react-progress": "^1.1.8",
41
- "@radix-ui/react-scroll-area": "^1.2.10",
42
39
  "@radix-ui/react-select": "^2.2.6",
43
40
  "@radix-ui/react-separator": "^1.1.8",
44
41
  "@radix-ui/react-slot": "^1.2.4",
45
42
  "@radix-ui/react-tooltip": "^1.2.8",
46
- "@radix-ui/react-use-controllable-state": "^1.2.2",
47
- "@xyflow/react": "^12.10.0",
48
- "ai": "^6.0.3",
49
- "ai-elements": "^1.6.3",
43
+ "@streamdown/cjk": "^1.0.1",
44
+ "@streamdown/code": "^1.0.1",
45
+ "@streamdown/math": "^1.0.1",
46
+ "@streamdown/mermaid": "^1.0.1",
47
+ "ai": "^6.0.69",
50
48
  "class-variance-authority": "^0.7.1",
51
49
  "clsx": "^2.1.1",
52
50
  "cmdk": "^1.1.1",
53
- "dexie": "^4.2.1",
51
+ "dexie": "^4.3.0",
54
52
  "dexie-react-hooks": "^4.2.0",
55
- "embla-carousel-react": "^8.6.0",
56
53
  "lucide-react": "^0.468.0",
57
54
  "motion": "^12.23.26",
58
55
  "nanoid": "^5.1.6",
59
- "shiki": "^3.20.0",
60
- "streamdown": "^2.0.1",
56
+ "radix-ui": "^1.4.3",
57
+ "streamdown": "^2.1.0",
61
58
  "tailwind-merge": "^3.4.0",
62
- "tokenlens": "^1.3.1",
63
59
  "tw-animate-css": "^1.4.0",
64
60
  "use-stick-to-bottom": "^1.1.1",
65
- "@peam-ai/logger": "0.1.3",
66
- "@peam-ai/ai": "0.1.3",
67
- "@peam-ai/search": "0.1.3"
61
+ "@peam-ai/ai": "0.1.5",
62
+ "@peam-ai/logger": "0.1.5"
68
63
  },
69
64
  "devDependencies": {
70
65
  "@eslint/js": "^9.39.2",
71
66
  "@tailwindcss/postcss": "^4.1.18",
72
- "@types/react": "^18.3.12",
73
- "@types/react-dom": "^18.3.1",
67
+ "@types/react": "^19.2.2",
68
+ "@types/react-dom": "^19.2.2",
69
+ "@testing-library/dom": "^10.4.1",
70
+ "@testing-library/react": "^16.3.0",
74
71
  "autoprefixer": "^10.4.23",
72
+ "cssnano": "^7.0.7",
75
73
  "eslint": "^9.39.2",
74
+ "eslint-plugin-jsx-a11y": "^6.10.2",
76
75
  "eslint-plugin-react": "^7.37.5",
77
76
  "eslint-plugin-react-hooks": "^7.0.1",
78
77
  "globals": "^17.0.0",
79
78
  "postcss": "^8.5.6",
80
79
  "postcss-cli": "^11.0.1",
81
- "postcss-prefix-selector": "^2.1.1",
82
- "react": "^18.3.1",
83
- "react-dom": "^18.3.1",
80
+ "postcss-load-config": "^6.0.1",
81
+ "react": "^19.2.4",
82
+ "react-dom": "^19.2.4",
84
83
  "tailwindcss": "^4.1.18",
85
84
  "tsup": "^8.5.1",
86
85
  "typescript": "^5.5.4"
87
86
  },
88
87
  "peerDependencies": {
89
- "react": "^18.0.0",
90
- "react-dom": "^18.0.0"
88
+ "react": "^18.0 || ^19.0",
89
+ "react-dom": "^18.0 || ^19.0"
90
+ },
91
+ "peerDependenciesMeta": {
92
+ "@types/react": {
93
+ "optional": true
94
+ },
95
+ "@types/react-dom": {
96
+ "optional": true
97
+ }
91
98
  },
92
99
  "scripts": {
93
100
  "build": "tsup",
94
- "dev": "tsup --watch",
101
+ "build:watch": "tsup --watch",
95
102
  "clean": "rm -rf dist",
96
- "lint": "eslint ./src",
97
- "test:eslint": "eslint \"src/**/*.ts*\"",
98
- "test:prettier": "prettier --check \"src/**/*.ts*\"",
99
- "test:jest": "jest"
103
+ "format": "prettier --write \"src/**/*\"",
104
+ "test:lint": "eslint \"src/**/*\"",
105
+ "test:format": "prettier --check \"src/**/*\"",
106
+ "test:unit": "vitest run"
100
107
  }
101
108
  }