From 47583c5e405f3011a526df73cc9485c46598f214 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Thu, 15 Oct 2026 01:35:09 +0200 Subject: feat(cli): chat — read a group's last messages, post one MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chat GROUP prints the last ten messages, oldest first (-N, as head -N, or -n N for another count, paging back past the node's 200), and -m posts one (- reads it from stdin). The application's construction: every epoch key from chat_keys_req, a post sealed under the current epoch through the device subkey and signed with this machine's key on the node, the sender's name inside the envelope; nothing sent past the node's ciphertext bound. A stored message is read signature first, then key, then content, and one that fails is shown as unreadable, never dropped. Not done here: the Tier 2 roster check on the signing device. Co-Authored-By: Claude Opus 5.5 --- docs/USERGUIDE.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/USERGUIDE.md') diff --git a/docs/USERGUIDE.md b/docs/USERGUIDE.md index 1fcf0ff..dcda9f1 100644 --- a/docs/USERGUIDE.md +++ b/docs/USERGUIDE.md @@ -240,6 +240,8 @@ meshbay-cli login -u alice # asks for the passphrase meshbay-cli groups # your groups, their node, your role 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 get -R Family/photos/2024 # download, here; -o elsewhere meshbay-cli put -R ~/scans Family/documents meshbay-cli rm Family/documents/old-draft.odt # asks first; --yes in a script -- cgit v1.2.3