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
skills.sh's feed-app reading moves to tools/skills-app.sh, which it sources: skills.sh was 513 lines, over the 500 limit. release.sh counts the new file among the skills gate's inputs
shinyobjectz2c54a94c006e
diff --git a/tools/release.sh b/tools/release.shindex 816c05cd..6546e75c 100755--- a/tools/release.sh+++ b/tools/release.sh@@ -66,7 +66,7 @@ raea_bin=$bin/raea; [ -f "$raea_bin.exe" ] && raea_bin=$raea_bin.exe# checkout), and it counts for REF only when what the gate reads (the skills and guides, the glossary, the CLI's usage,# skills.sh) is the same at both. With neither, the release refuses (T1f, 11-07)# the raea skill lives in the raea-skills submodule (skills/), so its pointer stands for their text-gate_inputs=(skills sdk/guides docs/skills.glossary.md engine/cli/src tools/skills.sh)+gate_inputs=(skills sdk/guides docs/skills.glossary.md engine/cli/src tools/skills.sh tools/skills-app.sh)# raea-skills (skills/) at the commit REF pins, written into DIR: a submodule isn't in REF's own archiveskills_at() {local pin; pin=$(git rev-parse "$ref:skills") || { echo "release.sh: $ref pins no raea-skills (skills/)" >&2; return 1; }diff --git a/tools/skills-app.sh b/tools/skills-app.shnew file mode 100644index 00000000..d0aa9ee0--- /dev/null+++ b/tools/skills-app.sh@@ -0,0 +1,29 @@+# Sourced by tools/skills.sh (its feed app, split out to keep it under 500 lines): where the feed app's files are read+# from, as APP and APP_REV, and app_show and app_grep to read them. The app is the one in this tree when the tree has it+# (apps/app is raea's own since 11-16, docs/public-first.feature), read as its files are, so what's generated follows the+# commit being checked. A tree without it (before 11-16) reads RAEA_APP, the app's own checkout (default apps/app; L0+# names the shared one), at RAEA_APP_REV, the commit raea's tree records for it (L0 passes its tree's), not whatever that+# checkout has on disk. check-cli reads none of it.+# shellcheck shell=bash+APP=${RAEA_APP:-apps/app} APP_REV=+# check-cli reads only raea's help, so it runs where the feed app isn't (a public checkout: release.yml's runners)+if [ "${1:-}" != check-cli ]; then+ # the app in this tree, tracked here: its files as they are, whatever RAEA_APP names+ if git ls-files --error-unmatch apps/app/src/acp/protocol.ts >/dev/null 2>&1; then APP=apps/app; fi+ [ -f "$APP/src/acp/protocol.ts" ] || { echo "skills.sh: no feed app at $APP (RAEA_APP names its checkout)" >&2; exit 2; }+ APP=$(cd "$APP" && pwd)+ # an app with a checkout of its own (raea-feed, before 11-16): read at the commit raea records+ if [ -e "$APP/.git" ]; then+ APP_REV=${RAEA_APP_REV:-$(git rev-parse -q --verify HEAD:apps/app 2>/dev/null || git -C "$APP" rev-parse HEAD)}+ git -C "$APP" cat-file -e "$APP_REV" 2>/dev/null || { echo "skills.sh: apps/app has no commit $APP_REV (fetch raea-feed)" >&2; exit 2; }+ fi+fi+# a file of the app's, from its root: at APP_REV in its own checkout, else as it is in this tree+app_show() { if [ -n "$APP_REV" ]; then git -C "$APP" show "$APP_REV:$1"; else cat "$APP/$1"; fi; }+# git grep over the app's tracked files (OPTION... PATTERN -- PATHSPEC...), paths from its root+app_grep() {+ local a=()+ while [ $# -gt 0 ] && [ "$1" != -- ]; do a+=("$1"); shift; done+ if [ -n "$APP_REV" ]; then git -C "$APP" grep "${a[@]}" "$APP_REV" "$@" | sed "s|^$APP_REV:||"+ else git -C "$APP" grep "${a[@]}" "$@"; fi+}diff --git a/tools/skills.sh b/tools/skills.shindex ed597cb4..fd849a53 100755--- a/tools/skills.sh+++ b/tools/skills.sh@@ -27,11 +27,8 @@# Sources: cli.md from `raea help --json` (engine/cli/src/usage.rs); feed.md from FEED_TOOLS (apps/app# src/acp/protocol.ts), with each tool's access tag; files.md from a workspace and project raea makes in a scratch# folder, and the ~/.raea paths engine/cli and the feed's host name; sdk.md from the exports of each sdk/raea/src entry.-# RAEA_BIN picks the raea (default: this checkout's target/debug/raea, else target/release/raea, else PATH). The feed-# app is the one in this tree when the tree has it (apps/app is raea's own since 11-16, docs/public-first.feature), read-# as its files are, so what's generated follows the commit being checked. A tree without it (before 11-16) reads-# RAEA_APP, the app's own checkout (default apps/app; L0 names the shared one), at RAEA_APP_REV, the commit raea's tree-# records for it (L0 passes its tree's), not whatever that checkout has on disk.+# RAEA_BIN picks the raea (default: this checkout's target/debug/raea, else target/release/raea, else PATH); where the+# feed app is read from, tools/skills-app.sh.set -euo pipefailROOT=$(cd "$(dirname "$0")/.." && pwd)cd "$ROOT"@@ -59,28 +56,8 @@ copies() {COPY_DIRS="3d motion craft craft/modes craft/verbs craft/checks craft/match-cuts"SKILL_ONLY="3d/plugins.md 3d/rows.md"HEAD_LINE="<!-- generated by tools/skills.sh gen; do not edit -->"-APP=${RAEA_APP:-apps/app} APP_REV=-# check-cli reads only raea's help, so it runs where the feed app isn't (a public checkout: release.yml's runners)-if [ "${1:-}" != check-cli ]; then- # the app in this tree, tracked here: its files as they are, whatever RAEA_APP names- if git ls-files --error-unmatch apps/app/src/acp/protocol.ts >/dev/null 2>&1; then APP=apps/app; fi- [ -f "$APP/src/acp/protocol.ts" ] || { echo "skills.sh: no feed app at $APP (RAEA_APP names its checkout)" >&2; exit 2; }- APP=$(cd "$APP" && pwd)- # an app with a checkout of its own (raea-feed, before 11-16): read at the commit raea records- if [ -e "$APP/.git" ]; then- APP_REV=${RAEA_APP_REV:-$(git rev-parse -q --verify HEAD:apps/app 2>/dev/null || git -C "$APP" rev-parse HEAD)}- git -C "$APP" cat-file -e "$APP_REV" 2>/dev/null || { echo "skills.sh: apps/app has no commit $APP_REV (fetch raea-feed)" >&2; exit 2; }- fi-fi-# a file of the app's, from its root: at APP_REV in its own checkout, else as it is in this tree-app_show() { if [ -n "$APP_REV" ]; then git -C "$APP" show "$APP_REV:$1"; else cat "$APP/$1"; fi; }-# git grep over the app's tracked files (OPTION... PATTERN -- PATHSPEC...), paths from its root-app_grep() {- local a=()- while [ $# -gt 0 ] && [ "$1" != -- ]; do a+=("$1"); shift; done- if [ -n "$APP_REV" ]; then git -C "$APP" grep "${a[@]}" "$APP_REV" "$@" | sed "s|^$APP_REV:||"- else git -C "$APP" grep "${a[@]}" "$@"; fi-}+# the feed app: APP, APP_REV, app_show and app_grep+. "$ROOT/tools/skills-app.sh"raea_bin() {if [ -n "${RAEA_BIN:-}" ]; then echo "$RAEA_BIN"