Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

raea show: what a session shows the person goes to the raea app as an item they can use, not Preview (Shane 11-09)

shinyobjectz890e51afc51a
diff --git a/docs/agents.feature b/docs/agents.feature
new file mode 100644
index 00000000..bf224ca0
--- /dev/null
+++ b/docs/agents.feature
@@ -0,0 +1,121 @@
+@spec
+Feature: Agents in the raea app: chats run on a provider, agents are optional templates, and whoever posts an item hears back
+ Shane, 2026-11-09: "i want to make sure if you upload a video you are the subscribing agent to recieve the hook bakc
+ to the session. and lets delte all the agent types we made default or have on the system. that said what we could
+ ahve is a way for an agent to self assign its role if intiialized outsid eof raea. and if assigned in raea it would
+ be set automatically but i need a way to start a new chat with just athe provider i dont have to use an agent its
+ just a template type of skills and prompts d things"
+
+ What the app is today (apps/app, read 11-09):
+ - Agents are workspace members (src/model/agents.ts). The fixtures ship eight (Boards, Grade, Score, Checker,
+ Director, Builder, Playtester, Cutter), and the page makes a Director and a Critic in every workspace the first
+ time it needs them (builtIn). New chat starts a session with the workspace's Director (src/chat/NewChat.tsx); the
+ feed's composer files a card for @director.
+ - An item posted by an agent in raea carries its session (item.connection). A person's note goes to that session
+ as its next turn if the session is open in the page (src/agent/notes.ts promptSession), else only into its log.
+ Comments on the picture wait for "Send N edits to <agent>" (docs/review.feature R1e).
+ - A session outside raea (a Claude Code session, a script) posts by writing <project>/.raea/feed/<id>.json. It has
+ no session raea can reach: the launch film's 25 comments (i-acp-mw9k336z-2) sat in its JSON until Shane told
+ the session to read them. That item borrowed a fixture's connection (c-plan), so the app named the Director as
+ its author.
+
+ The model this file sets:
+ 1. A chat runs on a provider: an ACP agent from the registry (Kimi, Claude, Codex, Gemini, ...) or a command of
+ the person's own. That is all a chat needs.
+ 2. An agent is an optional template on top of a provider: a name and role, instructions, skills, tools. The app
+ and raea ship none; a person makes them.
+ 3. Whoever posts an item is its subscriber: what the person sends on it reaches that session, inside raea or out.
+ 4. A session states its own role. One started from a template in raea gets the template's role without asking;
+ one started outside raea says who it is when it posts, and may change it.
+
+ Background:
+ Given the app is apps/app (raea-feed): src/chat, src/agent, src/model/agents.ts, host/acp, host/feed-items.ts
+ And the starter projects (RaeaStarters) and the e2e fixtures are sample content, not the person's agents
+
+ Rule: A1. A new chat needs only a provider
+ # Status 11-09: built (raea-feed 601d4ae). New chat's "Runs on" menu: PROVIDERS from the ACP plugins, Kimi first,
+ # each marked as ai-find answers when the menu opens, then the workspace's templates; the pick is settings.chatOn.
+ # A provider is an Agent with `provider` (model/agents.ts providerAgent, id p-<registry>-<workspace>), never in
+ # agentsIn; every New chat session gets raea's context and tools (src/chat/useChat.ts). e2e "New chat runs on a
+ # provider with no agent".
+ Scenario: A1a. Starting a chat with just a provider
+ When I open New chat
+ Then I choose what runs it: a provider (Kimi first, then the registry's agents signed in on this Mac) or one of
+ the workspace's agent templates, if there are any
+ When I pick a provider and write
+ Then a session starts on that provider in the project picked under the box, with raea's context and no
+ template's instructions, and its page names the provider
+
+ Scenario: A1b. A template is a choice, never a requirement
+ Given a workspace with no agents
+ Then New chat, the feed's composer and a project's chat all work, each on the workspace's default provider
+
+ Rule: A2. raea ships no agent types
+ # Status 11-09: built (raea-feed 601d4ae). No Director or Critic is made; the planner and critique post as raea
+ # (raeaAgent, provider "raea"), tasks for it say @raea and an old brief's @director reads as raea. The built app's
+ # sample world keeps its agents as `by` authors only (model/data.ts sampleAuthors); the dev page keeps them as
+ # templates for the e2e suite. The host's model prompts (host/director.ts, compose.ts) still cast the planner as a
+ # film director: that's the craft role, not an agent. e2e "raea ships no agents".
+ Scenario: A2a. A new workspace has no agents
+ Given a new install, or a workspace made in the app
+ Then Settings → Agents and the sidebar's Agents list nothing until the person makes one, and no Director or
+ Critic is made behind their back
+ Scenario: A2b. What the built-ins did still happens
+ Then the feed's composer starts a chat on the default provider in its project (and files the card), and the
+ critique of a render is posted by raea itself, not by an agent named Critic
+ Scenario: A2c. Sample content keeps its authors as names
+ Given a starter project's items, made by the fixtures' agents
+ Then they show their author's name and colour as written in the item, with no agent behind it
+
+ Rule: A3. Whoever posts an item hears what's sent on it
+ # Status 11-09: A3b built (raea-feed aee0ca2: Item.by, host/inbox.ts, POST /host/inbox; e2e "an outside poster's
+ # item is theirs"). One line per send: {item, project, title, kind: note|edits, text, pin?, comments?: [{id, text,
+ # kind, pin, at}], when}. A3a's "opened to take them" and A3c are next.
+
+ Scenario: A3a. A session in raea
+ Given an item posted with feed_post from a session in raea
+ When I send notes or edits on it
+ Then they reach that session as its next turn; a session that isn't open is opened to take them
+
+ Scenario: A3b. A session outside raea subscribes when it posts
+ Given a session outside raea posts an item, with `by` in its JSON: {"name", "role"?, "inbox"}
+ Then the item shows `by.name` as its author, and the bar's send says "Send N edits to <name>"
+ When I send them
+ Then each is appended as one JSON line ({item, project, comment, text, pin, part?, kind, when}) to
+ ~/.raea/inbox/<inbox>.jsonl, and marked sent on the item
+ And the session hears it by following that file (`tail -n0 -F`, or its harness's monitor): that is its hook
+
+ Scenario: A3c. An item no one subscribed to says so
+ Given an item with neither a session nor `by.inbox`
+ Then the bar says the edits have no one to go to, instead of a send that goes nowhere
+
+ Rule: A4. A session states its role
+ Scenario: A4a. Started from a template in raea
+ Then the session's role is the template's, set when it opens, without asking
+ Scenario: A4b. Started outside raea
+ Then it states its role in `by.role` when it posts, and a later post may change it; the app shows the newest
+
+ Rule: A5. What a session shows the person comes up in the raea app, as something they can use
+ # Shane 11-09: "my agent working raea keeps making sheets in preview and not in raea how do we make it so when using
+ # raea and raea app is installed new edits new sheets or examples or questions are pulled up in the raea app and
+ # not preview. we should see them as interactive too. the whole point of raea is interactive artifacts and things
+ # and recording them after making an answer."
+ # Status 11-09: built. App side raea-feed 077e77f (host/show.ts, host-file.ts, raea:// links in src/App.tsx,
+ # answers and results to the inbox); CLI engine/cli/src/show.ts; the skill's section 5 says it (raea-skills).
+ Scenario: A5a. raea show from any session
+ Given a session outside raea (a terminal agent) with the raea app installed
+ When it runs `raea show FILE...` (stills, a video, a sound, a NAME.script.ts or .md, a .tsx) or
+ `raea show --question "Q" --choice A --choice B`
+ Then the app's host makes the item those files are (several stills a storyboard, a .tsx an artifact, a project's
+ composition its editor, a question an ask) in the project named or the one the session's folder is in, with
+ the session as its poster (`by`), and the window comes up on it (raea://item/<project>/<id>)
+ And when the app isn't running it's started first; when it isn't installed the files open in the Mac's own viewer
+ and the command says nothing was posted
+
+ Scenario: A5b. The person's answer is recorded and reaches the session
+ When the person leaves notes or edits, picks an answer, or an artifact sends its result
+ Then it's kept on the item and appended to the session's inbox (A3b), which `raea show` names when it shows
+
+ Scenario: A5c. Agents show, they don't open
+ Then the raea skill tells every agent to show work with `raea show` (or feed_post inside the app), never to open
+ a render, a sheet or a question in Preview or a browser while the app is installed
diff --git a/engine/cli/src/cli.rs b/engine/cli/src/cli.rs
index 5f4a497e..960aadfa 100644
--- a/engine/cli/src/cli.rs
+++ b/engine/cli/src/cli.rs
@@ -127,6 +127,8 @@ pub fn run(args: &[String]) -> R<String> {
IN_HELP.set(was);
// `raea library` (engine/cli/src/library.ts), listed under render's usage
let usage = format!("{usage}\n 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)");
+ // `raea show` (engine/cli/src/show.ts): what a session shows the person, in the raea app, not Preview (Shane 11-09)
+ let usage = format!("{usage}\n raea show FILE... [--title T] [--ask \"WHAT YOU WANT\"] [--project P] [--replaces ITEM] [--as NAME] [--role ROLE] [--inbox NAME] | raea show --question \"Q\" (--choice A --choice B ... | STILL...) (shown in the raea app as an item the person can use and answer, the window brought up on it: stills (several, a storyboard), a video, a sound, a NAME.script.ts or .md, a .tsx (an interactive artifact; a project's composition opens in its editor), or a question; what they send comes to ~/.raea/inbox/INBOX.jsonl; never open media in Preview while the app is installed)");
// a workspace's files and specs (docs/projects.feature), listed under render's usage like library
let usage = format!("{usage}\n raea spec FILE.ts [--as brief|script|taste|plan|controller] (a spec's default export as JSON, checked against its schema: brief.ts, script.ts, taste.ts, plan.ts, controllers/ID.ts)\n raea workspace init [NAME] [--layout LAYOUT] | raea workspace adopt DIR [--name NAME] | raea workspace [--json] (a workspace: a git repo of projects and controllers under raea.root, ~/Studio unless git config says)\n raea project new NAME [--storage inline|submodule] | raea project split NAME [--remote URL] | raea project join NAME | raea project [--json] (a project in the workspace: its folder, brief.ts, media/, out/; split and join keep its history)\n raea controller ls [--json] | raea controller get PATH [--json] | raea controller set PATH VALUE [--project] [--by NAME] | raea controller write FILE.ts [--by NAME] | raea controller rm ID [--by NAME] (the workspace's controllers, controllers/ID.ts; PATH is controller.group.field; every change a commit)\n raea check EDIT.tsx --quick [--shape S] [--platform P] [--taste T] [-o check.json] (three stills of a composition checked for text: clipped, cramped, safe areas, sizes; about a second)\n raea hook claude (Claude Code's PostToolUse hook: the quick check after a composition is saved)\n raea next [DIR] (the two or three useful next steps for the project, from its brief, compositions, renders and checks)\n raea doctor [--fix] [DIR] (what doesn't match this raea: old brief files, an older workspace format, an agent's skill from another version)\n raea app run|check|bundle APP.tsx [--target web|native] [--size WxH] [--script steps.json] [--png DIR] [-o App.app] (a TSX app on @raea/ui: its window, the headless check, a Mac app; web is Blitz on Bevy, native is Rune; the app's `export const app` sets the target, web when it doesn't; raea rune ... is --target native)\n {}\n {}", skill::USAGE, tools::blender::USAGE);
let (export_game, scene, physics, splat) = (raea_app_game::USAGE, export::SCENE_USAGE, motion::physics::USAGE, tools::splat::USAGE);
diff --git a/engine/cli/src/index.ts b/engine/cli/src/index.ts
index 110e40ab..e1bf3471 100644
--- a/engine/cli/src/index.ts
+++ b/engine/cli/src/index.ts
@@ -23,6 +23,8 @@ type Ctx = { cwd: string; fs: Fs };
const out = (stdout: string, exitCode = 0, stderr = "") => ({ stdout, stderr, exitCode });
// `raea library` (library.ts), kept apart from the imports above
import { libraryVerb } from "./library";
+// `raea show` (show.ts): what a session shows the person, in the raea app
+import { showVerb } from "./show";
function flag(args: string[], name: string): string | undefined {
const i = args.indexOf(name);
@@ -234,6 +236,8 @@ export function raeaHandler(host?: Host, engine?: Engine) {
}
case "library":
return out(libraryVerb(ask, args.slice(1), (globalThis as { process?: { env: Record<string, string | undefined> } }).process?.env ?? {}));
+ case "show":
+ return out(showVerb(ask, args.slice(1), c.cwd, (globalThis as { process?: { env: Record<string, string | undefined> } }).process?.env ?? {}));
default:
return await native();
}
diff --git a/engine/cli/src/native.ts b/engine/cli/src/native.ts
index ce9d3a8b..60915e2d 100644
--- a/engine/cli/src/native.ts
+++ b/engine/cli/src/native.ts
@@ -5,7 +5,7 @@
// native.ts RAEA VERB ARGS... RAEA: the native raea's path, for the engine's own verbs
import { spawnSync } from "node:child_process";
import { existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, realpathSync, rmSync, writeFileSync } from "node:fs";
-import { tmpdir } from "node:os";
+import { homedir, tmpdir } from "node:os";
import { basename, delimiter, dirname, extname } from "node:path";
import { brandKit } from "./brand";
import { readSite, stylesOf } from "./scrape";
@@ -365,12 +365,23 @@ function brand(a: { brand: string }): string {
return kit.said;
}
-/** An op of the feed host's libraries (apps/app host/library/service.ts): POST $RAEA_FEED_HOST/host/library. The feed
- * sets RAEA_FEED_HOST for the agents it starts; elsewhere it's given by hand. */
-function library(a: Record<string, unknown>): unknown {
- const at = process.env.RAEA_FEED_HOST;
- if (!at) throw new Error("libraries live in the raea app: run this from an agent the app started, or set RAEA_FEED_HOST to the app's address");
- const r = spawnSync("curl", ["-sS", "--max-time", "120", "-w", "\n%{http_code}", "-H", "content-type: application/json", "--data-binary", "@-", `${at.replace(/\/$/, "")}/host/library`], { input: JSON.stringify(a), encoding: "utf8", maxBuffer: 64 << 20 });
+/** The running raea app's host: RAEA_FEED_HOST for an agent the app started, else the address the installed app leaves
+ * in ~/.raea/app-host.json while it runs (apps/app host/host-file.ts), if its process is still there. */
+function appHost(): string | null {
+ if (process.env.RAEA_FEED_HOST) return process.env.RAEA_FEED_HOST;
+ const file = process.env.RAEA_HOST_FILE || `${homedir()}/.raea/app-host.json`;
+ try {
+ const h = JSON.parse(readFileSync(file, "utf8")) as { url?: string; pid?: number };
+ if (h.url && h.pid && spawnSync("kill", ["-0", String(h.pid)]).status === 0) return h.url;
+ } catch {
+ // no app running, or a file left by one that stopped
+ }
+ return null;
+}
+
+/** POST a host route of the raea app at `at`, answering its JSON; its refusal is thrown as it says it. */
+function postHost(at: string, route: string, a: Record<string, unknown>): any {
+ const r = spawnSync("curl", ["-sS", "--max-time", "120", "-w", "\n%{http_code}", "-H", "content-type: application/json", "--data-binary", "@-", `${at.replace(/\/$/, "")}${route}`], { input: JSON.stringify(a), encoding: "utf8", maxBuffer: 64 << 20 });
const text = r.stdout ?? "";
const cut = text.lastIndexOf("\n");
const [body, code] = [text.slice(0, cut), Number(text.slice(cut + 1))];
@@ -379,6 +390,45 @@ function library(a: Record<string, unknown>): unknown {
return JSON.parse(body);
}
+/** `raea show` (show.ts): the item made by the raea app's host (apps/app host/show.ts), the app started first when it's
+ * installed and not running, then the window brought up on it by its raea:// link. Without the app, the files open in
+ * the Mac's own viewer. */
+function show(a: Record<string, unknown>): unknown {
+ let at = appHost();
+ if (!at) {
+ const app = [process.env.RAEA_APP, "/Applications/raea.app", `${homedir()}/Applications/raea.app`].find((p) => p && existsSync(p));
+ const files = (a.files as string[]) ?? [];
+ if (!app) {
+ if (a.question) throw new Error("a question needs the raea app, and it isn't on this Mac (raea.io)");
+ spawnSync("open", files);
+ return { opened: files };
+ }
+ if (spawnSync("pgrep", ["-f", `${app}/Contents/MacOS/raea-window`]).status === 0)
+ throw new Error("the raea app running here is older than raea show (it leaves no ~/.raea/app-host.json); quit it and open it again to update, then show it again");
+ spawnSync("open", ["-a", app]);
+ // the window's host writes its address once it listens: a minute at most, in quarter seconds
+ for (let i = 0; i < 240 && !(at = appHost()); i++) spawnSync("/bin/sleep", ["0.25"]);
+ if (!at) throw new Error(`the raea app didn't start (no ~/.raea/app-host.json after a minute); open ${app} and show it again`);
+ }
+ let shown: { url: string };
+ try {
+ shown = postHost(at, "/host/show", a);
+ } catch (e) {
+ // the host's refusal names the verb, as the shell's report does too
+ throw new Error(String((e as Error).message).replace(/^raea show: /, ""));
+ }
+ // RAEA_NO_OPEN: a test's, which mustn't bring up the person's window
+ if (!process.env.RAEA_NO_OPEN) spawnSync("open", [shown.url]);
+ return shown;
+}
+
+/** An op of the feed host's libraries (apps/app host/library/service.ts): POST <the app's host>/host/library. */
+function library(a: Record<string, unknown>): unknown {
+ const at = appHost();
+ if (!at) throw new Error("libraries live in the raea app: open it on this Mac (or set RAEA_FEED_HOST to its address)");
+ return postHost(at, "/host/library", a);
+}
+
const host: Host = (op, a) => {
switch (op) {
case "shape":
@@ -391,6 +441,8 @@ const host: Host = (op, a) => {
return brand(a as Parameters<typeof brand>[0]);
case "library":
return library(a);
+ case "show":
+ return show(a);
default:
throw new Error(`raea: this step (${op}) isn't in the native raea yet`);
}
diff --git a/engine/cli/src/show.ts b/engine/cli/src/show.ts
new file mode 100644
index 00000000..f6f0e336
--- /dev/null
+++ b/engine/cli/src/show.ts
@@ -0,0 +1,63 @@
+// `raea show`: what a session shows the person goes to the raea app, as an item they can use, not to Preview (Shane
+// 11-09: "when using raea and raea app is installed new edits new sheets or examples or questions are pulled up in the
+// raea app and not preview. we should see them as interactive too. the whole point of raea is interactive artifacts and
+// things and recording them after making an answer"). The app's host makes the item (apps/app host/show.ts): stills a
+// look (several, a storyboard), a video a watch, a sound a listen, a NAME.script.ts or .md a read, a .tsx an interactive
+// artifact (or, when it's one of the project's compositions, that composition open in its editor), a question an ask.
+// The window comes up on it (raea://item/...), and what the person sends on it comes back as lines in the session's
+// inbox (~/.raea/inbox/<inbox>.jsonl). Without the app on this Mac, the files open in the Mac's own viewer and it says so.
+
+type Ask = (op: string, args: Record<string, unknown>) => any;
+
+export const SHOW_USAGE = `raea show FILE... [--title T] [--ask "what you want from the person"] [--project P] [--replaces ITEM]
+raea show --question "Which look?" (--choice A --choice B ... | STILL.png STILL.png ...) [--project P]
+ FILE: stills (several make a storyboard), a video, a sound, a NAME.script.ts or .md, or a .tsx (an interactive
+ artifact; one of the project's compositions opens in its editor). P: the project's id, title or Workspace/project;
+ else the one this folder is in. Who's showing it: --as NAME [--role ROLE] [--inbox NAME], else your harness's.
+`;
+
+const WITH_VALUE = new Set(["--title", "--ask", "--project", "--replaces", "--as", "--role", "--inbox", "--question", "--choice"]);
+
+/** The session's name and inbox, from its harness when it doesn't say: one inbox per session, so its answers find it. */
+export function posterOf(env: Record<string, string | undefined>, as?: string, role?: string, inbox?: string, cwd = "") {
+ const name = as?.trim() || (env.CLAUDECODE ? "Claude Code" : env.CODEX_SANDBOX || env.CODEX_HOME ? "Codex" : env.GEMINI_CLI ? "Gemini" : env.RAEA_AGENT || "An agent");
+ const session = env.CLAUDE_CODE_SESSION_ID || env.CODEX_SESSION_ID || env.RAEA_SESSION || hash(cwd);
+ const slug = name.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "") || "agent";
+ return { name, ...(role?.trim() ? { role: role.trim() } : {}), inbox: inbox?.trim() || `${slug}-${session.replace(/[^\w.-]/g, "").slice(0, 8)}` };
+}
+
+const hash = (s: string) => {
+ let h = 5381;
+ for (const c of s) h = ((h << 5) + h + c.charCodeAt(0)) >>> 0;
+ return h.toString(36);
+};
+
+export function parseShow(args: string[], cwd: string) {
+ const one = (name: string) => {
+ const i = args.lastIndexOf(name);
+ return i >= 0 ? args[i + 1] : undefined;
+ };
+ const choices = args.flatMap((a, i) => (a === "--choice" && args[i + 1] !== undefined ? [args[i + 1]] : []));
+ const unknown = args.find((a, i) => a.startsWith("--") && !WITH_VALUE.has(a) && !WITH_VALUE.has(args[i - 1] ?? ""));
+ if (unknown) throw new Error(`no ${unknown} here\n${SHOW_USAGE}`);
+ const files = args.filter((a, i) => !a.startsWith("--") && !WITH_VALUE.has(args[i - 1] ?? "")).map((f) => (f.startsWith("/") ? f : `${cwd.replace(/\/$/, "")}/${f}`));
+ return { files, choices, title: one("--title"), ask: one("--ask"), project: one("--project"), replaces: one("--replaces"), question: one("--question"), as: one("--as"), role: one("--role"), inbox: one("--inbox") };
+}
+
+export function showVerb(ask: Ask, args: string[], cwd: string, env: Record<string, string | undefined>): string {
+ if (!args.length || args[0] === "--help") return SHOW_USAGE;
+ const a = parseShow(args, cwd);
+ const by = posterOf(env, a.as, a.role, a.inbox, cwd);
+ const r = ask("show", { files: a.files, title: a.title, ask: a.ask, question: a.question, choices: a.choices, project: a.project, replaces: a.replaces, cwd, by }) as
+ | { opened: string[] }
+ | { kind: "item" | "composition"; id: string; type: string; title: string; project: string; workspace: string; inbox: string };
+ if ("opened" in r) return `The raea app isn't on this Mac, so ${r.opened.length === 1 ? "it opened" : `${r.opened.length} files opened`} in the Mac's own viewer: nothing was posted and nothing comes back. Install raea (raea.io) to show work as items the person can answer.\n`;
+ const home = env.HOME ?? "";
+ const inbox = home && r.inbox.startsWith(home) ? `~${r.inbox.slice(home.length)}` : r.inbox;
+ if (r.kind === "composition") return `Opened ${r.title} in the raea app's composition editor (project ${r.project}, ${r.workspace}): the person plays it and changes it there, and their changes save into its file.\n`;
+ return [
+ `Shown in the raea app: "${r.title}" (${r.type}, item ${r.id}, project ${r.project} in ${r.workspace}); the window is on it.`,
+ `What the person sends on it (notes, edits, picks, answers, results) comes to ${inbox}, one JSON line each. Follow it (tail -n0 -F ${inbox}, or your harness's monitor) and answer each; a next version is raea show --replaces ${r.id} FILE.`,
+ "",
+ ].join("\n");
+}
diff --git a/engine/cli/src/usage.rs b/engine/cli/src/usage.rs
index 568e2f33..8b024edd 100644
--- a/engine/cli/src/usage.rs
+++ b/engine/cli/src/usage.rs
@@ -189,6 +189,8 @@ fn access(verb: &str) -> &'static str {
match verb {
// the person's libraries live in the raea app's host; a folder an agent adds waits for the person's yes
"library" => "HOST, then PERSON to add a folder",
+ // shown in the raea app (started if it's installed), answered by the person; without the app, the Mac's viewer
+ "show" => "HOST (starts the app), then PERSON to answer",
_ => "HEADLESS",
}
}
diff --git a/engine/cli/src/verbs.rs b/engine/cli/src/verbs.rs
index f7dd9b7a..a0941fb0 100644
--- a/engine/cli/src/verbs.rs
+++ b/engine/cli/src/verbs.rs
@@ -96,7 +96,7 @@ pub fn mezz(args: &[String]) -> R<String> {
/// The agent shell's own verbs (engine/cli/src/index.ts) this binary runs; the rest come one by one (docs/agent-surfaces.md)
-pub const SHELL: &[&str] = &["init", "cut", "frame", "part", "brand", "library"];
+pub const SHELL: &[&str] = &["init", "cut", "frame", "part", "brand", "library", "show"];
/// One of SHELL's verbs: @raea/cli's handler, run by engine/cli/src/native.ts on raea's JavaScriptCore with Node's core, so the
/// verb's one source is its TypeScript. native.ts answers the host's ops it needs, and runs this binary for the engine's verbs.