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 0042 — Follow a colleague: go where they go, without sharing a screen

RFC 0042 — Follow a colleague: go where they go, without sharing a screen

Status: implemented (2026-11-20) · Target: 0.50.0 · builds on RFC 0015 and RFC 0016 · see Decisions

Summary

Two colleagues go through the overdue invoices together on the phone: one clicks, the other says "which one?", and they share a screen to stop saying it. A desktop app that already knows who else is here (RFC 0015) can do better: click a colleague's avatar and follow them, and your window goes where theirs goes, as yourself, with your own abilities, and stops the moment you go somewhere on your own.

Backend::new(url)
    .broadcasting(Broadcasting::pusher(key))
    .presence(["office", "customers.*"])        // `office`: who's in the app at all
<Toolbar title="CRM">
  {#snippet actions()}<Presence channel="office" follow />{/snippet}
</Toolbar>
  • Click Ada's avatar → Follow. Ada's app asks her first: "Grete wants to follow you", Allow or Don't.
  • Allowed, Grete's window goes where Ada's goes: Ada opens customer 42, Grete's window opens customer 42; Ada switches to its invoices tab, so does Grete. A bar says "Following Ada", with Stop.
  • Grete sees what Grete may see. Only the route travels; her window reads the record with her own token and abilities. A route she may not see shows her what it shows anyone without it.
  • Either can stop it: Grete by Stop or by going somewhere herself, Ada by Stop on "Grete is following you".

Motivation

  • Going through things together is a large part of office work: training a new colleague, support helping a user, two people on a call over a list of cases. Screen sharing does it, badly: one screen, a remote mouse, and the follower can't scroll or look closer.
  • The app knows the route, and presence knows who's here. RFC 0015 already joins Laravel presence channels both ways between the web and the desktop, and whispers "editing" on them. A route is one more whisper.
  • It's private by nature, so it needs consent. Where someone is in an app says what they're working on. Following must be asked for, visible while it lasts, and easy to end from both sides.

Current state (0.49)

  • Presence (RFC 0015): Backend::presence([..]) lists the channels a window may join; <Presence channel> and presence(channel) join one while shown; Laravel's channel rule decides who's in and what's shown of them.
  • Whispers: editing is sent as Echo's client-editing on the channel; Reverb names the sender (user_id) when client events are accepted from members (its default). Askr's --pusher doesn't pass whispers on.
  • The router: each window has its route ($route), and navigate moves it.

Design

Asking

Following happens on a presence channel both are in. An app-wide one (office, or workspace.{id}) lets anyone follow anyone in the app; a record's channel only while both have the record open.

  1. Grete chooses Follow on Ada's avatar. Her app whispers client-follow-ask { to: "<Ada's id>" }.
  2. Ada's app shows, in its focused window, "Grete wants to follow you" with Allow and Don't (the runtime's dialog, as confirm). Nothing about Ada's route is sent until she allows.
  3. Allow whispers client-follow-yes { to: "<Grete's id>" } and Ada's route at once; Don't, client-follow-no. No answer in a minute is a no.

A whisper reaches every member of the channel, so each says who it's for (to), and an app acts only on what's for its own user and from a member the server named.

Following

  • Ada's app sends her route as client-route { route } while anyone follows her: when it changes (at most every 250 ms), and every 30 seconds, so a follower who reconnects catches up. It's the route of Ada's focused window, as its router has it. Nothing is sent while nobody follows her.
  • Grete's window navigates to each route from Ada, as navigate does, with the same rule as RFC 0041's Quick Look: only one of the app's own routes (/…), never a URL.
  • A bar in Grete's window says "Following Ada" with Stop; a small ring on Ada's avatar says the same in <Presence>.
  • Ada sees it: "Grete is following you" in her app (a bar in her focused window, and on Grete's avatar), with Stop.

Stopping

Following ends, for both, when:

  • Grete presses Stop, or navigates herself (a link, the back button, ⌘K, a command that navigates). Only a route that came from Ada keeps it going.
  • Ada presses Stop (client-follow-stop).
  • Either leaves the channel: closes the window, signs out, goes offline. The presence channel's member list says so.

Which routes travel

All of the app's routes by default. An app keeps some to itself:

// app/src/main.js
import { following } from "@elyra/runtime";

following.share((route) => !route.startsWith("/settings"));

A route not shared isn't sent; Grete's bar says "Ada is somewhere you can't follow" until Ada comes back to one that is.

In the frontend

import { presence, following } from "@elyra/runtime";

const office = presence("office");
await office.follow(member.id);     // asks; resolves true when allowed
$following;                         // { leader, channel } | null: whom this window follows
$followers;                         // the members following this user
following.stop();                   // as Stop does
following.stopFollowers();          // as Ada's Stop does

<Presence follow> wires it: a click on an avatar shows Follow, the ring, and the bars come with it.

On the web

The web half takes part with Echo alone: the same whispers on the same presence channel. A browser following a desktop user works where the two apps share their routes (/customers/42 on both); where they don't, the web app maps them, or doesn't take part. elyracode/elyra-backend's Boost guideline says what to whisper. The desktop-to-desktop case needs nothing from the web.

Security and privacy

  • Nothing is sent before the leader allows it, and only to the channel's members, who Laravel's channel rule let in.
  • Only the route travels: never a record, a form's contents or a window's picture. What the follower's window shows, it reads as the follower; a route she may not see is refused as it would be if she typed it.
  • A whisper is acted on only from a member the server named, as for editing; a route from anyone else is ignored.
  • The follower can't make the leader do anything: following is one-way, and the leader's app never navigates on a whisper.
  • Askr's --pusher doesn't pass whispers on, so following isn't offered there; <Presence follow> leaves out Follow.

Testing

  • The whispers: ask, yes, no, no answer, stop from either side, with PusherFake as the presence tests already use; a whisper for another user, or from someone the server didn't name, ignored.
  • The follower: navigates to each route, ignores a URL, stops on its own navigation.
  • The leader: sends nothing unasked, its route on each change and every 30 s while followed, and nothing for a route share says no to.
  • Against Laravel and Reverb in CI's backend job, two apps on the fixture's customers.{id} channel.

Implementation plan

  1. The whispers in the shell's presence: ask, answer, route, stop; who follows whom, per channel; the timeouts.
  2. @elyra/runtime: follow, following, followers, share, the navigation and its stopping.
  3. <Presence follow>, the bars, the ring.
  4. Docs (docs/backend.md, docs/ui/presence.md), the Boost guideline's whispers for the web half.

Not in this RFC

  • Following inside a page: scroll position, an open tab that isn't in the route, a form's fields. Only the route.
  • Leading a group ("everyone follow me"): one follower asks at a time; several may follow the same person.
  • A cursor or pointer on the other's screen.

Alternatives considered

  • Screen sharing, as now: no app work, but one screen, a remote mouse, and a follower who can't look closer.
  • A shared link ("open this"): one place at a time, by hand.
  • Following without asking, visible to the leader. Simpler, and wrong: where someone is in an app is theirs to share.

As built

  • In the shell's Presence: who this app's windows follow (window → channel, leader, allowed), who follows this user (per channel), the requests waiting for an answer, and this user's route. A whisper about following is acted on only from a member the server named, and only when its to is the user (client-route needs no to: it goes to the windows following its sender). Command::Whisper sends one on the connection, as editing is sent.
  • A request waits a minute; then it's refused (elyra:follow { kind: "refused" }). Answering sends the leader's route at once, and every 30 seconds after while anyone follows, for a follower who reconnected.
  • The leader's route is reported by the runtime when it changes and when a window gets the focus, only from the focused window, and null for a route following.share keeps back. The shell sends it only to channels with followers, and only when it changed.
  • The follower navigates to each route from the leader (only /…, never a URL); a route change that isn't the leader's last ends it, so the follower's own navigation stops following, as decided.
  • elyra:follow carries asked (to every window; the focused one asks with the runtime's dialog), following, refused, stopped, route and followers. /__presence/follow-state reads them at start.
  • Tested: the shell's four follow tests (ask, allow, routes, a URL refused, stop from either side, no and no answer, a member leaving, the connection closing, not yourself), the runtime's two (following and stopping by navigating; the route said only while focused and shared), and <Presence follow>'s four; against Laravel and Reverb in CI's backend job (laravel_presence.rs), with the desktop app and a browser tab speaking Echo's whispers: Bob asks, Ada allows, her routes reach him with Reverb naming her, she stops him; then she follows him, his route moves her window, and his leaving ends it. Not yet: trying it by hand with two machines.

Decisions

Settled on 2026-11-20, all as recommended:

  1. The leader is asked, Allow or Don't; nothing of their route is sent before they allow it.
  2. Any presence channel the app lists; the docs show an app-wide one in the toolbar.
  3. The follower's own navigation ends it: only a route from the leader keeps it going.
  4. All of the app's routes are shared by default; following.share(fn) keeps some back.
  5. Target 0.52.0.