@astralbeam/sdk 0.4.0 → 0.4.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.
- package/README.md +2 -0
- package/package.json +10 -1
package/README.md
CHANGED
|
@@ -141,6 +141,8 @@ There is no root export. Conversation history is not built yet.
|
|
|
141
141
|
| `@astralbeam/sdk/server` | `createAstralBeamChatToken`, `createAstralBeamTokenRoute` | none |
|
|
142
142
|
| `@astralbeam/sdk/vue` | Vue components (placeholder) | `vue` |
|
|
143
143
|
|
|
144
|
+
Types resolve under every TypeScript module resolution mode, including the classic `"moduleResolution": "node"` that Ionic, Capacitor, and Create React App templates still ship. TypeScript 5.0 or later is required, because the declarations use `const` type parameters; on TypeScript 4.x the `.d.ts` files fail to parse.
|
|
145
|
+
|
|
144
146
|
## Example
|
|
145
147
|
|
|
146
148
|
[`examples/todos`](../examples/todos) embeds the sidebar in a minimal TanStack Start app: a demo token route, host tools over live React state, and a `todoCard` widget. It uses no Tailwind or shadcn/ui of its own, to show the shadow-root boundary.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astralbeam/sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
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,6 +35,15 @@
|
|
|
35
35
|
},
|
|
36
36
|
"./package.json": "./package.json"
|
|
37
37
|
},
|
|
38
|
+
"typesVersions": {
|
|
39
|
+
"*": {
|
|
40
|
+
"client": ["./dist/client.d.ts"],
|
|
41
|
+
"core": ["./dist/core.d.ts"],
|
|
42
|
+
"server": ["./dist/server.d.ts"],
|
|
43
|
+
"react": ["./dist/react.d.ts"],
|
|
44
|
+
"vue": ["./dist/vue.d.ts"]
|
|
45
|
+
}
|
|
46
|
+
},
|
|
38
47
|
"publishConfig": {
|
|
39
48
|
"access": "public"
|
|
40
49
|
},
|