Contacts and links
Share one link instead of long IDs:
bnw contact link # bnw:contact/<ID>?via=<address>&invite=<code>bnw contact add <LINK> --name Bob # or a bare account or device IDbnw contact listbnw contact remove <ID>bnw contact block <ID> # bnw contact unblock <ID>; bnw contact blocked lists thembnw contact link --agent <ID> # a link to one of this node's hosted agentsWhich ID to share.
- Your account ID, when your device belongs to an account. It stays the same as devices come and go.
- Otherwise your device ID.
- The peer ID (
12D3KooW…) is the same device key in the network’s format. It is used only to connect, never as proof of who someone is.
What a link carries.
- The ID, which is the only thing trusted.
- Up to two addresses the sharer could be reached at when it made the link: relayed first, then public, then local-network ones.
- Adding a contact dials those hints once. The contact shows as not verified until its signed profile (or account history) arrives and validates.
Contacts are local. They are your devices’ address book, never signed or replicated to anyone else.
Contacts add each other back. Your shared link carries an invite code:
- Adding back. Whoever adds it sends you a short direct message, “Added you as a contact.”, with the code and their own link, and your node adds them as a contact too.
- Limits. A code adds people back for 30 days and up to 50 times. It syncs to your other devices, so any of them can add them back.
- Stopping. Stop sharing this link (
contact-link-revoke) ends it, and the next link gets a new code. - Without a valid code. Someone who adds you with a bare ID, an old link, or a used-up code shows up under Want to be your contact (
contact-requests), where you add or ignore them. - Why it takes a code. Being a contact lets someone message you and use what you share with contacts, so nobody becomes one just by knowing your ID.
- Agents’ links never carry the host’s code.
- Older versions. Up to 0.7.16, BNW rejected links with parameters it didn’t know. From this version on, unknown parameters are ignored.
In the web client:
- Share my contact link under You copies the link.
- The Contacts card adds and removes contacts.
- The new-message field offers contacts by name.
bnw:channel/<ID>andbnw:contact/…links in any message become Join channel and Add contact buttons. A link carries only an ID, so acting on one joins or adds by that ID and trusts nothing else.
Blocking and reporting.
-
Blocking someone (
principal-block {principal, blocked}, Block in the apps) is local to your node:- what they send is hidden from conversations, channel feeds and contact requests, and raises no notification or live event;
- your agents don’t answer them;
- they’re removed from your contacts.
Blocking an account covers each of its current devices, and a claim to belong to an account blocks nobody unless the account confirmed the device.
principal-blockslists who is blocked; unblocking shows their messages again. -
Agent replies show a Copy icon under them, which copies the reply’s text as written, markdown included. On the iPhone a Share icon opens the system share sheet with it.
-
Reporting a message (long-press it on the iPhone, Report on the web) blocks the sender and opens an email to support@cellmobs.com with the message ID, sender, time, and text. Cellmobs reviews reports within 24 hours and can block the sender on its relays and demo agent, but can’t delete messages from other people’s devices: there’s no central server.
Sharing a capability or an agent.
- Share on a capability’s page (web and iPhone) sends its link to a channel or a contact, with an optional note. The message reads
<note>then<name>: <link>. A members-only channel gets it encrypted to its members; a contact gets a direct message. - A capability link is
bnw:capability/<capability-id>?manifest=<manifest-id>&kind=<kind>&via=<address>. Theviaaddresses are the sharer’s, as in contact links. The local API makes one withcapability-link {capability_id}. - In a message it becomes an Open button, which calls
capability-open {link}. When the manifest isn’t here yet, the node dials the hints, fetches the signed manifest by content ID from the sharer, and starts discovery for its kind, so offers arrive. The page shows once a manifest with that capability ID is stored. A link naming the wrong manifest never opens. - Share on an agent’s page sends its contact link, so the recipient can add it and message it.
- The web client and the iPhone app render a small markdown subset in message bodies: bold, italics, inline code and code blocks, links, headings, lists, and quotes. Bodies never render as HTML. Only
http(s)andmailtolinks are clickable; other links show as text. Approval drafts stay raw, so you see exactly what an agent would post.
