Lokyr
Documentation

Roadmap

On this page

Version 1.0 targets macOS only. Linux comes after 1.0, in F7. To keep that door open, CI builds and tests the platform-independent crates on Linux from F0 onward.

Each phase is broken into tasks of one day or less. A phase's breakdown is written near the end of the previous phase.

Overview

PhaseContentsExit criteria
F0 FoundationsWorkspace, CI, dependency rules, ADRs, budget harness, notarized plugin-runtime spikesCI green; ADRs approved; plugin runtime decided
F1 Headless VT corevt-core, pty, session, search engine, lokyr-replay, fuzzing and differential testsCompatibility and throughput measured (see below)
F2 macOS, single panemacOS platform, CoreText fonts, Metal rendering, minimal kernel, core-actionsUsed as the main terminal for a week
F3 macOS MVPFull kernel, native SDK, ui-core with the plugins' widgets and floating panels, tabs, splits, search plugins, iTerm2 themes, palette, the agents' state on the tabs; copy mode, the scrollbar, shell integration with prompt jumping and notifications, the command's sticky header, the programs' progress, windows restored with their directories, the Finder's service; a DMG, updates through Sparkle; after F4, the first public release, 1.0.0Every must-have requirement in place
F4 Plugin ecosystemBefore 1.0.0: Luau host, Luau API, Sleip, registry v0, snap and awake publishedPublishing and installing work end to end; snap and awake in the registry; then 1.0.0
F3b Settings and themesAfter 1.0.0: a settings window, of the plugin-manager's page and the config's; themes made, duplicated and imported in the appThe settings window edits the config and the keys' bindings; a theme made and imported in the app
F5a The programs' status, the prompt, the tabs and blocksAs 1.3 and 1.4: the programs' and the agents' status of OSC 7501, a click at the prompt, the tabs' management and groups, hints; Warp-style blocks, smooth scrollingEvery agent that tells its state shown exactly; blocks verified in zsh, bash and fish; smooth scrolling of no frame at rest
F5b Sessions and iTerm2 power featuresAs 1.5 to 1.8: the scrollback restored, named sessions and layouts, broadcast, floating panes; Shortcuts, AppleScript and the search's filter; triggers and the panes as cards; tmux -CC and profilesA session restored and switched; tmux -CC workflows on par with iTerm2
F5c Graphics and feelAs 1.9: all of kitty's graphics and sixel, the cursor's trail, kitty's drag and dropkitten icat, imgcat and chafa work, inside tmux too
F6 Plugin API 1.0 and hardeningHardening, docs, stable plugin API 1.0The plugin API 1.0's criteria (see Versions)
F7 After 1.0Linux, registry v1, Windows, mux daemon, lz4, custom shaders, an AI assistant—

Phases in detail

F0 — Foundations

Exit: CI green; ADRs approved; plugin runtime decided.

F1 — Headless VT core

Exit:

F2 — macOS, single pane

Exit: used as the main terminal for a week; Japanese IME works; budgets measured; zero wakeups when idle.

F3 — macOS MVP

Exit:

F4 — Plugin ecosystem

Before 1.0.0, after F3's daily features, as 0.8 and 0.9, so that the first public release has third-party plugins that anyone installs from the registry. Its breakdown is a task of F3's plan, after 0.7; its exit joins F3's at the exit review before 1.0.0.

Not in F4: the plugins' network and processes, refused until F6; a canvas of drawing primitives; packages of themes, as the app holds the collection and reads the web's themes as they are; the guide for theme authors is F4's.

Exit:

F3b — Settings and themes

After 1.0.0, as 1.1 and 1.2: the settings window and its pages, then themes made, duplicated and imported in the app, their interface's colors of rules that name each other, faint text, the cursor guide, and the settings' Keys page. IPC, the remote CLI, the MCP server and the agents' hooks, planned here before, are put off.

Exit:

Put off: IPC, MCP and the agents' hooks

Of no phase nor version: whether Lokyr becomes an MCP server at all is decided later, of the use that agents make of terminals then. Agents run commands of their own shell; a terminal's MCP server helps where a process lives on, where the work stays in sight and where a command's end and exit code count, and it opens the widest door into the panes. The designs stay, as SECURITY.md has them:

F5a — The programs' status, the prompt, the tabs and blocks

Ordered by what people ask of terminals, as the trackers of fifteen terminals and multiplexers told in November 2026.

1.3, the programs' status, the prompt and the tabs:

1.4, blocks and smooth scrolling:

Put off: ssh integration

Of no version, planned for 1.4 before: ssh in your shell installing Lokyr's terminfo on the hosts that you reach, or falling back to xterm-256color, and carrying the shell's integration there at each session, so that the blocks, the gutter's marks and the jumps between prompts work in a remote shell. Until it comes, a session over ssh is one long command to Lokyr.

F5b — Sessions and iTerm2 power features

1.5, sessions:

1.6, automation and the search:

1.7, triggers and the panes as cards:

1.8, tmux and iTerm2's power features:

F5c — Graphics and feel

1.9:

F6 — Plugin API 1.0 and hardening

F7 — After 1.0

Linux:

Everything else:

Versions

Releases are X.Y.Z, nightly and beta builds X.Y.Z-YYYYMMDD, release candidates X.Y.Z-rc.N.

VersionContents
0.2–0.7F3's blocks, on its branch: 0.2 the architecture, 0.3 the distribution, 0.4 ui-core, 0.5 the plugins' plumbing, 0.6 the plugins, 0.7 the daily features; a fix takes the patch
0.8–0.9F4's blocks, before 1.0.0: 0.8 the Luau host and Sleip's own loop, 0.9 the registry, and snap and awake published
1.0.0macOS MVP (F3) and the plugin ecosystem (F4), the first public release, the repository made public, under the MIT license, with the agents on their tabs, which come after F4, and a path's line in the editor, the last command's output, inline images, a Homebrew cask, and the documentation's site at lokyr.dev, on GitHub Pages, with the updates' feed; semantic versioning from here: patch, minor and major
1.1The settings window, of the plugin-manager's page and the config's (F3b's first block)
1.2Themes made, duplicated and imported in the app, their colors of rules that name each other, faint text, the cursor guide, and the settings' Keys page (F3b's second block)
1.3The programs' status of OSC 7501, a click at the prompt, the tabs' management and groups, hints (F5a's first block)
1.4Warp-style blocks, smooth scrolling, and two plugins of the registry (F5a's second block)
1.5The scrollback restored, named sessions and layouts, broadcast input, floating panes and popups (F5b's first block)
1.6Shortcuts and AppleScript, the search's filter and a search of every tab, releases made by the CI (F5b's second block)
1.7Triggers, and the panes as cards (F5b's third block)
1.8tmux -CC, profiles and encodings, the context menu's items (F5b's fourth block)
1.9All of kitty's graphics and sixel, the cursor's trail, drag and drop (F5c)
1.xThe plugin API 1.0 (F6): stable plugin API in both front ends, complete docs, no open critical bug for three months; a major only for a change that breaks what people rely on
laterLinux (F7), registry v1

The plugin API has its own version, plugin-sdk's, experimental until its 1.0 (PLUGIN-SYSTEM).

First code files

F0

FileContents
Cargo.tomlWorkspace, [workspace.dependencies], [workspace.lints], profiles (panic = "unwind", LTO in release)
rust-toolchain.tomlPinned stable toolchain and targets (aarch64-apple-darwin, x86_64-unknown-linux-gnu for CI)
deny.tomlLicenses, advisories, bans (HTTP/TLS and async runtimes only where allowed, via wrappers)
justfilebuild, test, lint, bench, fuzz, bundle
.github/workflows/ci.ymlmacOS arm64 (everything) and Linux x86_64 (platform-independent crates)
tools/xtask/src/main.rscheck-deps, later gen-dist, ucd, terminfo, bundle
tools/bench/Harness for startup, idle and memory
spikes/wasmtime-notarized/The F0 plugin-runtime spikes (wasmtime, LuaJIT, Luau), outside the workspace

F1

FileContents
crates/vt-core/src/parser/{mod,table,scan}.rsState machine, tables, fast path
crates/vt-core/src/page/{cell,row,page,list,style,pin}.rsPaged grid
crates/vt-core/src/terminal/{mod,modes,csi,sgr,osc,reports}.rsState and sequences
crates/vt-core/src/unicode/{width,grapheme}.rsTables generated from the UCD
crates/vt-core/src/input/{keyboard,kitty,mouse}.rsInput encoding
crates/pty/src/{lib,unix}.rsPTY and fork+exec
crates/session/src/{lib,io,snapshot}.rsI/O thread and snapshots
crates/search/src/{lib,literal,regex}.rsSearch engine
tools/replay/src/main.rslokyr-replay
fuzz/fuzz_targets/parser.rsFirst fuzz target
crates/vt-core/tests/recordings/Recorded sessions and their insta snapshots

Open questions

Closed before 1.0.0: the license, MIT; the domains, lokyr.dev alone, of the updates' feed and of the registry's pkg.lokyr.dev; the names, which neither Homebrew's formulae and casks nor crates.io, npm or PyPI held on 12 November 2026; the marks of Lokyr and Sleip, checked by hand in the US, Europe and the world's registers the same day.

QuestionWhen to decide
An atomic store for the watchdog's interrupt in the vendored Luau, or Luau's guarantee that the race is harmlessF4
The buffers for bulk data between the host and Luau plugins, and how the Luau type definitions are generated from the Rust typesF4
The threads of the Luau plugins' executor: one, a fixed pool, or, for third-party plugins, a pool that grows: a thread at the start, one more as all of them hold calls under way, up to a bound, and an idle one ending after a while; each plugin one call at a time, its VM on one thread at a time. First-party plugins on a thread of their own have one each (PLUGIN-SYSTEM)F4, with the executor
Branch protection on main: CI enabled again, of the free minutes of a public repository, and a ruleset that requires its macos and linux checksWhen the repository goes public
Flatpak for Linux, where the sandbox makes launching host shells awkwardF7