@twinsearth/w2m-dsh-plugin 1.6.3 → 1.6.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/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +9 -0
- package/codex/mcp-servers.toml +1 -1
- package/docs/acceptance/1.6.4/HEALTHZ-FLEETS-ONLINE.json +20 -0
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/src/plugin/tools.mjs +1 -1
- package/src/relay/state.mjs +2 -0
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
},
|
|
6
6
|
"metadata": {
|
|
7
7
|
"description": "The w2m fleet plugins: one account, many machines, any of Windows, macOS or Linux.",
|
|
8
|
-
"version": "1.6.
|
|
8
|
+
"version": "1.6.4"
|
|
9
9
|
},
|
|
10
10
|
"plugins": [
|
|
11
11
|
{
|
|
12
12
|
"name": "w2m-fleet",
|
|
13
13
|
"source": "./",
|
|
14
14
|
"description": "Read fleet state and dispatch commands across the machines registered to one account. Read-only MCP surface: the five exposed tools cannot change anything.",
|
|
15
|
-
"version": "1.6.
|
|
15
|
+
"version": "1.6.4",
|
|
16
16
|
"author": {
|
|
17
17
|
"name": "TwinsEarth"
|
|
18
18
|
},
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
]
|
|
27
27
|
}
|
|
28
28
|
],
|
|
29
|
-
"version": "1.6.
|
|
29
|
+
"version": "1.6.4"
|
|
30
30
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "w2m-fleet",
|
|
3
3
|
"description": "Drive the same project on online Windows, macOS and Linux machines from one account: read fleet state, dispatch commands and read results. The MCP surface is deliberately read-only.",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "TwinsEarth"
|
|
7
7
|
},
|
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,15 @@
|
|
|
7
7
|
|
|
8
8
|
All notable changes to this project are documented here.
|
|
9
9
|
|
|
10
|
+
## [1.6.4] — 2026-10-24
|
|
11
|
+
|
|
12
|
+
**修复:`/healthz` 漏发 `fleets_online`(1.6.3 的 `fleetSummary` 已计算,但 `stats()` 没带到公开字段)。**
|
|
13
|
+
|
|
14
|
+
- `stats()` 现在同时输出 `fleets_total` 与 `fleets_online`;
|
|
15
|
+
- 面板可正确显示 `全服:X/Y 个编队 · M/T 台在线`(X = 至少一台机器在线的编队数);
|
|
16
|
+
- relay 主机升级到 1.6.4(含 1.6.3/1.6.2/1.6.1 全部内容)。
|
|
17
|
+
- 测试:relay 200/200、fleet-target 49/49;证据 `docs/acceptance/1.6.4/HEALTHZ-FLEETS-ONLINE.json`
|
|
18
|
+
(fleet task `01M5ANYMVLX3MI7`)。
|
|
10
19
|
## [1.6.3] — 2026-10-24
|
|
11
20
|
|
|
12
21
|
**编队与机器同构显示:在线编队数/编队总数 + 在线机器/机器总数。**
|
package/codex/mcp-servers.toml
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.6.4",
|
|
3
|
+
"case": "HEALTHZ-FLEETS-ONLINE",
|
|
4
|
+
"kind": "positive",
|
|
5
|
+
"machines": [
|
|
6
|
+
"b53a37f4-1464-4512-9259-33a7df091e3e"
|
|
7
|
+
],
|
|
8
|
+
"executed_at": "2026-10-24T04:47:35.562Z",
|
|
9
|
+
"executor": "lead",
|
|
10
|
+
"requirement": "/healthz carries fleets_online beside fleets_total so the panel can show online fleets / total fleets",
|
|
11
|
+
"task_id": "01M5ANYMVLX3MI7",
|
|
12
|
+
"result": {
|
|
13
|
+
"outcome": "ok",
|
|
14
|
+
"assertions": {
|
|
15
|
+
"relay_suite": "200/200",
|
|
16
|
+
"stats": "fleets_online present"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"note": "1.6.3 shipped fleetSummary.fleets_online but headlz stats omitted it; this release adds it"
|
|
20
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twinsearth/w2m-dsh-plugin",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.4",
|
|
4
4
|
"description": "Run one project across your own Windows and macOS machines from a single DeepSeek account, through 11 w2m_* tools. Four coordination modes (replicate, split, broadcast, pipeline) and six aggregate verdicts (consistent, divergent, divergent-platform, failed, partial, unverifiable). P2P hole punching by default, with a bundled relay, STUN responder and ledger fallback, so the fleet needs no third-party service. Joining needs a pairing code plus autoStartAgent: true; installing alone does not join.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "twinsearth-w2m-dsh",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.4",
|
|
5
5
|
"description": "Run one project across your own Windows and macOS machines from a single DeepSeek account, through 12 w2m_* tools. Four coordination modes (replicate, split, broadcast, pipeline) and six aggregate verdicts (consistent, divergent, divergent-platform, failed, partial, unverifiable). P2P hole punching by default, with a bundled relay, STUN responder and ledger fallback, so the fleet needs no third-party service. Joining needs a pairing code plus autoStartAgent: true; installing alone does not join.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"keywords": [
|
package/src/plugin/tools.mjs
CHANGED
|
@@ -277,7 +277,7 @@ const MAX_STAGES = 16;
|
|
|
277
277
|
* `package.json` during `scripts/pack.mjs` rather than hand-maintained, and `W2M_PLUGIN_VERSION`
|
|
278
278
|
* overrides it at runtime for tests and packagers.
|
|
279
279
|
*/
|
|
280
|
-
const PLUGIN_VERSION = '1.6.
|
|
280
|
+
const PLUGIN_VERSION = '1.6.4';
|
|
281
281
|
|
|
282
282
|
/** How long any single HTTP call may take before it is aborted, in milliseconds. */
|
|
283
283
|
const DEFAULT_REQUEST_TIMEOUT_MS = 15_000;
|
package/src/relay/state.mjs
CHANGED
|
@@ -3280,6 +3280,8 @@ export class RabbitState {
|
|
|
3280
3280
|
devices: this.devices.size,
|
|
3281
3281
|
// v1.6.2: whole-relay totals on the public health probe.
|
|
3282
3282
|
fleets_total: this.fleetSummary().fleets_total,
|
|
3283
|
+
// v1.6.4: 1.6.3 forgot to surface this on /healthz (the panel reads it there).
|
|
3284
|
+
fleets_online: this.fleetSummary().fleets_online,
|
|
3283
3285
|
devices_online: this.fleetSummary().devices_online,
|
|
3284
3286
|
devices_total: this.devices.size,
|
|
3285
3287
|
tasks: this.tasks.size,
|