Files
shane d873402ac5 raea goal is the loop, raea make the asset tools (#269)
One loop, raea goal: every rule in TypeScript, held at edit, render, publish and done (goal check, tasks, judge, seen, gates, next); the brief's contract is goal: (one goal or a list, a workflow inline), and its plan is plan:. raea make is making a finished asset: character, clothes, motion, solid, wear, splat, physics, bake, sounds, component, the kit pipeline and shots. Instruments (check, judge, ask, world, scene faults, light check) stay top-level. With it: the montage pack (MK48-MK51), JavaScriptCore fixes raea goal needs (CommonJS named exports, reserved words too, dynamic import of file URLs, process.exit from a promise, stdin for -), raea-cli-goal and raea-cli-refused split out of raea-cli, and skills at raea-skills 105aede.
2026-11-29 18:43:09 -08:00

2.0 KiB
Raw Permalink Blame History

title, summary, order, sources
title summary order sources
raea index Make every picture on a folder or a drive searchable by words, embedded on this Mac's Neural Engine, and keep the index open for the raea app. 29
engine/cli/src/cli.rs

Make every picture on a folder or a drive searchable by words, on this Mac. add lists the folder and embeds each picture's small copy with SigLIP 2 on the Neural Engine, about 170 a second on an M5 Pro, with a counter as it goes; search gives the best matches for words; status lists the sources; remove takes one out; serve keeps the index open for the raea app, one JSON ask a line on stdin. Nothing leaves the machine.

Usage

raea index add FOLDER|photos:... [--json] | raea index search WORDS... [--k N] [--source ID|FOLDER] [--json] | raea index status [--json] | raea index remove ID|FOLDER | raea index serve   [--home DIR]   (every picture and video on a folder, a drive or Apple Photos (photos:) made searchable by words on this Mac, fast: add lists it and embeds each picture's small copy with SigLIP 2 on the Neural Engine, a counter as it goes, JSON lines with --json; search gives the best for the words; status lists the sources and what each holds; remove takes one out; serve keeps the index open for the raea app, one JSON ask a line on stdin; the index lives in ~/.raea/library/fast, or --home / RAEA_INDEX_HOME)

Headless: it needs nothing running and opens no window. Takes any number of arguments besides its flags.

Flags

Flag Takes What it does
--home DIR The index's folder (default ~/.raea/library/fast, or RAEA_INDEX_HOME).
--json – Print JSON: progress lines for add, the hits for search, the sources for status.
--k N How many hits search gives (10 by default).
--source ID|FOLDER Search only one source, by its id or the folder that was added.