Files
buzz/crates
morgmart defb8dc091 feat(relay): grow DMs in place, identified by their people
A DM is now identified by its people: agents never change which DM it
is and do not count toward the 9-person limit.

kind:41011 gains ["history", "include"]: the added people join this DM
with its history, and its identity moves to the grown set of people. If
a DM of those people already exists, that DM is returned instead.
Without the tag an added person starts a new DM of everyone, as before.
Agents always join in place, subject to their channel_add_policy.

kind:41010 finds the DM of the named people and adds any named agents
it lacks. DMs made before this change are still found by all members.

Only people grow DMs: an agent cannot send the history tag, its adds
start a new DM, and a DM it opens is identified by all its members.
Growing never reveals a DM the actor is not in.

Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 11:56:59 -10:00
..