handmux 0.17.0 → 0.17.4
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 +2 -2
- package/README.zh-CN.md +2 -2
- package/package.json +4 -4
- package/public/assets/{index-C8uRJNnP.js → index-BfJTQWOA.js} +97 -97
- package/public/index.html +1 -1
- package/src/agents/claude.js +61 -2
- package/src/agents/index.js +3 -1
- package/src/claudeEvents.js +25 -4
- package/src/cli/pushCmd.js +4 -1
- package/src/notifications.js +3 -1
- package/src/previewServer.js +28 -5
- package/src/previews.js +8 -4
- package/src/routes/previews.js +4 -2
- package/src/routes/push.js +4 -1
- package/src/routes/transcript.js +14 -3
- package/src/tmux/commands.js +3 -3
- package/src/urlPolicy.js +14 -0
package/README.md
CHANGED
|
@@ -72,7 +72,7 @@ handmux start --tunnel cloudflare # instant public URL (cloudflared auto-insta
|
|
|
72
72
|
- **Command & chat modes** — one bottom bar, two modes: type straight into the terminal, or talk to the agent in natural language. Preset ESC/Tab/Ctrl+C, custom ⌃⇧⌥ key-combos, and saved/recent commands split global or per-window (slash-commands included).
|
|
73
73
|
- **Script push** — notify your phone from any script or CI step with `handmux push`; target all devices, a named session, or a specific device.
|
|
74
74
|
- **Git viewer** — changes / commit history / any branch / full-screen colored diff, multi-repo tabs, read-only, never touches your tree.
|
|
75
|
-
- **Site preview** — a static folder, or a running service by port (routing / APIs / live-reload intact), in a phone or desktop viewport.
|
|
75
|
+
- **Site preview** — a static folder, or a running HTTP/HTTPS service by port (routing / APIs / live-reload intact), in a phone or desktop viewport.
|
|
76
76
|
- **Docs** — tap a path in the terminal to open it; Markdown rendered, font zoom, sentence-by-sentence read-aloud.
|
|
77
77
|
- **Select & copy text** — long-press to select in the terminal, drag iOS-style handles to fine-tune, copy the selection / a whole line / a whole paragraph.
|
|
78
78
|
- **Files both ways** — multi-select upload from the chat box, download, share in, copy any absolute path.
|
|
@@ -101,7 +101,7 @@ handmux push <title> <body> [options]
|
|
|
101
101
|
| `--session <name>` | Target all devices subscribed to this tmux session (repeatable; comma-separated values OK) |
|
|
102
102
|
| `--device <key>` | Target a specific device by its key (repeatable; comma-separated values OK) |
|
|
103
103
|
| `--tag <T>` | Notification tag (collapses duplicates) |
|
|
104
|
-
| `--url <U>` | URL to open when the notification is tapped |
|
|
104
|
+
| `--url <U>` | HTTP(S) URL or same-origin relative path to open when the notification is tapped |
|
|
105
105
|
|
|
106
106
|
**Scopes — pick at most one:**
|
|
107
107
|
|
package/README.zh-CN.md
CHANGED
|
@@ -72,7 +72,7 @@ handmux start --tunnel cloudflare # 即时公网地址(自动装 cloudflared)
|
|
|
72
72
|
- **命令 / 聊天双模式**——底部一栏两种模式:直接敲进终端,或用自然语言发给 agent。预置 ESC/Tab/Ctrl+C、自定义 ⌃⇧⌥ 组合键,常用 / 最近命令分全局或按窗口(含斜杠命令)。
|
|
73
73
|
- **脚本推送**——用 `handmux push` 从脚本或 CI 步骤推消息到手机,可指定全部设备、某个会话或某台设备。
|
|
74
74
|
- **Git 查看器**——改动 / 提交历史 / 任意分支 / 全屏彩色 diff,多仓库分页,只读不动工作区。
|
|
75
|
-
-
|
|
75
|
+
- **站点预览**——挑目录预览静态站,或按端口预览正跑的 HTTP/HTTPS 服务(路由 / 接口 / HMR 全保留)。
|
|
76
76
|
- **文档**——终端里点路径即开;Markdown 排版、字号缩放、逐句高亮朗读。
|
|
77
77
|
- **选中 · 拷贝**——终端里长按选中,拖 iOS 式手柄精调,一键拷贝选区 / 整行 / 整段。
|
|
78
78
|
- **文件双向传**——聊天框多选上传、下载、系统分享进来、复制绝对路径。
|
|
@@ -101,7 +101,7 @@ handmux push <title> <body> [选项]
|
|
|
101
101
|
| `--session <name>` | 仅推送到订阅了该 tmux 会话的设备(可重复使用,支持逗号分隔) |
|
|
102
102
|
| `--device <key>` | 仅推送到指定 key 的设备(可重复使用,支持逗号分隔) |
|
|
103
103
|
| `--tag <T>` | 通知标签(合并同类通知) |
|
|
104
|
-
| `--url <U>` | 点通知后打开的 URL |
|
|
104
|
+
| `--url <U>` | 点通知后打开的 HTTP(S) URL 或站内相对路径 |
|
|
105
105
|
|
|
106
106
|
**推送范围——三选一:**
|
|
107
107
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "handmux",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.4",
|
|
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",
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"vitest": "^2.0.0"
|
|
58
58
|
},
|
|
59
59
|
"whatsNew": [
|
|
60
|
+
{"version":"0.17.4","date":"2026-07-19","zh":"HTTPS 本机预览修复 · 通知链接安全加固","en":"HTTPS localhost previews fixed · safer notification links"},
|
|
61
|
+
{"version":"0.17.3","date":"2026-07-19","zh":"三修官方一键安装的 Claude 识别,真机已验证","en":"Third fix for native-install Claude detection, device-verified"},
|
|
60
62
|
{"version":"0.17.0","date":"2026-07-18","zh":"对话视图(实验性)· 通知记录 · 本机地址一键预览","en":"Chat view (experimental) · notification inbox · one-tap localhost preview"},
|
|
61
63
|
{"version":"0.16.0","date":"2026-07-15","zh":"分屏布局地图 · 手机也能建/删窗格","en":"Split-layout map · create & close panes from the phone"},
|
|
62
64
|
{"version":"0.15.0","date":"2026-07-14","zh":"键盘弹起终端自适应 · 全屏程序可上下滚动","en":"Keyboard-aware terminal · scroll inside full-screen apps"},
|
|
63
65
|
{"version":"0.14.0","date":"2026-07-13","zh":"终端文字选中拷贝 · 脚本复用推送通道","en":"Terminal select & copy · scripts reuse the push channel"},
|
|
64
66
|
{"version":"0.13.0","date":"2026-07-12","zh":"终端文件路径高亮可点","en":"Tappable, highlighted file paths"},
|
|
65
|
-
{"version":"0.12.3","date":"2026-07-11","zh":"接管会话可自定义名称 + Homebrew 一键安装","en":"Name a takeover session · Homebrew install"}
|
|
66
|
-
{"version":"0.12.2","date":"2026-07-11","zh":"修复主屏图标偏大 / 换图标后不刷新","en":"Home-screen icon: right size & always fresh"},
|
|
67
|
-
{"version":"0.12.1","date":"2026-07-11","zh":"全新品牌图标与双色字标","en":"New brand icon & two-tone wordmark"}
|
|
67
|
+
{"version":"0.12.3","date":"2026-07-11","zh":"接管会话可自定义名称 + Homebrew 一键安装","en":"Name a takeover session · Homebrew install"}
|
|
68
68
|
]
|
|
69
69
|
}
|