Repository navigation
v0.1.4
新功能 / What's new
触发器 / Triggers
- 仿 WindTerm 的触发器:识别终端输出中的特定内容,悬停显示提示,单击(默认 Ctrl + 单击)执行动作。屏幕上的匹配都带下划线:可点击的是实线,只有提示的是虚线。在「设置 → 触发器」中按优先级排列,可以关闭、调整顺序、编辑或新增。
WindTerm-style Triggers recognize patterns in terminal output: hover a match for its tooltip, click it (Ctrl + click by default) to run its action. Matches are underlined, solid when clickable and dotted when tooltip-only. Settings → Triggers lists them in priority order; turn them off, reorder, edit or add your own. - 内置:超链接(http(s)、ftp(s)、sftp、scp、ssh、telnet、file、www.、邮箱和 OSC 8 链接)、十六进制转换、时间戳转换、解压;默认自定义触发器:Python 报错(键入
vim <文件> +<行号>)和计算器。
Built in: Hyperlink (http(s), ftp(s), sftp, scp, ssh, telnet, file, www., email and OSC 8 links), Hexadecimal Converter, Timestamp Converter and Unarchiver. Default custom triggers: Python Error (typesvim <file> +<line>) and Calculator. - 自定义触发器使用带命名分组的正则,提示可以是模板或脚本,动作可以是发送文本或打开链接。捕获的文本键入时会做 shell 转义;脚本在无网络、无应用权限的 Worker 中运行,超过 0.5 秒即终止。
Custom triggers take a regex with named groups, a tooltip template or script, and a send-text / open-link action. Captured text is shell-quoted when typed; scripts run in a Worker with no network or app access and are stopped after 0.5 s.
分享会话 / Session sharing
- 右键标签或窗格 →「分享此会话…」,经已配置的中继生成一个只包含这个终端的链接。每个分享有独立的密钥和房间,访客看不到电脑上的其他内容;默认只读,可把控制权交给一位访客输入并接管终端尺寸,收回控制权后尺寸还给电脑。可设置有效期、是否包含回滚、新访客是否需要批准、是否仅限一位访客。
Right-click a tab or pane → Share This Session… to create a link for just that terminal through your relay. Each share has its own key and room, so viewers see nothing else. Read-only by default; one viewer at a time can be given control to type and take over the terminal size, which returns when control ends. Options: expiry, scrollback, approve new viewers, single-viewer link. - 「手机远程」更名为「远程访问」:任何浏览器都能使用。配置和协议不变,已有的配对继续有效。
"Phone remote" is now Remote access, as it works from any browser. Config and protocol are unchanged, so existing pairings keep working.
检查更新 / Updates
- 工具栏「更多」菜单显示当前版本,并新增「检查更新」(也可在命令面板和快捷键中使用);手动检查总会给出结果。
The toolbar's More menu shows the running version and a Check for Updates item, also in the command palette and shortcut editor. A manual check always answers. - 发现新版本时,提示框里直接显示这次的更新说明(按界面语言显示中文或英文);GitHub API 被限流时也能取到。
The update dialog shows the new release's notes, in the UI language, even when the GitHub API is rate-limited.
Full Changelog: v0.1.3...v0.1.4