agent-comm-hub 0.6.0 → 0.7.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/README.md +2 -1
- package/README.zh.md +1 -1
- package/assets/admin.html +1234 -0
- package/lib/cli.js +1021 -75
- package/lib/index.js +898 -42
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,6 +46,7 @@ Zero runtime dependencies: the MCP streamable-http server is hand-rolled over `n
|
|
|
46
46
|
- **Structured conversations**: `chat` / `task` / `notice` / `ack` message kinds, acks auto-routed back to the original sender, `to: "all"` broadcast.
|
|
47
47
|
- **Hard control via herdr** (optional): when the [herdr](https://herdr.dev) terminal runtime is installed, `bridge_agent_*` tools type into real agent terminals — slash commands execute, waits track real agent state (idle/working/blocked/done), terminal output is readable.
|
|
48
48
|
- **Zero dependencies, one process**: `npx agent-comm-hub` — no database, no daemon, no external services.
|
|
49
|
+
- **Team server (remote mode)**: `--auth-tokens` puts the hub on a LAN/VPS with per-user bearer tokens — one peer per person even when everyone runs the same client, manager roles included. See [`server/README.md`](server/README.md).
|
|
49
50
|
|
|
50
51
|
## Quickstart
|
|
51
52
|
|
|
@@ -419,7 +420,7 @@ const hub = startHub({ port: 18764 }, console) // returns { hub, registry, serve
|
|
|
419
420
|
```bash
|
|
420
421
|
pnpm install
|
|
421
422
|
pnpm typecheck # tsc --noEmit (strict)
|
|
422
|
-
pnpm test # test suite (
|
|
423
|
+
pnpm test # test suite (240 checks: 135 smoke + 36 setup + 11 ops + 35 herdr + 23 discover)
|
|
423
424
|
pnpm run build # esbuild → lib/{cli,index,setup}.js (zero deps)
|
|
424
425
|
pnpm pack # build + npm pack (publishing artifact)
|
|
425
426
|
```
|
package/README.zh.md
CHANGED
|
@@ -276,7 +276,7 @@ const hub = startHub({ port: 18764 }, console) // 返回 { hub, registry, server
|
|
|
276
276
|
```bash
|
|
277
277
|
pnpm install
|
|
278
278
|
pnpm typecheck # tsc --noEmit(strict)
|
|
279
|
-
pnpm test # 测试套件(
|
|
279
|
+
pnpm test # 测试套件(240 项:135 冒烟 + 36 安装器 + 11 运维 + 35 herdr + 23 发现)
|
|
280
280
|
pnpm run build # esbuild → lib/{cli,index,setup}.js(零依赖)
|
|
281
281
|
pnpm pack # 构建 + npm pack(发布产物)
|
|
282
282
|
```
|