create-astroid 0.9.1 → 0.9.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": "create-astroid",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Scaffold a new Astroid site — an editable, multi-editor Astro app on Cloudflare Workers — in one command.",
5
5
  "keywords": [
6
6
  "astro",
@@ -32,10 +32,10 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@better-auth/passkey": "^1.7.2",
35
- "@louise-toolkit/astro": "^0.3.0",
36
- "astroidjs": "0.17.0",
35
+ "@louise-toolkit/astro": "^0.5.0",
36
+ "astroidjs": "0.18.0",
37
37
  "better-auth": "^1.7.2",
38
- "louise-toolkit": "^0.34.0"
38
+ "louise-toolkit": "^0.36.0"
39
39
  },
40
40
  "engines": {
41
41
  "node": ">=26.0.0"
@@ -56,6 +56,19 @@ wrangler deploy
56
56
  <!-- Who deploys, from where, and what gates it? If deploys are automatic on push
57
57
  to main, say so here—that is the first thing a new person asks. -->
58
58
 
59
+ ## Is it up?
60
+
61
+ ```sh
62
+ curl -i https://<your-host>/api/louise/status
63
+ ```
64
+
65
+ 200 means D1 answers and the home page has content; 503 names the check that
66
+ failed, as a boolean, in the JSON body. Point an uptime monitor at this URL.
67
+ Add your own checks in `src/status-checks.ts` (turn it on with
68
+ `status: { checks: true }` in `astroid.config.ts`).
69
+
70
+ <!-- Which monitor watches this URL, and who it alerts. -->
71
+
59
72
  ## D1 migrations
60
73
 
61
74
  ```sh
@@ -17,6 +17,9 @@ type CloudflareEnv = {
17
17
  * health scan to know what to crawl, and by anything else that needs an
18
18
  * absolute URL from inside the Worker. */
19
19
  SITE_URL: string;
20
+ /** AI Gateway id for the editor's AI assists—declared in wrangler.jsonc
21
+ * `vars`. Empty calls Workers AI directly (see `astroidAiGateway`). */
22
+ AI_GATEWAY_ID?: string;
20
23
  /**
21
24
  * Edge caching for published pages — `"true"` to enable (ADR 0004). A string,
22
25
  * not a boolean, because wrangler `vars` are strings.