Skip to content

v0.4.1

Choose a tag to compare

@finch-xu finch-xu released this 14 Apr 16:23
· 32 commits to main since this release

Release Notes

English

New Features

  • Windows x64 Agent Support — Full Windows 10+ support via ConPTY. Agent auto-detects PowerShell 7 / PowerShell 5.1 / cmd.exe. No changes needed on the web side — ConPTY outputs standard VT sequences natively.
  • Multi-User Management — Per-user agent isolation: each user manages their own agent tokens and can only access their own terminals. Admin can view user statistics but cannot access other users' sessions.
  • Role-Based Access Control — User role system (admin/user) with DB-backed JWT verification and requireAdmin middleware protecting all management endpoints.
  • Audit Log — Full audit log with query AP Jump to bottom ↓ gination, time range presets, action typefilters, and detail search. Role-aware UI restricts non-admin users to their own logs.
  • Split-Pane Terminal — Side-by-side termi Jump to bottom ↓ gable divider (20%–80% range, double-clickto reset 50/50). Each pane has independent tab groups.
  • OSC 9;4 Progress Bar — Intercepts ConEmu Jump to bottom ↓ Ghostty progress sequences and renders athemed progress bar at the top of the terminal. Supports normal, error, indeterminate, and warning states. Jump to bottom ↓
  • Image Paste to Remote Clipboard — Paste or drop images in the browser to transfer them to the agent's system clipboard via chunked E2E-encrypted Jump to bottom ↓ d for Claude Code clipboard integration.
  • Mobile & Tablet Responsive Design — Sidebar converts to a slide-out drawer on smaller viewports with a hamburger menu. Touch targets enlarged, d Jump to bottom ↓ are.
  • End-to-End Latency Measurement — Relay pings agents every 30s for RTT; browser measures browser↔relay latency independently. Sidebar displays co Jump to bottom ↓ h color-coded thresholds and per-hoptooltip.
  • New Terminal Fonts — Added Cascadia Mono Jump to bottom ↓ o via fontsource with optimizedunicode-range loading.
  • New Terminal Themes — macOS Basic (white Jump to bottom ↓ ic VT100 ANSI colors) and High Contrast(pure black, brightness-boosted colors for accessibility).
  • Version Display — Build version and comm Jump to bottom ↓ logs/status, relay API, and web settingspage.
  • Agent Session Status — rttys-agent statu Jump to bottom ↓ session count and per-session duration.

Bug Fixes Jump to bottom ↓

  • Windows Agent Sessions Not Working — val Jump to bottom ↓ d backslash characters, breaking all Windows shell paths. Now OS-aware. Also added pty.error responses to all silent failure paths so the browser always gets feedback. Jump to bottom ↓
  • E2E Keys Lost on Agent Switch — Switching agents unmounted/remounted TerminalTabs, destroying encryption keys. All agents' terminal tabs Jump to bottom ↓ with CSS display toggle.
  • User Preferences Not Restoring — useThemeProvider used useState with async initial value that was always undefined on first render. Fixed wi Jump to bottom ↓
  • Docker Server Key Regeneration — Ed25519 server key stored at wrong path inside container, causing key regeneration on every redeployment and br Jump to bottom ↓ ctions.
  • Ghost Agent Processes — Added duplicate instance detection before startup and stale PID file cleanup. Relay now closes old WebSocket before acce Jump to bottom ↓ connections.
  • AES-GCM Nonce Race Condition — SendCounter accessed from multiple goroutines without synchronization. Fixed with atomic operations to prevent no Jump to bottom ↓
  • Agent Config Directory — init now creates ~/.rttys for runtime files while keeping config next to the executable. Jump to bottom ↓
  • React 19 Compatibility — Added missing useRef initial values.
    Jump to bottom ↓
    UI/UX Improvements
    Jump to bottom ↓
  • Replaced all Unicode/emoji icons with Lucide React SVG icons
  • Added global focus-visible rings, semant Jump to bottom ↓ IA labels
  • Dark mode support on Login/Setup pages
  • Modal entrance animations, hover states, Jump to bottom ↓ k pattern
  • Audit log refresh button and absolute timestamps
    Jump to bottom ↓
    CI/CD
    Jump to bottom ↓
  • Apple code signing and notarization for macOS agent binaries (no more Gatekeeper warnings)
  • Windows x64 cross-compilation in release Jump to bottom ↓

--- Jump to bottom ↓
中文
Jump to bottom ↓
新功能
Jump to bottom ↓

  • Windows x64 Agent 支持 — 通过 ConPTY 全面支持 Windows 10+,自动检测 PowerShell 7 / PowerShell 5.1 / cmd.exe。Web 端无需任何修改,ConPTY 原生输 Jump to bottom ↓ 。
  • 多用户管理 — 每个用户独立管理自己的 Agent Token,只能访问自己的终端。管理员可查看用 Jump to bottom ↓ 用户会话。
  • 基于角色的访问控制 — 用户角色系统(admin/user),JWT 验证基于数据库实时查询,requireAdmin 中间件保护所有管理端点。 Jump to bottom ↓
  • 审计日志 — 完整的审计日志系统,支持游标分页、时间范围 Jump to bottom ↓ 和详情搜索。非管理员用户只能查看自己的日志。
  • 分屏终端 — 左右并排显示两个终端,可拖动分隔线(20%–80%),双击恢复 50/50。每个面板有独立的标签组。
  • OSC 9;4 进度条 — 拦截 ConEmu/Windows Ter Jump to bottom ↓进度序列,在终端顶部渲染主题化进度条,支持正常、错误、不确定、警告四种状态。
  • 图片粘贴到远程剪贴板 — 在浏览器中粘贴或 Jump to bottom ↓ E2E 加密传输到 Agent 系统剪贴板,专为 Claude Code 剪贴板集成设计。
  • 移动端和平板响应式设计 — 小屏幕下侧边栏 Jump to bottom ↓ 单,触控目标增大,对话框适配视口宽度。
  • 端到端延迟测量 — Relay 每 30 秒 ping Agent 计算 RTT,浏览器独立测量浏览器↔Relay 延迟。侧边栏显示合计延迟,带色彩阈值和逐跳 Jump to bottom ↓
  • 新增终端字体 — Cascadia Mono 和 Noto Sans Mono,通过 fontsource 管理,优化 unicode-range 加载。
  • 新增终端主题 — macOS Basic(白底经典 VT1 Jump to bottom ↓Contrast(纯黑底高亮度配色,提升无障碍访问性)。
  • 版本号显示 — Agent 日志/状态、Relay API Jump to bottom ↓ 示构建版本和 commit。
  • Agent 会话状态 — rttys-agent status 现在显示活跃会话数量和每个会话的连接时长。
    Jump to bottom ↓
    Bug 修复
    Jump to bottom ↓
  • Windows Agent 无法创建终端 — validateShell 拒绝反斜杠字符,导致所有 Windows shell 路径被拦截。现已改为 OS 感知校验。同时为所有静默失败路径补发 p Jump to bottom ↓ 再无响应等待。
  • 切换 Agent 时 E2E 密钥丢失 — 切换 Agent 导致 TerminalTabs 卸载/重挂载,加密密钥被销毁。现在所有 Agent 的终端标签保持挂载,通过 CSS display 切换 Jump to bottom ↓
  • 用户偏好设置未恢复 — useThemeProvider 使用异步初始值导致首次渲染始终为 undefined,已通过 useEffect 同步修复。 Jump to bottom ↓
  • Docker 部署时服务器密钥重新生成 — Ed25519 密钥存储路径错误,每次部署都重新生成导致 Agent 连接断开。
  • Agent 幽灵进程 — 新增启动前重复实例检测 Jump to bottom ↓ 。Relay 在接受替代连接前先关闭旧 WebSocket。
  • AES-GCM Nonce 竞态条件 — SendCounter 在多个 goroutine 间无同步访问,已改为原子操作防止 nonce 重用。
  • Agent 配置目录 — init 现在为运行时文件创 Jump to bottom ↓ 件保留在可执行文件旁。
  • React 19 兼容性 — 补充缺失的 useRef 初始值。
    Jump to bottom ↓
    UI/UX 改进
    Jump to bottom ↓
  • 所有 Unicode/emoji 图标替换为 Lucide React SVG 图标
  • 全局 focus-visible 焦点环、语义化按钮 + Jump to bottom ↓
  • 登录/初始化页面支持暗色模式
  • 弹窗入场动画、悬停状态、复制反馈效果 Jump to bottom ↓
  • 审计日志刷新按钮和绝对时间戳
    Jump to bottom ↓
    CI/CD
    Jump to bottom ↓
  • macOS Agent 二进制文件 Apple 代码签名和公证(不再触发 Gatekeeper 警告)
  • Release 流水线新增 Windows x64 交叉编译 Jump to bottom ↓

Full Changelog: v0.3.13...v0.4.1