@ziggs-ai/contracts 0.46.1 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/messaging.d.ts +9 -0
- package/package.json +1 -1
package/dist/messaging.d.ts
CHANGED
|
@@ -13,6 +13,10 @@ export interface MessageEndpoint {
|
|
|
13
13
|
* Draws their face and, for an agent, their presence; it addresses nothing. */
|
|
14
14
|
faceId: string;
|
|
15
15
|
image: string | null;
|
|
16
|
+
/** Set when this reader is listed only because it owns an agent in the
|
|
17
|
+
* message: the ref of that agent. It reads along; it is not someone the
|
|
18
|
+
* conversation is with, so clients leave it out of titles and recipients. */
|
|
19
|
+
ownerOf?: string;
|
|
16
20
|
}
|
|
17
21
|
/** Discovery only. Sending rechecks recipient, authority, consent and allowance. */
|
|
18
22
|
export interface MessagingControls {
|
|
@@ -85,6 +89,11 @@ export interface MessageCommand {
|
|
|
85
89
|
/** One viewer-safe presentation for every message; no work/direct/shared variant. */
|
|
86
90
|
export interface MessageRecord {
|
|
87
91
|
messageId: string;
|
|
92
|
+
/** The first message of the thread this one belongs to (its own id when it
|
|
93
|
+
* replies to nothing). Set once at send from the reply link. It groups
|
|
94
|
+
* messages for display and for an agent's session; it grants nothing, and
|
|
95
|
+
* each message in the thread keeps its own readers. */
|
|
96
|
+
rootMessageId: string;
|
|
88
97
|
timestamp: string;
|
|
89
98
|
content: MessageCommand['content'];
|
|
90
99
|
sender: MessageEndpoint;
|
package/package.json
CHANGED