Files
raea/engine/native
shaneandshinyobjectz bda521b3ce goal judge --by clef (the critic on raea cloud), and the skill's references for 0.1.15 (#284)
* The raea skill's references say make component list WORDS and render --keys (raea-skills #145)

* raea goal judge --by clef: clef-omni judges says rules on the files they name, and is the critic where an agent key is set (a raea cloud box has no Claude sign-in in the agent's shell)

* raea's own files find the packages raea ships: a release's render no longer ends "Cannot find package 'react'" with exit 1, and raea goal check runs outside a build tree (#278)

---------

Co-authored-by: shinyobjectz <[email protected]>
2026-11-30 20:15:26 -08:00
..
2026-10-31 13:15:29 -07:00

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.