Skip to content

v0.2.2 — quieter remote output, fewer tokens

Latest

Choose a tag to compare

@the-nine-nation the-nine-nation released this 06 Aug 09:15
· 2 commits to main since this release

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 lines window
  • Quiet session openTERM=dumb / NO_COLOR / CLICOLOR=0, disable bracketed paste, send \033[?2004l once at open
  • Slim tool payloads — omit empty stderr, false flags, and echoed lines; keep empty stdout so 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.2

Restart the MCP process after upgrading so the new server binary is loaded.

npm: https://www.npmjs.com/package/@zyluo/remote-ssh-mcp