@sleep2agi/commhub-server 0.9.0-preview.5 → 0.9.0-preview.6
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/package.json +1 -1
- package/src/tools.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sleep2agi/commhub-server",
|
|
3
|
-
"version": "0.9.0-preview.
|
|
3
|
+
"version": "0.9.0-preview.6",
|
|
4
4
|
"description": "CommHub Server \u2014 AI Agent communication hub with MCP protocol, multi-network isolation, user auth, and 17 MCP tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
package/src/tools.ts
CHANGED
|
@@ -294,6 +294,10 @@ export function registerTools(server: McpServer, clientIP?: string, enforceNetwo
|
|
|
294
294
|
flags: z.record(z.unknown()).optional(),
|
|
295
295
|
config_revision: z.number().int().min(0).optional(),
|
|
296
296
|
config_update_capable: z.boolean().optional(),
|
|
297
|
+
// RFC-026 P2 / #338 — daemon role surfaced for hub /api/nodes
|
|
298
|
+
// discovery (#337 extracts this field). "host_supervisor" =
|
|
299
|
+
// anet daemon. Default-stripping zod would drop this otherwise.
|
|
300
|
+
role: z.string().max(64).optional().nullable(),
|
|
297
301
|
}).optional().describe("RFC-024 — masked node config snapshot"),
|
|
298
302
|
},
|
|
299
303
|
async ({ resume_id, alias, status, task, output, score, progress, server: srv, hostname: hn, agent: ag, project_dir: pd, version: ver, tmux_name: tmux, node_id, session_id, config_path, channels, model: mdl, node_name: nn, network_id: netId, host, process_telemetry: proc, config_snapshot: cfgSnap }) => {
|