All notable changes to this project are documented here. The format follows Keep a Changelog, and the project uses Semantic Versioning.
Rebuilt as the Zed twin of min-vscode 0.2.0: its plumbing, commands and
loadout, with Zed's own surfaces as the UI. There is no Zed extension (Zed's
extension API has no UI); min-zed setup wires Remote Projects, tasks and a
key instead.
- Zed wiring (
min-zed config, run bysetup;bin/min-zed-config):- Remote Projects: one
ssh_connectionsentry per live min-zed box insettings.json, kept current byopen,attach,ssh,destroyandgc; Zed reloads the list live. - Seven Minimal: … tasks in the global
tasks.json(New Box from Folder, New Empty Box, Open Box…, Destroy Box…, Clean Up Idle Boxes…, Status, Doctor), run with task: spawn (cmd-shift-r). In a box window, where tasks run in the box, they say where to run them instead. ctrl-alt-`inkeymap.json: a terminal on the Mac from any window.tasks.jsonandkeymap.jsonget a marked block; all three files keep every byte that is not min-zed's, are backed up before a write, are refused when they do not parse, and are restored byconfig --remove.
- Remote Projects: one
min-zed setup [--remove]: the whole install (CLI link, loadout, skills, ssh Include, Zed wiring) from this checkout;just install/uninstallcall it.open/new/attach --no-window,new --empty(an empty/workbench),destroy --if-idle(exit 3 while in use) anddestroy -y --force(exit 4 when min refuses unsaved changes),status --json.destroywithout NAME on a terminal offers a picker when the current directory has no single min-zed box.- The
zedloadout addsgitand puts Minimal'sminimal-sandboxskill in the box's~/.claude/skills(Claude Agent and Claude Code there). - Skills: Minimal's skills from gominimal/minimal-skills 0.7.0 (MIT),
vendored:
setupgives the agents on the Mac the host ones (minimal-setup,-config,-loadouts,-networking,-diag) in~/.agents/skills(Zed's agent) and~/.claude/skills(Claude Code). - Without the
zedcommand on PATH, the CLI uses the one inside/Applications/Zed.app(MIN_ZED_EDITOR_APP).doctorreports the Zed version (tested: 1.26.2), the tasks, keymap and skills.
- min names new sessions (
<dir>-<hex>;box-<hex>for--empty) unless-nis given (was min-zed's<dir>-<word>). - Each tool ke
6091
eps its own in-box host key,
~/.ssh/min-zed/host_ed25519(was the shared~/.ssh/minx/host_ed25519): existing boxes re-key on the next connect, which re-pins it. open's reuse,destroy's current-directory lookup, the pickers and completions consider only sessions min-zed has connected to.- The plumbing is no longer a vendored kernel block; it lives in
bin/min-zeddirectly. zed-configis nowconfig(zed-configstill works). 0.1.0's opt-in and record (zed-config-installed,zed-config.json) are taken over on the first run.- Needs min 0.7.0 or newer (
doctorfails on older). - Boxes are reached by id (min 0.8,
gominimal/minimal#2756,
lets boxes share a name and resolves a name to the running box): min-zed
records each box's id in
STATE/sessions/NAME/idand passes it to everymin session execanddestroy, so another tool's box of the same name is never reached under min-zed's record or by a name min-zed chose (CLI, stanzas, Remote Projects,status --json, which now carries eachidandrecorded); a box you name explicitly becomes min-zed's once it connects. The name stays the handle:min-zed.NAME, thessh_connectionsentry, the commands. A key dir from before takes the id of the one box with its name on its first connect (open,attach,ssh, a y tonew's offer of the folder's running box, the connection itself), never from a list,gcordestroy:gclists such a dir without asking, anddestroywith no NAME refuses it; if that box is not the one min-zed made, the name alone cannot tell. When several share it, min-zed leaves them alone anddoctorsays so. Amin lsthat exits 0 without one session list counts as a failed one.
min-zed watch(MIN_ZED_INTERVAL,MIN_ZED_NO_WATCH), its macOS notifications and the Claude Code agent-state hook in the loadout. Zed's own agent notifications cover box threads; see docs/zed.md.- The server pre-fetch (
MIN_ZED_PREFETCH); Zed downloads its server into the box itself. - Herdr support, bounded in-box reads (
MIN_ZED_EXEC_TIMEOUT). jqfrom the loadout;docs/spike.mdanddocs/manual-test-plan.md.
- Values in the box's sshd environment no longer arrive shell-quoted. The
box's
env(GNU coreutils 9.12) quotes values when it prints them (X='a b'), and sshd read~/.ssh/environmentliterally, so any loadout or project variable with spaces or quotes reached ssh shells, Zed's terminals and its agent with the quotes in it. PREP and the loadout hook now write the environment from awk'sENVIRON, dropping multi-line values whole (env, quotes and all, only when the box has no awk). new(and so ⌃⌥N, New Box from Folder…) no longer goes straight to a second box when one of min-zed's is already running for the folder. A second box could fail on a host port the first holds (Port N is already in use on this machine by box NAME) and end the task with no window. On a terminalnewnow asks[Y/n]to attach to the running box;nmakes the second box as before. Without a terminal, or with-nor--empty, it never asks.destroyandgc: a failedmin lsafter the answer no longer counts as the box being gone. Before, it removed the session's keys, refreshed settings and dropped its ssh stanza even after ann; now everything is kept, with a warning, and after aythe command exits non-zero (min's own status, or 1 when min destroyed the box). Oncemin lsno longer lists the box,destroy NAMEremoves what was kept.gcoffers only sessions min-zed has connected to (has keys for); sessions another tool or you created withminare never listed or asked about.
0.1.0 - 2026-10-16
First release, split from minx.
min-zed open|new|attach: activate (or reuse) a session with--loadout zed, prepare it, openssh://min-zed.NAME/workbenchin Zed.destroy,gc(only min-zed's sessions, only unused ones),status,doctor,completions.ssh,ssh-config,_proxy: the minx transport under themin-zed.prefix, with~/.ssh/min-zed.confand its own Include markers.zed-configandbin/min-zed-config: Zedssh_connectionsentries for live sessions (JSONC text edit, backup, no-op when unchanged,--remove).watch: macOS notifications when Claude Code in a connected box needs input or finishes, from the loadout's in-box state file (unverified, spike E1).- Optional Zed remote server pre-fetch,
MIN_ZED_PREFETCH=1(unverified, spike Z1; off by default). - Loadout
zed: openssh, curl, jq, rsync, xxhash; sshd environment;min:workbenchrc line; Claude Code hook.
- Watch: epochs with a leading zero or more than 12 digits are refused
instead of stopping the loop; reads are capped at 512 bytes and time out
(
MIN_ZED_EXEC_TIMEOUT); at most one notification per box per minute; bidi/line-separator characters stripped, messages cut by characters; one watch per state dir;watch --ensureno longer claims a start that did not happen;watch.logtrimmed. - Settings: comments between
ssh_connectionsentries, CRLF and a BOM are kept; atomic replace;--removedeletes a file min-zed created and keeps a user's own empty list;zed-config --printfails when the file cannot be edited. gcre-checks a session right before asking about it (kernel v2).
- Host alias
min-zed.NAME(wasmin.NAME); state in~/.local/state/min-zed; env prefixMIN_ZED_. - In the box,
authorized_keysis per tool (~/.ssh/min-zed/); the host key stays shared at~/.ssh/minx/host_ed25519. - Use detection reads any tool's
session exec NAME … sshdprocess, not onlyssh min.NAMEcommand lines. - Install leaves
config.tomlalone; sessions get the user'sdefault_loadoutsplus--loadout zedlast. - What ssh-config created under
~/.sshis recorded once for every min- tool (~/.local/state/min-clients/ssh-config-created); the tool removing the last Include deletes it.