@happyvertical/smrt-chat 0.40.1 → 0.40.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.
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-07-15T06:57:53.250Z",
3
+ "generatedAt": "2026-07-15T07:45:04.606Z",
4
4
  "packageName": "@happyvertical/smrt-chat",
5
- "packageVersion": "0.40.1",
5
+ "packageVersion": "0.40.2",
6
6
  "sourceManifestPath": "dist/manifest.json",
7
7
  "agentDocPath": "AGENTS.md",
8
8
  "sourceHashes": {
9
- "manifest": "b970cc947e0bdf2218b7ce42ecabb2009df55877339dff0b7bc02864b8134293",
10
- "packageJson": "ad3c7a797ed5c6e1242ff6b9ec0e6f4cf66bdbb7e9a3a8cd5ea501b23d51144f",
9
+ "manifest": "8f05173d41eee131ed63b9a38677df318509daa3f34d6263aaf9fd122aa87827",
10
+ "packageJson": "077c87c5e194584dfe7478fe4e5bbaff2a45014c5c6946f47c2ff035ccad581f",
11
11
  "agents": "455e19bf34cdbe57112a63136c56e405560e3761782b8b780239ce1cc6a9b268"
12
12
  },
13
13
  "exports": [
@@ -62,6 +62,184 @@
62
62
  "tags": [],
63
63
  "risks": [],
64
64
  "objects": [
65
+ {
66
+ "name": "AgentSessionCollection",
67
+ "qualifiedName": "@happyvertical/smrt-chat:AgentSessionCollection",
68
+ "collection": "agentsessions",
69
+ "tableName": "agent_sessions",
70
+ "packageName": "@happyvertical/smrt-chat",
71
+ "extends": "SmrtCollection",
72
+ "fields": [],
73
+ "relationships": [],
74
+ "methods": [
75
+ "expireStale",
76
+ "findActiveByParticipant",
77
+ "findActiveSession",
78
+ "findByAgent",
79
+ "findOrCreate"
80
+ ],
81
+ "surfaces": [],
82
+ "relationshipFeatures": [
83
+ "uuidColumns"
84
+ ],
85
+ "tags": [],
86
+ "risks": []
87
+ },
88
+ {
89
+ "name": "ChatMessageCollection",
90
+ "qualifiedName": "@happyvertical/smrt-chat:ChatMessageCollection",
91
+ "collection": "chatmessages",
92
+ "tableName": "chat_messages",
93
+ "packageName": "@happyvertical/smrt-chat",
94
+ "extends": "SmrtCollection",
95
+ "fields": [],
96
+ "relationships": [],
97
+ "methods": [
98
+ "getByAgentSession",
99
+ "getByRoom",
100
+ "getByThread",
101
+ "getLatestPerRoom",
102
+ "getUnreadCount",
103
+ "search"
104
+ ],
105
+ "surfaces": [],
106
+ "relationshipFeatures": [
107
+ "uuidColumns"
108
+ ],
109
+ "tags": [],
110
+ "risks": []
111
+ },
112
+ {
113
+ "name": "ChatParticipantCollection",
114
+ "qualifiedName": "@happyvertical/smrt-chat:ChatParticipantCollection",
115
+ "collection": "chatparticipants",
116
+ "tableName": "chat_participants",
117
+ "packageName": "@happyvertical/smrt-chat",
118
+ "extends": "SmrtCollection",
119
+ "fields": [],
120
+ "relationships": [],
121
+ "methods": [
122
+ "countInRoom",
123
+ "findActiveMembership",
124
+ "findMembership",
125
+ "getAdminsInRoom",
126
+ "getByProfile",
127
+ "getByRoom",
128
+ "getOnlineInRoom",
129
+ "isActiveMember"
130
+ ],
131
+ "surfaces": [],
132
+ "relationshipFeatures": [
133
+ "uuidColumns"
134
+ ],
135
+ "tags": [],
136
+ "risks": []
137
+ },
138
+ {
139
+ "name": "ChatReactionCollection",
140
+ "qualifiedName": "@happyvertical/smrt-chat:ChatReactionCollection",
141
+ "collection": "chatreactions",
142
+ "tableName": "chat_reactions",
143
+ "packageName": "@happyvertical/smrt-chat",
144
+ "extends": "SmrtCollection",
145
+ "fields": [],
146
+ "relationships": [],
147
+ "methods": [
148
+ "getByMessage",
149
+ "getReactionCounts",
150
+ "toggle"
151
+ ],
152
+ "surfaces": [],
153
+ "relationshipFeatures": [
154
+ "uuidColumns"
155
+ ],
156
+ "tags": [],
157
+ "risks": []
158
+ },
159
+ {
160
+ "name": "ChatRoomCollection",
161
+ "qualifiedName": "@happyvertical/smrt-chat:ChatRoomCollection",
162
+ "collection": "chatrooms",
163
+ "tableName": "chat_rooms",
164
+ "packageName": "@happyvertical/smrt-chat",
165
+ "extends": "SmrtCollection",
166
+ "fields": [],
167
+ "relationships": [],
168
+ "methods": [
169
+ "findAgentRooms",
170
+ "findByType",
171
+ "findDMs",
172
+ "findOrCreateDM",
173
+ "findPublic",
174
+ "search"
175
+ ],
176
+ "surfaces": [],
177
+ "relationshipFeatures": [
178
+ "uuidColumns"
179
+ ],
180
+ "tags": [],
181
+ "risks": []
182
+ },
183
+ {
184
+ "name": "ChatThreadCollection",
185
+ "qualifiedName": "@happyvertical/smrt-chat:ChatThreadCollection",
186
+ "collection": "chatthreads",
187
+ "tableName": "chat_threads",
188
+ "packageName": "@happyvertical/smrt-chat",
189
+ "extends": "SmrtCollection",
190
+ "fields": [],
191
+ "relationships": [],
192
+ "methods": [
193
+ "getActive",
194
+ "getByRoom",
195
+ "getUnresolved"
196
+ ],
197
+ "surfaces": [],
198
+ "relationshipFeatures": [
199
+ "uuidColumns"
200
+ ],
201
+ "tags": [],
202
+ "risks": []
203
+ },
204
+ {
205
+ "name": "VoiceGatewayTurnCollection",
206
+ "qualifiedName": "@happyvertical/smrt-chat:VoiceGatewayTurnCollection",
207
+ "collection": "voicegatewayturns",
208
+ "tableName": "voice_gateway_turns",
209
+ "packageName": "@happyvertical/smrt-chat",
210
+ "extends": "SmrtCollection",
211
+ "fields": [],
212
+ "relationships": [],
213
+ "methods": [
214
+ "reserveTurn"
215
+ ],
216
+ "surfaces": [],
217
+ "relationshipFeatures": [
218
+ "uuidColumns"
219
+ ],
220
+ "tags": [],
221
+ "risks": []
222
+ },
223
+ {
224
+ "name": "VoiceSessionCollection",
225
+ "qualifiedName": "@happyvertical/smrt-chat:VoiceSessionCollection",
226
+ "collection": "voicesessions",
227
+ "tableName": "voice_sessions",
228
+ "packageName": "@happyvertical/smrt-chat",
229
+ "extends": "SmrtCollection",
230
+ "fields": [],
231
+ "relationships": [],
232
+ "methods": [
233
+ "expireStale",
234
+ "getActiveById"
235
+ ],
236
+ "surfaces": [],
237
+ "relationshipFeatures": [
238
+ "uuidColumns"
239
+ ],
240
+ "tags": [],
241
+ "risks": []
242
+ },
65
243
  {
66
244
  "name": "AgentSession",
67
245
  "qualifiedName": "@happyvertical/smrt-chat:AgentSession",
@@ -1403,184 +1581,6 @@
1403
1581
  ],
1404
1582
  "tags": [],
1405
1583
  "risks": []
1406
- },
1407
- {
1408
- "name": "AgentSessionCollection",
1409
- "qualifiedName": "@happyvertical/smrt-chat:AgentSessionCollection",
1410
- "collection": "agentsessions",
1411
- "tableName": "agent_sessions",
1412
- "packageName": "@happyvertical/smrt-chat",
1413
- "extends": "SmrtCollection",
1414
- "fields": [],
1415
- "relationships": [],
1416
- "methods": [
1417
- "expireStale",
1418
- "findActiveByParticipant",
1419
- "findActiveSession",
1420
- "findByAgent",
1421
- "findOrCreate"
1422
- ],
1423
- "surfaces": [],
1424
- "relationshipFeatures": [
1425
- "uuidColumns"
1426
- ],
1427
- "tags": [],
1428
- "risks": []
1429
- },
1430
- {
1431
- "name": "ChatMessageCollection",
1432
- "qualifiedName": "@happyvertical/smrt-chat:ChatMessageCollection",
1433
- "collection": "chatmessages",
1434
- "tableName": "chat_messages",
1435
- "packageName": "@happyvertical/smrt-chat",
1436
- "extends": "SmrtCollection",
1437
- "fields": [],
1438
- "relationships": [],
1439
- "methods": [
1440
- "getByAgentSession",
1441
- "getByRoom",
1442
- "getByThread",
1443
- "getLatestPerRoom",
1444
- "getUnreadCount",
1445
- "search"
1446
- ],
1447
- "surfaces": [],
1448
- "relationshipFeatures": [
1449
- "uuidColumns"
1450
- ],
1451
- "tags": [],
1452
- "risks": []
1453
- },
1454
- {
1455
- "name": "ChatParticipantCollection",
1456
- "qualifiedName": "@happyvertical/smrt-chat:ChatParticipantCollection",
1457
- "collection": "chatparticipants",
1458
- "tableName": "chat_participants",
1459
- "packageName": "@happyvertical/smrt-chat",
1460
- "extends": "SmrtCollection",
1461
- "fields": [],
1462
- "relationships": [],
1463
- "methods": [
1464
- "countInRoom",
1465
- "findActiveMembership",
1466
- "findMembership",
1467
- "getAdminsInRoom",
1468
- "getByProfile",
1469
- "getByRoom",
1470
- "getOnlineInRoom",
1471
- "isActiveMember"
1472
- ],
1473
- "surfaces": [],
1474
- "relationshipFeatures": [
1475
- "uuidColumns"
1476
- ],
1477
- "tags": [],
1478
- "risks": []
1479
- },
1480
- {
1481
- "name": "ChatReactionCollection",
1482
- "qualifiedName": "@happyvertical/smrt-chat:ChatReactionCollection",
1483
- "collection": "chatreactions",
1484
- "tableName": "chat_reactions",
1485
- "packageName": "@happyvertical/smrt-chat",
1486
- "extends": "SmrtCollection",
1487
- "fields": [],
1488
- "relationships": [],
1489
- "methods": [
1490
- "getByMessage",
1491
- "getReactionCounts",
1492
- "toggle"
1493
- ],
1494
- "surfaces": [],
1495
- "relationshipFeatures": [
1496
- "uuidColumns"
1497
- ],
1498
- "tags": [],
1499
- "risks": []
1500
- },
1501
- {
1502
- "name": "ChatRoomCollection",
1503
- "qualifiedName": "@happyvertical/smrt-chat:ChatRoomCollection",
1504
- "collection": "chatrooms",
1505
- "tableName": "chat_rooms",
1506
- "packageName": "@happyvertical/smrt-chat",
1507
- "extends": "SmrtCollection",
1508
- "fields": [],
1509
- "relationships": [],
1510
- "methods": [
1511
- "findAgentRooms",
1512
- "findByType",
1513
- "findDMs",
1514
- "findOrCreateDM",
1515
- "findPublic",
1516
- "search"
1517
- ],
1518
- "surfaces": [],
1519
- "relationshipFeatures": [
1520
- "uuidColumns"
1521
- ],
1522
- "tags": [],
1523
- "risks": []
1524
- },
1525
- {
1526
- "name": "ChatThreadCollection",
1527
- "qualifiedName": "@happyvertical/smrt-chat:ChatThreadCollection",
1528
- "collection": "chatthreads",
1529
- "tableName": "chat_threads",
1530
- "packageName": "@happyvertical/smrt-chat",
1531
- "extends": "SmrtCollection",
1532
- "fields": [],
1533
- "relationships": [],
1534
- "methods": [
1535
- "getActive",
1536
- "getByRoom",
1537
- "getUnresolved"
1538
- ],
1539
- "surfaces": [],
1540
- "relationshipFeatures": [
1541
- "uuidColumns"
1542
- ],
1543
- "tags": [],
1544
- "risks": []
1545
- },
1546
- {
1547
- "name": "VoiceGatewayTurnCollection",
1548
- "qualifiedName": "@happyvertical/smrt-chat:VoiceGatewayTurnCollection",
1549
- "collection": "voicegatewayturns",
1550
- "tableName": "voice_gateway_turns",
1551
- "packageName": "@happyvertical/smrt-chat",
1552
- "extends": "SmrtCollection",
1553
- "fields": [],
1554
- "relationships": [],
1555
- "methods": [
1556
- "reserveTurn"
1557
- ],
1558
- "surfaces": [],
1559
- "relationshipFeatures": [
1560
- "uuidColumns"
1561
- ],
1562
- "tags": [],
1563
- "risks": []
1564
- },
1565
- {
1566
- "name": "VoiceSessionCollection",
1567
- "qualifiedName": "@happyvertical/smrt-chat:VoiceSessionCollection",
1568
- "collection": "voicesessions",
1569
- "tableName": "voice_sessions",
1570
- "packageName": "@happyvertical/smrt-chat",
1571
- "extends": "SmrtCollection",
1572
- "fields": [],
1573
- "relationships": [],
1574
- "methods": [
1575
- "expireStale",
1576
- "getActiveById"
1577
- ],
1578
- "surfaces": [],
1579
- "relationshipFeatures": [
1580
- "uuidColumns"
1581
- ],
1582
- "tags": [],
1583
- "risks": []
1584
1584
  }
1585
1585
  ],
1586
1586
  "surfaces": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-chat",
3
- "version": "0.40.1",
3
+ "version": "0.40.2",
4
4
  "description": "Chat rooms, DMs, threads, and agent conversations for the SMRT framework",
5
5
  "type": "module",
6
6
  "smrtRawPrimitives": "strict",
@@ -58,13 +58,13 @@
58
58
  "dependencies": {
59
59
  "@happyvertical/ai": "^0.80.0",
60
60
  "@happyvertical/sql": "^0.80.0",
61
- "@happyvertical/smrt-core": "0.40.1",
62
- "@happyvertical/smrt-agents": "0.40.1",
63
- "@happyvertical/smrt-tenancy": "0.40.1",
64
- "@happyvertical/smrt-personas": "0.40.1",
65
- "@happyvertical/smrt-types": "0.40.1",
66
- "@happyvertical/smrt-ui": "0.40.1",
67
- "@happyvertical/smrt-users": "0.40.1"
61
+ "@happyvertical/smrt-agents": "0.40.2",
62
+ "@happyvertical/smrt-core": "0.40.2",
63
+ "@happyvertical/smrt-personas": "0.40.2",
64
+ "@happyvertical/smrt-tenancy": "0.40.2",
65
+ "@happyvertical/smrt-types": "0.40.2",
66
+ "@happyvertical/smrt-ui": "0.40.2",
67
+ "@happyvertical/smrt-users": "0.40.2"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "svelte": "^5.56.4"
@@ -85,9 +85,9 @@
85
85
  "typescript": "^5.9.3",
86
86
  "vite": "^8.1.3",
87
87
  "vitest": "^4.1.9",
88
- "@happyvertical/smrt-playground": "0.40.1",
89
- "@happyvertical/smrt-profiles": "0.40.1",
90
- "@happyvertical/smrt-vitest": "0.40.1"
88
+ "@happyvertical/smrt-playground": "0.40.2",
89
+ "@happyvertical/smrt-profiles": "0.40.2",
90
+ "@happyvertical/smrt-vitest": "0.40.2"
91
91
  },
92
92
  "scripts": {
93
93
  "build": "SMRT_PACKAGE_BUILD=1 vite build --mode library && SMRT_PACKAGE_BUILD=1 svelte-package -i src/svelte -o dist/svelte --tsconfig tsconfig.svelte.json",