HarmonyOS Native / 1.0

执简_Termly

AI 写代码,你不必陪跑。Let AI code. You do not have to babysit it.

离开工位,也别让任务卡在一句确认。手机接入电脑里的真实 AI 终端:看输出、回确认、继续输入。 Leave the desk without leaving the task stuck on one prompt. Access the real AI terminal on your computer to check output, confirm, and keep typing.

手机端要求 HarmonyOS 5.0.0(API 12)及以上 · AppGallery 发布准备中Requires HarmonyOS 5.0.0 (API 12)+ · AppGallery release in preparation
AES-256-GCMPublic or self-hosted relayNo AI CLI fork
01 · Desktop必需REQUIRED
电脑端:AI CLI + Termly CLIDesktop: AI CLI + Termly CLI

你先安装 AI CLI,再安装 Termly CLI 1.9.5;运行期间电脑需保持联网,两个进程不能退出。Install your AI CLI first, then Termly CLI 1.9.5. Keep the computer online and both processes running.

02 · Relay部署二选一CHOOSE ONE
中继服务:公共或自托管Relay: public or self-hosted

服务本身必需,但无需一定自建。relay 转发密文、心跳和可达状态,不持有终端正文密钥。The service is required, self-hosting is not. It forwards ciphertext, heartbeats, and reachability without holding the terminal content key.

03 · HarmonyOS必需REQUIRED
手机端:执简_Termly AppMobile: 执简_Termly App

安装在 HarmonyOS 5.0.0(API 12)及以上手机或平板;扫码进入会话、查看终端并发送输入。Install on a HarmonyOS 5.0.0 (API 12)+ phone or tablet to pair, view the terminal, and send input.

手机端:Mobile: 正式版通过华为应用市场等 HarmonyOS 渠道安装distributed through HarmonyOS channels such as AppGallery电脑端:Desktop: macOS / Windows / Linux,AI CLI 需自行安装macOS / Windows / Linux; install your AI CLI separately中继:Relay: 公共服务开箱即用,自托管是可选部署方式use the public service or optionally self-host

01 / Built for the moments away

真正有用的,是你离开电脑之后。It becomes useful the moment you leave your desk.

不是把桌面硬塞进手机,而是把最常发生的三件事做好:看进度、回确认、处理断线后的现场。Not a shrunken desktop. It focuses on the three things that matter away from your computer: progress, prompts, and recovery.

HarmonyOS 5.0+手机与平板原生界面Native phone and tablet UI
AES-256-GCM终端正文端到端加密End-to-end encrypted terminal content
2 relay modes公共服务或兼容自托管Public or compatible self-hosted relay
0 third-party trackers仅使用自托管第一方匿名统计First-party, self-hosted anonymous analytics only
离开工位后在手机上及时响应 AI 终端确认的概念场景 01 / AWAY FROM DESK
Long task

不用守着电脑,也别错过那次确认。Leave the desk without missing the prompt.

AI CLI 继续在电脑运行;需要你时,手机看输出、按确认、让任务继续。Your AI CLI keeps running on the computer while your phone catches the next prompt.

电脑真实终端同步到 HarmonyOS 手机的概念场景 02 / MOBILE INPUT
Control layer

不只看输出,也能真正继续输入。More than output. Keep interacting.

长文本、提示词历史、Esc、Tab、方向键和 TUI 翻页都在手边。Long-form text, prompt history, Esc, Tab, arrows, and TUI paging stay within reach.

断线后恢复终端任务现场的概念场景 03 / RECONNECT
Return to context

网络抖一下,不等于任务从头来。A network hiccup should not erase the context.

会话重入、本地历史和真实可达状态,帮你回到当前现场。Session re-entry, local history, and honest reachability bring you back to the current state.

02 / Real product, real terminal

手机不是被动镜像,而是一套为 AI 终端重新设计的控制层。Not a passive mirror. A mobile control layer built for AI terminals.

管理可连接的会话、翻阅完整历史、响应交互确认,再用适配移动端的快捷键与长文本编辑继续推进工作。Manage reachable sessions, review long history, answer prompts, and keep working with mobile-first controls and long-form input.

执简_Termly 会话列表实际界面 执简_Termly AI 终端实际界面
01

会话是否可连接Session reachability

区分活跃、失效与本地连接;切回前台时,再从 relay 读取 CLI 的真实可达状态。Separate active, expired, and local link state, then refresh actual CLI reachability from the relay.

02

终端历史与 TUI 翻页History and TUI paging

本地 scrollback 与远端 Page Up / Page Down 各司其职,兼容 Claude Code 与 OpenCode 的不同界面模型。Local scrollback and remote Page Up / Page Down stay distinct across Claude Code and OpenCode UI models.

03

移动输入工具栏Mobile input toolbar

Enter、New Line、Esc、Tab、Ctrl、Shift 与方向键随时可用,软键盘只在真正需要输入时唤起。Enter, New Line, Esc, Tab, Ctrl, Shift, and navigation keys stay close while the IME appears only when needed.

04

断线后的可靠恢复Reliable reconnection

App 与 relay 各自独立重试,CLI 在自身的恢复窗口内继续运行;relay 不会默认 CLI 仍可连接,只会如实反馈当前状态。App and relay retry independently while the CLI owns its recovery window; the relay reports reachability without inventing it.

03 / Security model

中继负责送达,不负责理解。The relay delivers. It does not understand.

终端数据在电脑端加密、手机端解密;中继只看到密文与连接元数据,无法读取你的代码、命令或与 AI 的对话。Terminal data is encrypted on your computer and decrypted on your phone. The relay sees ciphertext and connection metadata, not your code, commands, or AI conversation.

KEY EXCHANGEDiffie-HellmanDH-2048
PAYLOADAuthenticated encryptionAES-256-GCM
TRANSPORTTermly compatible messagesWebSocket
RELAY VIEWEncrypted payload onlyNO PLAINTEXT
电脑、relay 与手机之间加密数据链路的概念图
密文经过,正文密钥不经过Ciphertext passes. Content keys do not.RELAY VIEW / NO PLAINTEXT
[01]不 fork AI CLINo AI CLI fork

Claude、Codex、Gemini、OpenCode 这些 AI CLI 本身不做任何改动。Claude, Codex, Gemini, and OpenCode keep their native software and interaction.

[02]公共或自托管 relayPublic or self-hosted relay

补丁只替换 Termly CLI 的中继地址:可以使用 执简_Termly,也可以指向你自己的服务器。The patch only replaces Termly CLI's relay address. Use 执简_Termly or point it to your own server.

[03]会话指纹Session fingerprint

配对时确认设备与会话身份,避免误连到其他会话。Confirm device and session identity during pairing to reduce accidental connections.

[04]权限按需Minimal permissions

相机只用于扫码配对;连接方式和输入数据的处理范围,均在隐私政策中说明。Camera access is only for pairing; connection and input boundaries are documented publicly.

Termly CLI 1.9.5 内置启动项Built-in launch targets in Termly CLI 1.9.5SELECTOR VERIFIED

下列名称由 Termly 的 registry 直接识别;执简_Termly 已重点回归 Claude Code 与 OpenCode。不同工具和版本的 TUI 细节仍以实际表现为准。These names are recognized directly by Termly's registry. 执简_Termly has focused regression coverage for Claude Code and OpenCode; TUI details can vary by tool and version.

Claude CodeOpenAI CodexGemini CLIOpenCodeAiderGitHub Copilot CLIQwen Code
Kimi Code CLIUPSTREAM PRESET REQUIRED

Kimi 是全交互式 TUI;relay 的密文字节转发没有工具白名单,但 Termly CLI 1.9.5 尚未内置 kimi 启动项,termly start --ai kimi 会被 selector 拒绝,所以目前无法完成端到端接入。待上游增加 preset 后,仍需完成 Kimi TUI 的移动端回归,才会标为正式可用。Kimi is a fully interactive TUI. The relay's encrypted byte forwarding has no tool allowlist, but Termly CLI 1.9.5 has no kimi launch target and rejects termly start --ai kimi, so end-to-end access is not available today. After an upstream preset is added, Kimi's TUI still needs mobile regression coverage before it is advertised as supported. 查看 Kimi 官方说明Kimi documentation

04 / Desktop setup

这里配置电脑端,不是安装手机 App。This configures the desktop. It does not install the mobile app.

请先自行安装想使用的 AI CLI。下面的脚本只检查 Node.js、安装 Termly CLI 1.9.5、连接公共 relay 并给出启动命令;无需 sudo,可重复执行。Install your chosen AI CLI first. This script only checks Node.js, installs Termly CLI 1.9.5, connects the public relay, and prints the start command. No sudo, safe to rerun.

curl -fsSL https://www.termlyhos.com/install.sh | bash

或手动分三步完成Or complete the three steps manually

  1. 01npm install -g @termly-dev/cli
  2. 02npx -y https://www.termlyhos.com/termly-relay-patch-1.1.0.tgz https://relay2.termlyhos.com
  3. 03termly start --ai claude-code
连接 执简_Termly 中继Point CLI to 执简_Termly relay

补丁不会修改 AI CLI,只改 Termly CLI 的 relay 地址。Termly CLI 升级或重装后,再运行一次补丁即可。The patch does not modify your AI CLI. It only replaces Termly CLI's relay address. Run it again after updating or reinstalling Termly.

也可以使用自己的中继Or use your own relay

把补丁命令最后的 URL 换成你的 relay 地址即可。源码包、Docker 部署和安全边界见 自托管指南Replace the final URL in the patch command with your relay address. See the self-hosting guide for the source package, Docker setup, and security boundary.

启动并扫码Start and scan

电脑端出现配对码后,在 执简_Termly 首页扫描;首次确认指纹后即可进入终端。When the pairing code appears, scan it from 执简_Termly and confirm the fingerprint before entering the terminal.

继续使用原有工具Keep your existing tools

把 `claude-code` 换成 `codex`、`gemini`、`opencode`,或 Termly registry 中其他内置启动项即可。Replace `claude-code` with `codex`, `gemini`, `opencode`, or another built-in target in Termly's registry.

合作支持Partner support

ONLY APPROVED PARTNER LINKS