russh · -L / -R / -D
双栈 SSHv2 与端口转发引擎Dual-Crypto SSHv2 & Port Forwarding
纯 Rust russh 提供 Modern(后量子 MLKEM768X25519)与 Legacy 双配置、0ms 异步非阻塞连接(RFC 8305 双栈拨号与休眠探活)、多跳 ProxyJump、SOCKS5 / HTTP / Vela 前置代理与 ~/.ssh/config 导入;内置 -L 本地、-R 远程与 -D 动态 SOCKS5 端口转发引擎,支持侧边抽屉(⌘⇧F)实时遥测与连接自启。
Pure-Rust russh delivers Modern (post-quantum MLKEM768X25519) and Legacy profiles, 0ms non-blocking connect (Happy Eyeballs + sleep/wake probing), multi-hop ProxyJump, Vela proxy, and ~/.ssh/config import—plus a full -L local, -R remote, and -D dynamic SOCKS5 port-forwarding engine with a floating drawer (⌘⇧F) and auto-start on connect.
MCP 2025-03-26
本地双通道 MCP 协议桥Local Dual-Transport MCP Bridge
内置 Streamable HTTP(严格绑定 127.0.0.1:18790,含 Host / Origin 校验、常量时间 Bearer 鉴权、无需重启的热轮换 Token 与 4 MiB 包体限制)以及 velaterm-mcp Stdio ↔ UDS 透明桥接。向导一键生成 Antigravity、Cursor、Claude Desktop 与 Claude Code 配置文件。
Serves both Streamable HTTP (strictly bound to 127.0.0.1:18790 with Host/Origin checks, constant-time Bearer auth, live token rotation without restarts, and a 4 MiB body cap) and the velaterm-mcp Stdio ↔ UDS bridge. Built-in wizard generates configs for Antigravity, Cursor, Claude Desktop, and Claude Code.
Shell AST · Fail-Closed
L1 / L2 / L3 三层风控与脱敏L1 / L2 / L3 AST Guard & Redactor
使用 brush-parser 深度解析 POSIX / Bash AST,失败即拒绝(Fail-Closed):L1 只读命令自动放行、L2 变更需人类审批、L3 破坏性命令硬拦截并在顶部弹出绯红告警条一键直达审计(⇧⌘L),支持自定义 L3 正则与 readonly_only 主机锁。所有输出经线性时间 SecretRedactor 自动遮蔽私钥、API Key、JWT 与数据库密码。
Parses POSIX / Bash commands into an AST via brush-parser (fail-closed): L1 read-only commands auto-allow, L2 mutations require operator approval, and L3 destructive patterns are hard-denied with an inline crimson alert banner linking straight to Audit Logs (⇧⌘L). Linear-time SecretRedactor scrubs private keys, tokens, JWTs, and DB passwords before output returns.
Glass-Box UI
玻璃盒实时协作与一键接管Glass-Box Collaboration & Takeover
AI 接入会话后,终端顶部自动滑出实时协作条显示来源客户端与当前指令,所有 exec 输出同步镜像在窗口内;macOS 顶部菜单栏亦会实时显示待审批安全盾徽章。随时可一键 Pause AI、Takeover 接管终端或发送 SIGINT 中断,AI 无权关闭人类创建的会话。
Whenever an AI client attaches, a live collaboration banner slides in above the terminal showing client identity and active command, mirroring output in real time while the macOS menu bar surfaces pending approval badges. Click Pause AI, Takeover, or SIGINT anytime—AI clients can never close human-owned sessions.
SFTP · Unified Diff
同窗 SFTP 与原子 Diff 回写Co-Window SFTP & Atomic Diff Writes
折叠式同窗 SFTP 面板(⇧⌘S)通过 OSC 7 自动跟随终端当前工作目录(cwd),支持拖拽上传、权限调整与远程编辑。AI 或远程写入配置文件前强制弹出 Unified Diff 审批,默认留存 .velaterm.bak 时间戳备份并以原子重命名保持原有 POSIX 权限。
A collapsible SFTP sidebar (⇧⌘S) tracks your terminal’s working directory via OSC 7 with drag-and-drop uploads, chmod, and inline editing. Every remote write runs through mandatory Unified Diff approval, creates a timestamped .velaterm.bak backup, and commits atomically while preserving POSIX permissions.
Metal · 34 Themes · Keychain
本地 PTY、34 套主题与零明文钥匙串Local PTY, 34 Themes & Keychain
SwiftTerm Metal GPU 渲染配合 60Hz 抗洪合并与后台线程 VT100 解析,内置本地 PTY 终端、树形资产、⌘K 秒搜、标签右键/双击克隆、递归分屏(⌘D/⇧⌘D)、Compose Bar 广播(⇧⌘B)与高亮集;提供 34 套精选暗/亮独立终端主题、自定义 16 色编辑器(全局/会话/主机三级覆盖)及异步 Nerd Font 回退,凭据仅存钥匙串(支持 Touch ID)且认证后即刻 zeroize。
Metal GPU SwiftTerm rendering with 60Hz flood coalescing and off-main VT100 parsing pairs local PTY shells, tree folders, ⌘K switcher, tab context menu / duplicate, recursive splits, and Compose Bar broadcast (⇧⌘B) with 34 curated Dark/Light terminal themes, a 16-color custom theme editor (global/session/host overrides), async Nerd Font fallback, and Keychain + Touch ID secrets zeroized right after auth.