@happyvertical/smrt-facts 0.36.7 → 0.37.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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "timestamp": 1782507351201,
3
+ "timestamp": 1782683488703,
4
4
  "packageName": "@happyvertical/smrt-facts",
5
- "packageVersion": "0.36.7",
5
+ "packageVersion": "0.37.0",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-facts:FactContent": {
8
8
  "name": "factcontent",
@@ -1096,7 +1096,7 @@
1096
1096
  "parameters": [
1097
1097
  {
1098
1098
  "name": "data",
1099
- "type": "any",
1099
+ "type": "Record<string>",
1100
1100
  "optional": false
1101
1101
  }
1102
1102
  ],
@@ -1108,7 +1108,7 @@
1108
1108
  "name": "getFields",
1109
1109
  "async": true,
1110
1110
  "parameters": [],
1111
- "returnType": "any",
1111
+ "returnType": "Promise<any>",
1112
1112
  "isStatic": false,
1113
1113
  "isPublic": true
1114
1114
  },
@@ -1217,7 +1217,7 @@
1217
1217
  },
1218
1218
  {
1219
1219
  "name": "options",
1220
- "type": "any",
1220
+ "type": "AiOperationOptions",
1221
1221
  "optional": true
1222
1222
  }
1223
1223
  ],
@@ -1236,7 +1236,7 @@
1236
1236
  },
1237
1237
  {
1238
1238
  "name": "options",
1239
- "type": "any",
1239
+ "type": "AiOperationOptions",
1240
1240
  "optional": true
1241
1241
  }
1242
1242
  ],
@@ -1250,7 +1250,7 @@
1250
1250
  "parameters": [
1251
1251
  {
1252
1252
  "name": "options",
1253
- "type": "any",
1253
+ "type": "AiOperationOptions",
1254
1254
  "optional": true
1255
1255
  }
1256
1256
  ],
@@ -1280,6 +1280,25 @@
1280
1280
  "isStatic": false,
1281
1281
  "isPublic": true
1282
1282
  },
1283
+ "_setLoadedRelationship": {
1284
+ "name": "_setLoadedRelationship",
1285
+ "async": false,
1286
+ "parameters": [
1287
+ {
1288
+ "name": "fieldName",
1289
+ "type": "string",
1290
+ "optional": false
1291
+ },
1292
+ {
1293
+ "name": "value",
1294
+ "type": "any",
1295
+ "optional": false
1296
+ }
1297
+ ],
1298
+ "returnType": "void",
1299
+ "isStatic": false,
1300
+ "isPublic": true
1301
+ },
1283
1302
  "loadRelated": {
1284
1303
  "name": "loadRelated",
1285
1304
  "async": true,
@@ -1383,7 +1402,7 @@
1383
1402
  "optional": false
1384
1403
  }
1385
1404
  ],
1386
- "returnType": "Promise<any | null>",
1405
+ "returnType": "Promise",
1387
1406
  "isStatic": false,
1388
1407
  "isPublic": true
1389
1408
  },
@@ -1397,7 +1416,7 @@
1397
1416
  "optional": true
1398
1417
  }
1399
1418
  ],
1400
- "returnType": "Promise<Map<string, any>>",
1419
+ "returnType": "Promise<Map<string>>",
1401
1420
  "isStatic": false,
1402
1421
  "isPublic": true
1403
1422
  },
@@ -2875,7 +2894,7 @@
2875
2894
  "parameters": [
2876
2895
  {
2877
2896
  "name": "data",
2878
- "type": "any",
2897
+ "type": "Record<string>",
2879
2898
  "optional": false
2880
2899
  }
2881
2900
  ],
@@ -2887,7 +2906,7 @@
2887
2906
  "name": "getFields",
2888
2907
  "async": true,
2889
2908
  "parameters": [],
2890
- "returnType": "any",
2909
+ "returnType": "Promise<any>",
2891
2910
  "isStatic": false,
2892
2911
  "isPublic": true
2893
2912
  },
@@ -2996,7 +3015,7 @@
2996
3015
  },
2997
3016
  {
2998
3017
  "name": "options",
2999
- "type": "any",
3018
+ "type": "AiOperationOptions",
3000
3019
  "optional": true
3001
3020
  }
3002
3021
  ],
@@ -3015,7 +3034,7 @@
3015
3034
  },
3016
3035
  {
3017
3036
  "name": "options",
3018
- "type": "any",
3037
+ "type": "AiOperationOptions",
3019
3038
  "optional": true
3020
3039
  }
3021
3040
  ],
@@ -3029,7 +3048,7 @@
3029
3048
  "parameters": [
3030
3049
  {
3031
3050
  "name": "options",
3032
- "type": "any",
3051
+ "type": "AiOperationOptions",
3033
3052
  "optional": true
3034
3053
  }
3035
3054
  ],
@@ -3059,6 +3078,25 @@
3059
3078
  "isStatic": false,
3060
3079
  "isPublic": true
3061
3080
  },
3081
+ "_setLoadedRelationship": {
3082
+ "name": "_setLoadedRelationship",
3083
+ "async": false,
3084
+ "parameters": [
3085
+ {
3086
+ "name": "fieldName",
3087
+ "type": "string",
3088
+ "optional": false
3089
+ },
3090
+ {
3091
+ "name": "value",
3092
+ "type": "any",
3093
+ "optional": false
3094
+ }
3095
+ ],
3096
+ "returnType": "void",
3097
+ "isStatic": false,
3098
+ "isPublic": true
3099
+ },
3062
3100
  "loadRelated": {
3063
3101
  "name": "loadRelated",
3064
3102
  "async": true,
@@ -3162,7 +3200,7 @@
3162
3200
  "optional": false
3163
3201
  }
3164
3202
  ],
3165
- "returnType": "Promise<any | null>",
3203
+ "returnType": "Promise",
3166
3204
  "isStatic": false,
3167
3205
  "isPublic": true
3168
3206
  },
@@ -3176,7 +3214,7 @@
3176
3214
  "optional": true
3177
3215
  }
3178
3216
  ],
3179
- "returnType": "Promise<Map<string, any>>",
3217
+ "returnType": "Promise<Map<string>>",
3180
3218
  "isStatic": false,
3181
3219
  "isPublic": true
3182
3220
  },
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-06-26T20:55:53.824Z",
3
+ "generatedAt": "2026-06-28T21:51:33.490Z",
4
4
  "packageName": "@happyvertical/smrt-facts",
5
- "packageVersion": "0.36.7",
5
+ "packageVersion": "0.37.0",
6
6
  "sourceManifestPath": "dist/manifest.json",
7
7
  "agentDocPath": "AGENTS.md",
8
8
  "sourceHashes": {
9
- "manifest": "891f7ddb81481abf3df09144c8aa4899cbb433a3aebe27082189b6889417c3a7",
10
- "packageJson": "1bfdf50ccee64e58f3f480cd128acf9929f530786fc2795a73970feee5930386",
9
+ "manifest": "ad4b4e17a1936485e5959e0c1ded334fd47716bd1bdd6a49d5c11bdf74f12636",
10
+ "packageJson": "933342a88c8d23d809e46e87b20fc7dbeddf849496621a25bdee0920628f6340",
11
11
  "agents": "f44effcb7b1f7689941d072f09ebeccbadedcbc1c207555f8a5481a94ef0a350"
12
12
  },
13
13
  "exports": [
@@ -558,6 +558,7 @@
558
558
  }
559
559
  ],
560
560
  "methods": [
561
+ "_setLoadedRelationship",
561
562
  "classifyConstraintError",
562
563
  "clearEmbeddings",
563
564
  "delete",
@@ -1193,6 +1194,7 @@
1193
1194
  }
1194
1195
  ],
1195
1196
  "methods": [
1197
+ "_setLoadedRelationship",
1196
1198
  "classifyConstraintError",
1197
1199
  "clearEmbeddings",
1198
1200
  "delete",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-facts",
3
- "version": "0.36.7",
3
+ "version": "0.37.0",
4
4
  "description": "Distributed memory and knowledge management with provenance tracking for SMRT framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,16 +24,16 @@
24
24
  "@happyvertical/logger": "^0.74.10",
25
25
  "@happyvertical/sql": "^0.74.10",
26
26
  "@happyvertical/utils": "^0.74.10",
27
- "@happyvertical/smrt-prompts": "0.36.7",
28
- "@happyvertical/smrt-tenancy": "0.36.7",
29
- "@happyvertical/smrt-core": "0.36.7"
27
+ "@happyvertical/smrt-tenancy": "0.37.0",
28
+ "@happyvertical/smrt-core": "0.37.0",
29
+ "@happyvertical/smrt-prompts": "0.37.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "25.0.9",
33
33
  "typescript": "^5.9.3",
34
34
  "vite": "^7.3.1",
35
35
  "vitest": "^4.0.17",
36
- "@happyvertical/smrt-vitest": "0.36.7"
36
+ "@happyvertical/smrt-vitest": "0.37.0"
37
37
  },
38
38
  "keywords": [
39
39
  "ai",