@openvtc/trust-tasks 0.2.6 → 0.2.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openvtc/trust-tasks",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Generated TypeScript bindings for the Trust Tasks framework registry.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -35,6 +35,14 @@ export interface ChatMessagePayload {
35
35
  * OPTIONAL. The `id` of the message this one replies to.
36
36
  */
37
37
  replyToId?: string;
38
+ /**
39
+ * OPTIONAL. True when the conversation is a group/channel, false (or absent) for a 1:1 DM. Part of the signed record so the audit chain captures where a message was sent, not just its text.
40
+ */
41
+ isGroup?: boolean;
42
+ /**
43
+ * OPTIONAL. Platform-confirmed signal that this (inbound) message addresses the agent — e.g. an @-mention of the agent, or any DM. Lets a group-aware consumer decide whether a group message is for it without agent-name heuristics. Distinct from `mentions`, which lists the participants referenced in the body. Outbound messages leave this absent/false.
44
+ */
45
+ isMention?: boolean;
38
46
  prev?: ChainLink;
39
47
  /**
40
48
  * RFC 3339 timestamp the author asserts for this message.