feat(host): add typed host capability boundary
Introduce hemx-host with typed capability manifests, calls, events, host-check failures, reusable browser/PWA and native-shell profiles, and a tiny optional browser adapter for haptics/share that returns host events without DOM mutation. req: host/001 req: host/002 req: host/003 req: host/004 req: host/005
This commit is contained in:
@@ -92,6 +92,10 @@ and integrate at explicit boundaries. req: laws/002 req: auth/001
|
||||
- **PWA/offline/sync:** optional adapters may reuse generated targets/effects,
|
||||
but core hemx must not gain a mandatory client state graph or local app
|
||||
runtime. See `docs/recipes/pwa-offline.md`. req: canonical_authoring/008
|
||||
- **Host capabilities:** browser, PWA, WebView, and native-shell capabilities use
|
||||
`hemx-host` manifests/calls/events. Adapters return host facts to app code;
|
||||
UI still changes through normal hemx effects. See
|
||||
`docs/recipes/host-capabilities.md`. req: host/001 req: host/002 req: host/005
|
||||
|
||||
## Escape hatches
|
||||
|
||||
|
||||
Reference in New Issue
Block a user