@happyvertical/smrt-agents 0.44.1 → 0.45.0

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.
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-agents",
6
- "packageVersion": "0.44.1",
6
+ "packageVersion": "0.45.0",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "d3ac77e2bb0c6e453ad4d87f3796c491f934aa9c07d8288113b81f14b5591170",
11
- "packageJson": "6b4b7d9d86adbad7652daf17144eb26421620bc26390588ea8f52b4a573dfc52",
10
+ "manifest": "0ed3aac25a2ffd0b47b7f873ad635cd219e804a84d6914971f4285c93a64dd78",
11
+ "packageJson": "4513cb3d97c5dc7e5f4ab30f7badfff4dccdbd3f6597104b7192b2626d184f80",
12
12
  "agents": "14f3cf361f649432fe871988e13c8382fed295d2bd16f47a4502433322a5d8ed"
13
13
  },
14
14
  "exports": [
@@ -109,139 +109,30 @@
109
109
  ],
110
110
  "relationships": [],
111
111
  "methods": [
112
- "_setLoadedRelationship",
113
- "claimRevision",
114
- "classifyConstraintError",
115
- "clearEmbeddings",
116
- "delete",
117
- "describe",
118
- "destroy",
119
- "do",
120
112
  "execute",
121
- "executeToolCall",
122
113
  "exportConfig",
123
- "forget",
124
- "forgetScope",
125
- "generateEmbeddings",
126
- "getAiUsageSnapshot",
127
- "getAvailableTools",
128
114
  "getConfigOwnerId",
129
115
  "getDispatch",
130
116
  "getDispatchSubscriber",
131
- "getEmbedding",
132
- "getFields",
133
- "getId",
134
117
  "getInstanceKey",
135
118
  "getLearningMemory",
136
119
  "getMergedConfig",
137
- "getRelated",
138
- "getSavedId",
139
- "getSlug",
140
120
  "getUISlots",
141
121
  "handleDispatch",
142
- "hasStaleEmbeddings",
143
122
  "initialize",
144
123
  "interesting",
145
- "is",
146
- "isRelatedLoaded",
147
- "isSaved",
148
- "listAiUsage",
149
124
  "loadConfigs",
150
- "loadDataFromDb",
151
- "loadFromId",
152
- "loadFromSlug",
153
- "loadRelated",
154
- "loadRelatedMany",
155
- "markAsPersisted",
156
125
  "processDispatches",
157
- "recall",
158
- "recallAll",
159
- "remember",
160
- "requireInsertOnSave",
161
- "resetAiUsage",
162
- "save",
163
126
  "saveSlotConfig",
164
127
  "shutdown",
165
- "summarizeAiUsage",
166
- "toJSON",
167
- "toPlainObject",
168
- "toPublicJSON",
169
- "validate",
170
- "withDatabase",
171
- "withTransaction"
128
+ "validate"
172
129
  ],
173
130
  "methodSignatures": [
174
- {
175
- "name": "_setLoadedRelationship",
176
- "params": [
177
- "fieldName: string",
178
- "value: any"
179
- ],
180
- "returns": "void"
181
- },
182
- {
183
- "name": "claimRevision",
184
- "async": true,
185
- "params": [
186
- "expectedUpdatedAt: Date | string"
187
- ],
188
- "returns": "Promise"
189
- },
190
- {
191
- "name": "classifyConstraintError",
192
- "static": true,
193
- "params": [
194
- "message: string"
195
- ],
196
- "returns": "'unique' | 'not_null' | null"
197
- },
198
- {
199
- "name": "clearEmbeddings",
200
- "async": true,
201
- "returns": "Promise<void>"
202
- },
203
- {
204
- "name": "delete",
205
- "async": true,
206
- "params": [
207
- "options?: SmrtDeleteOptions"
208
- ],
209
- "returns": "Promise<void>"
210
- },
211
- {
212
- "name": "describe",
213
- "async": true,
214
- "params": [
215
- "options?: AiOperationOptions"
216
- ],
217
- "returns": "any"
218
- },
219
- {
220
- "name": "destroy",
221
- "returns": "void"
222
- },
223
- {
224
- "name": "do",
225
- "async": true,
226
- "params": [
227
- "instructions: string",
228
- "options?: AiOperationOptions"
229
- ],
230
- "returns": "any"
231
- },
232
131
  {
233
132
  "name": "execute",
234
133
  "async": true,
235
134
  "returns": "Promise<void>"
236
135
  },
237
- {
238
- "name": "executeToolCall",
239
- "async": true,
240
- "params": [
241
- "toolCall: ToolCall"
242
- ],
243
- "returns": "Promise<ToolCallResult>"
244
- },
245
136
  {
246
137
  "name": "exportConfig",
247
138
  "async": true,
@@ -250,38 +141,6 @@
250
141
  ],
251
142
  "returns": "Promise<Record<string>>"
252
143
  },
253
- {
254
- "name": "forget",
255
- "async": true,
256
- "params": [
257
- "options: object"
258
- ],
259
- "returns": "Promise<void>"
260
- },
261
- {
262
- "name": "forgetScope",
263
- "async": true,
264
- "params": [
265
- "options: object"
266
- ],
267
- "returns": "Promise<number>"
268
- },
269
- {
270
- "name": "generateEmbeddings",
271
- "async": true,
272
- "params": [
273
- "options?: GenerateEmbeddingsOptions"
274
- ],
275
- "returns": "Promise<void>"
276
- },
277
- {
278
- "name": "getAiUsageSnapshot",
279
- "returns": "AiUsageSnapshot | undefined"
280
- },
281
- {
282
- "name": "getAvailableTools",
283
- "returns": "AITool[]"
284
- },
285
144
  {
286
145
  "name": "getConfigOwnerId",
287
146
  "params": [
@@ -298,25 +157,6 @@
298
157
  "name": "getDispatchSubscriber",
299
158
  "returns": "string"
300
159
  },
301
- {
302
- "name": "getEmbedding",
303
- "async": true,
304
- "params": [
305
- "fieldName: string",
306
- "model?: string"
307
- ],
308
- "returns": "Promise<number[] | null>"
309
- },
310
- {
311
- "name": "getFields",
312
- "async": true,
313
- "returns": "Promise<any>"
314
- },
315
- {
316
- "name": "getId",
317
- "async": true,
318
- "returns": "any"
319
- },
320
160
  {
321
161
  "name": "getInstanceKey",
322
162
  "returns": "string | null"
@@ -333,25 +173,6 @@
333
173
  ],
334
174
  "returns": "Promise<Record<string>>"
335
175
  },
336
- {
337
- "name": "getRelated",
338
- "async": true,
339
- "params": [
340
- "fieldName: string",
341
- "opts?: LoadRelatedOptions"
342
- ],
343
- "returns": "Promise<any>"
344
- },
345
- {
346
- "name": "getSavedId",
347
- "async": true,
348
- "returns": "any"
349
- },
350
- {
351
- "name": "getSlug",
352
- "async": true,
353
- "returns": "any"
354
- },
355
176
  {
356
177
  "name": "getUISlots",
357
178
  "returns": "AgentUISlots"
@@ -365,11 +186,6 @@
365
186
  ],
366
187
  "returns": "Promise<void>"
367
188
  },
368
- {
369
- "name": "hasStaleEmbeddings",
370
- "async": true,
371
- "returns": "Promise<boolean>"
372
- },
373
189
  {
374
190
  "name": "initialize",
375
191
  "async": true,
@@ -380,125 +196,16 @@
380
196
  "async": true,
381
197
  "returns": "Promise<InterestResult[]>"
382
198
  },
383
- {
384
- "name": "is",
385
- "async": true,
386
- "params": [
387
- "criteria: string",
388
- "options?: AiOperationOptions"
389
- ],
390
- "returns": "any"
391
- },
392
- {
393
- "name": "isRelatedLoaded",
394
- "params": [
395
- "fieldName: string"
396
- ],
397
- "returns": "boolean"
398
- },
399
- {
400
- "name": "isSaved",
401
- "async": true,
402
- "returns": "any"
403
- },
404
- {
405
- "name": "listAiUsage",
406
- "async": true,
407
- "params": [
408
- "options?: AiUsageListOptions"
409
- ],
410
- "returns": "Promise<SmrtAiUsageRecord[]>"
411
- },
412
199
  {
413
200
  "name": "loadConfigs",
414
201
  "async": true,
415
202
  "returns": "Promise<Map<string, Record<string>>>"
416
203
  },
417
- {
418
- "name": "loadDataFromDb",
419
- "async": true,
420
- "params": [
421
- "data: Record<string>"
422
- ],
423
- "returns": "any"
424
- },
425
- {
426
- "name": "loadFromId",
427
- "async": true,
428
- "returns": "any"
429
- },
430
- {
431
- "name": "loadFromSlug",
432
- "async": true,
433
- "returns": "any"
434
- },
435
- {
436
- "name": "loadRelated",
437
- "async": true,
438
- "params": [
439
- "fieldName: string",
440
- "opts?: LoadRelatedOptions"
441
- ],
442
- "returns": "Promise<any>"
443
- },
444
- {
445
- "name": "loadRelatedMany",
446
- "async": true,
447
- "params": [
448
- "fieldName: string",
449
- "opts?: LoadRelatedOptions"
450
- ],
451
- "returns": "Promise<any[]>"
452
- },
453
- {
454
- "name": "markAsPersisted",
455
- "returns": "void"
456
- },
457
204
  {
458
205
  "name": "processDispatches",
459
206
  "async": true,
460
207
  "returns": "Promise<number>"
461
208
  },
462
- {
463
- "name": "recall",
464
- "async": true,
465
- "params": [
466
- "options: object"
467
- ],
468
- "returns": "Promise"
469
- },
470
- {
471
- "name": "recallAll",
472
- "async": true,
473
- "params": [
474
- "options?: object"
475
- ],
476
- "returns": "Promise<Map<string>>"
477
- },
478
- {
479
- "name": "remember",
480
- "async": true,
481
- "params": [
482
- "options: object"
483
- ],
484
- "returns": "Promise<void>"
485
- },
486
- {
487
- "name": "requireInsertOnSave",
488
- "returns": "void"
489
- },
490
- {
491
- "name": "resetAiUsage",
492
- "returns": "void"
493
- },
494
- {
495
- "name": "save",
496
- "async": true,
497
- "params": [
498
- "options?: SmrtSaveOptions"
499
- ],
500
- "returns": "any"
501
- },
502
209
  {
503
210
  "name": "saveSlotConfig",
504
211
  "async": true,
@@ -513,50 +220,10 @@
513
220
  "async": true,
514
221
  "returns": "Promise<void>"
515
222
  },
516
- {
517
- "name": "summarizeAiUsage",
518
- "async": true,
519
- "params": [
520
- "options?: AiUsageSummaryOptions"
521
- ],
522
- "returns": "Promise<Record<string, AiUsageStats>>"
523
- },
524
- {
525
- "name": "toJSON",
526
- "returns": "any"
527
- },
528
- {
529
- "name": "toPlainObject",
530
- "returns": "Record<string>"
531
- },
532
- {
533
- "name": "toPublicJSON",
534
- "params": [
535
- "options?: PublicJsonOptions"
536
- ],
537
- "returns": "Record<string>"
538
- },
539
223
  {
540
224
  "name": "validate",
541
225
  "async": true,
542
226
  "returns": "Promise<void>"
543
- },
544
- {
545
- "name": "withDatabase",
546
- "async": true,
547
- "params": [
548
- "db: DatabaseInterface",
549
- "operation: Function"
550
- ],
551
- "returns": "Promise<T>"
552
- },
553
- {
554
- "name": "withTransaction",
555
- "async": true,
556
- "params": [
557
- "operation: Function"
558
- ],
559
- "returns": "Promise<T>"
560
227
  }
561
228
  ],
562
229
  "tenant": {
@@ -748,6 +415,30 @@
748
415
  "operation": "delete",
749
416
  "objectName": "@happyvertical/smrt-agents:AgentConfig"
750
417
  },
418
+ {
419
+ "kind": "cli",
420
+ "name": "agentconfig_forAgent",
421
+ "operation": "forAgent",
422
+ "objectName": "@happyvertical/smrt-agents:AgentConfig"
423
+ },
424
+ {
425
+ "kind": "cli",
426
+ "name": "agentconfig_forAgents",
427
+ "operation": "forAgents",
428
+ "objectName": "@happyvertical/smrt-agents:AgentConfig"
429
+ },
430
+ {
431
+ "kind": "cli",
432
+ "name": "agentconfig_forSlot",
433
+ "operation": "forSlot",
434
+ "objectName": "@happyvertical/smrt-agents:AgentConfig"
435
+ },
436
+ {
437
+ "kind": "cli",
438
+ "name": "agentconfig_saveSlot",
439
+ "operation": "saveSlot",
440
+ "objectName": "@happyvertical/smrt-agents:AgentConfig"
441
+ },
751
442
  {
752
443
  "kind": "mcp",
753
444
  "name": "agentconfig_list",
@@ -804,7 +495,68 @@
804
495
  "returns": "Promise<AgentConfig[]>"
805
496
  }
806
497
  ],
807
- "surfaces": [],
498
+ "surfaces": [
499
+ {
500
+ "kind": "api",
501
+ "name": "agentconfigs.findByTenant",
502
+ "operation": "findByTenant",
503
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection",
504
+ "path": "/agentconfigs/findByTenant",
505
+ "method": "POST"
506
+ },
507
+ {
508
+ "kind": "api",
509
+ "name": "agentconfigs.findGlobal",
510
+ "operation": "findGlobal",
511
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection",
512
+ "path": "/agentconfigs/findGlobal",
513
+ "method": "POST"
514
+ },
515
+ {
516
+ "kind": "api",
517
+ "name": "agentconfigs.findWithGlobals",
518
+ "operation": "findWithGlobals",
519
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection",
520
+ "path": "/agentconfigs/findWithGlobals",
521
+ "method": "POST"
522
+ },
523
+ {
524
+ "kind": "cli",
525
+ "name": "agentconfigcollection_findByTenant",
526
+ "operation": "findByTenant",
527
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection"
528
+ },
529
+ {
530
+ "kind": "cli",
531
+ "name": "agentconfigcollection_findGlobal",
532
+ "operation": "findGlobal",
533
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection"
534
+ },
535
+ {
536
+ "kind": "cli",
537
+ "name": "agentconfigcollection_findWithGlobals",
538
+ "operation": "findWithGlobals",
539
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection"
540
+ },
541
+ {
542
+ "kind": "mcp",
543
+ "name": "agentconfigcollection_findbytenant",
544
+ "operation": "findByTenant",
545
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection"
546
+ },
547
+ {
548
+ "kind": "mcp",
549
+ "name": "agentconfigcollection_findglobal",
550
+ "operation": "findGlobal",
551
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection"
552
+ },
553
+ {
554
+ "kind": "mcp",
555
+ "name": "agentconfigcollection_findwithglobals",
556
+ "operation": "findWithGlobals",
557
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection"
558
+ }
559
+ ],
808
560
  "relationshipFeatures": [
809
561
  "uuidColumns"
810
562
  ],
@@ -1148,7 +900,108 @@
1148
900
  "returns": "Promise<AgentSchedule[]>"
1149
901
  }
1150
902
  ],
1151
- "surfaces": [],
903
+ "surfaces": [
904
+ {
905
+ "kind": "api",
906
+ "name": "agentschedules.findByTenant",
907
+ "operation": "findByTenant",
908
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection",
909
+ "path": "/agentschedules/findByTenant",
910
+ "method": "POST"
911
+ },
912
+ {
913
+ "kind": "api",
914
+ "name": "agentschedules.findGlobal",
915
+ "operation": "findGlobal",
916
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection",
917
+ "path": "/agentschedules/findGlobal",
918
+ "method": "POST"
919
+ },
920
+ {
921
+ "kind": "api",
922
+ "name": "agentschedules.findWithGlobals",
923
+ "operation": "findWithGlobals",
924
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection",
925
+ "path": "/agentschedules/findWithGlobals",
926
+ "method": "POST"
927
+ },
928
+ {
929
+ "kind": "api",
930
+ "name": "agentschedules.listByStatus",
931
+ "operation": "listByStatus",
932
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection",
933
+ "path": "/agentschedules/listByStatus",
934
+ "method": "POST"
935
+ },
936
+ {
937
+ "kind": "api",
938
+ "name": "agentschedules.listByAgentType",
939
+ "operation": "listByAgentType",
940
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection",
941
+ "path": "/agentschedules/listByAgentType",
942
+ "method": "POST"
943
+ },
944
+ {
945
+ "kind": "cli",
946
+ "name": "agentschedulecollection_findByTenant",
947
+ "operation": "findByTenant",
948
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
949
+ },
950
+ {
951
+ "kind": "cli",
952
+ "name": "agentschedulecollection_findGlobal",
953
+ "operation": "findGlobal",
954
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
955
+ },
956
+ {
957
+ "kind": "cli",
958
+ "name": "agentschedulecollection_findWithGlobals",
959
+ "operation": "findWithGlobals",
960
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
961
+ },
962
+ {
963
+ "kind": "cli",
964
+ "name": "agentschedulecollection_listByStatus",
965
+ "operation": "listByStatus",
966
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
967
+ },
968
+ {
969
+ "kind": "cli",
970
+ "name": "agentschedulecollection_listByAgentType",
971
+ "operation": "listByAgentType",
972
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
973
+ },
974
+ {
975
+ "kind": "mcp",
976
+ "name": "agentschedulecollection_findbytenant",
977
+ "operation": "findByTenant",
978
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
979
+ },
980
+ {
981
+ "kind": "mcp",
982
+ "name": "agentschedulecollection_findglobal",
983
+ "operation": "findGlobal",
984
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
985
+ },
986
+ {
987
+ "kind": "mcp",
988
+ "name": "agentschedulecollection_findwithglobals",
989
+ "operation": "findWithGlobals",
990
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
991
+ },
992
+ {
993
+ "kind": "mcp",
994
+ "name": "agentschedulecollection_listbystatus",
995
+ "operation": "listByStatus",
996
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
997
+ },
998
+ {
999
+ "kind": "mcp",
1000
+ "name": "agentschedulecollection_listbyagenttype",
1001
+ "operation": "listByAgentType",
1002
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
1003
+ }
1004
+ ],
1152
1005
  "relationshipFeatures": [
1153
1006
  "uuidColumns"
1154
1007
  ],
@@ -1346,7 +1199,128 @@
1346
1199
  "returns": "Promise<TenantAgent>"
1347
1200
  }
1348
1201
  ],
1349
- "surfaces": [],
1202
+ "surfaces": [
1203
+ {
1204
+ "kind": "api",
1205
+ "name": "tenantagents.resolveForTenant",
1206
+ "operation": "resolveForTenant",
1207
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
1208
+ "path": "/tenantagents/resolveForTenant",
1209
+ "method": "POST"
1210
+ },
1211
+ {
1212
+ "kind": "api",
1213
+ "name": "tenantagents.enableAgent",
1214
+ "operation": "enableAgent",
1215
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
1216
+ "path": "/tenantagents/enableAgent",
1217
+ "method": "POST"
1218
+ },
1219
+ {
1220
+ "kind": "api",
1221
+ "name": "tenantagents.disableAgent",
1222
+ "operation": "disableAgent",
1223
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
1224
+ "path": "/tenantagents/disableAgent",
1225
+ "method": "POST"
1226
+ },
1227
+ {
1228
+ "kind": "api",
1229
+ "name": "tenantagents.clearOverride",
1230
+ "operation": "clearOverride",
1231
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
1232
+ "path": "/tenantagents/clearOverride",
1233
+ "method": "POST"
1234
+ },
1235
+ {
1236
+ "kind": "api",
1237
+ "name": "tenantagents.setPermissions",
1238
+ "operation": "setPermissions",
1239
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
1240
+ "path": "/tenantagents/setPermissions",
1241
+ "method": "POST"
1242
+ },
1243
+ {
1244
+ "kind": "api",
1245
+ "name": "tenantagents.findByTenantAndClass",
1246
+ "operation": "findByTenantAndClass",
1247
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
1248
+ "path": "/tenantagents/findByTenantAndClass",
1249
+ "method": "POST"
1250
+ },
1251
+ {
1252
+ "kind": "cli",
1253
+ "name": "tenantagentcollection_resolveForTenant",
1254
+ "operation": "resolveForTenant",
1255
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1256
+ },
1257
+ {
1258
+ "kind": "cli",
1259
+ "name": "tenantagentcollection_enableAgent",
1260
+ "operation": "enableAgent",
1261
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1262
+ },
1263
+ {
1264
+ "kind": "cli",
1265
+ "name": "tenantagentcollection_disableAgent",
1266
+ "operation": "disableAgent",
1267
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1268
+ },
1269
+ {
1270
+ "kind": "cli",
1271
+ "name": "tenantagentcollection_clearOverride",
1272
+ "operation": "clearOverride",
1273
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1274
+ },
1275
+ {
1276
+ "kind": "cli",
1277
+ "name": "tenantagentcollection_setPermissions",
1278
+ "operation": "setPermissions",
1279
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1280
+ },
1281
+ {
1282
+ "kind": "cli",
1283
+ "name": "tenantagentcollection_findByTenantAndClass",
1284
+ "operation": "findByTenantAndClass",
1285
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1286
+ },
1287
+ {
1288
+ "kind": "mcp",
1289
+ "name": "tenantagentcollection_resolvefortenant",
1290
+ "operation": "resolveForTenant",
1291
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1292
+ },
1293
+ {
1294
+ "kind": "mcp",
1295
+ "name": "tenantagentcollection_enableagent",
1296
+ "operation": "enableAgent",
1297
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1298
+ },
1299
+ {
1300
+ "kind": "mcp",
1301
+ "name": "tenantagentcollection_disableagent",
1302
+ "operation": "disableAgent",
1303
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1304
+ },
1305
+ {
1306
+ "kind": "mcp",
1307
+ "name": "tenantagentcollection_clearoverride",
1308
+ "operation": "clearOverride",
1309
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1310
+ },
1311
+ {
1312
+ "kind": "mcp",
1313
+ "name": "tenantagentcollection_setpermissions",
1314
+ "operation": "setPermissions",
1315
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1316
+ },
1317
+ {
1318
+ "kind": "mcp",
1319
+ "name": "tenantagentcollection_findbytenantandclass",
1320
+ "operation": "findByTenantAndClass",
1321
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1322
+ }
1323
+ ],
1350
1324
  "relationshipFeatures": [
1351
1325
  "uuidColumns"
1352
1326
  ],
@@ -1425,6 +1399,30 @@
1425
1399
  "operation": "delete",
1426
1400
  "objectName": "@happyvertical/smrt-agents:AgentConfig"
1427
1401
  },
1402
+ {
1403
+ "kind": "cli",
1404
+ "name": "agentconfig_forAgent",
1405
+ "operation": "forAgent",
1406
+ "objectName": "@happyvertical/smrt-agents:AgentConfig"
1407
+ },
1408
+ {
1409
+ "kind": "cli",
1410
+ "name": "agentconfig_forAgents",
1411
+ "operation": "forAgents",
1412
+ "objectName": "@happyvertical/smrt-agents:AgentConfig"
1413
+ },
1414
+ {
1415
+ "kind": "cli",
1416
+ "name": "agentconfig_forSlot",
1417
+ "operation": "forSlot",
1418
+ "objectName": "@happyvertical/smrt-agents:AgentConfig"
1419
+ },
1420
+ {
1421
+ "kind": "cli",
1422
+ "name": "agentconfig_saveSlot",
1423
+ "operation": "saveSlot",
1424
+ "objectName": "@happyvertical/smrt-agents:AgentConfig"
1425
+ },
1428
1426
  {
1429
1427
  "kind": "mcp",
1430
1428
  "name": "agentconfig_list",
@@ -1437,6 +1435,66 @@
1437
1435
  "operation": "get",
1438
1436
  "objectName": "@happyvertical/smrt-agents:AgentConfig"
1439
1437
  },
1438
+ {
1439
+ "kind": "api",
1440
+ "name": "agentconfigs.findByTenant",
1441
+ "operation": "findByTenant",
1442
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection",
1443
+ "path": "/agentconfigs/findByTenant",
1444
+ "method": "POST"
1445
+ },
1446
+ {
1447
+ "kind": "api",
1448
+ "name": "agentconfigs.findGlobal",
1449
+ "operation": "findGlobal",
1450
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection",
1451
+ "path": "/agentconfigs/findGlobal",
1452
+ "method": "POST"
1453
+ },
1454
+ {
1455
+ "kind": "api",
1456
+ "name": "agentconfigs.findWithGlobals",
1457
+ "operation": "findWithGlobals",
1458
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection",
1459
+ "path": "/agentconfigs/findWithGlobals",
1460
+ "method": "POST"
1461
+ },
1462
+ {
1463
+ "kind": "cli",
1464
+ "name": "agentconfigcollection_findByTenant",
1465
+ "operation": "findByTenant",
1466
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection"
1467
+ },
1468
+ {
1469
+ "kind": "cli",
1470
+ "name": "agentconfigcollection_findGlobal",
1471
+ "operation": "findGlobal",
1472
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection"
1473
+ },
1474
+ {
1475
+ "kind": "cli",
1476
+ "name": "agentconfigcollection_findWithGlobals",
1477
+ "operation": "findWithGlobals",
1478
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection"
1479
+ },
1480
+ {
1481
+ "kind": "mcp",
1482
+ "name": "agentconfigcollection_findbytenant",
1483
+ "operation": "findByTenant",
1484
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection"
1485
+ },
1486
+ {
1487
+ "kind": "mcp",
1488
+ "name": "agentconfigcollection_findglobal",
1489
+ "operation": "findGlobal",
1490
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection"
1491
+ },
1492
+ {
1493
+ "kind": "mcp",
1494
+ "name": "agentconfigcollection_findwithglobals",
1495
+ "operation": "findWithGlobals",
1496
+ "objectName": "@happyvertical/smrt-agents:AgentConfigCollection"
1497
+ },
1440
1498
  {
1441
1499
  "kind": "api",
1442
1500
  "name": "agentschedules.list",
@@ -1531,6 +1589,106 @@
1531
1589
  "operation": "get",
1532
1590
  "objectName": "@happyvertical/smrt-agents:AgentSchedule"
1533
1591
  },
1592
+ {
1593
+ "kind": "api",
1594
+ "name": "agentschedules.findByTenant",
1595
+ "operation": "findByTenant",
1596
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection",
1597
+ "path": "/agentschedules/findByTenant",
1598
+ "method": "POST"
1599
+ },
1600
+ {
1601
+ "kind": "api",
1602
+ "name": "agentschedules.findGlobal",
1603
+ "operation": "findGlobal",
1604
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection",
1605
+ "path": "/agentschedules/findGlobal",
1606
+ "method": "POST"
1607
+ },
1608
+ {
1609
+ "kind": "api",
1610
+ "name": "agentschedules.findWithGlobals",
1611
+ "operation": "findWithGlobals",
1612
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection",
1613
+ "path": "/agentschedules/findWithGlobals",
1614
+ "method": "POST"
1615
+ },
1616
+ {
1617
+ "kind": "api",
1618
+ "name": "agentschedules.listByStatus",
1619
+ "operation": "listByStatus",
1620
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection",
1621
+ "path": "/agentschedules/listByStatus",
1622
+ "method": "POST"
1623
+ },
1624
+ {
1625
+ "kind": "api",
1626
+ "name": "agentschedules.listByAgentType",
1627
+ "operation": "listByAgentType",
1628
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection",
1629
+ "path": "/agentschedules/listByAgentType",
1630
+ "method": "POST"
1631
+ },
1632
+ {
1633
+ "kind": "cli",
1634
+ "name": "agentschedulecollection_findByTenant",
1635
+ "operation": "findByTenant",
1636
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
1637
+ },
1638
+ {
1639
+ "kind": "cli",
1640
+ "name": "agentschedulecollection_findGlobal",
1641
+ "operation": "findGlobal",
1642
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
1643
+ },
1644
+ {
1645
+ "kind": "cli",
1646
+ "name": "agentschedulecollection_findWithGlobals",
1647
+ "operation": "findWithGlobals",
1648
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
1649
+ },
1650
+ {
1651
+ "kind": "cli",
1652
+ "name": "agentschedulecollection_listByStatus",
1653
+ "operation": "listByStatus",
1654
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
1655
+ },
1656
+ {
1657
+ "kind": "cli",
1658
+ "name": "agentschedulecollection_listByAgentType",
1659
+ "operation": "listByAgentType",
1660
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
1661
+ },
1662
+ {
1663
+ "kind": "mcp",
1664
+ "name": "agentschedulecollection_findbytenant",
1665
+ "operation": "findByTenant",
1666
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
1667
+ },
1668
+ {
1669
+ "kind": "mcp",
1670
+ "name": "agentschedulecollection_findglobal",
1671
+ "operation": "findGlobal",
1672
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
1673
+ },
1674
+ {
1675
+ "kind": "mcp",
1676
+ "name": "agentschedulecollection_findwithglobals",
1677
+ "operation": "findWithGlobals",
1678
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
1679
+ },
1680
+ {
1681
+ "kind": "mcp",
1682
+ "name": "agentschedulecollection_listbystatus",
1683
+ "operation": "listByStatus",
1684
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
1685
+ },
1686
+ {
1687
+ "kind": "mcp",
1688
+ "name": "agentschedulecollection_listbyagenttype",
1689
+ "operation": "listByAgentType",
1690
+ "objectName": "@happyvertical/smrt-agents:AgentScheduleCollection"
1691
+ },
1534
1692
  {
1535
1693
  "kind": "api",
1536
1694
  "name": "tenantagents.list",
@@ -1594,6 +1752,126 @@
1594
1752
  "name": "tenantagent_get",
1595
1753
  "operation": "get",
1596
1754
  "objectName": "@happyvertical/smrt-agents:TenantAgent"
1755
+ },
1756
+ {
1757
+ "kind": "api",
1758
+ "name": "tenantagents.resolveForTenant",
1759
+ "operation": "resolveForTenant",
1760
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
1761
+ "path": "/tenantagents/resolveForTenant",
1762
+ "method": "POST"
1763
+ },
1764
+ {
1765
+ "kind": "api",
1766
+ "name": "tenantagents.enableAgent",
1767
+ "operation": "enableAgent",
1768
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
1769
+ "path": "/tenantagents/enableAgent",
1770
+ "method": "POST"
1771
+ },
1772
+ {
1773
+ "kind": "api",
1774
+ "name": "tenantagents.disableAgent",
1775
+ "operation": "disableAgent",
1776
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
1777
+ "path": "/tenantagents/disableAgent",
1778
+ "method": "POST"
1779
+ },
1780
+ {
1781
+ "kind": "api",
1782
+ "name": "tenantagents.clearOverride",
1783
+ "operation": "clearOverride",
1784
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
1785
+ "path": "/tenantagents/clearOverride",
1786
+ "method": "POST"
1787
+ },
1788
+ {
1789
+ "kind": "api",
1790
+ "name": "tenantagents.setPermissions",
1791
+ "operation": "setPermissions",
1792
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
1793
+ "path": "/tenantagents/setPermissions",
1794
+ "method": "POST"
1795
+ },
1796
+ {
1797
+ "kind": "api",
1798
+ "name": "tenantagents.findByTenantAndClass",
1799
+ "operation": "findByTenantAndClass",
1800
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
1801
+ "path": "/tenantagents/findByTenantAndClass",
1802
+ "method": "POST"
1803
+ },
1804
+ {
1805
+ "kind": "cli",
1806
+ "name": "tenantagentcollection_resolveForTenant",
1807
+ "operation": "resolveForTenant",
1808
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1809
+ },
1810
+ {
1811
+ "kind": "cli",
1812
+ "name": "tenantagentcollection_enableAgent",
1813
+ "operation": "enableAgent",
1814
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1815
+ },
1816
+ {
1817
+ "kind": "cli",
1818
+ "name": "tenantagentcollection_disableAgent",
1819
+ "operation": "disableAgent",
1820
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1821
+ },
1822
+ {
1823
+ "kind": "cli",
1824
+ "name": "tenantagentcollection_clearOverride",
1825
+ "operation": "clearOverride",
1826
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1827
+ },
1828
+ {
1829
+ "kind": "cli",
1830
+ "name": "tenantagentcollection_setPermissions",
1831
+ "operation": "setPermissions",
1832
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1833
+ },
1834
+ {
1835
+ "kind": "cli",
1836
+ "name": "tenantagentcollection_findByTenantAndClass",
1837
+ "operation": "findByTenantAndClass",
1838
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1839
+ },
1840
+ {
1841
+ "kind": "mcp",
1842
+ "name": "tenantagentcollection_resolvefortenant",
1843
+ "operation": "resolveForTenant",
1844
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1845
+ },
1846
+ {
1847
+ "kind": "mcp",
1848
+ "name": "tenantagentcollection_enableagent",
1849
+ "operation": "enableAgent",
1850
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1851
+ },
1852
+ {
1853
+ "kind": "mcp",
1854
+ "name": "tenantagentcollection_disableagent",
1855
+ "operation": "disableAgent",
1856
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1857
+ },
1858
+ {
1859
+ "kind": "mcp",
1860
+ "name": "tenantagentcollection_clearoverride",
1861
+ "operation": "clearOverride",
1862
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1863
+ },
1864
+ {
1865
+ "kind": "mcp",
1866
+ "name": "tenantagentcollection_setpermissions",
1867
+ "operation": "setPermissions",
1868
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1869
+ },
1870
+ {
1871
+ "kind": "mcp",
1872
+ "name": "tenantagentcollection_findbytenantandclass",
1873
+ "operation": "findByTenantAndClass",
1874
+ "objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
1597
1875
  }
1598
1876
  ],
1599
1877
  "prompts": [],