Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
raea.root is never ~/Studio by default: with none set, a workspace someone names goes in ~/Documents/raea (or ~/raea under iCloud), and ~/Studio, the root on raea's own Mac before 11-10, is no one else's (Shane 11-14: "no internal no studio, its up to the user to set their workspace"). raea-feed's host says the same (integration-014 c01686e); raea's own Mac keeps ~/Studio through raea.root.
shinyobjectz1c933003615e
diff --git a/apps/workspace/src/tests.rs b/apps/workspace/src/tests.rsindex 2b3389c5..c9fe4e96 100644--- a/apps/workspace/src/tests.rs+++ b/apps/workspace/src/tests.rs@@ -129,12 +129,10 @@ fn doctor_finds_old_briefs_and_old_skills() {fn the_root_with_none_set() {let home = scratch("home-root");assert_eq!(default_root(&home), home.join("Documents/raea"));- // an empty ~/Studio isn't one; one with a workspace stays the root- std::fs::create_dir_all(home.join("Studio/notes")).unwrap();- assert_eq!(default_root(&home), home.join("Documents/raea"));+ // never ~/Studio, even with a workspace in it (Shane 11-14: "no internal no studio"; raea.root says otherwise)std::fs::create_dir_all(home.join("Studio/acme/.raea")).unwrap();std::fs::write(home.join("Studio/acme/.raea/workspace"), "").unwrap();- assert_eq!(default_root(&home), home.join("Studio"));+ assert_eq!(default_root(&home), home.join("Documents/raea"));// iCloud keeping Documents: ~/raealet synced = scratch("home-icloud");std::fs::create_dir_all(synced.join("Library/Mobile Documents/com~apple~CloudDocs/Documents")).unwrap();diff --git a/apps/workspace/src/workspace.rs b/apps/workspace/src/workspace.rsindex d4183b9b..5f67bee7 100644--- a/apps/workspace/src/workspace.rs+++ b/apps/workspace/src/workspace.rs@@ -100,31 +100,19 @@ pub fn root() -> PathBuf {}}-/// Where workspaces go with no raea.root set: ~/Studio where workspaces are already (the root before 11-10), else-/// ~/Documents/raea, or ~/raea when iCloud keeps the Documents folder (a workspace's git history and footage don't-/// belong in a synced folder). The feed's host says the same (raea-feed host/workspace.ts defaultRoot).+/// Where a workspace someone names goes with no raea.root set: ~/Documents/raea, or ~/raea when iCloud keeps the+/// Documents folder (a workspace's git history and footage don't belong in a synced folder). Nothing is made there+/// until the person or an agent sets a workspace up (`raea workspace init NAME`); ~/Studio, the root on raea's own Mac+/// before 11-10, is no one else's (Shane 11-14: "no internal no studio"). The feed's host says the same (raea-feed+/// host/workspace.ts defaultRoot).pub fn default_root(home: &Path) -> PathBuf {- let studio = home.join("Studio");- if holds_workspace(&studio) {- studio- } else if home.join("Library/Mobile Documents/com~apple~CloudDocs/Documents").is_dir() {+ if home.join("Library/Mobile Documents/com~apple~CloudDocs/Documents").is_dir() {home.join("raea")} else {home.join("Documents/raea")}}-/// Whether a folder in `dir` is a workspace (it has .raea/workspace).-fn holds_workspace(dir: &Path) -> bool {- let Ok(entries) = std::fs::read_dir(dir) else { return false };- for e in entries.flatten() {- if e.path().join(".raea/workspace").exists() {- return true;- }- }- false-}-/// The include in a repo's own config that makes `git config` read a committed file. Idempotent; the path is relative/// to the config file, which for a submodule lives under the workspace's .git/modules.pub(crate) fn include(repo: &Path, file: &Path) -> R<()> {