@ziggs-ai/contracts 0.28.0 → 0.29.1

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/chat.d.ts CHANGED
@@ -129,6 +129,14 @@ export interface ChatReadDto {
129
129
  updatedAt: string | null;
130
130
  /** Newest-message snippet. Absent when the chat has no messages. */
131
131
  lastMessage?: ChatLastMessage;
132
+ /**
133
+ * The room's first message, so a room named after its opening line can be
134
+ * named before it is opened. Sent by the app's chat list, and absent from
135
+ * reads that do not resolve it. Null when the room has no messages, or when
136
+ * the reader's grant starts after it (a from-now grant never shows a later
137
+ * message in its place).
138
+ */
139
+ openingMessage?: ChatLastMessage | null;
132
140
  /**
133
141
  * Unread messages for the reader, capped at 99 so a badge can render "99+".
134
142
  * Attached by the list read; absent on reads that do not resolve it.
@@ -21,7 +21,6 @@ export type AgreementTerms = {
21
21
  requiredConnections: Array<unknown>;
22
22
  wakeCeiling?: number | null;
23
23
  conversationAllowance?: number | null;
24
- conversationAllowanceScope?: "direct" | "subtree";
25
24
  conversationAllowancePeriod?: "total" | "month";
26
25
  interactionMode?: "messages" | "tasks" | "both";
27
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziggs-ai/contracts",
3
- "version": "0.28.0",
3
+ "version": "0.29.1",
4
4
  "description": "Wire contracts for the Ziggs API — response shapes, error body, and socket events, shared by every client.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",