mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 06:53:19 -10:00
One loop, raea goal: every rule in TypeScript, held at edit, render, publish and done (goal check, tasks, judge, seen, gates, next); the brief's contract is goal: (one goal or a list, a workflow inline), and its plan is plan:. raea make is making a finished asset: character, clothes, motion, solid, wear, splat, physics, bake, sounds, component, the kit pipeline and shots. Instruments (check, judge, ask, world, scene faults, light check) stay top-level. With it: the montage pack (MK48-MK51), JavaScriptCore fixes raea goal needs (CommonJS named exports, reserved words too, dynamic import of file URLs, process.exit from a promise, stdin for -), raea-cli-goal and raea-cli-refused split out of raea-cli, and skills at raea-skills 105aede.
native
raea-native: raea's native calls on JavaScriptCore. TypeScript reaches Rust through one function,
__raea_call(name, json); the names it can call live in the registry (core/calls/), each with the
TypeScript types of its arguments and answer, registered by whichever crate implements it. raea types writes the
types raea imports, so a call that doesn't exist or takes the wrong arguments fails to type-check.
It holds the JavaScriptCore binding (src/jsc.rs), the web shims bundles expect (src/web/: TextEncoder, URL,
AbortController, crypto, Blob, ...), and seeds the registry with the shell's native tools
(io/shell/: the filesystem, HTTP under a policy, SQLite, tar, HTML to Markdown).
runtime/js/ and sdk/react/ depend on it.