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
RFC 0055: menus that change
RFC 0056: the framework's own words
RFC 0057: rata upgrade
RFC 0058: @elyra/charts
RFC 0059: all of WireCharts
RFC 0060: exporting a chart
RFC 0061: zoom
RFC 0062: printing
RFC 0063: linked charts
RFC 0064: report pages
RFC 0065: marks
RFC 0066: taking a table out
RFC 0067: totals
RFC 0068: columns the user picks
RFC 0069: filters
RFC 0070: saved views
RFC 0071: lists over Laravel
RFC 0072: targets
RFC 0073: every row out
RFC 0074: grouped rows
RFC 0075: pinned columns
RFC 0076: views on the server
RFC 0077: every match selected
RFC 0078: editing in the table
RFC 0079: many cells at once
RFC 0080: a value for the selected rows
RFC 0081: a new row in the table
RFC 0082: a related record in a cell
RFC 0083: a filter by a related record
RFC 0084: one write for many rows
RFC 0085: the keys shown
RFC 0086: many rows in Laravel
RFC 0087: many rows deleted
RFC 0088: the trash
Release notes
Changelog
Elyra
System integration

System integration

Feature-gated behind system. The native desktop capabilities almost every app needs — file dialogs, opening things in the OS, the clipboard, notifications, and standard paths — exposed to the frontend through @elyra/runtime.

elyra = { …, features = ["system"] }

No Rust wiring is required: enabling the feature adds the shell's /__sys/* endpoints. Everything is driven from the frontend.

Frontend API (@elyra/runtime)

import { dialog, shell, clipboard, notify, paths } from "@elyra/runtime";

// File dialogs — resolve to ChosenFiles: { id, path, name, kind }.
const files = await dialog.open({
  title: "Choose images",
  multiple: true,
  filters: [{ name: "Images", extensions: ["png", "jpg", "webp"] }],
});
const dir = await dialog.open({ directory: true });        // ChosenFile[], kind "folder"
const target = await dialog.save({ defaultName: "export.json" }); // ChosenFile | null

// Open a URL or path with the OS default handler.
await shell.openExternal("https://elyracode.com/framework");

// Clipboard: text, and an image from PNG bytes (RFC 0060).
await clipboard.writeText("copied!");
const text = await clipboard.readText();
await clipboard.writeImage(pngBytes);

// Save what the page made where the user chooses: the save dialog, then the
// write (RFC 0060). The path, or null if they cancelled.
const path = await files.save(csvText, { defaultName: "report.csv", filters: [{ name: "CSV", extensions: ["csv"] }] });

// OS notification.
await notify("Done", "Your export finished.");

// Standard OS directories + the running executable.
const p = await paths(); // { home, config, data, cache, downloads, temp, exe }

dialog.open always returns an array (empty when cancelled); pass multiple: false (the default) and read [0]. dialog.save returns the file or null.

files.save takes bytes, a Blob or text (as UTF-8), and writes only to the file just chosen in its save dialog, once: the shell's file.write refuses any other grant, an open file's among them, and a second write. An image on the clipboard is decoded from the PNG in the shell (on Linux, Wayland too).

A file the user chose

What a dialog returns, and what onFileDrop hands over, is a ChosenFile: { id, path, name, kind }. Pass it to a command as it is, and take it as elyra::files::ChosenFile:

use elyra::files::ChosenFile;

#[command]
async fn import_notes(ctx: Ctx, file: ChosenFile) -> elyra::Result<usize> {
    let text = std::fs::read_to_string(file.path())
        .map_err(|e| elyra::Error::Command(format!("{}: {e}", file.name())))?;
    // …
}
const [file] = await dialog.open({ filters: [{ name: "Markdown", extensions: ["md"] }] });
if (file) await commands.importNotes({ file });

The shell grants each file the user picks or drops for the rest of the run, and the command's argument is decoded from that grant's id alone. So the frontend can't make a command read a path the user didn't choose: a made-up id or a bare path doesn't decode, and a path the frontend changed is ignored. That holds even if a script in the page is compromised.

kind says how it was chosen, which is what the file is for: open (picked or dropped, to read), save (picked in a save dialog, to write), folder (a new file may be written in it) or document (opened from the OS with the app, to read and save back: see opening documents). FileChoice::readable() and writable() say which a kind allows. Rust code may grant its own files with ChosenFile::from_path(..), ChosenFile::for_saving(..) and ChosenFile::folder(..), which is also how a test stands in for the user. A ChosenFile works wherever a path does (AsRef<Path>), such as Http::attach(..).

Rust API

The same operations are available directly (e.g. from a #[command]) via the system module:

use elyra::system;

let picked = system::open_dialog(system::OpenDialog { multiple: true, ..Default::default() }).await;
system::open_external("https://example.com")?;
system::clipboard_write("hi")?;
let text = system::clipboard_read()?;
system::notify(system::Notification { title: "Hi".into(), body: None })?;
let paths = system::paths();

In an app, the frontend's notify(..) goes through the container's Notifier, so a test swaps in Notifier::fake() and asserts on what was shown instead of filling the machine's notification center. Laravel's notifications use it too (backend).

shell.openExternal is policy-gated

"Open with the OS default handler" must not become "run this program", so the shell validates the target before handing it over:

  • Allowed schemes: http, https, mailto. Widen with App::allow_open_schemes(["slack", "zoommtg"]).
  • file: URLs are refused — pass an absolute path instead.
  • Paths must be absolute and exist, and anything executable is refused (.exe, .sh, .app, .desktop, .jar, … anywhere in the path). Disable path opening entirely with App::deny_open_paths().

A blocked call rejects with a … is not allowed by policy message rather than silently doing nothing.

A file opened for editing in its own app (Backend::edit, RFC 0038) isn't opened through shell.openExternal: the page names an editing by its id, never a path, and the shell opens only files it downloaded into its own folder. Their names are checked against the same executables, and against the kinds that open something else (.lnk, .url, .webloc, .html, .svg, …). See the backend. See elyra::security for the full policy surface.

Notes & platform caveats

  • File dialogs use rfd's async API, which marshals to the platform's main thread internally, so they are safe to call from Elyra's tokio-driven IPC.
  • Notifications on macOS are only delivered from a bundled app (one with a bundle identifier); un-bundled cargo run may show nothing.
  • Notifications on Windows are shown as the app, with its name and its App::icon, under its AppUserModelID: App::identifier("com.example.notes"), as [bundle] identifier, or one made of the app's name when it isn't set. The app writes it under HKCU\Software\Classes\AppUserModelId\<id> at each start, its icon as a PNG beside its settings, and the installer's uninstaller removes the key (RFC 0030). Before 0.44 they were shown as PowerShell's.
  • Linux builds of the system feature need GTK + a clipboard backend (libgtk-3-dev, X11/Wayland libs) present at build time, like any native dialog/clipboard stack.
  • Errors (e.g. a clipboard failure) reject the returned promise.

Related