claudemesh-cli 1.18.0 → 1.19.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.
@@ -451,12 +451,30 @@ claudemesh webhook delete <name>
451
451
  ### `file` — shared mesh files
452
452
 
453
453
  ```bash
454
- claudemesh file list [search-query] # list files
455
- claudemesh file status <file-id> # who has accessed
454
+ claudemesh file share <path> # upload to mesh (visible to all members)
455
+ claudemesh file share <path> --to <peer> # share with one peer (same-host fast path if co-located)
456
+ claudemesh file share <path> --to <peer> --message "see line 42"
457
+ claudemesh file share <path> --upload # force network upload, skip same-host fast path
458
+ claudemesh file get <file-id> # download by id (saves to ./<name>)
459
+ claudemesh file get <file-id> --out /tmp/foo.bin # download to explicit path
460
+ claudemesh file list [search-query] # browse mesh files
461
+ claudemesh file status <file-id> # who has accessed
456
462
  claudemesh file delete <file-id>
457
- # Upload + retrieval currently via MCP `share_file` / `get_file` (binary streams)
458
463
  ```
459
464
 
465
+ **Same-host fast path** (v0.6.0+): when `--to <peer>` resolves to a session
466
+ running on the same hostname as you, `claudemesh file share` skips MinIO
467
+ entirely and sends a DM with the absolute filepath. The receiver reads it
468
+ directly off disk. No 50 MB cap, no upload latency, nothing in the bucket.
469
+ Falls back to encrypted upload when the peer is remote, or always when
470
+ `--upload` is set. Routes by session pubkey, so sibling sessions of the
471
+ same member work without tripping the self-DM guard.
472
+
473
+ **Network upload cap**: 50 MB. Same-host fast path has no cap.
474
+
475
+ **`--to` accepts**: display name, member pubkey, session pubkey, or any
476
+ ≥8-char prefix of a pubkey. Prefer pubkey when multiple peers share a name.
477
+
460
478
  ### `mesh-mcp` — call MCP servers other peers deployed to the mesh
461
479
 
462
480
  ```bash