Files
shinyobjectz bbd7369548 One loop, raea goal: every rule in TypeScript, held at edit, render, publish and done; raea make is the asset tools
The rules are raea/goal's (sdk/goal), run by `raea goal check` at four moments: the hook after a save, every
render's end, raea cloud's publish, and the Stop hook. Rust's cut and goal gates and the box's word, sound, frame and
place checks are packs (MK30-MK39); runtime/cut-plan, runtime/goal-plan, raea make status and the box's check code
are gone with no alias (MK41).

brief.ts is the one registered root (MK43): raea runs it, and every file that imports raea must be reached from it
(the registered check, an error at publish and done). Its tasks are its `plan` (MK44), read from its run and written
back where each is written by `raea goal tasks`, the one path for the app, agents and the box. Its `goal` is one
goal or a workflow of several (MK46), each with its step, after and rules, checked and reported alone. Taste lines
and signed asks run inside the loop (MK47).

`raea goal check|tasks|seen|judge|gates|next` is the loop; `raea make clothes|motion|solid|wear|splat|physics|bake|
sao|tokensynth|sounds|component|blockout|...` the asset tools (MK45). Old names are refused with where they went.
docs/make.feature is docs/goal.feature; tools/legacy-names.sh holds the old names out.

raea's Node mode on JavaScriptCore now gives a CommonJS package's names as named exports (React's jsx), loads a
file a tool imports by URL, keeps process.exit's code from a promise callback, and reads stdin as fd 0, so the goal
runner runs on the shipped binary.
2026-11-29 16:02:31 -08:00

1.9 KiB
Raw Permalink Blame History

title, summary, order, sources
title summary order sources
raea library Search and manage the person's media libraries in the raea app: folders and drives indexed on this machine, searched by meaning. 28
engine/cli/src/library.ts

Libraries are folders and drives the raea app indexes on this machine, so footage, stills and sounds can be found by what's in them rather than by file name. raea library talks to the app's host, so the app must be running. A folder an agent adds waits for the person to say yes in the app.

raea library search "a dog running on a beach" --kind video --limit 5
raea library search "a door creaking open" --sound
raea library new "Stock footage"
raea library add "Stock footage" /Volumes/Footage
raea library status

Usage

raea library [new NAME [--cloud] | add LIBRARY PATH | files LIBRARY | tag SHA TAGS | status | scan ...] | raea library search "WORDS" [--library LIBRARY] [--kind KIND] [--limit N] [--sound]   (the person's libraries in the raea app: folders and drives indexed on this machine, searched by meaning; a folder an agent adds waits for the person's yes)

Needs the raea app's host running on this machine; then waits for a person's click in the raea app (to add a folder). Takes any number of arguments besides its flags.

Flags

Flag Takes What it does
--cloud – With new: keep the library's index in raea cloud, searchable from the web and other devices (Pro), rather than on this Mac.
--kind KIND With search: only video, image or audio.
--library LIBRARY With search: search this library only.
--limit N With search: how many results (10 by default).
--sound – With search: rank by how things sound, for a described sound effect.