homeagent-runner 0.4.6 → 0.4.8

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 CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.8 — Compact live topology on mobile
4
+
5
+ - Restore the client → MCP Server → Runner layout on portrait screens, keeping
6
+ the central activity ring, animated call paths and node highlighting visible.
7
+ - Simplify mobile node labels while retaining touch-sized targets and direct
8
+ access to complete device and client permission settings.
9
+ - Center column titles and management actions, contain status text and scale
10
+ the activity ring to avoid text overlap on narrow screens.
11
+ - Refresh the mobile README screenshot and verify layout boundaries at 320,
12
+ 390 and 430 pixels alongside the existing management workflows.
13
+
14
+ ## 0.4.7 — Interactive control plane and mobile overview
15
+
16
+ - Add an interactive client → MCP Server → Runner topology with live audit
17
+ activity, job output shortcuts and direct access to device and client permissions.
18
+ - Preserve all six workspace views, search, filters, native confirmations,
19
+ temporary permissions, token management and session controls from v0.4.6.
20
+ - Use the project icon consistently, a segmented status bar and a readable
21
+ vertical mobile layout with responsive audit charts and reduced-motion support.
22
+ - Derive overview statistics from the bounded Server snapshot and clearly
23
+ distinguish live jobs, unconfirmed observations and synchronization failures.
24
+ - Refresh the bilingual README screenshots from an isolated browser demo;
25
+ verify desktop/mobile workflows and include all console assets in package checks.
26
+
3
27
  ## 0.4.6 — Web workspace redesign and interaction improvements
4
28
 
5
29
  - Rebuild the Web Dashboard as a responsive workspace with separate overview,
package/README.en.md CHANGED
@@ -33,7 +33,7 @@
33
33
 
34
34
  HomeAgent lets Claude, ChatGPT, Cursor and other MCP clients work on your own Linux / Windows development machines through a relay you host. Runners connect outbound and execute authorized file, command and Git operations locally, without opening inbound ports.
35
35
 
36
- The execution system requires no model API key, hosted relay, telemetry or paid cloud service. Tool results are sent to the AI client you choose. Version **v0.4.6** supports one administrator and multiple devices.
36
+ The execution system requires no model API key, hosted relay, telemetry or paid cloud service. Tool results are sent to the AI client you choose. Version **v0.4.8** supports one administrator and multiple devices.
37
37
 
38
38
  ## Why HomeAgent
39
39
 
@@ -45,9 +45,20 @@ The execution system requires no model API key, hosted relay, telemetry or paid
45
45
 
46
46
  ## Screenshots
47
47
 
48
- Real Web Dashboard screenshots with example devices and projects in an isolated local environment. The current interface is in Chinese.
48
+ The overview maps **clients → MCP Server → Runners** and brings together jobs, permission reminders, audit activity and recent events. Device search, status filters, action confirmations, project permissions and job output remain available in their management views. The current interface is in Chinese.
49
49
 
50
- ![HomeAgent Dashboard: device status, MCP connection and project management](docs/screenshots/dashboard.png)
50
+ ![HomeAgent widescreen Dashboard: client-to-MCP-to-Runner topology, jobs, permissions and audit activity](docs/screenshots/dashboard.png)
51
+
52
+ Screenshots are rendered by a real browser using demo devices and projects in an isolated local environment, not production data. Statistics describe the audit sample returned by the Server.
53
+
54
+ <details>
55
+ <summary><strong>View the mobile layout</strong></summary>
56
+
57
+ On phones, a compact live topology keeps clients, the central MCP Server and Runners on the same screen, including the activity ring and call paths. Tap a node for its full settings; the segmented navigation opens the remaining management views.
58
+
59
+ <img src="docs/screenshots/dashboard-mobile.png" width="360" alt="HomeAgent mobile Dashboard: compact live client-to-MCP-to-Runner topology">
60
+
61
+ </details>
51
62
 
52
63
  <details>
53
64
  <summary><strong>Explore device permissions and task output</strong></summary>
@@ -56,7 +67,7 @@ Real Web Dashboard screenshots with example devices and projects in an isolated
56
67
 
57
68
  ![Device settings: project directory, development access and Git permissions](docs/screenshots/permissions.png)
58
69
 
59
- **Jobs and output** · Observe commands running on a real Runner and read their test output.
70
+ **Jobs and output** · Filter jobs by status, inspect execution records and read command output.
60
71
 
61
72
  ![Job management: execution records and test output](docs/screenshots/jobs.png)
62
73
 
@@ -106,7 +117,7 @@ Install Docker Engine, Compose v2 and Git. Point your domain at the server and
106
117
  allow inbound TCP ports 80/443. Replace `mcp.example.com` below with your domain.
107
118
 
108
119
  ```sh
109
- git clone --branch v0.4.6 --depth 1 https://github.com/jhxxr/HomeAgent.git
120
+ git clone --branch v0.4.8 --depth 1 https://github.com/jhxxr/HomeAgent.git
110
121
  cd HomeAgent
111
122
 
112
123
  # Generate random secrets without installing Node.js on the host.
@@ -318,7 +329,7 @@ helpers. Each package has an explicit file list and license notices.
318
329
  See [release preparation](docs/OPEN_SOURCE.md) to generate a reviewed source
319
330
  archive. Nothing in the release commands automatically publishes or pushes it.
320
331
 
321
- The `v0.4.6` release configuration produces separate `homeagent-server` and
332
+ The `v0.4.8` release configuration produces separate `homeagent-server` and
322
333
  `homeagent-runner` packages; local release commands do not upload to npm or push a
323
334
  GitHub Release. For subsequent releases, increment the version and update the
324
335
  version files and changelog before pushing a matching `vX.Y.Z` tag. Configure
package/README.md CHANGED
@@ -33,7 +33,7 @@
33
33
 
34
34
  HomeAgent 让 Claude、ChatGPT、Cursor 等 MCP 客户端,通过你部署的 Server 操作自己的 Linux / Windows 开发机器。Runner 主动连出,在本地执行授权的文件、命令和 Git 操作,无需开放被控端入站端口。
35
35
 
36
- 系统运行无需模型 API Key、第三方中继、遥测或付费云服务;工具结果会返回给你选择的 AI 客户端。当前版本 **v0.4.6**,支持单管理员、多设备。
36
+ 系统运行无需模型 API Key、第三方中继、遥测或付费云服务;工具结果会返回给你选择的 AI 客户端。当前版本 **v0.4.8**,支持单管理员、多设备。
37
37
 
38
38
  ## 为什么使用 HomeAgent
39
39
 
@@ -45,9 +45,20 @@ HomeAgent 让 Claude、ChatGPT、Cursor 等 MCP 客户端,通过你部署的 S
45
45
 
46
46
  ## 界面预览
47
47
 
48
- 真实 Web Dashboard 截图,使用本地隔离环境中的示例设备与项目。
48
+ 运行总览以「客户端 → MCP Server → Runner」展示开发网络,汇总任务、权限提醒、审计活动与日志。设备搜索、状态筛选、操作确认、项目权限和任务输出仍保留在对应管理视图中。
49
49
 
50
- ![HomeAgent 控制台:设备状态、MCP 接入和项目管理](docs/screenshots/dashboard.png)
50
+ ![HomeAgent 大屏控制台:客户端、MCP Server 与 Runner 拓扑,以及任务、权限与审计概览](docs/screenshots/dashboard.png)
51
+
52
+ 截图由真实浏览器生成,使用本地隔离环境中的演示设备与项目,非生产数据;统计以当前返回的审计样本为准。
53
+
54
+ <details>
55
+ <summary><strong>查看手机布局</strong></summary>
56
+
57
+ 手机端保留「客户端 → MCP Server → Runner」同屏动态拓扑,通过紧凑节点、环形刻度和调用连线呈现开发网络;点击节点打开完整设置,其他功能通过顶部分段导航访问。
58
+
59
+ <img src="docs/screenshots/dashboard-mobile.png" width="360" alt="HomeAgent 手机控制台:客户端、中央 MCP 与 Runner 同屏连接的动态拓扑">
60
+
61
+ </details>
51
62
 
52
63
  <details>
53
64
  <summary><strong>查看设备权限设置与任务输出</strong></summary>
@@ -56,7 +67,7 @@ HomeAgent 让 Claude、ChatGPT、Cursor 等 MCP 客户端,通过你部署的 S
56
67
 
57
68
  ![设备权限设置:项目目录、完整开发与 Git 权限](docs/screenshots/permissions.png)
58
69
 
59
- **任务与输出** · 观察 Runner 上真实执行的命令,读取测试输出。
70
+ **任务与输出** · 筛选任务状态、查看执行记录并读取命令输出。
60
71
 
61
72
  ![任务管理:执行记录与测试输出](docs/screenshots/jobs.png)
62
73
 
@@ -100,7 +111,7 @@ Server 和 Runner 已拆成两个 npm 包,分别安装在中继服务器和需
100
111
  准备 Docker Engine、Compose v2 和 Git,将自己的域名解析到服务器,并放行 TCP 80/443。下面以 `mcp.example.com` 为例,执行前替换成自己的域名。
101
112
 
102
113
  ```sh
103
- git clone --branch v0.4.6 --depth 1 https://github.com/jhxxr/HomeAgent.git
114
+ git clone --branch v0.4.8 --depth 1 https://github.com/jhxxr/HomeAgent.git
104
115
  cd HomeAgent
105
116
 
106
117
  # 用容器生成随机密码和会话密钥,无需在宿主机安装 Node.js
@@ -269,4 +280,4 @@ npm audit --omit=dev --audit-level=high
269
280
 
270
281
  发布前执行 [开源与发布检查](docs/OPEN_SOURCE.md)。npm 发布会生成两个包:`homeagent-server` 只包含 Server/Web Dashboard,`homeagent-runner` 只包含 Runner、共享协议和 Windows 辅助程序;两者都采用明确的发布文件白名单。
271
282
 
272
- `v0.4.6` 的发布配置会分别生成 `homeagent-server` 和 `homeagent-runner`;本地发布命令不会自动上传 npm 或推送 GitHub。后续发布递增版本,更新版本文件和 changelog 后推送匹配标签;预发布使用 npm `next`,正式版本使用 `latest`。Token 权限、OIDC 切换和重试行为见 [自动发布说明](docs/OPEN_SOURCE.md#github-actions-自动发布)。
283
+ `v0.4.8` 的发布配置会分别生成 `homeagent-server` 和 `homeagent-runner`;本地发布命令不会自动上传 npm 或推送 GitHub。后续发布递增版本,更新版本文件和 changelog 后推送匹配标签;预发布使用 npm `next`,正式版本使用 `latest`。Token 权限、OIDC 切换和重试行为见 [自动发布说明](docs/OPEN_SOURCE.md#github-actions-自动发布)。
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { remotePermissionsSchema } from './permissions.js';
3
- export const VERSION = '0.4.6';
3
+ export const VERSION = '0.4.8';
4
4
  export const RUNNER_PROTOCOL = 2;
5
5
  export const MAX_FRAME = 2 * 1024 * 1024;
6
6
  export const SCOPES = ['read', 'write', 'execute', 'git'];
package/docs/CLIENTS.md CHANGED
@@ -14,7 +14,7 @@ v0.3 日常编码优先采用 [开发工作流](DEVELOPMENT_WORKFLOW.md):get_p
14
14
 
15
15
  v0.3.0 的授权表单直接重定向到外部回调,Chrome 可能按 `form-action 'self'` 拦截该跳转;授权请求却已被消费,第二次点击便显示 `Authorization request expired`。**升级 Server 到 v0.3.1**:新版本先进入站内完成页,再返回已注册客户端,保留严格 CSP;按钮显示提交状态并防止重复提交。
16
16
 
17
- 升级后重启 Server,回到 AI 客户端重新发起 OAuth 授权,不要刷新或重复提交旧标签页。npm 部署升级 `homeagent-server` 包后重启对应服务;Runner 使用独立的 `homeagent-runner` 包,两者应升级到相同版本。Compose 部署检出 v0.4.6 后重新构建并启动,保留原 `.env` 和数据卷。Runner v0.3.0 不需要为 OAuth 回调修复升级;要使用 v0.4 的 Web 权限管理,则 Server 和 Runner 都应升级到 v0.4.6。
17
+ 升级后重启 Server,回到 AI 客户端重新发起 OAuth 授权,不要刷新或重复提交旧标签页。npm 部署升级 `homeagent-server` 包后重启对应服务;Runner 使用独立的 `homeagent-runner` 包,两者应升级到相同版本。Compose 部署检出 v0.4.8 后重新构建并启动,保留原 `.env` 和数据卷。Runner v0.3.0 不需要为 OAuth 回调修复升级;要使用 v0.4 的 Web 权限管理,则 Server 和 Runner 都应升级到 v0.4.8。
18
18
 
19
19
  若完成页没有自动返回,点击“继续返回客户端”。已使用或过期的授权码不会被重新签发;客户端仍未连接时,从客户端新建一次授权请求。设备凭据及已完成的客户端授权不因升级被主动清空。
20
20
 
@@ -95,7 +95,7 @@ journalctl --user -u homeagent-server -f
95
95
  先在有 Docker Engine、Compose v2 和 Git 的服务器检出发布源码:
96
96
 
97
97
  ```sh
98
- git clone --branch v0.4.6 --depth 1 https://github.com/jhxxr/HomeAgent.git
98
+ git clone --branch v0.4.8 --depth 1 https://github.com/jhxxr/HomeAgent.git
99
99
  cd HomeAgent
100
100
  ```
101
101
 
@@ -1,6 +1,6 @@
1
1
  # 开源仓库与源码发布
2
2
 
3
- 本仓库以 MIT 开放原始代码,版本为 0.4.6,npm 发布拆成 `homeagent-server` 和 `homeagent-runner` 两个包。Server 包只包含编译后的 Server、Dashboard 和 Server 资源;Runner 包只包含 Runner、共享协议和 Windows 进程树辅助代码。CLI 和源码采用相同许可证;两个 npm 包都通过文件白名单只包含运行所需文件、文档和许可证。包名是否可用及账号发布权限以发布当时的 registry 为准。
3
+ 本仓库以 MIT 开放原始代码,版本为 0.4.8,npm 发布拆成 `homeagent-server` 和 `homeagent-runner` 两个包。Server 包只包含编译后的 Server、Dashboard 和 Server 资源;Runner 包只包含 Runner、共享协议和 Windows 进程树辅助代码。CLI 和源码采用相同许可证;两个 npm 包都通过文件白名单只包含运行所需文件、文档和许可证。包名是否可用及账号发布权限以发布当时的 registry 为准。
4
4
 
5
5
  ## 文件划分
6
6
 
@@ -29,7 +29,7 @@ npm run test:package
29
29
 
30
30
  `npm run release:check` 检查 Git 跟踪文件和未忽略的新文件,验证敏感凭据模式、禁止的运行目录、许可证/版本一致性及本地 Markdown 链接。提交前可以使用 `node scripts/check-release.mjs --staged`,检查暂存区实际内容。它不会打印命中的秘密正文。
31
31
 
32
- 图片仅允许 `public/icon.png` 和 `docs/screenshots/` 下的 `dashboard.png`、`permissions.png`、`jobs.png`;检查 PNG 文件头,并限制每张不超过 2 MiB、每边不超过 4096 像素。图片内容需人工查看,截图应来自隔离演示环境,不得包含真实凭据或私人项目数据。Runner 包仅携带 README 使用的图标,不包含 Dashboard 脚本。
32
+ 图片仅允许 `public/icon.png` 和 `docs/screenshots/` 下的 `dashboard.png`、`dashboard-mobile.png`、`permissions.png`、`jobs.png`;检查 PNG 文件头,并限制每张不超过 2 MiB、每边不超过 4096 像素。图片内容需人工查看,截图应来自隔离演示环境,不得包含真实凭据或私人项目数据。Runner 包仅携带 README 使用的图标,不包含 Dashboard 脚本。
33
33
 
34
34
  这些只是可复现的自动检查,不能证明没有未知类型的敏感数据。公开前仍需人工检查文件列表、部署示例和私有路径。不要用“把整个工作目录压缩”代替源码发布。
35
35
 
@@ -53,7 +53,7 @@ npm run release:source
53
53
 
54
54
  输出位于被忽略的 release/:
55
55
 
56
- - `HomeAgent-v0.4.6-source.tar.gz`
56
+ - `HomeAgent-v0.4.8-source.tar.gz`
57
57
  - 对应 `.sha256` 校验文件
58
58
  - 对应 `.manifest.txt`,包括版本、Git 提交和全部发布路径
59
59
 
@@ -65,8 +65,8 @@ npm run release:source
65
65
 
66
66
  `npm run release:npm` 构建 JavaScript、以 `--ignore-scripts` 分别打包两个包,并检查归档文件白名单、运行资源及 SHA-512 完整性,输出:
67
67
 
68
- - `release/homeagent-server-0.4.6.tgz`
69
- - `release/homeagent-runner-0.4.6.tgz`
68
+ - `release/homeagent-server-0.4.8.tgz`
69
+ - `release/homeagent-runner-0.4.8.tgz`
70
70
  - 两个归档各自的 `.sha256`
71
71
  - `release/npm-packages.json`:两个包的名称、版本、Git commit、校验、dist-tag 和路径清单
72
72
 
@@ -76,20 +76,20 @@ npm run release:source
76
76
 
77
77
  `.github/workflows/release.yml` 支持两种入口:
78
78
 
79
- 1. 推送版本标签,例如 `v0.4.6`。
79
+ 1. 推送版本标签,例如 `v0.4.8`。
80
80
  2. 在 Actions → release → Run workflow 中填写**已经存在**的版本标签。
81
81
 
82
82
  先按下一节配置 `NPM_TOKEN`。首次推送源码、配置真实 `origin` 并确认 Actions 可用后,可以按下面方式发布:
83
83
 
84
84
  ```sh
85
85
  # 先提交本次版本的源码和文档,工作区保持干净
86
- git tag -a v0.4.6 -m "HomeAgent v0.4.6"
87
- git push origin v0.4.6
86
+ git tag -a v0.4.8 -m "HomeAgent v0.4.8"
87
+ git push origin v0.4.8
88
88
  ```
89
89
 
90
90
  本文只是发布说明,准备脚本不会替操作者执行这些命令。
91
91
 
92
- 标签必须与 package.json、package-lock.json 及 runtime VERSION 一致,CHANGELOG.md 必须有对应版本的非空条目。预发布可用 `v0.4.6-rc.1`(相关版本文件也必须为 `0.4.6-rc.1`)。禁止把普通分支或不匹配版本伪装成发布。
92
+ 标签必须与 package.json、package-lock.json 及 runtime VERSION 一致,CHANGELOG.md 必须有对应版本的非空条目。预发布可用 `v0.4.8-rc.1`(相关版本文件也必须为 `0.4.8-rc.1`)。禁止把普通分支或不匹配版本伪装成发布。
93
93
 
94
94
  发布流水线按次序执行:
95
95
 
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -43,5 +43,5 @@
43
43
  "ws": "8.22.0",
44
44
  "zod": "4.6.7"
45
45
  },
46
- "version": "0.4.6"
46
+ "version": "0.4.8"
47
47
  }