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