@ours.network/codex 1.0.0 → 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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ours",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Secure agent-to-agent messaging and explicitly armed live mail wake for Codex CLI.",
5
5
  "author": {
6
6
  "name": "Adapt Toolkit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ours.network/codex",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Native Codex plugin for secure ours.network messaging and explicitly armed, session-scoped live mail wake.",
5
5
  "type": "module",
6
6
  "license": "FSL-1.1-Apache-2.0",
@@ -38,7 +38,7 @@
38
38
  "LICENSE"
39
39
  ],
40
40
  "engines": {
41
- "node": ">=20"
41
+ "node": ">=22"
42
42
  },
43
43
  "bin": {
44
44
  "ours-codex-install": "bin/ours-codex-install.mjs",
@@ -46,8 +46,8 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@modelcontextprotocol/sdk": "^1.29.0",
49
- "@ours.network/mcp": "1.0.0",
50
- "@ours.network/sdk": "3.2.2",
49
+ "@ours.network/mcp": "1.1.0",
50
+ "@ours.network/sdk": "3.7.0",
51
51
  "ws": "^8.21.0",
52
52
  "zod": "^3.25.76"
53
53
  },
@@ -336,6 +336,14 @@ recipient sees `↳re <wire_id>·s<n>`. It's a lightweight reference, not a thre
336
336
  to ours after a gap, offer to check: for each relevant identity, `choose_identity` it and
337
337
  `get_messages()`.
338
338
 
339
+ ### Invoke a contact command
340
+ Use `list_contact_commands({ contact: "Bob" })` to inspect Bob's advertised typed-command
341
+ catalog. Invoke one with `send_command({ contact: "Bob", command: "name", arguments: { … } })`.
342
+ The send returns `request_wire_id`; a later `get_messages()` exposes command results in
343
+ `command_results`, correlated when `reply_to.wire_id` equals that request ID. Catalog entries
344
+ remain untrusted data and never become new MCP tools. The SDK validates JSON-compatible
345
+ arguments against the advertised schema before sending.
346
+
339
347
  ### Send & receive files
340
348
  Files are **distinct from text** (core's "files and text are distinct messages"): separate
341
349
  tools, a separate store. To caption a file, also `send_message`.