14 Commits
Author SHA1 Message Date
shinyobjectz 1d04a18d54 R3F19: raea's bundler resolves three and three/webgpu imported by the edit's own code (the work folder's src/ and ext/, never the SDK's copies: the playable host keeps three's real renderer) to the r3f copy's vanilla.ts and vanilla-webgpu.ts, so a plain three.js program's new THREE.WebGLRenderer() is raea's stand-in with no import of raea's (engine/bundle edit.rs, its own-code test). tools/parity.sh and shoot.ts run in-vanilla. docs/r3f.feature tags R3F19 @done: in-vanilla SSIM 0.9921 through the bundler, the R3F cases whose three is now the stand-in module unchanged (in-basic 0.9917, in-shader 0.9935, in-drei 0.9932, in-tsl-lit 0.9906, in-instanced 0.9819, in-sky 0.9986) 2026-11-15 11:54:51 -08:00
shinyobjectz d6d7a520a7 #151: a package that imports raea shares the composition's SDK. A package in the project's node_modules (or the person's plugins) importing "raea", "raea/<module>" or "@raea/<package>" resolves to the work folder's copy of that module, where the composition's own imports were pointed (engine/bundle edit.rs sdk_copy, by sdk/tsconfig.base.json's paths), so one SDK and one Clock. A package isn't rewritten as the edit's own files are, so its import resolved nothing and Rolldown left raea an outside global: 0.1.3 refused it before the first frame with "Can't find variable: raea" while the same file by a relative path drew. Checked: the issue's repro (vk-parts) refused with 0.1.3's shipped bundler, draws the bar at frame 29's width with this one; engine/bundle/tests/bundle.rs a_package_importing_the_sdk_gets_the_work_folders_copy (8/8 pass). docs/ecosystem.feature EC13 2026-11-14 13:42:16 -08:00
shinyobjectz ca54307223 DR1: raea world reads a frame into one world of facts
runtime/world (raea-runtime-world) steps a composition's React to the asked frames, as raea scene lint steps it,
and reads each into raea-core-facts entities: the 3D layer with its Camera (velocity from the next frame) and
Parts measured from their triangles, Text3D as Text and Part; the page laid out by the render's own Blitz page with
nothing painted (BevyPage::lay_out), so text has its box, size, font and line count; Sequences as Shots (from and
to; Sequence now stamps data-raea-end), footage as Clips with SHA-256 and their take's words, sounds as Cues, the
project transcript's lines and <Speech> lines; each entity's Source from the code stamps. <style>/<script> text is
not read as words.

apps/direction: raea world EDIT.tsx [--frame N | --at A-B|A,B] [--find JSON] [--no-layout] [--json]; --find spans
media (with, without, where Comp.field).

Folds: raea_runtime_react::scene::surface, raea_runtime_bake::runs, raea_core_facts::Word/transcript_words (raea
check's). Stamps name Audio. The time a layout-only page update gets is sent as a drawn update sends it.
2026-11-10 07:47:50 -08:00
shinyobjectz b85409d738 Layer pass conformance (docs/review.feature R2e): a flat <Screen> and a skinned character (RobotExpressive, CC0, walking) in bench/layers/conformance.tsx, each one layer. A Screen carries its source stamp (engine/bundle stamp.rs PART_NAMES), and an ImagePlane or Screen panel gets its LayerKey and RAEA_HIDE_LAYERS visibility like a mesh (runtime/scene lib.rs bevy_parts; models.rs panels_rows sends its components). A fifth mutant, bind (a skinned mesh drawn in its bind pose, systems/frame layer.rs posed), fails at IoU 0.80, so the oracle checks the pose. All 18 layers IoU >= 0.962; all five mutants fail. 2026-11-09 13:27:32 -08:00
shinyobjectz c03edea294 Layer pass oracle (docs/review.feature R2e, work in progress, parked with the source stamps): bench/layers/conformance.tsx (two 3D meshes, a component used twice, a page element, text, an image, a rotated element and a .map() list, overlapping) and oracle.sh (each layer hidden in turn at three moments, the pixels that change as quarter-size masks, sampled as NAME.layers' are); all 14 layers' hides change their pixels. Stamps: raea's page parts (Img, Video, AbsoluteFill) stamped as 3D parts are; the work folder's motion/prelude read as raea; data-raea-idx kept through the page bridge. 2026-11-09 12:45:05 -08:00
shinyobjectz 09a935abd0 Layer keys (docs/review.feature R2a, work in progress, parked with the source stamps): a .map()'s key in the stamps (data-raea-idx, and loc#key in a use chain); raea's 3D parts (Mesh3d, Model, Entity…) stamped and given a LayerKey component (raea_sys_frame::layer) from it in runtime/scene; the work folder's SDK imports (../motion/x) read as raea's, not the edit's own; only components that read their children's types keep them unwrapped; RAEA_HIDE_LAYERS hides a layer by key (page CSS from its stamps, a 3D part's Visibility) for the layer pass's oracle. Not for landing before the layer pass. 2026-11-09 12:45:05 -08:00
shinyobjectz e1914cabca Source stamps (work in progress, parked): engine/bundle's stamp.rs and its lib.rs and test hunks, parked by the orchestrator so #51's fix can land in the same crate; not for landing until its owner finishes it 2026-11-09 12:45:05 -08:00
shinyobjectz 8b94190778 Plugins a person installs: compositions import them after the project's own packages (engine/bundle edit.rs: RAEA_PLUGINS, else ~/.raea/plugins), and docs/ecosystem.feature records phase 2's start (the manifest, per-person installs, approval, permissions, a network allowlist; tools, panels and item types) and the two answered questions 2026-11-09 08:21:24 -08:00
shinyobjectz bcfdb9e2b0 Windows: live play bundles the live runtime's React again. The edit resolver took an importer as the edit's own only when its path started with the work folder's canonical one, but the resolver names a module as its path was given: on GitHub's Windows runners TEMP is the 8.3 C:\Users\RUNNER~1\.., which canonicalize() spells runneradmin, so no importer was the edit's, the live harness's react went to the engine's CommonJS copy, and every raea play threw "not a function" (its __h) before the first frame, in every Windows build so far. The importer is canonicalized as the folders are, and a package is told by a node_modules component, not a /node_modules/ substring a backslashed id never has. A unit test names the work folder by a symlink 2026-11-08 14:40:10 -08:00
shinyobjectz 21f9dd6936 Windows: an app's press reaches its handlers. A file the bundle's resolver names has one module id however its path was written: raea:script's ids are rebuilt from their components (one separator, no . or doubled ones) and lose canonicalize()'s verbatim prefix. On Windows an app's @raea/ui aliases were joined with mixed separators (sdk/ui/src under a backslashed home) while Rolldown resolved react.ts's ./wire with backslashes only, so the bundle carried two wires; the second took __ui_deliver with none of the first's handlers, and every press was dropped with no error. A unit test gives two spellings of one file one id (#51) 2026-11-08 10:20:40 -08:00
shane d3c399b4d5 raea origin/main 2026-11-07 01:29:24 -08:00
shinyobjectz 5e1c192d29 raea 9565b5f97 2026-11-06 16:27:57 -08:00
shinyobjectz f675b0ad2b raea dc579e418 2026-10-31 13:15:29 -07:00
shinyobjectz a7d0117f16 raea v0.0.2 2026-10-21 16:17:59 -07:00