homeagent-runner 0.4.7 → 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,16 @@
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
+
3
14
  ## 0.4.7 — Interactive control plane and mobile overview
4
15
 
5
16
  - Add an interactive client → MCP Server → Runner topology with live audit
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.7** 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
 
@@ -54,9 +54,9 @@ Screenshots are rendered by a real browser using demo devices and projects in an
54
54
  <details>
55
55
  <summary><strong>View the mobile layout</strong></summary>
56
56
 
57
- On phones, statistics use two columns, followed by a compact MCP overview and full-width client and Runner lists in a vertical flow. The segmented navigation at the top switches between management views.
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
58
 
59
- <img src="docs/screenshots/dashboard-mobile.png" width="360" alt="HomeAgent mobile Dashboard: two-column statistics, compact MCP overview and vertical client and Runner lists">
59
+ <img src="docs/screenshots/dashboard-mobile.png" width="360" alt="HomeAgent mobile Dashboard: compact live client-to-MCP-to-Runner topology">
60
60
 
61
61
  </details>
62
62
 
@@ -117,7 +117,7 @@ Install Docker Engine, Compose v2 and Git. Point your domain at the server and
117
117
  allow inbound TCP ports 80/443. Replace `mcp.example.com` below with your domain.
118
118
 
119
119
  ```sh
120
- git clone --branch v0.4.7 --depth 1 https://github.com/jhxxr/HomeAgent.git
120
+ git clone --branch v0.4.8 --depth 1 https://github.com/jhxxr/HomeAgent.git
121
121
  cd HomeAgent
122
122
 
123
123
  # Generate random secrets without installing Node.js on the host.
@@ -329,7 +329,7 @@ helpers. Each package has an explicit file list and license notices.
329
329
  See [release preparation](docs/OPEN_SOURCE.md) to generate a reviewed source
330
330
  archive. Nothing in the release commands automatically publishes or pushes it.
331
331
 
332
- The `v0.4.7` release configuration produces separate `homeagent-server` and
332
+ The `v0.4.8` release configuration produces separate `homeagent-server` and
333
333
  `homeagent-runner` packages; local release commands do not upload to npm or push a
334
334
  GitHub Release. For subsequent releases, increment the version and update the
335
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.7**,支持单管理员、多设备。
36
+ 系统运行无需模型 API Key、第三方中继、遥测或付费云服务;工具结果会返回给你选择的 AI 客户端。当前版本 **v0.4.8**,支持单管理员、多设备。
37
37
 
38
38
  ## 为什么使用 HomeAgent
39
39
 
@@ -54,9 +54,9 @@ HomeAgent 让 Claude、ChatGPT、Cursor 等 MCP 客户端,通过你部署的 S
54
54
  <details>
55
55
  <summary><strong>查看手机布局</strong></summary>
56
56
 
57
- 手机端将统计卡片排列为两列,紧凑的 MCP 概览、全宽客户端与 Runner 列表按纵向阅读顺序展开;通过顶部分段导航切换管理视图。
57
+ 手机端保留「客户端 → MCP Server → Runner」同屏动态拓扑,通过紧凑节点、环形刻度和调用连线呈现开发网络;点击节点打开完整设置,其他功能通过顶部分段导航访问。
58
58
 
59
- <img src="docs/screenshots/dashboard-mobile.png" width="360" alt="HomeAgent 手机控制台:两列统计卡片、紧凑 MCP 概览及纵向客户端与 Runner 列表">
59
+ <img src="docs/screenshots/dashboard-mobile.png" width="360" alt="HomeAgent 手机控制台:客户端、中央 MCP 与 Runner 同屏连接的动态拓扑">
60
60
 
61
61
  </details>
62
62
 
@@ -111,7 +111,7 @@ Server 和 Runner 已拆成两个 npm 包,分别安装在中继服务器和需
111
111
  准备 Docker Engine、Compose v2 和 Git,将自己的域名解析到服务器,并放行 TCP 80/443。下面以 `mcp.example.com` 为例,执行前替换成自己的域名。
112
112
 
113
113
  ```sh
114
- git clone --branch v0.4.7 --depth 1 https://github.com/jhxxr/HomeAgent.git
114
+ git clone --branch v0.4.8 --depth 1 https://github.com/jhxxr/HomeAgent.git
115
115
  cd HomeAgent
116
116
 
117
117
  # 用容器生成随机密码和会话密钥,无需在宿主机安装 Node.js
@@ -280,4 +280,4 @@ npm audit --omit=dev --audit-level=high
280
280
 
281
281
  发布前执行 [开源与发布检查](docs/OPEN_SOURCE.md)。npm 发布会生成两个包:`homeagent-server` 只包含 Server/Web Dashboard,`homeagent-runner` 只包含 Runner、共享协议和 Windows 辅助程序;两者都采用明确的发布文件白名单。
282
282
 
283
- `v0.4.7` 的发布配置会分别生成 `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.7';
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.7 后重新构建并启动,保留原 `.env` 和数据卷。Runner v0.3.0 不需要为 OAuth 回调修复升级;要使用 v0.4 的 Web 权限管理,则 Server 和 Runner 都应升级到 v0.4.7。
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.7 --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.7,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
 
@@ -53,7 +53,7 @@ npm run release:source
53
53
 
54
54
  输出位于被忽略的 release/:
55
55
 
56
- - `HomeAgent-v0.4.7-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.7.tgz`
69
- - `release/homeagent-runner-0.4.7.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.7`。
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.7 -m "HomeAgent v0.4.7"
87
- git push origin v0.4.7
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.7-rc.1`(相关版本文件也必须为 `0.4.7-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
 
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.7"
46
+ "version": "0.4.8"
47
47
  }