handmux 0.21.0 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/README.zh-CN.md +6 -6
- package/package.json +5 -4
- package/public/assets/index-ClOByNCn.js +335 -0
- package/public/assets/index-rjrtUwoJ.css +32 -0
- package/public/index.html +2 -2
- package/src/browser/manager.js +37 -11
- package/src/browser/publicProxy.js +23 -1
- package/src/browser/routes.js +9 -0
- package/src/browser/siteVersion.js +124 -0
- package/src/push.js +16 -7
- package/src/routes/push.js +5 -4
- package/src/routes/terminal.js +12 -0
- package/public/assets/index-DgkdA9oQ.js +0 -335
- package/public/assets/index-WH6Olfjg.css +0 -32
package/README.md
CHANGED
|
@@ -68,20 +68,20 @@ handmux start --tunnel cloudflare # instant public URL (cloudflared auto-insta
|
|
|
68
68
|
## Features
|
|
69
69
|
|
|
70
70
|
- **Claude Code / Codex, deeply** — an inbox status ledger, thumb-approve permissions & plans, and stable host-wide usage bars shared by every connected device.
|
|
71
|
-
- **Chat view (experimental)** —
|
|
72
|
-
- **Real-time terminal + desktop
|
|
73
|
-
- **Command & chat modes** —
|
|
71
|
+
- **Chat view (experimental)** — turn a Claude session into a mobile conversation with Markdown bubbles, colored tool diffs, and tap-to-answer cards; enable it in Settings and switch back to the terminal at any time.
|
|
72
|
+
- **Real-time terminal + desktop keyboard** — stream the same tmux pane on phone and desktop with scrollback, weak-network fallback, direct physical-keyboard input, and native copy/paste.
|
|
73
|
+
- **Command & chat modes** — switch between direct terminal input and natural-language agent chat, with a customizable quick bar that stays in sync across devices.
|
|
74
74
|
- **Client reload after updates** — once the server update has finished, use Settings → Reload app to load the new client without quitting and reopening the home-screen app.
|
|
75
75
|
- **Script push** — notify your phone from any script or CI step with `handmux push`; target all devices, a named session, or a specific device.
|
|
76
|
-
- **Workspace recovery** — handmux
|
|
76
|
+
- **Workspace recovery** — handmux keeps the metadata needed to restore your latest tmux workspace after a computer or tmux-server restart, without replacing existing sessions.
|
|
77
77
|
- **Git viewer** — changes / commit history / any branch / full-screen colored diff, multi-repo tabs, read-only, never touches your tree.
|
|
78
|
-
- **Web Preview for URLs and static folders** —
|
|
78
|
+
- **Web Preview for URLs and static folders** — preview URLs by phone or computer proxy, or open an isolated static folder, with narrow/wide page widths and zoom; computer proxy can also request a mobile or desktop site version. It embeds pages rather than replacing a full browser.
|
|
79
79
|
- **Docs** — tap a path in the terminal to open it; Markdown rendered, font zoom, sentence-by-sentence read-aloud.
|
|
80
80
|
- **Mobile select & copy** — long-press to select in the terminal, drag iOS-style handles to fine-tune, copy the selection / a whole line / a whole paragraph.
|
|
81
81
|
- **Files both ways** — multi-select upload from the chat box, download, share in, copy any absolute path.
|
|
82
82
|
- **Ideas — catch every one** — a thought the moment it strikes: a per-window idea/to-do list, jot one by voice and drop it straight into the prompt.
|
|
83
83
|
- **Built for flaky networks** — backoff reconnect, connection-lost banner, offline page, polling that pauses in the background; a reflow-safe cursor.
|
|
84
|
-
- **Zero-install PWA** — runs
|
|
84
|
+
- **Zero-install PWA** — runs full-screen from your home screen, with English, 简体 / 繁體中文, 日本語, and 한국어.
|
|
85
85
|
|
|
86
86
|
## Workspace recovery
|
|
87
87
|
|
package/README.zh-CN.md
CHANGED
|
@@ -68,20 +68,20 @@ handmux start --tunnel cloudflare # 即时公网地址(自动装 cloudflared)
|
|
|
68
68
|
## 功能一览
|
|
69
69
|
|
|
70
70
|
- **Claude Code / Codex 深度**——收件箱状态台账、拇指批授权批计划,以及所有设备共享的本机最新 agent 用量。
|
|
71
|
-
-
|
|
72
|
-
- **实时终端 +
|
|
73
|
-
- **命令 /
|
|
71
|
+
- **对话视图(实验性)**——用 Markdown 气泡、彩色工具 diff 和点按回答卡片把 Claude 会话变成移动端对话,可在设置中开启并随时切回终端。
|
|
72
|
+
- **实时终端 + 电脑键盘**——在手机和电脑上实时操控同一个 tmux pane,支持历史滚动、弱网回退、物理键盘直输和原生复制粘贴。
|
|
73
|
+
- **命令 / 聊天双模式**——在终端直输与自然语言对话间切换,并用跨设备同步的快捷栏快速操作。
|
|
74
74
|
- **更新后重新加载客户端**——服务端更新完成后,在设置里点「重新加载应用」即可载入新版客户端,无需退出主屏应用再重新打开。
|
|
75
75
|
- **脚本推送**——用 `handmux push` 从脚本或 CI 步骤推消息到手机,可指定全部设备、某个会话或某台设备。
|
|
76
|
-
- **工作区恢复**——handmux
|
|
76
|
+
- **工作区恢复**——handmux 静默保存必要元数据,在电脑或 tmux server 重启后恢复最新工作区,绝不替换现有会话。
|
|
77
77
|
- **Git 查看器**——改动 / 提交历史 / 任意分支 / 全屏彩色 diff,多仓库分页,只读不动工作区。
|
|
78
|
-
-
|
|
78
|
+
- **网页预览器**——用手机直连或电脑代理预览网址,也可隔离打开静态目录,支持窄屏 / 宽屏和缩放;电脑代理还可向网站请求手机版或电脑版。它只嵌入网页,不替代完整浏览器。
|
|
79
79
|
- **文档**——终端里点路径即开;Markdown 排版、字号缩放、逐句高亮朗读。
|
|
80
80
|
- **选中 · 拷贝**——终端里长按选中,拖 iOS 式手柄精调,一键拷贝选区 / 整行 / 整段。
|
|
81
81
|
- **文件双向传**——聊天框多选上传、下载、系统分享进来、复制绝对路径。
|
|
82
82
|
- **想法 · 随想随记**——不错过任何点子:每窗口一份想法清单,灵感一冒就记(能语音速记),一点填进输入框。
|
|
83
83
|
- **专治弱网**——退避重连、掉线横幅、离线兜底页、后台暂停轮询;光标不乱跳。
|
|
84
|
-
- **零安装 PWA
|
|
84
|
+
- **零安装 PWA**——添加到主屏即可全屏运行,支持 English、简体 / 繁體中文、日本語和 한국어。
|
|
85
85
|
|
|
86
86
|
## 工作区恢复
|
|
87
87
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "handmux",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.1",
|
|
4
4
|
"description": "A mobile vibe-coding cockpit — built on tmux: drive your live session, Claude Code / Codex — anything a terminal can run — from your phone.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"bundle": "node scripts/bundle-web.mjs",
|
|
42
42
|
"prepack": "node scripts/bundle-web.mjs",
|
|
43
43
|
"test": "vitest run",
|
|
44
|
+
"test:workspace-host": "HANDMUX_WORKSPACE_HOST=1 vitest run test/workspaceHost.test.js",
|
|
44
45
|
"test:workspace-docker": "HANDMUX_WORKSPACE_DOCKER=1 vitest run test/workspaceDocker.test.js"
|
|
45
46
|
},
|
|
46
47
|
"dependencies": {
|
|
@@ -61,13 +62,13 @@
|
|
|
61
62
|
"vitest": "^2.0.0"
|
|
62
63
|
},
|
|
63
64
|
"whatsNew": [
|
|
65
|
+
{"version":"0.22.1","date":"2026-08-04","zh":"网页宽度与网站版本分开控制","en":"Separate page width and site-version controls"},
|
|
66
|
+
{"version":"0.22.0","date":"2026-08-03","zh":"全屏设置 · 窗口与分屏管理更清晰","en":"Full-screen Settings · clearer window and pane management"},
|
|
64
67
|
{"version":"0.21.0","date":"2026-08-03","zh":"网页预览:手机直连、电脑代理与静态目录","en":"Web preview: direct, computer proxy, and static folders"},
|
|
65
68
|
{"version":"0.20.3","date":"2026-08-01","zh":"实时终端显示更稳定流畅","en":"More stable, smoother live terminals"},
|
|
66
69
|
{"version":"0.20.2","date":"2026-07-27","zh":"实时终端长时间运行更流畅","en":"Smoother long-running live terminals"},
|
|
67
70
|
{"version":"0.20.1","date":"2026-07-26","zh":"聊天发送修复 · 电脑键盘不中断","en":"Reliable chat sending · uninterrupted desktop input"},
|
|
68
71
|
{"version":"0.20.0","date":"2026-07-26","zh":"终端实时推送 · 弱网自动回退","en":"Live terminal pushing · automatic network fallback"},
|
|
69
|
-
{"version":"0.19.0","date":"2026-07-25","zh":"电脑物理键盘直输 · Window 切换更流畅","en":"Desktop keyboard input · faster window switching"}
|
|
70
|
-
{"version":"0.18.0","date":"2026-07-22","zh":"Tmux 工作区恢复 · 快捷栏自由定制","en":"Tmux workspace recovery · customizable shortcuts"},
|
|
71
|
-
{"version":"0.17.8","date":"2026-07-20","zh":"分屏地图显示尺寸 · iPhone 交互修复","en":"Pane dimensions in the map · iPhone interaction fixes"}
|
|
72
|
+
{"version":"0.19.0","date":"2026-07-25","zh":"电脑物理键盘直输 · Window 切换更流畅","en":"Desktop keyboard input · faster window switching"}
|
|
72
73
|
]
|
|
73
74
|
}
|