Changelog: the milestones of 0.1.0¶
The detail of each milestone that built 0.1.0, newest first, moved here from CHANGELOG.md to keep that file short; each section is as it was written.
Fixed in the release audit¶
- A server could open only about 80 panes when it started with a low open-file limit, which is what launchd gives the app: past that, new panes failed with "Too many open files". The server now raises its own limit, up to 10240.
- On macOS, a second server could unlink the socket of a live server that was too busy to accept
connections, leaving every program running but out of reach. A server now holds
server.lockfor its whole life, and no one unlinks a socket while it is held. - A window split more than about 60 levels deep, or more than 1024 blocks, saved fine but then
couldn't be loaded, so the next start set every session aside. A window now nests at most 32
splits, and a server holds at most 1024 blocks; past either,
session.new_split,session.move_blockand the like answer 400. Schemas are unchanged. - Over a host's link, a slow or hostile host could freeze the whole window, local panes too:
the wheel, scrolling back, find, selections, links and copies waited on the host, and a host
sending lines that weren't the reply kept a call waiting for ever.
leon attach -Hcouldn't read its detach key meanwhile. Now nothing on the window's thread waits on a link, and every call has one 5 s deadline. A copy from a host's pane copies what the app drew over the range dragged, not the host's reply, and a link whose uri isn't the text drawn asks first. - The app freed nothing when a pane closed or its host went, read every block once per tab for the
sidebar on each poll, and took whatever counts and layouts a host sent. Remote lists are capped
(256 sessions, 1024 tabs, panes and layout leaves per session); a split ratio outside 0 to 1 is
refused. Smaller fixes: a mouse release reports the button let go; a non-UTF-8 line no longer
drops a server; writes and spawned calls have timeouts. All 14 app findings have their own tests
(
crates/*/tests/hard_*.rs).
Fixed in the daily-driver test¶
leon run,split,float --newand Lua find programs on your shell's PATH (login and rc files), even when Leon.app started the server from Finder with launchd's bare PATH.- With
-H,run,splitandnewstart in the host's home or an absolute--cwdthere, not this machine's directory, and fail within 15 s while the host is unreachable. - Sessions are saved while the server runs, so a crash no longer restores an older save.
- A resume command is offered at one restart, not at every one after it.
leon -H … attachsays when it is reconnecting; its splits keep a remote pane's directory.- A program not on PATH fails with one line instead of listing every PATH entry.
- ⌘K puts what needs you (blocked, error, done) first among equally good matches.
- Activity rows are titled by the block's label, its program's title or its status title, not the program's name, and a long line ends at a word with "…".
- A pane header too narrow for its directory cuts the middle (
~/src/…/api/routes); hovering it shows the whole path. - Restored blocks keep the title their program had set until it sets a new one.
- When
leon server stopstops the server, the app says so and offers Start It Again or Quit, instead of closing. - Key events with key code 0 and text of their own (automation, some accessibility tools) type
that text instead of
a.
Joined panes, their events, long socket paths (API 1.5.0)¶
Fixed¶
- A command run in a pane that joined another session acts on the session that holds its
LEON_BLOCKnow, not theLEON_SESSIONit started with:leon run,leon split, a short-bname,leon events, scripts, and the agent hook's resume registration.LEON_SESSIONis the fallback whenLEON_BLOCKisn't set or is gone. - A pane joining another session (
session.move_block) sendsblock_closedto the session it leaves andblock_createdto the one it joins, so each session's subscribers (leon events -s, attach) hear it, as for a kill and a create. This raisesapi_versionfrom1.4.0to1.5.0. - A socket path too long for this system (104 bytes on macOS, 108 on Linux, the NUL included)
fails at once:
leon server startand a command that would start a server name the path, its length and the limit, and say to set a shorterLEON_RUNTIME_DIR. It used to say only "the server didn't come up".
Loose ends after M12–M21 (API 1.4.0)¶
Changed¶
session.move_blocktakes a block from any session: one from another session joins the anchor's session, beside the anchor (tmux'sjoin-pane); a session it empties closes. The moved program keeps theLEON_SESSIONit started with. A window a pane joins from another window or session unzooms, so the pane shows. This raisesapi_versionfrom1.3.0to1.4.0.- ⌘↩ in the session switcher puts a pane of another session on this machine in a split beside the focused one; on a row of another machine it says why it can't, and ↩ still goes there. With a floating or docked pane focused, the pane joins beside a tiled one. A notice clicked after its pane joined another session goes to the pane where it is now.
Fixed¶
- The find bar's count ends in
+(n of N+) and copy mode's badge saysN+ matcheswhen find stopped short of every match (10000, or 300 ms). - Copy mode holds the view still while output arrives, also with its cursor on the bottom row (tmux); it no longer ends when a resize shortens the screen under its cursor.
scripts/linux-test.shruns as a user namedbuilder, so the privacy test no longer takes the project's name in the README for the login.
M22a — Themes and settings, the model half (API 1.3.0)¶
Added¶
- A theme model outside the app (
leon_core::theme): the terminal palette, the app's chrome and the status colours.leon-darkis the app's colours unchanged;leon-lightis new, Iron on Parchment, with every text and status colour at 4.5:1 or more. leon theme list,leon theme import FILE [--name NAME](Ghostty theme files and iTerm2.itermcolors, stored inthemes/beside init.lua) andleon theme show NAME.- Settings in init.lua:
leon.settakestheme(a name, or{dark, light}to follow the OS),font.family,font.size,notifications.done|blocked|error, as well ascopy_on_select,repeat_time,hint_patternsandresume.leon config get [KEY]reads them;leon config set KEY VALUEedits init.lua in place, keeping comments, and refuses a key set by code it can't rewrite. server.settings(stable): every effective setting and where each was set, and thesettings_changedevent when a reload changes them. This additive change raisesapi_versionfrom1.2.0to1.3.0.
Changed¶
- The notification switches are
notifications.blocked,notifications.errorandnotifications.done(M13 shipped them unreleased asnotify_*; those names are gone), andclient.keymap's settings carry them asnotifications.
The app doesn't use the themes, fonts or leon config set yet; that is M22b.
M19: tmux migrants¶
Added¶
- Repeatable bindings:
leon.bind(key, target, args, { repeats = true }), like tmux'sbind -r, in the app andleon attach, withleon.set("repeat_time", ms)(default 500). - Copy mode in the app (⌘⇧C,
client.copy_mode): vi keys over the scrollback,v/Vselections,/and?search withn/N,ycopies. - Hints in the app (⌘⇧H,
client.hints): labels on the URLs, paths, git hashes, UUIDs, hex and IP addresses and long numbers on screen; a label copies, in upper case it types the text into the pane.leon.set("hint_patterns", {...})adds patterns. - docs/lua.md: a tmux-style preset and a vim-navigator recipe.
repeatsonclient.keymapbindings andrepeat_timeandhint_patternsin its settings (internal).
Changed¶
leon actionslists the app's own actions after the config's.- Shifted symbols (
&,|,%,", …) in bindings are documented as accepted as typed.
M12 + M13: switch fast, and know which agent needs you¶
Added¶
- The session switcher (⌘K,
session.switch): every tab on every host, and a block when the query matches its title, with its status; the most recently used first. ↩ goes there; ⌘↩ moves the pane beside the focused one when both are in the same session. - Activity (⌘⇧A,
client.sidebar.activity.toggle, a toolbar button): every block that needs you across hosts, blocked (with its kind), error, done-unseen, then working with its progress, each with how long it has waited; a click goes to the pane, which clears its done or error. - The blocked count on the Activity button and the Dock icon, shown only when something is blocked.
- Notifications from Leon.app (UNUserNotificationCenter) when a block blocks or errors, or a run of
30 s or more finishes while the app is in the background; once a minute per block and state, four
a minute in all;
leon.set("notifications.blocked" | "notifications.error" | "notifications.done", false)turns a kind off. Clicking one goes to its pane. leon notify [-b BLOCK] [--state working|blocked|done|error] [--title T] [--body B]and the experimental block methoddev.leon.terminal.report_status: a status for your own block, held to the OSC 7501 rules.
Changed¶
- The app and
leon attachread at most 16 MiB per line from a server (was 256 MiB). The server splits a screen update past 4 MiB into several lines and trimsdev.leon.terminal.linesreplies to 4 MiB of rows (ask again for the rest). - Applying a screen update is linear in its size, whatever a server sends; a line given twice takes its last row, and a row keeps at most a line's worth of spans, text and backgrounds.
- A line past the cap ends the connection instead of re-attaching to it; event and screen lines are parsed into their types, so a server gets about a byte of the app's memory per byte it sends. Names and status text from a server are stripped of hidden characters before they are shown.
- The docs' screenshots are retaken with a neutral demo (
scripts/demo-shots.sh), and a test keeps the user's login and machine name out of them.
M20a — Floating panes and drawers (API 1.2.0)¶
Add session.float_block, new_floating, dock_block, unfloat_block and toggle. Window views now carry floating (back to front) and docked placements, including hidden panes; hiding preserves programs. CLI/Lua and attach support floats and drawers.
M21: projects and worktrees as a recipe¶
Added¶
leon new --cwd DIR(alsoleon session new): caller-relative or absolute directories; missing paths and files are usage errors (exit 2).- Optional
cwdonsession.create, overriding the first terminal's layout cwd. This additive change raisesapi_versionfrom1.0.0to1.1.0. - Example Lua action and script for project/worktree sessions, with an opt-in ignored-file hook; see the recipe.
Changed¶
- The long design notes now have short indexes linking their original sections.
M18: a promise for integrators¶
Added¶
api_version(1.0.0) inhelp.allandserver.version.- A stability marker on every method and block method (
stable,experimentalorinternal), shown byleon api listandleon api describe, which now also list the block methods. - A
deprecatedfield (since,replacement,removal) for methods on their way out. None is deprecated yet. - Request and response examples on the most-used methods (
request_example,response_example). - docs/api.md, the API reference generated from
help.all; a test fails when it drifts from the server. - docs/api-snapshot.json, the stable methods' schemas; a test fails on any change to them until the snapshot is updated after a version bump.
- docs/integrators.md: how to write a client in any language, with a tested Python client.
- This changelog.
M17: leon attach, the terminal client - 2026-11-15¶
Added¶
leon attach [TARGET]: a terminal UI client that runs in any terminal, locally or over ssh. It picks a session with a preview, shows tabs and split panes, and detaches withctrl+b d.- tmux-style keys after a prefix (
ctrl+bby default,--prefixor the config'sattachmode to change it), with config bindings and sequences on top. - The host terminal is restored on detach, errors, panics, signals, and even when the client is killed (a watchdog process).
M16b: hosts in the app - 2026-11-15¶
Added¶
- The app's sidebar shows This Mac and every host from
leon hosts, each with its sessions and a dot for its state: connecting, connected, reconnecting, unreachable (with ssh's own words), or needs login (with the advice to runleon hosts check). - New Session on any connected machine and Add Host… in the command palette; splits, keys and new tabs act on the focused pane's host.
Changed¶
- The app and
leon attach -Hresume their event stream after a dropped link instead of attaching afresh, and notice a half-dead link in about 15 s.
M16a: remote sessions over SSH - 2026-11-15¶
Added¶
-H HOSTon every command: reach a leon server on another machine through the systemssh, with no forwarding and nothing listening on TCP.leon hoststo keep a list of named hosts, andleon server proxy, which bridges ssh to the remote server's socket (starting it if needed).- Resumable event streams:
session.attach/session.attach_allwithresumable: true, andsession.resumeto pick up after the lastseqseen.leon events -Handleon attach -Hreconnect on their own when the link drops.
M14: agents come back after a restart - 2026-11-15¶
Added¶
- A block method,
dev.leon.terminal.set_resume, that registers the command that resumes a program. The agent skill's hook recordsclaude --resume …orcodex resume …with it. - The
resumesetting (ask,always,never): restored blocks type the resume command at the new prompt, and withalwayspress Enter too. Nothing else that ran is run again. - Each block's scrollback is saved (capped, control characters removed) and shown again after a restart, dimmed, above a "restored from" line.
M11: scrollback, selection, copy, mouse and find - 2026-11-15¶
Added¶
- Scrolling through scrollback with the wheel and trackpad, click-drag, double- and triple-click selection, and copy with Cmd+C.
- Mouse reporting to programs that ask for it, with Shift held to select anyway.
- A find bar (Cmd+F) over scrollback and screen, and clickable links, OSC 8 included.
- Block methods for clients:
lines(history by absolute line number),find,selectionandlink_at.
M10b: the UI pass - 2026-11-15¶
Changed¶
- Tabs live in one place: as rows in the sidebar by default, or in the titlebar
(
client.tab_style.toggle), remembered across launches. - leon's brand palette everywhere, inset pane tiles with headers and controls, one toolbar row, titles set by programs, an empty state that teaches, and one icon set.
M10: the app attaches - 2026-11-14¶
Changed¶
- The app connects to the running server, or starts one, instead of owning it. Quitting the app
leaves every program running; "Quit and End All Sessions…" or
leon server stopends them.
Added¶
- The screen transport:
block.watchpushes screens over the socket, anddev.leon.terminal.screenreturns one whole.
M9: app polish - 2026-11-14¶
Added¶
- Program status (OSC 7501) in tabs, the sidebar and panes.
- A command palette, the Lua keymap in the app, new panes in the current directory, and font size keys.
M8: persistence and speed - 2026-11-14¶
Added¶
- The server saves its sessions when it stops and restores them when it starts: windows, layouts, labels and focus come back with the same IDs. Programs start fresh; saved commands are never re-run.
- Measured input latency and throughput, with a benchmark in the repo (docs/performance.md).
M7: agents and shipping - 2026-11-14¶
Added¶
leon skill setup|status|remove|showfor Claude Code and Codex (M7a).Leon.app(scripts/bundle.sh), an install script (scripts/install.sh), tested docs, andLEON_BIN_DIRsoleonresolves inside the app's terminals (M7b).
M6: the app - 2026-11-14¶
Added¶
- The GPUI app: a window with sessions in a sidebar, tabs, and live terminals, with keyboard input (M6a).
- Split panes with dividers you can drag, click to focus, zoom, and keys to split and move focus (M6b).
M5: Lua - 2026-11-14¶
Added¶
init.luaconfig: key bindings, sequences, modes and actions, checked byleon config check(M5a).- A live config the server keeps:
leon doscripts withleon.on,wait, timers andexec,leon actions,leon keymapandleon config reload(M5b).
M4: program status - 2026-11-14¶
Added¶
- OSC 7501 program status: programs report working, done, blocked or error; leon parses it
(docs/agents.md), sends
program_status_changedevents, and answersleon block call … program_status.
M3: layout and events - 2026-11-14¶
Added¶
split,focusby direction,move,swap,zoom,resizeand closing panes.leon events: an event stream with a gaplessseq, starting from a snapshot.
M2: terminal blocks - 2026-11-14¶
Added¶
- Real terminals in a PTY:
leon run,send,send-key,captureandwait, andrun --waitwith the program's exit status. Programs seeLEON_SESSIONandLEON_BLOCK.
M1: server, API and sessions - 2026-11-14¶
Added¶
leon server run|start|stop|status; any command starts the server when it isn't running.- Sessions and windows: create, list, rename and close them; targets by ID, label, position or ID suffix.
- The self-describing API:
help.all, andleon api list|describe|call.