native
native copied to clipboard
Add application-defined external effects
Closes #131.
Adds fx.external so apps can run app-owned native work through the existing effect lifecycle. Native SDK owns limits, cancellation, UI-thread delivery, and deterministic record/replay.
Example: melearner sends list_courses to its Rust core and receives the result as a normal Msg, without melearner-specific SDK APIs.
Session journals move to v7, so older journals must be re-recorded.
Verified:
zig build testzig build validatezig build test-examples-frontendszig build test-examples-nativezig build test-examples-mobilecd docs && pnpm install --frozen-lockfile && NEXT_DIST_DIR=.next-gate pnpm check
@WhiteHades is attempting to deploy a commit to the Vercel Labs Team on Vercel.
A member of the Team first needs to authorize it.