@cloudhal/cli 0.3.5 → 0.3.7

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.
@@ -14,18 +14,18 @@
14
14
  "astro": "astro"
15
15
  },
16
16
  "dependencies": {
17
- "@cloudhal/astro-renderer": "0.3.5",
18
- "@cloudhal/core-ts": "0.3.5",
17
+ "@cloudhal/astro-renderer": "0.3.7",
18
+ "@cloudhal/core-ts": "0.3.7",
19
19
  "@tailwindcss/vite": "^4.3.3",
20
20
  "astro": "7.3.6",
21
21
  "better-sqlite3": "13.0.3",
22
22
  "tailwindcss": "^4.3.3",
23
23
  "@astrojs/cloudflare": "14.3.4",
24
- "@cloudhal/cli": "0.3.5"
24
+ "@cloudhal/cli": "0.3.7"
25
25
  },
26
26
  "devDependencies": {
27
27
  "wrangler": "^4.148.0",
28
- "@cloudhal/cloudflare": "0.3.5"
28
+ "@cloudhal/cloudflare": "0.3.7"
29
29
  },
30
30
  "trustedDependencies": [
31
31
  "better-sqlite3",
Binary file
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><title>Cloudhal</title><rect width="64" height="64" rx="14" fill="#b4441f"/><circle cx="32" cy="32" r="21.3" fill="#5a200c"/><circle cx="32" cy="32" r="16.5" fill="none" stroke="#f6c3ad" stroke-width="1.6"/><circle cx="32" cy="32" r="10.7" fill="#ee8a64"/><circle cx="32" cy="32" r="4.8" fill="#fff4ec"/></svg>
@@ -4,6 +4,9 @@
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <title>Cloudhal Studio</title>
7
+ <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
8
+ <link rel="icon" href="/favicon.ico" sizes="32x32" />
9
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
7
10
  <script>
8
11
  // Apply the stored colour scheme (light, dark, or the OS's) before first paint; Kumo switches
9
12
  // themes on data-mode (DESIGN.md §4). Keep the key in sync with src/lib/theme.ts.
@@ -136,8 +136,13 @@ export async function must(
136
136
 
137
137
  /** URLs of a deployed Worker from wrangler's structured output. */
138
138
  export function deployedUrls(records ) {
139
- return records
140
- .filter((r) => r.type === "deploy")
141
- .flatMap((r) => (Array.isArray(r.targets) ? (r.targets ) : []))
142
- .map((t) => (t.startsWith("http") ? t : `https://${t}`));
139
+ return (
140
+ records
141
+ .filter((r) => r.type === "deploy")
142
+ .flatMap((r) => (Array.isArray(r.targets) ? (r.targets ) : []))
143
+ // Wrangler lists custom domains as "cloudhal.com (custom domain)": keep the hostname only.
144
+ .map((t) => t.trim().split(/\s+/)[0] ?? "")
145
+ .filter(Boolean)
146
+ .map((t) => (t.startsWith("http") ? t : `https://${t}`))
147
+ );
143
148
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudhal/cli",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "cloudhal — create, run and build Cloudhal sites locally",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://cloudhal.dev",
@@ -27,16 +27,16 @@
27
27
  "README.md"
28
28
  ],
29
29
  "dependencies": {
30
- "@cloudhal/agent-runtime": "0.3.5",
31
- "@cloudhal/analytics": "0.3.5",
32
- "@cloudhal/api": "0.3.5",
33
- "@cloudhal/cloudflare": "0.3.5",
34
- "@cloudhal/comments": "0.3.5",
35
- "@cloudhal/core-contracts": "0.3.5",
36
- "@cloudhal/core-ts": "0.3.5",
37
- "@cloudhal/mcp-server": "0.3.5",
38
- "@cloudhal/schedules": "0.3.5",
39
- "@cloudhal/storage": "0.3.5",
30
+ "@cloudhal/agent-runtime": "0.3.7",
31
+ "@cloudhal/analytics": "0.3.7",
32
+ "@cloudhal/api": "0.3.7",
33
+ "@cloudhal/cloudflare": "0.3.7",
34
+ "@cloudhal/comments": "0.3.7",
35
+ "@cloudhal/core-contracts": "0.3.7",
36
+ "@cloudhal/core-ts": "0.3.7",
37
+ "@cloudhal/mcp-server": "0.3.7",
38
+ "@cloudhal/schedules": "0.3.7",
39
+ "@cloudhal/storage": "0.3.7",
40
40
  "@hono/node-server": "^2.1.4",
41
41
  "better-sqlite3": "13.0.3"
42
42
  },