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

41 lines
1.9 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 library"
summary: "Search and manage the person's media libraries in the raea app: folders and drives indexed on this machine, searched by meaning."
order: 30
sources: ["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.
```sh
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
```
<!-- generated:begin by tools/manual-ref/cli.ts from `raea help --json`; edit only the flag descriptions -->
## Usage
```sh
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. |
<!-- generated:end -->