Skip to content

leon 0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Nov 15:00
221c542

leon is a terminal multiplexer for people who run several terminal programs and coding agents at
once. In 0.2.0, an agent can start other agents and hear back from them. You can see and drive
your sessions from a browser or a phone over your tailnet. A pane keeps its scrollback in about a
ninth of the memory it took. Leon.app adds a card for links, closing and renaming tabs and
sessions, cursor shaders, input methods, and keys that echo at once. leon --version prints
leon 0.2.0 (<commit>), and the socket API is 1.18.0. To update: leon self-update, Install in
the app, or brew upgrade (Install).

Agents

  • Agents orchestrating agents. leon agent start runs Claude Code, Codex or any agent in a tab
    or pane, working for you; its hooks report to your leon inbox, and leon types a notice into
    your prompt when your turn ends. New experimental methods agent.link, agent.list,
    agent.inbox, and kind on dev.leon.terminal.report_status; api_version 1.13.0.
    leon agent start --worktree gives a worker its own git worktree, which leon agent close
    removes only when that loses no work
    (detail).

    An agent starts two agents and hears back through its inbox

  • Permission prompts stay yours. An agent in leon can't type into a pane that waits on one,
    or move your keys onto it; only your own focus move puts them there. It keeps agents from
    answering; it is not a sandbox (detail).

leon in the browser

  • leon in the browser, over your tailnet. serve_web serves a page of your sessions, tabs
    and panes to your own machines; api_version goes to 1.16.0 (detail).
  • HTTPS for the browser page. serve_web_cert and serve_web_key name the files tailscale cert
    wrote; leon reads and reloads them; api_version goes to 1.17.0 (detail).
  • Drive leon from the browser. The tailnet web page types, pastes, copies, sends the mouse,
    opens and closes sessions, tabs and panes, and lists Activity (detail).
  • The web page on a phone. Activity first, one pane at a time, a drawer for sessions and tabs,
    and a key row with Esc, a sticky Ctrl, Tab and the arrows (detail).

Leon.app

  • A link card. Resting the mouse on a link, or right-clicking it, shows its address with Copy and
    Open in Browser; link_card turns it off, and api_version is 1.14.0 (detail).

    A link's card, on hover and on right-click

  • Closing and renaming tabs and sessions. Close Tab (⌥⌘W), Close Session (⌥⇧⌘W), a × on hover,
    right-click menus and double-click to rename (detail).

    Renaming and closing a tab and a session

  • Cursor shaders. Leon.app draws a Shadertoy-style cursor shader file you name with
    cursor_shader over its window, on macOS; api_version goes to 1.15.0 (detail).

    A cursor trail

  • Input methods and the emoji picker in Leon.app's panes. Japanese, Chinese and other input
    methods compose at the cursor (detail).

  • A key's echo is shown at once in Leon.app, not at the next display tick (detail).

  • Leon.app doesn't wait on its own server once its window is up. Keys, splits, copies and the
    window's other calls to This Mac's server queue in order off its thread, and a config reload shows at once (detail).

  • Overlays give the keys back. The palette, switcher, find bar, overview and rename field each
    take the focus while open and, however they close, give it to the overlay still open, else the pane (detail).

  • What's new, in the app. The first launch of a new version says "Updated to leon X.Y.Z" once,
    with What's New, which opens that version's page on the website (detail).

Scrollback

  • Scrollback that costs what its text costs. A pane keeps its 10,000 lines in about a ninth of
    the memory; leon.set("scrollback", N) sets how many, reported by server.settings (api_version
    1.18.0) (detail).

Docs