@aihu/app 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 +80 -12
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -1,31 +1,99 @@
1
1
  # @aihu/app
2
2
 
3
- > Top-level app integration wires runtime, router, and adapters into a Vite 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
+ Top-level app integration wires runtime, router, and adapters into a Vite 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/app
11
20
  # or
12
21
  bun add @aihu/app
13
22
  ```
14
23
 
15
- ## Usage
24
+ <sub><i>Auto-generated against `@aihu/app@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';
26
+ <!-- END_AUTOGEN: install -->
21
27
 
22
- export default defineConfig({ plugins: [aihu()] });
23
- ```
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 — top-level integration of runtime, router, adapter |
37
+ | **Bundle size** | 741 B (gz) — limit 800 B |
38
+ | **Published files** | 3 entries |
39
+ | **License** | MIT |
40
+
41
+ <sub><i>Auto-generated against `@aihu/app@0.1.1` on commit `f562354`.</i></sub>
42
+
43
+ <!-- END_AUTOGEN: stats -->
44
+
45
+ ## Exports
46
+
47
+ <!-- BEGIN_AUTOGEN: exports -->
48
+ <!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->
49
+
50
+ | Subpath | ESM | CJS |
51
+ |---|---|---|
52
+ | `.` | `./dist/index.js` | `—` |
53
+ | `./client` | `./dist/client.js` | `—` |
54
+
55
+ <sub><i>Auto-generated against `@aihu/app@0.1.1` on commit `f562354`.</i></sub>
56
+
57
+ <!-- END_AUTOGEN: exports -->
24
58
 
25
- ## Status
59
+ ## Dependencies
26
60
 
27
- 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.
61
+ <!-- BEGIN_AUTOGEN: deps -->
62
+ <!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->
63
+
64
+ **Peer dependencies:**
65
+
66
+ - `@aihu/arbor` — `workspace:*`
67
+ - `@aihu/router` — `workspace:*`
68
+ - `@aihu/runtime` — `workspace:*`
69
+ - `@aihu/signals` — `workspace:*`
70
+ - `vite` — `>=5.0.0`
71
+
72
+ <sub><i>Auto-generated against `@aihu/app@0.1.1` on commit `f562354`.</i></sub>
73
+
74
+ <!-- END_AUTOGEN: deps -->
75
+
76
+ ## See also
77
+
78
+ <!-- BEGIN_AUTOGEN: see-also -->
79
+ <!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->
80
+
81
+ - [arch-1 (website)](../../docs/roadmap/arch-1-website.md)
82
+ - [@aihu/router](../router)
83
+ - [@aihu/adapter-cloudflare](../adapter-cloudflare)
84
+ - [Aihu framework root](../../README.md)
85
+
86
+ <sub><i>Auto-generated against `@aihu/app@0.1.1` on commit `f562354`.</i></sub>
87
+
88
+ <!-- END_AUTOGEN: see-also -->
28
89
 
29
90
  ## License
30
91
 
31
- MIT see [LICENSE](https://github.com/fellwork/aihu/blob/main/LICENSE).
92
+ <!-- BEGIN_AUTOGEN: license -->
93
+ <!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->
94
+
95
+ MIT — see [LICENSE](../../LICENSE).
96
+
97
+ <sub><i>Auto-generated against `@aihu/app@0.1.1` on commit `f562354`.</i></sub>
98
+
99
+ <!-- END_AUTOGEN: license -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aihu/app",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,15 +28,15 @@
28
28
  "prepublishOnly": "bun run build"
29
29
  },
30
30
  "peerDependencies": {
31
- "@aihu/arbor": "workspace:*",
32
- "@aihu/router": "workspace:*",
33
- "@aihu/runtime": "workspace:*",
34
- "@aihu/signals": "workspace:*",
31
+ "@aihu/arbor": "0.1.0",
32
+ "@aihu/router": "0.1.0",
33
+ "@aihu/runtime": "0.1.0",
34
+ "@aihu/signals": "0.1.0",
35
35
  "vite": ">=5.0.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@aihu/agent-readiness": "workspace:*",
39
- "@aihu/compiler": "workspace:*"
38
+ "@aihu/agent-readiness": "0.1.0",
39
+ "@aihu/compiler": "0.1.0"
40
40
  },
41
41
  "description": "Top-level app integration — wires runtime, router, and adapters into a Vite app.",
42
42
  "repository": {