@remnic/core 9.3.727 → 9.3.729

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.
Files changed (95) hide show
  1. package/dist/access-boundary.d.ts +2 -2
  2. package/dist/access-boundary.js +6 -6
  3. package/dist/access-cli.js +11 -11
  4. package/dist/access-http.d.ts +2 -2
  5. package/dist/access-http.js +10 -10
  6. package/dist/access-mcp.d.ts +2 -2
  7. package/dist/access-mcp.js +9 -9
  8. package/dist/access-operations-batch.js +7 -7
  9. package/dist/access-operations.d.ts +8 -8
  10. package/dist/access-operations.js +8 -8
  11. package/dist/access-schema.d.ts +46 -46
  12. package/dist/{access-service-Bgpjxo4f.d.ts → access-service-BXMJqkTA.d.ts} +1 -1
  13. package/dist/access-service.d.ts +2 -2
  14. package/dist/access-service.js +5 -5
  15. package/dist/access-surface-catalog.d.ts +2 -2
  16. package/dist/bootstrap.d.ts +1 -1
  17. package/dist/capabilities.d.ts +43 -1
  18. package/dist/capabilities.js +5 -3
  19. package/dist/{chunk-DVRHLN2O.js → chunk-3RCBIOOJ.js} +18 -2
  20. package/dist/{chunk-DVRHLN2O.js.map → chunk-3RCBIOOJ.js.map} +1 -1
  21. package/dist/{chunk-R7IYU5DZ.js → chunk-4ESAR77N.js} +2 -2
  22. package/dist/{chunk-SNKPUJHR.js → chunk-76NHR6ZL.js} +3 -3
  23. package/dist/{chunk-6PY5YJAV.js → chunk-BQCHEV7O.js} +8 -3
  24. package/dist/{chunk-6PY5YJAV.js.map → chunk-BQCHEV7O.js.map} +1 -1
  25. package/dist/{chunk-ZA2S2VLL.js → chunk-C2PG7IEH.js} +5 -2
  26. package/dist/chunk-C2PG7IEH.js.map +1 -0
  27. package/dist/{chunk-MJIHJ7OG.js → chunk-H5BWGCRZ.js} +11 -10
  28. package/dist/chunk-H5BWGCRZ.js.map +1 -0
  29. package/dist/{chunk-XPHVAOBT.js → chunk-HEDZUSCS.js} +180 -101
  30. package/dist/chunk-HEDZUSCS.js.map +1 -0
  31. package/dist/{chunk-N3VNUM4Z.js → chunk-HGNOCPZX.js} +4 -4
  32. package/dist/{chunk-CSRXQ6NB.js → chunk-I5REUWLH.js} +10 -4
  33. package/dist/chunk-I5REUWLH.js.map +1 -0
  34. package/dist/{chunk-NSA5ZRUL.js → chunk-M4AYVEWS.js} +3 -3
  35. package/dist/{chunk-OEEW4KJA.js → chunk-O6YH5F47.js} +3 -3
  36. package/dist/{chunk-27QQC7ZX.js → chunk-UM5AWJNQ.js} +6 -5
  37. package/dist/chunk-UM5AWJNQ.js.map +1 -0
  38. package/dist/{chunk-2KAYTPPT.js → chunk-UTHQPSRC.js} +2 -2
  39. package/dist/{chunk-CTOQEZSN.js → chunk-V4GNSDFH.js} +2 -2
  40. package/dist/{chunk-EHISUJFN.js → chunk-WAS3NV46.js} +6 -3
  41. package/dist/chunk-WAS3NV46.js.map +1 -0
  42. package/dist/{chunk-DKJCRGWM.js → chunk-YGIQORJ3.js} +2 -2
  43. package/dist/{cli-BLME420h.d.ts → cli-DmAiDd8A.d.ts} +2 -2
  44. package/dist/cli.d.ts +3 -3
  45. package/dist/cli.js +13 -13
  46. package/dist/embedding-fallback.js +2 -1
  47. package/dist/explicit-capture.d.ts +1 -1
  48. package/dist/extraction.js +2 -1
  49. package/dist/{first-start-migration-PG5HBC3K.js → first-start-migration-22LPFHD5.js} +6 -2
  50. package/dist/first-start-migration-22LPFHD5.js.map +1 -0
  51. package/dist/index.d.ts +4 -4
  52. package/dist/index.js +16 -16
  53. package/dist/mcp-memory-inspector-app.d.ts +2 -2
  54. package/dist/namespaces/migrate.js +5 -4
  55. package/dist/namespaces/search.js +4 -3
  56. package/dist/operator-toolkit.js +6 -6
  57. package/dist/{orchestrator-DqPAz8ot.d.ts → orchestrator-BR0sGsME.d.ts} +104 -26
  58. package/dist/orchestrator.d.ts +1 -1
  59. package/dist/orchestrator.js +7 -7
  60. package/dist/schemas.d.ts +74 -74
  61. package/dist/search/embed-helper.js +2 -1
  62. package/dist/search/factory.js +3 -2
  63. package/dist/search/index.js +3 -2
  64. package/dist/shared-context/manager.d.ts +2 -2
  65. package/dist/transfer/types.d.ts +12 -12
  66. package/package.json +2 -2
  67. package/src/access-service.ts +2 -1
  68. package/src/capabilities.test.ts +155 -0
  69. package/src/capabilities.ts +91 -0
  70. package/src/chat/chat-engine.test.ts +39 -1
  71. package/src/chat/chat-session.ts +25 -2
  72. package/src/cli.ts +3 -2
  73. package/src/embedding-fallback.ts +2 -1
  74. package/src/extraction.ts +7 -3
  75. package/src/maintenance/first-start-migration.ts +3 -1
  76. package/src/orchestration/extraction-queue-coordinator.ts +175 -0
  77. package/src/orchestrator-extraction-queue.test.ts +26 -38
  78. package/src/orchestrator-flush.test.ts +10 -15
  79. package/src/orchestrator.ts +52 -104
  80. package/src/search/embed-helper.ts +3 -2
  81. package/dist/chunk-27QQC7ZX.js.map +0 -1
  82. package/dist/chunk-CSRXQ6NB.js.map +0 -1
  83. package/dist/chunk-EHISUJFN.js.map +0 -1
  84. package/dist/chunk-MJIHJ7OG.js.map +0 -1
  85. package/dist/chunk-XPHVAOBT.js.map +0 -1
  86. package/dist/chunk-ZA2S2VLL.js.map +0 -1
  87. package/dist/first-start-migration-PG5HBC3K.js.map +0 -1
  88. /package/dist/{chunk-R7IYU5DZ.js.map → chunk-4ESAR77N.js.map} +0 -0
  89. /package/dist/{chunk-SNKPUJHR.js.map → chunk-76NHR6ZL.js.map} +0 -0
  90. /package/dist/{chunk-N3VNUM4Z.js.map → chunk-HGNOCPZX.js.map} +0 -0
  91. /package/dist/{chunk-NSA5ZRUL.js.map → chunk-M4AYVEWS.js.map} +0 -0
  92. /package/dist/{chunk-OEEW4KJA.js.map → chunk-O6YH5F47.js.map} +0 -0
  93. /package/dist/{chunk-2KAYTPPT.js.map → chunk-UTHQPSRC.js.map} +0 -0
  94. /package/dist/{chunk-CTOQEZSN.js.map → chunk-V4GNSDFH.js.map} +0 -0
  95. /package/dist/{chunk-DKJCRGWM.js.map → chunk-YGIQORJ3.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";
11
10
  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";
16
15
  confidence: number;
16
+ source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
17
17
  lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
18
18
  importance: number;
19
19
  }>;
@@ -152,10 +152,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
152
152
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
153
153
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
154
154
  }, "strip", z.ZodTypeAny, {
155
- tags: string[];
155
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
156
156
  content: string;
157
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
158
157
  confidence: number;
158
+ tags: string[];
159
159
  scope?: "project" | "global" | null | undefined;
160
160
  entityRef?: string | null | undefined;
161
161
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -184,10 +184,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
184
184
  eventTime?: string | null | undefined;
185
185
  event_time?: string | null | undefined;
186
186
  }, {
187
- tags: string[];
187
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
188
188
  content: string;
189
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
190
189
  confidence: number;
190
+ tags: string[];
191
191
  scope?: "project" | "global" | null | undefined;
192
192
  entityRef?: string | null | undefined;
193
193
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -216,10 +216,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
216
216
  eventTime?: string | null | undefined;
217
217
  event_time?: string | null | undefined;
218
218
  }>, {
219
- tags: string[];
219
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
220
220
  content: string;
221
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
222
221
  confidence: number;
222
+ tags: string[];
223
223
  scope?: "project" | "global" | null | undefined;
224
224
  entityRef?: string | null | undefined;
225
225
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -248,10 +248,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
248
248
  eventTime?: string | null | undefined;
249
249
  event_time?: string | null | undefined;
250
250
  }, {
251
- tags: string[];
251
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
252
252
  content: string;
253
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
254
253
  confidence: number;
254
+ tags: string[];
255
255
  scope?: "project" | "global" | null | undefined;
256
256
  entityRef?: string | null | undefined;
257
257
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -290,12 +290,12 @@ declare const EntityMentionSchema: z.ZodObject<{
290
290
  title: z.ZodString;
291
291
  facts: z.ZodArray<z.ZodString, "many">;
292
292
  }, "strip", z.ZodTypeAny, {
293
- key: string;
294
293
  title: string;
294
+ key: string;
295
295
  facts: string[];
296
296
  }, {
297
- key: string;
298
297
  title: string;
298
+ key: string;
299
299
  facts: string[];
300
300
  }>, "many">>>;
301
301
  }, "strip", z.ZodTypeAny, {
@@ -303,8 +303,8 @@ declare const EntityMentionSchema: z.ZodObject<{
303
303
  name: string;
304
304
  facts: string[];
305
305
  structuredSections?: {
306
- key: string;
307
306
  title: string;
307
+ key: string;
308
308
  facts: string[];
309
309
  }[] | null | undefined;
310
310
  promptedByQuestion?: string | null | undefined;
@@ -313,8 +313,8 @@ declare const EntityMentionSchema: z.ZodObject<{
313
313
  name: string;
314
314
  facts: string[];
315
315
  structuredSections?: {
316
- key: string;
317
316
  title: string;
317
+ key: string;
318
318
  facts: string[];
319
319
  }[] | null | undefined;
320
320
  promptedByQuestion?: string | null | undefined;
@@ -324,12 +324,12 @@ declare const ExtractedQuestionSchema: z.ZodObject<{
324
324
  context: z.ZodString;
325
325
  priority: z.ZodNumber;
326
326
  }, "strip", z.ZodTypeAny, {
327
- question: string;
328
327
  context: string;
328
+ question: string;
329
329
  priority: number;
330
330
  }, {
331
- question: string;
332
331
  context: string;
332
+ question: string;
333
333
  priority: number;
334
334
  }>;
335
335
  declare const ProactiveQuestionsResultSchema: z.ZodObject<{
@@ -338,24 +338,24 @@ declare const ProactiveQuestionsResultSchema: z.ZodObject<{
338
338
  context: z.ZodString;
339
339
  priority: z.ZodNumber;
340
340
  }, "strip", z.ZodTypeAny, {
341
- question: string;
342
341
  context: string;
342
+ question: string;
343
343
  priority: number;
344
344
  }, {
345
- question: string;
346
345
  context: string;
346
+ question: string;
347
347
  priority: number;
348
348
  }>, "many">;
349
349
  }, "strip", z.ZodTypeAny, {
350
350
  questions: {
351
- question: string;
352
351
  context: string;
352
+ question: string;
353
353
  priority: number;
354
354
  }[];
355
355
  }, {
356
356
  questions: {
357
- question: string;
358
357
  context: string;
358
+ question: string;
359
359
  priority: number;
360
360
  }[];
361
361
  }>;
@@ -475,10 +475,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
475
475
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
476
476
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
477
477
  }, "strip", z.ZodTypeAny, {
478
- tags: string[];
478
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
479
479
  content: string;
480
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
481
480
  confidence: number;
481
+ tags: string[];
482
482
  scope?: "project" | "global" | null | undefined;
483
483
  entityRef?: string | null | undefined;
484
484
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -507,10 +507,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
507
507
  eventTime?: string | null | undefined;
508
508
  event_time?: string | null | undefined;
509
509
  }, {
510
- tags: string[];
510
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
511
511
  content: string;
512
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
513
512
  confidence: number;
513
+ tags: string[];
514
514
  scope?: "project" | "global" | null | undefined;
515
515
  entityRef?: string | null | undefined;
516
516
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -539,10 +539,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
539
539
  eventTime?: string | null | undefined;
540
540
  event_time?: string | null | undefined;
541
541
  }>, {
542
- tags: string[];
542
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
543
543
  content: string;
544
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
545
544
  confidence: number;
545
+ tags: string[];
546
546
  scope?: "project" | "global" | null | undefined;
547
547
  entityRef?: string | null | undefined;
548
548
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -571,10 +571,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
571
571
  eventTime?: string | null | undefined;
572
572
  event_time?: string | null | undefined;
573
573
  }, {
574
- tags: string[];
574
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
575
575
  content: string;
576
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
577
576
  confidence: number;
577
+ tags: string[];
578
578
  scope?: "project" | "global" | null | undefined;
579
579
  entityRef?: string | null | undefined;
580
580
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -614,12 +614,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
614
614
  title: z.ZodString;
615
615
  facts: z.ZodArray<z.ZodString, "many">;
616
616
  }, "strip", z.ZodTypeAny, {
617
- key: string;
618
617
  title: string;
618
+ key: string;
619
619
  facts: string[];
620
620
  }, {
621
- key: string;
622
621
  title: string;
622
+ key: string;
623
623
  facts: string[];
624
624
  }>, "many">>>;
625
625
  }, "strip", z.ZodTypeAny, {
@@ -627,8 +627,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
627
627
  name: string;
628
628
  facts: string[];
629
629
  structuredSections?: {
630
- key: string;
631
630
  title: string;
631
+ key: string;
632
632
  facts: string[];
633
633
  }[] | null | undefined;
634
634
  promptedByQuestion?: string | null | undefined;
@@ -637,8 +637,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
637
637
  name: string;
638
638
  facts: string[];
639
639
  structuredSections?: {
640
- key: string;
641
640
  title: string;
641
+ key: string;
642
642
  facts: string[];
643
643
  }[] | null | undefined;
644
644
  promptedByQuestion?: string | null | undefined;
@@ -661,10 +661,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
661
661
  }>, "many">>>;
662
662
  }, "strip", z.ZodTypeAny, {
663
663
  facts: {
664
- tags: string[];
664
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
665
665
  content: string;
666
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
667
666
  confidence: number;
667
+ tags: string[];
668
668
  scope?: "project" | "global" | null | undefined;
669
669
  entityRef?: string | null | undefined;
670
670
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -698,8 +698,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
698
698
  name: string;
699
699
  facts: string[];
700
700
  structuredSections?: {
701
- key: string;
702
701
  title: string;
702
+ key: string;
703
703
  facts: string[];
704
704
  }[] | null | undefined;
705
705
  promptedByQuestion?: string | null | undefined;
@@ -713,10 +713,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
713
713
  }[] | null | undefined;
714
714
  }, {
715
715
  facts: {
716
- tags: string[];
716
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
717
717
  content: string;
718
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
719
718
  confidence: number;
719
+ tags: string[];
720
720
  scope?: "project" | "global" | null | undefined;
721
721
  entityRef?: string | null | undefined;
722
722
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -750,8 +750,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
750
750
  name: string;
751
751
  facts: string[];
752
752
  structuredSections?: {
753
- key: string;
754
753
  title: string;
754
+ key: string;
755
755
  facts: string[];
756
756
  }[] | null | undefined;
757
757
  promptedByQuestion?: string | null | undefined;
@@ -864,10 +864,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
864
864
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
865
865
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
866
866
  }, "strip", z.ZodTypeAny, {
867
- tags: string[];
867
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
868
868
  content: string;
869
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
870
869
  confidence: number;
870
+ tags: string[];
871
871
  scope?: "project" | "global" | null | undefined;
872
872
  entityRef?: string | null | undefined;
873
873
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -896,10 +896,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
896
896
  eventTime?: string | null | undefined;
897
897
  event_time?: string | null | undefined;
898
898
  }, {
899
- tags: string[];
899
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
900
900
  content: string;
901
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
902
901
  confidence: number;
902
+ tags: string[];
903
903
  scope?: "project" | "global" | null | undefined;
904
904
  entityRef?: string | null | undefined;
905
905
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -928,10 +928,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
928
928
  eventTime?: string | null | undefined;
929
929
  event_time?: string | null | undefined;
930
930
  }>, {
931
- tags: string[];
931
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
932
932
  content: string;
933
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
934
933
  confidence: number;
934
+ tags: string[];
935
935
  scope?: "project" | "global" | null | undefined;
936
936
  entityRef?: string | null | undefined;
937
937
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -960,10 +960,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
960
960
  eventTime?: string | null | undefined;
961
961
  event_time?: string | null | undefined;
962
962
  }, {
963
- tags: string[];
963
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
964
964
  content: string;
965
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
966
965
  confidence: number;
966
+ tags: string[];
967
967
  scope?: "project" | "global" | null | undefined;
968
968
  entityRef?: string | null | undefined;
969
969
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -1003,12 +1003,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
1003
1003
  title: z.ZodString;
1004
1004
  facts: z.ZodArray<z.ZodString, "many">;
1005
1005
  }, "strip", z.ZodTypeAny, {
1006
- key: string;
1007
1006
  title: string;
1007
+ key: string;
1008
1008
  facts: string[];
1009
1009
  }, {
1010
- key: string;
1011
1010
  title: string;
1011
+ key: string;
1012
1012
  facts: string[];
1013
1013
  }>, "many">>>;
1014
1014
  }, "strip", z.ZodTypeAny, {
@@ -1016,8 +1016,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
1016
1016
  name: string;
1017
1017
  facts: string[];
1018
1018
  structuredSections?: {
1019
- key: string;
1020
1019
  title: string;
1020
+ key: string;
1021
1021
  facts: string[];
1022
1022
  }[] | null | undefined;
1023
1023
  promptedByQuestion?: string | null | undefined;
@@ -1026,8 +1026,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
1026
1026
  name: string;
1027
1027
  facts: string[];
1028
1028
  structuredSections?: {
1029
- key: string;
1030
1029
  title: string;
1030
+ key: string;
1031
1031
  facts: string[];
1032
1032
  }[] | null | undefined;
1033
1033
  promptedByQuestion?: string | null | undefined;
@@ -1037,12 +1037,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
1037
1037
  context: z.ZodString;
1038
1038
  priority: z.ZodNumber;
1039
1039
  }, "strip", z.ZodTypeAny, {
1040
- question: string;
1041
1040
  context: string;
1041
+ question: string;
1042
1042
  priority: number;
1043
1043
  }, {
1044
- question: string;
1045
1044
  context: string;
1045
+ question: string;
1046
1046
  priority: number;
1047
1047
  }>, "many">;
1048
1048
  identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1064,15 +1064,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
1064
1064
  }>, "many">>>;
1065
1065
  }, "strip", z.ZodTypeAny, {
1066
1066
  questions: {
1067
- question: string;
1068
1067
  context: string;
1068
+ question: string;
1069
1069
  priority: number;
1070
1070
  }[];
1071
1071
  facts: {
1072
- tags: string[];
1072
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1073
1073
  content: string;
1074
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1075
1074
  confidence: number;
1075
+ tags: string[];
1076
1076
  scope?: "project" | "global" | null | undefined;
1077
1077
  entityRef?: string | null | undefined;
1078
1078
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -1106,8 +1106,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
1106
1106
  name: string;
1107
1107
  facts: string[];
1108
1108
  structuredSections?: {
1109
- key: string;
1110
1109
  title: string;
1110
+ key: string;
1111
1111
  facts: string[];
1112
1112
  }[] | null | undefined;
1113
1113
  promptedByQuestion?: string | null | undefined;
@@ -1122,15 +1122,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
1122
1122
  identityReflection?: string | null | undefined;
1123
1123
  }, {
1124
1124
  questions: {
1125
- question: string;
1126
1125
  context: string;
1126
+ question: string;
1127
1127
  priority: number;
1128
1128
  }[];
1129
1129
  facts: {
1130
- tags: string[];
1130
+ category: "decision" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1131
1131
  content: string;
1132
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1133
1132
  confidence: number;
1133
+ tags: string[];
1134
1134
  scope?: "project" | "global" | null | undefined;
1135
1135
  entityRef?: string | null | undefined;
1136
1136
  structuredAttributes?: Record<string, string> | null | undefined;
@@ -1164,8 +1164,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
1164
1164
  name: string;
1165
1165
  facts: string[];
1166
1166
  structuredSections?: {
1167
- key: string;
1168
1167
  title: string;
1168
+ key: string;
1169
1169
  facts: string[];
1170
1170
  }[] | null | undefined;
1171
1171
  promptedByQuestion?: string | null | undefined;
@@ -1229,12 +1229,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1229
1229
  title: z.ZodString;
1230
1230
  facts: z.ZodArray<z.ZodString, "many">;
1231
1231
  }, "strip", z.ZodTypeAny, {
1232
- key: string;
1233
1232
  title: string;
1233
+ key: string;
1234
1234
  facts: string[];
1235
1235
  }, {
1236
- key: string;
1237
1236
  title: string;
1237
+ key: string;
1238
1238
  facts: string[];
1239
1239
  }>, "many">>>;
1240
1240
  }, "strip", z.ZodTypeAny, {
@@ -1242,8 +1242,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1242
1242
  name: string;
1243
1243
  facts: string[];
1244
1244
  structuredSections?: {
1245
- key: string;
1246
1245
  title: string;
1246
+ key: string;
1247
1247
  facts: string[];
1248
1248
  }[] | null | undefined;
1249
1249
  promptedByQuestion?: string | null | undefined;
@@ -1252,8 +1252,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1252
1252
  name: string;
1253
1253
  facts: string[];
1254
1254
  structuredSections?: {
1255
- key: string;
1256
1255
  title: string;
1256
+ key: string;
1257
1257
  facts: string[];
1258
1258
  }[] | null | undefined;
1259
1259
  promptedByQuestion?: string | null | undefined;
@@ -1272,8 +1272,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1272
1272
  name: string;
1273
1273
  facts: string[];
1274
1274
  structuredSections?: {
1275
- key: string;
1276
1275
  title: string;
1276
+ key: string;
1277
1277
  facts: string[];
1278
1278
  }[] | null | undefined;
1279
1279
  promptedByQuestion?: string | null | undefined;
@@ -1292,8 +1292,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1292
1292
  name: string;
1293
1293
  facts: string[];
1294
1294
  structuredSections?: {
1295
- key: string;
1296
1295
  title: string;
1296
+ key: string;
1297
1297
  facts: string[];
1298
1298
  }[] | null | undefined;
1299
1299
  promptedByQuestion?: string | null | undefined;
@@ -1342,13 +1342,13 @@ declare const ContradictionVerificationSchema: z.ZodObject<{
1342
1342
  reasoning: z.ZodString;
1343
1343
  whichIsNewer: z.ZodEnum<["first", "second", "unclear"]>;
1344
1344
  }, "strip", z.ZodTypeAny, {
1345
- reasoning: string;
1346
1345
  confidence: number;
1346
+ reasoning: string;
1347
1347
  isContradiction: boolean;
1348
1348
  whichIsNewer: "second" | "first" | "unclear";
1349
1349
  }, {
1350
- reasoning: string;
1351
1350
  confidence: number;
1351
+ reasoning: string;
1352
1352
  isContradiction: boolean;
1353
1353
  whichIsNewer: "second" | "first" | "unclear";
1354
1354
  }>;
@@ -1443,8 +1443,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
1443
1443
  reason: z.ZodString;
1444
1444
  appliedAt: z.ZodString;
1445
1445
  }, "strip", z.ZodTypeAny, {
1446
- confidence: number;
1447
1446
  delta: number;
1447
+ confidence: number;
1448
1448
  reason: string;
1449
1449
  parameter: string;
1450
1450
  previousValue: number;
@@ -1452,8 +1452,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
1452
1452
  evidenceCount: number;
1453
1453
  appliedAt: string;
1454
1454
  }, {
1455
- confidence: number;
1456
1455
  delta: number;
1456
+ confidence: number;
1457
1457
  reason: string;
1458
1458
  parameter: string;
1459
1459
  previousValue: number;
@@ -1477,8 +1477,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1477
1477
  reason: z.ZodString;
1478
1478
  appliedAt: z.ZodString;
1479
1479
  }, "strip", z.ZodTypeAny, {
1480
- confidence: number;
1481
1480
  delta: number;
1481
+ confidence: number;
1482
1482
  reason: string;
1483
1483
  parameter: string;
1484
1484
  previousValue: number;
@@ -1486,8 +1486,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1486
1486
  evidenceCount: number;
1487
1487
  appliedAt: string;
1488
1488
  }, {
1489
- confidence: number;
1490
1489
  delta: number;
1490
+ confidence: number;
1491
1491
  reason: string;
1492
1492
  parameter: string;
1493
1493
  previousValue: number;
@@ -1504,8 +1504,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1504
1504
  maxDeltaPerCycle: number;
1505
1505
  protectedParams: string[];
1506
1506
  adjustments: {
1507
- confidence: number;
1508
1507
  delta: number;
1508
+ confidence: number;
1509
1509
  reason: string;
1510
1510
  parameter: string;
1511
1511
  previousValue: number;
@@ -1521,8 +1521,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1521
1521
  maxDeltaPerCycle: number;
1522
1522
  protectedParams: string[];
1523
1523
  adjustments: {
1524
- confidence: number;
1525
1524
  delta: number;
1525
+ confidence: number;
1526
1526
  reason: string;
1527
1527
  parameter: string;
1528
1528
  previousValue: number;
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  EmbedHelper
3
- } from "../chunk-EHISUJFN.js";
3
+ } from "../chunk-WAS3NV46.js";
4
4
  import "../chunk-CINZGPSJ.js";
5
5
  import "../chunk-3ONXXHQO.js";
6
+ import "../chunk-3RCBIOOJ.js";
6
7
  import "../chunk-NU3CSQ4H.js";
7
8
  import "../chunk-PVGDJXVK.js";
8
9
  import "../chunk-PZ5AY32C.js";
@@ -2,12 +2,12 @@ import {
2
2
  createConversationIndexRuntime,
3
3
  createConversationSearchBackend,
4
4
  createSearchBackend
5
- } from "../chunk-2KAYTPPT.js";
5
+ } from "../chunk-UTHQPSRC.js";
6
6
  import "../chunk-WRFKZEO6.js";
7
7
  import "../chunk-CYEPCZN5.js";
8
8
  import "../chunk-LQ6JI4VH.js";
9
9
  import "../chunk-SANZHXY2.js";
10
- import "../chunk-EHISUJFN.js";
10
+ import "../chunk-WAS3NV46.js";
11
11
  import "../chunk-5CEJH5ZN.js";
12
12
  import "../chunk-AER6MT24.js";
13
13
  import "../chunk-CINZGPSJ.js";
@@ -19,6 +19,7 @@ import "../chunk-K43PI6DQ.js";
19
19
  import "../chunk-YNQ6DFSV.js";
20
20
  import "../chunk-O75CRYGF.js";
21
21
  import "../chunk-3ONXXHQO.js";
22
+ import "../chunk-3RCBIOOJ.js";
22
23
  import "../chunk-5GPPACXK.js";
23
24
  import "../chunk-AWJ2FHCF.js";
24
25
  import "../chunk-42JKGUFJ.js";
@@ -2,7 +2,7 @@ import {
2
2
  createConversationIndexRuntime,
3
3
  createConversationSearchBackend,
4
4
  createSearchBackend
5
- } from "../chunk-2KAYTPPT.js";
5
+ } from "../chunk-UTHQPSRC.js";
6
6
  import {
7
7
  MeilisearchBackend
8
8
  } from "../chunk-WRFKZEO6.js";
@@ -17,7 +17,7 @@ import {
17
17
  } from "../chunk-SANZHXY2.js";
18
18
  import {
19
19
  EmbedHelper
20
- } from "../chunk-EHISUJFN.js";
20
+ } from "../chunk-WAS3NV46.js";
21
21
  import {
22
22
  LanceDbBackend
23
23
  } from "../chunk-5CEJH5ZN.js";
@@ -33,6 +33,7 @@ import "../chunk-K43PI6DQ.js";
33
33
  import "../chunk-YNQ6DFSV.js";
34
34
  import "../chunk-O75CRYGF.js";
35
35
  import "../chunk-3ONXXHQO.js";
36
+ import "../chunk-3RCBIOOJ.js";
36
37
  import "../chunk-5GPPACXK.js";
37
38
  import "../chunk-AWJ2FHCF.js";
38
39
  import "../chunk-42JKGUFJ.js";
@@ -22,9 +22,9 @@ declare const SharedFeedbackEntrySchema: z.ZodObject<{
22
22
  reason: string;
23
23
  date: string;
24
24
  agent: string;
25
+ confidence?: number | undefined;
25
26
  workflow?: string | undefined;
26
27
  tags?: string[] | undefined;
27
- confidence?: number | undefined;
28
28
  severity?: "high" | "low" | "medium" | undefined;
29
29
  outcome?: string | undefined;
30
30
  refs?: string[] | undefined;
@@ -36,9 +36,9 @@ declare const SharedFeedbackEntrySchema: z.ZodObject<{
36
36
  reason: string;
37
37
  date: string;
38
38
  agent: string;
39
+ confidence?: number | undefined;
39
40
  workflow?: string | undefined;
40
41
  tags?: string[] | undefined;
41
- confidence?: number | undefined;
42
42
  severity?: "high" | "low" | "medium" | undefined;
43
43
  outcome?: string | undefined;
44
44
  refs?: string[] | undefined;