Repository navigation
This release adds a full-screen terminal and a desktop app and redesigns the web UI, all three over the one runtime. Then the whole system was audited as a release candidate, and what the audit found was fixed or written down before this was tagged.
It is a major version because some behaviour a 1.x user or script relies on changed: see Changed. The session log format did not. 2.0 reads, continues and forks what 1.x wrote, tested against a store the published 1.2.0 left behind. Going back is not promised, though in a test the published 1.2.0 still verified and continued a session 2.0 had appended to.
Downloads
npm install -g minidsh@2.0.0The desktop app, for a machine without Node:
- Windows x64: MiniDSH-Setup-x64.exe
- Linux x64: MiniDSH-x86_64.AppImage
- macOS: Apple silicon, Intel
No build is signed by a publisher, so Windows and macOS object at first run: the guide has the steps for each system and how to check a download against SHA256SUMS. Only the Windows build was installed and used on a real machine. The macOS builds were started and driven by automated tests only. The Linux build was driven unpacked, by tests and through one real turn under WSL 2, and its AppImage needs FUSE 2 to start.
Added
- A desktop app for Windows, Linux (AppImage) and macOS: the web UI in a window of its own, with its own Node, installed per user. Folders and provider keys are chosen from its menus. Closing asks first only when work would be interrupted. It does not update itself: Help › Check for Updates opens the release page.
- A full-screen terminal.
minidsh chat,resumeandforkown the terminal on a real TTY: replies as markdown, each tool call as a card, parallel subagents shown live, a multi-line composer with history, a command palette on/, and an approval band that no key typed ahead can answer. A pipe,TERM=dumbor--plainkeeps the line view. - A redesigned web UI. A session list, markdown replies, a card per tool call (a diff, a command's output, an image), an approval card that names exactly what would run, permission and model pickers, a session panel with grants and jobs, light and dark themes, and a strict content-security policy.
minidsh credentials list | set NAME | unset NAME: provider keys in~/.minidsh/credentials.jsonwithout editing a file.listsays where each key comes from, never its value.minidsh web --json, a process contract for a supervisor, and--workspace <dir>for several folders.- For protocol clients:
session/resume,session/forkandattachment/read;initializelists each tool's presentation, the authority presets and each model's reasoning efforts. - Claude Fable 5.2 in the Anthropic catalog.
sessions inspectlists the points a fork may start from, and a headless run that met an approval nobody could answer says which flag would have allowed it.
Changed
- An explicit
--sandbox,--ask,--acceptor--approvewins overcomposition.jsonfor the setting it names. A layer that patched the same row used to erase the flag without a word. - A
composition.jsonorsettings.jsonthat exists and cannot be read stops the command (exit 2). It used to be read as absent. --providerwithout--modelis refused when the model in use is another provider's, and so is a provider nothing mounts. Both used to fail at the first paid step, after a session had been stored.- An unknown command says so on stderr, where it printed the usage on stdout.
--hostwith no value and a--portoutside 0 to 65535 are usage errors. - On Windows an approved command reports the program's own exit code. PowerShell reported 1 for any failure.
- The editor refuses a file that is not UTF-8 instead of rewriting its bytes, and keeps a CRLF file's line endings.
- The browser tools' loopback is
localhost,*.localhost,127.0.0.1and[::1]. Any other127.xaddress now meets the fence. tools.defaultTimeoutMsandweb_search'stimeoutMsmust be whole milliseconds within a timer's range.0no longer means no deadline.- On Windows, what a shell starts ends with it: each PowerShell holds its descendants in a Job of its own.
minidsh webstops gracefully on Ctrl+C or SIGTERM: running turns end as cancelled and every lease is released.- A resumed or forked subagent keeps what its delegation narrowed: its tool filter, its hidden tools and its persona.
- New session logs are created for their owner only on Linux and macOS. Files from an earlier version keep their mode:
chmod -R go-rwx ~/.minidsh.
Security
Each of these was reproduced before it was fixed or written down. SECURITY.md has the full account.
- Fixed. On Linux a confined command could ask the user's own systemd, over the session bus, to write anywhere. The bubblewrap profile now hides the user runtime directory, and with it an ssh-agent or keyring socket that lives there: a confined
git pushover SSH now needs an approval. - Fixed. A new session's folder spelled through
..after a missing directory could resolve to an unfollowed symbolic link, and the session then worked outside the host's workspace roots. - Fixed. A peer that was never signed in could end
minidsh webby resetting a WebSocket upgrade it had been refused. - Fixed. A name beginning
127.was exempt from the browser's resolver rules and reached DNS. - Fixed. The full-screen terminal could draw a command shorter than it was (text before a carriage return, or inside an escape sequence, was dropped), and an approval whose subject was cut did not show the rest.
- Fixed. One lone surrogate in a message or in a tool call's arguments made every later request of that session fail.
- Documented, not fixed. The web host's cookie is scoped to a host name, not a port, so another server on the same loopback name receives it and can replay it. Use a browser profile kept for MiniDSH, or the desktop app, which is not affected. A redesign follows this release.
- Documented. Confinement does not cover a service a command can reach (the system bus, a Docker socket, anything on localhost); the browser tools reach every loopback service unasked; the installers carry no publisher signature.
Fixed
- Sessions and stores. A log never holds a line before its cause. A lease is not reclaimed from another OS instance sharing the store (WSL beside Windows). Settings are synced before they replace the file, and an empty
settings.jsonor one with a byte-order mark is read. - Loop and providers. A response cut in the middle of an event is retried. A cancel during the last allowed step ends the turn cancelled.
AGENTS.mdand the skill list come back after a mid-turn compaction. Compaction no longer fails on Claude Sonnet 4.5 and Haiku 4.5 at effortmax. - Shell. Output is bounded while a command runs. A workspace folder that no longer exists is named as the cause. A command that printed a wrapper's name is no longer taken for a wrapper that never started.
- Protocol and web host. A message holding U+2028 no longer hangs
serveor the terminal.web --hostworks with an IPv6 address, a name typed with capitals and port 80. A signed-in browser can reopen the printed link. A message sent while the host is stopping is refused, not accepted and lost. - Command line.
run … | headno longer ends a paid turn half way with status 0. A headless resume prints its own turn's answer, never the previous one's. A result line names the call it answers. - Terminal and browser. A double click on Send no longer stops the turn. A question asked during a reconnect is kept. Opening a session never shows the previous transcript under its name. The line view runs what is piped into it, has its own
/help, and names its session when it ends. - Desktop. A quit during a start no longer flashes a sign-in failure or stalls. A settings file it cannot read is kept, not replaced. The Windows installer's running-app check can neither stop a runtime nor refuse for ever.
- Bundled skills. The document readers are bounded on hostile input, and their examples run in PowerShell and in bash.