@remnic/core 9.3.566 → 9.3.568

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.
@@ -104,9 +104,9 @@ declare const recallRequestSchema: z.ZodObject<{
104
104
  includeLowConfidence: z.ZodOptional<z.ZodBoolean>;
105
105
  }, "strip", z.ZodTypeAny, {
106
106
  query: string;
107
- namespace?: string | undefined;
108
107
  sessionKey?: string | undefined;
109
108
  tags?: string[] | undefined;
109
+ namespace?: string | undefined;
110
110
  topK?: number | undefined;
111
111
  mode?: "no_recall" | "minimal" | "full" | "graph_mode" | "auto" | undefined;
112
112
  cwd?: string | undefined;
@@ -125,9 +125,9 @@ declare const recallRequestSchema: z.ZodObject<{
125
125
  tagMatch?: "all" | "any" | undefined;
126
126
  }, {
127
127
  query: string;
128
- namespace?: string | undefined;
129
128
  sessionKey?: string | undefined;
130
129
  tags?: string[] | undefined;
130
+ namespace?: string | undefined;
131
131
  topK?: number | undefined;
132
132
  mode?: "no_recall" | "minimal" | "full" | "graph_mode" | "auto" | undefined;
133
133
  cwd?: string | undefined;
@@ -149,11 +149,11 @@ declare const recallExplainRequestSchema: z.ZodObject<{
149
149
  sessionKey: z.ZodOptional<z.ZodString>;
150
150
  namespace: z.ZodOptional<z.ZodString>;
151
151
  }, "strip", z.ZodTypeAny, {
152
- namespace?: string | undefined;
153
152
  sessionKey?: string | undefined;
154
- }, {
155
153
  namespace?: string | undefined;
154
+ }, {
156
155
  sessionKey?: string | undefined;
156
+ namespace?: string | undefined;
157
157
  }>;
158
158
  /**
159
159
  * Standalone "set coding context" request. Used by the HTTP endpoint
@@ -363,28 +363,28 @@ declare const memoryStoreRequestSchema: z.ZodObject<{
363
363
  sourceReason: z.ZodOptional<z.ZodString>;
364
364
  }, "strip", z.ZodTypeAny, {
365
365
  content: string;
366
- namespace?: string | undefined;
367
- category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
368
- confidence?: number | undefined;
369
- ttl?: string | undefined;
370
366
  schemaVersion?: number | undefined;
371
367
  sessionKey?: string | undefined;
372
368
  tags?: string[] | undefined;
373
369
  dryRun?: boolean | undefined;
370
+ namespace?: string | undefined;
371
+ category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
372
+ confidence?: number | undefined;
374
373
  entityRef?: string | undefined;
374
+ ttl?: string | undefined;
375
375
  sourceReason?: string | undefined;
376
376
  idempotencyKey?: string | undefined;
377
377
  }, {
378
378
  content: string;
379
- namespace?: string | undefined;
380
- category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
381
- confidence?: number | undefined;
382
- ttl?: string | undefined;
383
379
  schemaVersion?: number | undefined;
384
380
  sessionKey?: string | undefined;
385
381
  tags?: string[] | undefined;
386
382
  dryRun?: boolean | undefined;
383
+ namespace?: string | undefined;
384
+ category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
385
+ confidence?: number | undefined;
387
386
  entityRef?: string | undefined;
387
+ ttl?: string | undefined;
388
388
  sourceReason?: string | undefined;
389
389
  idempotencyKey?: string | undefined;
390
390
  }>;
@@ -403,28 +403,28 @@ declare const suggestionSubmitRequestSchema: z.ZodObject<{
403
403
  sourceReason: z.ZodOptional<z.ZodString>;
404
404
  }, "strip", z.ZodTypeAny, {
405
405
  content: string;
406
- namespace?: string | undefined;
407
- category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
408
- confidence?: number | undefined;
409
- ttl?: string | undefined;
410
406
  schemaVersion?: number | undefined;
411
407
  sessionKey?: string | undefined;
412
408
  tags?: string[] | undefined;
413
409
  dryRun?: boolean | undefined;
410
+ namespace?: string | undefined;
411
+ category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
412
+ confidence?: number | undefined;
414
413
  entityRef?: string | undefined;
414
+ ttl?: string | undefined;
415
415
  sourceReason?: string | undefined;
416
416
  idempotencyKey?: string | undefined;
417
417
  }, {
418
418
  content: string;
419
- namespace?: string | undefined;
420
- category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
421
- confidence?: number | undefined;
422
- ttl?: string | undefined;
423
419
  schemaVersion?: number | undefined;
424
420
  sessionKey?: string | undefined;
425
421
  tags?: string[] | undefined;
426
422
  dryRun?: boolean | undefined;
423
+ namespace?: string | undefined;
424
+ category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
425
+ confidence?: number | undefined;
427
426
  entityRef?: string | undefined;
427
+ ttl?: string | undefined;
428
428
  sourceReason?: string | undefined;
429
429
  idempotencyKey?: string | undefined;
430
430
  }>;
@@ -456,18 +456,18 @@ declare const trustZonePromoteRequestSchema: z.ZodObject<{
456
456
  recordId: string;
457
457
  targetZone: "working" | "trusted";
458
458
  promotionReason: string;
459
- namespace?: string | undefined;
460
459
  recordedAt?: string | undefined;
461
460
  summary?: string | undefined;
462
461
  dryRun?: boolean | undefined;
462
+ namespace?: string | undefined;
463
463
  }, {
464
464
  recordId: string;
465
465
  targetZone: "working" | "trusted";
466
466
  promotionReason: string;
467
- namespace?: string | undefined;
468
467
  recordedAt?: string | undefined;
469
468
  summary?: string | undefined;
470
469
  dryRun?: boolean | undefined;
470
+ namespace?: string | undefined;
471
471
  }>;
472
472
  declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
473
473
  scenario: z.ZodOptional<z.ZodString>;
@@ -475,14 +475,14 @@ declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
475
475
  dryRun: z.ZodOptional<z.ZodBoolean>;
476
476
  namespace: z.ZodOptional<z.ZodString>;
477
477
  }, "strip", z.ZodTypeAny, {
478
- namespace?: string | undefined;
479
478
  recordedAt?: string | undefined;
480
479
  dryRun?: boolean | undefined;
480
+ namespace?: string | undefined;
481
481
  scenario?: string | undefined;
482
482
  }, {
483
- namespace?: string | undefined;
484
483
  recordedAt?: string | undefined;
485
484
  dryRun?: boolean | undefined;
485
+ namespace?: string | undefined;
486
486
  scenario?: string | undefined;
487
487
  }>;
488
488
  declare const lcmSearchRequestSchema: z.ZodObject<{
@@ -493,15 +493,15 @@ declare const lcmSearchRequestSchema: z.ZodObject<{
493
493
  limit: z.ZodOptional<z.ZodNumber>;
494
494
  }, "strip", z.ZodTypeAny, {
495
495
  query: string;
496
+ sessionKey?: string | undefined;
496
497
  namespace?: string | undefined;
497
498
  limit?: number | undefined;
498
- sessionKey?: string | undefined;
499
499
  sessionPrefix?: string | undefined;
500
500
  }, {
501
501
  query: string;
502
+ sessionKey?: string | undefined;
502
503
  namespace?: string | undefined;
503
504
  limit?: number | undefined;
504
- sessionKey?: string | undefined;
505
505
  sessionPrefix?: string | undefined;
506
506
  }>;
507
507
  declare const lcmCompactionFlushRequestSchema: z.ZodObject<{
@@ -535,12 +535,12 @@ declare const daySummaryRequestSchema: z.ZodObject<{
535
535
  sessionKey: z.ZodOptional<z.ZodString>;
536
536
  namespace: z.ZodOptional<z.ZodString>;
537
537
  }, "strip", z.ZodTypeAny, {
538
- namespace?: string | undefined;
539
538
  sessionKey?: string | undefined;
539
+ namespace?: string | undefined;
540
540
  memories?: string | undefined;
541
541
  }, {
542
- namespace?: string | undefined;
543
542
  sessionKey?: string | undefined;
543
+ namespace?: string | undefined;
544
544
  memories?: string | undefined;
545
545
  }>;
546
546
  declare const capsuleExportRequestSchema: z.ZodObject<{
@@ -730,11 +730,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
730
730
  safety: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["safe", "requires-review", "blocked"]>>>, NonNullable<"safe" | "requires-review" | "blocked"> | undefined, "safe" | "requires-review" | "blocked" | null | undefined>;
731
731
  safetyReasons: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[] | undefined, string[] | null | undefined>;
732
732
  }, "strict", z.ZodTypeAny, {
733
- confidence?: number | undefined;
734
733
  source?: string | undefined;
735
734
  stale?: boolean | undefined;
736
735
  created?: string | undefined;
737
736
  updated?: string | undefined;
737
+ confidence?: number | undefined;
738
738
  scope?: string | undefined;
739
739
  retrievalReason?: string | undefined;
740
740
  safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
@@ -744,11 +744,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
744
744
  safetyReasons?: string[] | undefined;
745
745
  userContextScopes?: string[] | undefined;
746
746
  }, {
747
- confidence?: number | null | undefined;
748
747
  source?: string | null | undefined;
749
748
  stale?: boolean | null | undefined;
750
749
  created?: string | null | undefined;
751
750
  updated?: string | null | undefined;
751
+ confidence?: number | null | undefined;
752
752
  scope?: string | null | undefined;
753
753
  retrievalReason?: string | null | undefined;
754
754
  safety?: "safe" | "requires-review" | "blocked" | null | undefined;
@@ -758,11 +758,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
758
758
  safetyReasons?: string[] | null | undefined;
759
759
  userContextScopes?: string[] | null | undefined;
760
760
  }>, "many">>>, {
761
- confidence?: number | undefined;
762
761
  source?: string | undefined;
763
762
  stale?: boolean | undefined;
764
763
  created?: string | undefined;
765
764
  updated?: string | undefined;
765
+ confidence?: number | undefined;
766
766
  scope?: string | undefined;
767
767
  retrievalReason?: string | undefined;
768
768
  safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
@@ -772,11 +772,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
772
772
  safetyReasons?: string[] | undefined;
773
773
  userContextScopes?: string[] | undefined;
774
774
  }[] | undefined, {
775
- confidence?: number | null | undefined;
776
775
  source?: string | null | undefined;
777
776
  stale?: boolean | null | undefined;
778
777
  created?: string | null | undefined;
779
778
  updated?: string | null | undefined;
779
+ confidence?: number | null | undefined;
780
780
  scope?: string | null | undefined;
781
781
  retrievalReason?: string | null | undefined;
782
782
  safety?: "safe" | "requires-review" | "blocked" | null | undefined;
@@ -798,11 +798,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
798
798
  matched?: boolean | undefined;
799
799
  }[] | undefined;
800
800
  retrievedMemories?: {
801
- confidence?: number | undefined;
802
801
  source?: string | undefined;
803
802
  stale?: boolean | undefined;
804
803
  created?: string | undefined;
805
804
  updated?: string | undefined;
805
+ confidence?: number | undefined;
806
806
  scope?: string | undefined;
807
807
  retrievalReason?: string | undefined;
808
808
  safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
@@ -824,11 +824,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
824
824
  matched?: boolean | null | undefined;
825
825
  }[] | null | undefined;
826
826
  retrievedMemories?: {
827
- confidence?: number | null | undefined;
828
827
  source?: string | null | undefined;
829
828
  stale?: boolean | null | undefined;
830
829
  created?: string | null | undefined;
831
830
  updated?: string | null | undefined;
831
+ confidence?: number | null | undefined;
832
832
  scope?: string | null | undefined;
833
833
  retrievalReason?: string | null | undefined;
834
834
  safety?: "safe" | "requires-review" | "blocked" | null | undefined;
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
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;
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnic/core",
3
- "version": "9.3.566",
3
+ "version": "9.3.568",
4
4
  "description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",