Catch missed content edits from tree restructure
The fe39fcb commit captured the file moves (git mv stages those automatically)
but didn't catch the content edits I made afterward — npm package rename
(@mizan/runtime → @mizan/base), path updates in Makefile/Dockerfile/examples,
and doc updates were all left unstaged at commit time.
This commit lands those:
- npm rename: 3 frontend package.jsons (base/vue/svelte) + mizan-base/src/index.ts + 4 codegen templates
- path updates: Makefile, Dockerfile.test, two Gitea workflows, four example/harness configs
- doc updates: CLAUDE.md, ROADMAP.md, ISSUES.md, docs/AFI_ARCHITECTURE.md
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -5,32 +5,21 @@ server-client unification layer.
|
||||
|
||||
## Package layout
|
||||
|
||||
Two layers per side. Independent packages, single shared protocol.
|
||||
Tree organized by role.
|
||||
|
||||
**Backend protocol adapters** — implement the wire protocol on a
|
||||
server stack:
|
||||
|
||||
| Package | Role |
|
||||
|---|---|
|
||||
| `mizan-django` | Django adapter |
|
||||
| `mizan-ts` | TypeScript adapter (proves the protocol is language-agnostic) |
|
||||
|
||||
**Frontend kernel + framework adapters** — the kernel is the
|
||||
imperative client primitive set; each framework adapter wraps the
|
||||
kernel in its own idiomatic constructs:
|
||||
|
||||
| Package | Role |
|
||||
|---|---|
|
||||
| `mizan-runtime` | Framework-agnostic client kernel — owns data, status, error; adapters subscribe |
|
||||
| `mizan-react` | React contexts + hooks over the kernel |
|
||||
| `mizan-vue` | Vue composables over the kernel |
|
||||
| `mizan-svelte` | Svelte stores/runes over the kernel |
|
||||
|
||||
**SSR worker:**
|
||||
|
||||
| Package | Role |
|
||||
|---|---|
|
||||
| `mizan-ssr` | Bun subprocess used by the Django template backend |
|
||||
```
|
||||
backends/ server protocol adapters
|
||||
mizan-django/ Django adapter
|
||||
mizan-ts/ TypeScript adapter (proves the protocol is language-agnostic)
|
||||
frontends/ client kernel + per-framework adapters
|
||||
mizan-base/ framework-agnostic kernel; owns data, status, error; adapters subscribe
|
||||
mizan-react/ React contexts + hooks over the kernel
|
||||
mizan-vue/ Vue composables over the kernel
|
||||
mizan-svelte/ Svelte stores/runes over the kernel
|
||||
cores/ shared language-level primitives (mizan-python forthcoming)
|
||||
workers/ runtime workers / bridges
|
||||
mizan-ssr/ Bun subprocess used by the Django template backend
|
||||
```
|
||||
|
||||
## Two orthogonal products
|
||||
|
||||
@@ -42,7 +31,7 @@ compose.
|
||||
|
||||
## Kernel model
|
||||
|
||||
The client kernel (`mizan-runtime`) is the one hard thing. Per-
|
||||
The client kernel (`mizan-base`) is the one hard thing. Per-
|
||||
framework adapters are thin idiomatic wrappers around it. Codegen
|
||||
emits typed bindings against the framework adapter's surface, not
|
||||
against the raw kernel — so a React developer gets `useEcho()` and
|
||||
|
||||
Reference in New Issue
Block a user