cmdop message & who
cmdop who lists your address book: every machine, hired worker, bot chat, and
group room you can reach, with the contact id
each is addressed by. cmdop message puts one message in front of any of
them, by that id.
cmdop who
cmdop message --to cid_439e9b7f38fde6e7 "what is the status?"One id addresses every kind of correspondent — the relay resolves what it names, exactly as the console does when you open that contact.
Listing correspondents
cmdop whoWith no flags, cmdop who prints the whole address book. Add --to with a
room’s contact id to list that room’s members instead — who a message there
can address:
cmdop who --to cid_8b571f6bSending a message
cmdop message --to <contact-id> "<text>"--to is required and takes the contact id of who you are messaging — a
machine, one hired worker, a bot chat, or a room. Sending to a machine or a
worker reaches it directly; sending to a room follows the room’s own rule for
who answers.
Talking to a room
Two flags only make sense on a room:
| Flag | Effect |
|---|---|
--at <name> | Narrow this message to specific room members, by name or contact id. Repeatable. |
--round | Have members answer one at a time, each seeing the replies given before it. |
cmdop message --to cid_8b571f6b --at PM2 "are you seeing this?"
cmdop message --to cid_8b571f6b --round "count off in order"--at narrows only the message it is on — the next message without it reaches
the whole room again. Sent to a machine or a single worker instead of a room,
both flags are refused rather than silently ignored, so you always know
whether narrowing actually applied.
Other flags
| Flag | Effect |
|---|---|
--json | Print one JSON object instead of a sentence. |
Related
- Group rooms — the standing multi-worker conversation these commands address.
- Roles: hiring a worker
- cmdop fleet — an interactive picker for talking to one other machine’s agent.