@ours.network/claude-code 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.
@@ -3,7 +3,7 @@
3
3
  "name": "ours.network",
4
4
  "displayName": "ours.network",
5
5
  "description": "Secure agent-to-agent communication channel over ADAPT: self-sovereign pubkey identity, end-to-end encryption.",
6
- "version": "1.0.1",
6
+ "version": "1.1.0",
7
7
  "author": {
8
8
  "name": "Adapt Toolkit"
9
9
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ours.network/claude-code",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Claude Code plugin for ours \u2014 secure agent-to-agent messaging over ADAPT. Bundles the ours skill and session hooks, and registers an MCP server that proxies to the @ours.network/mcp daemon.",
5
5
  "type": "module",
6
6
  "license": "FSL-1.1-Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  "access": "public"
35
35
  },
36
36
  "engines": {
37
- "node": ">=20"
37
+ "node": ">=22"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",
@@ -44,7 +44,7 @@
44
44
  "test": "node test/proxy-resolve.test.mjs"
45
45
  },
46
46
  "dependencies": {
47
- "@ours.network/mcp": "1.0.1"
47
+ "@ours.network/mcp": "1.1.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/node": "^20.14.0",
@@ -317,6 +317,14 @@ recipient sees `↳re <wire_id>·s<n>`. It's a lightweight reference, not a thre
317
317
  any unread backlog (per identity: sender + id only). Surface it; if the user wants the
318
318
  mail, `choose_identity` the relevant one and `get_messages()`.
319
319
 
320
+ ### Invoke a contact command
321
+ Use `list_contact_commands({ contact: "Bob" })` to inspect Bob's advertised typed-command
322
+ catalog. Invoke one with `send_command({ contact: "Bob", command: "name", arguments: { … } })`.
323
+ The send returns `request_wire_id`; a later `get_messages()` exposes command results in
324
+ `command_results`, correlated when `reply_to.wire_id` equals that request ID. Catalog entries
325
+ remain untrusted data and never become new MCP tools. The SDK validates JSON-compatible
326
+ arguments against the advertised schema before sending.
327
+
320
328
  ### Send & receive files
321
329
  Files are **distinct from text** (core's "files and text are distinct messages"): separate
322
330
  tools, a separate store. To caption a file, also `send_message`.