homeagent-runner 0.5.0 → 0.5.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/CHANGELOG.md +15 -0
- package/README.md +3 -3
- package/README.zh-CN.md +3 -3
- package/dist/shared/protocol.js +1 -1
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/ARCHITECTURE.zh-CN.md +1 -1
- package/docs/CLIENTS.md +1 -1
- package/docs/CLIENTS.zh-CN.md +1 -1
- package/docs/DEPLOYMENT.md +1 -1
- package/docs/DEPLOYMENT.zh-CN.md +1 -1
- package/docs/OPEN_SOURCE.md +8 -8
- package/docs/OPEN_SOURCE.zh-CN.md +8 -8
- package/docs/VALIDATION.md +22 -1
- package/docs/VALIDATION.zh-CN.md +19 -1
- package/licenses/npm-runtime.txt +4 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.1 — Complete dashboard device and client overview
|
|
4
|
+
|
|
5
|
+
- Show every paired device and every authorized client on the home dashboard,
|
|
6
|
+
removing the four-item limits and overflow links on both sides.
|
|
7
|
+
- Give devices a responsive card grid with online/offline/paused totals, platform
|
|
8
|
+
and Runner version, project names, live task counts and recent audit activity.
|
|
9
|
+
- Generate client connections from the rendered nodes and connect the Server to
|
|
10
|
+
the device fleet, preserving live activity indicators and clearing them when
|
|
11
|
+
synchronization fails.
|
|
12
|
+
- Use more horizontal space on large displays and the full viewport in fullscreen;
|
|
13
|
+
prioritize device cards on smaller screens while keeping all clients accessible.
|
|
14
|
+
- Preserve card focus during refreshes and update renamed projects and task counts.
|
|
15
|
+
- Update `ws` to 8.23.1 and refresh compatible `cross-spawn`, `hono` and
|
|
16
|
+
`@hono/node-server` lockfile entries to address the production dependency audit.
|
|
17
|
+
|
|
3
18
|
## 0.5.0 — Agent dispatch and calendar integration
|
|
4
19
|
|
|
5
20
|
- Add Agent roles, directory-free PAT/OAuth authorizations and task/calendar scopes,
|
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ flowchart TB
|
|
|
60
60
|
|
|
61
61
|
- **Protocol Compatibility**: Built on the official MCP SDK v2 (`Streamable HTTP` at `/mcp`), supporting both `2026-07-28` discovery/envelopes and `2025` legacy protocol clients.
|
|
62
62
|
- **Authentication**: Supports Web Dashboard sign-in via admin password or [XAuth](https://github.com/jhxxr/XAuth) OIDC (binding the first XAuth account as the sole administrator), plus OAuth 2.1 authorization-code flow with `S256` PKCE, scoped Personal Access Tokens (`Bearer`), and one-time browser or pairing-code device enrollment.
|
|
63
|
-
- **Release Scope**: Current release **v0.5.
|
|
63
|
+
- **Release Scope**: Current release **v0.5.1** supports a single administrator and multiple devices/projects. Persistent interactive PTY shells, detached jobs surviving runner replacement, automatic worktree registration, and preview tunnels are intentionally out of scope.
|
|
64
64
|
|
|
65
65
|
## Interface Preview
|
|
66
66
|
|
|
@@ -116,7 +116,7 @@ Follow this sequence: **1. Deploy the Server → 2. Pair a Runner → 3. Connect
|
|
|
116
116
|
Requires Docker Engine, Docker Compose v2, and Git. Point your domain's DNS record to the server and open inbound TCP ports `80` and `443`. Replace `mcp.example.com` below with your own domain:
|
|
117
117
|
|
|
118
118
|
```sh
|
|
119
|
-
git clone --branch v0.5.
|
|
119
|
+
git clone --branch v0.5.1 --depth 1 https://github.com/jhxxr/HomeAgent.git
|
|
120
120
|
cd HomeAgent
|
|
121
121
|
|
|
122
122
|
# Generate random ADMIN_PASSWORD and SESSION_SECRET in .env without installing Node.js on the host
|
|
@@ -189,7 +189,7 @@ homeagent
|
|
|
189
189
|
|
|
190
190
|
- **OAuth 2.1**: Point your MCP client to `https://mcp.example.com/mcp` and approve the requested device, project, and scope permissions in your browser.
|
|
191
191
|
- **Personal Access Token (`Bearer`)**: Issue a scoped token (`read`, `write`, `execute`, `git`) in the Dashboard and configure your client with `Authorization: Bearer <token>`.
|
|
192
|
-
- **Version Alignment**: Prefer `homeagent-server` and `homeagent-runner` on the same release (`v0.5.
|
|
192
|
+
- **Version Alignment**: Prefer `homeagent-server` and `homeagent-runner` on the same release (`v0.5.1`). Existing v0.4.21 protocol-v2 Runners remain compatible with the v0.5.0 server-side Agent scheduling changes. Check versions anytime with `homeagent-server --version`, `homeagent --version`, or in the Dashboard header.
|
|
193
193
|
- **Client Guides**: See [Connecting AI Clients](docs/CLIENTS.md) for step-by-step instructions across Claude, ChatGPT, Cursor, and the MCP SDK.
|
|
194
194
|
|
|
195
195
|
## AI Prompting Guide
|
package/README.zh-CN.md
CHANGED
|
@@ -60,7 +60,7 @@ flowchart TB
|
|
|
60
60
|
|
|
61
61
|
- **协议兼容**:基于 MCP 官方 SDK v2 实现 Streamable HTTP(`/mcp`),同时支持 `2026-07-28` 发现与信封规范及 `2025` 协议兼容。
|
|
62
62
|
- **认证体系**:控制台支持管理员密码与 [XAuth](https://github.com/jhxxr/XAuth) OIDC 登录(首个登录的 XAuth 账号自动绑定为唯一管理员);客户端支持带 `S256` PKCE 的 OAuth 2.1 授权码流程、按范围受限的 Bearer 令牌(PAT),以及浏览器/配对码一次性设备绑定。
|
|
63
|
-
- **版本边界**:当前版本 **v0.5.
|
|
63
|
+
- **版本边界**:当前版本 **v0.5.1** 支持单管理员、多设备与多项目。持久交互式 PTY 终端、跨 Runner 重启保留脱离进程、自动 worktree 注册及预览隧道不在当前实现范围内。
|
|
64
64
|
|
|
65
65
|
## 界面预览
|
|
66
66
|
|
|
@@ -116,7 +116,7 @@ Server 与 Runner 拆分为两个独立的 npm 包,分别安装在中继服务
|
|
|
116
116
|
准备 Docker Engine、Docker Compose v2 和 Git,将域名解析到服务器并放行 TCP `80` / `443` 端口。将下方示例中的 `mcp.example.com` 替换为你的域名:
|
|
117
117
|
|
|
118
118
|
```sh
|
|
119
|
-
git clone --branch v0.5.
|
|
119
|
+
git clone --branch v0.5.1 --depth 1 https://github.com/jhxxr/HomeAgent.git
|
|
120
120
|
cd HomeAgent
|
|
121
121
|
|
|
122
122
|
# 使用容器生成随机密码和会话密钥,无需在宿主机安装 Node.js
|
|
@@ -189,7 +189,7 @@ homeagent
|
|
|
189
189
|
|
|
190
190
|
- **OAuth 2.1 连接**:在 MCP 客户端填入 `https://mcp.example.com/mcp`,在弹出的浏览器页面中勾选允许访问的设备、项目与权限范围。
|
|
191
191
|
- **Bearer 令牌(PAT)连接**:在控制台为已配对设备签发指定 `read / write / execute / git` 范围的客户端令牌,并以 `Authorization: Bearer <token>` 方式接入。
|
|
192
|
-
- **版本一致性**:建议 `homeagent-server` 与 `homeagent-runner` 使用同一版本(`v0.5.
|
|
192
|
+
- **版本一致性**:建议 `homeagent-server` 与 `homeagent-runner` 使用同一版本(`v0.5.1`);现有 v0.4.21 协议 v2 Runner 仍兼容 v0.5.0 的 Server 端 Agent 调度改造。可通过 `homeagent-server --version`、`homeagent --version` 或控制台顶部查看。
|
|
193
193
|
- **客户端配置详情**:各客户端完整接入步骤见 [AI 客户端连接指南](docs/CLIENTS.zh-CN.md)。
|
|
194
194
|
|
|
195
195
|
## AI 远程开发教程与提示词模板
|
package/dist/shared/protocol.js
CHANGED
|
@@ -3,7 +3,7 @@ import { remotePermissionsSchema } from './permissions.js';
|
|
|
3
3
|
import { assistContextSchema, assistDescriptorSchema, assistMultiDescriptorSchema, assistCleanupSchema, ASSIST_FEATURE, ASSIST_MULTI_FEATURE } from './assist.js';
|
|
4
4
|
import { SCOPES, AGENT_ROLES, BINDING_MODES } from './agent.js';
|
|
5
5
|
export { SCOPES, MACHINE_SCOPES, TASK_SCOPES, AGENT_ROLES, BINDING_MODES } from './agent.js';
|
|
6
|
-
export const VERSION = '0.5.
|
|
6
|
+
export const VERSION = '0.5.1';
|
|
7
7
|
export const RUNNER_PROTOCOL = 2;
|
|
8
8
|
export const MAX_FRAME = 2 * 1024 * 1024;
|
|
9
9
|
export const principalSchema = z.object({
|
package/docs/ARCHITECTURE.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**English** · [简体中文](ARCHITECTURE.zh-CN.md)
|
|
4
4
|
|
|
5
|
-
HomeAgent v0.5.
|
|
5
|
+
HomeAgent v0.5.1 builds on the v0.3 context/editor/output-log/patch foundation with a permission protocol, a Dashboard permission editor, controlled Git network tools, fuzzy unified diffs, persistent stateful shell sessions and lightweight LSP integration. The MCP catalogue now contains **60 tools** (59 Zod schemas in `src/shared/tools.ts` plus the separately defined `list_devices`). Device capability ceilings and client authorizations are stored separately; temporary grants expire and trigger job revocation. Execution semantics and persistence/recovery of the newer tools are covered in the [Development Workflow](DEVELOPMENT_WORKFLOW.md).
|
|
6
6
|
|
|
7
7
|
## Data Flow and Trust Boundaries
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](ARCHITECTURE.md) · **简体中文**
|
|
4
4
|
|
|
5
|
-
HomeAgent v0.5.
|
|
5
|
+
HomeAgent v0.5.1 在 v0.3 的 context/editor/output-log/patch 基础上,增加权限协议、Dashboard 权限编辑器、受控 Git 网络工具、统一 diff 模糊重定位、持久状态化 Shell 会话与轻量 LSP 集成。MCP 目录当前共 **60 个工具**(`src/shared/tools.ts` 中的 59 个 Zod schema,加上单独定义的 `list_devices`)。设备能力上限与客户端授权分层保存,临时授权可过期并触发任务收回。新增工具的执行语义和持久化恢复详见 [日常开发工作流](DEVELOPMENT_WORKFLOW.zh-CN.md)。
|
|
6
6
|
|
|
7
7
|
## 数据流与信任边界
|
|
8
8
|
|
package/docs/CLIENTS.md
CHANGED
|
@@ -16,7 +16,7 @@ Make sure the Runner is paired and online, the client can reach `https://mcp.exa
|
|
|
16
16
|
|
|
17
17
|
The following is kept as a historical troubleshooting record. In v0.3.0 the authorization form redirected directly to an external callback, which Chrome could block under `form-action 'self'`; the authorization request was already consumed, so a second click showed `Authorization request expired`. **The fix was to upgrade the Server to v0.3.1**: that version first shows an on-site completion page before returning to the registered client, retains strict CSP, and shows a submitting state on the button to prevent double submits.
|
|
18
18
|
|
|
19
|
-
After upgrading, restart the Server and start a fresh OAuth authorization from the AI client; do not refresh or re-submit the old tab. For npm deployments upgrade the `homeagent-server` package and restart the corresponding service; the Runner uses the separate `homeagent-runner` package and both should be upgraded to the same version. For Compose deployments check out `v0.5.
|
|
19
|
+
After upgrading, restart the Server and start a fresh OAuth authorization from the AI client; do not refresh or re-submit the old tab. For npm deployments upgrade the `homeagent-server` package and restart the corresponding service; the Runner uses the separate `homeagent-runner` package and both should be upgraded to the same version. For Compose deployments check out `v0.5.1`, rebuild and start again, keeping the original `.env` and data volume. A Runner v0.3.0 did not need upgrading for the OAuth callback fix; to use v0.4 Web permission management, both Server and Runner should be on v0.4.21.
|
|
20
20
|
|
|
21
21
|
If the completion page does not return automatically, click "Continue back to client". A used or expired authorization code is never re-issued; if the client is still not connected, create a new authorization request from the client. Device credentials and completed client authorizations are not proactively cleared by an upgrade.
|
|
22
22
|
|
package/docs/CLIENTS.zh-CN.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
以下保留为历史排错记录。v0.3.0 的授权表单直接重定向到外部回调,Chrome 可能按 `form-action 'self'` 拦截该跳转;授权请求却已被消费,第二次点击便显示 `Authorization request expired`。**修复方式是升级 Server 到 v0.3.1**:新版本先进入站内完成页,再返回已注册客户端,保留严格 CSP;按钮显示提交状态并防止重复提交。
|
|
18
18
|
|
|
19
|
-
升级后重启 Server,回到 AI 客户端重新发起 OAuth 授权,不要刷新或重复提交旧标签页。npm 部署升级 `homeagent-server` 包后重启对应服务;Runner 使用独立的 `homeagent-runner` 包,两者应升级到相同版本。Compose 部署检出 `v0.5.
|
|
19
|
+
升级后重启 Server,回到 AI 客户端重新发起 OAuth 授权,不要刷新或重复提交旧标签页。npm 部署升级 `homeagent-server` 包后重启对应服务;Runner 使用独立的 `homeagent-runner` 包,两者应升级到相同版本。Compose 部署检出 `v0.5.1` 后重新构建并启动,保留原 `.env` 和数据卷。Runner v0.3.0 不需要为 OAuth 回调修复升级;要使用 v0.4 的 Web 权限管理,则 Server 和 Runner 都应升级到 v0.4.21。
|
|
20
20
|
|
|
21
21
|
若完成页没有自动返回,点击"继续返回客户端"。已使用或过期的授权码不会被重新签发;客户端仍未连接时,从客户端新建一次授权请求。设备凭据及已完成的客户端授权不因升级被主动清空。
|
|
22
22
|
|
package/docs/DEPLOYMENT.md
CHANGED
|
@@ -97,7 +97,7 @@ To keep running after logout and to start at boot, an administrator should run `
|
|
|
97
97
|
Check out the release source on a server with Docker Engine, Compose v2 and Git:
|
|
98
98
|
|
|
99
99
|
```sh
|
|
100
|
-
git clone --branch v0.5.
|
|
100
|
+
git clone --branch v0.5.1 --depth 1 https://github.com/jhxxr/HomeAgent.git
|
|
101
101
|
cd HomeAgent
|
|
102
102
|
```
|
|
103
103
|
|
package/docs/DEPLOYMENT.zh-CN.md
CHANGED
|
@@ -97,7 +97,7 @@ journalctl --user -u homeagent-server -f
|
|
|
97
97
|
先在有 Docker Engine、Compose v2 和 Git 的服务器检出发布源码:
|
|
98
98
|
|
|
99
99
|
```sh
|
|
100
|
-
git clone --branch v0.5.
|
|
100
|
+
git clone --branch v0.5.1 --depth 1 https://github.com/jhxxr/HomeAgent.git
|
|
101
101
|
cd HomeAgent
|
|
102
102
|
```
|
|
103
103
|
|
package/docs/OPEN_SOURCE.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**English** · [简体中文](OPEN_SOURCE.zh-CN.md)
|
|
4
4
|
|
|
5
|
-
This repository releases its original source under the MIT License at version 0.5.
|
|
5
|
+
This repository releases its original source under the MIT License at version 0.5.1; the npm release is split into two packages, `homeagent-server` and `homeagent-runner`. The Server package contains only the compiled Server, Dashboard and Server assets; the Runner package contains only the Runner, the shared protocol and the Windows process-tree helper. The CLI and source share the same license; both npm packages use file allowlists to include only files needed at runtime, documentation and licenses. Package-name availability and account publish permissions are as determined by the registry at release time.
|
|
6
6
|
|
|
7
7
|
## File Layout
|
|
8
8
|
|
|
@@ -57,7 +57,7 @@ npm run release:source
|
|
|
57
57
|
|
|
58
58
|
Output goes to the ignored `release/`:
|
|
59
59
|
|
|
60
|
-
- `HomeAgent-v0.5.
|
|
60
|
+
- `HomeAgent-v0.5.1-source.tar.gz`
|
|
61
61
|
- the corresponding `.sha256` checksum file
|
|
62
62
|
- the corresponding `.manifest.txt`, including version, Git commit and all release paths
|
|
63
63
|
|
|
@@ -69,8 +69,8 @@ If old Git/runtime data from before the rebuild was kept in a private backup out
|
|
|
69
69
|
|
|
70
70
|
`npm run release:npm` builds the JavaScript, packs the two packages separately with `--ignore-scripts`, checks archive file allowlists, runtime assets and SHA-512 integrity, and outputs:
|
|
71
71
|
|
|
72
|
-
- `release/homeagent-server-0.5.
|
|
73
|
-
- `release/homeagent-runner-0.5.
|
|
72
|
+
- `release/homeagent-server-0.5.1.tgz`
|
|
73
|
+
- `release/homeagent-runner-0.5.1.tgz`
|
|
74
74
|
- a `.sha256` for each archive
|
|
75
75
|
- `release/npm-packages.json`: both packages' names, versions, Git commit, checksum, dist-tag and path lists
|
|
76
76
|
|
|
@@ -80,20 +80,20 @@ If old Git/runtime data from before the rebuild was kept in a private backup out
|
|
|
80
80
|
|
|
81
81
|
`.github/workflows/release.yml` supports two entry points:
|
|
82
82
|
|
|
83
|
-
1. Push a version tag, for example `v0.5.
|
|
83
|
+
1. Push a version tag, for example `v0.5.1`.
|
|
84
84
|
2. In Actions → release → Run workflow, enter an **already existing** version tag.
|
|
85
85
|
|
|
86
86
|
Configure `NPM_TOKEN` as described in the next section. After the initial source push, configuring the real `origin` and confirming Actions are available, you can publish as follows:
|
|
87
87
|
|
|
88
88
|
```sh
|
|
89
89
|
# First commit this version's source and docs, keeping the working tree clean
|
|
90
|
-
git tag -a v0.5.
|
|
91
|
-
git push origin v0.5.
|
|
90
|
+
git tag -a v0.5.1 -m "HomeAgent v0.5.1"
|
|
91
|
+
git push origin v0.5.1
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
This document is release documentation only; the preparation scripts do not execute these commands for the operator.
|
|
95
95
|
|
|
96
|
-
The tag must match `package.json`, `package-lock.json` and the runtime VERSION, and `CHANGELOG.md` must have a non-empty entry for that version. A prerelease may use `v0.5.
|
|
96
|
+
The tag must match `package.json`, `package-lock.json` and the runtime VERSION, and `CHANGELOG.md` must have a non-empty entry for that version. A prerelease may use `v0.5.1-rc.1` (all related version files must then be `0.5.1-rc.1`). Do not disguise an ordinary branch or a mismatched version as a release.
|
|
97
97
|
|
|
98
98
|
The release pipeline runs in order:
|
|
99
99
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](OPEN_SOURCE.md) · **简体中文**
|
|
4
4
|
|
|
5
|
-
本仓库以 MIT 开放原始代码,版本为 0.5.
|
|
5
|
+
本仓库以 MIT 开放原始代码,版本为 0.5.1,npm 发布拆成 `homeagent-server` 和 `homeagent-runner` 两个包。Server 包只包含编译后的 Server、Dashboard 和 Server 资源;Runner 包只包含 Runner、共享协议和 Windows 进程树辅助代码。CLI 和源码采用相同许可证;两个 npm 包都通过文件白名单只包含运行所需文件、文档和许可证。包名是否可用及账号发布权限以发布当时的 registry 为准。
|
|
6
6
|
|
|
7
7
|
## 文件划分
|
|
8
8
|
|
|
@@ -57,7 +57,7 @@ npm run release:source
|
|
|
57
57
|
|
|
58
58
|
输出位于被忽略的 release/:
|
|
59
59
|
|
|
60
|
-
- `HomeAgent-v0.5.
|
|
60
|
+
- `HomeAgent-v0.5.1-source.tar.gz`
|
|
61
61
|
- 对应 `.sha256` 校验文件
|
|
62
62
|
- 对应 `.manifest.txt`,包括版本、Git 提交和全部发布路径
|
|
63
63
|
|
|
@@ -69,8 +69,8 @@ npm run release:source
|
|
|
69
69
|
|
|
70
70
|
`npm run release:npm` 构建 JavaScript、以 `--ignore-scripts` 分别打包两个包,并检查归档文件白名单、运行资源及 SHA-512 完整性,输出:
|
|
71
71
|
|
|
72
|
-
- `release/homeagent-server-0.5.
|
|
73
|
-
- `release/homeagent-runner-0.5.
|
|
72
|
+
- `release/homeagent-server-0.5.1.tgz`
|
|
73
|
+
- `release/homeagent-runner-0.5.1.tgz`
|
|
74
74
|
- 两个归档各自的 `.sha256`
|
|
75
75
|
- `release/npm-packages.json`:两个包的名称、版本、Git commit、校验、dist-tag 和路径清单
|
|
76
76
|
|
|
@@ -80,20 +80,20 @@ npm run release:source
|
|
|
80
80
|
|
|
81
81
|
`.github/workflows/release.yml` 支持两种入口:
|
|
82
82
|
|
|
83
|
-
1. 推送版本标签,例如 `v0.5.
|
|
83
|
+
1. 推送版本标签,例如 `v0.5.1`。
|
|
84
84
|
2. 在 Actions → release → Run workflow 中填写**已经存在**的版本标签。
|
|
85
85
|
|
|
86
86
|
先按下一节配置 `NPM_TOKEN`。首次推送源码、配置真实 `origin` 并确认 Actions 可用后,可以按下面方式发布:
|
|
87
87
|
|
|
88
88
|
```sh
|
|
89
89
|
# 先提交本次版本的源码和文档,工作区保持干净
|
|
90
|
-
git tag -a v0.5.
|
|
91
|
-
git push origin v0.5.
|
|
90
|
+
git tag -a v0.5.1 -m "HomeAgent v0.5.1"
|
|
91
|
+
git push origin v0.5.1
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
本文只是发布说明,准备脚本不会替操作者执行这些命令。
|
|
95
95
|
|
|
96
|
-
标签必须与 package.json、package-lock.json 及 runtime VERSION 一致,CHANGELOG.md 必须有对应版本的非空条目。预发布可用 `v0.5.
|
|
96
|
+
标签必须与 package.json、package-lock.json 及 runtime VERSION 一致,CHANGELOG.md 必须有对应版本的非空条目。预发布可用 `v0.5.1-rc.1`(相关版本文件也必须为 `0.5.1-rc.1`)。禁止把普通分支或不匹配版本伪装成发布。
|
|
97
97
|
|
|
98
98
|
发布流水线按次序执行:
|
|
99
99
|
|
package/docs/VALIDATION.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**English** · [简体中文](VALIDATION.zh-CN.md)
|
|
4
4
|
|
|
5
|
-
This file is a chronological verification record. Historical per-version counts, dates, environments and conclusions are preserved as written; the current release is v0.5.
|
|
5
|
+
This file is a chronological verification record. Historical per-version counts, dates, environments and conclusions are preserved as written; the current release is v0.5.1.
|
|
6
6
|
|
|
7
7
|
Date: 2026-10-27. Tests use temporary directories, temporary credentials and the project's own MCP SDK client, never real project keys.
|
|
8
8
|
|
|
@@ -184,6 +184,27 @@ Calendar providers use mocked responses; no real personal calendar account was
|
|
|
184
184
|
connected. This section records local verification; tagged Linux, Windows, Docker
|
|
185
185
|
and package-publication results are provided by the release workflow.
|
|
186
186
|
|
|
187
|
+
## v0.5.1 Complete Dashboard Device and Client Overview
|
|
188
|
+
|
|
189
|
+
2026-12-03, local Windows verification passed: type checking, build, **224/224 tests**,
|
|
190
|
+
0 failed, 0 skipped, release inventory checks and matching notices for 99 locked
|
|
191
|
+
production packages. Updating `ws` to 8.23.1 and compatible transitive `cross-spawn`,
|
|
192
|
+
`hono` and `@hono/node-server` versions reduced the production audit to **0 vulnerabilities**.
|
|
193
|
+
|
|
194
|
+
An isolated headless Chrome fixture loaded the actual Dashboard markup, CSS and
|
|
195
|
+
console module. It passed **60 layout scenarios**: 35 device scenarios across seven
|
|
196
|
+
viewport widths from 320 to 1920 pixels, plus 25 client scenarios. Counts ranged
|
|
197
|
+
from zero to 37 devices or clients. Checks covered complete rendering, state totals,
|
|
198
|
+
non-overlapping device cards, horizontal overflow, every client connection, settings
|
|
199
|
+
callbacks beyond the fourth item, refresh focus retention, live task counts, device
|
|
200
|
+
removal and activity clearing after a failed synchronization.
|
|
201
|
+
|
|
202
|
+
Both v0.5.1 npm tarballs passed separate isolated installation tests, including CLI
|
|
203
|
+
shims, version/help output, live Server startup, Dashboard static assets, Runner
|
|
204
|
+
login, remembered configuration and `homeagent run`. The fixture used generated
|
|
205
|
+
demo data; these checks do not represent acceptance against a production deployment.
|
|
206
|
+
Linux, Windows, Docker and registry publication are verified by the tagged release workflow.
|
|
207
|
+
|
|
187
208
|
## Acceptance Still Outstanding
|
|
188
209
|
|
|
189
210
|
The repository now provides Linux/Windows CI and Docker build / Compose health-check workflows (`.github/workflows/ci.yml` and `release.yml`) with push/PR triggers, plus source archives and npm tarballs up to v0.4.21 under `release/`. However, the following environment acceptance is still outstanding:
|
package/docs/VALIDATION.zh-CN.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](VALIDATION.md) · **简体中文**
|
|
4
4
|
|
|
5
|
-
本文件是按时间顺序的验证记录。各历史版本的计数、日期、环境与结论均按原文保留;当前发布版本为 v0.5.
|
|
5
|
+
本文件是按时间顺序的验证记录。各历史版本的计数、日期、环境与结论均按原文保留;当前发布版本为 v0.5.1。
|
|
6
6
|
|
|
7
7
|
日期:2026-10-27。测试使用临时目录、临时凭据和项目自己的 MCP SDK 客户端,不使用真实项目密钥。
|
|
8
8
|
|
|
@@ -180,6 +180,24 @@ v0.1 的 14 组测试覆盖:
|
|
|
180
180
|
日历 Provider 使用模拟响应,未连接真实个人日历账户。本节仅记录本地验证;标签对应的
|
|
181
181
|
Linux、Windows、Docker 与包发布结果由发布工作流提供。
|
|
182
182
|
|
|
183
|
+
## v0.5.1 首页完整设备与客户端总览
|
|
184
|
+
|
|
185
|
+
2026-12-03,本地 Windows 验证通过:类型检查、构建、**224/224 测试**、0 失败、
|
|
186
|
+
0 跳过、发布文件清单检查,以及 99 个锁定生产依赖的许可证声明一致性检查。
|
|
187
|
+
将 `ws` 升级到 8.23.1,并更新兼容范围内的 `cross-spawn`、`hono` 和
|
|
188
|
+
`@hono/node-server` 间接依赖后,生产依赖 audit 为 **0 漏洞**。
|
|
189
|
+
|
|
190
|
+
隔离的无头 Chrome 演示环境加载实际 Dashboard 模板、CSS 和控制台模块,通过
|
|
191
|
+
**60 组布局场景**:35 组设备场景覆盖 320 至 1920 像素的 7 种视口宽度,另有
|
|
192
|
+
25 组客户端场景;设备或客户端数量从 0 到 37。检查包括完整展示、状态统计、设备卡片
|
|
193
|
+
无重叠、无横向溢出、全部客户端连线、第 4 项之后的设置回调、刷新保留焦点、运行任务数、
|
|
194
|
+
设备移除,以及同步失败后清除活跃状态。
|
|
195
|
+
|
|
196
|
+
两个 v0.5.1 npm 归档均通过独立临时目录的安装验证,包括 CLI shim、版本和帮助输出、
|
|
197
|
+
实际 Server 启动、Dashboard 静态资源、Runner 登录、记住配置位置和 `homeagent run`。
|
|
198
|
+
浏览器验证使用生成的演示数据,不代表生产部署验收;Linux、Windows、Docker 和 registry
|
|
199
|
+
发布由标签对应的发布工作流验证。
|
|
200
|
+
|
|
183
201
|
## 尚未进行的环境验收
|
|
184
202
|
|
|
185
203
|
仓库现已提供 Linux/Windows CI 与 Docker 构建/Compose 健康检查工作流(`.github/workflows/ci.yml` 与 `release.yml`,带 push/PR 触发),`release/` 下也已有截至 v0.4.21 的源码归档和 npm tgz。但以下环境验收仍未完成:
|
package/licenses/npm-runtime.txt
CHANGED
|
@@ -8,7 +8,7 @@ Production packages: 99
|
|
|
8
8
|
|
|
9
9
|
================================================================================
|
|
10
10
|
|
|
11
|
-
@hono/node-server@2.1.
|
|
11
|
+
@hono/node-server@2.1.11
|
|
12
12
|
|
|
13
13
|
License metadata: MIT
|
|
14
14
|
|
|
@@ -1164,7 +1164,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
1164
1164
|
|
|
1165
1165
|
================================================================================
|
|
1166
1166
|
|
|
1167
|
-
cross-spawn@7.
|
|
1167
|
+
cross-spawn@7.1.2
|
|
1168
1168
|
|
|
1169
1169
|
License metadata: MIT
|
|
1170
1170
|
|
|
@@ -2021,7 +2021,7 @@ SOFTWARE.
|
|
|
2021
2021
|
|
|
2022
2022
|
================================================================================
|
|
2023
2023
|
|
|
2024
|
-
hono@4.13.
|
|
2024
|
+
hono@4.13.23
|
|
2025
2025
|
|
|
2026
2026
|
License metadata: MIT
|
|
2027
2027
|
|
|
@@ -3587,7 +3587,7 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
3587
3587
|
|
|
3588
3588
|
================================================================================
|
|
3589
3589
|
|
|
3590
|
-
ws@8.
|
|
3590
|
+
ws@8.23.1
|
|
3591
3591
|
|
|
3592
3592
|
License metadata: MIT
|
|
3593
3593
|
|