@ours.network/codex 0.15.2 → 0.15.4

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": "0.15.2",
3
+ "version": "0.15.4",
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": "0.15.2",
3
+ "version": "0.15.4",
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",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@modelcontextprotocol/sdk": "^1.29.0",
49
- "@ours.network/mcp": "0.15.2",
49
+ "@ours.network/mcp": "0.15.4",
50
50
  "ws": "^8.21.0",
51
51
  "zod": "^3.25.76"
52
52
  },
@@ -293,14 +293,17 @@ tools, a separate store. To caption a file, also `send_message`.
293
293
  bytes instead of a path, `send_file({ contact, data_base64, filename })`. `send_file` returns a
294
294
  `wire_id` in the **same namespace as messages**, so replies cross kinds — pass a file's wire_id
295
295
  as `reply_to_wire_id` in `send_message`, or a message's in `send_file`.
296
- - "any new files" / "get my files" → `get_files()` pulls files you haven't retrieved, **writes
297
- each to disk** under the identity's `files/` dir (`<state>/<identity>/files/<wire_id>-<name>`),
298
- and returns the on-disk paths + metadata. Like `get_messages`, it is the **only** call that
299
- returns file bytes and marks them "processed" (delivered exactly once).
300
- - "show received files" → `list_incoming_files()` — metadata only (sender, name, mime, status;
301
- no bytes, no status change), the read-only history view parallel to `list_incoming_messages`.
302
- - The wake signal stays **body-free**: a `file_received` event records sender, filename, mime,
303
- and byte **count** — never the bytes. Files from unknown (non-contact) senders are rejected.
296
+ - "show received files" → `list_incoming_files()` — structured metadata only: authenticated
297
+ sender CID in `from.id`, untrusted display label in `from.name`, file/wire IDs, filename,
298
+ MIME, size, date and status; no bytes and no status change. Authorize by CID, not name.
299
+ - "get approved files" → `get_files({ wire_ids: ["<approved 64-hex id>"] })` writes only those
300
+ unread files under `<state>/<identity>/files/<wire_id>-<name>` and returns structured paths,
301
+ hashes, provenance and status. Invalid/duplicate/unknown/stale IDs fail closed. Omitting
302
+ `wire_ids` preserves the legacy behavior of retrieving every unread file.
303
+ - Voice records also carry structured transcription configuration/attempt/status, provider,
304
+ transcript or categorized fallback, and their audio-path association; prose remains intact.
305
+ - The wake signal stays **body-free** but carries authenticated sender CID, file/wire IDs,
306
+ filename, MIME, byte count and date — never the bytes. Unknown senders are rejected.
304
307
 
305
308
  ### Contacts & local contact book
306
309
  - "who are my contacts" → `list_contacts()` (also shows pending local introductions).