@remnic/core 9.3.603 → 9.3.605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-cli.js +9 -9
- package/dist/access-schema.d.ts +34 -34
- package/dist/{chunk-JTDRJQ3K.js → chunk-6JGNHWCI.js} +2 -2
- package/dist/{chunk-M6I5Z4SR.js → chunk-6ZZP4EJF.js} +2 -2
- package/dist/{chunk-75O6YQ63.js → chunk-G6R5UD3Q.js} +10 -3
- package/dist/chunk-G6R5UD3Q.js.map +1 -0
- package/dist/{chunk-I4UNL747.js → chunk-GMAG2HS4.js} +7 -3
- package/dist/chunk-GMAG2HS4.js.map +1 -0
- package/dist/{chunk-5SQ5CQJP.js → chunk-HSVJGWYS.js} +2 -2
- package/dist/{chunk-RUYYYLDT.js → chunk-IOTENEVL.js} +3 -3
- package/dist/{chunk-M46RYSMW.js → chunk-JHMFYY7L.js} +5 -2
- package/dist/chunk-JHMFYY7L.js.map +1 -0
- package/dist/{chunk-2ESBDLT5.js → chunk-VJXSUAO7.js} +2 -2
- package/dist/{chunk-Z5AAYHUC.js → chunk-VOUOLGIP.js} +13 -2
- package/dist/chunk-VOUOLGIP.js.map +1 -0
- package/dist/{chunk-OB6353F7.js → chunk-XPSVGJYA.js} +4 -4
- package/dist/{chunk-MTGOAU7A.js → chunk-YJ6QCQNE.js} +336 -300
- package/dist/chunk-YJ6QCQNE.js.map +1 -0
- package/dist/{chunk-6PTSXBPE.js → chunk-ZDTVJXIP.js} +5 -2
- package/dist/chunk-ZDTVJXIP.js.map +1 -0
- package/dist/cli.js +8 -8
- package/dist/{first-start-migration-CKTCTCQI.js → first-start-migration-GYJWIH36.js} +2 -2
- package/dist/index.js +12 -12
- package/dist/namespaces/migrate.js +6 -6
- package/dist/namespaces/search.js +5 -5
- package/dist/operator-toolkit.js +7 -7
- package/dist/orchestrator.js +9 -9
- package/dist/retrieval-agents.js +2 -2
- package/dist/schemas.d.ts +42 -42
- package/dist/search/factory.js +4 -4
- package/dist/search/index.js +4 -4
- package/dist/search/lancedb-backend.d.ts +1 -0
- package/dist/search/lancedb-backend.js +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -0
- package/dist/search/meilisearch-backend.js +1 -1
- package/dist/search/orama-backend.d.ts +1 -0
- package/dist/search/orama-backend.js +1 -1
- package/dist/search/port.d.ts +1 -0
- package/dist/shared-context/manager.d.ts +2 -2
- package/dist/temporal-index.js +1 -1
- package/dist/tier-migration.d.ts +1 -0
- package/dist/tier-migration.js +1 -1
- package/package.json +1 -1
- package/src/orchestrator.ts +51 -8
- package/src/search/lancedb-backend.ts +5 -1
- package/src/search/meilisearch-backend.ts +7 -2
- package/src/search/orama-backend.ts +5 -1
- package/src/search/port.ts +1 -0
- package/src/temporal-index.test.ts +30 -1
- package/src/temporal-index.ts +10 -3
- package/src/tier-migration.ts +13 -2
- package/dist/chunk-6PTSXBPE.js.map +0 -1
- package/dist/chunk-75O6YQ63.js.map +0 -1
- package/dist/chunk-I4UNL747.js.map +0 -1
- package/dist/chunk-M46RYSMW.js.map +0 -1
- package/dist/chunk-MTGOAU7A.js.map +0 -1
- package/dist/chunk-Z5AAYHUC.js.map +0 -1
- /package/dist/{chunk-JTDRJQ3K.js.map → chunk-6JGNHWCI.js.map} +0 -0
- /package/dist/{chunk-M6I5Z4SR.js.map → chunk-6ZZP4EJF.js.map} +0 -0
- /package/dist/{chunk-5SQ5CQJP.js.map → chunk-HSVJGWYS.js.map} +0 -0
- /package/dist/{chunk-RUYYYLDT.js.map → chunk-IOTENEVL.js.map} +0 -0
- /package/dist/{chunk-2ESBDLT5.js.map → chunk-VJXSUAO7.js.map} +0 -0
- /package/dist/{chunk-OB6353F7.js.map → chunk-XPSVGJYA.js.map} +0 -0
- /package/dist/{first-start-migration-CKTCTCQI.js.map → first-start-migration-GYJWIH36.js.map} +0 -0
package/dist/schemas.d.ts
CHANGED
|
@@ -7,13 +7,13 @@ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
|
|
|
7
7
|
importance: z.ZodNumber;
|
|
8
8
|
source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
|
|
9
9
|
}, "strict", z.ZodTypeAny, {
|
|
10
|
+
source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
|
|
10
11
|
confidence: number;
|
|
11
|
-
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
12
12
|
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
13
13
|
importance: number;
|
|
14
14
|
}, {
|
|
15
|
+
source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
|
|
15
16
|
confidence: number;
|
|
16
|
-
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
17
17
|
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
18
18
|
importance: number;
|
|
19
19
|
}>;
|
|
@@ -149,10 +149,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
149
149
|
observed_outcome?: string | null | undefined;
|
|
150
150
|
}>>>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
|
|
152
|
+
tags: string[];
|
|
153
153
|
content: string;
|
|
154
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
154
155
|
confidence: number;
|
|
155
|
-
tags: string[];
|
|
156
156
|
entityRef?: string | null | undefined;
|
|
157
157
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
158
158
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -178,10 +178,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
178
178
|
observed_outcome?: string | null | undefined;
|
|
179
179
|
} | null | undefined;
|
|
180
180
|
}, {
|
|
181
|
-
|
|
181
|
+
tags: string[];
|
|
182
182
|
content: string;
|
|
183
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
183
184
|
confidence: number;
|
|
184
|
-
tags: string[];
|
|
185
185
|
entityRef?: string | null | undefined;
|
|
186
186
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
187
187
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -207,10 +207,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
207
207
|
observed_outcome?: string | null | undefined;
|
|
208
208
|
} | null | undefined;
|
|
209
209
|
}>, {
|
|
210
|
-
|
|
210
|
+
tags: string[];
|
|
211
211
|
content: string;
|
|
212
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
212
213
|
confidence: number;
|
|
213
|
-
tags: string[];
|
|
214
214
|
entityRef?: string | null | undefined;
|
|
215
215
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
216
216
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -236,10 +236,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
236
236
|
observed_outcome?: string | null | undefined;
|
|
237
237
|
} | null | undefined;
|
|
238
238
|
}, {
|
|
239
|
-
|
|
239
|
+
tags: string[];
|
|
240
240
|
content: string;
|
|
241
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
241
242
|
confidence: number;
|
|
242
|
-
tags: string[];
|
|
243
243
|
entityRef?: string | null | undefined;
|
|
244
244
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
245
245
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -457,10 +457,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
457
457
|
observed_outcome?: string | null | undefined;
|
|
458
458
|
}>>>;
|
|
459
459
|
}, "strip", z.ZodTypeAny, {
|
|
460
|
-
|
|
460
|
+
tags: string[];
|
|
461
461
|
content: string;
|
|
462
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
462
463
|
confidence: number;
|
|
463
|
-
tags: string[];
|
|
464
464
|
entityRef?: string | null | undefined;
|
|
465
465
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
466
466
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -486,10 +486,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
486
486
|
observed_outcome?: string | null | undefined;
|
|
487
487
|
} | null | undefined;
|
|
488
488
|
}, {
|
|
489
|
-
|
|
489
|
+
tags: string[];
|
|
490
490
|
content: string;
|
|
491
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
491
492
|
confidence: number;
|
|
492
|
-
tags: string[];
|
|
493
493
|
entityRef?: string | null | undefined;
|
|
494
494
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
495
495
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -515,10 +515,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
515
515
|
observed_outcome?: string | null | undefined;
|
|
516
516
|
} | null | undefined;
|
|
517
517
|
}>, {
|
|
518
|
-
|
|
518
|
+
tags: string[];
|
|
519
519
|
content: string;
|
|
520
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
520
521
|
confidence: number;
|
|
521
|
-
tags: string[];
|
|
522
522
|
entityRef?: string | null | undefined;
|
|
523
523
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
524
524
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -544,10 +544,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
544
544
|
observed_outcome?: string | null | undefined;
|
|
545
545
|
} | null | undefined;
|
|
546
546
|
}, {
|
|
547
|
-
|
|
547
|
+
tags: string[];
|
|
548
548
|
content: string;
|
|
549
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
549
550
|
confidence: number;
|
|
550
|
-
tags: string[];
|
|
551
551
|
entityRef?: string | null | undefined;
|
|
552
552
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
553
553
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -631,10 +631,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
631
631
|
}>, "many">>>;
|
|
632
632
|
}, "strip", z.ZodTypeAny, {
|
|
633
633
|
facts: {
|
|
634
|
-
|
|
634
|
+
tags: string[];
|
|
635
635
|
content: string;
|
|
636
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
636
637
|
confidence: number;
|
|
637
|
-
tags: string[];
|
|
638
638
|
entityRef?: string | null | undefined;
|
|
639
639
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
640
640
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -680,10 +680,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
680
680
|
}[] | null | undefined;
|
|
681
681
|
}, {
|
|
682
682
|
facts: {
|
|
683
|
-
|
|
683
|
+
tags: string[];
|
|
684
684
|
content: string;
|
|
685
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
685
686
|
confidence: number;
|
|
686
|
-
tags: string[];
|
|
687
687
|
entityRef?: string | null | undefined;
|
|
688
688
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
689
689
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -825,10 +825,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
825
825
|
observed_outcome?: string | null | undefined;
|
|
826
826
|
}>>>;
|
|
827
827
|
}, "strip", z.ZodTypeAny, {
|
|
828
|
-
|
|
828
|
+
tags: string[];
|
|
829
829
|
content: string;
|
|
830
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
830
831
|
confidence: number;
|
|
831
|
-
tags: string[];
|
|
832
832
|
entityRef?: string | null | undefined;
|
|
833
833
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
834
834
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -854,10 +854,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
854
854
|
observed_outcome?: string | null | undefined;
|
|
855
855
|
} | null | undefined;
|
|
856
856
|
}, {
|
|
857
|
-
|
|
857
|
+
tags: string[];
|
|
858
858
|
content: string;
|
|
859
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
859
860
|
confidence: number;
|
|
860
|
-
tags: string[];
|
|
861
861
|
entityRef?: string | null | undefined;
|
|
862
862
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
863
863
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -883,10 +883,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
883
883
|
observed_outcome?: string | null | undefined;
|
|
884
884
|
} | null | undefined;
|
|
885
885
|
}>, {
|
|
886
|
-
|
|
886
|
+
tags: string[];
|
|
887
887
|
content: string;
|
|
888
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
888
889
|
confidence: number;
|
|
889
|
-
tags: string[];
|
|
890
890
|
entityRef?: string | null | undefined;
|
|
891
891
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
892
892
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -912,10 +912,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
912
912
|
observed_outcome?: string | null | undefined;
|
|
913
913
|
} | null | undefined;
|
|
914
914
|
}, {
|
|
915
|
-
|
|
915
|
+
tags: string[];
|
|
916
916
|
content: string;
|
|
917
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
917
918
|
confidence: number;
|
|
918
|
-
tags: string[];
|
|
919
919
|
entityRef?: string | null | undefined;
|
|
920
920
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
921
921
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1013,10 +1013,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1013
1013
|
}>, "many">>>;
|
|
1014
1014
|
}, "strip", z.ZodTypeAny, {
|
|
1015
1015
|
facts: {
|
|
1016
|
-
|
|
1016
|
+
tags: string[];
|
|
1017
1017
|
content: string;
|
|
1018
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1018
1019
|
confidence: number;
|
|
1019
|
-
tags: string[];
|
|
1020
1020
|
entityRef?: string | null | undefined;
|
|
1021
1021
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1022
1022
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1068,10 +1068,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1068
1068
|
identityReflection?: string | null | undefined;
|
|
1069
1069
|
}, {
|
|
1070
1070
|
facts: {
|
|
1071
|
-
|
|
1071
|
+
tags: string[];
|
|
1072
1072
|
content: string;
|
|
1073
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1073
1074
|
confidence: number;
|
|
1074
|
-
tags: string[];
|
|
1075
1075
|
entityRef?: string | null | undefined;
|
|
1076
1076
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1077
1077
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1285,13 +1285,13 @@ declare const ContradictionVerificationSchema: z.ZodObject<{
|
|
|
1285
1285
|
reasoning: z.ZodString;
|
|
1286
1286
|
whichIsNewer: z.ZodEnum<["first", "second", "unclear"]>;
|
|
1287
1287
|
}, "strip", z.ZodTypeAny, {
|
|
1288
|
-
confidence: number;
|
|
1289
1288
|
reasoning: string;
|
|
1289
|
+
confidence: number;
|
|
1290
1290
|
isContradiction: boolean;
|
|
1291
1291
|
whichIsNewer: "first" | "second" | "unclear";
|
|
1292
1292
|
}, {
|
|
1293
|
-
confidence: number;
|
|
1294
1293
|
reasoning: string;
|
|
1294
|
+
confidence: number;
|
|
1295
1295
|
isContradiction: boolean;
|
|
1296
1296
|
whichIsNewer: "first" | "second" | "unclear";
|
|
1297
1297
|
}>;
|
|
@@ -1386,8 +1386,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
1386
1386
|
reason: z.ZodString;
|
|
1387
1387
|
appliedAt: z.ZodString;
|
|
1388
1388
|
}, "strip", z.ZodTypeAny, {
|
|
1389
|
-
confidence: number;
|
|
1390
1389
|
reason: string;
|
|
1390
|
+
confidence: number;
|
|
1391
1391
|
parameter: string;
|
|
1392
1392
|
previousValue: number;
|
|
1393
1393
|
nextValue: number;
|
|
@@ -1395,8 +1395,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
1395
1395
|
evidenceCount: number;
|
|
1396
1396
|
appliedAt: string;
|
|
1397
1397
|
}, {
|
|
1398
|
-
confidence: number;
|
|
1399
1398
|
reason: string;
|
|
1399
|
+
confidence: number;
|
|
1400
1400
|
parameter: string;
|
|
1401
1401
|
previousValue: number;
|
|
1402
1402
|
nextValue: number;
|
|
@@ -1420,8 +1420,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1420
1420
|
reason: z.ZodString;
|
|
1421
1421
|
appliedAt: z.ZodString;
|
|
1422
1422
|
}, "strip", z.ZodTypeAny, {
|
|
1423
|
-
confidence: number;
|
|
1424
1423
|
reason: string;
|
|
1424
|
+
confidence: number;
|
|
1425
1425
|
parameter: string;
|
|
1426
1426
|
previousValue: number;
|
|
1427
1427
|
nextValue: number;
|
|
@@ -1429,8 +1429,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1429
1429
|
evidenceCount: number;
|
|
1430
1430
|
appliedAt: string;
|
|
1431
1431
|
}, {
|
|
1432
|
-
confidence: number;
|
|
1433
1432
|
reason: string;
|
|
1433
|
+
confidence: number;
|
|
1434
1434
|
parameter: string;
|
|
1435
1435
|
previousValue: number;
|
|
1436
1436
|
nextValue: number;
|
|
@@ -1447,8 +1447,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1447
1447
|
maxDeltaPerCycle: number;
|
|
1448
1448
|
protectedParams: string[];
|
|
1449
1449
|
adjustments: {
|
|
1450
|
-
confidence: number;
|
|
1451
1450
|
reason: string;
|
|
1451
|
+
confidence: number;
|
|
1452
1452
|
parameter: string;
|
|
1453
1453
|
previousValue: number;
|
|
1454
1454
|
nextValue: number;
|
|
@@ -1464,8 +1464,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1464
1464
|
maxDeltaPerCycle: number;
|
|
1465
1465
|
protectedParams: string[];
|
|
1466
1466
|
adjustments: {
|
|
1467
|
-
confidence: number;
|
|
1468
1467
|
reason: string;
|
|
1468
|
+
confidence: number;
|
|
1469
1469
|
parameter: string;
|
|
1470
1470
|
previousValue: number;
|
|
1471
1471
|
nextValue: number;
|
package/dist/search/factory.js
CHANGED
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
createConversationIndexRuntime,
|
|
3
3
|
createConversationSearchBackend,
|
|
4
4
|
createSearchBackend
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-XPSVGJYA.js";
|
|
6
6
|
import "../chunk-JNANKJLN.js";
|
|
7
7
|
import "../chunk-EWLQPEO6.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-ZDTVJXIP.js";
|
|
9
|
+
import "../chunk-GMAG2HS4.js";
|
|
10
10
|
import "../chunk-2I5JGH3M.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-JHMFYY7L.js";
|
|
12
12
|
import "../chunk-CINZGPSJ.js";
|
|
13
13
|
import "../chunk-Q4CAQGKQ.js";
|
|
14
14
|
import "../chunk-KIB7SDIJ.js";
|
package/dist/search/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createConversationIndexRuntime,
|
|
3
3
|
createConversationSearchBackend,
|
|
4
4
|
createSearchBackend
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-XPSVGJYA.js";
|
|
6
6
|
import {
|
|
7
7
|
RemoteSearchBackend
|
|
8
8
|
} from "../chunk-JNANKJLN.js";
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
} from "../chunk-EWLQPEO6.js";
|
|
12
12
|
import {
|
|
13
13
|
LanceDbBackend
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-ZDTVJXIP.js";
|
|
15
15
|
import {
|
|
16
16
|
MeilisearchBackend
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-GMAG2HS4.js";
|
|
18
18
|
import {
|
|
19
19
|
NoopSearchBackend
|
|
20
20
|
} from "../chunk-2I5JGH3M.js";
|
|
21
21
|
import {
|
|
22
22
|
OramaBackend
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-JHMFYY7L.js";
|
|
24
24
|
import "../chunk-CINZGPSJ.js";
|
|
25
25
|
import {
|
|
26
26
|
scanMemoryDir
|
|
@@ -39,6 +39,7 @@ declare class LanceDbBackend implements SearchBackend {
|
|
|
39
39
|
hybridSearch(query: string, collection?: string, maxResults?: number, execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
40
40
|
update(execution?: SearchExecutionOptions): Promise<void>;
|
|
41
41
|
updateCollection(collection: string, execution?: SearchExecutionOptions): Promise<void>;
|
|
42
|
+
updateCollectionFromDir(collection: string, memoryDir: string, execution?: SearchExecutionOptions): Promise<void>;
|
|
42
43
|
embed(): Promise<void>;
|
|
43
44
|
embedCollection(collection: string): Promise<void>;
|
|
44
45
|
ensureCollection(_memoryDir: string, _execution?: SearchExecutionOptions): Promise<"present" | "missing" | "unknown" | "skipped">;
|
|
@@ -38,6 +38,7 @@ declare class MeilisearchBackend implements SearchBackend {
|
|
|
38
38
|
hybridSearch(query: string, collection?: string, maxResults?: number, execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
39
39
|
update(execution?: SearchExecutionOptions): Promise<void>;
|
|
40
40
|
updateCollection(collection: string, execution?: SearchExecutionOptions): Promise<void>;
|
|
41
|
+
updateCollectionFromDir(collection: string, memoryDir: string, execution?: SearchExecutionOptions): Promise<void>;
|
|
41
42
|
embed(): Promise<void>;
|
|
42
43
|
embedCollection(collection: string): Promise<void>;
|
|
43
44
|
ensureCollection(_memoryDir: string, _execution?: SearchExecutionOptions): Promise<"present" | "missing" | "unknown" | "skipped">;
|
|
@@ -41,6 +41,7 @@ declare class OramaBackend implements SearchBackend {
|
|
|
41
41
|
hybridSearch(query: string, collection?: string, maxResults?: number, execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
42
42
|
update(execution?: SearchExecutionOptions): Promise<void>;
|
|
43
43
|
updateCollection(collection: string, execution?: SearchExecutionOptions): Promise<void>;
|
|
44
|
+
updateCollectionFromDir(collection: string, memoryDir: string, execution?: SearchExecutionOptions): Promise<void>;
|
|
44
45
|
embed(): Promise<void>;
|
|
45
46
|
embedCollection(collection: string): Promise<void>;
|
|
46
47
|
ensureCollection(_memoryDir: string, _execution?: SearchExecutionOptions): Promise<"present" | "missing" | "unknown" | "skipped">;
|
package/dist/search/port.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ interface SearchBackend {
|
|
|
42
42
|
hybridSearch(query: string, collection?: string, maxResults?: number, execution?: SearchExecutionOptions): Promise<SearchResult[]>;
|
|
43
43
|
update(execution?: SearchExecutionOptions): Promise<void>;
|
|
44
44
|
updateCollection(collection: string, execution?: SearchExecutionOptions): Promise<void>;
|
|
45
|
+
updateCollectionFromDir?(collection: string, memoryDir: string, execution?: SearchExecutionOptions): Promise<void>;
|
|
45
46
|
/**
|
|
46
47
|
* True when update() refreshes every indexed collection, not just this
|
|
47
48
|
* backend's configured collection. Namespace routers use this to avoid
|
|
@@ -22,9 +22,9 @@ declare const SharedFeedbackEntrySchema: z.ZodObject<{
|
|
|
22
22
|
agent: string;
|
|
23
23
|
date: string;
|
|
24
24
|
reason: string;
|
|
25
|
-
confidence?: number | undefined;
|
|
26
25
|
workflow?: string | undefined;
|
|
27
26
|
tags?: string[] | undefined;
|
|
27
|
+
confidence?: number | undefined;
|
|
28
28
|
severity?: "low" | "medium" | "high" | undefined;
|
|
29
29
|
outcome?: string | undefined;
|
|
30
30
|
refs?: string[] | undefined;
|
|
@@ -36,9 +36,9 @@ declare const SharedFeedbackEntrySchema: z.ZodObject<{
|
|
|
36
36
|
agent: string;
|
|
37
37
|
date: string;
|
|
38
38
|
reason: string;
|
|
39
|
-
confidence?: number | undefined;
|
|
40
39
|
workflow?: string | undefined;
|
|
41
40
|
tags?: string[] | undefined;
|
|
41
|
+
confidence?: number | undefined;
|
|
42
42
|
severity?: "low" | "medium" | "high" | undefined;
|
|
43
43
|
outcome?: string | undefined;
|
|
44
44
|
refs?: string[] | undefined;
|
package/dist/temporal-index.js
CHANGED
package/dist/tier-migration.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ declare class TierMigrationExecutor {
|
|
|
44
44
|
constructor(options: TierMigrationExecutorOptions);
|
|
45
45
|
migrateMemory(request: TierMigrationRequest): Promise<TierMigrationResult>;
|
|
46
46
|
private collectionForTier;
|
|
47
|
+
private updateCollectionFromTierRoot;
|
|
47
48
|
private appendJournal;
|
|
48
49
|
}
|
|
49
50
|
|
package/dist/tier-migration.js
CHANGED
package/package.json
CHANGED