diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-15 02:22:05 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-15 02:22:05 +0200 |
| commit | adda9613fad48a68239e2dbd93321818a835c286 (patch) | |
| tree | 8835fd2ac3e203d3f3110bc45617c79eb982cd0d /docs | |
| parent | 419af660eeb8a4403e37a63c54a15586d04d5a8e (diff) | |
| download | meshbay-adda9613fad48a68239e2dbd93321818a835c286.tar.gz | |
feat(cli): chat --follow
chat GROUP --follow prints the last messages, then each one the node pushes,
until Ctrl+C (exit 130). The connection is pinged every half minute; one
that closes, fails or stops answering is opened again, and what was said
meanwhile is read from the history. Each message is printed once, by its
(device, nonce) pair, which the node stores once. With --json, one object
per line. The man page lists it, with an example, and its FILES now names
the device keys kept for the Tier 2 check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/MESHBAY_DESIGN.md | 5 | ||||
| -rw-r--r-- | docs/USERGUIDE.md | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/MESHBAY_DESIGN.md b/docs/MESHBAY_DESIGN.md index 561ac82..2b0a166 100644 --- a/docs/MESHBAY_DESIGN.md +++ b/docs/MESHBAY_DESIGN.md @@ -3061,7 +3061,10 @@ the signing device is checked against the group's roster as the application checks it (Tier 2, ยง3.3): chains of countersignatures walked from each account's roots, the keys accepted per account and node kept in the store, the roster read again once before a key is called changed โ and only "changed" is said, under -the message. `chat` alone opens the interactive chat: the groups, one group's +the message. `chat GROUP --follow` then prints what the node pushes, pings the +connection every half minute, opens it again when it dies and reads what was +said meanwhile from the history, each message printed once (a device and nonce +pair is stored once). `chat` alone opens the interactive chat: the groups, one group's conversation IRC-style with what the node pushes arriving live, and back. **Deleting** (`rm`) is `file_delete` signed with the machine's key on the node diff --git a/docs/USERGUIDE.md b/docs/USERGUIDE.md index ded4cb1..e8bd8fb 100644 --- a/docs/USERGUIDE.md +++ b/docs/USERGUIDE.md @@ -242,6 +242,7 @@ meshbay-cli ls -l Family/photos # a group, a folder of it meshbay-cli search beach 2024 # every group at once; paths get takes meshbay-cli chat Family # the last 10 messages; -100 for 100 meshbay-cli chat Family -m "On my way" # post one (-m - reads it from stdin) +meshbay-cli chat Family --follow # then each new message, until Ctrl+C meshbay-cli chat # interactive: pick a group, talk, Esc to leave meshbay-cli get -R Family/photos/2024 # download, here; -o elsewhere meshbay-cli put -R ~/scans Family/documents |