A native window for cornercase, the terminal multiplexer for running coding agents in parallel, on macOS, Linux and Windows. It is drawn on the GPU with GPUI, the UI framework behind the Zed editor, and aims to do everything cornercase's own window does, with the look and feel of a native app.
It is only a window: cornercase's server keeps owning the shells, agents and worktrees, and this app drives it through the cornercase command line. Both windows show the same session, and closing either one stops nothing.
Download · Website · usecornercase.dev · cornercase · Discord
- Terminal. Every pane sits on a floating card: drag the gap between cards to resize, select with the mouse, click a web address, in a machine's tab too, to open it in your browser or the Browser panel (Settings › Links), ⌘-click links and paths to open them in their default app, drop files to paste them, and drag a pane by its handle onto another to move it. A pane scrolled up says
↓ n more, and a click on it goes back to the bottom. A message that a script or another agent sends while you are typing to a pane waits for you: the pane's card says who sent it, with buttons to send it now, which submits what you have typed with it, or to let it wait its turn. Tabs that do not fit in the bar scroll with‹›or the wheel, and the one you are on stays in view. A project or workspace with nothing open says so, with buttons to start an agent, open a shell or reopen its closed agents. - Sidebar. Groups, projects, workspaces and agents, with each agent's status, model, account and context, and each workspace's pull request with how its checks went: click it, or press ⌘P, for every check with its link, its stack and Ask agent. Merge check, in a workspace's menu, says whether it would merge cleanly into its base and which files would conflict, and hands them to its agent; with Settings › Worktrees › shared files on,
⇄marks workspaces and files that another workspace changes too. View context, in a tab's or an agent's menu, shows what fills that agent's context: memory files, MCP servers, skills and the tools that took the most, without typing into the agent or spending tokens. A tab saysOpus 5.5 · compactedafter its conversation was compacted, and with Settings › UI › memory on, the memory its panes use. The rail counts the changed files on Changes' icon and puts a dot on TODO's while items wait. Drag to reorder, in any layout of cornercase's Settings → UI, whose switches for the model, context, counts, TODO dot and inactive panes the window follows too. Click Projects, Workspaces or Agents to fold the whole section under its title, for every window of that server (cornercase 0.14.1 or newer). Open in… takes a project, a workspace or a pane's folder to your file manager, VS Code, Cursor, Zed or Sublime Text. Import VS Code workspace…, in the Projects+or a group's menu, turns a.code-workspacefile into a group of projects, and Run setup, in a worktree's menu, runs its project's setup again to retry after a fix. - Previews. Rest the pointer on a path a program printed and the file shows beside it: code at its lines, images, PDFs and documents (Quick Look on macOS, the desktop's thumbnailers on Linux, File Explorer's thumbnails on Windows), and videos and sounds that play on macOS. A click opens it in the Files panel. Rest it on a web address and the page shows, drawn by the Browser panel's Chrome: a local dev server's at once, others when you ask.
- Docked panels. Changes (the workspace's diff, to filter by path, stage, discard and review), Files (tree, viewer and search), TODO, Recap (below), a Browser and, in a workspace that runs a flow, Flow: its plan lit up where the work stands, its team and their messages, beside the agents at work; the files of its run open in Files, and ‹ Flow goes back. In a diff or an open file, click, drag, ⇧-click or ⇧ with the arrows to select lines or characters, then ask the agent about them, copy them or open them there; ⌘F finds in the open file. Long lines wrap, or a button cuts them. The tree shows git's letter for what changed, an open file marks its added and changed lines and where lines went (a click on the mark shows the old ones), and a button gives the file the terminal's room until you press it again or Esc.
- Bots. With cornercase 0.13.77 or newer, the Bots button at the top of the rail (always there, so you know your bots are one press away; it counts the answers you have not read) opens a page of their own, as a chat app: the sidebar lists your bots, each with its face, the start of its last message, when it came and how many answers you have not read, and the main area shows the chat of the one you pick (the one you looked at last when you open it). With no bot yet, it says what a bot is and offers New bot and three ideas that fill in its form. New bot starts with your bot's face, whose colour you pick, then its name, what it is for, its agent and its access; the rest waits under More options. Pressing the button again, a tab or anything that shows a workspace goes back. A click on a bot, or its name in Search, shows its chat, live: what you wrote, held messages, the steps it takes (past three they fold), and its answers in Markdown, each with a copy button. Drag over its answers, your messages and its errors to select their text (a double click takes a word, a triple click a paragraph), and ⌘C copies it as shown. An answer, or a failure, in a chat you are not looking at shows a toast with the bot's name and its first words, and Show opens its chat; while the window is in the background a desktop notification says it too. ⇧⌘I goes to a bot whose answer you have not read, else back to the bot you looked at last and on through your bots. Write to it in the field at the bottom of its chat: Return sends and ⇧Return breaks the line (a message sent while it answers waits, marked
Held); Stop ends an answer (messages it dropped sayDropped), Retry sends again what a failed answer was asked (every held message it took), and New conversation starts afresh, keeping its memory; Tab reaches each of these buttons, and Return or Space presses the one with the ring. Each bot keeps what you were writing, and an empty chat offers three examples (four with cornercase 0.13.85 or newer, one of them a schedule). With cornercase 0.13.85 or newer, what a bot does on a schedule shows in its chat: each run of a routine is one block where it started, with its steps folded, its answer, and Run again when it failed; its toast names the routine, and Show lands on the block. A bot with no message yet readsnext 09:00on its row while a routine waits, and Routines (in the chat's header, and Routines… in its⋯, where it stays when the chat is too narrow for the button) lists its routines and reminders with their runs, to start now, pause, resume, edit or remove (with Undo), and a run that answered opens its block in the chat; its Schedule… makes a routine or a reminder for that bot (every day at 09:00 to begin with), which it answers in its chat with its own agent. Removing a bot names what it scheduled, which goes with it. Make one with New bot at the bottom of the Bots page, New bot… in the Projects+or ⌘E: a name is enough, the form also picks its agent, model, effort, account, access and what it is for, and its chat opens with the keys in its field. With cornercase 0.13.89 or newer, a bot made with what it is for sets itself up at once: its chat opens onsetting upand shows that first answer's time and steps as it works, and if the setup fails, Retry runs it again; left empty, it starts nothing until you write to it. Remove one from its row's⋯or a right click: it asks first, and rests while the bot answers (stop it first). A bot's⋯(on its row, by a right click, or in its chat's header) also offers Edit bot…, the same form with its values, which sends only what you change and counts from its next message; Rename bot (or double-click its row) renames it in place; and Open in… and Copy path reach its folder. With cornercase 0.13.101 or newer, a bot that lacks a password or a token can ask you for it: its row saysasks for a secret, its chat's line has Give…, and a dialog shows what it says it needs it for with a masked field per name. It opens by itself only while you look at that bot's chat with nothing typed in its field; anywhere else a toast tells you, and Open goes there. Save keeps the values encrypted for that bot, Not now (or Escape) leaves the ask waiting, and Never turns it down. With cornercase 0.13.107 or newer and Telegram or Discord paired, the form's Chat apps row chooses when a bot's answers also reach them (While away, Always or Off), and its chat's header shows a small phone while they do; with none paired, the row's line opens Settings › Remote. With cornercase 0.13.100 or newer, Edit bot… lists the bot's secrets by name and when each was saved: Add…, Replace… and Remove (which asks first) save at once, the value typed behind bullets, and its chat's header says how many it keeps, such as2 secrets. Details… in a bot's⋯, or a click on its name at the top of its chat, shows its card: its folder with Copy path, agent, model, effort, account, access, secrets, what it waits for, the day it was made, what it is for (itsbot.md, with cornercase 0.13.96 or newer) and its routines, with Routines… and Edit bot…. With cornercase 0.13.91 or newer, a bot follows the agents it starts: its chat saysstarted claude in cornercase › fix/ci-482with Show, which shows that agent's tab, then when the agent finishes its last message folded to three lines (a click opens it whole) and the bot's report, and when the agent needs you the end of its screen with Go to agent; a line whose agent closed, or of an earlier server run, readsclosed. Those tabs and agents readby PRsin the sidebar, its card lists them under Agents it started, and the form's Follow agents box turns the telling off for a bot. What a bot is for is changed withcornercase bot edit --aboutfor now. The bots of your linked machines are listed too, each machine's under its name: their chats are read and written through that machine's cornercase, a routine's runs show in them, their answers are told the same way (PRs on vps: …), and ⇧⌘I and Search reach them. Their⋯(on the row, by a right click, or in the chat's header) offers New conversation…, Details… (their card, read from that machine: what it is for, the agents it started there with Show, its routines) and Copy path; they have no Routines or Run again yet (edit, rename and remove them, set their secrets and run their routines in that machine's window, or withcornercase --remote), a secret one asks for is given on that machine, and while a machine cannot be reached its bots stay, dimmed, with the reason under its name, and nothing is sent. A window that is itself on another server (--remote) lists none of its machines' bots yet (usecornercase/cornercase-terminal#928). - Recap. An agent sums up what your agents did, in every project: where things stand now and what waits on you, yesterday for the daily (the last day you worked with agents, so on Monday it is Friday), or the last 7 days. Every conversation and pull request it names is a link: to the agent's pane, or to the pull request on the web. Settings › Agents › Recap chooses the agent, its model and the language.
- A browser beside the agent. A real Chrome on the workspace's dev servers, with device sizes and the console. Pick an element or take a screenshot and hand it to the agent.
- Accounts. Once an agent has more than one login, each pane says which it runs on, and its card or menu switches it: the agent restarts on the other account in the same conversation, after its turn if it is busy. Wherever an agent starts (an issue, the Agent button, the Queue, a flow, one per agent of its team) a dropdown chooses its account, on the one in use unless you pick another.
- The rest of cornercase. Search, Issues, Queue, Flows, Usage, Accounts, Machines, Processes, Ports, Worktrees, Plugins, Settings and the guided tours, each one shortcut away; on the rail, Search, Issues, Queue and Flows have icons of their own, and its gear opens a menu of Settings and the other seven sheets that shows each one's keys. Search finds settings too, after your projects, workspaces and tabs: choose one and Settings opens on its row, with nothing changed. Settings pairs a phone: a code to scan opens this computer's cornercase in its browser, pairs the cornercase phone app (with cornercase 0.13.78 or newer; each paired app has a row that forgets it) or links a Telegram or Discord bot, and a Discord forum's server is picked there. The Queue starts an agent later, or again and again as a routine: pause it, resume it, start it now, and see its last runs, each in a fresh worktree from the up-to-date default branch. It lists your projects' entries only (a bot's are in its Routines), and typing filters it as soon as it opens; Tab reaches Schedule…. With cornercase 0.13.51 or newer it shows what each run did: when it ran, its agent, branch and pull request, the agent's last message and, on demand, the newest 1,000 messages of its conversation, to read or to select and copy. Its prompt, a flow's task and Start an agent's prompt take several lines: Enter breaks the line and ⌘Enter sends it. A flow, a team of agents, starts from its sheet, from an issue or from a project's
+, and opens its workspace with the Flow panel beside it (View flow in the workspace's menu opens it later); with cornercase 0.13.33 or newer it can close its agents once its pull request merges, chosen when it starts or later on its page, and, with 0.13.64, can free their build folders then too, as a second choice; its page says which stages have not run since the work last went back (0.13.59) and when a run stopped moving (0.13.62) and whose agent exited, with Reopen there and in the workspace's menu to start it again in its pane (0.13.71); from an issue, its task comes filled in with the issue's, line breaks and all, ready to add to. Edit one in its sheet, a form that follows its plan with the plan beside it: one role open at a time, from its row or its box in the plan, roles moved between stages with a click, loops as sentences, and Save waiting while the check finds problems. With cornercase 0.13.117 or newer, give a role a persona, how its agent works (a code reviewer, a careful tester): Personas in the Flows sheet lists yours, writes and edits them, and imports them from a file, a folder, an address or a GitHub repository such asmsitarzewski/agency-agents, the ones you tick from a list by division (from 0.13.118); every role and the orchestrator pick one, and the plan shows it beside the agent. Plugins add their entries to the menus of projects, workspaces, tabs and panes, and their buttons to the rail: a button acts on what this window shows, its popup opens here, and what a plugin keeps running beside a window runs beside this one, its state on the plugin's card. - Tidying up. Processes closes a pane, Ports stops the ones you tick or all of a workspace's, a project's menu opens its Worktrees and its settings (setup, teardown and the folders Free builds deletes), the Worktrees sheet removes any worktree on disk, a closed project's and a leftover's too, and a workspace's Remove worktree… its own, each with its branch if you ask, after saying what would be lost, the same sheet adds up the builds of merged worktrees and frees them in one go after listing what goes and what stays (cornercase 0.13.70 or newer), Settings imports only the sections you tick, and the rail's Help has the docs, the bug report, the keyboard shortcuts and the tours.
- Other machines. Connect the window to cornercase on another machine over your own
ssh; it reconnects by itself when the link drops. When that machine runs an older cornercase, the window says so and offers to update it, and to restart its server if it still runs the old release. When a linked machine only refuses this computer's commands as older, Changes, Files, Ports, the Browser and its tab say so and offer Update cornercase on it…; its tunnels that are up keep working, and nothing new is tunnelled to it until it is updated, when they come back by themselves. Or stay here and list the computers your agents can run on in the Machines sheet: it shows each one's link, live, and adds, edits, retries, updates and removes them. Their workspaces sit in your sidebar under the project they share with you, tagged with the machine, with their agents' status, model and context, dimmed with when they were last seen while the link is down. With the agents section on, their agents are listed there too, under whoever started them, and fold on the machine (with cornercase 0.13.32 or newer on this computer, never on a server that restarted since). Rename, close or remove a worktree there from the row, its branch too if you ask, and their agents' notices reach you here. Their bots are listed on the Bots page under the machine's name, and you chat with them from here (see Bots). A click shows that tab, live, in this window: its splits, its colours, your keys and pastes, the wheel, selecting and copying to this computer, dragging its dividers, its other tabs in the bar. ⌘W and ⇧⌘W close its pane and tab, asking first when an agent runs there and never acting on a server that restarted since, and a right click opens a pane's menu to copy, paste, split, move it, copy its path or close it, and on an agent to mark it for review (⌘R too), switch it to another of that machine's accounts, view its context or close it with the agents it started, once the machine says what would stop. Drag a pane by its handle to move it there too. None of these acts on a server that restarted since; moving, marking and switching need cornercase 0.13.30 or newer on this computer. Its ports are listed in Ports (⇧⌘O, or Ports… in its menu) and Tunnel forwards one to this computer through cornercase 0.13.50 or newer on both ends, counted in the status bar and listed under the machine, with the ones other windows and programs hold there (cornercase 0.13.67 or newer running on this computer), and with 0.13.57 or newer on both, a script or an agent there can ask for one withcornercase tunnel open PORT(itstunnel closeandtunnel forgetclose it here); Stop works there too. With cornercase 0.13.61 or newer on this computer a tunnel that comes back keeps the local port it had when that port is still free, and says where it landed when it is not. Open shows one in the Browser panel, which follows the machine's workspace you picked: its start page lists that workspace's dev servers and opens a new one through a tunnel, a web address in its tab opens there, a picked element, a screenshot or the console's errors go to that workspace's agents, and its tabs close when the machine is removed or its workspace closes (agents there can drive that browser once you open it to the machine, with cornercase 0.13.61 or newer on both computers: it asks first and says who can reach it, shows its address and Tell, counts in the status bar and closes from there, when the link ends or when the window quits). Typing costs one process, as here. If the link drops, its last frame stays dimmed with a card saying so and counting down to the next try, nothing you type is sent or kept, and it comes back by itself, following the workspace if the server there restarted. An issue's Start, Start a flow and New workspace have a Run on row: pick a machine and the window asks it for its accounts, agents, modes, trackers and flows, and for what its templates make of the issue (its prompt and the branch's name), offers a login tab when an agent is missing or logged out, clones the project there if it has no clone (the address is yours to edit, and the git-ignored files you tick, such as.env, go with it), starts the work on that machine and shows its tab here at once, even while its agent asks to trust the folder. A project needs a git remote to run elsewhere. Changes and Files read the machine's workspace you picked, tabs, filter, diff, tree, search and viewer as here, without staging or discarding there: while the machine is down they keep what they show and count down to its next try. The Usage sheet reads this computer, one machine or all of them: stats add up, and an account logged in on two machines shows once. With the window itself on another machine (--remote, ⇧⌘K), a dev server there opens in the Browser panel through cornercase's own tunnel when both computers run cornercase 0.13.50 or newer: Tunnel on a port's row in Ports (or opening it in the Browser) holds it,cornercase tunnelslists it, a script or an agent there can open it withcornercase tunnel open PORT, close it or forget it (cornercase 0.13.57 or newer on both computers for the open), the status bar counts them (devbox ⇄2) and its click lists them with Open in the Browser, Copy, Close and Forget, and the ones you had come back when the window connects again, on the same local port when it is free (cornercase 0.13.61 or newer on this computer), and its agents reach this browser through a reverse tunnel you open from the agents menu, asked first (0.13.61 or newer on both computers; below it the window uses its own ssh and says who can reach it). With an older cornercase on either side the Browser panel opens its own ssh tunnels as before and says what 0.13.50 adds. - Appearance. Eleven themes, light and dark (cornercase's own, Tokyo Night, Catppuccin, Dracula, Gruvbox, Nord, Rosé Pine, Solarized), each a live preview in Settings › Appearance, for the window and its terminals: Claude Code, Neovim and delta follow. Change any colour with a picker, see each text's contrast and fix it, set how see-through the glass is, follow the system's light and dark, and share a theme as a file.
- Where you left it. The window opens at the size and place you left it, on the same display, maximised or full screen if it was, with the sidebar and the docked panels at the widths you dragged them to, after a quit or an update's restart too. If that display is gone, or the place would be off screen, it opens centred. On Linux it keeps its size and state, and your desktop places it. A double click on an edge gives a width its default back. In a window too narrow for the sidebar, the terminal and an open panel, the panel takes the sidebar's place until it closes or the window widens.
- Notifications. Agent notices, and what cornercase says besides (
cornercase notify, the queue's and its routines', a failed setup, a flow's agent waiting for your consent, a run whose agents closed after its merge), as toasts and desktop notifications, with sounds for agents and the bell. On macOS they are the app's own, listed as cornercase in System Settings › Notifications, and a click on one does what its toast's button does. Toasts stand at the bottom right, and keep clear of the field you are typing in: under a bot's chat's field, they move to the top right.
You need cornercase 0.13.19 or newer. The window finds it on the PATH, in your login shell's PATH or where its installers put it, and says so, with the way to install it, when it is missing.
The macOS download is signed and notarized by Apple. The Windows and Linux ones are not signed yet, so those systems ask before they run the app the first time. The latest release lists them all, with the notes of what changed; each file has a .sha256 beside it, and sha256.sum holds them all.
- macOS 12 or later, Apple silicon or Intel: cornercase-gpui-universal-apple-darwin.dmg. Open it and drag cornercase to Applications. The first time you open it, macOS asks whether to open an app downloaded from the internet.
- Windows 10 or 11 (x64): cornercase-gpui-x86_64-pc-windows-msvc.zip. Unzip it, for example into
%LOCALAPPDATA%\Programs\cornercase, and runcornercase-gpui.exe; no Visual C++ runtime is needed. SmartScreen warns about an unknown publisher: More info › Run anyway. Windows 11's Smart App Control blocks unsigned programs outright, with no way to allow just this one, until it is signed (#24). To start it from the Start menu, make the shortcut below withTargetPathwhere you unzipped it. - Linux x86_64 (built on Ubuntu 22.04, so it needs its glibc 2.35 or a newer one): cornercase-gpui-x86_64-unknown-linux-gnu.tar.gz. It needs a Vulkan driver and the runtime libraries; on Debian and Ubuntu,
sudo apt install libxkbcommon-x11-0 libfreetype6 libfontconfig1 libwayland-client0 libvulkan1 mesa-vulkan-drivers. Extract it, theninstall -Dm755 cornercase-gpui ~/.local/bin/cornercase-gpuiand the desktop entry and icon as below, with that path. Packages are tracked in #25.
To check a download: shasum -a 256 -c <file>.sha256 on macOS, sha256sum -c <file>.sha256 on Linux, or Get-FileHash -Algorithm SHA256 <file> on Windows, compared with the .sha256. Every download carries the licences of the code and the icons in it (THIRD-PARTY-NOTICES.txt lists the crates).
A downloaded build asks GitHub for the latest release when it starts and every hour, and shows ↑ cornercase-gpui X.Y.Z in the status bar when a newer one is out; the dialog lists what changed, formatted as in the release, with its links. Install downloads the release, checks its checksum and puts it in place of this one (on macOS, the cornercase.app from the DMG, only if Apple's check says the same developer signed it); Restart then opens it again on the same tab; the terminals and agents keep running, since cornercase's server owns them. This needs a folder the app can write, such as /Applications for an administrator; otherwise the dialog downloads the release for you to put in place, and a build from source shows the cargo install line to copy. cornercase's own releases show beside it as ↑ cornercase X.Y.Z; once one is on disk, whether its dialog, cornercase update or brew upgrade put it there, the chip offers to restart the server on it. A failed install is told with a toast that opens its dialog with Details; with cornercase 0.13.53 or newer (on both computers when the server is on another machine) the window reads what cornercase update did: the version now on disk, or, when that cornercase cannot replace itself, the command that installs it (Copy command copies it: in the update dialog, in the toast of a linked machine's update and on the page of a server that runs an older cornercase); with an older one it checks an install with --version (on another machine only after a restart); and after a restart it says whether it took, for the server and for itself. Turn the check off with cornercase's check_updates setting. cornercase-gpui --version prints the version, and the status bar's tooltip on the connection names it; on Windows the program has no console, so pipe it: cornercase-gpui --version | Out-String.
You need:
- macOS with the Xcode Command Line Tools (
xcode-select --install), Linux (X11 or Wayland) with a Vulkan driver and the libraries below, or Windows 10 or 11 (x64) with Visual Studio's Build Tools and their "Desktop development with C++" workload (the MSVC compiler and the Windows SDK) - rustup, which installs the pinned Rust version on the first build
On Linux, install a C compiler, pkg-config and these libraries first. On Debian and Ubuntu:
sudo apt install build-essential pkg-config libxkbcommon-x11-dev libfreetype-dev libfontconfig-dev libwayland-dev mesa-vulkan-driversOther distributions name them alike: xkbcommon with its X11 part, FreeType, Fontconfig and Wayland's client library, plus the Vulkan loader and your GPU's Vulkan driver.
git clone https://github.com/usecornercase/cornercase-gpui.git
cd cornercase-gpui
cargo install --locked --path .The first build takes a couple of minutes, and puts cornercase-gpui in ~/.cargo/bin. On macOS it runs without the app bundle, so its desktop notifications come from Script Editor, and a click on one opens Script Editor rather than the window. On Linux, to start it from your desktop's app menu as well:
mkdir -p ~/.local/share/applications
sed "s|^Exec=.*|Exec=\"$HOME/.cargo/bin/cornercase-gpui\"|" assets/linux/cornercase-gpui.desktop > ~/.local/share/applications/cornercase-gpui.desktop
install -Dm644 assets/linux/cornercase-gpui.svg ~/.local/share/icons/hicolor/scalable/apps/cornercase-gpui.svgAn app started from the menu sees your session's PATH, not your shell's: the window asks your login shell for it, and looks where cornercase's installers put it. If it still cannot find cornercase, it says so and lets you choose the file.
On Windows, run the same three lines in PowerShell after installing cornercase (powershell -ExecutionPolicy Bypass -c "irm https://usecornercase.dev/install.ps1 | iex"); the build puts cornercase-gpui.exe in %USERPROFILE%\.cargo\bin. A release build compiles gpui's shaders with fxc.exe from the Windows SDK, which the Build Tools install; if it is not found, set GPUI_FXC_PATH to it. To start it from the Start menu as well:
$link = (New-Object -ComObject WScript.Shell).CreateShortcut("$env:APPDATA\Microsoft\Windows\Start Menu\Programs\cornercase.lnk")
$link.TargetPath = "$env:USERPROFILE\.cargo\bin\cornercase-gpui.exe"
$link.Save()The Browser panel runs Chrome, Chromium or Brave if one is installed, else Microsoft Edge, which every Windows has. Opening files and File Explorer go through Windows' shell; desktop notifications show as "cornercase" in Settings › System › Notifications; a sound file of your own must be a WAV; and videos and sounds in a preview play only on macOS.
cornercase-gpui # opens on what cornercase's window shows
cornercase-gpui --tab 6 # or on a tab, workspace or project id (see `cornercase status`)
cornercase-gpui --remote devbox # or on another machine's server, over sshIt starts cornercase's server if none runs. --remote takes a host from ~/.ssh/config or user@host and runs cornercase there through your own ssh, so your config, keys, agent and jump hosts apply. It never asks for a password: use a key or an agent. Add --remote-command '~/bin/cornercase' when cornercase is not on that machine's PATH. From a checkout, cargo run --release -- takes the same flags.
These environment variables change its defaults:
| Variable | What it sets | Default |
|---|---|---|
CORNERCASE_BIN |
The cornercase binary to drive |
found on the PATH, in the login shell's PATH or in the installers' folders |
CORNERCASE_GPUI_FONT_SIZE |
The terminal's font size (Menlo on macOS; on Linux the first monospace font installed of DejaVu Sans Mono, Noto Sans Mono and the like; Cascadia Mono, else Consolas, on Windows) | 13 |
CORNERCASE_GPUI_OPACITY |
The opacity of the terminal's background, over the theme's; 1 makes it opaque |
the theme's (0.65 in cornercase dark) |
CORNERCASE_GPUI_CHROME |
The browser the Browser panel runs, headless (on Windows, set it for good with setx) |
Chrome, Chromium, Edge or Brave; on Windows Edge comes last |
CORNERCASE_GPUI_BROWSER_PROFILE |
Where that browser keeps its profile | ~/Library/Application Support/cornercase-gpui/browser; on Linux ~/.local/share/cornercase-gpui/browser, or ~/snap/chromium/common/cornercase-gpui-browser for a snap; on Windows %LOCALAPPDATA%\cornercase-gpui\browser |
Every key goes to the program in the active pane, except ⌘ shortcuts. ⌘/ lists them in the app.
| Keys | |
|---|---|
| Tabs | ⌘T new · ⇧⌘W close · ⌘1…9 go to one (⌘9 the last) · ⇧⌘[ ⇧⌘] previous, next |
| Panes | ⌘D split right · ⇧⌘D split down · ⌘[ ⌘] previous, next · ⌘W close what is on top, else the pane |
| Toasts | ⌘. take the newest one away |
| Getting around | ⌘J ⇧⌘J next, previous workspace · ⌘Y ⇧⌘Y next, previous project · ⌘B the agent that needs you · ⌘R mark for review, or as reviewed |
| Projects | ⌘O open a project · ⌘N new workspace · ⌘G start an agent · ⌘P the workspace's pull request · ⇧⌘P go to a file · ⇧⌘K connect to another server |
| Bots | ⌘E new bot · ⇧⌘I a bot whose answer you have not read, else your bots in turn · in a bot's chat, type in its field: ↩ sends and ⇧↩ breaks the line; PgUp PgDn scroll it, and so do ↑ ↓ while the field holds one line; Tab ⇧Tab go to its buttons (Routines, New conversation, ⋯, the examples, Retry, Run again, an agent line's Show, folded message and Go to agent, Stop), ↩ or Space presses the one with the ring · ⌘C copies the text selected in its lines when nothing is selected in the field |
| Panels | ⇧⌘C Changes · ⇧⌘E Files · ⇧⌘L TODO · ⇧⌘H Recap · ⇧⌘B Browser · ⇧⌘F Flow (in a flow's workspace) |
| Sheets | ⌘F Search · ⌘I Issues · ⇧⌘S Queue · ⇧⌘G Flows · ⌘U Usage · ⇧⌘A Accounts · ⇧⌘N Machines · ⇧⌘M Processes · ⇧⌘O Ports · ⇧⌘T Worktrees · ⇧⌘X Plugins · ⌘, Settings |
| Terminal | ⌘C copy · ⌘V paste (an image as a file the agent can open) · ⌘+ ⌘- ⌘0 text size |
| In Files and Changes | While one has the focus (⌘C also copies a run's selected text in the Queue): ⌘C copy what is selected · ⇧← ⇧→ ⇧↑ ⇧↓ select by character or by line · in Files' viewer, ⌘F find in the file (↩ next, ⇧↩ previous) |
| In the Browser | ⌘L address · ⌘R reload · ⌘[ ⌘] back, forward · ⌘C ⌘X ⌘V on the page; every other key goes to the page |
| In a prompt | ↩ new line · ⌘↩ send it (the Queue's form, Start a flow, Start an agent, New bot), or save the flow in its editor |
| Window | ⌘H hide · ⌥⌘H hide the others · ⌘M minimise · ⌃⌘F full screen · ⌘Q quit |
The key that opens a panel or sheet also closes it. Esc closes what is on top, one thing per press (a menu, a dialog, a sheet, or a panel's card, find field or selection), then gives the keys back to the terminal and leaves a docked panel open. Esc leaves toasts alone: ⌘. takes the newest one away and does nothing else, so an agent that needs you keeps its mark and a bot keeps its unread count. Text goes through macOS's input method, so dead keys and ⌥ characters (@ on a Spanish keyboard) reach the program.
On Linux, ⌘ is Ctrl+Shift and ⇧⌘ is Ctrl+Alt+Shift, as in Linux terminals: ⌘T is Ctrl+Shift+T, ⇧⌘C is Ctrl+Alt+Shift+C, ⌘C ⌘V are Ctrl+Shift+C Ctrl+Shift+V, and a symbol is the key where it sits on a US keyboard (⌘+ is Ctrl+Shift+=). The exceptions: ⌘1…9 is Alt+1…9, Usage is Ctrl+Alt+Shift+U (IBus takes Ctrl+Shift+U), a page in the Browser also takes Chrome's keys (Ctrl+C Ctrl+X Ctrl+V, Ctrl+L, Ctrl+R or F5, Alt+← Alt+→), the window's keys are Ctrl+Shift+Q quit, F11 full screen and Ctrl+Shift+M minimise, ⌘↩ in a prompt is Ctrl+Enter, and ⌘-click is Ctrl+click. Selecting text puts it in the primary selection and a middle click pastes it (Shift+middle click where a program takes the mouse), while Ctrl+Shift+C and Ctrl+Shift+V keep to the clipboard. AltGr characters reach the program, and Ctrl+Shift+/ lists every key as Linux spells it.
On Windows the keys are Linux's, as Windows Terminal's own are Ctrl+Shift: ⌘T is Ctrl+Shift+T, ⇧⌘C is Ctrl+Alt+Shift+C, ⌘1…9 is Alt+1…9, Usage is Ctrl+Alt+Shift+U, the Browser takes Chrome's keys, ⌘↩ in a prompt is Ctrl+Enter, and ⌘-click is Ctrl+click. The window's keys are Windows' own: Alt+F4 quits, F11 is full screen and Ctrl+Shift+M minimises; the title bar moves, snaps and maximises the window as any other's. There is no primary selection: a finished selection is copied as on a Mac. AltGr characters reach the program, also on layouts where Windows reports AltGr as Ctrl+Alt, and Ctrl+Shift+/ lists every key as Windows spells it.
The window never speaks cornercase's socket protocol. It follows cornercase view for the session and cornercase surface for what the panes show, types through cornercase input --follow, and does everything else with cornercase commands and their --json: the contract cornercase documents for programs that draw it (#345). On another machine, every command runs as cornercase --remote DESTINATION ….
When cornercase lacks something a feature needs, the gap is filed upstream instead of worked around, and the window names the issue the feature waits on. The two exceptions are by design: the Files panel reads the disk itself, and the Browser panel runs a headless Chrome and, toward a cornercase too old to have the commands, its own ssh tunnels. The decisions behind each area, and why, are in design/, indexed by DESIGN.md.
Bug reports, ideas and pull requests are welcome: CONTRIBUTING.md explains how to build, run and check a change. Ask questions on Discord, and report vulnerabilities privately, as SECURITY.md explains. The rules for every change, for people and coding agents alike, are in AGENTS.md.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Some parts come from other projects and keep their licences:
- The text field (
src/ui/text_field.rsandsrc/ui/text_field/element.rs) is adapted from gpui 0.2.2'sexamples/input.rs, copyright Zed Industries, under Apache-2.0 (LICENSE-GPUI). - The icons in
assets/icons/are Lucide's, under ISC (assets/icons/LICENSE), with thinner strokes and two of them filled; thestatus-*andwindow-*icons are this project's own. - The file-type icons in
assets/file-icons/are glyphs of Seti UI and Nerd Fonts, under MIT (assets/file-icons/LICENSE). - The terminal palettes in
assets/themes/are those of Tokyo Night, Catppuccin, Dracula, Gruvbox, Nord, Rosé Pine and Solarized, under MIT (assets/themes/LICENSE). - The website in
site/is set in Archivo and JetBrains Mono, under the SIL Open Font License, which the site's npm packages carry.
