@x12i/ai 0.0.0-stage → 1.1.0

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,81 @@
1
1
  {
2
2
  "name": "@x12i/ai",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.1.0",
4
+ "description": "AI chat for the Unified UI Kit: a neutral message shape, a headless thread reducer, stream events and provider adapters, plus accessible chat components (thread, prompt input, markdown, reasoning, tool calls, approvals, sources) that never import a provider SDK.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/x12i/unified-ui-kit.git",
9
+ "directory": "packages/ai"
10
+ },
11
+ "homepage": "https://github.com/x12i/unified-ui-kit/tree/main/packages/ai#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/x12i/unified-ui-kit/issues"
14
+ },
15
+ "keywords": [
16
+ "react",
17
+ "ai",
18
+ "chat",
19
+ "llm",
20
+ "streaming",
21
+ "markdown",
22
+ "accessibility",
23
+ "design-system"
24
+ ],
25
+ "type": "module",
26
+ "sideEffects": [
27
+ "*.css"
28
+ ],
29
+ "files": [
30
+ "dist",
31
+ "README.md"
32
+ ],
33
+ "exports": {
34
+ ".": {
35
+ "types": "./dist/index.d.ts",
36
+ "default": "./dist/index.js"
37
+ },
38
+ "./react": {
39
+ "types": "./dist/react.d.ts",
40
+ "default": "./dist/react.js"
41
+ },
42
+ "./styles.css": "./dist/styles.css",
43
+ "./package.json": "./package.json"
44
+ },
45
+ "publishConfig": {
46
+ "access": "public"
47
+ },
48
+ "dependencies": {
49
+ "@x12i/icons": "^1.0.0",
50
+ "@x12i/tokens": "^1.1.0",
51
+ "react-markdown": "^10.1.0",
52
+ "remark-gfm": "^4.0.1"
53
+ },
54
+ "peerDependencies": {
55
+ "@x12i/ui": "^1.1.0",
56
+ "react": "^19.0.0",
57
+ "react-dom": "^19.0.0"
58
+ },
59
+ "devDependencies": {
60
+ "@testing-library/jest-dom": "^7.0.1",
61
+ "@testing-library/react": "^16.3.3",
62
+ "@testing-library/user-event": "^14.6.8",
63
+ "@types/node": "^24.0.0",
64
+ "@types/react": "^19.3.0",
65
+ "@types/react-dom": "^19.3.0",
66
+ "@vitejs/plugin-react": "^6.2.1",
67
+ "@x12i/themes": "^1.0.0",
68
+ "@x12i/ui": "^1.1.0",
69
+ "jsdom": "^30.1.3",
70
+ "react": "^19.3.1",
71
+ "react-dom": "^19.3.1",
72
+ "vite": "^8.3.6",
73
+ "vitest-axe": "^0.1.0"
74
+ },
75
+ "scripts": {
76
+ "build": "tsup && node scripts/copy-css.mjs",
77
+ "typecheck": "tsc --noEmit",
78
+ "lint": "eslint .",
79
+ "test": "vitest run --passWithNoTests"
80
+ }
6
81
  }