Elyra
Elyra The coding agent eTerm The terminal that knows where each command ends Huskarl AI colleagues on your own Mac Starf An activity monitor for Apple silicon that never invents a number etrans An SSH and SFTP client for macOS Elyra VM Virtual machines for macOS, Linux and Windows on your Mac Litr A small, native web browser for macOS Notr A notebook for macOS e The native code editor Elyra Grove Native local development environment Askr The real server for Laravel & PHP Elyra Framework Rust + Svelte 5 framework for desktop apps Elyra Conductor Local project conductor Refr Local-first PDF workspace for macOS Elyra Workspace A desktop workspace for coding agents eDock A container runtime for the Mac Elyra SQL Server MySQL-compatible SQL server in Rust Elyra Félagi Agents as teammates on one board Elyra SQL Client Native desktop SQL workbench Elyra SQL Anywhere Replication-ready SQL engine Elyra Sjá SEO & GEO workspace for macOS Elyra DataGrid Server-driven data grid for Laravel
Reference
Ratatosk CLI
Roadmap
RFC 0001: make:resource
RFC 0002: live queries
RFC 0003: MCP server
RFC 0004: MCP resource templates
RFC 0005: a Laravel backend
RFC 0006: Laravel broadcasting
RFC 0007: offline and sync
RFC 0008: Laravel notifications
RFC 0009: Files
RFC 0010: Laravel abilities
RFC 0011: an assistant in the app
RFC 0012: @elyra/ui
RFC 0013: the assistant sees the window
RFC 0014: Elyra Inspector
RFC 0015: presence
RFC 0016: capabilities per window
RFC 0017: record invalidation
RFC 0018: the assistant's answer, streamed
RFC 0019: a window from the tray
RFC 0020: an app that stays in the tray
RFC 0021: a server chosen at sign-in
RFC 0022: signed in to more than one server
RFC 0023: private channels a window listens to
RFC 0024: updates from the backend
RFC 0025: commands and configuration
RFC 0026: the running app, for coding agents
RFC 0027: the assistant's code mode
RFC 0028: the tray's icon, and the app's
RFC 0029: installers
RFC 0030: the app's identity on Windows
RFC 0031: a token per workspace
RFC 0032: the microphone
RFC 0033: diagnostics the user can send
RFC 0034: one screen in several states at once
RFC 0035: point at it, and hand it to the agent
RFC 0036: rata check, the app checked as a whole
RFC 0037: Theme Studio
RFC 0038: edit it in its own app
RFC 0039: a write shown at once in every window
RFC 0040: the two halves agree
RFC 0041: Quick Look
RFC 0042: follow a colleague
RFC 0043: every write seen
RFC 0044: composite keys
RFC 0045: bigint all the way
RFC 0046: pivot columns
RFC 0047: relations on any key
RFC 0048: more providers
RFC 0049: OpenAI web search
RFC 0050: integer-keyed arguments
RFC 0051: citations
RFC 0052: open documents
RFC 0053: exit hooks
RFC 0054: the gui feature
Release notes
Changelog
Elyra
RFC 0035 — Point at it, and hand it to the agent

RFC 0035 — Point at it, and hand it to the agent

Status: implemented (2026-11-19) · Target: 0.49.0 · builds on RFC 0014, RFC 0026, RFC 0032 and RFC 0034 · see Decisions

Summary

The developer sees what's wrong in the running app, and then has to describe it to a coding agent in words: which screen, which table, the button to the right of the search field. This lets them point at it instead. In a debug build, hold ⌘⌥ (Ctrl+Alt) and drag a rectangle over part of a window, type or say what to change, and press Enter:

Replace this table with a SplitPane: the chosen customer in a Card on the right.

The shell makes a UI task of it: the note, a picture of what was pointed at, the Svelte files and lines that drew it, the live queries the window shows, and the window, route and frame. It's copied to the clipboard for any agent, and rata mcp dev hands it to one that asks.

Motivation

  • Words are a poor pointer. "The table on the customers screen" is three guesses for an agent: which file, which component, which of the two tables. The developer is looking at the thing; the app knows which element it is and, in a Vite dev build, which line of which .svelte file made it.
  • The agent can already look, but not where the developer means. window_snapshot and window_screenshot (RFC 0026) give it the whole window. Nothing says which part the developer is talking about.
  • The matrix shows what to fix (RFC 0034): a button that wraps in the narrow frame, a colour that fails in light. Pointing at it in that frame says both what and where.

Current state (0.49)

  • The agent script (RFC 0026, debug only) walks the page into an accessibility tree with refs, and acts on them.
  • A window's picture comes from takeSnapshot (macOS), CapturePreview (Windows) and WebKitGTK (Linux), at most 1280 CSS pixels wide.
  • Showing: the live queries a window shows, with their arguments.
  • Svelte 5 in dev puts __svelte_meta on every element it creates: { loc: { file, line, column }, parent }, the file relative to the Vite project and the component stack above it. A build without Vite (the assets embedded) has none.
  • The microphone (RFC 0032) records in the shell and transcribes through the app's server with Backend::transcription().
  • The clipboard is the system feature's.

Design

Pointing

  • ⌘⌥-drag (Ctrl+Alt-drag) draws a rectangle over the page; ⌘⌥-click picks the element under the pointer. While ⌘⌥ is down, the pointer is a crosshair and the page gets no clicks: pointing never presses a button. Esc lets go.
  • The inspector's Point button does the same without the keys, for a trackpad or a screen reader user.
  • In any window, a frame of the matrix too. The task says which.

The note

A small box opens at the selection, the page dimmed around it:

  • A text field. Enter hands it off; Shift+Enter is a new line; Esc throws it away.
  • A microphone button, when the app can transcribe (Backend::transcription(), RFC 0032): hold it, or the Space key while the field is empty, and say it. The text lands in the field to read before it's sent.
  • "Copied for your agent" once handed off, with the task's id.

What a task carries

## UI task 7 — CRM, window `main`, route /customers?search=acme

Replace this table with a SplitPane: the chosen customer in a Card on the right.

Pointed at (picture: .elyra/tasks/7-selection.png, the whole window: .elyra/tasks/7-window.png):

- table "Customers" — src/views/Customers.svelte:41 (in App.svelte:88 › Customers.svelte)
  - row "Acme AS  Oslo  12 orders" …
- button "New customer" — src/views/Customers.svelte:12

The window shows the live queries customers_index { search: "acme" }.
Frame: none (the app as it is).
  • The elements are those inside the rectangle, as the accessibility tree gives them (the same text as window_snapshot), cut to the outermost ones and at most 40 lines.
  • Their source is __svelte_meta's file and line, with the component stack above. Without Vite it says "no source locations: not a Vite dev build".
  • The pictures are the window's picture and the selection cut from it, saved as PNG files the agent can open.
  • The live queries are the window's Showing, with their arguments.
  • The frame (RFC 0034), if it was one: its name, look and limits.

Where it goes

  • The clipboard, always: the task as Markdown, to paste into any agent's prompt.
  • .elyra/tasks/ in the workspace, when the app runs under rata dev (which says where the workspace is): <id>.md and the two pictures. Outside rata dev, the app's own folder. rata new and rata ai:install put .elyra/ in .gitignore.
  • rata mcp dev, two tools:
Tool What it does
ui_tasks the tasks not yet done, newest first: the Markdown, and the selection's picture
ui_task_done { id, summary }: marks a task done; the app shows the summary in the window it came from, as a toast

The project's ratatosk/ai/guidelines.md tells agents to check ui_tasks when the developer says "the task" or "what I pointed at".

Security

  • Debug builds only, as the agent script and the inspector are. A release has no pointing, no routes, no tasks.
  • Nothing leaves the machine. The pictures and the notes are the developer's own screen, written to the clipboard and to files on their machine, and given to the agent they connected through rata mcp dev (RFC 0026's endpoint, with its token).
  • The page gets no event while ⌘⌥ is down over it, so pointing can't press a button or start a drag in the app.

Testing

  • The agent script: a rectangle gives the elements inside it, cut to the outermost; __svelte_meta gives file, line and the stack; no clicks reach the page while pointing.
  • Rust: a task's Markdown; the selection cut from a picture; the files under .elyra/tasks/; ui_tasks and ui_task_done over the dev endpoint; nothing in a release (inspector_release.rs).
  • By hand in the example app on macOS and Windows: point, type, hand off, paste into an agent.

Implementation plan

  1. Pointing and the note in the agent script and the runtime (debug).
  2. /__inspector/task: the shell makes the task: the picture, the cut, the files, the clipboard.
  3. Dictation in the note, when the app can transcribe.
  4. ui_tasks and ui_task_done in rata mcp dev; the toast.
  5. .elyra/ in .gitignore from rata new and ai:install; the guidelines; docs (docs/inspector.md, docs/ai-agents.md).

As built

  • Where it lives. The pointing, the note and the notices are @elyra/runtime's (startPointing(), stopPointing()), drawn in the page like the inspector's drawer. The agent script (RFC 0026) gained describe(rect): the elements and their sources, from the same walk as window_snapshot but without refs, so the agent's refs stay as they were. The shell's /__inspector/task makes the task (elyra::point's Markdown, and the selection cut from the window's picture), and /__inspector/point says whether the note can be dictated.
  • ⌘⌥ is held 300 ms before the crosshair comes, so ⌘⌥E and other shortcuts never show it, and a key pressed meanwhile ends it. On Windows and Linux, AltGr (which says Ctrl+Alt) never points. Letting go ends pointing unless a rectangle is drawn or the note is open.
  • A click is the element under it, and the picture is cut to that element's box.
  • The overlay goes before the picture: two frames after it's removed, so the window's picture is the page's.
  • Each element's source is where Svelte made it (__svelte_meta.loc, often a component of @elyra/ui), and the stack lists the components above it with the line in the app's file that used each one (src/App.svelte:88 ‹Customers›).
  • The clipboard is the shell's (the system feature) in a running app; otherwise the page tries navigator.clipboard. A test's shell has no windows and leaves the clipboard alone.
  • ui_task_done isn't read-only in rata mcp dev's annotations, but isn't destructive either.
  • Checked by hand in the example app on macOS: a task made by ⌘⌥ and a click arrived in ui_tasks with both pictures (the window's without the overlay) and .elyra/tasks/1.md; ui_task_done marked it done.

Not in this RFC

  • The agent starting on its own. MCP has no way for a server to start an agent's turn; the developer pastes the task or says "do the task".
  • Several drafts of a screen side by side, one picked: the review's third idea, left out of RFC 0034 too.
  • Pointing in a release build, as a user's bug report. That's RFC 0033's ground, and a picture there would be the user's data.

Alternatives considered

  • An MCP notification when a task is made. Clients don't act on a server's notifications by starting a turn, so the developer would still have to say something; the clipboard works with every agent.
  • Only the clipboard. Simple, but a long task with two pictures is a lot to paste, and an agent asked "what did I point at?" can't find it.
  • Vite's own inspector plugin (open the file in the editor on click). It finds the source, but nothing for the agent: no note, no picture, no live queries, no frame.

Decisions

  1. ⌘⌥-drag and ⌘⌥-click, and the inspector's Point button for a trackpad or a screen reader user.
  2. The clipboard, always. It's what works with every agent, whether or not one has asked rata mcp dev for tasks.
  3. The files go in .elyra/tasks/ in the workspace under rata dev, and in the app's own folder otherwise.
  4. Dictation only when the app transcribes through its own server (Backend::transcription()). The framework adds no transcription of its own for development.