@happyvertical/smrt-chat 0.40.1 → 0.40.3
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/index.js +1 -1
- package/dist/manifest.json +2572 -2572
- package/dist/smrt-knowledge.json +185 -185
- package/package.json +14 -14
package/dist/smrt-knowledge.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-15T08:40:26.192Z",
|
|
4
4
|
"packageName": "@happyvertical/smrt-chat",
|
|
5
|
-
"packageVersion": "0.40.
|
|
5
|
+
"packageVersion": "0.40.3",
|
|
6
6
|
"sourceManifestPath": "dist/manifest.json",
|
|
7
7
|
"agentDocPath": "AGENTS.md",
|
|
8
8
|
"sourceHashes": {
|
|
9
|
-
"manifest": "
|
|
10
|
-
"packageJson": "
|
|
9
|
+
"manifest": "b7417b0e7a6a6e1423edef87efb6c3c790f1ac662b75732985f01bc4bf7d2744",
|
|
10
|
+
"packageJson": "66991dfdf50899a3a91a121f8bc777f73098b28d7d1a4eddb0e174a5a1473585",
|
|
11
11
|
"agents": "455e19bf34cdbe57112a63136c56e405560e3761782b8b780239ce1cc6a9b268"
|
|
12
12
|
},
|
|
13
13
|
"exports": [
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"fast-glob": "^3.3.3",
|
|
40
40
|
"svelte": "^5.56.4",
|
|
41
41
|
"svelte-check": "^4.7.1",
|
|
42
|
-
"typescript": "
|
|
43
|
-
"vite": "
|
|
44
|
-
"vitest": "
|
|
42
|
+
"typescript": "5.9.3",
|
|
43
|
+
"vite": "8.1.4",
|
|
44
|
+
"vitest": "4.1.10"
|
|
45
45
|
},
|
|
46
46
|
"smrtDependencies": [
|
|
47
47
|
"@happyvertical/smrt-agents",
|
|
@@ -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.
|
|
3
|
+
"version": "0.40.3",
|
|
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-
|
|
62
|
-
"@happyvertical/smrt-
|
|
63
|
-
"@happyvertical/smrt-
|
|
64
|
-
"@happyvertical/smrt-
|
|
65
|
-
"@happyvertical/smrt-types": "0.40.
|
|
66
|
-
"@happyvertical/smrt-ui": "0.40.
|
|
67
|
-
"@happyvertical/smrt-users": "0.40.
|
|
61
|
+
"@happyvertical/smrt-agents": "0.40.3",
|
|
62
|
+
"@happyvertical/smrt-core": "0.40.3",
|
|
63
|
+
"@happyvertical/smrt-personas": "0.40.3",
|
|
64
|
+
"@happyvertical/smrt-tenancy": "0.40.3",
|
|
65
|
+
"@happyvertical/smrt-types": "0.40.3",
|
|
66
|
+
"@happyvertical/smrt-ui": "0.40.3",
|
|
67
|
+
"@happyvertical/smrt-users": "0.40.3"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"svelte": "^5.56.4"
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
"fast-glob": "^3.3.3",
|
|
83
83
|
"svelte": "^5.56.4",
|
|
84
84
|
"svelte-check": "^4.7.1",
|
|
85
|
-
"typescript": "
|
|
86
|
-
"vite": "
|
|
87
|
-
"vitest": "
|
|
88
|
-
"@happyvertical/smrt-playground": "0.40.
|
|
89
|
-
"@happyvertical/smrt-profiles": "0.40.
|
|
90
|
-
"@happyvertical/smrt-vitest": "0.40.
|
|
85
|
+
"typescript": "5.9.3",
|
|
86
|
+
"vite": "8.1.4",
|
|
87
|
+
"vitest": "4.1.10",
|
|
88
|
+
"@happyvertical/smrt-playground": "0.40.3",
|
|
89
|
+
"@happyvertical/smrt-profiles": "0.40.3",
|
|
90
|
+
"@happyvertical/smrt-vitest": "0.40.3"
|
|
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",
|