@astrale-os/adapter-cloudflare 0.2.0 → 0.2.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-os/adapter-cloudflare",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Deploy an Astrale domain as a standalone Cloudflare Worker",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"adapter",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"jose": "^6.1.3",
|
|
35
|
-
"@astrale-os/sdk": "^0.1.
|
|
35
|
+
"@astrale-os/sdk": "^0.1.9"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@astrale-os/ox": ">=0.1.0 <1.0.0",
|
|
@@ -91,7 +91,7 @@ Examples:
|
|
|
91
91
|
|
|
92
92
|
```bash
|
|
93
93
|
astrale call /:blog.acme.com:class.Author:list
|
|
94
|
-
astrale call /:blog.acme.com:
|
|
94
|
+
astrale call /:blog.acme.com:interface.NoteOps:createNote title=Hello
|
|
95
95
|
astrale call /blog.acme.com/alice::deactivate
|
|
96
96
|
astrale call @f00d...::deactivate
|
|
97
97
|
```
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: Astrale Domain
|
|
3
|
-
description:
|
|
3
|
+
description: Create, develop, deploy, and iterate an Astrale domain end-to-end — schema modeling (classes, interfaces, edges, methods), handler implementation, calling the kernel and other domains from handlers, integrating external APIs (the core use case — DI, secrets, idempotency, sagas), views, testing, and the deploy/install loop with the cloudflare or astrale adapter. Use whenever creating a domain, adding classes/methods/views, structuring external API calls, or debugging install/dispatch/permission errors. Pairs with the astrale-cli skill (CLI ops) — together they cover working an Astrale instance autonomously. `npx create-astrale-domain <name>` scaffolds a new domain project.
|
|
4
|
+
when_to_use: when asked to create or edit a domain.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Astrale Domain — the authoring bible
|
package/template/package.json
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"typecheck": "tsgo --noEmit"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@astrale-os/adapter-cloudflare": ">=0.2.
|
|
17
|
+
"@astrale-os/adapter-cloudflare": ">=0.2.1 <1.0.0",
|
|
18
18
|
"@astrale-os/kernel-core": ">=0.4.3 <1.0.0",
|
|
19
19
|
"@astrale-os/kernel-dsl": ">=0.1.2 <1.0.0",
|
|
20
|
-
"@astrale-os/sdk": ">=0.1.
|
|
20
|
+
"@astrale-os/sdk": ">=0.1.9 <1.0.0",
|
|
21
21
|
"@hono/node-server": "^1.19.0",
|
|
22
22
|
"zod": "^4.3.6"
|
|
23
23
|
},
|
|
@@ -23,6 +23,7 @@ allowBuilds:
|
|
|
23
23
|
'@astrale-os/kernel-dsl': false
|
|
24
24
|
'@astrale-os/kernel-server': false
|
|
25
25
|
'@astrale-os/sdk': false
|
|
26
|
+
'@astrale-os/shell': false
|
|
26
27
|
|
|
27
28
|
# @astrale-os packages ship a guarded no-op preinstall (a workspace-dev guard
|
|
28
29
|
# that exits instantly outside the monorepo); declare them intentionally
|
|
@@ -34,6 +35,7 @@ ignoredBuiltDependencies:
|
|
|
34
35
|
- '@astrale-os/kernel-dsl'
|
|
35
36
|
- '@astrale-os/kernel-server'
|
|
36
37
|
- '@astrale-os/sdk'
|
|
38
|
+
- '@astrale-os/shell'
|
|
37
39
|
|
|
38
40
|
# pnpm v11 gates `pnpm run` on a deps-status check that misfires on the
|
|
39
41
|
# ignored preinstalls above.
|