@astralbeam/sdk 0.0.1 → 0.0.2

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": "@astralbeam/sdk",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Frontend SDK for AstralBeam: drop-in agent UI, chat streaming, and server helpers",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -35,8 +35,9 @@
35
35
  "access": "public"
36
36
  },
37
37
  "scripts": {
38
- "build": "tsdown",
39
- "check": "deno task format:check && deno task lint && deno task typecheck && deno task knip",
38
+ "build": "deno task generate:styles && tsdown",
39
+ "generate:styles": "tailwindcss --input src/styles.css --output .generated/styles.css --minify && deno run --allow-read=.generated --allow-write=src/chat scripts/embed-styles.ts",
40
+ "check": "deno task generate:styles && deno task format:check && deno task lint && deno task typecheck && deno task knip",
40
41
  "check:fix": "deno fmt && deno lint --fix",
41
42
  "format": "deno fmt",
42
43
  "format:check": "deno fmt --check",
@@ -46,24 +47,47 @@
46
47
  "lint:fix": "deno lint --fix",
47
48
  "ready": "deno task check && deno task test && deno task build",
48
49
  "test": "vitest run",
49
- "typecheck": "tsc --noEmit"
50
+ "typecheck": "tsc --noEmit",
51
+ "ui": "shadcn"
50
52
  },
51
53
  "peerDependencies": {
52
54
  "react": ">=18",
55
+ "react-dom": ">=18",
53
56
  "vue": ">=3"
54
57
  },
55
58
  "peerDependenciesMeta": {
56
59
  "react": {
57
60
  "optional": true
58
61
  },
62
+ "react-dom": {
63
+ "optional": true
64
+ },
59
65
  "vue": {
60
66
  "optional": true
61
67
  }
62
68
  },
63
69
  "devDependencies": {
70
+ "@base-ui/react": "^1.7.0",
71
+ "@phosphor-icons/react": "^2.1.10",
72
+ "@shadcn/react": "^0.3.0",
73
+ "@tailwindcss/cli": "^4.3.3",
74
+ "@tanstack/ai": "^0.49.1",
75
+ "@tanstack/ai-client": "^0.28.0",
76
+ "@tanstack/ai-react": "^0.22.1",
77
+ "@types/react": "^19.2.13",
78
+ "@types/react-dom": "^19.2.3",
79
+ "class-variance-authority": "^0.7.1",
80
+ "clsx": "^2.1.1",
81
+ "jose": "^6.2.9",
64
82
  "knip": "^6.32.2",
83
+ "react": "^19.2.4",
84
+ "react-dom": "^19.2.4",
85
+ "shadcn": "^4.18.0",
86
+ "tailwind-merge": "^3.6.0",
87
+ "tailwindcss": "^4.3.3",
65
88
  "tsdown": "0.22.3",
89
+ "tw-animate-css": "^1.4.0",
66
90
  "typescript": "^6.0.3",
67
- "vitest": "4.1.10"
91
+ "vitest": "^4.1.3"
68
92
  }
69
93
  }