Repository navigation
v0.7.0 — rebrand + polish round + twelve adapters
splash v0.7.0
Project rebrand + polish round + twelve adapters shipped embedded.
This release is the first published under the new name and npm scope — the project used to be called splashshell and shipped on npm as splashshell for v0.1.0 – v0.5.0. The rename reflects an expanded scope: splash is no longer just a "shell" MCP server, it's a declarative adapter framework that hosts shells and language REPLs through a shared worker runtime.
Install
claude mcp add-json splash -s user '{"command":"npx","args":["-y","@ytsuda/splash@latest"]}'No runtime prerequisite — splash ships as a self-contained NativeAOT single-exe (~13 MB, Windows x64). npx fetches it on first run.
Rebrand
- npm package renamed from
splashshellto@ytsuda/splash.splashshellv0.1.0 – v0.5.0 have been deprecated with a rename notice pointing at the new package. Existingsplashshellinstalls will keep working indefinitely butnpm installwill print the deprecation message until users migrate. - GitHub repository moved from
yotsuda/splashshelltoyotsuda/splash. GitHub redirects old clone URLs automatically. - C# namespace is
Splash, binary issplash.exe. The-shof the old name lives on via thesplash/shellpun.
Twelve adapters shipped embedded
Four shells + eight language REPLs, all declarative YAML adapters driven by a shared worker runtime. Each one gets the same OSC 633 command-lifecycle tracking, session persistence, cache-on-timeout, auto-routing, and shared-terminal transparency.
Shells
pwsh/powershell— PowerShell 7+ and Windows PowerShell 5.1bash— native / WSL / MSYS2 / Git Bashzshcmd— Windows Command Processor
Language REPLs
python— CPython 3 viasys.ps1hooknode— Node.js viadisplayPrompthookracket— viacurrent-prompt-readoverrideccl— Clozure Common Lispabcl— Armed Bear Common Lisp (JVM-hosted)fsi— F# Interactive (regex-strategy prompt detection)jshell— Java REPL (regex-strategy prompt detection)groovy— Apache Groovy (regex-strategy prompt detection)
Start any of them with start_console shell=<name> and the rest of the AI affordances apply unchanged.
Highlights
Polish round bug fixes
- OSC title split-chunk buffer leak — window title owned by splash could be clobbered by the shell when an OSC 0/1/2 sequence straddled a PTY read-chunk boundary. Fixed by adding a persistent
pendingTailbuffer toReplaceOscTitle. 37 new unit assertions cover split points between every pair of marker bytes. - Nested
#;#;(a)balanced-parens miscounting — the Racket / Lisp adapters' multi-line detector reported stacked datum comments as complete when they actually needed a second datum. Fixed and covered by 32 new stress assertions. - Mis-declared
signals.interruptfor node and groovy — empirical testing found that\x03into a busy node REPL is a no-op and into groovysh kills the JVM outright. Adapter declarations corrected to reflect reality. - Console focus theft on spawn — creating a new splash console would steal keyboard focus from the editor the user was working in. Fixed via
STARTF_USESHOWWINDOW + SW_SHOWNOACTIVATEso child consoles open without grabbing the foreground. input.clear_linefield — new per-adapter opt-in to flush the shell's line-editor buffer before an AI command, so user-typed-then-abandoned characters don't contaminate the AI's execution. Opt-in per adapter (bash/zsh today) since several REPLs parse\x01\x0bas literal bytes.- ModeDetector scanning the wrong input source —
auto_entermode transitions (e.g. CCL break loop) silently fell through to default because the detector ran against the cleaned OSC-C..D slice, which never contains the next prompt. Fixed to scan raw ring bytes in a 150 ms poll loop. The CCL break loop chain ((error ...)→1 >, nested →2 >,:pop→1 >,:pop→ main) now transitions correctly under automated test.
Cache-on-busy-receive salvage layer
When an execute_command times out or collides with a user-typed command, the in-flight AI command is flipped to cache mode so its eventual result lands in a per-console cache list. Every subsequent MCP tool call runs a universal drain wrapper that picks up the cache on the way back to the client — so results are never lost even if the original caller's response channel is dead. Preemptive 170 s timeout wraps every execute so the MCP 3-minute tool-call ceiling stays headroom, not a cliff.
timeout_seconds=0 for interactive commands
New for the polish round 2: commands that block on user input (pause, Read-Host, read -p) can be launched with timeout_seconds=0, which flips the console to cache mode as soon as the pipeline is on the PTY. execute_command returns immediately with a busy response, and the result is drained on the next tool call — the AI doesn't sit blocked on a human keypress.
Split-execute cd preamble
When routing hops a busy console and needs to pre-position the new console at the source cwd, the cd is now executed as its own standalone command before the AI's pipeline. The status line and cache entries show exactly what the AI asked for, not a proxy-manufactured Set-Location ... ; original-command composite. Failure detection compares post-cd cwd against the expected target (not exit codes, which pwsh's Set-Location doesn't always update) — if the cd landed elsewhere the AI gets a clean error instead of silently running in the wrong directory.
First-drain-wins wait_for_completion
wait_for_completion now returns on the first drained result instead of waiting for all pending commands to finish. The AI gets a tight feedback loop: react to whatever finished, issue the next command, loop.
Location on every status line
execute_command responses, busy background-console lines, and "user command finished" lines all carry a | Location: <cwd> column now, so the AI sees at a glance where each console is — including after the human manually cd'd from the shared terminal.
Test coverage
538 assertions pass across --test + --adapter-tests:
- 468 unit assertions (OSC parsing, command tracker, balanced-parens counter, mode detector, schema loader, ReplaceOscTitle split-chunk cases, clear_line injection, cache/drain wire protocol)
- 70 adapter-declared tests (probe + per-adapter "tests:" blocks in each YAML)
All 12 adapters probe green on the build host, except zsh which soft-fails when no zsh interpreter is present — same class as a missing Linux binary on Windows.
Known limitations
- cmd.exe exit codes always read as 0 — cmd's
PROMPTcan't expand%ERRORLEVEL%at display time, so AI commands show asFinished (exit code unavailable). Usepwshorbashfor exit-code-aware work. - Don't
Remove-Module PSReadLine -Forceinside a pwsh session — PSReadLine's background reader threads survive module unload and steal console input, hanging the next AI command. Not recoverable. - Launch banner on native Windows REPLs flashes briefly then gets erased by ConPTY's startup clean-slate wipe. pwsh and bash are unaffected (tempfile-based / WSL wrapper path). Tracked for a future release.
Full changelog
See CHANGELOG.md for the complete detailed changelog including all fixes, internal refactors, and schema changes.