Files
shinyobjectz 822b73fc7d PJ9: controllers are gone; a standing rule is a taste line
A taste line's check now takes any of raea's checks by name or a project's
own .ts check by path, with values and a level, beside the six forms. raea
check reads the project's own taste.ts beside the person's and the
workspace's, and raea context prints it.

Removed: the controller schema, raea controller, raea spec --as controller,
[controller] overrides in .raea/project, the registry's controller kind and
its lints, controllers/ in new projects and shared/, and controller() in
raea/brief. raea controller and raea doctor say where a controller's parts
go; doctor moves or deletes nothing. The direction proof's five rules are
lines in its taste.ts and it passes as before.
2026-11-20 13:00:19 -08:00

33 lines
2.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "raea index"
summary: "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."
order: 31
sources: ["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.
<!-- generated:begin by tools/manual-ref/cli.ts from `raea help --json`; edit only the flag descriptions -->
## Usage
```sh
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. |
<!-- generated:end -->