mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-06 03:13:27 -10:00
An agent asked for "the effect template for composer animations with Claude" found nothing: the catalog had one thin line per item and the search only read names and that line. Now: - tools/library-meta.sh (enrich.ts, props.ts, upstream.ts, words.ts, hand.json) matches each of the 609 items by content to the upstream component it came from (all 609 match; snapcn's terminal-simulator and text-highlight are ui/terminal-session and text/highlight-sweep here) and writes into catalog.json: upstream (a search alias only), what (what it draws and how it moves), use_when and avoid_when (upstream's useWhen/avoidWhen in plain words, other libraries' names out, pointers rewritten to our category/name or dropped), asked_as (upstream's askedAs plus the words people use for its kind: template, effect, composer, chat input, AI prompt, terminal, Claude Code...), props (name, type, default and a line each, read from its Props type with the TypeScript parser), length, fps, size, aspect and vibe. snapcn's and React Video Editor's items have no when-to-use upstream: hand.json holds those, 134. - raea make component list WORDS searches names, upstream names and asked_as heavily, what and use_when once; filler words are skipped and "template"/"effect"/"preset" alone list the items that are one with how to narrow it. - raea make component show NAME prints one item in full; list/show --json give the same as JSON. - sdk/guides/craft/components.md: a template, an effect or a branded screen goes to the library first. Co-authored-by: shinyobjectz <[email protected]>
docs
Documentation that spans more than one folder.
- settings.md: every setting raea reads (the agent's model provider, the optional API for generated music and speech, checks), and where they go.
Each folder's own README describes that part of the code. Behaviour specs written in Gherkin sit beside the code they
specify, for example sdk/shell/shell.feature and
sdk/raea/spec/motion.feature.