@company-semantics/contracts 0.61.0 → 0.61.2

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": "@company-semantics/contracts",
3
- "version": "0.61.0",
3
+ "version": "0.61.2",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/src/chat/types.ts CHANGED
@@ -25,7 +25,8 @@ export type ChatVisibility = 'private' | 'public'
25
25
  */
26
26
  export interface ChatSummary {
27
27
  id: string
28
- title: string
28
+ /** Title - null means intentionally untitled (title not yet generated) */
29
+ title: string | null
29
30
  messageCount: number
30
31
  createdAt: string
31
32
  updatedAt: string
package/src/index.ts CHANGED
@@ -149,8 +149,34 @@ export type {
149
149
  SharedChatMessage,
150
150
  CreateShareRequest,
151
151
  UpdateShareRequest,
152
- // Chat lifecycle events (server-first navigation)
152
+ // Chat lifecycle types
153
+ ChatStatus,
154
+ TitleSource,
155
+ ChatListFilters,
156
+ ChatSummaryExtended,
157
+ TitleGenerationRequest,
158
+ TitleGenerationResponse,
159
+ // Event system types
160
+ BaseEvent,
161
+ InvalidationReason,
162
+ ChatChangedField,
163
+ // Domain events (carry full state)
153
164
  ChatCreatedEvent,
165
+ ChatUpdatedEvent,
166
+ ChatDeletedEvent,
167
+ ChatDomainEvent,
168
+ // Invalidation events (staleness signals)
169
+ InvalidateChatEvent,
170
+ InvalidateChatListEvent,
171
+ ChatInvalidationEvent,
172
+ // SSE event unions
173
+ ChatSseEvent,
174
+ ChatUpdateEvent,
175
+ // Legacy types (deprecated, for migration)
176
+ LegacyChatCreatedEvent,
177
+ LegacyChatInvalidatedEvent,
178
+ LegacyChatListInvalidatedEvent,
179
+ LegacyChatSseEvent,
154
180
  } from './chat/index'
155
181
 
156
182
  // Organization domain types