@astralbeam/sdk 0.0.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/LICENSE ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 AstralBeam Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # @astralbeam/sdk
2
+
3
+ Frontend SDK for [AstralBeam](https://astralbeam.ai): drop-in, fully-customizable agent UI with managed chat streaming, conversation history, and observability.
4
+
5
+ > Work in progress: the entry points below are placeholders and do not ship functionality yet.
6
+
7
+ ## Installation
8
+
9
+ ```sh
10
+ npm install @astralbeam/sdk
11
+ ```
12
+
13
+ ## Entry points
14
+
15
+ - `@astralbeam/sdk/client` — framework-agnostic browser client
16
+ - `@astralbeam/sdk/server` — server-side helpers
17
+ - `@astralbeam/sdk/react` — React components (e.g. `<AstralBeamChat />`), requires the `react` peer dependency
18
+ - `@astralbeam/sdk/vue` — Vue components, requires the `vue` peer dependency
19
+
20
+ ## License
21
+
22
+ [MIT](./LICENSE)
@@ -0,0 +1,4 @@
1
+ //#region src/client.d.ts
2
+ declare const entrypoint = "client";
3
+ //#endregion
4
+ export { entrypoint };
package/dist/client.js ADDED
@@ -0,0 +1,4 @@
1
+ //#region src/client.ts
2
+ const entrypoint = "client";
3
+ //#endregion
4
+ export { entrypoint };
@@ -0,0 +1,4 @@
1
+ //#region src/react.d.ts
2
+ declare const entrypoint = "react";
3
+ //#endregion
4
+ export { entrypoint };
package/dist/react.js ADDED
@@ -0,0 +1,4 @@
1
+ //#region src/react.ts
2
+ const entrypoint = "react";
3
+ //#endregion
4
+ export { entrypoint };
@@ -0,0 +1,4 @@
1
+ //#region src/server.d.ts
2
+ declare const entrypoint = "server";
3
+ //#endregion
4
+ export { entrypoint };
package/dist/server.js ADDED
@@ -0,0 +1,4 @@
1
+ //#region src/server.ts
2
+ const entrypoint = "server";
3
+ //#endregion
4
+ export { entrypoint };
package/dist/vue.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ //#region src/vue.d.ts
2
+ declare const entrypoint = "vue";
3
+ //#endregion
4
+ export { entrypoint };
package/dist/vue.js ADDED
@@ -0,0 +1,4 @@
1
+ //#region src/vue.ts
2
+ const entrypoint = "vue";
3
+ //#endregion
4
+ export { entrypoint };
package/package.json ADDED
@@ -0,0 +1,69 @@
1
+ {
2
+ "name": "@astralbeam/sdk",
3
+ "version": "0.0.1",
4
+ "description": "Frontend SDK for AstralBeam: drop-in agent UI, chat streaming, and server helpers",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "homepage": "https://astralbeam.ai",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/astralbeamai/astralbeam.git",
11
+ "directory": "sdk"
12
+ },
13
+ "files": ["dist"],
14
+ "sideEffects": false,
15
+ "exports": {
16
+ "./client": {
17
+ "types": "./dist/client.d.ts",
18
+ "default": "./dist/client.js"
19
+ },
20
+ "./server": {
21
+ "types": "./dist/server.d.ts",
22
+ "default": "./dist/server.js"
23
+ },
24
+ "./react": {
25
+ "types": "./dist/react.d.ts",
26
+ "default": "./dist/react.js"
27
+ },
28
+ "./vue": {
29
+ "types": "./dist/vue.d.ts",
30
+ "default": "./dist/vue.js"
31
+ },
32
+ "./package.json": "./package.json"
33
+ },
34
+ "publishConfig": {
35
+ "access": "public"
36
+ },
37
+ "scripts": {
38
+ "build": "tsdown",
39
+ "check": "deno task format:check && deno task lint && deno task typecheck && deno task knip",
40
+ "check:fix": "deno fmt && deno lint --fix",
41
+ "format": "deno fmt",
42
+ "format:check": "deno fmt --check",
43
+ "knip": "knip",
44
+ "knip:fix": "knip --fix --allow-remove-files && knip --fix --allow-remove-files && deno install",
45
+ "lint": "deno lint",
46
+ "lint:fix": "deno lint --fix",
47
+ "ready": "deno task check && deno task test && deno task build",
48
+ "test": "vitest run",
49
+ "typecheck": "tsc --noEmit"
50
+ },
51
+ "peerDependencies": {
52
+ "react": ">=18",
53
+ "vue": ">=3"
54
+ },
55
+ "peerDependenciesMeta": {
56
+ "react": {
57
+ "optional": true
58
+ },
59
+ "vue": {
60
+ "optional": true
61
+ }
62
+ },
63
+ "devDependencies": {
64
+ "knip": "^6.32.2",
65
+ "tsdown": "0.22.3",
66
+ "typescript": "^6.0.3",
67
+ "vitest": "4.1.10"
68
+ }
69
+ }