Repository navigation
Releases
v0.10.48
Download an archive or use the attached installers. The separate publish_crates job verifies its upload. After it succeeds, install with cargo install ssmcp --version 0.10.48 --locked --bin ssmcp.
Linux / macOS: curl -fsSL https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.sh | sh
Windows PowerShell: irm https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.ps1 | iex
Linux archives include ssmcp and ssmcpd. macOS and Windows archives include the ssmcp client; the gateway daemon runs on Linux. Both x86_64 and ARM64 are available for each platform.
Verify downloads against SHA256SUMS. release-manifest.json records the source commit, pinned submodule commits/trees and SHA-256 digest of every archive.
手机控制与终端交互
在 KernelSU 或 Magisk 的 SSMCP WebUI 中,轻点卡片可展开详情,单指上下滑动可滚动所在面板。要输入文字,点光标所在行或底部键盘按钮。窄屏保留了展开快捷键提示。
终端保留 ANSI 调色板、RGB 真彩色、文字背景和常用样式,按实际列宽排列中文与组合字符。画面未变时复用上一帧,局部变更时只更新相关行。
各标签按顺序发送输入。大段粘贴按 UTF-8 边界分块,上一块收到回执后再发送下一块。连接中断时,当前标签会分别保留回执未确认的内容与尚未发送的内容,可手动复制恢复。
手机上运行 zuse web 后,从终端标签栏点「Zuse」即可打开本机工作台。手机浏览器通过 /zuse 内嵌工作台,KernelSU 管理器通过系统浏览器打开。工作台的本机地址为 http://127.0.0.1:43497/。
在 Chromium 158 的模拟慢连接测试中,粘贴 1 MiB ASCII 并等待首笔回执期间,JavaScript 堆与后备存储合计从 21.46 MiB 降至 2.48 MiB。这个数字描述浏览器输入队列,占用会随设备、页面内容和连接状态而变化。
当两个会话使用相同显示名时,收件人列表会同时显示各自的 ID 后缀、摘要和近期工具调用次数,方便在窄屏确认消息发往哪一个会话。
使用账户中继时,请先确认服务端支持控制器准入握手。旧中继可在设备注册前关闭连接,客户端会等待后重试。更新共享中继前可保留原客户端在线,先用新版本做一次独立的真实账号连接检查。
v0.10.41
Download an archive or use the attached installers. The separate publish_crates job verifies its upload. After it succeeds, install with cargo install ssmcp --version 0.10.41 --locked --bin ssmcp.
Linux / macOS: curl -fsSL https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.sh | sh
Windows PowerShell: irm https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.ps1 | iex
Linux archives include ssmcp and ssmcpd. macOS and Windows archives include the ssmcp client; the gateway daemon runs on Linux. Both x86_64 and ARM64 are available for each platform.
Verify downloads against SHA256SUMS. release-manifest.json records the source commit, pinned submodule commits/trees and SHA-256 digest of every archive.
v0.10.40
Download an archive or use the attached installers. The separate publish_crates job verifies its upload. After it succeeds, install with cargo install ssmcp --version 0.10.40 --locked --bin ssmcp.
Linux / macOS: curl -fsSL https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.sh | sh
Windows PowerShell: irm https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.ps1 | iex
Linux archives include ssmcp and ssmcpd. macOS and Windows archives include the ssmcp client; the gateway daemon runs on Linux. Both x86_64 and ARM64 are available for each platform.
Verify downloads against SHA256SUMS. release-manifest.json records the source commit, pinned submodule commits/trees and SHA-256 digest of every archive.
SSMCP 0.10.40
时间与长任务
- 等待窗口保留毫秒精度。6500ms 的窗口显示为
00:06.500。事件触发后显示实际已用时间,停止展示倒计时。失去中继观察时,已用与剩余时长取自同一个单调时间点。 - 一份原生命令回执同时观察到子进程退出和取消时,管道与 PTY 路径优先保留已取得的退出码或终止信号。仍在运行的任务可以取消或按执行期限结束。
- 分页读取分别跟踪标准输出与错误输出的游标。收到可交付的页面或进程终态时,事件卡标记为已触发。没有新数据时才显示等待窗口到期。
- 工作区显式关闭自己持有的 TCP 句柄时,会先唤醒等待中的操作,再等系统资源和并发配额释放后返回成功回执。
README 和时间文档说明了时间敏感工作的工程目标,区分时钟精度、事件到回执的外部耗时,以及重连观察时的执行次数。验证口径
v0.10.39
Download an archive or use the attached installers. The separate publish_crates job verifies its upload. After it succeeds, install with cargo install ssmcp --version 0.10.39 --locked --bin ssmcp.
Linux / macOS: curl -fsSL https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.sh | sh
Windows PowerShell: irm https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.ps1 | iex
Linux archives include ssmcp and ssmcpd. macOS and Windows archives include the ssmcp client; the gateway daemon runs on Linux. Both x86_64 and ARM64 are available for each platform.
Verify downloads against SHA256SUMS. release-manifest.json records the source commit, pinned submodule commits/trees and SHA-256 digest of every archive.
SSMCP 0.10.39
客户端与协作
- macOS 与 Windows 客户端通过共享文本读取 Dreaming 指引。Linux 客户端沿用同一份文本。邀请和结束提示说明何时可以请求离线,以及如何等待人类对该请求的答复。
- 该补丁接续 0.10.38 标签中的主协调者状态栏、Dreaming 计时、普通事件提醒合并和 Linux 剪贴板文本兼容更新。
配套 zrun
- Linux 原生交互 shell 支持在光标位置按 Tab 补全命令和路径。上下方向键浏览近期的本地历史,右方向键或 End 接受灰色建议。多行粘贴后按回车才执行。
zrun ai config输出供 MCP 客户端使用的连接配置。zrun ai connect --stdio建立本地控制通道。zrun ai run返回命令的退出码及分别处理的标准输出和错误输出,zrun ai compact可直接读取已有文本或二进制流。- MCP 工具
shell_run_compact折叠连续相同的完整行,并为较长输出生成有界预览。output_read支持按页取回已捕获的原文,读取不会重新执行命令。短输出可继续使用原始shell_run。同一端点最多保留 64 份捕获,每份最长保留 5 分钟。
SSMCP for KernelSU / Magisk v0.10.40
适用于 Android 8 及以上版本的 arm64 设备。从模块管理器刷入 ssmcp-magisk-arm64.zip,按引导设置账号和中继,并在设备上确认 root 授权。完成配置后,设备会在每次开机后启动终端会话。
日常使用时,从 KernelSU WebUI 打开终端。点屏幕输入,按 Tab 补全,用标签栏切换会话。在黑色终端区域双指捏合可调整字号,重新打开后会记住。模块的 Action 使用音量键查看状态或启动服务。
已在 PHK110(Android 16,KernelSU 3.3.1)安装验证。此 Android 模块的版本为 v0.10.40,versionCode 为 1040。
SHA-256 ba852c558285e59f7f303dae4b7dd7d188c2c39ce835144639ae82fb94c62341
v0.10.37
Download an archive or use the attached installers. The separate publish_crates job verifies its upload. After it succeeds, install with cargo install ssmcp --version 0.10.37 --locked --bin ssmcp.
Linux / macOS: curl -fsSL https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.sh | sh
Windows PowerShell: irm https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.ps1 | iex
Linux archives include ssmcp and ssmcpd. macOS and Windows archives include the ssmcp client; the gateway daemon runs on Linux. Both x86_64 and ARM64 are available for each platform.
Verify downloads against SHA256SUMS. release-manifest.json records the source commit, pinned submodule commits/trees and SHA-256 digest of every archive.
v0.10.36
Download an archive or use the attached installers. The separate publish_crates job verifies its upload. After it succeeds, install with cargo install ssmcp --version 0.10.36 --locked --bin ssmcp.
Linux / macOS: curl -fsSL https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.sh | sh
Windows PowerShell: irm https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.ps1 | iex
Linux archives include ssmcp and ssmcpd. macOS and Windows archives include the ssmcp client; the gateway daemon runs on Linux. Both x86_64 and ARM64 are available for each platform.
Verify downloads against SHA256SUMS. release-manifest.json records the source commit, pinned submodule commits/trees and SHA-256 digest of every archive.
v0.10.32
Download an archive or use the attached installers. The separate publish_crates job verifies its upload. After it succeeds, install with cargo install ssmcp --version 0.10.32 --locked --bin ssmcp.
Linux / macOS: curl -fsSL https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.sh | sh
Windows PowerShell: irm https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.ps1 | iex
Linux archives include ssmcp and ssmcpd. macOS and Windows archives include the ssmcp client; the gateway daemon runs on Linux. Both x86_64 and ARM64 are available for each platform.
Verify downloads against SHA256SUMS. release-manifest.json records the source commit, pinned submodule commits/trees and SHA-256 digest of every archive.
SSMCP 0.10.32
- Linux 和 macOS 的
ssmcp.exec.*默认通过进程内的 zrun 库启动和监督命令。管道继续流式返回原始 stdout、stderr,stdin 继续报告实际写入字节数。 - Linux 上的
mode:"pty"使用 zrun 读写终端并等待退出。工作区授权、任务记录、输出游标和 Linux 进程树清理沿用现有规则。 - Windows 保留原生进程、Job Object 和 ConPTY 路径。
- HTTP、TLS 和 WebSocket 继续使用现有依赖,应用仍包含 Tokio。
- Linux 仍可显式加载独立的 zrun 命令服务。默认
exec开箱可用。 zrun 原生命令与显式服务
v0.10.31
Download an archive or use the attached installers. The separate publish_crates job verifies its upload. After it succeeds, install with cargo install ssmcp --version 0.10.31 --locked --bin ssmcp.
Linux / macOS: curl -fsSL https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.sh | sh
Windows PowerShell: irm https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.ps1 | iex
Linux archives include ssmcp and ssmcpd. macOS and Windows archives include the ssmcp client; the gateway daemon runs on Linux. Both x86_64 and ARM64 are available for each platform.
Verify downloads against SHA256SUMS. release-manifest.json records the source commit, pinned submodule commits/trees and SHA-256 digest of every archive.
SSMCP 0.10.31
本版本围绕长任务、主对话状态和实际任务可见性改进协作流程。发布资产、平台验收与精确源码身份以对应 GitHub Release 的清单和 Actions 收据为准。
主要变化
- 后台等待与结果缓存。 调用窗口、后台观察期限和终态保留期分别计算。调用者断开后,服务端继续观察原任务;重连用原请求 ID 或等待 ID 恢复,处理后显式确认缓存结果。
- 独立等待面板。 终端、Web 和桌面展示等待状态、耗时、结果读取延迟及确认状态,并对有界样本提供耗时统计。
- 定时提示词。 Agent 可以设置绝对或相对触发时间、重复间隔、模板和变量。事件单独标记为
agent_timer,按精确版本确认,保持用户输入和 Agent 提示词的来源区别。 - 主对话生命周期。 Agent 状态收口为
working、idle、offline、dreaming和retiring。空闲维护围绕清理、文档、检查及整理开展;收到新指令时恢复工作,状态事件可观察和等待。 - 会话总览与命令统计。 总览区分已保存定义与当前连接,原生命令详情保留完整只读参数、真实退出状态、CPU、峰值内存及可用的磁盘跟踪结果。
- 连接恢复。 稳定设备身份与每次连接身份分别记录;恢复保留原账号、授权和任务依据。未知结果需要核对原操作。
- 主对话自动订阅 worker 状态。 已验证的主对话与关联 pool 绑定建立托管订阅;可在 CodeMode 中列出、配置及关闭。状态事件唤醒原等待,保留原任务与游标。
- 统一输入显示与引用回复。 人类输入、系统提示、定时提示、worker 事件和维护提示使用右侧输入样式,并保留来源。按钮或快捷键将原消息 ID 与正文放入可编辑引用,保留已有草稿,经普通发送流程交付。
- 桌面多行输入。 Enter 换行,Ctrl+Enter 发送;引用回复支持 Ctrl+Shift+R。运行时跟踪记录保留在事件页,使共享对话集中显示实际消息。
- 原生回复与真实用户等待。 必读指引要求通过 SSMCP 回复用户,并在回答后等待真实用户输入。
- 跨平台验收与发布来源。 Windows 验收加入真实桌面窗口证据;发布导出纳入已采用的
zi18n与zhex,分别核对 Git 锁定源码和独立 registry 版本。
发布验收修正
- Linux 测试环境使用系统 Pillow 和 DejaVu Sans Mono,从真实终端画面生成截图证据。
- 工作窗口和主对话都支持显示原生接口允许的最长 55 秒观察窗口。验收核对实际耗时、草稿和原操作到期。
- 断线重连验收覆盖配置延迟和有界抖动,并核对旧连接状态已清除。
使用入口
后台观察的创建、恢复、结果重读与 ACK 见等待任务、协作对象与用户。定时模板、事件版本与连接范围见定时提示词。worker 的任务 claim、完成回执和退休流程见worker 协作。
等待与提示词都绑定原连接和真实 Agent 身份。已完成、失败、取消及未知是任务结果;它们与 Agent 当前处于哪一个生命周期状态分别记录。定时事件触发后,原生客户端可独立记录带来源的可见输入;同一 Agent 后续工具响应再领取提示正文,处理后按精确事件版本 ACK。可见记录、正文交付、ACK 和用户同意完成分别记录,任何一步都不替代其他步骤。
安装与验证
从本版本 Release 选择匹配系统与架构的附件,并核对 SHA256SUMS、release-manifest.json 和实际程序的 --version。安装、服务端部署与已运行客户端的重载分别记录;发布附件本身不会更换正在运行的进程。完整步骤见版本发布与跨平台安装。
v0.10.27
Download an archive or use the attached installers. crates.io publication for 0.10.27 is deferred. Independent registry dependencies and the external package require separate verification.
Linux / macOS: curl -fsSL https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.sh | sh
Windows PowerShell: irm https://github.com/LIghtJUNction/ssmcp/releases/latest/download/install.ps1 | iex
Linux archives include ssmcp and ssmcpd. macOS and Windows archives include the ssmcp client; the gateway daemon runs on Linux. Both x86_64 and ARM64 are available for each platform.
Verify downloads against SHA256SUMS. release-manifest.json records the source commit, pinned submodule commits/trees and SHA-256 digest of every archive.
SSMCP 0.10.27
本版简化 worker 的默认启动方式,增加每个 worker 的日志窗口,以及版本、关于、插件管理和路径查询入口。
Worker 直接启动
ssmcp
ssmcp --worker 2ssmcp 打开交互界面;ssmcp --worker 2 打开两个任务槽的监控面板,等待已授权的外部 agent 分配和领取任务。无需填写 --agent 或 --input,也不会默认启动本地模型或 harness。后台运行使用 --daemon。连接地址继续复用现有配置和 --server。
每个 worker 分别显示状态和真实生命周期日志。左右键切换 worker,上下键、翻页键或面板内滚轮查看日志,End 恢复实时跟随。暂停查看时保留阅读位置;日志只保留最近的有界记录。worker 界面没有聊天输入框。
任务领取与完成报告分开记录。同一领取请求重试返回原 claim,完成必须由原领取者回报;取消中的任务继续占槽。worker 与服务器断开时,未确认的任务记为未知,不自动重派。外部 agent 的完成回报不会被表述为本机已观察到远端进程结束。使用与边界
终端里的本地命令
| 命令 | 用途 |
|---|---|
/version |
显示正在运行的客户端构建版本。 |
/about |
打开独立关于页,显示用途、版本、许可证和项目地址。 |
/plugin 或 /plugin list |
查看当前客户端的原生插件。 |
/plugin load NAME PATH |
加载指定的本地动态库插件。 |
/plugin unload NAME |
禁用插件工具并请求其工作线程停止。 |
/plugin help |
查看插件命令和路径规则。 |
这些命令在当前客户端处理。选中其他消息收件人不会把它们作为消息发走;编辑队列中的正文时仍按普通文字处理。插件卸载不删除文件,也不强行终止正在执行的原生调用。界面帮助
可组合的路径查询
ssmcp paths --list
ssmcp paths config history --plain
ssmcp paths history config --jsonssmcp paths 枚举十种实际位置,支持按名称组合并保留指定顺序。查询在连接和配置加载之前完成,不读取凭据内容,不创建目录;错误参数不会留下部分路径输出。完整名称与环境优先级
发布方式
0.10.27 延续 GitHub 二进制发行方式,crates.io 发布暂缓。正式 Release 工作流生成安装包与校验信息;本轮发布不自动部署服务器。