@happyvertical/smrt-facts 0.44.0 → 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-facts",
6
- "packageVersion": "0.44.0",
6
+ "packageVersion": "0.45.0",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "db254fd8633d75aa4b85dd9d8e8fee481a999be5e92597281a39a8b93fe7fc99",
11
- "packageJson": "0e0715e5095e45f85ca2773d2bd904fb6492749b8683455d8779ed7ad0d8ce41",
10
+ "manifest": "e0a213a74864f7dc71de64ee856e9a3ead955ba98a813e5779f9c9e56394649a",
11
+ "packageJson": "e6b8a72292d5c62f3d509c99c5565419885a51c2ed82f6df2a72ff6b17a2b0c0",
12
12
  "agents": "3dff097c8282b094889f06247bdab664e75e54c85c4025219c82007f57b3a1bd"
13
13
  },
14
14
  "exports": [
@@ -227,6 +227,36 @@
227
227
  "operation": "delete",
228
228
  "objectName": "@happyvertical/smrt-facts:FactContent"
229
229
  },
230
+ {
231
+ "kind": "cli",
232
+ "name": "factcontent_getRelationship",
233
+ "operation": "getRelationship",
234
+ "objectName": "@happyvertical/smrt-facts:FactContent"
235
+ },
236
+ {
237
+ "kind": "cli",
238
+ "name": "factcontent_getMetadata",
239
+ "operation": "getMetadata",
240
+ "objectName": "@happyvertical/smrt-facts:FactContent"
241
+ },
242
+ {
243
+ "kind": "cli",
244
+ "name": "factcontent_setMetadata",
245
+ "operation": "setMetadata",
246
+ "objectName": "@happyvertical/smrt-facts:FactContent"
247
+ },
248
+ {
249
+ "kind": "cli",
250
+ "name": "factcontent_updateMetadata",
251
+ "operation": "updateMetadata",
252
+ "objectName": "@happyvertical/smrt-facts:FactContent"
253
+ },
254
+ {
255
+ "kind": "cli",
256
+ "name": "factcontent_getFact",
257
+ "operation": "getFact",
258
+ "objectName": "@happyvertical/smrt-facts:FactContent"
259
+ },
230
260
  {
231
261
  "kind": "mcp",
232
262
  "name": "factcontent_list",
@@ -344,7 +374,168 @@
344
374
  "returns": "Promise<void>"
345
375
  }
346
376
  ],
347
- "surfaces": [],
377
+ "surfaces": [
378
+ {
379
+ "kind": "api",
380
+ "name": "factcontents.byLeft",
381
+ "operation": "byLeft",
382
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
383
+ "path": "/factcontents/byLeft",
384
+ "method": "POST"
385
+ },
386
+ {
387
+ "kind": "api",
388
+ "name": "factcontents.byRight",
389
+ "operation": "byRight",
390
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
391
+ "path": "/factcontents/byRight",
392
+ "method": "POST"
393
+ },
394
+ {
395
+ "kind": "api",
396
+ "name": "factcontents.attach",
397
+ "operation": "attach",
398
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
399
+ "path": "/factcontents/attach",
400
+ "method": "POST"
401
+ },
402
+ {
403
+ "kind": "api",
404
+ "name": "factcontents.detach",
405
+ "operation": "detach",
406
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
407
+ "path": "/factcontents/detach",
408
+ "method": "POST"
409
+ },
410
+ {
411
+ "kind": "api",
412
+ "name": "factcontents.setLinks",
413
+ "operation": "setLinks",
414
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
415
+ "path": "/factcontents/setLinks",
416
+ "method": "POST"
417
+ },
418
+ {
419
+ "kind": "api",
420
+ "name": "factcontents.findByTenant",
421
+ "operation": "findByTenant",
422
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
423
+ "path": "/factcontents/findByTenant",
424
+ "method": "POST"
425
+ },
426
+ {
427
+ "kind": "api",
428
+ "name": "factcontents.findGlobal",
429
+ "operation": "findGlobal",
430
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
431
+ "path": "/factcontents/findGlobal",
432
+ "method": "POST"
433
+ },
434
+ {
435
+ "kind": "api",
436
+ "name": "factcontents.findWithGlobals",
437
+ "operation": "findWithGlobals",
438
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
439
+ "path": "/factcontents/findWithGlobals",
440
+ "method": "POST"
441
+ },
442
+ {
443
+ "kind": "cli",
444
+ "name": "factcontentcollection_byLeft",
445
+ "operation": "byLeft",
446
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
447
+ },
448
+ {
449
+ "kind": "cli",
450
+ "name": "factcontentcollection_byRight",
451
+ "operation": "byRight",
452
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
453
+ },
454
+ {
455
+ "kind": "cli",
456
+ "name": "factcontentcollection_attach",
457
+ "operation": "attach",
458
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
459
+ },
460
+ {
461
+ "kind": "cli",
462
+ "name": "factcontentcollection_detach",
463
+ "operation": "detach",
464
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
465
+ },
466
+ {
467
+ "kind": "cli",
468
+ "name": "factcontentcollection_setLinks",
469
+ "operation": "setLinks",
470
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
471
+ },
472
+ {
473
+ "kind": "cli",
474
+ "name": "factcontentcollection_findByTenant",
475
+ "operation": "findByTenant",
476
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
477
+ },
478
+ {
479
+ "kind": "cli",
480
+ "name": "factcontentcollection_findGlobal",
481
+ "operation": "findGlobal",
482
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
483
+ },
484
+ {
485
+ "kind": "cli",
486
+ "name": "factcontentcollection_findWithGlobals",
487
+ "operation": "findWithGlobals",
488
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
489
+ },
490
+ {
491
+ "kind": "mcp",
492
+ "name": "factcontentcollection_byleft",
493
+ "operation": "byLeft",
494
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
495
+ },
496
+ {
497
+ "kind": "mcp",
498
+ "name": "factcontentcollection_byright",
499
+ "operation": "byRight",
500
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
501
+ },
502
+ {
503
+ "kind": "mcp",
504
+ "name": "factcontentcollection_attach",
505
+ "operation": "attach",
506
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
507
+ },
508
+ {
509
+ "kind": "mcp",
510
+ "name": "factcontentcollection_detach",
511
+ "operation": "detach",
512
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
513
+ },
514
+ {
515
+ "kind": "mcp",
516
+ "name": "factcontentcollection_setlinks",
517
+ "operation": "setLinks",
518
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
519
+ },
520
+ {
521
+ "kind": "mcp",
522
+ "name": "factcontentcollection_findbytenant",
523
+ "operation": "findByTenant",
524
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
525
+ },
526
+ {
527
+ "kind": "mcp",
528
+ "name": "factcontentcollection_findglobal",
529
+ "operation": "findGlobal",
530
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
531
+ },
532
+ {
533
+ "kind": "mcp",
534
+ "name": "factcontentcollection_findwithglobals",
535
+ "operation": "findWithGlobals",
536
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
537
+ }
538
+ ],
348
539
  "relationshipFeatures": [
349
540
  "SmrtJunction",
350
541
  "uuidColumns"
@@ -569,6 +760,24 @@
569
760
  "operation": "delete",
570
761
  "objectName": "@happyvertical/smrt-facts:FactEvidence"
571
762
  },
763
+ {
764
+ "kind": "cli",
765
+ "name": "factevidence_getMetadata",
766
+ "operation": "getMetadata",
767
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
768
+ },
769
+ {
770
+ "kind": "cli",
771
+ "name": "factevidence_setMetadata",
772
+ "operation": "setMetadata",
773
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
774
+ },
775
+ {
776
+ "kind": "cli",
777
+ "name": "factevidence_updateMetadata",
778
+ "operation": "updateMetadata",
779
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
780
+ },
572
781
  {
573
782
  "kind": "mcp",
574
783
  "name": "factevidence_list",
@@ -666,7 +875,128 @@
666
875
  "returns": "Promise<FactEvidence>"
667
876
  }
668
877
  ],
669
- "surfaces": [],
878
+ "surfaces": [
879
+ {
880
+ "kind": "api",
881
+ "name": "factevidences.getForFact",
882
+ "operation": "getForFact",
883
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection",
884
+ "path": "/factevidences/getForFact",
885
+ "method": "POST"
886
+ },
887
+ {
888
+ "kind": "api",
889
+ "name": "factevidences.getForSource",
890
+ "operation": "getForSource",
891
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection",
892
+ "path": "/factevidences/getForSource",
893
+ "method": "POST"
894
+ },
895
+ {
896
+ "kind": "api",
897
+ "name": "factevidences.getForSources",
898
+ "operation": "getForSources",
899
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection",
900
+ "path": "/factevidences/getForSources",
901
+ "method": "POST"
902
+ },
903
+ {
904
+ "kind": "api",
905
+ "name": "factevidences.bulkUpdateStatus",
906
+ "operation": "bulkUpdateStatus",
907
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection",
908
+ "path": "/factevidences/bulkUpdateStatus",
909
+ "method": "POST"
910
+ },
911
+ {
912
+ "kind": "api",
913
+ "name": "factevidences.replaceGeneratedForSources",
914
+ "operation": "replaceGeneratedForSources",
915
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection",
916
+ "path": "/factevidences/replaceGeneratedForSources",
917
+ "method": "POST"
918
+ },
919
+ {
920
+ "kind": "api",
921
+ "name": "factevidences.upsertEvidence",
922
+ "operation": "upsertEvidence",
923
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection",
924
+ "path": "/factevidences/upsertEvidence",
925
+ "method": "POST"
926
+ },
927
+ {
928
+ "kind": "cli",
929
+ "name": "factevidencecollection_getForFact",
930
+ "operation": "getForFact",
931
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
932
+ },
933
+ {
934
+ "kind": "cli",
935
+ "name": "factevidencecollection_getForSource",
936
+ "operation": "getForSource",
937
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
938
+ },
939
+ {
940
+ "kind": "cli",
941
+ "name": "factevidencecollection_getForSources",
942
+ "operation": "getForSources",
943
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
944
+ },
945
+ {
946
+ "kind": "cli",
947
+ "name": "factevidencecollection_bulkUpdateStatus",
948
+ "operation": "bulkUpdateStatus",
949
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
950
+ },
951
+ {
952
+ "kind": "cli",
953
+ "name": "factevidencecollection_replaceGeneratedForSources",
954
+ "operation": "replaceGeneratedForSources",
955
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
956
+ },
957
+ {
958
+ "kind": "cli",
959
+ "name": "factevidencecollection_upsertEvidence",
960
+ "operation": "upsertEvidence",
961
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
962
+ },
963
+ {
964
+ "kind": "mcp",
965
+ "name": "factevidencecollection_getforfact",
966
+ "operation": "getForFact",
967
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
968
+ },
969
+ {
970
+ "kind": "mcp",
971
+ "name": "factevidencecollection_getforsource",
972
+ "operation": "getForSource",
973
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
974
+ },
975
+ {
976
+ "kind": "mcp",
977
+ "name": "factevidencecollection_getforsources",
978
+ "operation": "getForSources",
979
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
980
+ },
981
+ {
982
+ "kind": "mcp",
983
+ "name": "factevidencecollection_bulkupdatestatus",
984
+ "operation": "bulkUpdateStatus",
985
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
986
+ },
987
+ {
988
+ "kind": "mcp",
989
+ "name": "factevidencecollection_replacegeneratedforsources",
990
+ "operation": "replaceGeneratedForSources",
991
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
992
+ },
993
+ {
994
+ "kind": "mcp",
995
+ "name": "factevidencecollection_upsertevidence",
996
+ "operation": "upsertEvidence",
997
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
998
+ }
999
+ ],
670
1000
  "relationshipFeatures": [
671
1001
  "uuidColumns"
672
1002
  ],
@@ -770,445 +1100,133 @@
770
1100
  }
771
1101
  ],
772
1102
  "methods": [
773
- "_setLoadedRelationship",
774
- "claimRevision",
775
- "classifyConstraintError",
776
- "clearEmbeddings",
777
- "delete",
778
- "describe",
779
- "destroy",
780
- "do",
781
- "executeToolCall",
782
- "forget",
783
- "forgetScope",
784
- "generateEmbeddings",
785
- "getAiUsageSnapshot",
786
- "getAvailableTools",
787
- "getEmbedding",
788
1103
  "getFact",
789
- "getFields",
790
- "getId",
791
1104
  "getMetadata",
792
- "getRelated",
793
- "getSavedId",
794
- "getSlug",
795
- "hasStaleEmbeddings",
796
- "initialize",
797
- "is",
798
- "isRelatedLoaded",
799
- "isSaved",
800
- "listAiUsage",
801
- "loadDataFromDb",
802
- "loadFromId",
803
- "loadFromSlug",
804
- "loadRelated",
805
- "loadRelatedMany",
806
- "markAsPersisted",
807
- "recall",
808
- "recallAll",
809
- "remember",
810
- "requireInsertOnSave",
811
- "resetAiUsage",
812
- "save",
813
1105
  "setMetadata",
814
- "summarizeAiUsage",
815
- "toJSON",
816
- "toPlainObject",
817
- "toPublicJSON",
818
- "updateMetadata",
819
- "withDatabase",
820
- "withTransaction"
1106
+ "updateMetadata"
821
1107
  ],
822
1108
  "methodSignatures": [
823
1109
  {
824
- "name": "_setLoadedRelationship",
825
- "params": [
826
- "fieldName: string",
827
- "value: any"
828
- ],
829
- "returns": "void"
1110
+ "name": "getFact",
1111
+ "async": true,
1112
+ "returns": "Promise<null>"
830
1113
  },
831
1114
  {
832
- "name": "claimRevision",
833
- "async": true,
1115
+ "name": "getMetadata",
1116
+ "returns": "Record<string>"
1117
+ },
1118
+ {
1119
+ "name": "setMetadata",
834
1120
  "params": [
835
- "expectedUpdatedAt: Date | string"
1121
+ "data: Record<string>"
836
1122
  ],
837
- "returns": "Promise"
1123
+ "returns": "void"
838
1124
  },
839
1125
  {
840
- "name": "classifyConstraintError",
841
- "static": true,
1126
+ "name": "updateMetadata",
842
1127
  "params": [
843
- "message: string"
1128
+ "updates: Record<string>"
844
1129
  ],
845
- "returns": "'unique' | 'not_null' | null"
1130
+ "returns": "void"
1131
+ }
1132
+ ],
1133
+ "tenant": {
1134
+ "scoped": true,
1135
+ "mode": "optional",
1136
+ "field": "tenantId"
1137
+ },
1138
+ "tableStrategy": "sti",
1139
+ "conflictColumns": [
1140
+ "tenant_id",
1141
+ "slug",
1142
+ "context",
1143
+ "_meta_type"
1144
+ ],
1145
+ "surfaces": [
1146
+ {
1147
+ "kind": "api",
1148
+ "name": "factsources.list",
1149
+ "operation": "list",
1150
+ "objectName": "@happyvertical/smrt-facts:FactSource",
1151
+ "path": "/factsources",
1152
+ "method": "GET"
846
1153
  },
847
1154
  {
848
- "name": "clearEmbeddings",
849
- "async": true,
850
- "returns": "Promise<void>"
1155
+ "kind": "api",
1156
+ "name": "factsources.get",
1157
+ "operation": "get",
1158
+ "objectName": "@happyvertical/smrt-facts:FactSource",
1159
+ "path": "/factsources/[id]",
1160
+ "method": "GET"
851
1161
  },
852
1162
  {
853
- "name": "delete",
854
- "async": true,
855
- "returns": "Promise<void>"
1163
+ "kind": "api",
1164
+ "name": "factsources.create",
1165
+ "operation": "create",
1166
+ "objectName": "@happyvertical/smrt-facts:FactSource",
1167
+ "path": "/factsources",
1168
+ "method": "POST"
856
1169
  },
857
1170
  {
858
- "name": "describe",
859
- "async": true,
860
- "params": [
861
- "options?: AiOperationOptions"
862
- ],
863
- "returns": "any"
1171
+ "kind": "api",
1172
+ "name": "factsources.delete",
1173
+ "operation": "delete",
1174
+ "objectName": "@happyvertical/smrt-facts:FactSource",
1175
+ "path": "/factsources/[id]",
1176
+ "method": "DELETE"
864
1177
  },
865
1178
  {
866
- "name": "destroy",
867
- "returns": "void"
1179
+ "kind": "cli",
1180
+ "name": "factsource_list",
1181
+ "operation": "list",
1182
+ "objectName": "@happyvertical/smrt-facts:FactSource"
868
1183
  },
869
1184
  {
870
- "name": "do",
871
- "async": true,
872
- "params": [
873
- "instructions: string",
874
- "options?: AiOperationOptions"
875
- ],
876
- "returns": "any"
1185
+ "kind": "cli",
1186
+ "name": "factsource_get",
1187
+ "operation": "get",
1188
+ "objectName": "@happyvertical/smrt-facts:FactSource"
877
1189
  },
878
1190
  {
879
- "name": "executeToolCall",
880
- "async": true,
881
- "params": [
882
- "toolCall: ToolCall"
883
- ],
884
- "returns": "Promise<ToolCallResult>"
885
- },
886
- {
887
- "name": "forget",
888
- "async": true,
889
- "params": [
890
- "options: object"
891
- ],
892
- "returns": "Promise<void>"
893
- },
894
- {
895
- "name": "forgetScope",
896
- "async": true,
897
- "params": [
898
- "options: object"
899
- ],
900
- "returns": "Promise<number>"
901
- },
902
- {
903
- "name": "generateEmbeddings",
904
- "async": true,
905
- "params": [
906
- "options?: GenerateEmbeddingsOptions"
907
- ],
908
- "returns": "Promise<void>"
909
- },
910
- {
911
- "name": "getAiUsageSnapshot",
912
- "returns": "AiUsageSnapshot | undefined"
913
- },
914
- {
915
- "name": "getAvailableTools",
916
- "returns": "AITool[]"
917
- },
918
- {
919
- "name": "getEmbedding",
920
- "async": true,
921
- "params": [
922
- "fieldName: string",
923
- "model?: string"
924
- ],
925
- "returns": "Promise<number[] | null>"
926
- },
927
- {
928
- "name": "getFact",
929
- "async": true,
930
- "returns": "Promise<null>"
931
- },
932
- {
933
- "name": "getFields",
934
- "async": true,
935
- "returns": "Promise<any>"
936
- },
937
- {
938
- "name": "getId",
939
- "async": true,
940
- "returns": "any"
941
- },
942
- {
943
- "name": "getMetadata",
944
- "returns": "Record<string>"
945
- },
946
- {
947
- "name": "getRelated",
948
- "async": true,
949
- "params": [
950
- "fieldName: string",
951
- "opts?: LoadRelatedOptions"
952
- ],
953
- "returns": "Promise<any>"
954
- },
955
- {
956
- "name": "getSavedId",
957
- "async": true,
958
- "returns": "any"
959
- },
960
- {
961
- "name": "getSlug",
962
- "async": true,
963
- "returns": "any"
964
- },
965
- {
966
- "name": "hasStaleEmbeddings",
967
- "async": true,
968
- "returns": "Promise<boolean>"
969
- },
970
- {
971
- "name": "initialize",
972
- "async": true,
973
- "returns": "Promise"
974
- },
975
- {
976
- "name": "is",
977
- "async": true,
978
- "params": [
979
- "criteria: string",
980
- "options?: AiOperationOptions"
981
- ],
982
- "returns": "any"
983
- },
984
- {
985
- "name": "isRelatedLoaded",
986
- "params": [
987
- "fieldName: string"
988
- ],
989
- "returns": "boolean"
990
- },
991
- {
992
- "name": "isSaved",
993
- "async": true,
994
- "returns": "any"
995
- },
996
- {
997
- "name": "listAiUsage",
998
- "async": true,
999
- "params": [
1000
- "options?: AiUsageListOptions"
1001
- ],
1002
- "returns": "Promise<SmrtAiUsageRecord[]>"
1003
- },
1004
- {
1005
- "name": "loadDataFromDb",
1006
- "async": true,
1007
- "params": [
1008
- "data: Record<string>"
1009
- ],
1010
- "returns": "any"
1011
- },
1012
- {
1013
- "name": "loadFromId",
1014
- "async": true,
1015
- "returns": "any"
1016
- },
1017
- {
1018
- "name": "loadFromSlug",
1019
- "async": true,
1020
- "returns": "any"
1021
- },
1022
- {
1023
- "name": "loadRelated",
1024
- "async": true,
1025
- "params": [
1026
- "fieldName: string",
1027
- "opts?: LoadRelatedOptions"
1028
- ],
1029
- "returns": "Promise<any>"
1030
- },
1031
- {
1032
- "name": "loadRelatedMany",
1033
- "async": true,
1034
- "params": [
1035
- "fieldName: string",
1036
- "opts?: LoadRelatedOptions"
1037
- ],
1038
- "returns": "Promise<any[]>"
1039
- },
1040
- {
1041
- "name": "markAsPersisted",
1042
- "returns": "void"
1043
- },
1044
- {
1045
- "name": "recall",
1046
- "async": true,
1047
- "params": [
1048
- "options: object"
1049
- ],
1050
- "returns": "Promise"
1051
- },
1052
- {
1053
- "name": "recallAll",
1054
- "async": true,
1055
- "params": [
1056
- "options?: object"
1057
- ],
1058
- "returns": "Promise<Map<string>>"
1059
- },
1060
- {
1061
- "name": "remember",
1062
- "async": true,
1063
- "params": [
1064
- "options: object"
1065
- ],
1066
- "returns": "Promise<void>"
1067
- },
1068
- {
1069
- "name": "requireInsertOnSave",
1070
- "returns": "void"
1071
- },
1072
- {
1073
- "name": "resetAiUsage",
1074
- "returns": "void"
1075
- },
1076
- {
1077
- "name": "save",
1078
- "async": true,
1079
- "params": [
1080
- "options?: SmrtSaveOptions"
1081
- ],
1082
- "returns": "any"
1083
- },
1084
- {
1085
- "name": "setMetadata",
1086
- "params": [
1087
- "data: Record<string>"
1088
- ],
1089
- "returns": "void"
1090
- },
1091
- {
1092
- "name": "summarizeAiUsage",
1093
- "async": true,
1094
- "params": [
1095
- "options?: AiUsageSummaryOptions"
1096
- ],
1097
- "returns": "Promise<Record<string, AiUsageStats>>"
1098
- },
1099
- {
1100
- "name": "toJSON",
1101
- "returns": "any"
1102
- },
1103
- {
1104
- "name": "toPlainObject",
1105
- "returns": "Record<string>"
1106
- },
1107
- {
1108
- "name": "toPublicJSON",
1109
- "params": [
1110
- "options?: PublicJsonOptions"
1111
- ],
1112
- "returns": "Record<string>"
1113
- },
1114
- {
1115
- "name": "updateMetadata",
1116
- "params": [
1117
- "updates: Record<string>"
1118
- ],
1119
- "returns": "void"
1120
- },
1121
- {
1122
- "name": "withDatabase",
1123
- "async": true,
1124
- "params": [
1125
- "db: DatabaseInterface",
1126
- "operation: Function"
1127
- ],
1128
- "returns": "Promise<T>"
1129
- },
1130
- {
1131
- "name": "withTransaction",
1132
- "async": true,
1133
- "params": [
1134
- "operation: Function"
1135
- ],
1136
- "returns": "Promise<T>"
1137
- }
1138
- ],
1139
- "tenant": {
1140
- "scoped": true,
1141
- "mode": "optional",
1142
- "field": "tenantId"
1143
- },
1144
- "tableStrategy": "sti",
1145
- "conflictColumns": [
1146
- "tenant_id",
1147
- "slug",
1148
- "context",
1149
- "_meta_type"
1150
- ],
1151
- "surfaces": [
1152
- {
1153
- "kind": "api",
1154
- "name": "factsources.list",
1155
- "operation": "list",
1156
- "objectName": "@happyvertical/smrt-facts:FactSource",
1157
- "path": "/factsources",
1158
- "method": "GET"
1159
- },
1160
- {
1161
- "kind": "api",
1162
- "name": "factsources.get",
1163
- "operation": "get",
1164
- "objectName": "@happyvertical/smrt-facts:FactSource",
1165
- "path": "/factsources/[id]",
1166
- "method": "GET"
1167
- },
1168
- {
1169
- "kind": "api",
1170
- "name": "factsources.create",
1191
+ "kind": "cli",
1192
+ "name": "factsource_create",
1171
1193
  "operation": "create",
1172
- "objectName": "@happyvertical/smrt-facts:FactSource",
1173
- "path": "/factsources",
1174
- "method": "POST"
1194
+ "objectName": "@happyvertical/smrt-facts:FactSource"
1175
1195
  },
1176
1196
  {
1177
- "kind": "api",
1178
- "name": "factsources.delete",
1179
- "operation": "delete",
1180
- "objectName": "@happyvertical/smrt-facts:FactSource",
1181
- "path": "/factsources/[id]",
1182
- "method": "DELETE"
1197
+ "kind": "cli",
1198
+ "name": "factsource_update",
1199
+ "operation": "update",
1200
+ "objectName": "@happyvertical/smrt-facts:FactSource"
1183
1201
  },
1184
1202
  {
1185
1203
  "kind": "cli",
1186
- "name": "factsource_list",
1187
- "operation": "list",
1204
+ "name": "factsource_delete",
1205
+ "operation": "delete",
1188
1206
  "objectName": "@happyvertical/smrt-facts:FactSource"
1189
1207
  },
1190
1208
  {
1191
1209
  "kind": "cli",
1192
- "name": "factsource_get",
1193
- "operation": "get",
1210
+ "name": "factsource_getMetadata",
1211
+ "operation": "getMetadata",
1194
1212
  "objectName": "@happyvertical/smrt-facts:FactSource"
1195
1213
  },
1196
1214
  {
1197
1215
  "kind": "cli",
1198
- "name": "factsource_create",
1199
- "operation": "create",
1216
+ "name": "factsource_setMetadata",
1217
+ "operation": "setMetadata",
1200
1218
  "objectName": "@happyvertical/smrt-facts:FactSource"
1201
1219
  },
1202
1220
  {
1203
1221
  "kind": "cli",
1204
- "name": "factsource_update",
1205
- "operation": "update",
1222
+ "name": "factsource_updateMetadata",
1223
+ "operation": "updateMetadata",
1206
1224
  "objectName": "@happyvertical/smrt-facts:FactSource"
1207
1225
  },
1208
1226
  {
1209
1227
  "kind": "cli",
1210
- "name": "factsource_delete",
1211
- "operation": "delete",
1228
+ "name": "factsource_getFact",
1229
+ "operation": "getFact",
1212
1230
  "objectName": "@happyvertical/smrt-facts:FactSource"
1213
1231
  },
1214
1232
  {
@@ -1319,27 +1337,188 @@
1319
1337
  "returns": "Promise<FactSource[]>"
1320
1338
  }
1321
1339
  ],
1322
- "surfaces": [],
1323
- "relationshipFeatures": [
1324
- "uuidColumns"
1325
- ],
1326
- "tags": [],
1327
- "risks": []
1328
- },
1329
- {
1330
- "name": "FactSubject",
1331
- "qualifiedName": "@happyvertical/smrt-facts:FactSubject",
1332
- "collection": "factsubjects",
1333
- "tableName": "fact_subjects",
1334
- "packageName": "@happyvertical/smrt-facts",
1335
- "extends": "SmrtObject",
1336
- "fields": [
1340
+ "surfaces": [
1337
1341
  {
1338
- "name": "factId",
1339
- "type": "foreignKey",
1340
- "required": true,
1341
- "related": "Fact",
1342
- "columnType": "UUID"
1342
+ "kind": "api",
1343
+ "name": "factsources.getForFact",
1344
+ "operation": "getForFact",
1345
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
1346
+ "path": "/factsources/getForFact",
1347
+ "method": "POST"
1348
+ },
1349
+ {
1350
+ "kind": "api",
1351
+ "name": "factsources.countForFact",
1352
+ "operation": "countForFact",
1353
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
1354
+ "path": "/factsources/countForFact",
1355
+ "method": "POST"
1356
+ },
1357
+ {
1358
+ "kind": "api",
1359
+ "name": "factsources.getByType",
1360
+ "operation": "getByType",
1361
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
1362
+ "path": "/factsources/getByType",
1363
+ "method": "POST"
1364
+ },
1365
+ {
1366
+ "kind": "api",
1367
+ "name": "factsources.getHighCredibility",
1368
+ "operation": "getHighCredibility",
1369
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
1370
+ "path": "/factsources/getHighCredibility",
1371
+ "method": "POST"
1372
+ },
1373
+ {
1374
+ "kind": "api",
1375
+ "name": "factsources.getAverageCredibility",
1376
+ "operation": "getAverageCredibility",
1377
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
1378
+ "path": "/factsources/getAverageCredibility",
1379
+ "method": "POST"
1380
+ },
1381
+ {
1382
+ "kind": "api",
1383
+ "name": "factsources.findByTenant",
1384
+ "operation": "findByTenant",
1385
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
1386
+ "path": "/factsources/findByTenant",
1387
+ "method": "POST"
1388
+ },
1389
+ {
1390
+ "kind": "api",
1391
+ "name": "factsources.findGlobal",
1392
+ "operation": "findGlobal",
1393
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
1394
+ "path": "/factsources/findGlobal",
1395
+ "method": "POST"
1396
+ },
1397
+ {
1398
+ "kind": "api",
1399
+ "name": "factsources.findWithGlobals",
1400
+ "operation": "findWithGlobals",
1401
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
1402
+ "path": "/factsources/findWithGlobals",
1403
+ "method": "POST"
1404
+ },
1405
+ {
1406
+ "kind": "cli",
1407
+ "name": "factsourcecollection_getForFact",
1408
+ "operation": "getForFact",
1409
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1410
+ },
1411
+ {
1412
+ "kind": "cli",
1413
+ "name": "factsourcecollection_countForFact",
1414
+ "operation": "countForFact",
1415
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1416
+ },
1417
+ {
1418
+ "kind": "cli",
1419
+ "name": "factsourcecollection_getByType",
1420
+ "operation": "getByType",
1421
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1422
+ },
1423
+ {
1424
+ "kind": "cli",
1425
+ "name": "factsourcecollection_getHighCredibility",
1426
+ "operation": "getHighCredibility",
1427
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1428
+ },
1429
+ {
1430
+ "kind": "cli",
1431
+ "name": "factsourcecollection_getAverageCredibility",
1432
+ "operation": "getAverageCredibility",
1433
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1434
+ },
1435
+ {
1436
+ "kind": "cli",
1437
+ "name": "factsourcecollection_findByTenant",
1438
+ "operation": "findByTenant",
1439
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1440
+ },
1441
+ {
1442
+ "kind": "cli",
1443
+ "name": "factsourcecollection_findGlobal",
1444
+ "operation": "findGlobal",
1445
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1446
+ },
1447
+ {
1448
+ "kind": "cli",
1449
+ "name": "factsourcecollection_findWithGlobals",
1450
+ "operation": "findWithGlobals",
1451
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1452
+ },
1453
+ {
1454
+ "kind": "mcp",
1455
+ "name": "factsourcecollection_getforfact",
1456
+ "operation": "getForFact",
1457
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1458
+ },
1459
+ {
1460
+ "kind": "mcp",
1461
+ "name": "factsourcecollection_countforfact",
1462
+ "operation": "countForFact",
1463
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1464
+ },
1465
+ {
1466
+ "kind": "mcp",
1467
+ "name": "factsourcecollection_getbytype",
1468
+ "operation": "getByType",
1469
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1470
+ },
1471
+ {
1472
+ "kind": "mcp",
1473
+ "name": "factsourcecollection_gethighcredibility",
1474
+ "operation": "getHighCredibility",
1475
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1476
+ },
1477
+ {
1478
+ "kind": "mcp",
1479
+ "name": "factsourcecollection_getaveragecredibility",
1480
+ "operation": "getAverageCredibility",
1481
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1482
+ },
1483
+ {
1484
+ "kind": "mcp",
1485
+ "name": "factsourcecollection_findbytenant",
1486
+ "operation": "findByTenant",
1487
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1488
+ },
1489
+ {
1490
+ "kind": "mcp",
1491
+ "name": "factsourcecollection_findglobal",
1492
+ "operation": "findGlobal",
1493
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1494
+ },
1495
+ {
1496
+ "kind": "mcp",
1497
+ "name": "factsourcecollection_findwithglobals",
1498
+ "operation": "findWithGlobals",
1499
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
1500
+ }
1501
+ ],
1502
+ "relationshipFeatures": [
1503
+ "uuidColumns"
1504
+ ],
1505
+ "tags": [],
1506
+ "risks": []
1507
+ },
1508
+ {
1509
+ "name": "FactSubject",
1510
+ "qualifiedName": "@happyvertical/smrt-facts:FactSubject",
1511
+ "collection": "factsubjects",
1512
+ "tableName": "fact_subjects",
1513
+ "packageName": "@happyvertical/smrt-facts",
1514
+ "extends": "SmrtObject",
1515
+ "fields": [
1516
+ {
1517
+ "name": "factId",
1518
+ "type": "foreignKey",
1519
+ "required": true,
1520
+ "related": "Fact",
1521
+ "columnType": "UUID"
1343
1522
  },
1344
1523
  {
1345
1524
  "name": "entityType",
@@ -1506,6 +1685,36 @@
1506
1685
  "operation": "delete",
1507
1686
  "objectName": "@happyvertical/smrt-facts:FactSubject"
1508
1687
  },
1688
+ {
1689
+ "kind": "cli",
1690
+ "name": "factsubject_getRole",
1691
+ "operation": "getRole",
1692
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
1693
+ },
1694
+ {
1695
+ "kind": "cli",
1696
+ "name": "factsubject_getMetadata",
1697
+ "operation": "getMetadata",
1698
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
1699
+ },
1700
+ {
1701
+ "kind": "cli",
1702
+ "name": "factsubject_setMetadata",
1703
+ "operation": "setMetadata",
1704
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
1705
+ },
1706
+ {
1707
+ "kind": "cli",
1708
+ "name": "factsubject_updateMetadata",
1709
+ "operation": "updateMetadata",
1710
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
1711
+ },
1712
+ {
1713
+ "kind": "cli",
1714
+ "name": "factsubject_getFact",
1715
+ "operation": "getFact",
1716
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
1717
+ },
1509
1718
  {
1510
1719
  "kind": "mcp",
1511
1720
  "name": "factsubject_list",
@@ -1630,7 +1839,188 @@
1630
1839
  "returns": "Promise<void>"
1631
1840
  }
1632
1841
  ],
1633
- "surfaces": [],
1842
+ "surfaces": [
1843
+ {
1844
+ "kind": "api",
1845
+ "name": "factsubjects.getForFact",
1846
+ "operation": "getForFact",
1847
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
1848
+ "path": "/factsubjects/getForFact",
1849
+ "method": "POST"
1850
+ },
1851
+ {
1852
+ "kind": "api",
1853
+ "name": "factsubjects.getForEntity",
1854
+ "operation": "getForEntity",
1855
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
1856
+ "path": "/factsubjects/getForEntity",
1857
+ "method": "POST"
1858
+ },
1859
+ {
1860
+ "kind": "api",
1861
+ "name": "factsubjects.linkEntity",
1862
+ "operation": "linkEntity",
1863
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
1864
+ "path": "/factsubjects/linkEntity",
1865
+ "method": "POST"
1866
+ },
1867
+ {
1868
+ "kind": "api",
1869
+ "name": "factsubjects.unlinkEntity",
1870
+ "operation": "unlinkEntity",
1871
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
1872
+ "path": "/factsubjects/unlinkEntity",
1873
+ "method": "POST"
1874
+ },
1875
+ {
1876
+ "kind": "api",
1877
+ "name": "factsubjects.getByRole",
1878
+ "operation": "getByRole",
1879
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
1880
+ "path": "/factsubjects/getByRole",
1881
+ "method": "POST"
1882
+ },
1883
+ {
1884
+ "kind": "api",
1885
+ "name": "factsubjects.countForFact",
1886
+ "operation": "countForFact",
1887
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
1888
+ "path": "/factsubjects/countForFact",
1889
+ "method": "POST"
1890
+ },
1891
+ {
1892
+ "kind": "api",
1893
+ "name": "factsubjects.findByTenant",
1894
+ "operation": "findByTenant",
1895
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
1896
+ "path": "/factsubjects/findByTenant",
1897
+ "method": "POST"
1898
+ },
1899
+ {
1900
+ "kind": "api",
1901
+ "name": "factsubjects.findGlobal",
1902
+ "operation": "findGlobal",
1903
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
1904
+ "path": "/factsubjects/findGlobal",
1905
+ "method": "POST"
1906
+ },
1907
+ {
1908
+ "kind": "api",
1909
+ "name": "factsubjects.findWithGlobals",
1910
+ "operation": "findWithGlobals",
1911
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
1912
+ "path": "/factsubjects/findWithGlobals",
1913
+ "method": "POST"
1914
+ },
1915
+ {
1916
+ "kind": "cli",
1917
+ "name": "factsubjectcollection_getForFact",
1918
+ "operation": "getForFact",
1919
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1920
+ },
1921
+ {
1922
+ "kind": "cli",
1923
+ "name": "factsubjectcollection_getForEntity",
1924
+ "operation": "getForEntity",
1925
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1926
+ },
1927
+ {
1928
+ "kind": "cli",
1929
+ "name": "factsubjectcollection_linkEntity",
1930
+ "operation": "linkEntity",
1931
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1932
+ },
1933
+ {
1934
+ "kind": "cli",
1935
+ "name": "factsubjectcollection_unlinkEntity",
1936
+ "operation": "unlinkEntity",
1937
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1938
+ },
1939
+ {
1940
+ "kind": "cli",
1941
+ "name": "factsubjectcollection_getByRole",
1942
+ "operation": "getByRole",
1943
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1944
+ },
1945
+ {
1946
+ "kind": "cli",
1947
+ "name": "factsubjectcollection_countForFact",
1948
+ "operation": "countForFact",
1949
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1950
+ },
1951
+ {
1952
+ "kind": "cli",
1953
+ "name": "factsubjectcollection_findByTenant",
1954
+ "operation": "findByTenant",
1955
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1956
+ },
1957
+ {
1958
+ "kind": "cli",
1959
+ "name": "factsubjectcollection_findGlobal",
1960
+ "operation": "findGlobal",
1961
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1962
+ },
1963
+ {
1964
+ "kind": "cli",
1965
+ "name": "factsubjectcollection_findWithGlobals",
1966
+ "operation": "findWithGlobals",
1967
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1968
+ },
1969
+ {
1970
+ "kind": "mcp",
1971
+ "name": "factsubjectcollection_getforfact",
1972
+ "operation": "getForFact",
1973
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1974
+ },
1975
+ {
1976
+ "kind": "mcp",
1977
+ "name": "factsubjectcollection_getforentity",
1978
+ "operation": "getForEntity",
1979
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1980
+ },
1981
+ {
1982
+ "kind": "mcp",
1983
+ "name": "factsubjectcollection_linkentity",
1984
+ "operation": "linkEntity",
1985
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1986
+ },
1987
+ {
1988
+ "kind": "mcp",
1989
+ "name": "factsubjectcollection_unlinkentity",
1990
+ "operation": "unlinkEntity",
1991
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1992
+ },
1993
+ {
1994
+ "kind": "mcp",
1995
+ "name": "factsubjectcollection_getbyrole",
1996
+ "operation": "getByRole",
1997
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
1998
+ },
1999
+ {
2000
+ "kind": "mcp",
2001
+ "name": "factsubjectcollection_countforfact",
2002
+ "operation": "countForFact",
2003
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
2004
+ },
2005
+ {
2006
+ "kind": "mcp",
2007
+ "name": "factsubjectcollection_findbytenant",
2008
+ "operation": "findByTenant",
2009
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
2010
+ },
2011
+ {
2012
+ "kind": "mcp",
2013
+ "name": "factsubjectcollection_findglobal",
2014
+ "operation": "findGlobal",
2015
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
2016
+ },
2017
+ {
2018
+ "kind": "mcp",
2019
+ "name": "factsubjectcollection_findwithglobals",
2020
+ "operation": "findWithGlobals",
2021
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
2022
+ }
2023
+ ],
1634
2024
  "relationshipFeatures": [
1635
2025
  "uuidColumns"
1636
2026
  ],
@@ -1797,6 +2187,30 @@
1797
2187
  "operation": "delete",
1798
2188
  "objectName": "@happyvertical/smrt-facts:FactTag"
1799
2189
  },
2190
+ {
2191
+ "kind": "cli",
2192
+ "name": "facttag_getMetadata",
2193
+ "operation": "getMetadata",
2194
+ "objectName": "@happyvertical/smrt-facts:FactTag"
2195
+ },
2196
+ {
2197
+ "kind": "cli",
2198
+ "name": "facttag_setMetadata",
2199
+ "operation": "setMetadata",
2200
+ "objectName": "@happyvertical/smrt-facts:FactTag"
2201
+ },
2202
+ {
2203
+ "kind": "cli",
2204
+ "name": "facttag_updateMetadata",
2205
+ "operation": "updateMetadata",
2206
+ "objectName": "@happyvertical/smrt-facts:FactTag"
2207
+ },
2208
+ {
2209
+ "kind": "cli",
2210
+ "name": "facttag_getFact",
2211
+ "operation": "getFact",
2212
+ "objectName": "@happyvertical/smrt-facts:FactTag"
2213
+ },
1800
2214
  {
1801
2215
  "kind": "mcp",
1802
2216
  "name": "facttag_list",
@@ -1907,37 +2321,198 @@
1907
2321
  "returns": "Promise<void>"
1908
2322
  }
1909
2323
  ],
1910
- "surfaces": [],
1911
- "relationshipFeatures": [
1912
- "uuidColumns"
1913
- ],
1914
- "tags": [],
1915
- "risks": []
1916
- },
1917
- {
1918
- "name": "Fact",
1919
- "qualifiedName": "@happyvertical/smrt-facts:Fact",
1920
- "collection": "facts",
1921
- "tableName": "facts",
1922
- "packageName": "@happyvertical/smrt-facts",
1923
- "extends": "SmrtObject",
1924
- "fields": [
2324
+ "surfaces": [
1925
2325
  {
1926
- "name": "created_at",
1927
- "type": "datetime",
1928
- "required": false,
1929
- "columnType": "TIMESTAMP"
2326
+ "kind": "api",
2327
+ "name": "facttags.getForFact",
2328
+ "operation": "getForFact",
2329
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
2330
+ "path": "/facttags/getForFact",
2331
+ "method": "POST"
1930
2332
  },
1931
2333
  {
1932
- "name": "updated_at",
1933
- "type": "datetime",
1934
- "required": false,
1935
- "columnType": "TIMESTAMP"
2334
+ "kind": "api",
2335
+ "name": "facttags.getForTag",
2336
+ "operation": "getForTag",
2337
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
2338
+ "path": "/facttags/getForTag",
2339
+ "method": "POST"
1936
2340
  },
1937
2341
  {
1938
- "name": "textRefined",
1939
- "type": "text",
1940
- "required": true,
2342
+ "kind": "api",
2343
+ "name": "facttags.addTag",
2344
+ "operation": "addTag",
2345
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
2346
+ "path": "/facttags/addTag",
2347
+ "method": "POST"
2348
+ },
2349
+ {
2350
+ "kind": "api",
2351
+ "name": "facttags.removeTag",
2352
+ "operation": "removeTag",
2353
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
2354
+ "path": "/facttags/removeTag",
2355
+ "method": "POST"
2356
+ },
2357
+ {
2358
+ "kind": "api",
2359
+ "name": "facttags.getTagSlugs",
2360
+ "operation": "getTagSlugs",
2361
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
2362
+ "path": "/facttags/getTagSlugs",
2363
+ "method": "POST"
2364
+ },
2365
+ {
2366
+ "kind": "api",
2367
+ "name": "facttags.findByTenant",
2368
+ "operation": "findByTenant",
2369
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
2370
+ "path": "/facttags/findByTenant",
2371
+ "method": "POST"
2372
+ },
2373
+ {
2374
+ "kind": "api",
2375
+ "name": "facttags.findGlobal",
2376
+ "operation": "findGlobal",
2377
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
2378
+ "path": "/facttags/findGlobal",
2379
+ "method": "POST"
2380
+ },
2381
+ {
2382
+ "kind": "api",
2383
+ "name": "facttags.findWithGlobals",
2384
+ "operation": "findWithGlobals",
2385
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
2386
+ "path": "/facttags/findWithGlobals",
2387
+ "method": "POST"
2388
+ },
2389
+ {
2390
+ "kind": "cli",
2391
+ "name": "facttagcollection_getForFact",
2392
+ "operation": "getForFact",
2393
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2394
+ },
2395
+ {
2396
+ "kind": "cli",
2397
+ "name": "facttagcollection_getForTag",
2398
+ "operation": "getForTag",
2399
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2400
+ },
2401
+ {
2402
+ "kind": "cli",
2403
+ "name": "facttagcollection_addTag",
2404
+ "operation": "addTag",
2405
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2406
+ },
2407
+ {
2408
+ "kind": "cli",
2409
+ "name": "facttagcollection_removeTag",
2410
+ "operation": "removeTag",
2411
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2412
+ },
2413
+ {
2414
+ "kind": "cli",
2415
+ "name": "facttagcollection_getTagSlugs",
2416
+ "operation": "getTagSlugs",
2417
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2418
+ },
2419
+ {
2420
+ "kind": "cli",
2421
+ "name": "facttagcollection_findByTenant",
2422
+ "operation": "findByTenant",
2423
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2424
+ },
2425
+ {
2426
+ "kind": "cli",
2427
+ "name": "facttagcollection_findGlobal",
2428
+ "operation": "findGlobal",
2429
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2430
+ },
2431
+ {
2432
+ "kind": "cli",
2433
+ "name": "facttagcollection_findWithGlobals",
2434
+ "operation": "findWithGlobals",
2435
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2436
+ },
2437
+ {
2438
+ "kind": "mcp",
2439
+ "name": "facttagcollection_getforfact",
2440
+ "operation": "getForFact",
2441
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2442
+ },
2443
+ {
2444
+ "kind": "mcp",
2445
+ "name": "facttagcollection_getfortag",
2446
+ "operation": "getForTag",
2447
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2448
+ },
2449
+ {
2450
+ "kind": "mcp",
2451
+ "name": "facttagcollection_addtag",
2452
+ "operation": "addTag",
2453
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2454
+ },
2455
+ {
2456
+ "kind": "mcp",
2457
+ "name": "facttagcollection_removetag",
2458
+ "operation": "removeTag",
2459
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2460
+ },
2461
+ {
2462
+ "kind": "mcp",
2463
+ "name": "facttagcollection_gettagslugs",
2464
+ "operation": "getTagSlugs",
2465
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2466
+ },
2467
+ {
2468
+ "kind": "mcp",
2469
+ "name": "facttagcollection_findbytenant",
2470
+ "operation": "findByTenant",
2471
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2472
+ },
2473
+ {
2474
+ "kind": "mcp",
2475
+ "name": "facttagcollection_findglobal",
2476
+ "operation": "findGlobal",
2477
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2478
+ },
2479
+ {
2480
+ "kind": "mcp",
2481
+ "name": "facttagcollection_findwithglobals",
2482
+ "operation": "findWithGlobals",
2483
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
2484
+ }
2485
+ ],
2486
+ "relationshipFeatures": [
2487
+ "uuidColumns"
2488
+ ],
2489
+ "tags": [],
2490
+ "risks": []
2491
+ },
2492
+ {
2493
+ "name": "Fact",
2494
+ "qualifiedName": "@happyvertical/smrt-facts:Fact",
2495
+ "collection": "facts",
2496
+ "tableName": "facts",
2497
+ "packageName": "@happyvertical/smrt-facts",
2498
+ "extends": "SmrtObject",
2499
+ "fields": [
2500
+ {
2501
+ "name": "created_at",
2502
+ "type": "datetime",
2503
+ "required": false,
2504
+ "columnType": "TIMESTAMP"
2505
+ },
2506
+ {
2507
+ "name": "updated_at",
2508
+ "type": "datetime",
2509
+ "required": false,
2510
+ "columnType": "TIMESTAMP"
2511
+ },
2512
+ {
2513
+ "name": "textRefined",
2514
+ "type": "text",
2515
+ "required": true,
1941
2516
  "columnType": "TEXT",
1942
2517
  "default": ""
1943
2518
  },
@@ -2033,183 +2608,25 @@
2033
2608
  }
2034
2609
  ],
2035
2610
  "methods": [
2036
- "_setLoadedRelationship",
2037
- "claimRevision",
2038
- "classifyConstraintError",
2039
- "clearEmbeddings",
2040
- "delete",
2041
- "describe",
2042
- "destroy",
2043
- "do",
2044
- "executeToolCall",
2045
- "forget",
2046
- "forgetScope",
2047
- "generateEmbeddings",
2048
- "getAiUsageSnapshot",
2049
- "getAvailableTools",
2050
- "getEmbedding",
2051
2611
  "getEvolutionType",
2052
- "getFields",
2053
- "getId",
2054
2612
  "getMetadata",
2055
2613
  "getPredecessor",
2056
- "getRelated",
2057
- "getSavedId",
2058
- "getSlug",
2059
2614
  "getSources",
2060
2615
  "getStatus",
2061
2616
  "getSubjects",
2062
2617
  "getSuccessors",
2063
2618
  "getType",
2064
2619
  "hasPredecessor",
2065
- "hasStaleEmbeddings",
2066
- "initialize",
2067
- "is",
2068
2620
  "isActive",
2069
- "isRelatedLoaded",
2070
- "isSaved",
2071
2621
  "isSuperseded",
2072
- "listAiUsage",
2073
- "loadDataFromDb",
2074
- "loadFromId",
2075
- "loadFromSlug",
2076
- "loadRelated",
2077
- "loadRelatedMany",
2078
- "markAsPersisted",
2079
- "recall",
2080
- "recallAll",
2081
- "remember",
2082
- "requireInsertOnSave",
2083
- "resetAiUsage",
2084
- "save",
2085
2622
  "setMetadata",
2086
- "summarizeAiUsage",
2087
- "toJSON",
2088
- "toPlainObject",
2089
- "toPublicJSON",
2090
- "updateMetadata",
2091
- "withDatabase",
2092
- "withTransaction"
2623
+ "updateMetadata"
2093
2624
  ],
2094
2625
  "methodSignatures": [
2095
- {
2096
- "name": "_setLoadedRelationship",
2097
- "params": [
2098
- "fieldName: string",
2099
- "value: any"
2100
- ],
2101
- "returns": "void"
2102
- },
2103
- {
2104
- "name": "claimRevision",
2105
- "async": true,
2106
- "params": [
2107
- "expectedUpdatedAt: Date | string"
2108
- ],
2109
- "returns": "Promise"
2110
- },
2111
- {
2112
- "name": "classifyConstraintError",
2113
- "static": true,
2114
- "params": [
2115
- "message: string"
2116
- ],
2117
- "returns": "'unique' | 'not_null' | null"
2118
- },
2119
- {
2120
- "name": "clearEmbeddings",
2121
- "async": true,
2122
- "returns": "Promise<void>"
2123
- },
2124
- {
2125
- "name": "delete",
2126
- "async": true,
2127
- "returns": "Promise<void>"
2128
- },
2129
- {
2130
- "name": "describe",
2131
- "async": true,
2132
- "params": [
2133
- "options?: AiOperationOptions"
2134
- ],
2135
- "returns": "any"
2136
- },
2137
- {
2138
- "name": "destroy",
2139
- "returns": "void"
2140
- },
2141
- {
2142
- "name": "do",
2143
- "async": true,
2144
- "params": [
2145
- "instructions: string",
2146
- "options?: AiOperationOptions"
2147
- ],
2148
- "returns": "any"
2149
- },
2150
- {
2151
- "name": "executeToolCall",
2152
- "async": true,
2153
- "params": [
2154
- "toolCall: ToolCall"
2155
- ],
2156
- "returns": "Promise<ToolCallResult>"
2157
- },
2158
- {
2159
- "name": "forget",
2160
- "async": true,
2161
- "params": [
2162
- "options: object"
2163
- ],
2164
- "returns": "Promise<void>"
2165
- },
2166
- {
2167
- "name": "forgetScope",
2168
- "async": true,
2169
- "params": [
2170
- "options: object"
2171
- ],
2172
- "returns": "Promise<number>"
2173
- },
2174
- {
2175
- "name": "generateEmbeddings",
2176
- "async": true,
2177
- "params": [
2178
- "options?: GenerateEmbeddingsOptions"
2179
- ],
2180
- "returns": "Promise<void>"
2181
- },
2182
- {
2183
- "name": "getAiUsageSnapshot",
2184
- "returns": "AiUsageSnapshot | undefined"
2185
- },
2186
- {
2187
- "name": "getAvailableTools",
2188
- "returns": "AITool[]"
2189
- },
2190
- {
2191
- "name": "getEmbedding",
2192
- "async": true,
2193
- "params": [
2194
- "fieldName: string",
2195
- "model?: string"
2196
- ],
2197
- "returns": "Promise<number[] | null>"
2198
- },
2199
2626
  {
2200
2627
  "name": "getEvolutionType",
2201
2628
  "returns": "EvolutionType"
2202
2629
  },
2203
- {
2204
- "name": "getFields",
2205
- "async": true,
2206
- "returns": "Promise<any>"
2207
- },
2208
- {
2209
- "name": "getId",
2210
- "async": true,
2211
- "returns": "any"
2212
- },
2213
2630
  {
2214
2631
  "name": "getMetadata",
2215
2632
  "returns": "FactMetadata"
@@ -2219,25 +2636,6 @@
2219
2636
  "async": true,
2220
2637
  "returns": "Promise<Fact | null>"
2221
2638
  },
2222
- {
2223
- "name": "getRelated",
2224
- "async": true,
2225
- "params": [
2226
- "fieldName: string",
2227
- "opts?: LoadRelatedOptions"
2228
- ],
2229
- "returns": "Promise<any>"
2230
- },
2231
- {
2232
- "name": "getSavedId",
2233
- "async": true,
2234
- "returns": "any"
2235
- },
2236
- {
2237
- "name": "getSlug",
2238
- "async": true,
2239
- "returns": "any"
2240
- },
2241
2639
  {
2242
2640
  "name": "getSources",
2243
2641
  "async": true,
@@ -2265,269 +2663,188 @@
2265
2663
  "name": "hasPredecessor",
2266
2664
  "returns": "boolean"
2267
2665
  },
2268
- {
2269
- "name": "hasStaleEmbeddings",
2270
- "async": true,
2271
- "returns": "Promise<boolean>"
2272
- },
2273
- {
2274
- "name": "initialize",
2275
- "async": true,
2276
- "returns": "Promise"
2277
- },
2278
- {
2279
- "name": "is",
2280
- "async": true,
2281
- "params": [
2282
- "criteria: string",
2283
- "options?: AiOperationOptions"
2284
- ],
2285
- "returns": "any"
2286
- },
2287
2666
  {
2288
2667
  "name": "isActive",
2289
2668
  "returns": "boolean"
2290
2669
  },
2291
- {
2292
- "name": "isRelatedLoaded",
2293
- "params": [
2294
- "fieldName: string"
2295
- ],
2296
- "returns": "boolean"
2297
- },
2298
- {
2299
- "name": "isSaved",
2300
- "async": true,
2301
- "returns": "any"
2302
- },
2303
2670
  {
2304
2671
  "name": "isSuperseded",
2305
2672
  "returns": "boolean"
2306
2673
  },
2307
2674
  {
2308
- "name": "listAiUsage",
2309
- "async": true,
2675
+ "name": "setMetadata",
2310
2676
  "params": [
2311
- "options?: AiUsageListOptions"
2677
+ "data: FactMetadata"
2312
2678
  ],
2313
- "returns": "Promise<SmrtAiUsageRecord[]>"
2679
+ "returns": "void"
2314
2680
  },
2315
2681
  {
2316
- "name": "loadDataFromDb",
2317
- "async": true,
2682
+ "name": "updateMetadata",
2318
2683
  "params": [
2319
- "data: Record<string>"
2684
+ "updates: Partial<FactMetadata>"
2320
2685
  ],
2321
- "returns": "any"
2322
- },
2686
+ "returns": "void"
2687
+ }
2688
+ ],
2689
+ "tenant": {
2690
+ "scoped": true,
2691
+ "mode": "optional",
2692
+ "field": "tenantId"
2693
+ },
2694
+ "tableStrategy": "sti",
2695
+ "conflictColumns": [
2696
+ "tenant_id",
2697
+ "slug",
2698
+ "context",
2699
+ "_meta_type"
2700
+ ],
2701
+ "surfaces": [
2323
2702
  {
2324
- "name": "loadFromId",
2325
- "async": true,
2326
- "returns": "any"
2703
+ "kind": "api",
2704
+ "name": "facts.list",
2705
+ "operation": "list",
2706
+ "objectName": "@happyvertical/smrt-facts:Fact",
2707
+ "path": "/facts",
2708
+ "method": "GET"
2327
2709
  },
2328
2710
  {
2329
- "name": "loadFromSlug",
2330
- "async": true,
2331
- "returns": "any"
2711
+ "kind": "api",
2712
+ "name": "facts.get",
2713
+ "operation": "get",
2714
+ "objectName": "@happyvertical/smrt-facts:Fact",
2715
+ "path": "/facts/[id]",
2716
+ "method": "GET"
2332
2717
  },
2333
2718
  {
2334
- "name": "loadRelated",
2335
- "async": true,
2336
- "params": [
2337
- "fieldName: string",
2338
- "opts?: LoadRelatedOptions"
2339
- ],
2340
- "returns": "Promise<any>"
2719
+ "kind": "api",
2720
+ "name": "facts.create",
2721
+ "operation": "create",
2722
+ "objectName": "@happyvertical/smrt-facts:Fact",
2723
+ "path": "/facts",
2724
+ "method": "POST"
2341
2725
  },
2342
2726
  {
2343
- "name": "loadRelatedMany",
2344
- "async": true,
2345
- "params": [
2346
- "fieldName: string",
2347
- "opts?: LoadRelatedOptions"
2348
- ],
2349
- "returns": "Promise<any[]>"
2350
- },
2351
- {
2352
- "name": "markAsPersisted",
2353
- "returns": "void"
2354
- },
2355
- {
2356
- "name": "recall",
2357
- "async": true,
2358
- "params": [
2359
- "options: object"
2360
- ],
2361
- "returns": "Promise"
2362
- },
2363
- {
2364
- "name": "recallAll",
2365
- "async": true,
2366
- "params": [
2367
- "options?: object"
2368
- ],
2369
- "returns": "Promise<Map<string>>"
2370
- },
2371
- {
2372
- "name": "remember",
2373
- "async": true,
2374
- "params": [
2375
- "options: object"
2376
- ],
2377
- "returns": "Promise<void>"
2378
- },
2379
- {
2380
- "name": "requireInsertOnSave",
2381
- "returns": "void"
2727
+ "kind": "api",
2728
+ "name": "facts.update",
2729
+ "operation": "update",
2730
+ "objectName": "@happyvertical/smrt-facts:Fact",
2731
+ "path": "/facts/[id]",
2732
+ "method": "PATCH"
2382
2733
  },
2383
2734
  {
2384
- "name": "resetAiUsage",
2385
- "returns": "void"
2735
+ "kind": "api",
2736
+ "name": "facts.delete",
2737
+ "operation": "delete",
2738
+ "objectName": "@happyvertical/smrt-facts:Fact",
2739
+ "path": "/facts/[id]",
2740
+ "method": "DELETE"
2386
2741
  },
2387
2742
  {
2388
- "name": "save",
2389
- "async": true,
2390
- "params": [
2391
- "options?: SmrtSaveOptions"
2392
- ],
2393
- "returns": "any"
2743
+ "kind": "cli",
2744
+ "name": "fact_list",
2745
+ "operation": "list",
2746
+ "objectName": "@happyvertical/smrt-facts:Fact"
2394
2747
  },
2395
2748
  {
2396
- "name": "setMetadata",
2397
- "params": [
2398
- "data: FactMetadata"
2399
- ],
2400
- "returns": "void"
2749
+ "kind": "cli",
2750
+ "name": "fact_get",
2751
+ "operation": "get",
2752
+ "objectName": "@happyvertical/smrt-facts:Fact"
2401
2753
  },
2402
2754
  {
2403
- "name": "summarizeAiUsage",
2404
- "async": true,
2405
- "params": [
2406
- "options?: AiUsageSummaryOptions"
2407
- ],
2408
- "returns": "Promise<Record<string, AiUsageStats>>"
2755
+ "kind": "cli",
2756
+ "name": "fact_create",
2757
+ "operation": "create",
2758
+ "objectName": "@happyvertical/smrt-facts:Fact"
2409
2759
  },
2410
2760
  {
2411
- "name": "toJSON",
2412
- "returns": "any"
2761
+ "kind": "cli",
2762
+ "name": "fact_update",
2763
+ "operation": "update",
2764
+ "objectName": "@happyvertical/smrt-facts:Fact"
2413
2765
  },
2414
2766
  {
2415
- "name": "toPlainObject",
2416
- "returns": "Record<string>"
2767
+ "kind": "cli",
2768
+ "name": "fact_delete",
2769
+ "operation": "delete",
2770
+ "objectName": "@happyvertical/smrt-facts:Fact"
2417
2771
  },
2418
2772
  {
2419
- "name": "toPublicJSON",
2420
- "params": [
2421
- "options?: PublicJsonOptions"
2422
- ],
2423
- "returns": "Record<string>"
2773
+ "kind": "cli",
2774
+ "name": "fact_getMetadata",
2775
+ "operation": "getMetadata",
2776
+ "objectName": "@happyvertical/smrt-facts:Fact"
2424
2777
  },
2425
2778
  {
2426
- "name": "updateMetadata",
2427
- "params": [
2428
- "updates: Partial<FactMetadata>"
2429
- ],
2430
- "returns": "void"
2779
+ "kind": "cli",
2780
+ "name": "fact_setMetadata",
2781
+ "operation": "setMetadata",
2782
+ "objectName": "@happyvertical/smrt-facts:Fact"
2431
2783
  },
2432
2784
  {
2433
- "name": "withDatabase",
2434
- "async": true,
2435
- "params": [
2436
- "db: DatabaseInterface",
2437
- "operation: Function"
2438
- ],
2439
- "returns": "Promise<T>"
2785
+ "kind": "cli",
2786
+ "name": "fact_updateMetadata",
2787
+ "operation": "updateMetadata",
2788
+ "objectName": "@happyvertical/smrt-facts:Fact"
2440
2789
  },
2441
2790
  {
2442
- "name": "withTransaction",
2443
- "async": true,
2444
- "params": [
2445
- "operation: Function"
2446
- ],
2447
- "returns": "Promise<T>"
2448
- }
2449
- ],
2450
- "tenant": {
2451
- "scoped": true,
2452
- "mode": "optional",
2453
- "field": "tenantId"
2454
- },
2455
- "tableStrategy": "sti",
2456
- "conflictColumns": [
2457
- "tenant_id",
2458
- "slug",
2459
- "context",
2460
- "_meta_type"
2461
- ],
2462
- "surfaces": [
2463
- {
2464
- "kind": "api",
2465
- "name": "facts.list",
2466
- "operation": "list",
2467
- "objectName": "@happyvertical/smrt-facts:Fact",
2468
- "path": "/facts",
2469
- "method": "GET"
2791
+ "kind": "cli",
2792
+ "name": "fact_getType",
2793
+ "operation": "getType",
2794
+ "objectName": "@happyvertical/smrt-facts:Fact"
2470
2795
  },
2471
2796
  {
2472
- "kind": "api",
2473
- "name": "facts.get",
2474
- "operation": "get",
2475
- "objectName": "@happyvertical/smrt-facts:Fact",
2476
- "path": "/facts/[id]",
2477
- "method": "GET"
2797
+ "kind": "cli",
2798
+ "name": "fact_getStatus",
2799
+ "operation": "getStatus",
2800
+ "objectName": "@happyvertical/smrt-facts:Fact"
2478
2801
  },
2479
2802
  {
2480
- "kind": "api",
2481
- "name": "facts.create",
2482
- "operation": "create",
2483
- "objectName": "@happyvertical/smrt-facts:Fact",
2484
- "path": "/facts",
2485
- "method": "POST"
2803
+ "kind": "cli",
2804
+ "name": "fact_getEvolutionType",
2805
+ "operation": "getEvolutionType",
2806
+ "objectName": "@happyvertical/smrt-facts:Fact"
2486
2807
  },
2487
2808
  {
2488
- "kind": "api",
2489
- "name": "facts.update",
2490
- "operation": "update",
2491
- "objectName": "@happyvertical/smrt-facts:Fact",
2492
- "path": "/facts/[id]",
2493
- "method": "PATCH"
2809
+ "kind": "cli",
2810
+ "name": "fact_isActive",
2811
+ "operation": "isActive",
2812
+ "objectName": "@happyvertical/smrt-facts:Fact"
2494
2813
  },
2495
2814
  {
2496
- "kind": "api",
2497
- "name": "facts.delete",
2498
- "operation": "delete",
2499
- "objectName": "@happyvertical/smrt-facts:Fact",
2500
- "path": "/facts/[id]",
2501
- "method": "DELETE"
2815
+ "kind": "cli",
2816
+ "name": "fact_isSuperseded",
2817
+ "operation": "isSuperseded",
2818
+ "objectName": "@happyvertical/smrt-facts:Fact"
2502
2819
  },
2503
2820
  {
2504
2821
  "kind": "cli",
2505
- "name": "fact_list",
2506
- "operation": "list",
2822
+ "name": "fact_hasPredecessor",
2823
+ "operation": "hasPredecessor",
2507
2824
  "objectName": "@happyvertical/smrt-facts:Fact"
2508
2825
  },
2509
2826
  {
2510
2827
  "kind": "cli",
2511
- "name": "fact_get",
2512
- "operation": "get",
2828
+ "name": "fact_getPredecessor",
2829
+ "operation": "getPredecessor",
2513
2830
  "objectName": "@happyvertical/smrt-facts:Fact"
2514
2831
  },
2515
2832
  {
2516
2833
  "kind": "cli",
2517
- "name": "fact_create",
2518
- "operation": "create",
2834
+ "name": "fact_getSuccessors",
2835
+ "operation": "getSuccessors",
2519
2836
  "objectName": "@happyvertical/smrt-facts:Fact"
2520
2837
  },
2521
2838
  {
2522
2839
  "kind": "cli",
2523
- "name": "fact_update",
2524
- "operation": "update",
2840
+ "name": "fact_getSources",
2841
+ "operation": "getSources",
2525
2842
  "objectName": "@happyvertical/smrt-facts:Fact"
2526
2843
  },
2527
2844
  {
2528
2845
  "kind": "cli",
2529
- "name": "fact_delete",
2530
- "operation": "delete",
2846
+ "name": "fact_getSubjects",
2847
+ "operation": "getSubjects",
2531
2848
  "objectName": "@happyvertical/smrt-facts:Fact"
2532
2849
  },
2533
2850
  {
@@ -2764,508 +3081,2333 @@
2764
3081
  "returns": "Promise<ReconcileResult>"
2765
3082
  }
2766
3083
  ],
2767
- "surfaces": [],
2768
- "relationshipFeatures": [
2769
- "uuidColumns"
2770
- ],
2771
- "tags": [],
2772
- "risks": []
2773
- }
2774
- ],
2775
- "surfaces": [
2776
- {
2777
- "kind": "api",
2778
- "name": "factcontents.list",
2779
- "operation": "list",
2780
- "objectName": "@happyvertical/smrt-facts:FactContent",
2781
- "path": "/factcontents",
2782
- "method": "GET"
2783
- },
2784
- {
2785
- "kind": "api",
2786
- "name": "factcontents.get",
2787
- "operation": "get",
2788
- "objectName": "@happyvertical/smrt-facts:FactContent",
2789
- "path": "/factcontents/[id]",
2790
- "method": "GET"
2791
- },
2792
- {
2793
- "kind": "api",
2794
- "name": "factcontents.create",
2795
- "operation": "create",
2796
- "objectName": "@happyvertical/smrt-facts:FactContent",
2797
- "path": "/factcontents",
2798
- "method": "POST"
2799
- },
2800
- {
2801
- "kind": "api",
2802
- "name": "factcontents.delete",
2803
- "operation": "delete",
2804
- "objectName": "@happyvertical/smrt-facts:FactContent",
2805
- "path": "/factcontents/[id]",
2806
- "method": "DELETE"
2807
- },
2808
- {
2809
- "kind": "cli",
2810
- "name": "factcontent_list",
2811
- "operation": "list",
2812
- "objectName": "@happyvertical/smrt-facts:FactContent"
2813
- },
2814
- {
2815
- "kind": "cli",
2816
- "name": "factcontent_get",
2817
- "operation": "get",
2818
- "objectName": "@happyvertical/smrt-facts:FactContent"
2819
- },
2820
- {
2821
- "kind": "cli",
2822
- "name": "factcontent_create",
2823
- "operation": "create",
2824
- "objectName": "@happyvertical/smrt-facts:FactContent"
2825
- },
2826
- {
2827
- "kind": "cli",
2828
- "name": "factcontent_update",
2829
- "operation": "update",
2830
- "objectName": "@happyvertical/smrt-facts:FactContent"
2831
- },
2832
- {
2833
- "kind": "cli",
2834
- "name": "factcontent_delete",
2835
- "operation": "delete",
2836
- "objectName": "@happyvertical/smrt-facts:FactContent"
2837
- },
2838
- {
2839
- "kind": "mcp",
2840
- "name": "factcontent_list",
2841
- "operation": "list",
2842
- "objectName": "@happyvertical/smrt-facts:FactContent"
2843
- },
2844
- {
2845
- "kind": "mcp",
2846
- "name": "factcontent_get",
2847
- "operation": "get",
2848
- "objectName": "@happyvertical/smrt-facts:FactContent"
2849
- },
2850
- {
2851
- "kind": "mcp",
2852
- "name": "factcontent_create",
2853
- "operation": "create",
2854
- "objectName": "@happyvertical/smrt-facts:FactContent"
2855
- },
2856
- {
2857
- "kind": "api",
2858
- "name": "factevidences.list",
2859
- "operation": "list",
2860
- "objectName": "@happyvertical/smrt-facts:FactEvidence",
2861
- "path": "/factevidences",
2862
- "method": "GET"
2863
- },
2864
- {
2865
- "kind": "api",
3084
+ "surfaces": [
3085
+ {
3086
+ "kind": "api",
3087
+ "name": "facts.getActive",
3088
+ "operation": "getActive",
3089
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3090
+ "path": "/facts/getActive",
3091
+ "method": "POST"
3092
+ },
3093
+ {
3094
+ "kind": "api",
3095
+ "name": "facts.getPending",
3096
+ "operation": "getPending",
3097
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3098
+ "path": "/facts/getPending",
3099
+ "method": "POST"
3100
+ },
3101
+ {
3102
+ "kind": "api",
3103
+ "name": "facts.getByType",
3104
+ "operation": "getByType",
3105
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3106
+ "path": "/facts/getByType",
3107
+ "method": "POST"
3108
+ },
3109
+ {
3110
+ "kind": "api",
3111
+ "name": "facts.getByDomain",
3112
+ "operation": "getByDomain",
3113
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3114
+ "path": "/facts/getByDomain",
3115
+ "method": "POST"
3116
+ },
3117
+ {
3118
+ "kind": "api",
3119
+ "name": "facts.getByStatus",
3120
+ "operation": "getByStatus",
3121
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3122
+ "path": "/facts/getByStatus",
3123
+ "method": "POST"
3124
+ },
3125
+ {
3126
+ "kind": "api",
3127
+ "name": "facts.getSuccessors",
3128
+ "operation": "getSuccessors",
3129
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3130
+ "path": "/facts/getSuccessors",
3131
+ "method": "POST"
3132
+ },
3133
+ {
3134
+ "kind": "api",
3135
+ "name": "facts.findByTenant",
3136
+ "operation": "findByTenant",
3137
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3138
+ "path": "/facts/findByTenant",
3139
+ "method": "POST"
3140
+ },
3141
+ {
3142
+ "kind": "api",
3143
+ "name": "facts.findGlobal",
3144
+ "operation": "findGlobal",
3145
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3146
+ "path": "/facts/findGlobal",
3147
+ "method": "POST"
3148
+ },
3149
+ {
3150
+ "kind": "api",
3151
+ "name": "facts.findWithGlobals",
3152
+ "operation": "findWithGlobals",
3153
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3154
+ "path": "/facts/findWithGlobals",
3155
+ "method": "POST"
3156
+ },
3157
+ {
3158
+ "kind": "api",
3159
+ "name": "facts.browseCatalog",
3160
+ "operation": "browseCatalog",
3161
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3162
+ "path": "/facts/browseCatalog",
3163
+ "method": "POST"
3164
+ },
3165
+ {
3166
+ "kind": "api",
3167
+ "name": "facts.getForContent",
3168
+ "operation": "getForContent",
3169
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3170
+ "path": "/facts/getForContent",
3171
+ "method": "POST"
3172
+ },
3173
+ {
3174
+ "kind": "api",
3175
+ "name": "facts.reconcile",
3176
+ "operation": "reconcile",
3177
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3178
+ "path": "/facts/reconcile",
3179
+ "method": "POST"
3180
+ },
3181
+ {
3182
+ "kind": "api",
3183
+ "name": "facts.extractCandidatesFromText",
3184
+ "operation": "extractCandidatesFromText",
3185
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3186
+ "path": "/facts/extractCandidatesFromText",
3187
+ "method": "POST"
3188
+ },
3189
+ {
3190
+ "kind": "api",
3191
+ "name": "facts.extractArticleClaims",
3192
+ "operation": "extractArticleClaims",
3193
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3194
+ "path": "/facts/extractArticleClaims",
3195
+ "method": "POST"
3196
+ },
3197
+ {
3198
+ "kind": "api",
3199
+ "name": "facts.assessClaimSupport",
3200
+ "operation": "assessClaimSupport",
3201
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3202
+ "path": "/facts/assessClaimSupport",
3203
+ "method": "POST"
3204
+ },
3205
+ {
3206
+ "kind": "api",
3207
+ "name": "facts.branch",
3208
+ "operation": "branch",
3209
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3210
+ "path": "/facts/branch",
3211
+ "method": "POST"
3212
+ },
3213
+ {
3214
+ "kind": "api",
3215
+ "name": "facts.getEvolutionChain",
3216
+ "operation": "getEvolutionChain",
3217
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3218
+ "path": "/facts/getEvolutionChain",
3219
+ "method": "POST"
3220
+ },
3221
+ {
3222
+ "kind": "api",
3223
+ "name": "facts.getLatestInChain",
3224
+ "operation": "getLatestInChain",
3225
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3226
+ "path": "/facts/getLatestInChain",
3227
+ "method": "POST"
3228
+ },
3229
+ {
3230
+ "kind": "api",
3231
+ "name": "facts.getEvolutionTree",
3232
+ "operation": "getEvolutionTree",
3233
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3234
+ "path": "/facts/getEvolutionTree",
3235
+ "method": "POST"
3236
+ },
3237
+ {
3238
+ "kind": "api",
3239
+ "name": "facts.recalculateConfidence",
3240
+ "operation": "recalculateConfidence",
3241
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3242
+ "path": "/facts/recalculateConfidence",
3243
+ "method": "POST"
3244
+ },
3245
+ {
3246
+ "kind": "api",
3247
+ "name": "facts.getEntityBriefing",
3248
+ "operation": "getEntityBriefing",
3249
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
3250
+ "path": "/facts/getEntityBriefing",
3251
+ "method": "POST"
3252
+ },
3253
+ {
3254
+ "kind": "cli",
3255
+ "name": "factcollection_getActive",
3256
+ "operation": "getActive",
3257
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3258
+ },
3259
+ {
3260
+ "kind": "cli",
3261
+ "name": "factcollection_getPending",
3262
+ "operation": "getPending",
3263
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3264
+ },
3265
+ {
3266
+ "kind": "cli",
3267
+ "name": "factcollection_getByType",
3268
+ "operation": "getByType",
3269
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3270
+ },
3271
+ {
3272
+ "kind": "cli",
3273
+ "name": "factcollection_getByDomain",
3274
+ "operation": "getByDomain",
3275
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3276
+ },
3277
+ {
3278
+ "kind": "cli",
3279
+ "name": "factcollection_getByStatus",
3280
+ "operation": "getByStatus",
3281
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3282
+ },
3283
+ {
3284
+ "kind": "cli",
3285
+ "name": "factcollection_getSuccessors",
3286
+ "operation": "getSuccessors",
3287
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3288
+ },
3289
+ {
3290
+ "kind": "cli",
3291
+ "name": "factcollection_findByTenant",
3292
+ "operation": "findByTenant",
3293
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3294
+ },
3295
+ {
3296
+ "kind": "cli",
3297
+ "name": "factcollection_findGlobal",
3298
+ "operation": "findGlobal",
3299
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3300
+ },
3301
+ {
3302
+ "kind": "cli",
3303
+ "name": "factcollection_findWithGlobals",
3304
+ "operation": "findWithGlobals",
3305
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3306
+ },
3307
+ {
3308
+ "kind": "cli",
3309
+ "name": "factcollection_browseCatalog",
3310
+ "operation": "browseCatalog",
3311
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3312
+ },
3313
+ {
3314
+ "kind": "cli",
3315
+ "name": "factcollection_getForContent",
3316
+ "operation": "getForContent",
3317
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3318
+ },
3319
+ {
3320
+ "kind": "cli",
3321
+ "name": "factcollection_reconcile",
3322
+ "operation": "reconcile",
3323
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3324
+ },
3325
+ {
3326
+ "kind": "cli",
3327
+ "name": "factcollection_extractCandidatesFromText",
3328
+ "operation": "extractCandidatesFromText",
3329
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3330
+ },
3331
+ {
3332
+ "kind": "cli",
3333
+ "name": "factcollection_extractArticleClaims",
3334
+ "operation": "extractArticleClaims",
3335
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3336
+ },
3337
+ {
3338
+ "kind": "cli",
3339
+ "name": "factcollection_assessClaimSupport",
3340
+ "operation": "assessClaimSupport",
3341
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3342
+ },
3343
+ {
3344
+ "kind": "cli",
3345
+ "name": "factcollection_branch",
3346
+ "operation": "branch",
3347
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3348
+ },
3349
+ {
3350
+ "kind": "cli",
3351
+ "name": "factcollection_getEvolutionChain",
3352
+ "operation": "getEvolutionChain",
3353
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3354
+ },
3355
+ {
3356
+ "kind": "cli",
3357
+ "name": "factcollection_getLatestInChain",
3358
+ "operation": "getLatestInChain",
3359
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3360
+ },
3361
+ {
3362
+ "kind": "cli",
3363
+ "name": "factcollection_getEvolutionTree",
3364
+ "operation": "getEvolutionTree",
3365
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3366
+ },
3367
+ {
3368
+ "kind": "cli",
3369
+ "name": "factcollection_recalculateConfidence",
3370
+ "operation": "recalculateConfidence",
3371
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3372
+ },
3373
+ {
3374
+ "kind": "cli",
3375
+ "name": "factcollection_getEntityBriefing",
3376
+ "operation": "getEntityBriefing",
3377
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3378
+ },
3379
+ {
3380
+ "kind": "mcp",
3381
+ "name": "factcollection_getactive",
3382
+ "operation": "getActive",
3383
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3384
+ },
3385
+ {
3386
+ "kind": "mcp",
3387
+ "name": "factcollection_getpending",
3388
+ "operation": "getPending",
3389
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3390
+ },
3391
+ {
3392
+ "kind": "mcp",
3393
+ "name": "factcollection_getbytype",
3394
+ "operation": "getByType",
3395
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3396
+ },
3397
+ {
3398
+ "kind": "mcp",
3399
+ "name": "factcollection_getbydomain",
3400
+ "operation": "getByDomain",
3401
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3402
+ },
3403
+ {
3404
+ "kind": "mcp",
3405
+ "name": "factcollection_getbystatus",
3406
+ "operation": "getByStatus",
3407
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3408
+ },
3409
+ {
3410
+ "kind": "mcp",
3411
+ "name": "factcollection_getsuccessors",
3412
+ "operation": "getSuccessors",
3413
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3414
+ },
3415
+ {
3416
+ "kind": "mcp",
3417
+ "name": "factcollection_findbytenant",
3418
+ "operation": "findByTenant",
3419
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3420
+ },
3421
+ {
3422
+ "kind": "mcp",
3423
+ "name": "factcollection_findglobal",
3424
+ "operation": "findGlobal",
3425
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3426
+ },
3427
+ {
3428
+ "kind": "mcp",
3429
+ "name": "factcollection_findwithglobals",
3430
+ "operation": "findWithGlobals",
3431
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3432
+ },
3433
+ {
3434
+ "kind": "mcp",
3435
+ "name": "factcollection_browsecatalog",
3436
+ "operation": "browseCatalog",
3437
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3438
+ },
3439
+ {
3440
+ "kind": "mcp",
3441
+ "name": "factcollection_getforcontent",
3442
+ "operation": "getForContent",
3443
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3444
+ },
3445
+ {
3446
+ "kind": "mcp",
3447
+ "name": "factcollection_reconcile",
3448
+ "operation": "reconcile",
3449
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3450
+ },
3451
+ {
3452
+ "kind": "mcp",
3453
+ "name": "factcollection_extractcandidatesfromtext",
3454
+ "operation": "extractCandidatesFromText",
3455
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3456
+ },
3457
+ {
3458
+ "kind": "mcp",
3459
+ "name": "factcollection_extractarticleclaims",
3460
+ "operation": "extractArticleClaims",
3461
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3462
+ },
3463
+ {
3464
+ "kind": "mcp",
3465
+ "name": "factcollection_assessclaimsupport",
3466
+ "operation": "assessClaimSupport",
3467
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3468
+ },
3469
+ {
3470
+ "kind": "mcp",
3471
+ "name": "factcollection_branch",
3472
+ "operation": "branch",
3473
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3474
+ },
3475
+ {
3476
+ "kind": "mcp",
3477
+ "name": "factcollection_getevolutionchain",
3478
+ "operation": "getEvolutionChain",
3479
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3480
+ },
3481
+ {
3482
+ "kind": "mcp",
3483
+ "name": "factcollection_getlatestinchain",
3484
+ "operation": "getLatestInChain",
3485
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3486
+ },
3487
+ {
3488
+ "kind": "mcp",
3489
+ "name": "factcollection_getevolutiontree",
3490
+ "operation": "getEvolutionTree",
3491
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3492
+ },
3493
+ {
3494
+ "kind": "mcp",
3495
+ "name": "factcollection_recalculateconfidence",
3496
+ "operation": "recalculateConfidence",
3497
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3498
+ },
3499
+ {
3500
+ "kind": "mcp",
3501
+ "name": "factcollection_getentitybriefing",
3502
+ "operation": "getEntityBriefing",
3503
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3504
+ }
3505
+ ],
3506
+ "relationshipFeatures": [
3507
+ "uuidColumns"
3508
+ ],
3509
+ "tags": [],
3510
+ "risks": []
3511
+ }
3512
+ ],
3513
+ "surfaces": [
3514
+ {
3515
+ "kind": "api",
3516
+ "name": "factcontents.list",
3517
+ "operation": "list",
3518
+ "objectName": "@happyvertical/smrt-facts:FactContent",
3519
+ "path": "/factcontents",
3520
+ "method": "GET"
3521
+ },
3522
+ {
3523
+ "kind": "api",
3524
+ "name": "factcontents.get",
3525
+ "operation": "get",
3526
+ "objectName": "@happyvertical/smrt-facts:FactContent",
3527
+ "path": "/factcontents/[id]",
3528
+ "method": "GET"
3529
+ },
3530
+ {
3531
+ "kind": "api",
3532
+ "name": "factcontents.create",
3533
+ "operation": "create",
3534
+ "objectName": "@happyvertical/smrt-facts:FactContent",
3535
+ "path": "/factcontents",
3536
+ "method": "POST"
3537
+ },
3538
+ {
3539
+ "kind": "api",
3540
+ "name": "factcontents.delete",
3541
+ "operation": "delete",
3542
+ "objectName": "@happyvertical/smrt-facts:FactContent",
3543
+ "path": "/factcontents/[id]",
3544
+ "method": "DELETE"
3545
+ },
3546
+ {
3547
+ "kind": "cli",
3548
+ "name": "factcontent_list",
3549
+ "operation": "list",
3550
+ "objectName": "@happyvertical/smrt-facts:FactContent"
3551
+ },
3552
+ {
3553
+ "kind": "cli",
3554
+ "name": "factcontent_get",
3555
+ "operation": "get",
3556
+ "objectName": "@happyvertical/smrt-facts:FactContent"
3557
+ },
3558
+ {
3559
+ "kind": "cli",
3560
+ "name": "factcontent_create",
3561
+ "operation": "create",
3562
+ "objectName": "@happyvertical/smrt-facts:FactContent"
3563
+ },
3564
+ {
3565
+ "kind": "cli",
3566
+ "name": "factcontent_update",
3567
+ "operation": "update",
3568
+ "objectName": "@happyvertical/smrt-facts:FactContent"
3569
+ },
3570
+ {
3571
+ "kind": "cli",
3572
+ "name": "factcontent_delete",
3573
+ "operation": "delete",
3574
+ "objectName": "@happyvertical/smrt-facts:FactContent"
3575
+ },
3576
+ {
3577
+ "kind": "cli",
3578
+ "name": "factcontent_getRelationship",
3579
+ "operation": "getRelationship",
3580
+ "objectName": "@happyvertical/smrt-facts:FactContent"
3581
+ },
3582
+ {
3583
+ "kind": "cli",
3584
+ "name": "factcontent_getMetadata",
3585
+ "operation": "getMetadata",
3586
+ "objectName": "@happyvertical/smrt-facts:FactContent"
3587
+ },
3588
+ {
3589
+ "kind": "cli",
3590
+ "name": "factcontent_setMetadata",
3591
+ "operation": "setMetadata",
3592
+ "objectName": "@happyvertical/smrt-facts:FactContent"
3593
+ },
3594
+ {
3595
+ "kind": "cli",
3596
+ "name": "factcontent_updateMetadata",
3597
+ "operation": "updateMetadata",
3598
+ "objectName": "@happyvertical/smrt-facts:FactContent"
3599
+ },
3600
+ {
3601
+ "kind": "cli",
3602
+ "name": "factcontent_getFact",
3603
+ "operation": "getFact",
3604
+ "objectName": "@happyvertical/smrt-facts:FactContent"
3605
+ },
3606
+ {
3607
+ "kind": "mcp",
3608
+ "name": "factcontent_list",
3609
+ "operation": "list",
3610
+ "objectName": "@happyvertical/smrt-facts:FactContent"
3611
+ },
3612
+ {
3613
+ "kind": "mcp",
3614
+ "name": "factcontent_get",
3615
+ "operation": "get",
3616
+ "objectName": "@happyvertical/smrt-facts:FactContent"
3617
+ },
3618
+ {
3619
+ "kind": "mcp",
3620
+ "name": "factcontent_create",
3621
+ "operation": "create",
3622
+ "objectName": "@happyvertical/smrt-facts:FactContent"
3623
+ },
3624
+ {
3625
+ "kind": "api",
3626
+ "name": "factcontents.byLeft",
3627
+ "operation": "byLeft",
3628
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
3629
+ "path": "/factcontents/byLeft",
3630
+ "method": "POST"
3631
+ },
3632
+ {
3633
+ "kind": "api",
3634
+ "name": "factcontents.byRight",
3635
+ "operation": "byRight",
3636
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
3637
+ "path": "/factcontents/byRight",
3638
+ "method": "POST"
3639
+ },
3640
+ {
3641
+ "kind": "api",
3642
+ "name": "factcontents.attach",
3643
+ "operation": "attach",
3644
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
3645
+ "path": "/factcontents/attach",
3646
+ "method": "POST"
3647
+ },
3648
+ {
3649
+ "kind": "api",
3650
+ "name": "factcontents.detach",
3651
+ "operation": "detach",
3652
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
3653
+ "path": "/factcontents/detach",
3654
+ "method": "POST"
3655
+ },
3656
+ {
3657
+ "kind": "api",
3658
+ "name": "factcontents.setLinks",
3659
+ "operation": "setLinks",
3660
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
3661
+ "path": "/factcontents/setLinks",
3662
+ "method": "POST"
3663
+ },
3664
+ {
3665
+ "kind": "api",
3666
+ "name": "factcontents.findByTenant",
3667
+ "operation": "findByTenant",
3668
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
3669
+ "path": "/factcontents/findByTenant",
3670
+ "method": "POST"
3671
+ },
3672
+ {
3673
+ "kind": "api",
3674
+ "name": "factcontents.findGlobal",
3675
+ "operation": "findGlobal",
3676
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
3677
+ "path": "/factcontents/findGlobal",
3678
+ "method": "POST"
3679
+ },
3680
+ {
3681
+ "kind": "api",
3682
+ "name": "factcontents.findWithGlobals",
3683
+ "operation": "findWithGlobals",
3684
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection",
3685
+ "path": "/factcontents/findWithGlobals",
3686
+ "method": "POST"
3687
+ },
3688
+ {
3689
+ "kind": "cli",
3690
+ "name": "factcontentcollection_byLeft",
3691
+ "operation": "byLeft",
3692
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3693
+ },
3694
+ {
3695
+ "kind": "cli",
3696
+ "name": "factcontentcollection_byRight",
3697
+ "operation": "byRight",
3698
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3699
+ },
3700
+ {
3701
+ "kind": "cli",
3702
+ "name": "factcontentcollection_attach",
3703
+ "operation": "attach",
3704
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3705
+ },
3706
+ {
3707
+ "kind": "cli",
3708
+ "name": "factcontentcollection_detach",
3709
+ "operation": "detach",
3710
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3711
+ },
3712
+ {
3713
+ "kind": "cli",
3714
+ "name": "factcontentcollection_setLinks",
3715
+ "operation": "setLinks",
3716
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3717
+ },
3718
+ {
3719
+ "kind": "cli",
3720
+ "name": "factcontentcollection_findByTenant",
3721
+ "operation": "findByTenant",
3722
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3723
+ },
3724
+ {
3725
+ "kind": "cli",
3726
+ "name": "factcontentcollection_findGlobal",
3727
+ "operation": "findGlobal",
3728
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3729
+ },
3730
+ {
3731
+ "kind": "cli",
3732
+ "name": "factcontentcollection_findWithGlobals",
3733
+ "operation": "findWithGlobals",
3734
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3735
+ },
3736
+ {
3737
+ "kind": "mcp",
3738
+ "name": "factcontentcollection_byleft",
3739
+ "operation": "byLeft",
3740
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3741
+ },
3742
+ {
3743
+ "kind": "mcp",
3744
+ "name": "factcontentcollection_byright",
3745
+ "operation": "byRight",
3746
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3747
+ },
3748
+ {
3749
+ "kind": "mcp",
3750
+ "name": "factcontentcollection_attach",
3751
+ "operation": "attach",
3752
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3753
+ },
3754
+ {
3755
+ "kind": "mcp",
3756
+ "name": "factcontentcollection_detach",
3757
+ "operation": "detach",
3758
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3759
+ },
3760
+ {
3761
+ "kind": "mcp",
3762
+ "name": "factcontentcollection_setlinks",
3763
+ "operation": "setLinks",
3764
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3765
+ },
3766
+ {
3767
+ "kind": "mcp",
3768
+ "name": "factcontentcollection_findbytenant",
3769
+ "operation": "findByTenant",
3770
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3771
+ },
3772
+ {
3773
+ "kind": "mcp",
3774
+ "name": "factcontentcollection_findglobal",
3775
+ "operation": "findGlobal",
3776
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3777
+ },
3778
+ {
3779
+ "kind": "mcp",
3780
+ "name": "factcontentcollection_findwithglobals",
3781
+ "operation": "findWithGlobals",
3782
+ "objectName": "@happyvertical/smrt-facts:FactContentCollection"
3783
+ },
3784
+ {
3785
+ "kind": "api",
3786
+ "name": "factevidences.list",
3787
+ "operation": "list",
3788
+ "objectName": "@happyvertical/smrt-facts:FactEvidence",
3789
+ "path": "/factevidences",
3790
+ "method": "GET"
3791
+ },
3792
+ {
3793
+ "kind": "api",
2866
3794
  "name": "factevidences.get",
2867
3795
  "operation": "get",
2868
- "objectName": "@happyvertical/smrt-facts:FactEvidence",
2869
- "path": "/factevidences/[id]",
3796
+ "objectName": "@happyvertical/smrt-facts:FactEvidence",
3797
+ "path": "/factevidences/[id]",
3798
+ "method": "GET"
3799
+ },
3800
+ {
3801
+ "kind": "api",
3802
+ "name": "factevidences.create",
3803
+ "operation": "create",
3804
+ "objectName": "@happyvertical/smrt-facts:FactEvidence",
3805
+ "path": "/factevidences",
3806
+ "method": "POST"
3807
+ },
3808
+ {
3809
+ "kind": "api",
3810
+ "name": "factevidences.delete",
3811
+ "operation": "delete",
3812
+ "objectName": "@happyvertical/smrt-facts:FactEvidence",
3813
+ "path": "/factevidences/[id]",
3814
+ "method": "DELETE"
3815
+ },
3816
+ {
3817
+ "kind": "cli",
3818
+ "name": "factevidence_list",
3819
+ "operation": "list",
3820
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
3821
+ },
3822
+ {
3823
+ "kind": "cli",
3824
+ "name": "factevidence_get",
3825
+ "operation": "get",
3826
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
3827
+ },
3828
+ {
3829
+ "kind": "cli",
3830
+ "name": "factevidence_create",
3831
+ "operation": "create",
3832
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
3833
+ },
3834
+ {
3835
+ "kind": "cli",
3836
+ "name": "factevidence_update",
3837
+ "operation": "update",
3838
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
3839
+ },
3840
+ {
3841
+ "kind": "cli",
3842
+ "name": "factevidence_delete",
3843
+ "operation": "delete",
3844
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
3845
+ },
3846
+ {
3847
+ "kind": "cli",
3848
+ "name": "factevidence_getMetadata",
3849
+ "operation": "getMetadata",
3850
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
3851
+ },
3852
+ {
3853
+ "kind": "cli",
3854
+ "name": "factevidence_setMetadata",
3855
+ "operation": "setMetadata",
3856
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
3857
+ },
3858
+ {
3859
+ "kind": "cli",
3860
+ "name": "factevidence_updateMetadata",
3861
+ "operation": "updateMetadata",
3862
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
3863
+ },
3864
+ {
3865
+ "kind": "mcp",
3866
+ "name": "factevidence_list",
3867
+ "operation": "list",
3868
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
3869
+ },
3870
+ {
3871
+ "kind": "mcp",
3872
+ "name": "factevidence_get",
3873
+ "operation": "get",
3874
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
3875
+ },
3876
+ {
3877
+ "kind": "mcp",
3878
+ "name": "factevidence_create",
3879
+ "operation": "create",
3880
+ "objectName": "@happyvertical/smrt-facts:FactEvidence"
3881
+ },
3882
+ {
3883
+ "kind": "api",
3884
+ "name": "factevidences.getForFact",
3885
+ "operation": "getForFact",
3886
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection",
3887
+ "path": "/factevidences/getForFact",
3888
+ "method": "POST"
3889
+ },
3890
+ {
3891
+ "kind": "api",
3892
+ "name": "factevidences.getForSource",
3893
+ "operation": "getForSource",
3894
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection",
3895
+ "path": "/factevidences/getForSource",
3896
+ "method": "POST"
3897
+ },
3898
+ {
3899
+ "kind": "api",
3900
+ "name": "factevidences.getForSources",
3901
+ "operation": "getForSources",
3902
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection",
3903
+ "path": "/factevidences/getForSources",
3904
+ "method": "POST"
3905
+ },
3906
+ {
3907
+ "kind": "api",
3908
+ "name": "factevidences.bulkUpdateStatus",
3909
+ "operation": "bulkUpdateStatus",
3910
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection",
3911
+ "path": "/factevidences/bulkUpdateStatus",
3912
+ "method": "POST"
3913
+ },
3914
+ {
3915
+ "kind": "api",
3916
+ "name": "factevidences.replaceGeneratedForSources",
3917
+ "operation": "replaceGeneratedForSources",
3918
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection",
3919
+ "path": "/factevidences/replaceGeneratedForSources",
3920
+ "method": "POST"
3921
+ },
3922
+ {
3923
+ "kind": "api",
3924
+ "name": "factevidences.upsertEvidence",
3925
+ "operation": "upsertEvidence",
3926
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection",
3927
+ "path": "/factevidences/upsertEvidence",
3928
+ "method": "POST"
3929
+ },
3930
+ {
3931
+ "kind": "cli",
3932
+ "name": "factevidencecollection_getForFact",
3933
+ "operation": "getForFact",
3934
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
3935
+ },
3936
+ {
3937
+ "kind": "cli",
3938
+ "name": "factevidencecollection_getForSource",
3939
+ "operation": "getForSource",
3940
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
3941
+ },
3942
+ {
3943
+ "kind": "cli",
3944
+ "name": "factevidencecollection_getForSources",
3945
+ "operation": "getForSources",
3946
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
3947
+ },
3948
+ {
3949
+ "kind": "cli",
3950
+ "name": "factevidencecollection_bulkUpdateStatus",
3951
+ "operation": "bulkUpdateStatus",
3952
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
3953
+ },
3954
+ {
3955
+ "kind": "cli",
3956
+ "name": "factevidencecollection_replaceGeneratedForSources",
3957
+ "operation": "replaceGeneratedForSources",
3958
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
3959
+ },
3960
+ {
3961
+ "kind": "cli",
3962
+ "name": "factevidencecollection_upsertEvidence",
3963
+ "operation": "upsertEvidence",
3964
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
3965
+ },
3966
+ {
3967
+ "kind": "mcp",
3968
+ "name": "factevidencecollection_getforfact",
3969
+ "operation": "getForFact",
3970
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
3971
+ },
3972
+ {
3973
+ "kind": "mcp",
3974
+ "name": "factevidencecollection_getforsource",
3975
+ "operation": "getForSource",
3976
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
3977
+ },
3978
+ {
3979
+ "kind": "mcp",
3980
+ "name": "factevidencecollection_getforsources",
3981
+ "operation": "getForSources",
3982
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
3983
+ },
3984
+ {
3985
+ "kind": "mcp",
3986
+ "name": "factevidencecollection_bulkupdatestatus",
3987
+ "operation": "bulkUpdateStatus",
3988
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
3989
+ },
3990
+ {
3991
+ "kind": "mcp",
3992
+ "name": "factevidencecollection_replacegeneratedforsources",
3993
+ "operation": "replaceGeneratedForSources",
3994
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
3995
+ },
3996
+ {
3997
+ "kind": "mcp",
3998
+ "name": "factevidencecollection_upsertevidence",
3999
+ "operation": "upsertEvidence",
4000
+ "objectName": "@happyvertical/smrt-facts:FactEvidenceCollection"
4001
+ },
4002
+ {
4003
+ "kind": "api",
4004
+ "name": "factsources.list",
4005
+ "operation": "list",
4006
+ "objectName": "@happyvertical/smrt-facts:FactSource",
4007
+ "path": "/factsources",
4008
+ "method": "GET"
4009
+ },
4010
+ {
4011
+ "kind": "api",
4012
+ "name": "factsources.get",
4013
+ "operation": "get",
4014
+ "objectName": "@happyvertical/smrt-facts:FactSource",
4015
+ "path": "/factsources/[id]",
4016
+ "method": "GET"
4017
+ },
4018
+ {
4019
+ "kind": "api",
4020
+ "name": "factsources.create",
4021
+ "operation": "create",
4022
+ "objectName": "@happyvertical/smrt-facts:FactSource",
4023
+ "path": "/factsources",
4024
+ "method": "POST"
4025
+ },
4026
+ {
4027
+ "kind": "api",
4028
+ "name": "factsources.delete",
4029
+ "operation": "delete",
4030
+ "objectName": "@happyvertical/smrt-facts:FactSource",
4031
+ "path": "/factsources/[id]",
4032
+ "method": "DELETE"
4033
+ },
4034
+ {
4035
+ "kind": "cli",
4036
+ "name": "factsource_list",
4037
+ "operation": "list",
4038
+ "objectName": "@happyvertical/smrt-facts:FactSource"
4039
+ },
4040
+ {
4041
+ "kind": "cli",
4042
+ "name": "factsource_get",
4043
+ "operation": "get",
4044
+ "objectName": "@happyvertical/smrt-facts:FactSource"
4045
+ },
4046
+ {
4047
+ "kind": "cli",
4048
+ "name": "factsource_create",
4049
+ "operation": "create",
4050
+ "objectName": "@happyvertical/smrt-facts:FactSource"
4051
+ },
4052
+ {
4053
+ "kind": "cli",
4054
+ "name": "factsource_update",
4055
+ "operation": "update",
4056
+ "objectName": "@happyvertical/smrt-facts:FactSource"
4057
+ },
4058
+ {
4059
+ "kind": "cli",
4060
+ "name": "factsource_delete",
4061
+ "operation": "delete",
4062
+ "objectName": "@happyvertical/smrt-facts:FactSource"
4063
+ },
4064
+ {
4065
+ "kind": "cli",
4066
+ "name": "factsource_getMetadata",
4067
+ "operation": "getMetadata",
4068
+ "objectName": "@happyvertical/smrt-facts:FactSource"
4069
+ },
4070
+ {
4071
+ "kind": "cli",
4072
+ "name": "factsource_setMetadata",
4073
+ "operation": "setMetadata",
4074
+ "objectName": "@happyvertical/smrt-facts:FactSource"
4075
+ },
4076
+ {
4077
+ "kind": "cli",
4078
+ "name": "factsource_updateMetadata",
4079
+ "operation": "updateMetadata",
4080
+ "objectName": "@happyvertical/smrt-facts:FactSource"
4081
+ },
4082
+ {
4083
+ "kind": "cli",
4084
+ "name": "factsource_getFact",
4085
+ "operation": "getFact",
4086
+ "objectName": "@happyvertical/smrt-facts:FactSource"
4087
+ },
4088
+ {
4089
+ "kind": "mcp",
4090
+ "name": "factsource_list",
4091
+ "operation": "list",
4092
+ "objectName": "@happyvertical/smrt-facts:FactSource"
4093
+ },
4094
+ {
4095
+ "kind": "mcp",
4096
+ "name": "factsource_get",
4097
+ "operation": "get",
4098
+ "objectName": "@happyvertical/smrt-facts:FactSource"
4099
+ },
4100
+ {
4101
+ "kind": "mcp",
4102
+ "name": "factsource_create",
4103
+ "operation": "create",
4104
+ "objectName": "@happyvertical/smrt-facts:FactSource"
4105
+ },
4106
+ {
4107
+ "kind": "api",
4108
+ "name": "factsources.getForFact",
4109
+ "operation": "getForFact",
4110
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
4111
+ "path": "/factsources/getForFact",
4112
+ "method": "POST"
4113
+ },
4114
+ {
4115
+ "kind": "api",
4116
+ "name": "factsources.countForFact",
4117
+ "operation": "countForFact",
4118
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
4119
+ "path": "/factsources/countForFact",
4120
+ "method": "POST"
4121
+ },
4122
+ {
4123
+ "kind": "api",
4124
+ "name": "factsources.getByType",
4125
+ "operation": "getByType",
4126
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
4127
+ "path": "/factsources/getByType",
4128
+ "method": "POST"
4129
+ },
4130
+ {
4131
+ "kind": "api",
4132
+ "name": "factsources.getHighCredibility",
4133
+ "operation": "getHighCredibility",
4134
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
4135
+ "path": "/factsources/getHighCredibility",
4136
+ "method": "POST"
4137
+ },
4138
+ {
4139
+ "kind": "api",
4140
+ "name": "factsources.getAverageCredibility",
4141
+ "operation": "getAverageCredibility",
4142
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
4143
+ "path": "/factsources/getAverageCredibility",
4144
+ "method": "POST"
4145
+ },
4146
+ {
4147
+ "kind": "api",
4148
+ "name": "factsources.findByTenant",
4149
+ "operation": "findByTenant",
4150
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
4151
+ "path": "/factsources/findByTenant",
4152
+ "method": "POST"
4153
+ },
4154
+ {
4155
+ "kind": "api",
4156
+ "name": "factsources.findGlobal",
4157
+ "operation": "findGlobal",
4158
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
4159
+ "path": "/factsources/findGlobal",
4160
+ "method": "POST"
4161
+ },
4162
+ {
4163
+ "kind": "api",
4164
+ "name": "factsources.findWithGlobals",
4165
+ "operation": "findWithGlobals",
4166
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection",
4167
+ "path": "/factsources/findWithGlobals",
4168
+ "method": "POST"
4169
+ },
4170
+ {
4171
+ "kind": "cli",
4172
+ "name": "factsourcecollection_getForFact",
4173
+ "operation": "getForFact",
4174
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4175
+ },
4176
+ {
4177
+ "kind": "cli",
4178
+ "name": "factsourcecollection_countForFact",
4179
+ "operation": "countForFact",
4180
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4181
+ },
4182
+ {
4183
+ "kind": "cli",
4184
+ "name": "factsourcecollection_getByType",
4185
+ "operation": "getByType",
4186
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4187
+ },
4188
+ {
4189
+ "kind": "cli",
4190
+ "name": "factsourcecollection_getHighCredibility",
4191
+ "operation": "getHighCredibility",
4192
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4193
+ },
4194
+ {
4195
+ "kind": "cli",
4196
+ "name": "factsourcecollection_getAverageCredibility",
4197
+ "operation": "getAverageCredibility",
4198
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4199
+ },
4200
+ {
4201
+ "kind": "cli",
4202
+ "name": "factsourcecollection_findByTenant",
4203
+ "operation": "findByTenant",
4204
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4205
+ },
4206
+ {
4207
+ "kind": "cli",
4208
+ "name": "factsourcecollection_findGlobal",
4209
+ "operation": "findGlobal",
4210
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4211
+ },
4212
+ {
4213
+ "kind": "cli",
4214
+ "name": "factsourcecollection_findWithGlobals",
4215
+ "operation": "findWithGlobals",
4216
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4217
+ },
4218
+ {
4219
+ "kind": "mcp",
4220
+ "name": "factsourcecollection_getforfact",
4221
+ "operation": "getForFact",
4222
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4223
+ },
4224
+ {
4225
+ "kind": "mcp",
4226
+ "name": "factsourcecollection_countforfact",
4227
+ "operation": "countForFact",
4228
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4229
+ },
4230
+ {
4231
+ "kind": "mcp",
4232
+ "name": "factsourcecollection_getbytype",
4233
+ "operation": "getByType",
4234
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4235
+ },
4236
+ {
4237
+ "kind": "mcp",
4238
+ "name": "factsourcecollection_gethighcredibility",
4239
+ "operation": "getHighCredibility",
4240
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4241
+ },
4242
+ {
4243
+ "kind": "mcp",
4244
+ "name": "factsourcecollection_getaveragecredibility",
4245
+ "operation": "getAverageCredibility",
4246
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4247
+ },
4248
+ {
4249
+ "kind": "mcp",
4250
+ "name": "factsourcecollection_findbytenant",
4251
+ "operation": "findByTenant",
4252
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4253
+ },
4254
+ {
4255
+ "kind": "mcp",
4256
+ "name": "factsourcecollection_findglobal",
4257
+ "operation": "findGlobal",
4258
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4259
+ },
4260
+ {
4261
+ "kind": "mcp",
4262
+ "name": "factsourcecollection_findwithglobals",
4263
+ "operation": "findWithGlobals",
4264
+ "objectName": "@happyvertical/smrt-facts:FactSourceCollection"
4265
+ },
4266
+ {
4267
+ "kind": "api",
4268
+ "name": "factsubjects.list",
4269
+ "operation": "list",
4270
+ "objectName": "@happyvertical/smrt-facts:FactSubject",
4271
+ "path": "/factsubjects",
4272
+ "method": "GET"
4273
+ },
4274
+ {
4275
+ "kind": "api",
4276
+ "name": "factsubjects.get",
4277
+ "operation": "get",
4278
+ "objectName": "@happyvertical/smrt-facts:FactSubject",
4279
+ "path": "/factsubjects/[id]",
4280
+ "method": "GET"
4281
+ },
4282
+ {
4283
+ "kind": "api",
4284
+ "name": "factsubjects.create",
4285
+ "operation": "create",
4286
+ "objectName": "@happyvertical/smrt-facts:FactSubject",
4287
+ "path": "/factsubjects",
4288
+ "method": "POST"
4289
+ },
4290
+ {
4291
+ "kind": "api",
4292
+ "name": "factsubjects.delete",
4293
+ "operation": "delete",
4294
+ "objectName": "@happyvertical/smrt-facts:FactSubject",
4295
+ "path": "/factsubjects/[id]",
4296
+ "method": "DELETE"
4297
+ },
4298
+ {
4299
+ "kind": "cli",
4300
+ "name": "factsubject_list",
4301
+ "operation": "list",
4302
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
4303
+ },
4304
+ {
4305
+ "kind": "cli",
4306
+ "name": "factsubject_get",
4307
+ "operation": "get",
4308
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
4309
+ },
4310
+ {
4311
+ "kind": "cli",
4312
+ "name": "factsubject_create",
4313
+ "operation": "create",
4314
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
4315
+ },
4316
+ {
4317
+ "kind": "cli",
4318
+ "name": "factsubject_update",
4319
+ "operation": "update",
4320
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
4321
+ },
4322
+ {
4323
+ "kind": "cli",
4324
+ "name": "factsubject_delete",
4325
+ "operation": "delete",
4326
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
4327
+ },
4328
+ {
4329
+ "kind": "cli",
4330
+ "name": "factsubject_getRole",
4331
+ "operation": "getRole",
4332
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
4333
+ },
4334
+ {
4335
+ "kind": "cli",
4336
+ "name": "factsubject_getMetadata",
4337
+ "operation": "getMetadata",
4338
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
4339
+ },
4340
+ {
4341
+ "kind": "cli",
4342
+ "name": "factsubject_setMetadata",
4343
+ "operation": "setMetadata",
4344
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
4345
+ },
4346
+ {
4347
+ "kind": "cli",
4348
+ "name": "factsubject_updateMetadata",
4349
+ "operation": "updateMetadata",
4350
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
4351
+ },
4352
+ {
4353
+ "kind": "cli",
4354
+ "name": "factsubject_getFact",
4355
+ "operation": "getFact",
4356
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
4357
+ },
4358
+ {
4359
+ "kind": "mcp",
4360
+ "name": "factsubject_list",
4361
+ "operation": "list",
4362
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
4363
+ },
4364
+ {
4365
+ "kind": "mcp",
4366
+ "name": "factsubject_get",
4367
+ "operation": "get",
4368
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
4369
+ },
4370
+ {
4371
+ "kind": "mcp",
4372
+ "name": "factsubject_create",
4373
+ "operation": "create",
4374
+ "objectName": "@happyvertical/smrt-facts:FactSubject"
4375
+ },
4376
+ {
4377
+ "kind": "api",
4378
+ "name": "factsubjects.getForFact",
4379
+ "operation": "getForFact",
4380
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
4381
+ "path": "/factsubjects/getForFact",
4382
+ "method": "POST"
4383
+ },
4384
+ {
4385
+ "kind": "api",
4386
+ "name": "factsubjects.getForEntity",
4387
+ "operation": "getForEntity",
4388
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
4389
+ "path": "/factsubjects/getForEntity",
4390
+ "method": "POST"
4391
+ },
4392
+ {
4393
+ "kind": "api",
4394
+ "name": "factsubjects.linkEntity",
4395
+ "operation": "linkEntity",
4396
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
4397
+ "path": "/factsubjects/linkEntity",
4398
+ "method": "POST"
4399
+ },
4400
+ {
4401
+ "kind": "api",
4402
+ "name": "factsubjects.unlinkEntity",
4403
+ "operation": "unlinkEntity",
4404
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
4405
+ "path": "/factsubjects/unlinkEntity",
4406
+ "method": "POST"
4407
+ },
4408
+ {
4409
+ "kind": "api",
4410
+ "name": "factsubjects.getByRole",
4411
+ "operation": "getByRole",
4412
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
4413
+ "path": "/factsubjects/getByRole",
4414
+ "method": "POST"
4415
+ },
4416
+ {
4417
+ "kind": "api",
4418
+ "name": "factsubjects.countForFact",
4419
+ "operation": "countForFact",
4420
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
4421
+ "path": "/factsubjects/countForFact",
4422
+ "method": "POST"
4423
+ },
4424
+ {
4425
+ "kind": "api",
4426
+ "name": "factsubjects.findByTenant",
4427
+ "operation": "findByTenant",
4428
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
4429
+ "path": "/factsubjects/findByTenant",
4430
+ "method": "POST"
4431
+ },
4432
+ {
4433
+ "kind": "api",
4434
+ "name": "factsubjects.findGlobal",
4435
+ "operation": "findGlobal",
4436
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
4437
+ "path": "/factsubjects/findGlobal",
4438
+ "method": "POST"
4439
+ },
4440
+ {
4441
+ "kind": "api",
4442
+ "name": "factsubjects.findWithGlobals",
4443
+ "operation": "findWithGlobals",
4444
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection",
4445
+ "path": "/factsubjects/findWithGlobals",
4446
+ "method": "POST"
4447
+ },
4448
+ {
4449
+ "kind": "cli",
4450
+ "name": "factsubjectcollection_getForFact",
4451
+ "operation": "getForFact",
4452
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4453
+ },
4454
+ {
4455
+ "kind": "cli",
4456
+ "name": "factsubjectcollection_getForEntity",
4457
+ "operation": "getForEntity",
4458
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4459
+ },
4460
+ {
4461
+ "kind": "cli",
4462
+ "name": "factsubjectcollection_linkEntity",
4463
+ "operation": "linkEntity",
4464
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4465
+ },
4466
+ {
4467
+ "kind": "cli",
4468
+ "name": "factsubjectcollection_unlinkEntity",
4469
+ "operation": "unlinkEntity",
4470
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4471
+ },
4472
+ {
4473
+ "kind": "cli",
4474
+ "name": "factsubjectcollection_getByRole",
4475
+ "operation": "getByRole",
4476
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4477
+ },
4478
+ {
4479
+ "kind": "cli",
4480
+ "name": "factsubjectcollection_countForFact",
4481
+ "operation": "countForFact",
4482
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4483
+ },
4484
+ {
4485
+ "kind": "cli",
4486
+ "name": "factsubjectcollection_findByTenant",
4487
+ "operation": "findByTenant",
4488
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4489
+ },
4490
+ {
4491
+ "kind": "cli",
4492
+ "name": "factsubjectcollection_findGlobal",
4493
+ "operation": "findGlobal",
4494
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4495
+ },
4496
+ {
4497
+ "kind": "cli",
4498
+ "name": "factsubjectcollection_findWithGlobals",
4499
+ "operation": "findWithGlobals",
4500
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4501
+ },
4502
+ {
4503
+ "kind": "mcp",
4504
+ "name": "factsubjectcollection_getforfact",
4505
+ "operation": "getForFact",
4506
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4507
+ },
4508
+ {
4509
+ "kind": "mcp",
4510
+ "name": "factsubjectcollection_getforentity",
4511
+ "operation": "getForEntity",
4512
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4513
+ },
4514
+ {
4515
+ "kind": "mcp",
4516
+ "name": "factsubjectcollection_linkentity",
4517
+ "operation": "linkEntity",
4518
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4519
+ },
4520
+ {
4521
+ "kind": "mcp",
4522
+ "name": "factsubjectcollection_unlinkentity",
4523
+ "operation": "unlinkEntity",
4524
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4525
+ },
4526
+ {
4527
+ "kind": "mcp",
4528
+ "name": "factsubjectcollection_getbyrole",
4529
+ "operation": "getByRole",
4530
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4531
+ },
4532
+ {
4533
+ "kind": "mcp",
4534
+ "name": "factsubjectcollection_countforfact",
4535
+ "operation": "countForFact",
4536
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4537
+ },
4538
+ {
4539
+ "kind": "mcp",
4540
+ "name": "factsubjectcollection_findbytenant",
4541
+ "operation": "findByTenant",
4542
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4543
+ },
4544
+ {
4545
+ "kind": "mcp",
4546
+ "name": "factsubjectcollection_findglobal",
4547
+ "operation": "findGlobal",
4548
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4549
+ },
4550
+ {
4551
+ "kind": "mcp",
4552
+ "name": "factsubjectcollection_findwithglobals",
4553
+ "operation": "findWithGlobals",
4554
+ "objectName": "@happyvertical/smrt-facts:FactSubjectCollection"
4555
+ },
4556
+ {
4557
+ "kind": "api",
4558
+ "name": "facttags.list",
4559
+ "operation": "list",
4560
+ "objectName": "@happyvertical/smrt-facts:FactTag",
4561
+ "path": "/facttags",
4562
+ "method": "GET"
4563
+ },
4564
+ {
4565
+ "kind": "api",
4566
+ "name": "facttags.get",
4567
+ "operation": "get",
4568
+ "objectName": "@happyvertical/smrt-facts:FactTag",
4569
+ "path": "/facttags/[id]",
4570
+ "method": "GET"
4571
+ },
4572
+ {
4573
+ "kind": "api",
4574
+ "name": "facttags.create",
4575
+ "operation": "create",
4576
+ "objectName": "@happyvertical/smrt-facts:FactTag",
4577
+ "path": "/facttags",
4578
+ "method": "POST"
4579
+ },
4580
+ {
4581
+ "kind": "api",
4582
+ "name": "facttags.delete",
4583
+ "operation": "delete",
4584
+ "objectName": "@happyvertical/smrt-facts:FactTag",
4585
+ "path": "/facttags/[id]",
4586
+ "method": "DELETE"
4587
+ },
4588
+ {
4589
+ "kind": "cli",
4590
+ "name": "facttag_list",
4591
+ "operation": "list",
4592
+ "objectName": "@happyvertical/smrt-facts:FactTag"
4593
+ },
4594
+ {
4595
+ "kind": "cli",
4596
+ "name": "facttag_get",
4597
+ "operation": "get",
4598
+ "objectName": "@happyvertical/smrt-facts:FactTag"
4599
+ },
4600
+ {
4601
+ "kind": "cli",
4602
+ "name": "facttag_create",
4603
+ "operation": "create",
4604
+ "objectName": "@happyvertical/smrt-facts:FactTag"
4605
+ },
4606
+ {
4607
+ "kind": "cli",
4608
+ "name": "facttag_update",
4609
+ "operation": "update",
4610
+ "objectName": "@happyvertical/smrt-facts:FactTag"
4611
+ },
4612
+ {
4613
+ "kind": "cli",
4614
+ "name": "facttag_delete",
4615
+ "operation": "delete",
4616
+ "objectName": "@happyvertical/smrt-facts:FactTag"
4617
+ },
4618
+ {
4619
+ "kind": "cli",
4620
+ "name": "facttag_getMetadata",
4621
+ "operation": "getMetadata",
4622
+ "objectName": "@happyvertical/smrt-facts:FactTag"
4623
+ },
4624
+ {
4625
+ "kind": "cli",
4626
+ "name": "facttag_setMetadata",
4627
+ "operation": "setMetadata",
4628
+ "objectName": "@happyvertical/smrt-facts:FactTag"
4629
+ },
4630
+ {
4631
+ "kind": "cli",
4632
+ "name": "facttag_updateMetadata",
4633
+ "operation": "updateMetadata",
4634
+ "objectName": "@happyvertical/smrt-facts:FactTag"
4635
+ },
4636
+ {
4637
+ "kind": "cli",
4638
+ "name": "facttag_getFact",
4639
+ "operation": "getFact",
4640
+ "objectName": "@happyvertical/smrt-facts:FactTag"
4641
+ },
4642
+ {
4643
+ "kind": "mcp",
4644
+ "name": "facttag_list",
4645
+ "operation": "list",
4646
+ "objectName": "@happyvertical/smrt-facts:FactTag"
4647
+ },
4648
+ {
4649
+ "kind": "mcp",
4650
+ "name": "facttag_get",
4651
+ "operation": "get",
4652
+ "objectName": "@happyvertical/smrt-facts:FactTag"
4653
+ },
4654
+ {
4655
+ "kind": "mcp",
4656
+ "name": "facttag_create",
4657
+ "operation": "create",
4658
+ "objectName": "@happyvertical/smrt-facts:FactTag"
4659
+ },
4660
+ {
4661
+ "kind": "api",
4662
+ "name": "facttags.getForFact",
4663
+ "operation": "getForFact",
4664
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
4665
+ "path": "/facttags/getForFact",
4666
+ "method": "POST"
4667
+ },
4668
+ {
4669
+ "kind": "api",
4670
+ "name": "facttags.getForTag",
4671
+ "operation": "getForTag",
4672
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
4673
+ "path": "/facttags/getForTag",
4674
+ "method": "POST"
4675
+ },
4676
+ {
4677
+ "kind": "api",
4678
+ "name": "facttags.addTag",
4679
+ "operation": "addTag",
4680
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
4681
+ "path": "/facttags/addTag",
4682
+ "method": "POST"
4683
+ },
4684
+ {
4685
+ "kind": "api",
4686
+ "name": "facttags.removeTag",
4687
+ "operation": "removeTag",
4688
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
4689
+ "path": "/facttags/removeTag",
4690
+ "method": "POST"
4691
+ },
4692
+ {
4693
+ "kind": "api",
4694
+ "name": "facttags.getTagSlugs",
4695
+ "operation": "getTagSlugs",
4696
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
4697
+ "path": "/facttags/getTagSlugs",
4698
+ "method": "POST"
4699
+ },
4700
+ {
4701
+ "kind": "api",
4702
+ "name": "facttags.findByTenant",
4703
+ "operation": "findByTenant",
4704
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
4705
+ "path": "/facttags/findByTenant",
4706
+ "method": "POST"
4707
+ },
4708
+ {
4709
+ "kind": "api",
4710
+ "name": "facttags.findGlobal",
4711
+ "operation": "findGlobal",
4712
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
4713
+ "path": "/facttags/findGlobal",
4714
+ "method": "POST"
4715
+ },
4716
+ {
4717
+ "kind": "api",
4718
+ "name": "facttags.findWithGlobals",
4719
+ "operation": "findWithGlobals",
4720
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection",
4721
+ "path": "/facttags/findWithGlobals",
4722
+ "method": "POST"
4723
+ },
4724
+ {
4725
+ "kind": "cli",
4726
+ "name": "facttagcollection_getForFact",
4727
+ "operation": "getForFact",
4728
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4729
+ },
4730
+ {
4731
+ "kind": "cli",
4732
+ "name": "facttagcollection_getForTag",
4733
+ "operation": "getForTag",
4734
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4735
+ },
4736
+ {
4737
+ "kind": "cli",
4738
+ "name": "facttagcollection_addTag",
4739
+ "operation": "addTag",
4740
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4741
+ },
4742
+ {
4743
+ "kind": "cli",
4744
+ "name": "facttagcollection_removeTag",
4745
+ "operation": "removeTag",
4746
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4747
+ },
4748
+ {
4749
+ "kind": "cli",
4750
+ "name": "facttagcollection_getTagSlugs",
4751
+ "operation": "getTagSlugs",
4752
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4753
+ },
4754
+ {
4755
+ "kind": "cli",
4756
+ "name": "facttagcollection_findByTenant",
4757
+ "operation": "findByTenant",
4758
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4759
+ },
4760
+ {
4761
+ "kind": "cli",
4762
+ "name": "facttagcollection_findGlobal",
4763
+ "operation": "findGlobal",
4764
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4765
+ },
4766
+ {
4767
+ "kind": "cli",
4768
+ "name": "facttagcollection_findWithGlobals",
4769
+ "operation": "findWithGlobals",
4770
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4771
+ },
4772
+ {
4773
+ "kind": "mcp",
4774
+ "name": "facttagcollection_getforfact",
4775
+ "operation": "getForFact",
4776
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4777
+ },
4778
+ {
4779
+ "kind": "mcp",
4780
+ "name": "facttagcollection_getfortag",
4781
+ "operation": "getForTag",
4782
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4783
+ },
4784
+ {
4785
+ "kind": "mcp",
4786
+ "name": "facttagcollection_addtag",
4787
+ "operation": "addTag",
4788
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4789
+ },
4790
+ {
4791
+ "kind": "mcp",
4792
+ "name": "facttagcollection_removetag",
4793
+ "operation": "removeTag",
4794
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4795
+ },
4796
+ {
4797
+ "kind": "mcp",
4798
+ "name": "facttagcollection_gettagslugs",
4799
+ "operation": "getTagSlugs",
4800
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4801
+ },
4802
+ {
4803
+ "kind": "mcp",
4804
+ "name": "facttagcollection_findbytenant",
4805
+ "operation": "findByTenant",
4806
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4807
+ },
4808
+ {
4809
+ "kind": "mcp",
4810
+ "name": "facttagcollection_findglobal",
4811
+ "operation": "findGlobal",
4812
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4813
+ },
4814
+ {
4815
+ "kind": "mcp",
4816
+ "name": "facttagcollection_findwithglobals",
4817
+ "operation": "findWithGlobals",
4818
+ "objectName": "@happyvertical/smrt-facts:FactTagCollection"
4819
+ },
4820
+ {
4821
+ "kind": "api",
4822
+ "name": "facts.list",
4823
+ "operation": "list",
4824
+ "objectName": "@happyvertical/smrt-facts:Fact",
4825
+ "path": "/facts",
2870
4826
  "method": "GET"
2871
4827
  },
2872
4828
  {
2873
4829
  "kind": "api",
2874
- "name": "factevidences.create",
4830
+ "name": "facts.get",
4831
+ "operation": "get",
4832
+ "objectName": "@happyvertical/smrt-facts:Fact",
4833
+ "path": "/facts/[id]",
4834
+ "method": "GET"
4835
+ },
4836
+ {
4837
+ "kind": "api",
4838
+ "name": "facts.create",
2875
4839
  "operation": "create",
2876
- "objectName": "@happyvertical/smrt-facts:FactEvidence",
2877
- "path": "/factevidences",
4840
+ "objectName": "@happyvertical/smrt-facts:Fact",
4841
+ "path": "/facts",
2878
4842
  "method": "POST"
2879
4843
  },
2880
4844
  {
2881
4845
  "kind": "api",
2882
- "name": "factevidences.delete",
4846
+ "name": "facts.update",
4847
+ "operation": "update",
4848
+ "objectName": "@happyvertical/smrt-facts:Fact",
4849
+ "path": "/facts/[id]",
4850
+ "method": "PATCH"
4851
+ },
4852
+ {
4853
+ "kind": "api",
4854
+ "name": "facts.delete",
2883
4855
  "operation": "delete",
2884
- "objectName": "@happyvertical/smrt-facts:FactEvidence",
2885
- "path": "/factevidences/[id]",
4856
+ "objectName": "@happyvertical/smrt-facts:Fact",
4857
+ "path": "/facts/[id]",
2886
4858
  "method": "DELETE"
2887
4859
  },
2888
4860
  {
2889
4861
  "kind": "cli",
2890
- "name": "factevidence_list",
4862
+ "name": "fact_list",
2891
4863
  "operation": "list",
2892
- "objectName": "@happyvertical/smrt-facts:FactEvidence"
4864
+ "objectName": "@happyvertical/smrt-facts:Fact"
2893
4865
  },
2894
4866
  {
2895
4867
  "kind": "cli",
2896
- "name": "factevidence_get",
4868
+ "name": "fact_get",
2897
4869
  "operation": "get",
2898
- "objectName": "@happyvertical/smrt-facts:FactEvidence"
4870
+ "objectName": "@happyvertical/smrt-facts:Fact"
2899
4871
  },
2900
4872
  {
2901
4873
  "kind": "cli",
2902
- "name": "factevidence_create",
4874
+ "name": "fact_create",
2903
4875
  "operation": "create",
2904
- "objectName": "@happyvertical/smrt-facts:FactEvidence"
4876
+ "objectName": "@happyvertical/smrt-facts:Fact"
2905
4877
  },
2906
4878
  {
2907
4879
  "kind": "cli",
2908
- "name": "factevidence_update",
4880
+ "name": "fact_update",
2909
4881
  "operation": "update",
2910
- "objectName": "@happyvertical/smrt-facts:FactEvidence"
4882
+ "objectName": "@happyvertical/smrt-facts:Fact"
2911
4883
  },
2912
4884
  {
2913
4885
  "kind": "cli",
2914
- "name": "factevidence_delete",
4886
+ "name": "fact_delete",
2915
4887
  "operation": "delete",
2916
- "objectName": "@happyvertical/smrt-facts:FactEvidence"
4888
+ "objectName": "@happyvertical/smrt-facts:Fact"
4889
+ },
4890
+ {
4891
+ "kind": "cli",
4892
+ "name": "fact_getMetadata",
4893
+ "operation": "getMetadata",
4894
+ "objectName": "@happyvertical/smrt-facts:Fact"
4895
+ },
4896
+ {
4897
+ "kind": "cli",
4898
+ "name": "fact_setMetadata",
4899
+ "operation": "setMetadata",
4900
+ "objectName": "@happyvertical/smrt-facts:Fact"
4901
+ },
4902
+ {
4903
+ "kind": "cli",
4904
+ "name": "fact_updateMetadata",
4905
+ "operation": "updateMetadata",
4906
+ "objectName": "@happyvertical/smrt-facts:Fact"
4907
+ },
4908
+ {
4909
+ "kind": "cli",
4910
+ "name": "fact_getType",
4911
+ "operation": "getType",
4912
+ "objectName": "@happyvertical/smrt-facts:Fact"
4913
+ },
4914
+ {
4915
+ "kind": "cli",
4916
+ "name": "fact_getStatus",
4917
+ "operation": "getStatus",
4918
+ "objectName": "@happyvertical/smrt-facts:Fact"
4919
+ },
4920
+ {
4921
+ "kind": "cli",
4922
+ "name": "fact_getEvolutionType",
4923
+ "operation": "getEvolutionType",
4924
+ "objectName": "@happyvertical/smrt-facts:Fact"
4925
+ },
4926
+ {
4927
+ "kind": "cli",
4928
+ "name": "fact_isActive",
4929
+ "operation": "isActive",
4930
+ "objectName": "@happyvertical/smrt-facts:Fact"
4931
+ },
4932
+ {
4933
+ "kind": "cli",
4934
+ "name": "fact_isSuperseded",
4935
+ "operation": "isSuperseded",
4936
+ "objectName": "@happyvertical/smrt-facts:Fact"
4937
+ },
4938
+ {
4939
+ "kind": "cli",
4940
+ "name": "fact_hasPredecessor",
4941
+ "operation": "hasPredecessor",
4942
+ "objectName": "@happyvertical/smrt-facts:Fact"
4943
+ },
4944
+ {
4945
+ "kind": "cli",
4946
+ "name": "fact_getPredecessor",
4947
+ "operation": "getPredecessor",
4948
+ "objectName": "@happyvertical/smrt-facts:Fact"
4949
+ },
4950
+ {
4951
+ "kind": "cli",
4952
+ "name": "fact_getSuccessors",
4953
+ "operation": "getSuccessors",
4954
+ "objectName": "@happyvertical/smrt-facts:Fact"
4955
+ },
4956
+ {
4957
+ "kind": "cli",
4958
+ "name": "fact_getSources",
4959
+ "operation": "getSources",
4960
+ "objectName": "@happyvertical/smrt-facts:Fact"
4961
+ },
4962
+ {
4963
+ "kind": "cli",
4964
+ "name": "fact_getSubjects",
4965
+ "operation": "getSubjects",
4966
+ "objectName": "@happyvertical/smrt-facts:Fact"
2917
4967
  },
2918
4968
  {
2919
4969
  "kind": "mcp",
2920
- "name": "factevidence_list",
4970
+ "name": "fact_list",
2921
4971
  "operation": "list",
2922
- "objectName": "@happyvertical/smrt-facts:FactEvidence"
4972
+ "objectName": "@happyvertical/smrt-facts:Fact"
2923
4973
  },
2924
4974
  {
2925
4975
  "kind": "mcp",
2926
- "name": "factevidence_get",
4976
+ "name": "fact_get",
2927
4977
  "operation": "get",
2928
- "objectName": "@happyvertical/smrt-facts:FactEvidence"
4978
+ "objectName": "@happyvertical/smrt-facts:Fact"
2929
4979
  },
2930
4980
  {
2931
4981
  "kind": "mcp",
2932
- "name": "factevidence_create",
4982
+ "name": "fact_create",
2933
4983
  "operation": "create",
2934
- "objectName": "@happyvertical/smrt-facts:FactEvidence"
4984
+ "objectName": "@happyvertical/smrt-facts:Fact"
4985
+ },
4986
+ {
4987
+ "kind": "mcp",
4988
+ "name": "fact_update",
4989
+ "operation": "update",
4990
+ "objectName": "@happyvertical/smrt-facts:Fact"
2935
4991
  },
2936
4992
  {
2937
4993
  "kind": "api",
2938
- "name": "factsources.list",
2939
- "operation": "list",
2940
- "objectName": "@happyvertical/smrt-facts:FactSource",
2941
- "path": "/factsources",
2942
- "method": "GET"
4994
+ "name": "facts.getActive",
4995
+ "operation": "getActive",
4996
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
4997
+ "path": "/facts/getActive",
4998
+ "method": "POST"
2943
4999
  },
2944
5000
  {
2945
5001
  "kind": "api",
2946
- "name": "factsources.get",
2947
- "operation": "get",
2948
- "objectName": "@happyvertical/smrt-facts:FactSource",
2949
- "path": "/factsources/[id]",
2950
- "method": "GET"
5002
+ "name": "facts.getPending",
5003
+ "operation": "getPending",
5004
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5005
+ "path": "/facts/getPending",
5006
+ "method": "POST"
5007
+ },
5008
+ {
5009
+ "kind": "api",
5010
+ "name": "facts.getByType",
5011
+ "operation": "getByType",
5012
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5013
+ "path": "/facts/getByType",
5014
+ "method": "POST"
5015
+ },
5016
+ {
5017
+ "kind": "api",
5018
+ "name": "facts.getByDomain",
5019
+ "operation": "getByDomain",
5020
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5021
+ "path": "/facts/getByDomain",
5022
+ "method": "POST"
5023
+ },
5024
+ {
5025
+ "kind": "api",
5026
+ "name": "facts.getByStatus",
5027
+ "operation": "getByStatus",
5028
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5029
+ "path": "/facts/getByStatus",
5030
+ "method": "POST"
5031
+ },
5032
+ {
5033
+ "kind": "api",
5034
+ "name": "facts.getSuccessors",
5035
+ "operation": "getSuccessors",
5036
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5037
+ "path": "/facts/getSuccessors",
5038
+ "method": "POST"
5039
+ },
5040
+ {
5041
+ "kind": "api",
5042
+ "name": "facts.findByTenant",
5043
+ "operation": "findByTenant",
5044
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5045
+ "path": "/facts/findByTenant",
5046
+ "method": "POST"
5047
+ },
5048
+ {
5049
+ "kind": "api",
5050
+ "name": "facts.findGlobal",
5051
+ "operation": "findGlobal",
5052
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5053
+ "path": "/facts/findGlobal",
5054
+ "method": "POST"
2951
5055
  },
2952
5056
  {
2953
5057
  "kind": "api",
2954
- "name": "factsources.create",
2955
- "operation": "create",
2956
- "objectName": "@happyvertical/smrt-facts:FactSource",
2957
- "path": "/factsources",
5058
+ "name": "facts.findWithGlobals",
5059
+ "operation": "findWithGlobals",
5060
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5061
+ "path": "/facts/findWithGlobals",
2958
5062
  "method": "POST"
2959
5063
  },
2960
5064
  {
2961
5065
  "kind": "api",
2962
- "name": "factsources.delete",
2963
- "operation": "delete",
2964
- "objectName": "@happyvertical/smrt-facts:FactSource",
2965
- "path": "/factsources/[id]",
2966
- "method": "DELETE"
5066
+ "name": "facts.browseCatalog",
5067
+ "operation": "browseCatalog",
5068
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5069
+ "path": "/facts/browseCatalog",
5070
+ "method": "POST"
2967
5071
  },
2968
5072
  {
2969
- "kind": "cli",
2970
- "name": "factsource_list",
2971
- "operation": "list",
2972
- "objectName": "@happyvertical/smrt-facts:FactSource"
5073
+ "kind": "api",
5074
+ "name": "facts.getForContent",
5075
+ "operation": "getForContent",
5076
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5077
+ "path": "/facts/getForContent",
5078
+ "method": "POST"
2973
5079
  },
2974
5080
  {
2975
- "kind": "cli",
2976
- "name": "factsource_get",
2977
- "operation": "get",
2978
- "objectName": "@happyvertical/smrt-facts:FactSource"
5081
+ "kind": "api",
5082
+ "name": "facts.reconcile",
5083
+ "operation": "reconcile",
5084
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5085
+ "path": "/facts/reconcile",
5086
+ "method": "POST"
2979
5087
  },
2980
5088
  {
2981
- "kind": "cli",
2982
- "name": "factsource_create",
2983
- "operation": "create",
2984
- "objectName": "@happyvertical/smrt-facts:FactSource"
5089
+ "kind": "api",
5090
+ "name": "facts.extractCandidatesFromText",
5091
+ "operation": "extractCandidatesFromText",
5092
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5093
+ "path": "/facts/extractCandidatesFromText",
5094
+ "method": "POST"
2985
5095
  },
2986
5096
  {
2987
- "kind": "cli",
2988
- "name": "factsource_update",
2989
- "operation": "update",
2990
- "objectName": "@happyvertical/smrt-facts:FactSource"
5097
+ "kind": "api",
5098
+ "name": "facts.extractArticleClaims",
5099
+ "operation": "extractArticleClaims",
5100
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5101
+ "path": "/facts/extractArticleClaims",
5102
+ "method": "POST"
2991
5103
  },
2992
5104
  {
2993
- "kind": "cli",
2994
- "name": "factsource_delete",
2995
- "operation": "delete",
2996
- "objectName": "@happyvertical/smrt-facts:FactSource"
5105
+ "kind": "api",
5106
+ "name": "facts.assessClaimSupport",
5107
+ "operation": "assessClaimSupport",
5108
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5109
+ "path": "/facts/assessClaimSupport",
5110
+ "method": "POST"
2997
5111
  },
2998
5112
  {
2999
- "kind": "mcp",
3000
- "name": "factsource_list",
3001
- "operation": "list",
3002
- "objectName": "@happyvertical/smrt-facts:FactSource"
5113
+ "kind": "api",
5114
+ "name": "facts.branch",
5115
+ "operation": "branch",
5116
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5117
+ "path": "/facts/branch",
5118
+ "method": "POST"
3003
5119
  },
3004
5120
  {
3005
- "kind": "mcp",
3006
- "name": "factsource_get",
3007
- "operation": "get",
3008
- "objectName": "@happyvertical/smrt-facts:FactSource"
5121
+ "kind": "api",
5122
+ "name": "facts.getEvolutionChain",
5123
+ "operation": "getEvolutionChain",
5124
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5125
+ "path": "/facts/getEvolutionChain",
5126
+ "method": "POST"
3009
5127
  },
3010
5128
  {
3011
- "kind": "mcp",
3012
- "name": "factsource_create",
3013
- "operation": "create",
3014
- "objectName": "@happyvertical/smrt-facts:FactSource"
5129
+ "kind": "api",
5130
+ "name": "facts.getLatestInChain",
5131
+ "operation": "getLatestInChain",
5132
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5133
+ "path": "/facts/getLatestInChain",
5134
+ "method": "POST"
3015
5135
  },
3016
5136
  {
3017
5137
  "kind": "api",
3018
- "name": "factsubjects.list",
3019
- "operation": "list",
3020
- "objectName": "@happyvertical/smrt-facts:FactSubject",
3021
- "path": "/factsubjects",
3022
- "method": "GET"
5138
+ "name": "facts.getEvolutionTree",
5139
+ "operation": "getEvolutionTree",
5140
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5141
+ "path": "/facts/getEvolutionTree",
5142
+ "method": "POST"
3023
5143
  },
3024
5144
  {
3025
5145
  "kind": "api",
3026
- "name": "factsubjects.get",
3027
- "operation": "get",
3028
- "objectName": "@happyvertical/smrt-facts:FactSubject",
3029
- "path": "/factsubjects/[id]",
3030
- "method": "GET"
5146
+ "name": "facts.recalculateConfidence",
5147
+ "operation": "recalculateConfidence",
5148
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5149
+ "path": "/facts/recalculateConfidence",
5150
+ "method": "POST"
3031
5151
  },
3032
5152
  {
3033
5153
  "kind": "api",
3034
- "name": "factsubjects.create",
3035
- "operation": "create",
3036
- "objectName": "@happyvertical/smrt-facts:FactSubject",
3037
- "path": "/factsubjects",
5154
+ "name": "facts.getEntityBriefing",
5155
+ "operation": "getEntityBriefing",
5156
+ "objectName": "@happyvertical/smrt-facts:FactCollection",
5157
+ "path": "/facts/getEntityBriefing",
3038
5158
  "method": "POST"
3039
5159
  },
3040
5160
  {
3041
- "kind": "api",
3042
- "name": "factsubjects.delete",
3043
- "operation": "delete",
3044
- "objectName": "@happyvertical/smrt-facts:FactSubject",
3045
- "path": "/factsubjects/[id]",
3046
- "method": "DELETE"
5161
+ "kind": "cli",
5162
+ "name": "factcollection_getActive",
5163
+ "operation": "getActive",
5164
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3047
5165
  },
3048
5166
  {
3049
5167
  "kind": "cli",
3050
- "name": "factsubject_list",
3051
- "operation": "list",
3052
- "objectName": "@happyvertical/smrt-facts:FactSubject"
5168
+ "name": "factcollection_getPending",
5169
+ "operation": "getPending",
5170
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3053
5171
  },
3054
5172
  {
3055
5173
  "kind": "cli",
3056
- "name": "factsubject_get",
3057
- "operation": "get",
3058
- "objectName": "@happyvertical/smrt-facts:FactSubject"
5174
+ "name": "factcollection_getByType",
5175
+ "operation": "getByType",
5176
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3059
5177
  },
3060
5178
  {
3061
5179
  "kind": "cli",
3062
- "name": "factsubject_create",
3063
- "operation": "create",
3064
- "objectName": "@happyvertical/smrt-facts:FactSubject"
5180
+ "name": "factcollection_getByDomain",
5181
+ "operation": "getByDomain",
5182
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3065
5183
  },
3066
5184
  {
3067
5185
  "kind": "cli",
3068
- "name": "factsubject_update",
3069
- "operation": "update",
3070
- "objectName": "@happyvertical/smrt-facts:FactSubject"
5186
+ "name": "factcollection_getByStatus",
5187
+ "operation": "getByStatus",
5188
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3071
5189
  },
3072
5190
  {
3073
5191
  "kind": "cli",
3074
- "name": "factsubject_delete",
3075
- "operation": "delete",
3076
- "objectName": "@happyvertical/smrt-facts:FactSubject"
5192
+ "name": "factcollection_getSuccessors",
5193
+ "operation": "getSuccessors",
5194
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3077
5195
  },
3078
5196
  {
3079
- "kind": "mcp",
3080
- "name": "factsubject_list",
3081
- "operation": "list",
3082
- "objectName": "@happyvertical/smrt-facts:FactSubject"
5197
+ "kind": "cli",
5198
+ "name": "factcollection_findByTenant",
5199
+ "operation": "findByTenant",
5200
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3083
5201
  },
3084
5202
  {
3085
- "kind": "mcp",
3086
- "name": "factsubject_get",
3087
- "operation": "get",
3088
- "objectName": "@happyvertical/smrt-facts:FactSubject"
5203
+ "kind": "cli",
5204
+ "name": "factcollection_findGlobal",
5205
+ "operation": "findGlobal",
5206
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3089
5207
  },
3090
5208
  {
3091
- "kind": "mcp",
3092
- "name": "factsubject_create",
3093
- "operation": "create",
3094
- "objectName": "@happyvertical/smrt-facts:FactSubject"
5209
+ "kind": "cli",
5210
+ "name": "factcollection_findWithGlobals",
5211
+ "operation": "findWithGlobals",
5212
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3095
5213
  },
3096
5214
  {
3097
- "kind": "api",
3098
- "name": "facttags.list",
3099
- "operation": "list",
3100
- "objectName": "@happyvertical/smrt-facts:FactTag",
3101
- "path": "/facttags",
3102
- "method": "GET"
5215
+ "kind": "cli",
5216
+ "name": "factcollection_browseCatalog",
5217
+ "operation": "browseCatalog",
5218
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3103
5219
  },
3104
5220
  {
3105
- "kind": "api",
3106
- "name": "facttags.get",
3107
- "operation": "get",
3108
- "objectName": "@happyvertical/smrt-facts:FactTag",
3109
- "path": "/facttags/[id]",
3110
- "method": "GET"
5221
+ "kind": "cli",
5222
+ "name": "factcollection_getForContent",
5223
+ "operation": "getForContent",
5224
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3111
5225
  },
3112
5226
  {
3113
- "kind": "api",
3114
- "name": "facttags.create",
3115
- "operation": "create",
3116
- "objectName": "@happyvertical/smrt-facts:FactTag",
3117
- "path": "/facttags",
3118
- "method": "POST"
5227
+ "kind": "cli",
5228
+ "name": "factcollection_reconcile",
5229
+ "operation": "reconcile",
5230
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3119
5231
  },
3120
5232
  {
3121
- "kind": "api",
3122
- "name": "facttags.delete",
3123
- "operation": "delete",
3124
- "objectName": "@happyvertical/smrt-facts:FactTag",
3125
- "path": "/facttags/[id]",
3126
- "method": "DELETE"
5233
+ "kind": "cli",
5234
+ "name": "factcollection_extractCandidatesFromText",
5235
+ "operation": "extractCandidatesFromText",
5236
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3127
5237
  },
3128
5238
  {
3129
5239
  "kind": "cli",
3130
- "name": "facttag_list",
3131
- "operation": "list",
3132
- "objectName": "@happyvertical/smrt-facts:FactTag"
5240
+ "name": "factcollection_extractArticleClaims",
5241
+ "operation": "extractArticleClaims",
5242
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3133
5243
  },
3134
5244
  {
3135
5245
  "kind": "cli",
3136
- "name": "facttag_get",
3137
- "operation": "get",
3138
- "objectName": "@happyvertical/smrt-facts:FactTag"
5246
+ "name": "factcollection_assessClaimSupport",
5247
+ "operation": "assessClaimSupport",
5248
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3139
5249
  },
3140
5250
  {
3141
5251
  "kind": "cli",
3142
- "name": "facttag_create",
3143
- "operation": "create",
3144
- "objectName": "@happyvertical/smrt-facts:FactTag"
5252
+ "name": "factcollection_branch",
5253
+ "operation": "branch",
5254
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3145
5255
  },
3146
5256
  {
3147
5257
  "kind": "cli",
3148
- "name": "facttag_update",
3149
- "operation": "update",
3150
- "objectName": "@happyvertical/smrt-facts:FactTag"
5258
+ "name": "factcollection_getEvolutionChain",
5259
+ "operation": "getEvolutionChain",
5260
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3151
5261
  },
3152
5262
  {
3153
5263
  "kind": "cli",
3154
- "name": "facttag_delete",
3155
- "operation": "delete",
3156
- "objectName": "@happyvertical/smrt-facts:FactTag"
5264
+ "name": "factcollection_getLatestInChain",
5265
+ "operation": "getLatestInChain",
5266
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
5267
+ },
5268
+ {
5269
+ "kind": "cli",
5270
+ "name": "factcollection_getEvolutionTree",
5271
+ "operation": "getEvolutionTree",
5272
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
5273
+ },
5274
+ {
5275
+ "kind": "cli",
5276
+ "name": "factcollection_recalculateConfidence",
5277
+ "operation": "recalculateConfidence",
5278
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
5279
+ },
5280
+ {
5281
+ "kind": "cli",
5282
+ "name": "factcollection_getEntityBriefing",
5283
+ "operation": "getEntityBriefing",
5284
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3157
5285
  },
3158
5286
  {
3159
5287
  "kind": "mcp",
3160
- "name": "facttag_list",
3161
- "operation": "list",
3162
- "objectName": "@happyvertical/smrt-facts:FactTag"
5288
+ "name": "factcollection_getactive",
5289
+ "operation": "getActive",
5290
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3163
5291
  },
3164
5292
  {
3165
5293
  "kind": "mcp",
3166
- "name": "facttag_get",
3167
- "operation": "get",
3168
- "objectName": "@happyvertical/smrt-facts:FactTag"
5294
+ "name": "factcollection_getpending",
5295
+ "operation": "getPending",
5296
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3169
5297
  },
3170
5298
  {
3171
5299
  "kind": "mcp",
3172
- "name": "facttag_create",
3173
- "operation": "create",
3174
- "objectName": "@happyvertical/smrt-facts:FactTag"
5300
+ "name": "factcollection_getbytype",
5301
+ "operation": "getByType",
5302
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3175
5303
  },
3176
5304
  {
3177
- "kind": "api",
3178
- "name": "facts.list",
3179
- "operation": "list",
3180
- "objectName": "@happyvertical/smrt-facts:Fact",
3181
- "path": "/facts",
3182
- "method": "GET"
5305
+ "kind": "mcp",
5306
+ "name": "factcollection_getbydomain",
5307
+ "operation": "getByDomain",
5308
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3183
5309
  },
3184
5310
  {
3185
- "kind": "api",
3186
- "name": "facts.get",
3187
- "operation": "get",
3188
- "objectName": "@happyvertical/smrt-facts:Fact",
3189
- "path": "/facts/[id]",
3190
- "method": "GET"
5311
+ "kind": "mcp",
5312
+ "name": "factcollection_getbystatus",
5313
+ "operation": "getByStatus",
5314
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3191
5315
  },
3192
5316
  {
3193
- "kind": "api",
3194
- "name": "facts.create",
3195
- "operation": "create",
3196
- "objectName": "@happyvertical/smrt-facts:Fact",
3197
- "path": "/facts",
3198
- "method": "POST"
5317
+ "kind": "mcp",
5318
+ "name": "factcollection_getsuccessors",
5319
+ "operation": "getSuccessors",
5320
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3199
5321
  },
3200
5322
  {
3201
- "kind": "api",
3202
- "name": "facts.update",
3203
- "operation": "update",
3204
- "objectName": "@happyvertical/smrt-facts:Fact",
3205
- "path": "/facts/[id]",
3206
- "method": "PATCH"
5323
+ "kind": "mcp",
5324
+ "name": "factcollection_findbytenant",
5325
+ "operation": "findByTenant",
5326
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3207
5327
  },
3208
5328
  {
3209
- "kind": "api",
3210
- "name": "facts.delete",
3211
- "operation": "delete",
3212
- "objectName": "@happyvertical/smrt-facts:Fact",
3213
- "path": "/facts/[id]",
3214
- "method": "DELETE"
5329
+ "kind": "mcp",
5330
+ "name": "factcollection_findglobal",
5331
+ "operation": "findGlobal",
5332
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3215
5333
  },
3216
5334
  {
3217
- "kind": "cli",
3218
- "name": "fact_list",
3219
- "operation": "list",
3220
- "objectName": "@happyvertical/smrt-facts:Fact"
5335
+ "kind": "mcp",
5336
+ "name": "factcollection_findwithglobals",
5337
+ "operation": "findWithGlobals",
5338
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3221
5339
  },
3222
5340
  {
3223
- "kind": "cli",
3224
- "name": "fact_get",
3225
- "operation": "get",
3226
- "objectName": "@happyvertical/smrt-facts:Fact"
5341
+ "kind": "mcp",
5342
+ "name": "factcollection_browsecatalog",
5343
+ "operation": "browseCatalog",
5344
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3227
5345
  },
3228
5346
  {
3229
- "kind": "cli",
3230
- "name": "fact_create",
3231
- "operation": "create",
3232
- "objectName": "@happyvertical/smrt-facts:Fact"
5347
+ "kind": "mcp",
5348
+ "name": "factcollection_getforcontent",
5349
+ "operation": "getForContent",
5350
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3233
5351
  },
3234
5352
  {
3235
- "kind": "cli",
3236
- "name": "fact_update",
3237
- "operation": "update",
3238
- "objectName": "@happyvertical/smrt-facts:Fact"
5353
+ "kind": "mcp",
5354
+ "name": "factcollection_reconcile",
5355
+ "operation": "reconcile",
5356
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3239
5357
  },
3240
5358
  {
3241
- "kind": "cli",
3242
- "name": "fact_delete",
3243
- "operation": "delete",
3244
- "objectName": "@happyvertical/smrt-facts:Fact"
5359
+ "kind": "mcp",
5360
+ "name": "factcollection_extractcandidatesfromtext",
5361
+ "operation": "extractCandidatesFromText",
5362
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3245
5363
  },
3246
5364
  {
3247
5365
  "kind": "mcp",
3248
- "name": "fact_list",
3249
- "operation": "list",
3250
- "objectName": "@happyvertical/smrt-facts:Fact"
5366
+ "name": "factcollection_extractarticleclaims",
5367
+ "operation": "extractArticleClaims",
5368
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3251
5369
  },
3252
5370
  {
3253
5371
  "kind": "mcp",
3254
- "name": "fact_get",
3255
- "operation": "get",
3256
- "objectName": "@happyvertical/smrt-facts:Fact"
5372
+ "name": "factcollection_assessclaimsupport",
5373
+ "operation": "assessClaimSupport",
5374
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3257
5375
  },
3258
5376
  {
3259
5377
  "kind": "mcp",
3260
- "name": "fact_create",
3261
- "operation": "create",
3262
- "objectName": "@happyvertical/smrt-facts:Fact"
5378
+ "name": "factcollection_branch",
5379
+ "operation": "branch",
5380
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3263
5381
  },
3264
5382
  {
3265
5383
  "kind": "mcp",
3266
- "name": "fact_update",
3267
- "operation": "update",
3268
- "objectName": "@happyvertical/smrt-facts:Fact"
5384
+ "name": "factcollection_getevolutionchain",
5385
+ "operation": "getEvolutionChain",
5386
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
5387
+ },
5388
+ {
5389
+ "kind": "mcp",
5390
+ "name": "factcollection_getlatestinchain",
5391
+ "operation": "getLatestInChain",
5392
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
5393
+ },
5394
+ {
5395
+ "kind": "mcp",
5396
+ "name": "factcollection_getevolutiontree",
5397
+ "operation": "getEvolutionTree",
5398
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
5399
+ },
5400
+ {
5401
+ "kind": "mcp",
5402
+ "name": "factcollection_recalculateconfidence",
5403
+ "operation": "recalculateConfidence",
5404
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
5405
+ },
5406
+ {
5407
+ "kind": "mcp",
5408
+ "name": "factcollection_getentitybriefing",
5409
+ "operation": "getEntityBriefing",
5410
+ "objectName": "@happyvertical/smrt-facts:FactCollection"
3269
5411
  }
3270
5412
  ],
3271
5413
  "prompts": [