@remnic/core 9.3.754 → 9.3.755

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 (231) hide show
  1. package/dist/access-admin-ops-surface.d.ts +5 -5
  2. package/dist/access-admin-ops-surface.js +4 -4
  3. package/dist/access-boundary.d.ts +5 -5
  4. package/dist/access-boundary.js +5 -5
  5. package/dist/access-cli.js +25 -25
  6. package/dist/access-http.d.ts +5 -5
  7. package/dist/access-http.js +9 -9
  8. package/dist/access-lcm-surface.d.ts +5 -5
  9. package/dist/access-lcm-surface.js +4 -4
  10. package/dist/access-mcp.d.ts +5 -5
  11. package/dist/access-mcp.js +8 -8
  12. package/dist/access-operations-batch.js +6 -6
  13. package/dist/access-operations.d.ts +5 -5
  14. package/dist/access-operations.js +7 -7
  15. package/dist/access-recall-surface.d.ts +5 -5
  16. package/dist/access-recall-surface.js +4 -4
  17. package/dist/access-schema.d.ts +8 -8
  18. package/dist/{access-service-DKRV1zxh.d.ts → access-service-C3jkLi2U.d.ts} +3 -3
  19. package/dist/access-service.d.ts +5 -5
  20. package/dist/access-service.js +4 -4
  21. package/dist/access-surface-catalog.d.ts +5 -5
  22. package/dist/action-confidence.d.ts +1 -1
  23. package/dist/active-memory-bridge.d.ts +1 -1
  24. package/dist/active-recall.d.ts +1 -1
  25. package/dist/behavior-learner.d.ts +1 -1
  26. package/dist/behavior-signals.d.ts +1 -1
  27. package/dist/bootstrap.d.ts +4 -4
  28. package/dist/briefing.d.ts +1 -1
  29. package/dist/briefing.js +2 -2
  30. package/dist/buffer-surprise-report.d.ts +1 -1
  31. package/dist/buffer.d.ts +1 -1
  32. package/dist/calibration.d.ts +1 -1
  33. package/dist/capabilities.d.ts +1 -1
  34. package/dist/{catalog-BEmNVRN0.d.ts → catalog-DaKAFbSJ.d.ts} +1 -1
  35. package/dist/causal-behavior.d.ts +1 -1
  36. package/dist/causal-consolidation.d.ts +1 -1
  37. package/dist/causal-consolidation.js +3 -3
  38. package/dist/causal-trajectory-graph.d.ts +1 -1
  39. package/dist/{chunk-TXALJRYO.js → chunk-4LQUYBZM.js} +4 -4
  40. package/dist/{chunk-COZEVVXZ.js → chunk-CIDGUFAL.js} +2 -2
  41. package/dist/{chunk-BQ6J6P3K.js → chunk-FOJY75BL.js} +5 -5
  42. package/dist/{chunk-V4C4SFZB.js → chunk-FQLM6ZUP.js} +2 -2
  43. package/dist/{chunk-L4AS7TIG.js → chunk-GCEV6SXP.js} +6 -25
  44. package/dist/chunk-GCEV6SXP.js.map +1 -0
  45. package/dist/{chunk-ZJMSTFOR.js → chunk-GGYUR4M2.js} +4 -4
  46. package/dist/{chunk-KURUULFF.js → chunk-GMWKWA6N.js} +2 -2
  47. package/dist/{chunk-TIFF32QK.js → chunk-H6S3DJVE.js} +2 -2
  48. package/dist/{chunk-GAH5755F.js → chunk-I3UWEZTK.js} +2 -2
  49. package/dist/{chunk-CXCZ4LAI.js → chunk-I6IAJCJS.js} +2 -2
  50. package/dist/{chunk-BERWPOXU.js → chunk-JITAVROY.js} +3 -3
  51. package/dist/{chunk-U2SMR57B.js → chunk-KKOCFUI5.js} +3 -3
  52. package/dist/{chunk-WS6GLJ7P.js → chunk-LFKEFIJA.js} +2 -2
  53. package/dist/{chunk-7AL5WNPW.js → chunk-N4AGSRVA.js} +2 -2
  54. package/dist/{chunk-OH66EBCS.js → chunk-NCNOYM6F.js} +2 -2
  55. package/dist/{chunk-JBO6UBIE.js → chunk-OCFITZRV.js} +3 -3
  56. package/dist/{chunk-WUVUTOUV.js → chunk-PJ7DIEFC.js} +2 -2
  57. package/dist/{chunk-CJ276MDI.js → chunk-S6UCPBPL.js} +2 -2
  58. package/dist/{chunk-YRBXBHU7.js → chunk-SP42M3XP.js} +2 -2
  59. package/dist/{chunk-VSU2NZGC.js → chunk-T6WHI3JW.js} +2 -2
  60. package/dist/{chunk-2MHCWXX6.js → chunk-UQJ6YTKR.js} +2 -2
  61. package/dist/{chunk-PYVZKEZZ.js → chunk-VL5QHTJI.js} +16 -16
  62. package/dist/{chunk-THZ4WR5L.js → chunk-XBM5DG4O.js} +653 -565
  63. package/dist/chunk-XBM5DG4O.js.map +1 -0
  64. package/dist/{chunk-7CAJLUNW.js → chunk-XCXN3D2U.js} +2 -2
  65. package/dist/{chunk-4DVYRPLL.js → chunk-XD6JVK5P.js} +12 -12
  66. package/dist/{cli-D-xw8Sp1.d.ts → cli-BJQ2ahrh.d.ts} +3 -3
  67. package/dist/cli.d.ts +6 -6
  68. package/dist/cli.js +19 -19
  69. package/dist/compounding/engine.d.ts +1 -1
  70. package/dist/compounding/engine.js +2 -2
  71. package/dist/compounding/preference-consolidator.d.ts +1 -1
  72. package/dist/compression-optimizer.d.ts +1 -1
  73. package/dist/config.d.ts +1 -1
  74. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  75. package/dist/connectors/codex-materialize-runner.js +2 -2
  76. package/dist/connectors/codex-materialize.d.ts +1 -1
  77. package/dist/connectors/index.d.ts +1 -1
  78. package/dist/connectors/index.js +2 -2
  79. package/dist/consolidation-provenance-check.d.ts +1 -1
  80. package/dist/consolidation-undo.d.ts +1 -1
  81. package/dist/contradiction/index.d.ts +1 -1
  82. package/dist/conversation-index/backend.d.ts +1 -1
  83. package/dist/conversation-index/chunker.d.ts +1 -1
  84. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  85. package/dist/conversation-index/indexer.d.ts +1 -1
  86. package/dist/conversation-index/search.d.ts +1 -1
  87. package/dist/day-summary.d.ts +1 -1
  88. package/dist/delinearize.d.ts +1 -1
  89. package/dist/direct-answer-wiring.d.ts +1 -1
  90. package/dist/direct-answer.d.ts +1 -1
  91. package/dist/embedding-fallback.d.ts +1 -1
  92. package/dist/enrichment/index.d.ts +1 -1
  93. package/dist/entity-retrieval.d.ts +1 -1
  94. package/dist/entity-retrieval.js +2 -2
  95. package/dist/entity-schema.d.ts +1 -1
  96. package/dist/explicit-capture.d.ts +4 -4
  97. package/dist/extraction-faithfulness.d.ts +1 -1
  98. package/dist/extraction-judge-telemetry.d.ts +1 -1
  99. package/dist/extraction-judge-training.d.ts +1 -1
  100. package/dist/extraction-judge.d.ts +1 -1
  101. package/dist/extraction.d.ts +1 -1
  102. package/dist/fallback-llm.d.ts +1 -1
  103. package/dist/graph-dashboard-diff.d.ts +1 -1
  104. package/dist/graph-dashboard-key.d.ts +1 -1
  105. package/dist/graph-dashboard-parser.d.ts +1 -1
  106. package/dist/graph-edge-reinforcement.d.ts +1 -1
  107. package/dist/graph-snapshot.d.ts +1 -1
  108. package/dist/graph.d.ts +1 -1
  109. package/dist/identity-continuity.d.ts +1 -1
  110. package/dist/importance.d.ts +1 -1
  111. package/dist/index.d.ts +9 -9
  112. package/dist/index.js +25 -25
  113. package/dist/intent.d.ts +1 -1
  114. package/dist/lcm/engine.d.ts +1 -1
  115. package/dist/lcm/index.d.ts +1 -1
  116. package/dist/lcm/tools.d.ts +1 -1
  117. package/dist/lifecycle.d.ts +1 -1
  118. package/dist/live-connectors-runner.d.ts +1 -1
  119. package/dist/local-llm.d.ts +1 -1
  120. package/dist/local-model-endpoint.d.ts +1 -1
  121. package/dist/maintenance/memory-governance.d.ts +1 -1
  122. package/dist/maintenance/memory-governance.js +2 -2
  123. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +2 -2
  124. package/dist/maintenance/rebuild-memory-projection.js +3 -3
  125. package/dist/mcp-memory-inspector-app.d.ts +5 -5
  126. package/dist/memory-action-policy.d.ts +1 -1
  127. package/dist/memory-cache.d.ts +1 -1
  128. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  129. package/dist/memory-projection-store.d.ts +1 -1
  130. package/dist/memory-provenance.d.ts +1 -1
  131. package/dist/memory-worth-outcomes.d.ts +1 -1
  132. package/dist/models-json.d.ts +1 -1
  133. package/dist/namespaces/migrate.d.ts +2 -2
  134. package/dist/namespaces/migrate.js +3 -3
  135. package/dist/namespaces/principal.d.ts +1 -1
  136. package/dist/namespaces/search.d.ts +1 -1
  137. package/dist/namespaces/storage.d.ts +2 -2
  138. package/dist/namespaces/storage.js +2 -2
  139. package/dist/native-knowledge.d.ts +1 -1
  140. package/dist/operator-toolkit.d.ts +1 -1
  141. package/dist/operator-toolkit.js +6 -6
  142. package/dist/orchestration/compression-guideline-coordinator.d.ts +1 -1
  143. package/dist/orchestration/maintenance.d.ts +2 -2
  144. package/dist/orchestration/maintenance.js +4 -4
  145. package/dist/{orchestrator-D7ZGOQLX.d.ts → orchestrator-Xm6sK5jw.d.ts} +3 -3
  146. package/dist/orchestrator.d.ts +4 -4
  147. package/dist/orchestrator.js +25 -25
  148. package/dist/patterns-cli.d.ts +1 -1
  149. package/dist/policy-runtime.d.ts +1 -1
  150. package/dist/provenance.d.ts +1 -1
  151. package/dist/qmd-recall-cache.d.ts +1 -1
  152. package/dist/qmd.d.ts +1 -1
  153. package/dist/recall-disclosure-escalation.d.ts +1 -1
  154. package/dist/recall-explain-renderer.d.ts +1 -1
  155. package/dist/recall-planner-llm.d.ts +1 -1
  156. package/dist/recall-state.d.ts +1 -1
  157. package/dist/recall-tag-filter.d.ts +1 -1
  158. package/dist/recall-xray-cli.d.ts +1 -1
  159. package/dist/recall-xray-renderer.d.ts +1 -1
  160. package/dist/recall-xray.d.ts +1 -1
  161. package/dist/resolve-auth-token.d.ts +1 -1
  162. package/dist/retrieval-agents.d.ts +1 -1
  163. package/dist/retrieval-tiers.d.ts +1 -1
  164. package/dist/routing/engine.d.ts +1 -1
  165. package/dist/routing/store.d.ts +1 -1
  166. package/dist/schemas.d.ts +10 -10
  167. package/dist/search/embed-helper.d.ts +1 -1
  168. package/dist/search/factory.d.ts +1 -1
  169. package/dist/search/index.d.ts +1 -1
  170. package/dist/search/lancedb-backend.d.ts +1 -1
  171. package/dist/search/meilisearch-backend.d.ts +1 -1
  172. package/dist/search/noop-backend.d.ts +1 -1
  173. package/dist/search/orama-backend.d.ts +1 -1
  174. package/dist/search/port.d.ts +1 -1
  175. package/dist/search/remote-backend.d.ts +1 -1
  176. package/dist/{semantic-consolidation-7Sndms2M.d.ts → semantic-consolidation-bfXJNKVf.d.ts} +1 -1
  177. package/dist/semantic-consolidation.d.ts +2 -2
  178. package/dist/semantic-consolidation.js +3 -3
  179. package/dist/semantic-rule-promotion.js +2 -2
  180. package/dist/semantic-rule-verifier.d.ts +1 -1
  181. package/dist/semantic-rule-verifier.js +2 -2
  182. package/dist/session-observer-bands.d.ts +1 -1
  183. package/dist/session-observer-state.d.ts +1 -1
  184. package/dist/shared-context/manager.d.ts +1 -1
  185. package/dist/signal.d.ts +1 -1
  186. package/dist/storage.d.ts +11 -21
  187. package/dist/storage.js +9 -1
  188. package/dist/summarizer.d.ts +1 -1
  189. package/dist/summary-snapshot.d.ts +1 -1
  190. package/dist/temporal-supersession.d.ts +1 -1
  191. package/dist/temporal-validity.d.ts +1 -1
  192. package/dist/threading.d.ts +1 -1
  193. package/dist/tier-migration.d.ts +1 -1
  194. package/dist/tier-routing.d.ts +1 -1
  195. package/dist/topics.d.ts +1 -1
  196. package/dist/transcript.d.ts +1 -1
  197. package/dist/transfer/types.d.ts +24 -24
  198. package/dist/trust-score-stage.d.ts +1 -1
  199. package/dist/trust-score.d.ts +1 -1
  200. package/dist/{types-DTEFxFuL.d.ts → types-D1iBqhJA.d.ts} +1 -1
  201. package/dist/types.d.ts +1 -1
  202. package/dist/utility-runtime.d.ts +1 -1
  203. package/dist/verified-recall.js +2 -2
  204. package/package.json +2 -2
  205. package/src/storage/entity-store.ts +672 -0
  206. package/src/storage.ts +45 -565
  207. package/dist/chunk-L4AS7TIG.js.map +0 -1
  208. package/dist/chunk-THZ4WR5L.js.map +0 -1
  209. /package/dist/{chunk-TXALJRYO.js.map → chunk-4LQUYBZM.js.map} +0 -0
  210. /package/dist/{chunk-COZEVVXZ.js.map → chunk-CIDGUFAL.js.map} +0 -0
  211. /package/dist/{chunk-BQ6J6P3K.js.map → chunk-FOJY75BL.js.map} +0 -0
  212. /package/dist/{chunk-V4C4SFZB.js.map → chunk-FQLM6ZUP.js.map} +0 -0
  213. /package/dist/{chunk-ZJMSTFOR.js.map → chunk-GGYUR4M2.js.map} +0 -0
  214. /package/dist/{chunk-KURUULFF.js.map → chunk-GMWKWA6N.js.map} +0 -0
  215. /package/dist/{chunk-TIFF32QK.js.map → chunk-H6S3DJVE.js.map} +0 -0
  216. /package/dist/{chunk-GAH5755F.js.map → chunk-I3UWEZTK.js.map} +0 -0
  217. /package/dist/{chunk-CXCZ4LAI.js.map → chunk-I6IAJCJS.js.map} +0 -0
  218. /package/dist/{chunk-BERWPOXU.js.map → chunk-JITAVROY.js.map} +0 -0
  219. /package/dist/{chunk-U2SMR57B.js.map → chunk-KKOCFUI5.js.map} +0 -0
  220. /package/dist/{chunk-WS6GLJ7P.js.map → chunk-LFKEFIJA.js.map} +0 -0
  221. /package/dist/{chunk-7AL5WNPW.js.map → chunk-N4AGSRVA.js.map} +0 -0
  222. /package/dist/{chunk-OH66EBCS.js.map → chunk-NCNOYM6F.js.map} +0 -0
  223. /package/dist/{chunk-JBO6UBIE.js.map → chunk-OCFITZRV.js.map} +0 -0
  224. /package/dist/{chunk-WUVUTOUV.js.map → chunk-PJ7DIEFC.js.map} +0 -0
  225. /package/dist/{chunk-CJ276MDI.js.map → chunk-S6UCPBPL.js.map} +0 -0
  226. /package/dist/{chunk-YRBXBHU7.js.map → chunk-SP42M3XP.js.map} +0 -0
  227. /package/dist/{chunk-VSU2NZGC.js.map → chunk-T6WHI3JW.js.map} +0 -0
  228. /package/dist/{chunk-2MHCWXX6.js.map → chunk-UQJ6YTKR.js.map} +0 -0
  229. /package/dist/{chunk-PYVZKEZZ.js.map → chunk-VL5QHTJI.js.map} +0 -0
  230. /package/dist/{chunk-7CAJLUNW.js.map → chunk-XCXN3D2U.js.map} +0 -0
  231. /package/dist/{chunk-4DVYRPLL.js.map → chunk-XD6JVK5P.js.map} +0 -0
package/dist/signal.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ap as SignalScanResult } from './types-DTEFxFuL.js';
1
+ import { ap as SignalScanResult } from './types-D1iBqhJA.js';
2
2
  import './types-gb_SNtjR.js';
3
3
  import './message-parts/index.js';
4
4
 
package/dist/storage.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PluginConfig, u as MemoryStatus, h as MemoryCategory, ae as ImportanceScore, ar as MemoryLink, q as MemoryFrontmatter, F as FaithfulnessFrontmatter, J as ProvenanceSource, M as MemoryFile, a7 as EntityStructuredSection, as as BufferState, at as MetaState, a2 as MemoryActionEvent, w as MemoryLifecycleEvent, X as BufferSurpriseEvent, B as BehaviorSignalEvent, a3 as CompressionGuidelineOptimizerState, aa as ContinuityIncidentOpenInput, a8 as ContinuityIncidentRecord, a9 as ContinuityIncidentCloseInput, ab as ContinuityImprovementLoop, ad as ContinuityLoopUpsertInput, ac as ContinuityLoopReviewInput, au as FileHygieneConfig, av as EntityRelationship, aw as EntityActivityEntry, E as EntityFile, ax as AccessTrackingEntry, v as MemoryProjectionCurrentState, ay as MemorySummary, aq as TopicScore } from './types-DTEFxFuL.js';
1
+ import { P as PluginConfig, u as MemoryStatus, h as MemoryCategory, ae as ImportanceScore, ar as MemoryLink, q as MemoryFrontmatter, F as FaithfulnessFrontmatter, J as ProvenanceSource, M as MemoryFile, a7 as EntityStructuredSection, as as BufferState, at as MetaState, a2 as MemoryActionEvent, w as MemoryLifecycleEvent, X as BufferSurpriseEvent, B as BehaviorSignalEvent, a3 as CompressionGuidelineOptimizerState, aa as ContinuityIncidentOpenInput, a8 as ContinuityIncidentRecord, a9 as ContinuityIncidentCloseInput, ab as ContinuityImprovementLoop, ad as ContinuityLoopUpsertInput, ac as ContinuityLoopReviewInput, au as FileHygieneConfig, av as EntityRelationship, aw as EntityActivityEntry, E as EntityFile, ax as AccessTrackingEntry, v as MemoryProjectionCurrentState, ay as MemorySummary, aq as TopicScore, az as EntityTimelineEntry } from './types-D1iBqhJA.js';
2
2
  import { VersioningConfig } from './page-versioning.js';
3
3
  import { ConsolidationOperator } from './consolidation-operator.js';
4
4
  import { ProjectedMemoryBrowseOptions, ProjectedMemoryBrowsePage, readProjectedGovernanceRecord } from './memory-projection-store.js';
@@ -358,7 +358,10 @@ declare class ContentHashIndex {
358
358
  }
359
359
 
360
360
  declare function normalizeAttributePairs(pairs: Record<string, string>): string;
361
+ declare function normalizeStructuredSectionFacts(facts: string[]): string[];
362
+ declare function compileEntityFacts(timeline: EntityTimelineEntry[], structuredSections: EntityStructuredSection[]): string[];
361
363
  declare function compareEntityTimestamps(left?: string, right?: string): number;
364
+ declare function countEntityStructuredFacts(entity: EntityFile): number;
362
365
  declare function fingerprintEntityStructuredFacts(entity: Pick<EntityFile, "structuredSections">): string | undefined;
363
366
  declare function isEntitySynthesisStale(entity: EntityFile): boolean;
364
367
  /**
@@ -372,6 +375,7 @@ declare function parseEntityFile(content: string, entitySchemas?: PluginConfig["
372
375
  * with the legacy in-memory `summary` and `facts` fields.
373
376
  */
374
377
  declare function serializeEntityFile(entity: EntityFile, entitySchemas?: PluginConfig["entitySchemas"]): string;
378
+ declare function buildEntitySchemaCacheKey(entitySchemas?: PluginConfig["entitySchemas"]): string;
375
379
  /** Result of {@link StorageManager.writeMemory} (issue #1645). Carries the
376
380
  * persisted id PLUS the non-resurrection tombstone-block outcome (#1579) so
377
381
  * post-write callers can observe it — NEVER a silent no-op (rule 34). */
@@ -388,8 +392,9 @@ declare class StorageManager {
388
392
  private readonly baseDir;
389
393
  private readonly entitySchemas?;
390
394
  private knowledgeIndexCache;
391
- private static readonly KNOWLEDGE_INDEX_CACHE_TTL_MS;
392
395
  private artifactIndexCache;
396
+ /** Read by storage/entity-store.ts (decomposition), hence not `private`. */
397
+ static readonly KNOWLEDGE_INDEX_CACHE_TTL_MS = 600000;
393
398
  private static readonly ARTIFACT_INDEX_CACHE_TTL_MS;
394
399
  private static readonly artifactWriteVersionByDir;
395
400
  private static readonly memoryStatusVersionByDir;
@@ -499,6 +504,9 @@ declare class StorageManager {
499
504
  snapshotForProvenance(filePath: string): Promise<string | null>;
500
505
  constructor(baseDir: string, entitySchemas?: PluginConfig["entitySchemas"]);
501
506
  /** The root directory of this storage instance. */
507
+ /** EntityStore (storage.ts decomposition). Lazy; selfDeps live wiring. */
508
+ private _entityStore;
509
+ private get entityStore();
502
510
  get dir(): string;
503
511
  private identityFilePath;
504
512
  private versionFilePath;
@@ -694,7 +702,6 @@ declare class StorageManager {
694
702
  * store loaded last rewrite every other store's canonical entity ids.
695
703
  */
696
704
  private userAliases;
697
- /** Normalize an entity name using this store's alias table. */
698
705
  normalizeEntityName(raw: string, type: string): string;
699
706
  /**
700
707
  * Read-only view of this store's user alias table, for call sites that
@@ -947,7 +954,6 @@ declare class StorageManager {
947
954
  archiveMemory(memory: MemoryFile, lifecycle?: MemoryLifecycleEventWriteOptions): Promise<string | null>;
948
955
  readEntities(): Promise<string[]>;
949
956
  readEntity(name: string): Promise<string>;
950
- /** Return sorted list of entity filenames (without .md extension) */
951
957
  listEntityNames(): Promise<string[]>;
952
958
  /**
953
959
  * Find an existing entity that fuzzy-matches the proposed name.
@@ -1113,9 +1119,6 @@ declare class StorageManager {
1113
1119
  * Add an alias to an entity file. Deduplicates.
1114
1120
  */
1115
1121
  addEntityAlias(name: string, alias: string): Promise<void>;
1116
- /**
1117
- * Set or rewrite the synthesis layer of an entity file.
1118
- */
1119
1122
  updateEntitySynthesis(name: string, synthesis: string, options?: {
1120
1123
  entityUpdatedAt?: string;
1121
1124
  synthesisStructuredFactCount?: number;
@@ -1135,10 +1138,6 @@ declare class StorageManager {
1135
1138
  total: number;
1136
1139
  migrated: number;
1137
1140
  }>;
1138
- /**
1139
- * Read all entity files and return lightweight EntityFile objects.
1140
- * Parsing is fast (~50-100ms for ~1,800 files) since entity files are small.
1141
- */
1142
1141
  readAllEntityFiles(): Promise<EntityFile[]>;
1143
1142
  /**
1144
1143
  * Score an entity based on recency, frequency, activity, type priority,
@@ -1147,10 +1146,6 @@ declare class StorageManager {
1147
1146
  * score = recency*0.40 + frequency*0.25 + activity*0.15 + typePriority*0.10 + relationshipDensity*0.10
1148
1147
  */
1149
1148
  static scoreEntity(entity: EntityFile, now: Date): number;
1150
- /**
1151
- * Build the Knowledge Index: a compact markdown table of top-scored entities.
1152
- * Respects maxEntities and maxChars limits from config.
1153
- */
1154
1149
  buildKnowledgeIndex(config: PluginConfig, overrides?: {
1155
1150
  maxEntities?: number;
1156
1151
  maxChars?: number;
@@ -1162,11 +1157,6 @@ declare class StorageManager {
1162
1157
  invalidateKnowledgeIndexCache(): void;
1163
1158
  /** Max lines for profile.md before LLM consolidation triggers */
1164
1159
  private static readonly PROFILE_MAX_LINES;
1165
- /**
1166
- * Merge fragmented entity files that resolve to the same canonical name.
1167
- * Preserves relationships, activity, aliases, and summary from all fragments.
1168
- * Returns count of files merged.
1169
- */
1170
1160
  mergeFragmentedEntities(): Promise<number>;
1171
1161
  cleanExpiredCommitments(decayDays: number): Promise<MemoryFile[]>;
1172
1162
  /**
@@ -1271,4 +1261,4 @@ declare class StorageManager {
1271
1261
  private appendGeneratedMemoryLifecycleEventFailOpen;
1272
1262
  }
1273
1263
 
1274
- export { ContentHashIndex, type MemoryLifecycleEventWriteOptions, type MemoryWriteResult, type ReextractJobRequest, StorageManager, compareEntityTimestamps, fingerprintEntityStructuredFacts, isEntitySynthesisStale, normalizeAttributePairs, normalizeEntityName, parseEntityFile, serializeEntityFile };
1264
+ export { ContentHashIndex, type MemoryLifecycleEventWriteOptions, type MemoryWriteResult, type ReextractJobRequest, StorageManager, buildEntitySchemaCacheKey, compareEntityTimestamps, compileEntityFacts, countEntityStructuredFacts, fingerprintEntityStructuredFacts, isEntitySynthesisStale, normalizeAttributePairs, normalizeEntityName, normalizeStructuredSectionFacts, parseEntityFile, serializeEntityFile };
package/dist/storage.js CHANGED
@@ -1,14 +1,18 @@
1
1
  import {
2
2
  ContentHashIndex,
3
3
  StorageManager,
4
+ buildEntitySchemaCacheKey,
4
5
  compareEntityTimestamps,
6
+ compileEntityFacts,
7
+ countEntityStructuredFacts,
5
8
  fingerprintEntityStructuredFacts,
6
9
  isEntitySynthesisStale,
7
10
  normalizeAttributePairs,
8
11
  normalizeEntityName,
12
+ normalizeStructuredSectionFacts,
9
13
  parseEntityFile,
10
14
  serializeEntityFile
11
- } from "./chunk-THZ4WR5L.js";
15
+ } from "./chunk-XBM5DG4O.js";
12
16
  import "./chunk-M7XQSUBB.js";
13
17
  import "./chunk-L2B3EE7B.js";
14
18
  import "./chunk-5UZXUTVO.js";
@@ -57,11 +61,15 @@ import "./chunk-PZ5AY32C.js";
57
61
  export {
58
62
  ContentHashIndex,
59
63
  StorageManager,
64
+ buildEntitySchemaCacheKey,
60
65
  compareEntityTimestamps,
66
+ compileEntityFacts,
67
+ countEntityStructuredFacts,
61
68
  fingerprintEntityStructuredFacts,
62
69
  isEntitySynthesisStale,
63
70
  normalizeAttributePairs,
64
71
  normalizeEntityName,
72
+ normalizeStructuredSectionFacts,
65
73
  parseEntityFile,
66
74
  serializeEntityFile,
67
75
  stripAttributesSuffix
@@ -1,5 +1,5 @@
1
1
  import { ModelRegistry } from './model-registry.js';
2
- import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-DTEFxFuL.js';
2
+ import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-D1iBqhJA.js';
3
3
  import { TranscriptManager } from './transcript.js';
4
4
  import './types-gb_SNtjR.js';
5
5
  import './message-parts/index.js';
@@ -1,4 +1,4 @@
1
- import { H as HourlySummary } from './types-DTEFxFuL.js';
1
+ import { H as HourlySummary } from './types-D1iBqhJA.js';
2
2
  import './types-gb_SNtjR.js';
3
3
  import './message-parts/index.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { q as MemoryFrontmatter } from './types-DTEFxFuL.js';
1
+ import { q as MemoryFrontmatter } from './types-D1iBqhJA.js';
2
2
  import { StorageManager } from './storage.js';
3
3
  import './types-gb_SNtjR.js';
4
4
  import './message-parts/index.js';
@@ -1,4 +1,4 @@
1
- import { q as MemoryFrontmatter } from './types-DTEFxFuL.js';
1
+ import { q as MemoryFrontmatter } from './types-D1iBqhJA.js';
2
2
  import './types-gb_SNtjR.js';
3
3
  import './message-parts/index.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { p as BufferTurn, N as ConversationThread } from './types-DTEFxFuL.js';
1
+ import { p as BufferTurn, N as ConversationThread } from './types-D1iBqhJA.js';
2
2
  import './types-gb_SNtjR.js';
3
3
  import './message-parts/index.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { M as MemoryFile } from './types-DTEFxFuL.js';
1
+ import { M as MemoryFile } from './types-D1iBqhJA.js';
2
2
  import { StorageManager } from './storage.js';
3
3
  import { MemoryTier } from './tier-routing.js';
4
4
  import { SearchBackend } from './search/port.js';
@@ -1,4 +1,4 @@
1
- import { M as MemoryFile } from './types-DTEFxFuL.js';
1
+ import { M as MemoryFile } from './types-D1iBqhJA.js';
2
2
  import { LifecycleSignals } from './lifecycle.js';
3
3
  import './types-gb_SNtjR.js';
4
4
  import './message-parts/index.js';
package/dist/topics.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { M as MemoryFile, aq as TopicScore } from './types-DTEFxFuL.js';
1
+ import { M as MemoryFile, aq as TopicScore } from './types-D1iBqhJA.js';
2
2
  import './types-gb_SNtjR.js';
3
3
  import './message-parts/index.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { P as PluginConfig, T as TranscriptEntry, r as Checkpoint } from './types-DTEFxFuL.js';
1
+ import { P as PluginConfig, T as TranscriptEntry, r as Checkpoint } from './types-D1iBqhJA.js';
2
2
  import { SessionIntegrityReport } from './session-integrity.js';
3
3
  import './types-gb_SNtjR.js';
4
4
  import './message-parts/index.js';
@@ -22,23 +22,23 @@ declare const ExportManifestV1Schema: z.ZodObject<{
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  schemaVersion: 1;
24
24
  createdAt: string;
25
- format: "openclaw-engram-export";
26
25
  files: {
27
26
  path: string;
28
27
  sha256: string;
29
28
  bytes: number;
30
29
  }[];
30
+ format: "openclaw-engram-export";
31
31
  pluginVersion: string;
32
32
  includesTranscripts: boolean;
33
33
  }, {
34
34
  schemaVersion: 1;
35
35
  createdAt: string;
36
- format: "openclaw-engram-export";
37
36
  files: {
38
37
  path: string;
39
38
  sha256: string;
40
39
  bytes: number;
41
40
  }[];
41
+ format: "openclaw-engram-export";
42
42
  pluginVersion: string;
43
43
  includesTranscripts: boolean;
44
44
  }>;
@@ -77,23 +77,23 @@ declare const ExportBundleV1Schema: z.ZodObject<{
77
77
  }, "strip", z.ZodTypeAny, {
78
78
  schemaVersion: 1;
79
79
  createdAt: string;
80
- format: "openclaw-engram-export";
81
80
  files: {
82
81
  path: string;
83
82
  sha256: string;
84
83
  bytes: number;
85
84
  }[];
85
+ format: "openclaw-engram-export";
86
86
  pluginVersion: string;
87
87
  includesTranscripts: boolean;
88
88
  }, {
89
89
  schemaVersion: 1;
90
90
  createdAt: string;
91
- format: "openclaw-engram-export";
92
91
  files: {
93
92
  path: string;
94
93
  sha256: string;
95
94
  bytes: number;
96
95
  }[];
96
+ format: "openclaw-engram-export";
97
97
  pluginVersion: string;
98
98
  includesTranscripts: boolean;
99
99
  }>;
@@ -111,12 +111,12 @@ declare const ExportBundleV1Schema: z.ZodObject<{
111
111
  manifest: {
112
112
  schemaVersion: 1;
113
113
  createdAt: string;
114
- format: "openclaw-engram-export";
115
114
  files: {
116
115
  path: string;
117
116
  sha256: string;
118
117
  bytes: number;
119
118
  }[];
119
+ format: "openclaw-engram-export";
120
120
  pluginVersion: string;
121
121
  includesTranscripts: boolean;
122
122
  };
@@ -128,12 +128,12 @@ declare const ExportBundleV1Schema: z.ZodObject<{
128
128
  manifest: {
129
129
  schemaVersion: 1;
130
130
  createdAt: string;
131
- format: "openclaw-engram-export";
132
131
  files: {
133
132
  path: string;
134
133
  sha256: string;
135
134
  bytes: number;
136
135
  }[];
136
+ format: "openclaw-engram-export";
137
137
  pluginVersion: string;
138
138
  includesTranscripts: boolean;
139
139
  };
@@ -321,8 +321,8 @@ declare const CapsuleBlockSchema: z.ZodObject<{
321
321
  peerProfiles: boolean;
322
322
  };
323
323
  id: string;
324
- version: string;
325
324
  description: string;
325
+ version: string;
326
326
  parentCapsule: string | null;
327
327
  retrievalPolicy: {
328
328
  tierWeights: Record<string, number>;
@@ -342,8 +342,8 @@ declare const CapsuleBlockSchema: z.ZodObject<{
342
342
  peerProfiles: boolean;
343
343
  };
344
344
  id: string;
345
- version: string;
346
345
  description: string;
346
+ version: string;
347
347
  parentCapsule: string | null;
348
348
  retrievalPolicy: {
349
349
  tierWeights: Record<string, number>;
@@ -472,8 +472,8 @@ declare const ExportManifestV2Schema: z.ZodObject<{
472
472
  peerProfiles: boolean;
473
473
  };
474
474
  id: string;
475
- version: string;
476
475
  description: string;
476
+ version: string;
477
477
  parentCapsule: string | null;
478
478
  retrievalPolicy: {
479
479
  tierWeights: Record<string, number>;
@@ -493,8 +493,8 @@ declare const ExportManifestV2Schema: z.ZodObject<{
493
493
  peerProfiles: boolean;
494
494
  };
495
495
  id: string;
496
- version: string;
497
496
  description: string;
497
+ version: string;
498
498
  parentCapsule: string | null;
499
499
  retrievalPolicy: {
500
500
  tierWeights: Record<string, number>;
@@ -509,12 +509,12 @@ declare const ExportManifestV2Schema: z.ZodObject<{
509
509
  }, "strip", z.ZodTypeAny, {
510
510
  schemaVersion: 2;
511
511
  createdAt: string;
512
- format: "openclaw-engram-export";
513
512
  files: {
514
513
  path: string;
515
514
  sha256: string;
516
515
  bytes: number;
517
516
  }[];
517
+ format: "openclaw-engram-export";
518
518
  pluginVersion: string;
519
519
  includesTranscripts: boolean;
520
520
  capsule: {
@@ -526,8 +526,8 @@ declare const ExportManifestV2Schema: z.ZodObject<{
526
526
  peerProfiles: boolean;
527
527
  };
528
528
  id: string;
529
- version: string;
530
529
  description: string;
530
+ version: string;
531
531
  parentCapsule: string | null;
532
532
  retrievalPolicy: {
533
533
  tierWeights: Record<string, number>;
@@ -542,12 +542,12 @@ declare const ExportManifestV2Schema: z.ZodObject<{
542
542
  }, {
543
543
  schemaVersion: 2;
544
544
  createdAt: string;
545
- format: "openclaw-engram-export";
546
545
  files: {
547
546
  path: string;
548
547
  sha256: string;
549
548
  bytes: number;
550
549
  }[];
550
+ format: "openclaw-engram-export";
551
551
  pluginVersion: string;
552
552
  includesTranscripts: boolean;
553
553
  capsule: {
@@ -559,8 +559,8 @@ declare const ExportManifestV2Schema: z.ZodObject<{
559
559
  peerProfiles: boolean;
560
560
  };
561
561
  id: string;
562
- version: string;
563
562
  description: string;
563
+ version: string;
564
564
  parentCapsule: string | null;
565
565
  retrievalPolicy: {
566
566
  tierWeights: Record<string, number>;
@@ -691,8 +691,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
691
691
  peerProfiles: boolean;
692
692
  };
693
693
  id: string;
694
- version: string;
695
694
  description: string;
695
+ version: string;
696
696
  parentCapsule: string | null;
697
697
  retrievalPolicy: {
698
698
  tierWeights: Record<string, number>;
@@ -712,8 +712,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
712
712
  peerProfiles: boolean;
713
713
  };
714
714
  id: string;
715
- version: string;
716
715
  description: string;
716
+ version: string;
717
717
  parentCapsule: string | null;
718
718
  retrievalPolicy: {
719
719
  tierWeights: Record<string, number>;
@@ -728,12 +728,12 @@ declare const ExportBundleV2Schema: z.ZodObject<{
728
728
  }, "strip", z.ZodTypeAny, {
729
729
  schemaVersion: 2;
730
730
  createdAt: string;
731
- format: "openclaw-engram-export";
732
731
  files: {
733
732
  path: string;
734
733
  sha256: string;
735
734
  bytes: number;
736
735
  }[];
736
+ format: "openclaw-engram-export";
737
737
  pluginVersion: string;
738
738
  includesTranscripts: boolean;
739
739
  capsule: {
@@ -745,8 +745,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
745
745
  peerProfiles: boolean;
746
746
  };
747
747
  id: string;
748
- version: string;
749
748
  description: string;
749
+ version: string;
750
750
  parentCapsule: string | null;
751
751
  retrievalPolicy: {
752
752
  tierWeights: Record<string, number>;
@@ -761,12 +761,12 @@ declare const ExportBundleV2Schema: z.ZodObject<{
761
761
  }, {
762
762
  schemaVersion: 2;
763
763
  createdAt: string;
764
- format: "openclaw-engram-export";
765
764
  files: {
766
765
  path: string;
767
766
  sha256: string;
768
767
  bytes: number;
769
768
  }[];
769
+ format: "openclaw-engram-export";
770
770
  pluginVersion: string;
771
771
  includesTranscripts: boolean;
772
772
  capsule: {
@@ -778,8 +778,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
778
778
  peerProfiles: boolean;
779
779
  };
780
780
  id: string;
781
- version: string;
782
781
  description: string;
782
+ version: string;
783
783
  parentCapsule: string | null;
784
784
  retrievalPolicy: {
785
785
  tierWeights: Record<string, number>;
@@ -806,12 +806,12 @@ declare const ExportBundleV2Schema: z.ZodObject<{
806
806
  manifest: {
807
807
  schemaVersion: 2;
808
808
  createdAt: string;
809
- format: "openclaw-engram-export";
810
809
  files: {
811
810
  path: string;
812
811
  sha256: string;
813
812
  bytes: number;
814
813
  }[];
814
+ format: "openclaw-engram-export";
815
815
  pluginVersion: string;
816
816
  includesTranscripts: boolean;
817
817
  capsule: {
@@ -823,8 +823,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
823
823
  peerProfiles: boolean;
824
824
  };
825
825
  id: string;
826
- version: string;
827
826
  description: string;
827
+ version: string;
828
828
  parentCapsule: string | null;
829
829
  retrievalPolicy: {
830
830
  tierWeights: Record<string, number>;
@@ -845,12 +845,12 @@ declare const ExportBundleV2Schema: z.ZodObject<{
845
845
  manifest: {
846
846
  schemaVersion: 2;
847
847
  createdAt: string;
848
- format: "openclaw-engram-export";
849
848
  files: {
850
849
  path: string;
851
850
  sha256: string;
852
851
  bytes: number;
853
852
  }[];
853
+ format: "openclaw-engram-export";
854
854
  pluginVersion: string;
855
855
  includesTranscripts: boolean;
856
856
  capsule: {
@@ -862,8 +862,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
862
862
  peerProfiles: boolean;
863
863
  };
864
864
  id: string;
865
- version: string;
866
865
  description: string;
866
+ version: string;
867
867
  parentCapsule: string | null;
868
868
  retrievalPolicy: {
869
869
  tierWeights: Record<string, number>;
@@ -1,5 +1,5 @@
1
1
  import { TrustScoreResult, TrustSignals, TrustBand, TrustScoreComponent } from './trust-score.js';
2
- import { F as FaithfulnessFrontmatter, J as ProvenanceSource, K as TrustWeights } from './types-DTEFxFuL.js';
2
+ import { F as FaithfulnessFrontmatter, J as ProvenanceSource, K as TrustWeights } from './types-D1iBqhJA.js';
3
3
  import './types-gb_SNtjR.js';
4
4
  import './message-parts/index.js';
5
5
 
@@ -1,4 +1,4 @@
1
- import { K as TrustWeights } from './types-DTEFxFuL.js';
1
+ import { K as TrustWeights } from './types-D1iBqhJA.js';
2
2
  import './types-gb_SNtjR.js';
3
3
  import './message-parts/index.js';
4
4
 
@@ -3666,4 +3666,4 @@ interface HourlySummary {
3666
3666
  generatedAt: string;
3667
3667
  }
3668
3668
 
3669
- export { type CompressionGuidelineOptimizerActionSummary as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CalendarSource as C, type DreamsPhase as D, type EntityFile as E, type FaithfulnessFrontmatter as F, type GatewayConfig as G, type HourlySummary as H, type IdentityInjectionMode as I, type ProvenanceSource as J, type TrustWeights as K, type LiveConnectorsConfig as L, type MemoryFile as M, type ConversationThread as N, type LifecycleState as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallDisclosure as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type PolicyClass as U, type VerificationState as V, type ImportanceLevel as W, type BufferSurpriseEvent as X, type SecretRef as Y, type AgentAccessAuthToken as Z, type CompressionGuidelineOptimizerEventCounts as _, type DreamsRunResult as a, type ExtractedFact as a$, type CompressionGuidelineOptimizerRuleUpdate as a0, type MemoryActionType as a1, type MemoryActionEvent as a2, type CompressionGuidelineOptimizerState as a3, type EntityMention as a4, type EntitySchemaDefinition as a5, type EntitySchemaSectionDefinition as a6, type EntityStructuredSection as a7, type ContinuityIncidentRecord as a8, type ContinuityIncidentCloseInput as a9, type DreamsStatusResult as aA, type ScopeProfileConfig as aB, type ScopeProfileLayerId as aC, type ScopeProfilePromotionTarget as aD, type WearableConversation as aE, type WearableSourceSettings as aF, type WearableNativeMemory as aG, type WearableMemoryMode as aH, type WearableSourceConnector as aI, type WearablesConfig as aJ, type WearableSyncSummary as aK, type WearableSourceStatus as aL, type WearableDayTranscript as aM, type WearableCorrectionRule as aN, type RecallSectionConfig as aO, type BootstrapOptions as aP, type BootstrapResult as aQ, type ConsolidationObservation as aR, type CodingModeConfig as aS, type CodingKnowledgeConfig as aT, type WearableCleanupSettings as aU, type WearableDayTranscriptMeta as aV, type BriefingConfig as aW, type BriefingOpenCommitment as aX, type BriefingWindow as aY, type CodexCompatConfig as aZ, DEFAULT_RECALL_DISCLOSURE as a_, type ContinuityIncidentOpenInput as aa, type ContinuityImprovementLoop as ab, type ContinuityLoopReviewInput as ac, type ContinuityLoopUpsertInput as ad, type ImportanceScore as ae, type MemoryIntent as af, type QmdSearchExplain as ag, type MemoryActionEligibilityContext as ah, type MemoryActionPolicyResult as ai, type MemoryLifecycleEventType as aj, type MemoryLifecycleStateSummary as ak, type ModelProviderConfig as al, type NativeKnowledgeConfig as am, type ProvenanceConfig as an, type RetrievalTier as ao, type SignalScanResult as ap, type TopicScore as aq, type MemoryLink as ar, type BufferState as as, type MetaState as at, type FileHygieneConfig as au, type EntityRelationship as av, type EntityActivityEntry as aw, type AccessTrackingEntry as ax, type MemorySummary as ay, type CodingContext as az, type RecallPlanMode as b, type ModelProviderAuthMode as b$, type MemoryActionEligibilitySource as b0, type MemoryObservation as b1, type MemoryScope as b2, RECALL_DISCLOSURE_LEVELS as b3, type WearableAuthCheck as b4, type WearableFetchOptions as b5, type WearableFetchPage as b6, type WearableNativeMemoryPage as b7, type WearableTranscriptSegment as b8, isRecallDisclosure as b9, type DreamsDeepSleepConfig as bA, type DreamsLightSleepConfig as bB, type DreamsPhaseStatus as bC, type DreamsPhasesConfig as bD, type DreamsRemConfig as bE, type EngramTraceEvent as bF, type EntityTimelineEntry as bG, type ExtractedProcedureStep as bH, type ExtractedQuestion as bI, type ExtractedReasoningTrace as bJ, type ExtractedReasoningTraceStep as bK, type ExtractedRelationship as bL, type ExtractionPassSource as bM, type GitHubLiveConnectorConfig as bN, type GmailLiveConnectorConfig as bO, type GoogleDriveLiveConnectorConfig as bP, type HeartbeatConfig as bQ, type HeartbeatDetectionMode as bR, type LlmTraceCallback as bS, type LlmTraceEvent as bT, type MemoryActionOutcome as bU, type MemoryActionPolicyDecision as bV, type MemoryActionStatus as bW, type MemoryLinkType as bX, type MemoryOsPresetName as bY, type ModelApi as bZ, type ModelDefinitionConfig as b_, type AgentAccessHttpConfig as ba, type AgentDefaultsConfig as bb, type AgentPersona as bc, type BehaviorLoopAdjustment as bd, type BehaviorSignalDirection as be, type BehaviorSignalType as bf, type BriefingCalendarSourceError as bg, type BufferEntryState as bh, type CaptureMode as bi, type ChatConfig as bj, type CodexCliReasoningEffort as bk, type CodexCompactionFlushMode as bl, type CodexConnectorConfig as bm, type CompressionGuidelineActivationState as bn, type CompressionGuidelineOptimizerSourceWindow as bo, type ConfidenceTier as bp, type ConsolidationAction as bq, type ConsolidationItem as br, type ContinuityIncidentState as bs, type ContinuityLoopCadence as bt, type ContinuityLoopStatus as bu, type ContradictionScanConfig as bv, type CronConversationRecallMode as bw, type CronRecallMode as bx, type DreamingConfig as by, type DreamingNarrativePromptStyle as bz, type ActiveRecallQueryMode as c, type NamespacePolicy as c0, type NativeKnowledgeFolderRuleConfig as c1, type NativeKnowledgeObsidianVaultConfig as c2, type NativeKnowledgeOpenClawWorkspaceConfig as c3, type NotionLiveConnectorConfig as c4, type PrincipalFromSessionKeyMode as c5, type PrincipalRule as c6, type ProceduralConfig as c7, type QuestionEntry as c8, type ReasoningEffort as c9, type RecallPipelineConfig as ca, type RecallTraceEvent as cb, type RelevanceFeedback as cc, SPECULATIVE_TTL_DAYS as cd, type ScopeProfileAutoPromoteConfig as ce, type ScopeProfileTeamProjectConfig as cf, type ScopeTeamConfig as cg, type ScoredEntity as ch, type SemanticChunkingConfigShape as ci, type SignalLevel as cj, type SlotBehaviorConfig as ck, type SlotMismatchMode as cl, type TriggerMode as cm, confidenceTier as cn, type ActiveRecallPromptStyle as d, type ActiveRecallThinking as e, type ActiveRecallModelFallbackPolicy as f, type BehaviorLoopPolicyState as g, type MemoryCategory as h, type BriefingSections as i, type BriefingFollowup as j, type BriefingFocus as k, type CalendarEvent as l, type BriefingActiveThread as m, type BriefingResult as n, type BriefingRecentEntity as o, type BufferTurn as p, type MemoryFrontmatter as q, type Checkpoint as r, type AgentPersonaModelConfig as s, type RecallTierExplain as t, type MemoryStatus as u, type MemoryProjectionCurrentState as v, type MemoryLifecycleEvent as w, type ExtractionResult as x, type ConsolidationResult as y, type DaySummaryResult as z };
3669
+ export { type CompressionGuidelineOptimizerActionSummary as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CalendarSource as C, type DreamsPhase as D, type EntityFile as E, type FaithfulnessFrontmatter as F, type GatewayConfig as G, type HourlySummary as H, type IdentityInjectionMode as I, type ProvenanceSource as J, type TrustWeights as K, type LiveConnectorsConfig as L, type MemoryFile as M, type ConversationThread as N, type LifecycleState as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallDisclosure as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type PolicyClass as U, type VerificationState as V, type ImportanceLevel as W, type BufferSurpriseEvent as X, type SecretRef as Y, type AgentAccessAuthToken as Z, type CompressionGuidelineOptimizerEventCounts as _, type DreamsRunResult as a, DEFAULT_RECALL_DISCLOSURE as a$, type CompressionGuidelineOptimizerRuleUpdate as a0, type MemoryActionType as a1, type MemoryActionEvent as a2, type CompressionGuidelineOptimizerState as a3, type EntityMention as a4, type EntitySchemaDefinition as a5, type EntitySchemaSectionDefinition as a6, type EntityStructuredSection as a7, type ContinuityIncidentRecord as a8, type ContinuityIncidentCloseInput as a9, type CodingContext as aA, type DreamsStatusResult as aB, type ScopeProfileConfig as aC, type ScopeProfileLayerId as aD, type ScopeProfilePromotionTarget as aE, type WearableConversation as aF, type WearableSourceSettings as aG, type WearableNativeMemory as aH, type WearableMemoryMode as aI, type WearableSourceConnector as aJ, type WearablesConfig as aK, type WearableSyncSummary as aL, type WearableSourceStatus as aM, type WearableDayTranscript as aN, type WearableCorrectionRule as aO, type RecallSectionConfig as aP, type BootstrapOptions as aQ, type BootstrapResult as aR, type ConsolidationObservation as aS, type CodingModeConfig as aT, type CodingKnowledgeConfig as aU, type WearableCleanupSettings as aV, type WearableDayTranscriptMeta as aW, type BriefingConfig as aX, type BriefingOpenCommitment as aY, type BriefingWindow as aZ, type CodexCompatConfig as a_, type ContinuityIncidentOpenInput as aa, type ContinuityImprovementLoop as ab, type ContinuityLoopReviewInput as ac, type ContinuityLoopUpsertInput as ad, type ImportanceScore as ae, type MemoryIntent as af, type QmdSearchExplain as ag, type MemoryActionEligibilityContext as ah, type MemoryActionPolicyResult as ai, type MemoryLifecycleEventType as aj, type MemoryLifecycleStateSummary as ak, type ModelProviderConfig as al, type NativeKnowledgeConfig as am, type ProvenanceConfig as an, type RetrievalTier as ao, type SignalScanResult as ap, type TopicScore as aq, type MemoryLink as ar, type BufferState as as, type MetaState as at, type FileHygieneConfig as au, type EntityRelationship as av, type EntityActivityEntry as aw, type AccessTrackingEntry as ax, type MemorySummary as ay, type EntityTimelineEntry as az, type RecallPlanMode as b, type ModelProviderAuthMode as b$, type ExtractedFact as b0, type MemoryActionEligibilitySource as b1, type MemoryObservation as b2, type MemoryScope as b3, RECALL_DISCLOSURE_LEVELS as b4, type WearableAuthCheck as b5, type WearableFetchOptions as b6, type WearableFetchPage as b7, type WearableNativeMemoryPage as b8, type WearableTranscriptSegment as b9, type DreamingNarrativePromptStyle as bA, type DreamsDeepSleepConfig as bB, type DreamsLightSleepConfig as bC, type DreamsPhaseStatus as bD, type DreamsPhasesConfig as bE, type DreamsRemConfig as bF, type EngramTraceEvent as bG, type ExtractedProcedureStep as bH, type ExtractedQuestion as bI, type ExtractedReasoningTrace as bJ, type ExtractedReasoningTraceStep as bK, type ExtractedRelationship as bL, type ExtractionPassSource as bM, type GitHubLiveConnectorConfig as bN, type GmailLiveConnectorConfig as bO, type GoogleDriveLiveConnectorConfig as bP, type HeartbeatConfig as bQ, type HeartbeatDetectionMode as bR, type LlmTraceCallback as bS, type LlmTraceEvent as bT, type MemoryActionOutcome as bU, type MemoryActionPolicyDecision as bV, type MemoryActionStatus as bW, type MemoryLinkType as bX, type MemoryOsPresetName as bY, type ModelApi as bZ, type ModelDefinitionConfig as b_, isRecallDisclosure as ba, type AgentAccessHttpConfig as bb, type AgentDefaultsConfig as bc, type AgentPersona as bd, type BehaviorLoopAdjustment as be, type BehaviorSignalDirection as bf, type BehaviorSignalType as bg, type BriefingCalendarSourceError as bh, type BufferEntryState as bi, type CaptureMode as bj, type ChatConfig as bk, type CodexCliReasoningEffort as bl, type CodexCompactionFlushMode as bm, type CodexConnectorConfig as bn, type CompressionGuidelineActivationState as bo, type CompressionGuidelineOptimizerSourceWindow as bp, type ConfidenceTier as bq, type ConsolidationAction as br, type ConsolidationItem as bs, type ContinuityIncidentState as bt, type ContinuityLoopCadence as bu, type ContinuityLoopStatus as bv, type ContradictionScanConfig as bw, type CronConversationRecallMode as bx, type CronRecallMode as by, type DreamingConfig as bz, type ActiveRecallQueryMode as c, type NamespacePolicy as c0, type NativeKnowledgeFolderRuleConfig as c1, type NativeKnowledgeObsidianVaultConfig as c2, type NativeKnowledgeOpenClawWorkspaceConfig as c3, type NotionLiveConnectorConfig as c4, type PrincipalFromSessionKeyMode as c5, type PrincipalRule as c6, type ProceduralConfig as c7, type QuestionEntry as c8, type ReasoningEffort as c9, type RecallPipelineConfig as ca, type RecallTraceEvent as cb, type RelevanceFeedback as cc, SPECULATIVE_TTL_DAYS as cd, type ScopeProfileAutoPromoteConfig as ce, type ScopeProfileTeamProjectConfig as cf, type ScopeTeamConfig as cg, type ScoredEntity as ch, type SemanticChunkingConfigShape as ci, type SignalLevel as cj, type SlotBehaviorConfig as ck, type SlotMismatchMode as cl, type TriggerMode as cm, confidenceTier as cn, type ActiveRecallPromptStyle as d, type ActiveRecallThinking as e, type ActiveRecallModelFallbackPolicy as f, type BehaviorLoopPolicyState as g, type MemoryCategory as h, type BriefingSections as i, type BriefingFollowup as j, type BriefingFocus as k, type CalendarEvent as l, type BriefingActiveThread as m, type BriefingResult as n, type BriefingRecentEntity as o, type BufferTurn as p, type MemoryFrontmatter as q, type Checkpoint as r, type AgentPersonaModelConfig as s, type RecallTierExplain as t, type MemoryStatus as u, type MemoryProjectionCurrentState as v, type MemoryLifecycleEvent as w, type ExtractionResult as x, type ConsolidationResult as y, type DaySummaryResult as z };
package/dist/types.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import './types-gb_SNtjR.js';
2
2
  import './message-parts/index.js';
3
- export { ax as AccessTrackingEntry, A as ActiveRecallChatType, f as ActiveRecallModelFallbackPolicy, d as ActiveRecallPromptStyle, c as ActiveRecallQueryMode, e as ActiveRecallThinking, Z as AgentAccessAuthToken, ba as AgentAccessHttpConfig, bb as AgentDefaultsConfig, bc as AgentPersona, s as AgentPersonaModelConfig, bd as BehaviorLoopAdjustment, g as BehaviorLoopPolicyState, be as BehaviorSignalDirection, B as BehaviorSignalEvent, bf as BehaviorSignalType, aP as BootstrapOptions, aQ as BootstrapResult, m as BriefingActiveThread, bg as BriefingCalendarSourceError, aW as BriefingConfig, k as BriefingFocus, j as BriefingFollowup, aX as BriefingOpenCommitment, o as BriefingRecentEntity, n as BriefingResult, i as BriefingSections, aY as BriefingWindow, bh as BufferEntryState, as as BufferState, X as BufferSurpriseEvent, p as BufferTurn, l as CalendarEvent, C as CalendarSource, bi as CaptureMode, bj as ChatConfig, r as Checkpoint, bk as CodexCliReasoningEffort, bl as CodexCompactionFlushMode, aZ as CodexCompatConfig, bm as CodexConnectorConfig, az as CodingContext, aT as CodingKnowledgeConfig, aS as CodingModeConfig, bn as CompressionGuidelineActivationState, $ as CompressionGuidelineOptimizerActionSummary, _ as CompressionGuidelineOptimizerEventCounts, a0 as CompressionGuidelineOptimizerRuleUpdate, bo as CompressionGuidelineOptimizerSourceWindow, a3 as CompressionGuidelineOptimizerState, bp as ConfidenceTier, bq as ConsolidationAction, br as ConsolidationItem, aR as ConsolidationObservation, y as ConsolidationResult, ab as ContinuityImprovementLoop, a9 as ContinuityIncidentCloseInput, aa as ContinuityIncidentOpenInput, a8 as ContinuityIncidentRecord, bs as ContinuityIncidentState, bt as ContinuityLoopCadence, ac as ContinuityLoopReviewInput, bu as ContinuityLoopStatus, ad as ContinuityLoopUpsertInput, bv as ContradictionScanConfig, N as ConversationThread, bw as CronConversationRecallMode, bx as CronRecallMode, a_ as DEFAULT_RECALL_DISCLOSURE, z as DaySummaryResult, by as DreamingConfig, bz as DreamingNarrativePromptStyle, bA as DreamsDeepSleepConfig, bB as DreamsLightSleepConfig, D as DreamsPhase, bC as DreamsPhaseStatus, bD as DreamsPhasesConfig, bE as DreamsRemConfig, a as DreamsRunResult, aA as DreamsStatusResult, bF as EngramTraceEvent, aw as EntityActivityEntry, E as EntityFile, a4 as EntityMention, av as EntityRelationship, a5 as EntitySchemaDefinition, a6 as EntitySchemaSectionDefinition, a7 as EntityStructuredSection, bG as EntityTimelineEntry, a$ as ExtractedFact, bH as ExtractedProcedureStep, bI as ExtractedQuestion, bJ as ExtractedReasoningTrace, bK as ExtractedReasoningTraceStep, bL as ExtractedRelationship, bM as ExtractionPassSource, x as ExtractionResult, F as FaithfulnessFrontmatter, au as FileHygieneConfig, G as GatewayConfig, bN as GitHubLiveConnectorConfig, bO as GmailLiveConnectorConfig, bP as GoogleDriveLiveConnectorConfig, bQ as HeartbeatConfig, bR as HeartbeatDetectionMode, H as HourlySummary, I as IdentityInjectionMode, W as ImportanceLevel, ae as ImportanceScore, O as LifecycleState, L as LiveConnectorsConfig, bS as LlmTraceCallback, bT as LlmTraceEvent, ah as MemoryActionEligibilityContext, b0 as MemoryActionEligibilitySource, a2 as MemoryActionEvent, bU as MemoryActionOutcome, bV as MemoryActionPolicyDecision, ai as MemoryActionPolicyResult, bW as MemoryActionStatus, a1 as MemoryActionType, h as MemoryCategory, M as MemoryFile, q as MemoryFrontmatter, af as MemoryIntent, w as MemoryLifecycleEvent, aj as MemoryLifecycleEventType, ak as MemoryLifecycleStateSummary, ar as MemoryLink, bX as MemoryLinkType, b1 as MemoryObservation, bY as MemoryOsPresetName, v as MemoryProjectionCurrentState, b2 as MemoryScope, u as MemoryStatus, ay as MemorySummary, at as MetaState, bZ as ModelApi, b_ as ModelDefinitionConfig, b$ as ModelProviderAuthMode, al as ModelProviderConfig, c0 as NamespacePolicy, am as NativeKnowledgeConfig, c1 as NativeKnowledgeFolderRuleConfig, c2 as NativeKnowledgeObsidianVaultConfig, c3 as NativeKnowledgeOpenClawWorkspaceConfig, c4 as NotionLiveConnectorConfig, P as PluginConfig, U as PolicyClass, c5 as PrincipalFromSessionKeyMode, c6 as PrincipalRule, c7 as ProceduralConfig, an as ProvenanceConfig, J as ProvenanceSource, ag as QmdSearchExplain, Q as QmdSearchResult, c8 as QuestionEntry, b3 as RECALL_DISCLOSURE_LEVELS, c9 as ReasoningEffort, R as RecallDisclosure, ca as RecallPipelineConfig, b as RecallPlanMode, aO as RecallSectionConfig, t as RecallTierExplain, cb as RecallTraceEvent, cc as RelevanceFeedback, ao as RetrievalTier, cd as SPECULATIVE_TTL_DAYS, ce as ScopeProfileAutoPromoteConfig, aB as ScopeProfileConfig, aC as ScopeProfileLayerId, aD as ScopeProfilePromotionTarget, cf as ScopeProfileTeamProjectConfig, cg as ScopeTeamConfig, ch as ScoredEntity, Y as SecretRef, ci as SemanticChunkingConfigShape, S as SessionObserverBandConfig, cj as SignalLevel, ap as SignalScanResult, ck as SlotBehaviorConfig, cl as SlotMismatchMode, aq as TopicScore, T as TranscriptEntry, cm as TriggerMode, K as TrustWeights, V as VerificationState, cn as confidenceTier, b9 as isRecallDisclosure } from './types-DTEFxFuL.js';
3
+ export { ax as AccessTrackingEntry, A as ActiveRecallChatType, f as ActiveRecallModelFallbackPolicy, d as ActiveRecallPromptStyle, c as ActiveRecallQueryMode, e as ActiveRecallThinking, Z as AgentAccessAuthToken, bb as AgentAccessHttpConfig, bc as AgentDefaultsConfig, bd as AgentPersona, s as AgentPersonaModelConfig, be as BehaviorLoopAdjustment, g as BehaviorLoopPolicyState, bf as BehaviorSignalDirection, B as BehaviorSignalEvent, bg as BehaviorSignalType, aQ as BootstrapOptions, aR as BootstrapResult, m as BriefingActiveThread, bh as BriefingCalendarSourceError, aX as BriefingConfig, k as BriefingFocus, j as BriefingFollowup, aY as BriefingOpenCommitment, o as BriefingRecentEntity, n as BriefingResult, i as BriefingSections, aZ as BriefingWindow, bi as BufferEntryState, as as BufferState, X as BufferSurpriseEvent, p as BufferTurn, l as CalendarEvent, C as CalendarSource, bj as CaptureMode, bk as ChatConfig, r as Checkpoint, bl as CodexCliReasoningEffort, bm as CodexCompactionFlushMode, a_ as CodexCompatConfig, bn as CodexConnectorConfig, aA as CodingContext, aU as CodingKnowledgeConfig, aT as CodingModeConfig, bo as CompressionGuidelineActivationState, $ as CompressionGuidelineOptimizerActionSummary, _ as CompressionGuidelineOptimizerEventCounts, a0 as CompressionGuidelineOptimizerRuleUpdate, bp as CompressionGuidelineOptimizerSourceWindow, a3 as CompressionGuidelineOptimizerState, bq as ConfidenceTier, br as ConsolidationAction, bs as ConsolidationItem, aS as ConsolidationObservation, y as ConsolidationResult, ab as ContinuityImprovementLoop, a9 as ContinuityIncidentCloseInput, aa as ContinuityIncidentOpenInput, a8 as ContinuityIncidentRecord, bt as ContinuityIncidentState, bu as ContinuityLoopCadence, ac as ContinuityLoopReviewInput, bv as ContinuityLoopStatus, ad as ContinuityLoopUpsertInput, bw as ContradictionScanConfig, N as ConversationThread, bx as CronConversationRecallMode, by as CronRecallMode, a$ as DEFAULT_RECALL_DISCLOSURE, z as DaySummaryResult, bz as DreamingConfig, bA as DreamingNarrativePromptStyle, bB as DreamsDeepSleepConfig, bC as DreamsLightSleepConfig, D as DreamsPhase, bD as DreamsPhaseStatus, bE as DreamsPhasesConfig, bF as DreamsRemConfig, a as DreamsRunResult, aB as DreamsStatusResult, bG as EngramTraceEvent, aw as EntityActivityEntry, E as EntityFile, a4 as EntityMention, av as EntityRelationship, a5 as EntitySchemaDefinition, a6 as EntitySchemaSectionDefinition, a7 as EntityStructuredSection, az as EntityTimelineEntry, b0 as ExtractedFact, bH as ExtractedProcedureStep, bI as ExtractedQuestion, bJ as ExtractedReasoningTrace, bK as ExtractedReasoningTraceStep, bL as ExtractedRelationship, bM as ExtractionPassSource, x as ExtractionResult, F as FaithfulnessFrontmatter, au as FileHygieneConfig, G as GatewayConfig, bN as GitHubLiveConnectorConfig, bO as GmailLiveConnectorConfig, bP as GoogleDriveLiveConnectorConfig, bQ as HeartbeatConfig, bR as HeartbeatDetectionMode, H as HourlySummary, I as IdentityInjectionMode, W as ImportanceLevel, ae as ImportanceScore, O as LifecycleState, L as LiveConnectorsConfig, bS as LlmTraceCallback, bT as LlmTraceEvent, ah as MemoryActionEligibilityContext, b1 as MemoryActionEligibilitySource, a2 as MemoryActionEvent, bU as MemoryActionOutcome, bV as MemoryActionPolicyDecision, ai as MemoryActionPolicyResult, bW as MemoryActionStatus, a1 as MemoryActionType, h as MemoryCategory, M as MemoryFile, q as MemoryFrontmatter, af as MemoryIntent, w as MemoryLifecycleEvent, aj as MemoryLifecycleEventType, ak as MemoryLifecycleStateSummary, ar as MemoryLink, bX as MemoryLinkType, b2 as MemoryObservation, bY as MemoryOsPresetName, v as MemoryProjectionCurrentState, b3 as MemoryScope, u as MemoryStatus, ay as MemorySummary, at as MetaState, bZ as ModelApi, b_ as ModelDefinitionConfig, b$ as ModelProviderAuthMode, al as ModelProviderConfig, c0 as NamespacePolicy, am as NativeKnowledgeConfig, c1 as NativeKnowledgeFolderRuleConfig, c2 as NativeKnowledgeObsidianVaultConfig, c3 as NativeKnowledgeOpenClawWorkspaceConfig, c4 as NotionLiveConnectorConfig, P as PluginConfig, U as PolicyClass, c5 as PrincipalFromSessionKeyMode, c6 as PrincipalRule, c7 as ProceduralConfig, an as ProvenanceConfig, J as ProvenanceSource, ag as QmdSearchExplain, Q as QmdSearchResult, c8 as QuestionEntry, b4 as RECALL_DISCLOSURE_LEVELS, c9 as ReasoningEffort, R as RecallDisclosure, ca as RecallPipelineConfig, b as RecallPlanMode, aP as RecallSectionConfig, t as RecallTierExplain, cb as RecallTraceEvent, cc as RelevanceFeedback, ao as RetrievalTier, cd as SPECULATIVE_TTL_DAYS, ce as ScopeProfileAutoPromoteConfig, aC as ScopeProfileConfig, aD as ScopeProfileLayerId, aE as ScopeProfilePromotionTarget, cf as ScopeProfileTeamProjectConfig, cg as ScopeTeamConfig, ch as ScoredEntity, Y as SecretRef, ci as SemanticChunkingConfigShape, S as SessionObserverBandConfig, cj as SignalLevel, ap as SignalScanResult, ck as SlotBehaviorConfig, cl as SlotMismatchMode, aq as TopicScore, T as TranscriptEntry, cm as TriggerMode, K as TrustWeights, V as VerificationState, cn as confidenceTier, ba as isRecallDisclosure } from './types-D1iBqhJA.js';
@@ -1,5 +1,5 @@
1
1
  import { TierRoutingPolicy } from './tier-routing.js';
2
- import './types-DTEFxFuL.js';
2
+ import './types-D1iBqhJA.js';
3
3
  import './types-gb_SNtjR.js';
4
4
  import './message-parts/index.js';
5
5
  import './lifecycle.js';
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  compareVerifiedEpisodeResults,
3
3
  searchVerifiedEpisodes
4
- } from "./chunk-VSU2NZGC.js";
4
+ } from "./chunk-T6WHI3JW.js";
5
5
  import "./chunk-7FL4CNPV.js";
6
6
  import "./chunk-ZBJMUXZH.js";
7
- import "./chunk-THZ4WR5L.js";
7
+ import "./chunk-XBM5DG4O.js";
8
8
  import "./chunk-M7XQSUBB.js";
9
9
  import "./chunk-L2B3EE7B.js";
10
10
  import "./chunk-5UZXUTVO.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnic/core",
3
- "version": "9.3.754",
3
+ "version": "9.3.755",
4
4
  "description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -3000,7 +3000,7 @@
3000
3000
  "core"
3001
3001
  ],
3002
3002
  "peerDependencies": {
3003
- "@remnic/coding-graph": "^9.3.754"
3003
+ "@remnic/coding-graph": "^9.3.755"
3004
3004
  },
3005
3005
  "peerDependenciesMeta": {
3006
3006
  "@remnic/coding-graph": {