claudemesh-cli 1.34.7 → 1.34.8
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/dist/entrypoints/cli.js +184 -19
- package/dist/entrypoints/cli.js.map +13 -12
- package/dist/entrypoints/mcp.js +43 -6
- package/dist/entrypoints/mcp.js.map +3 -3
- package/package.json +1 -1
- package/skills/claudemesh/SKILL.md +8 -1
package/package.json
CHANGED
|
@@ -381,7 +381,8 @@ claudemesh message send <p> "..." --priority low # pull-only
|
|
|
381
381
|
claudemesh inbox # all attached meshes, last 100
|
|
382
382
|
claudemesh inbox --mesh <slug> # scoped to one mesh
|
|
383
383
|
claudemesh inbox --mesh <slug> --limit 20 # custom cap
|
|
384
|
-
claudemesh inbox --json # full row (sender_pubkey, mesh, body, received_at, …)
|
|
384
|
+
claudemesh inbox --json # full row (sender_pubkey, mesh, body, received_at, seen_at, …)
|
|
385
|
+
claudemesh inbox --unread # 1.34.8+ only rows whose seen_at IS NULL
|
|
385
386
|
|
|
386
387
|
# inbox flush + delete — 1.34.7+
|
|
387
388
|
claudemesh inbox flush --mesh <slug> # delete all rows on one mesh
|
|
@@ -397,6 +398,12 @@ claudemesh message status <message-id> --json
|
|
|
397
398
|
|
|
398
399
|
**Inbox source (1.34.0+):** `claudemesh inbox` queries the daemon's persistent `~/.claudemesh/daemon/inbox.db` over IPC — it is NOT a fresh broker-WS buffer drain. Rows survive daemon restarts. Sender attribution is the actual session pubkey of the launched session that originated the send (NOT the stable member pubkey of the sender's daemon), so two sibling sessions of the same human appear as distinct rows.
|
|
399
400
|
|
|
401
|
+
**Read-state (1.34.8+):** every inbox row carries a `seen_at` timestamp. `null` = never surfaced; an ISO string = first surfaced at that moment. The flag flips automatically when (a) the row is returned by an interactive `claudemesh inbox` listing, or (b) the MCP server emits a live `<channel>` reminder for it. The launch welcome push uses `unread_only=true` to surface only rows the user hasn't seen — so a session relaunched a day later sees what it actually missed, not the same 24h batch every time. Use `claudemesh inbox --unread` to get the same filter from the CLI.
|
|
402
|
+
|
|
403
|
+
**Self-echo guard (1.34.8+):** broker fan-out paths sometimes mirror an outbound DM back to the originating session-WS. The daemon now drops those at the WS boundary (matching on `senderPubkey === own.session_pubkey`), so the sender no longer sees their own `claudemesh send` arrive as a `← claudemesh: <self>: ...` channel push immediately after dispatching it.
|
|
404
|
+
|
|
405
|
+
**Inbox TTL (1.34.8+):** the daemon runs an hourly prune that deletes rows older than 30 days. Without this the inbox grew unbounded; now it self-trims while preserving "I went on holiday and want to see what I missed" recovery for a generous window. No CLI knob — it's a built-in retention policy. To override, manually `claudemesh inbox flush --before <iso>`.
|
|
406
|
+
|
|
400
407
|
`send` JSON output: `{"ok": true, "messageId": "...", "target": "..."}`. Errors: `{"ok": false, "error": "..."}`.
|
|
401
408
|
|
|
402
409
|
### `state` — shared per-mesh key-value store
|