Repository navigation
v0.8.0 — Ripple (renamed from splash) + debugger adapters + Unix support
v0.8.0 — Ripple (REPL-sharing MCP server)
The project formerly known as splash is now ripple. The rename
reflects a scope expansion: what started as a shared-shell MCP server
has grown into an 18-adapter framework that hosts shells, REPLs, and
language debuggers with the same session-persistence and dual-access
guarantees. "Ripple" is the phonetic shorthand of REPL, which is the
one concept that actually unifies everything the framework hosts.
🎉 Highlights
- Renamed:
@ytsuda/splash→@ytsuda/rippleon npm,
yotsuda/splash→yotsuda/rippleon GitHub (auto-redirect
handles old clone URLs). Old packages are marked deprecated. - Debugger adapter framework (
family: debugger) — AI agents
drive perldb / jdb / pdb using the same structured
commands.debuggervocabulary (step_in / step_over / print /
breakpoint_set / …), no per-debugger knowledge required. - 18 embedded adapters (up from 12 in v0.7.0). New this release:
perldb,jdb,pdb,sqlite3,lua,deno. - Linux / macOS functional path — Unix now has a visible-terminal
launcher (xfce4-terminal / gnome-terminal / konsole / xterm /
Terminal.app), safe process spawn viaposix_spawn+
POSIX_SPAWN_SETSID, and full input forwarding.start_console
andexecute_commandround-trip cleanly for bash / pwsh / python. process.executable_candidates(schema §3) — ordered launcher
fallback resolves binaries that live in different locations per
distribution (Git Bash vs WSL bash; Microsoft OpenJDK vs Temurin
vs Corretto; Strawberry vs Git-bundled perl). First entry that
resolves wins.- User-input hold gate during AI commands — keystrokes the
human types while an AI command is in flight are buffered at
ripple's forwarding layer and replayed after the command
completes. Works universally, above any shell's line editor.
Ctrl+C still passes through for manual interrupt.
💥 Breaking changes
- Pipe protocol prefix
SP.→RP.— a ripple proxy cannot
claim a splash worker and vice-versa. If you have a ripple
process running alongside an old splash process, they'll stay
independent and neither will inherit the other's consoles. - Package + binary name change —
splash→ripple. Update
your MCP config entries:- {"command": "npx", "args": ["-y", "@ytsuda/splash@latest"]} + {"command": "npx", "args": ["-y", "@ytsuda/ripple@latest"]}
- C# namespace
Splash→Ripple— only matters if you
embedded the project as a library.
⚠️ Known limitations
- Linux / macOS interactive rendering drift — the Unix relay is
byte-level without a virtual terminal emulator between ripple and
the hosted shell. AI commands capture output correctly (full matrix
green for bash / pwsh / python) and typed input is accepted at the
right column, but PSReadLine history recall and bash readline
prompt redraw can drift after large outputs. A proper VT emulator
layer is tracked as future work. - cmd.exe exit codes always 0 — unchanged from earlier releases;
PROMPTcan't expand%ERRORLEVEL%at display time. - Don't
Remove-Module PSReadLine -Forcemid-session — PSReadLine
threads survive module unload and steal input.
🔧 Additions
Debugger adapters
perldb— Perl'sperl -d -e 0; promptDB<N>(nested
DB<<N>>on breakpoint pause). 8 adapter tests covering
breakpoint-hit / inspect / continue / verify-return.jdb— Java Debugger detached mode. Prompt>. 5 tests.pdb— Pythonpdb.Pdb().set_trace(). Prompt(Pdb). 6 tests.
REPL adapters
sqlite3— in-memory SQLite with.mode list+.headers off
forced for regex-friendly output. 6 tests.lua— Lua 5.4 interactive; uses=shortcut in probes. 6 tests.deno— Deno 2.x (TypeScript + top-level await native);
NO_COLOR=1for clean regex matching. 6 tests.
Schema v1 additions
process.executable_candidates(§3) — ordered fallback list.commands.debugger(§10) — structured debugger vocabulary.modes.advance_commands(§9) — step semantics distinct from exit.init.delivery: rc_file(§5) — stage integration as shell rc file
(solves MSYS2 zsh under ConPTY hanging on pty_inject).
Worker / runtime
--no-user-inputflag for test workers (prevents ambient typing
from corrupting probe commands — the root cause of intermittent
jshell / node / fsi flakes on the 0.7 train).- Unix
InputForwardLoop(termios raw mode + PTY relay). - DSR (
\x1b[6n) query handling on Unix. - Prompt-length-based cursor column estimate for DSR replies.
🐛 Fixes
- ?-terminated prompts drop from post-primary delta cleaner
(fixes ccl / abcl top-level?leak). RegexPromptDetectorstrips OSC sequences (not just CSI) so
ConPTY's window-title escape doesn't sit between banner and prompt.ModeMatchinitialized with explicit nulls — avoids null
reference when no mode matches after a command.- Test workers launch with
SW_HIDE— no window-creation storm
during--adapter-tests.
📖 Internal changes
- Project renamed end-to-end: C# namespace, adapter YAMLs,
integration scripts, pipe prefix, helper identifier__sp_*→
__rp_*, tempfile prefixes.splash-*→.ripple-*, docs,
package metadata. posix_spawnrefactor inUnixPty.Startreplaces the raw
fork()+execvp()pair. Fork from a multi-threaded .NET
process has GC / JIT / thread-pool threads in inconsistent
states in the child, SIGSEGVing in libcoreclr beforeexecvp
can replace the image on Ubuntu 24.04 + .NET 9.
POSIX_SPAWN_SETSID+ file_actions open slave without
O_NOCTTYgives us forkpty-equivalent semantics through a
code path that's safe for .NET.- bash integration switched from
PS0=toDEBUG trapfor
OSC 633 C emission — PS0 was added in bash 4.4; macOS ships
/bin/bashat 3.2, where the PS0 assignment is silently
ignored and every AIexecute_commandhit the full timeout.
📦 Install
claude mcp add-json ripple -s user '{"command":"npx","args":["-y","@ytsuda/ripple@latest"]}'Or via Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"ripple": {
"command": "npx",
"args": ["-y", "@ytsuda/ripple@latest"]
}
}
}