@remnic/core 1.0.3 → 1.1.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.
Files changed (148) hide show
  1. package/dist/abort-error.d.ts +32 -0
  2. package/dist/abort-error.js +11 -0
  3. package/dist/access-cli.js +41 -40
  4. package/dist/access-cli.js.map +1 -1
  5. package/dist/access-http.d.ts +3 -2
  6. package/dist/access-http.js +11 -11
  7. package/dist/access-mcp.d.ts +3 -2
  8. package/dist/access-mcp.js +7 -7
  9. package/dist/access-schema.d.ts +16 -16
  10. package/dist/access-service-HmO1Trrx.d.ts +732 -0
  11. package/dist/access-service.d.ts +11 -658
  12. package/dist/access-service.js +9 -9
  13. package/dist/bootstrap.d.ts +1 -1
  14. package/dist/briefing.js +6 -6
  15. package/dist/calibration.js +3 -3
  16. package/dist/causal-consolidation.js +10 -10
  17. package/dist/{chunk-PMB3WGDL.js → chunk-37UIFYWO.js} +64 -3
  18. package/dist/chunk-37UIFYWO.js.map +1 -0
  19. package/dist/{chunk-X4WESCKA.js → chunk-3QHL5ABG.js} +5 -5
  20. package/dist/{chunk-2VFW5K5U.js → chunk-3SV6CQHO.js} +10 -8
  21. package/dist/chunk-3SV6CQHO.js.map +1 -0
  22. package/dist/{chunk-U2IQTSBY.js → chunk-3WHVNEN7.js} +1 -1
  23. package/dist/chunk-3WHVNEN7.js.map +1 -0
  24. package/dist/{chunk-QKAH5B6E.js → chunk-44ICJRF3.js} +97 -9
  25. package/dist/chunk-44ICJRF3.js.map +1 -0
  26. package/dist/{chunk-S4LX5EBI.js → chunk-47UU5PU2.js} +48 -9
  27. package/dist/chunk-47UU5PU2.js.map +1 -0
  28. package/dist/{chunk-ECKDIK5F.js → chunk-4LACOVZX.js} +2 -2
  29. package/dist/{chunk-AYPYCLR7.js → chunk-6LX5ORAS.js} +2 -2
  30. package/dist/{chunk-GJQPH5G3.js → chunk-6UJ47TVX.js} +2 -2
  31. package/dist/{chunk-KWP7T3DP.js → chunk-7ECD5ATE.js} +2 -2
  32. package/dist/{chunk-74JR4N5J.js → chunk-7WQ6SLIE.js} +2 -2
  33. package/dist/{chunk-7PA4OZEU.js → chunk-BLKTA7MM.js} +6 -14
  34. package/dist/chunk-BLKTA7MM.js.map +1 -0
  35. package/dist/{chunk-XMGSSBFX.js → chunk-DEPL3635.js} +172 -100
  36. package/dist/chunk-DEPL3635.js.map +1 -0
  37. package/dist/{chunk-JROGC36Y.js → chunk-DHHP2Z4X.js} +2 -2
  38. package/dist/{chunk-BKQJBXXX.js → chunk-GGD5W7TB.js} +2 -2
  39. package/dist/chunk-GGD5W7TB.js.map +1 -0
  40. package/dist/{chunk-POMSFKTB.js → chunk-GV6NLQ4X.js} +14 -14
  41. package/dist/{chunk-AAI7JARD.js → chunk-HMDCOMYU.js} +8 -11
  42. package/dist/chunk-HMDCOMYU.js.map +1 -0
  43. package/dist/{chunk-POBPGDWI.js → chunk-ITRLGI2T.js} +2 -2
  44. package/dist/{chunk-MYQWXITD.js → chunk-JIU55F3X.js} +2 -2
  45. package/dist/{chunk-UPMD5XND.js → chunk-JL2PU6AI.js} +16 -5
  46. package/dist/chunk-JL2PU6AI.js.map +1 -0
  47. package/dist/{chunk-OJFGVJS6.js → chunk-MBJHSA7F.js} +65 -9
  48. package/dist/chunk-MBJHSA7F.js.map +1 -0
  49. package/dist/{chunk-V7XCAHIB.js → chunk-MVTHXUBX.js} +46 -23
  50. package/dist/chunk-MVTHXUBX.js.map +1 -0
  51. package/dist/{chunk-BTY5RRRF.js → chunk-N42IWANG.js} +5 -5
  52. package/dist/{chunk-NSB3WSYS.js → chunk-NQEVYWX6.js} +74 -3
  53. package/dist/chunk-NQEVYWX6.js.map +1 -0
  54. package/dist/chunk-OIT5QGG4.js +80 -0
  55. package/dist/chunk-OIT5QGG4.js.map +1 -0
  56. package/dist/chunk-PVGDJXVK.js +21 -0
  57. package/dist/chunk-PVGDJXVK.js.map +1 -0
  58. package/dist/{chunk-RCICHSHL.js → chunk-SYUK3VLY.js} +2 -2
  59. package/dist/{chunk-YFYL2SIJ.js → chunk-WBSAYXVI.js} +127 -39
  60. package/dist/chunk-WBSAYXVI.js.map +1 -0
  61. package/dist/{chunk-KEG4GNGI.js → chunk-XZ2TIKGC.js} +38 -8
  62. package/dist/chunk-XZ2TIKGC.js.map +1 -0
  63. package/dist/chunk-Y4FHOFJ2.js +140 -0
  64. package/dist/chunk-Y4FHOFJ2.js.map +1 -0
  65. package/dist/chunk-YNB73F22.js +137 -0
  66. package/dist/chunk-YNB73F22.js.map +1 -0
  67. package/dist/{chunk-HITJFT7E.js → chunk-ZVBB3T7V.js} +10 -5
  68. package/dist/chunk-ZVBB3T7V.js.map +1 -0
  69. package/dist/{cli-DwIBnp2g.d.ts → cli-BneVIEvh.d.ts} +2 -2
  70. package/dist/cli.d.ts +4 -3
  71. package/dist/cli.js +25 -24
  72. package/dist/config.js +1 -1
  73. package/dist/contradiction-review-WIUBAR52.js +21 -0
  74. package/dist/contradiction-review-WIUBAR52.js.map +1 -0
  75. package/dist/contradiction-scan-GR33PONM.js +376 -0
  76. package/dist/contradiction-scan-GR33PONM.js.map +1 -0
  77. package/dist/direct-answer-wiring.d.ts +77 -0
  78. package/dist/direct-answer-wiring.js +75 -0
  79. package/dist/direct-answer-wiring.js.map +1 -0
  80. package/dist/direct-answer.d.ts +106 -0
  81. package/dist/direct-answer.js +10 -0
  82. package/dist/direct-answer.js.map +1 -0
  83. package/dist/{engine-X7X3AAG3.js → engine-5TIQBYZR.js} +7 -7
  84. package/dist/engine-5TIQBYZR.js.map +1 -0
  85. package/dist/entity-retrieval.js +6 -6
  86. package/dist/explicit-capture.d.ts +1 -1
  87. package/dist/extraction.js +6 -6
  88. package/dist/fallback-llm.d.ts +11 -2
  89. package/dist/fallback-llm.js +3 -3
  90. package/dist/harmonic-retrieval.js +2 -1
  91. package/dist/index.d.ts +10 -124
  92. package/dist/index.js +74 -137
  93. package/dist/index.js.map +1 -1
  94. package/dist/intent.js +1 -1
  95. package/dist/local-llm.d.ts +10 -3
  96. package/dist/local-llm.js +1 -1
  97. package/dist/operator-toolkit.js +12 -11
  98. package/dist/{orchestrator-B9kwlCep.d.ts → orchestrator-DRYA6_lW.d.ts} +21 -2
  99. package/dist/orchestrator.d.ts +1 -1
  100. package/dist/orchestrator.js +36 -35
  101. package/dist/qmd.js +2 -1
  102. package/dist/recall-state.d.ts +28 -1
  103. package/dist/recall-state.js +1 -1
  104. package/dist/resolution-QBTDHTG7.js +100 -0
  105. package/dist/resolution-QBTDHTG7.js.map +1 -0
  106. package/dist/resolve-provider-secret.d.ts +24 -1
  107. package/dist/resolve-provider-secret.js +3 -1
  108. package/dist/resume-bundles.js +3 -3
  109. package/dist/schemas.d.ts +14 -14
  110. package/dist/semantic-consolidation.js +6 -6
  111. package/dist/semantic-rule-promotion.js +6 -6
  112. package/dist/semantic-rule-verifier.js +6 -6
  113. package/dist/storage.js +5 -5
  114. package/dist/summarizer.js +5 -5
  115. package/dist/types-DJhqDJUV.d.ts +50 -0
  116. package/dist/types.d.ts +34 -2
  117. package/dist/types.js +1 -1
  118. package/dist/verified-recall.js +6 -6
  119. package/package.json +1 -1
  120. package/dist/chunk-2VFW5K5U.js.map +0 -1
  121. package/dist/chunk-7PA4OZEU.js.map +0 -1
  122. package/dist/chunk-AAI7JARD.js.map +0 -1
  123. package/dist/chunk-BKQJBXXX.js.map +0 -1
  124. package/dist/chunk-HITJFT7E.js.map +0 -1
  125. package/dist/chunk-KEG4GNGI.js.map +0 -1
  126. package/dist/chunk-NSB3WSYS.js.map +0 -1
  127. package/dist/chunk-OJFGVJS6.js.map +0 -1
  128. package/dist/chunk-PMB3WGDL.js.map +0 -1
  129. package/dist/chunk-QKAH5B6E.js.map +0 -1
  130. package/dist/chunk-S4LX5EBI.js.map +0 -1
  131. package/dist/chunk-U2IQTSBY.js.map +0 -1
  132. package/dist/chunk-UPMD5XND.js.map +0 -1
  133. package/dist/chunk-V7XCAHIB.js.map +0 -1
  134. package/dist/chunk-XMGSSBFX.js.map +0 -1
  135. package/dist/chunk-YFYL2SIJ.js.map +0 -1
  136. /package/dist/{engine-X7X3AAG3.js.map → abort-error.js.map} +0 -0
  137. /package/dist/{chunk-X4WESCKA.js.map → chunk-3QHL5ABG.js.map} +0 -0
  138. /package/dist/{chunk-ECKDIK5F.js.map → chunk-4LACOVZX.js.map} +0 -0
  139. /package/dist/{chunk-AYPYCLR7.js.map → chunk-6LX5ORAS.js.map} +0 -0
  140. /package/dist/{chunk-GJQPH5G3.js.map → chunk-6UJ47TVX.js.map} +0 -0
  141. /package/dist/{chunk-KWP7T3DP.js.map → chunk-7ECD5ATE.js.map} +0 -0
  142. /package/dist/{chunk-74JR4N5J.js.map → chunk-7WQ6SLIE.js.map} +0 -0
  143. /package/dist/{chunk-JROGC36Y.js.map → chunk-DHHP2Z4X.js.map} +0 -0
  144. /package/dist/{chunk-POMSFKTB.js.map → chunk-GV6NLQ4X.js.map} +0 -0
  145. /package/dist/{chunk-POBPGDWI.js.map → chunk-ITRLGI2T.js.map} +0 -0
  146. /package/dist/{chunk-MYQWXITD.js.map → chunk-JIU55F3X.js.map} +0 -0
  147. /package/dist/{chunk-BTY5RRRF.js.map → chunk-N42IWANG.js.map} +0 -0
  148. /package/dist/{chunk-RCICHSHL.js.map → chunk-SYUK3VLY.js.map} +0 -0
package/dist/schemas.d.ts CHANGED
@@ -153,7 +153,7 @@ declare const EntityMentionSchema: z.ZodObject<{
153
153
  }, "strip", z.ZodTypeAny, {
154
154
  facts: string[];
155
155
  name: string;
156
- type: "person" | "project" | "tool" | "company" | "place" | "other";
156
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
157
157
  structuredSections?: {
158
158
  key: string;
159
159
  title: string;
@@ -163,7 +163,7 @@ declare const EntityMentionSchema: z.ZodObject<{
163
163
  }, {
164
164
  facts: string[];
165
165
  name: string;
166
- type: "person" | "project" | "tool" | "company" | "place" | "other";
166
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
167
167
  structuredSections?: {
168
168
  key: string;
169
169
  title: string;
@@ -329,7 +329,7 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
329
329
  }, "strip", z.ZodTypeAny, {
330
330
  facts: string[];
331
331
  name: string;
332
- type: "person" | "project" | "tool" | "company" | "place" | "other";
332
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
333
333
  structuredSections?: {
334
334
  key: string;
335
335
  title: string;
@@ -339,7 +339,7 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
339
339
  }, {
340
340
  facts: string[];
341
341
  name: string;
342
- type: "person" | "project" | "tool" | "company" | "place" | "other";
342
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
343
343
  structuredSections?: {
344
344
  key: string;
345
345
  title: string;
@@ -386,7 +386,7 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
386
386
  entities: {
387
387
  facts: string[];
388
388
  name: string;
389
- type: "person" | "project" | "tool" | "company" | "place" | "other";
389
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
390
390
  structuredSections?: {
391
391
  key: string;
392
392
  title: string;
@@ -424,7 +424,7 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
424
424
  entities: {
425
425
  facts: string[];
426
426
  name: string;
427
- type: "person" | "project" | "tool" | "company" | "place" | "other";
427
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
428
428
  structuredSections?: {
429
429
  key: string;
430
430
  title: string;
@@ -542,7 +542,7 @@ declare const ExtractionResultSchema: z.ZodObject<{
542
542
  }, "strip", z.ZodTypeAny, {
543
543
  facts: string[];
544
544
  name: string;
545
- type: "person" | "project" | "tool" | "company" | "place" | "other";
545
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
546
546
  structuredSections?: {
547
547
  key: string;
548
548
  title: string;
@@ -552,7 +552,7 @@ declare const ExtractionResultSchema: z.ZodObject<{
552
552
  }, {
553
553
  facts: string[];
554
554
  name: string;
555
- type: "person" | "project" | "tool" | "company" | "place" | "other";
555
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
556
556
  structuredSections?: {
557
557
  key: string;
558
558
  title: string;
@@ -613,7 +613,7 @@ declare const ExtractionResultSchema: z.ZodObject<{
613
613
  entities: {
614
614
  facts: string[];
615
615
  name: string;
616
- type: "person" | "project" | "tool" | "company" | "place" | "other";
616
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
617
617
  structuredSections?: {
618
618
  key: string;
619
619
  title: string;
@@ -657,7 +657,7 @@ declare const ExtractionResultSchema: z.ZodObject<{
657
657
  entities: {
658
658
  facts: string[];
659
659
  name: string;
660
- type: "person" | "project" | "tool" | "company" | "place" | "other";
660
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
661
661
  structuredSections?: {
662
662
  key: string;
663
663
  title: string;
@@ -740,7 +740,7 @@ declare const ConsolidationResultSchema: z.ZodObject<{
740
740
  }, "strip", z.ZodTypeAny, {
741
741
  facts: string[];
742
742
  name: string;
743
- type: "person" | "project" | "tool" | "company" | "place" | "other";
743
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
744
744
  structuredSections?: {
745
745
  key: string;
746
746
  title: string;
@@ -750,7 +750,7 @@ declare const ConsolidationResultSchema: z.ZodObject<{
750
750
  }, {
751
751
  facts: string[];
752
752
  name: string;
753
- type: "person" | "project" | "tool" | "company" | "place" | "other";
753
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
754
754
  structuredSections?: {
755
755
  key: string;
756
756
  title: string;
@@ -770,7 +770,7 @@ declare const ConsolidationResultSchema: z.ZodObject<{
770
770
  entityUpdates: {
771
771
  facts: string[];
772
772
  name: string;
773
- type: "person" | "project" | "tool" | "company" | "place" | "other";
773
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
774
774
  structuredSections?: {
775
775
  key: string;
776
776
  title: string;
@@ -790,7 +790,7 @@ declare const ConsolidationResultSchema: z.ZodObject<{
790
790
  entityUpdates: {
791
791
  facts: string[];
792
792
  name: string;
793
- type: "person" | "project" | "tool" | "company" | "place" | "other";
793
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
794
794
  structuredSections?: {
795
795
  key: string;
796
796
  title: string;
@@ -4,21 +4,21 @@ import {
4
4
  findSimilarClusters,
5
5
  materializeAfterSemanticConsolidation,
6
6
  parseConsolidationResponse
7
- } from "./chunk-RCICHSHL.js";
7
+ } from "./chunk-SYUK3VLY.js";
8
8
  import {
9
9
  resolveExtensionsRoot
10
10
  } from "./chunk-EJI5XIBB.js";
11
11
  import "./chunk-DT5TVLJE.js";
12
- import "./chunk-POMSFKTB.js";
13
- import "./chunk-U2IQTSBY.js";
12
+ import "./chunk-GV6NLQ4X.js";
13
+ import "./chunk-3WHVNEN7.js";
14
14
  import "./chunk-4KAN3GZ3.js";
15
15
  import "./chunk-6ZH4TU6I.js";
16
- import "./chunk-6PFRXT4K.js";
17
- import "./chunk-TP4FZJIZ.js";
18
16
  import "./chunk-SCU65EZI.js";
19
17
  import "./chunk-BOUYNNYD.js";
20
- import "./chunk-QSVPYQPG.js";
18
+ import "./chunk-6PFRXT4K.js";
19
+ import "./chunk-TP4FZJIZ.js";
21
20
  import "./chunk-DM2T26WE.js";
21
+ import "./chunk-QSVPYQPG.js";
22
22
  import "./chunk-M62O4P4T.js";
23
23
  import "./chunk-4DJQYKMN.js";
24
24
  import "./chunk-2ODBA7MQ.js";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  promoteSemanticRuleFromMemory
3
- } from "./chunk-KWP7T3DP.js";
4
- import "./chunk-POMSFKTB.js";
5
- import "./chunk-U2IQTSBY.js";
3
+ } from "./chunk-7ECD5ATE.js";
4
+ import "./chunk-GV6NLQ4X.js";
5
+ import "./chunk-3WHVNEN7.js";
6
6
  import "./chunk-4KAN3GZ3.js";
7
7
  import "./chunk-6ZH4TU6I.js";
8
- import "./chunk-6PFRXT4K.js";
9
- import "./chunk-TP4FZJIZ.js";
10
8
  import "./chunk-SCU65EZI.js";
11
9
  import "./chunk-BOUYNNYD.js";
12
- import "./chunk-QSVPYQPG.js";
10
+ import "./chunk-6PFRXT4K.js";
11
+ import "./chunk-TP4FZJIZ.js";
13
12
  import "./chunk-DM2T26WE.js";
13
+ import "./chunk-QSVPYQPG.js";
14
14
  import "./chunk-M62O4P4T.js";
15
15
  import "./chunk-4DJQYKMN.js";
16
16
  import "./chunk-2ODBA7MQ.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  searchVerifiedSemanticRules
3
- } from "./chunk-MYQWXITD.js";
3
+ } from "./chunk-JIU55F3X.js";
4
4
  import "./chunk-DT5TVLJE.js";
5
- import "./chunk-POMSFKTB.js";
6
- import "./chunk-U2IQTSBY.js";
5
+ import "./chunk-GV6NLQ4X.js";
6
+ import "./chunk-3WHVNEN7.js";
7
7
  import "./chunk-4KAN3GZ3.js";
8
8
  import "./chunk-6ZH4TU6I.js";
9
- import "./chunk-6PFRXT4K.js";
10
- import "./chunk-TP4FZJIZ.js";
11
9
  import "./chunk-SCU65EZI.js";
12
10
  import "./chunk-BOUYNNYD.js";
13
- import "./chunk-QSVPYQPG.js";
11
+ import "./chunk-6PFRXT4K.js";
12
+ import "./chunk-TP4FZJIZ.js";
14
13
  import "./chunk-DM2T26WE.js";
14
+ import "./chunk-QSVPYQPG.js";
15
15
  import "./chunk-M62O4P4T.js";
16
16
  import "./chunk-4DJQYKMN.js";
17
17
  import "./chunk-2ODBA7MQ.js";
package/dist/storage.js CHANGED
@@ -8,16 +8,16 @@ import {
8
8
  normalizeEntityName,
9
9
  parseEntityFile,
10
10
  serializeEntityFile
11
- } from "./chunk-POMSFKTB.js";
12
- import "./chunk-U2IQTSBY.js";
11
+ } from "./chunk-GV6NLQ4X.js";
12
+ import "./chunk-3WHVNEN7.js";
13
13
  import "./chunk-4KAN3GZ3.js";
14
14
  import "./chunk-6ZH4TU6I.js";
15
- import "./chunk-6PFRXT4K.js";
16
- import "./chunk-TP4FZJIZ.js";
17
15
  import "./chunk-SCU65EZI.js";
18
16
  import "./chunk-BOUYNNYD.js";
19
- import "./chunk-QSVPYQPG.js";
17
+ import "./chunk-6PFRXT4K.js";
18
+ import "./chunk-TP4FZJIZ.js";
20
19
  import "./chunk-DM2T26WE.js";
20
+ import "./chunk-QSVPYQPG.js";
21
21
  import "./chunk-M62O4P4T.js";
22
22
  import "./chunk-4DJQYKMN.js";
23
23
  import "./chunk-2ODBA7MQ.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  HourlySummarizer
3
- } from "./chunk-BTY5RRRF.js";
3
+ } from "./chunk-N42IWANG.js";
4
4
  import "./chunk-ETOW6ACV.js";
5
- import "./chunk-UPMD5XND.js";
6
5
  import "./chunk-FEMOX5AD.js";
6
+ import "./chunk-JL2PU6AI.js";
7
7
  import "./chunk-LK6SGL53.js";
8
- import "./chunk-QKAH5B6E.js";
9
- import "./chunk-KEG4GNGI.js";
10
- import "./chunk-ODWDQNRE.js";
8
+ import "./chunk-44ICJRF3.js";
9
+ import "./chunk-XZ2TIKGC.js";
11
10
  import "./chunk-Y27UJK6V.js";
11
+ import "./chunk-ODWDQNRE.js";
12
12
  import "./chunk-UZB5KHKX.js";
13
13
  import "./chunk-MARWOCVP.js";
14
14
  import "./chunk-2ODBA7MQ.js";
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Taxonomy types for the MECE knowledge directory.
3
+ *
4
+ * A taxonomy defines a set of categories that partition the knowledge
5
+ * space so that every memory maps to exactly one category (Mutually
6
+ * Exclusive, Collectively Exhaustive).
7
+ */
8
+ /**
9
+ * A single category in the taxonomy.
10
+ *
11
+ * @property id - Slug: lowercase letters, digits, hyphens; max 32 chars.
12
+ * @property name - Human-readable display name.
13
+ * @property description - What belongs in this category.
14
+ * @property filingRules - Prose rules used by the resolver decision tree.
15
+ * @property parentId - Optional parent category for nesting.
16
+ * @property priority - Tie-breaker: lower number wins when a memory
17
+ * could belong to multiple categories.
18
+ * @property memoryCategories - Which MemoryCategory values map here.
19
+ */
20
+ interface TaxonomyCategory {
21
+ id: string;
22
+ name: string;
23
+ description: string;
24
+ filingRules: string[];
25
+ parentId?: string;
26
+ priority: number;
27
+ memoryCategories: string[];
28
+ }
29
+ /**
30
+ * A versioned taxonomy comprising an ordered list of categories.
31
+ */
32
+ interface Taxonomy {
33
+ version: number;
34
+ categories: TaxonomyCategory[];
35
+ }
36
+ /**
37
+ * The output of the resolver: which category a piece of knowledge
38
+ * belongs to, with confidence and alternatives.
39
+ */
40
+ interface ResolverDecision {
41
+ categoryId: string;
42
+ confidence: number;
43
+ reason: string;
44
+ alternatives: Array<{
45
+ categoryId: string;
46
+ reason: string;
47
+ }>;
48
+ }
49
+
50
+ export type { ResolverDecision as R, Taxonomy as T, TaxonomyCategory as a };
package/dist/types.d.ts CHANGED
@@ -152,7 +152,7 @@ interface DreamingConfig {
152
152
  /** Procedural memory (issue #519): mining + recall gates. All sub-features default off. */
153
153
  interface ProceduralConfig {
154
154
  enabled: boolean;
155
- /** Minimum recurrence count before emitting a candidate procedure (0 disables mining threshold). */
155
+ /** Minimum cluster size before emitting a candidate; `0` disables mining (`minOccurrences_zero`). */
156
156
  minOccurrences: number;
157
157
  /** Minimum success rate from trajectory outcomes in [0, 1]. */
158
158
  successFloor: number;
@@ -165,6 +165,21 @@ interface ProceduralConfig {
165
165
  /** Max procedure memories to inject on task-initiation recall (1–10). */
166
166
  recallMaxProcedures: number;
167
167
  }
168
+ /** Configuration for the nightly contradiction-scan cron (issue #520). */
169
+ interface ContradictionScanConfig {
170
+ /** Master switch for the contradiction scan cron. Default true. */
171
+ enabled: boolean;
172
+ /** Embedding cosine similarity floor for candidate pair generation. Default 0.82. */
173
+ similarityFloor: number;
174
+ /** Minimum topic-token Jaccard overlap for unstructured pairs. Default 0.4. */
175
+ topicOverlapFloor: number;
176
+ /** Cap on candidate pairs evaluated per cron run. Default 500. */
177
+ maxPairsPerRun: number;
178
+ /** Cooldown in days before re-evaluating a pair judged independent/both-valid. Default 14. */
179
+ cooldownDays: number;
180
+ /** When true, pairs judged "duplicates" are auto-flagged for dedup (still need user approval). Default false. */
181
+ autoMergeDuplicates: boolean;
182
+ }
168
183
  interface HeartbeatConfig {
169
184
  enabled: boolean;
170
185
  journalPath: string;
@@ -283,6 +298,8 @@ interface PluginConfig {
283
298
  contradictionSimilarityThreshold: number;
284
299
  contradictionMinConfidence: number;
285
300
  contradictionAutoResolve: boolean;
301
+ /** Nightly contradiction-scan cron config (issue #520). */
302
+ contradictionScan: ContradictionScanConfig;
286
303
  /**
287
304
  * When enabled, writes that carry `structuredAttributes` mark any older
288
305
  * fact with the same `entityRef + attribute_name` supersession key and a
@@ -558,6 +575,21 @@ interface PluginConfig {
558
575
  localLlmFastModel: string;
559
576
  localLlmFastUrl: string;
560
577
  localLlmFastTimeoutMs: number;
578
+ /**
579
+ * Suppress chain-of-thought / thinking mode on the main local LLM
580
+ * (issue #548). When true, Remnic injects
581
+ * `chat_template_kwargs: { enable_thinking: false }` on every
582
+ * request so thinking-capable models (Qwen 3.5, Gemma 4, DeepSeek,
583
+ * etc.) skip reasoning tokens that structured-output tasks like
584
+ * extraction and consolidation cannot benefit from. Default: true
585
+ * — the dominant localLlm use case is JSON-shaped extraction where
586
+ * thinking is pure latency tax and a common cause of 60s timeouts.
587
+ * Set to false to restore thinking for narrative tasks.
588
+ *
589
+ * The fast-tier client (`fastLlm`) always disables thinking; that
590
+ * contract is baked into "fast tier" and is unaffected by this flag.
591
+ */
592
+ localLlmDisableThinking: boolean;
561
593
  gatewayConfig?: GatewayConfig;
562
594
  modelSource: "plugin" | "gateway";
563
595
  gatewayAgentId: string;
@@ -1734,4 +1766,4 @@ interface HourlySummary {
1734
1766
  generatedAt: string;
1735
1767
  }
1736
1768
 
1737
- export { type AccessTrackingEntry, type ActiveRecallChatType, type ActiveRecallModelFallbackPolicy, type ActiveRecallPromptStyle, type ActiveRecallQueryMode, type ActiveRecallThinking, type AgentAccessHttpConfig, type AgentDefaultsConfig, type AgentPersona, type AgentPersonaModelConfig, type BehaviorLoopAdjustment, type BehaviorLoopPolicyState, type BehaviorSignalDirection, type BehaviorSignalEvent, type BehaviorSignalType, type BootstrapOptions, type BootstrapResult, type BriefingActiveThread, type BriefingCalendarSourceError, type BriefingConfig, type BriefingFocus, type BriefingFollowup, type BriefingOpenCommitment, type BriefingRecentEntity, type BriefingResult, type BriefingSections, type BriefingWindow, type BufferEntryState, type BufferState, type BufferTurn, type CalendarEvent, type CalendarSource, type CaptureMode, type Checkpoint, type CodexCompactionFlushMode, type CodexCompatConfig, type CodexConnectorConfig, type CompressionGuidelineActivationState, type CompressionGuidelineOptimizerActionSummary, type CompressionGuidelineOptimizerEventCounts, type CompressionGuidelineOptimizerRuleUpdate, type CompressionGuidelineOptimizerSourceWindow, type CompressionGuidelineOptimizerState, type ConfidenceTier, type ConsolidationAction, type ConsolidationItem, type ConsolidationObservation, type ConsolidationResult, type ContinuityImprovementLoop, type ContinuityIncidentCloseInput, type ContinuityIncidentOpenInput, type ContinuityIncidentRecord, type ContinuityIncidentState, type ContinuityLoopCadence, type ContinuityLoopReviewInput, type ContinuityLoopStatus, type ContinuityLoopUpsertInput, type ConversationThread, type CronConversationRecallMode, type CronRecallMode, type DaySummaryResult, type DreamingConfig, type DreamingNarrativePromptStyle, type EngramTraceEvent, type EntityActivityEntry, type EntityFile, type EntityMention, type EntityRelationship, type EntitySchemaDefinition, type EntitySchemaSectionDefinition, type EntityStructuredSection, type EntityTimelineEntry, type ExtractedFact, type ExtractedProcedureStep, type ExtractedQuestion, type ExtractedRelationship, type ExtractionPassSource, type ExtractionResult, type FileHygieneConfig, type GatewayConfig, type HeartbeatConfig, type HeartbeatDetectionMode, type HourlySummary, type IdentityInjectionMode, type ImportanceLevel, type ImportanceScore, type LifecycleState, type LlmTraceCallback, type LlmTraceEvent, type MemoryActionEligibilityContext, type MemoryActionEligibilitySource, type MemoryActionEvent, type MemoryActionOutcome, type MemoryActionPolicyDecision, type MemoryActionPolicyResult, type MemoryActionStatus, type MemoryActionType, type MemoryCategory, type MemoryFile, type MemoryFrontmatter, type MemoryIntent, type MemoryLifecycleEvent, type MemoryLifecycleEventType, type MemoryLifecycleStateSummary, type MemoryLink, type MemoryLinkType, type MemoryOsPresetName, type MemoryProjectionCurrentState, type MemoryStatus, type MemorySummary, type MetaState, type ModelApi, type ModelDefinitionConfig, type ModelProviderAuthMode, type ModelProviderConfig, type NamespacePolicy, type NativeKnowledgeConfig, type NativeKnowledgeFolderRuleConfig, type NativeKnowledgeObsidianVaultConfig, type NativeKnowledgeOpenClawWorkspaceConfig, type PluginConfig, type PolicyClass, type PrincipalFromSessionKeyMode, type PrincipalRule, type ProceduralConfig, type QmdSearchExplain, type QmdSearchResult, type QuestionEntry, type ReasoningEffort, type RecallPipelineConfig, type RecallPlanMode, type RecallSectionConfig, type RecallTierExplain, type RecallTraceEvent, type RelevanceFeedback, type RetrievalTier, SPECULATIVE_TTL_DAYS, type ScoredEntity, type SemanticChunkingConfigShape, type SessionObserverBandConfig, type SignalLevel, type SignalScanResult, type SlotBehaviorConfig, type SlotMismatchMode, type TopicScore, type TranscriptEntry, type TriggerMode, type VerificationState, confidenceTier };
1769
+ export { type AccessTrackingEntry, type ActiveRecallChatType, type ActiveRecallModelFallbackPolicy, type ActiveRecallPromptStyle, type ActiveRecallQueryMode, type ActiveRecallThinking, type AgentAccessHttpConfig, type AgentDefaultsConfig, type AgentPersona, type AgentPersonaModelConfig, type BehaviorLoopAdjustment, type BehaviorLoopPolicyState, type BehaviorSignalDirection, type BehaviorSignalEvent, type BehaviorSignalType, type BootstrapOptions, type BootstrapResult, type BriefingActiveThread, type BriefingCalendarSourceError, type BriefingConfig, type BriefingFocus, type BriefingFollowup, type BriefingOpenCommitment, type BriefingRecentEntity, type BriefingResult, type BriefingSections, type BriefingWindow, type BufferEntryState, type BufferState, type BufferTurn, type CalendarEvent, type CalendarSource, type CaptureMode, type Checkpoint, type CodexCompactionFlushMode, type CodexCompatConfig, type CodexConnectorConfig, type CompressionGuidelineActivationState, type CompressionGuidelineOptimizerActionSummary, type CompressionGuidelineOptimizerEventCounts, type CompressionGuidelineOptimizerRuleUpdate, type CompressionGuidelineOptimizerSourceWindow, type CompressionGuidelineOptimizerState, type ConfidenceTier, type ConsolidationAction, type ConsolidationItem, type ConsolidationObservation, type ConsolidationResult, type ContinuityImprovementLoop, type ContinuityIncidentCloseInput, type ContinuityIncidentOpenInput, type ContinuityIncidentRecord, type ContinuityIncidentState, type ContinuityLoopCadence, type ContinuityLoopReviewInput, type ContinuityLoopStatus, type ContinuityLoopUpsertInput, type ContradictionScanConfig, type ConversationThread, type CronConversationRecallMode, type CronRecallMode, type DaySummaryResult, type DreamingConfig, type DreamingNarrativePromptStyle, type EngramTraceEvent, type EntityActivityEntry, type EntityFile, type EntityMention, type EntityRelationship, type EntitySchemaDefinition, type EntitySchemaSectionDefinition, type EntityStructuredSection, type EntityTimelineEntry, type ExtractedFact, type ExtractedProcedureStep, type ExtractedQuestion, type ExtractedRelationship, type ExtractionPassSource, type ExtractionResult, type FileHygieneConfig, type GatewayConfig, type HeartbeatConfig, type HeartbeatDetectionMode, type HourlySummary, type IdentityInjectionMode, type ImportanceLevel, type ImportanceScore, type LifecycleState, type LlmTraceCallback, type LlmTraceEvent, type MemoryActionEligibilityContext, type MemoryActionEligibilitySource, type MemoryActionEvent, type MemoryActionOutcome, type MemoryActionPolicyDecision, type MemoryActionPolicyResult, type MemoryActionStatus, type MemoryActionType, type MemoryCategory, type MemoryFile, type MemoryFrontmatter, type MemoryIntent, type MemoryLifecycleEvent, type MemoryLifecycleEventType, type MemoryLifecycleStateSummary, type MemoryLink, type MemoryLinkType, type MemoryOsPresetName, type MemoryProjectionCurrentState, type MemoryStatus, type MemorySummary, type MetaState, type ModelApi, type ModelDefinitionConfig, type ModelProviderAuthMode, type ModelProviderConfig, type NamespacePolicy, type NativeKnowledgeConfig, type NativeKnowledgeFolderRuleConfig, type NativeKnowledgeObsidianVaultConfig, type NativeKnowledgeOpenClawWorkspaceConfig, type PluginConfig, type PolicyClass, type PrincipalFromSessionKeyMode, type PrincipalRule, type ProceduralConfig, type QmdSearchExplain, type QmdSearchResult, type QuestionEntry, type ReasoningEffort, type RecallPipelineConfig, type RecallPlanMode, type RecallSectionConfig, type RecallTierExplain, type RecallTraceEvent, type RelevanceFeedback, type RetrievalTier, SPECULATIVE_TTL_DAYS, type ScoredEntity, type SemanticChunkingConfigShape, type SessionObserverBandConfig, type SignalLevel, type SignalScanResult, type SlotBehaviorConfig, type SlotMismatchMode, type TopicScore, type TranscriptEntry, type TriggerMode, type VerificationState, confidenceTier };
package/dist/types.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SPECULATIVE_TTL_DAYS,
3
3
  confidenceTier
4
- } from "./chunk-U2IQTSBY.js";
4
+ } from "./chunk-3WHVNEN7.js";
5
5
  export {
6
6
  SPECULATIVE_TTL_DAYS,
7
7
  confidenceTier
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  searchVerifiedEpisodes
3
- } from "./chunk-GJQPH5G3.js";
3
+ } from "./chunk-6UJ47TVX.js";
4
4
  import "./chunk-URB2WSKZ.js";
5
5
  import "./chunk-DT5TVLJE.js";
6
- import "./chunk-POMSFKTB.js";
7
- import "./chunk-U2IQTSBY.js";
6
+ import "./chunk-GV6NLQ4X.js";
7
+ import "./chunk-3WHVNEN7.js";
8
8
  import "./chunk-4KAN3GZ3.js";
9
9
  import "./chunk-6ZH4TU6I.js";
10
- import "./chunk-6PFRXT4K.js";
11
- import "./chunk-TP4FZJIZ.js";
12
10
  import "./chunk-SCU65EZI.js";
13
11
  import "./chunk-BOUYNNYD.js";
14
- import "./chunk-QSVPYQPG.js";
12
+ import "./chunk-6PFRXT4K.js";
13
+ import "./chunk-TP4FZJIZ.js";
15
14
  import "./chunk-DM2T26WE.js";
15
+ import "./chunk-QSVPYQPG.js";
16
16
  import "./chunk-M62O4P4T.js";
17
17
  import "./chunk-4DJQYKMN.js";
18
18
  import "./chunk-2ODBA7MQ.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnic/core",
3
- "version": "1.0.3",
3
+ "version": "1.1.0",
4
4
  "description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",