@aihu/adapter-cloudflare 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +74 -13
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,32 +1,93 @@
1
1
  # @aihu/adapter-cloudflare
2
2
 
3
- > Cloudflare Workers/Pages deployment adapter for @aihu/app.
3
+ > **Aihu** agentic discovery and interaction, for human purpose.
4
4
 
5
- Part of the [aihu](https://github.com/fellwork/aihu) framework agentic discovery and interaction, for human purpose.
5
+ Cloudflare Workers/Pages deployment adapter for @aihu/app.
6
+
7
+ Part of the **meta-framework** layer of Aihu. Provides whole-app capability — file-based routing, SSR, loaders, cookies — without the boilerplate other meta-frameworks impose. See [arch-1](../../docs/roadmap/arch-1-website.md) for the meta-framework contract.
8
+
9
+ <!-- BEGIN_HANDWRITTEN: prose -->
10
+ _(Hand-written prose lives in this block. Replace this placeholder; everything below is auto-generated.)_
11
+ <!-- END_HANDWRITTEN: prose -->
6
12
 
7
13
  ## Install
8
14
 
15
+ <!-- BEGIN_AUTOGEN: install -->
16
+ <!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->
17
+
9
18
  ```bash
10
19
  npm install @aihu/adapter-cloudflare
11
20
  # or
12
21
  bun add @aihu/adapter-cloudflare
13
22
  ```
14
23
 
15
- ## Usage
24
+ <sub><i>Auto-generated against `@aihu/adapter-cloudflare@0.1.1` on commit `f562354`.</i></sub>
16
25
 
17
- ```typescript
18
- // vite.config.ts
19
- import { defineConfig } from 'vite';
20
- import { aihu } from '@aihu/app';
21
- import cloudflare from '@aihu/adapter-cloudflare';
26
+ <!-- END_AUTOGEN: install -->
22
27
 
23
- export default defineConfig({ plugins: [aihu({ adapter: cloudflare() })] });
24
- ```
28
+ ## Package facts
29
+
30
+ <!-- BEGIN_AUTOGEN: stats -->
31
+ <!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->
32
+
33
+ | | |
34
+ |---|---|
35
+ | **Version** | `0.1.1` |
36
+ | **Tier** | B — Meta-framework — Cloudflare Workers/Pages deploy adapter |
37
+ | **Published files** | 3 entries |
38
+ | **License** | MIT |
39
+
40
+ <sub><i>Auto-generated against `@aihu/adapter-cloudflare@0.1.1` on commit `f562354`.</i></sub>
41
+
42
+ <!-- END_AUTOGEN: stats -->
43
+
44
+ ## Exports
45
+
46
+ <!-- BEGIN_AUTOGEN: exports -->
47
+ <!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->
48
+
49
+ | Subpath | ESM | CJS |
50
+ |---|---|---|
51
+ | `.` | `./dist/index.js` | `—` |
52
+
53
+ <sub><i>Auto-generated against `@aihu/adapter-cloudflare@0.1.1` on commit `f562354`.</i></sub>
54
+
55
+ <!-- END_AUTOGEN: exports -->
25
56
 
26
- ## Status
57
+ ## Dependencies
27
58
 
28
- Early access (`0.1.x`). API may evolve before v1.1 GA. See the [v1.1 roadmap](https://github.com/fellwork/aihu/tree/main/docs/roadmap) for stability commitments.
59
+ <!-- BEGIN_AUTOGEN: deps -->
60
+ <!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->
61
+
62
+ **Peer dependencies:**
63
+
64
+ - `@aihu/app` — `workspace:*`
65
+ - `vite` — `>=5.0.0`
66
+
67
+ <sub><i>Auto-generated against `@aihu/adapter-cloudflare@0.1.1` on commit `f562354`.</i></sub>
68
+
69
+ <!-- END_AUTOGEN: deps -->
70
+
71
+ ## See also
72
+
73
+ <!-- BEGIN_AUTOGEN: see-also -->
74
+ <!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->
75
+
76
+ - [@aihu/app](../app)
77
+ - [@aihu/server](../server)
78
+ - [Aihu framework root](../../README.md)
79
+
80
+ <sub><i>Auto-generated against `@aihu/adapter-cloudflare@0.1.1` on commit `f562354`.</i></sub>
81
+
82
+ <!-- END_AUTOGEN: see-also -->
29
83
 
30
84
  ## License
31
85
 
32
- MIT see [LICENSE](https://github.com/fellwork/aihu/blob/main/LICENSE).
86
+ <!-- BEGIN_AUTOGEN: license -->
87
+ <!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->
88
+
89
+ MIT — see [LICENSE](../../LICENSE).
90
+
91
+ <sub><i>Auto-generated against `@aihu/adapter-cloudflare@0.1.1` on commit `f562354`.</i></sub>
92
+
93
+ <!-- END_AUTOGEN: license -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aihu/adapter-cloudflare",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "prepublishOnly": "bun run build"
26
26
  },
27
27
  "peerDependencies": {
28
- "@aihu/app": "workspace:*",
28
+ "@aihu/app": "0.1.0",
29
29
  "vite": ">=5.0.0"
30
30
  },
31
31
  "description": "Cloudflare Workers/Pages deployment adapter for @aihu/app.",