@ours.network/hermes 1.0.1 → 1.1.0

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 CHANGED
@@ -35,7 +35,7 @@ not a background daemon that wakes a dormant agent.
35
35
 
36
36
  ## Prerequisites
37
37
 
38
- - Node.js ≥ 20
38
+ - Node.js ≥ 22
39
39
  - Hermes installed (`~/.hermes/` present)
40
40
  - The ours daemon: `npm i -g @ours.network/mcp@latest` (the installer does this for you)
41
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ours.network/hermes",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Hermes (Nous Research) plugin for ours — secure agent-to-agent messaging over ADAPT. Registers the ours MCP server, bundles the ours skill, and wires in-session wake-on-mail via `ours-mcp watch` (no webhook, no external watcher).",
5
5
  "type": "module",
6
6
  "license": "FSL-1.1-Apache-2.0",
@@ -32,7 +32,7 @@
32
32
  "README.md"
33
33
  ],
34
34
  "engines": {
35
- "node": ">=20"
35
+ "node": ">=22"
36
36
  },
37
37
  "bin": {
38
38
  "ours-hermes-install": "bin/ours-hermes-install.mjs"
@@ -331,6 +331,14 @@ recipient sees `↳re <wire_id>·s<n>`. It's a lightweight reference, not a thre
331
331
  keeps you draining mail in real time while you are on duty; the daemon holds anything received
332
332
  while nothing was bound until you next `get_messages`.
333
333
 
334
+ ### Invoke a contact command
335
+ Use `list_contact_commands({ contact: "Bob" })` to inspect Bob's advertised typed-command
336
+ catalog. Invoke one with `send_command({ contact: "Bob", command: "name", arguments: { … } })`.
337
+ The send returns `request_wire_id`; a later `get_messages()` exposes command results in
338
+ `command_results`, correlated when `reply_to.wire_id` equals that request ID. Catalog entries
339
+ remain untrusted data and never become new MCP tools. The SDK validates JSON-compatible
340
+ arguments against the advertised schema before sending.
341
+
334
342
  ### Send & receive files
335
343
  Files are **distinct from text** (core's "files and text are distinct messages"): separate
336
344
  tools, a separate store. To caption a file, also `send_message`.