Files
raea/sdk/react
shane d873402ac5 raea goal is the loop, raea make the asset tools (#269)
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.
2026-11-29 18:43:09 -08:00
..
2026-10-21 16:17:59 -07:00
2026-10-31 13:15:29 -07:00

react

raea-runtime-react and its CLI, raea: the engine that runs raea compositions. React runs on JavaScriptCore inside Bevy; each frame's tree is read back and lowered to raea-render rows, which Bevy draws.

raea render EDIT.tsx -o OUT.mp4 | OUT.png | DIR   [--frame N | --at A,B]
raea play EDIT.tsx           play live in a window (games take keyboard and pointer input)
raea run SCRIPT.ts           run a script's default export inside the engine
raea test FILE...            run bun:test-style files inside the engine
raea types -o FILE.ts        write the native calls' TypeScript types
  • src/: the engine (motion.rs and its modules; page, sound, live and export are runtime/ crates); the raea binary is engine/cli (crate raea-cli).
  • js/: the JavaScript side of the bridge (bundles are made by raea-bundle's library: Rolldown, in process).
  • ios/: the same engine on the iPhone, as a library a probe app links.
  • bench/: example games (games/), a render-vs-play corpus (corpus/), timeline checks and a playtest prototype.

Build with cargo build --release -p raea-cli from the repository root. Depends on runtime/js/, engine/render/, io/media/, engine/native/, engine/modules/, and optionally the sandbox's wsx.

Status: in use; the main way to render with raea.