Highlights
PTY-backed interactive bash often injects escape sequences that look like “binary” when JSON-escaped. This release strips that noise and slims tool JSON so agents spend tokens on real command output.
Changes
- Present-time sanitize — strip ANSI/OSC/CSI, honor CR overwrite, drop control-only blank lines, then apply the
lineswindow - Quiet session open —
TERM=dumb/NO_COLOR/CLICOLOR=0, disable bracketed paste, send\033[?2004lonce at open - Slim tool payloads — omit empty
stderr,falseflags, and echoedlines; keep emptystdoutso silence stays explicit - Tests — coverage for sanitize, open-frame quieting, session present path, and slim JSON
Upgrade
npm i -g @zyluo/remote-ssh-mcp@0.2.2Restart the MCP process after upgrading so the new server binary is loaded.