@remnic/core 1.1.7 → 1.1.9

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 (237) hide show
  1. package/dist/access-cli.js +30 -30
  2. package/dist/access-http.d.ts +7 -7
  3. package/dist/access-http.js +13 -13
  4. package/dist/access-mcp.d.ts +7 -7
  5. package/dist/access-mcp.js +12 -12
  6. package/dist/{access-service-B9sziJdP.d.ts → access-service-BJCIjVRY.d.ts} +9 -9
  7. package/dist/access-service.d.ts +7 -7
  8. package/dist/access-service.js +11 -11
  9. package/dist/active-memory-bridge.d.ts +1 -1
  10. package/dist/active-recall.d.ts +2 -2
  11. package/dist/active-recall.js +2 -2
  12. package/dist/active-recall.js.map +1 -1
  13. package/dist/behavior-learner.d.ts +1 -1
  14. package/dist/behavior-signals.d.ts +1 -1
  15. package/dist/bootstrap.d.ts +6 -6
  16. package/dist/briefing.d.ts +2 -2
  17. package/dist/briefing.js +6 -6
  18. package/dist/buffer-surprise-report.d.ts +1 -1
  19. package/dist/buffer.d.ts +2 -2
  20. package/dist/calibration.d.ts +1 -1
  21. package/dist/calibration.js +2 -2
  22. package/dist/causal-behavior.d.ts +1 -1
  23. package/dist/causal-consolidation.d.ts +2 -2
  24. package/dist/causal-consolidation.js +8 -8
  25. package/dist/{chunk-LKJA5MR2.js → chunk-2MVUXO4H.js} +2 -2
  26. package/dist/{chunk-GZCUW5IC.js → chunk-3IQ2TR4N.js} +5 -5
  27. package/dist/chunk-3IQ2TR4N.js.map +1 -0
  28. package/dist/{chunk-AKV3HOGZ.js → chunk-3VRIIII5.js} +150 -2
  29. package/dist/chunk-3VRIIII5.js.map +1 -0
  30. package/dist/{chunk-TUFG6VXY.js → chunk-4DWOBS2A.js} +2 -2
  31. package/dist/chunk-4DWOBS2A.js.map +1 -0
  32. package/dist/{chunk-L2IO2QPY.js → chunk-4IS4SXIQ.js} +17 -13
  33. package/dist/chunk-4IS4SXIQ.js.map +1 -0
  34. package/dist/{chunk-ZOMA7J3J.js → chunk-6OAQEOGV.js} +2 -2
  35. package/dist/{chunk-FSWYMUWI.js → chunk-6Z6UH6TK.js} +38 -12
  36. package/dist/chunk-6Z6UH6TK.js.map +1 -0
  37. package/dist/{chunk-EONJ7GK3.js → chunk-7SFAENUZ.js} +2 -2
  38. package/dist/{chunk-ODWDQNRE.js → chunk-7SI52C65.js} +7 -3
  39. package/dist/chunk-7SI52C65.js.map +1 -0
  40. package/dist/{chunk-M3QQ5DRA.js → chunk-A6PGANSE.js} +3 -3
  41. package/dist/{chunk-KUIEFH2S.js → chunk-BIHCWSWA.js} +3 -3
  42. package/dist/{chunk-PT2EZWOH.js → chunk-CTYRIJ5E.js} +3 -3
  43. package/dist/{chunk-COAGZQT7.js → chunk-ET4BL42V.js} +1 -1
  44. package/dist/chunk-ET4BL42V.js.map +1 -0
  45. package/dist/{chunk-DWMXVUGO.js → chunk-FLBYSB2V.js} +6 -4
  46. package/dist/chunk-FLBYSB2V.js.map +1 -0
  47. package/dist/{chunk-VZNQB6NL.js → chunk-FPWUENQH.js} +39 -35
  48. package/dist/chunk-FPWUENQH.js.map +1 -0
  49. package/dist/chunk-FVQJYWH7.js +52 -0
  50. package/dist/chunk-FVQJYWH7.js.map +1 -0
  51. package/dist/{chunk-RXGR3YLU.js → chunk-G3G3LY22.js} +2 -2
  52. package/dist/{chunk-ZBZVNWQO.js → chunk-G6NX57V2.js} +33 -43
  53. package/dist/chunk-G6NX57V2.js.map +1 -0
  54. package/dist/{chunk-3FPTCC3Z.js → chunk-GVPWB7EY.js} +2 -2
  55. package/dist/{chunk-D7WYTVUQ.js → chunk-ICULSMDG.js} +2 -2
  56. package/dist/{chunk-5NS6NN5A.js → chunk-J3P6WSFZ.js} +2 -2
  57. package/dist/{chunk-FCGWNWG4.js → chunk-KIF7QNKL.js} +28 -28
  58. package/dist/chunk-KIF7QNKL.js.map +1 -0
  59. package/dist/{chunk-YELFQNQH.js → chunk-KMWZXT5T.js} +2 -2
  60. package/dist/{chunk-YKGRACQP.js → chunk-M3DK45UM.js} +5 -5
  61. package/dist/{chunk-DLYTYJ43.js → chunk-MJLUHRSF.js} +5 -5
  62. package/dist/{chunk-4KAN3GZ3.js → chunk-NN2DKE4T.js} +1 -1
  63. package/dist/chunk-NN2DKE4T.js.map +1 -0
  64. package/dist/{chunk-R2XRID2N.js → chunk-NN3LPQ5D.js} +5 -5
  65. package/dist/chunk-NN3LPQ5D.js.map +1 -0
  66. package/dist/{chunk-7RAW2T4P.js → chunk-OWGGXPKV.js} +16 -9
  67. package/dist/chunk-OWGGXPKV.js.map +1 -0
  68. package/dist/{chunk-WSZIHQBK.js → chunk-P77UEOU2.js} +4 -1
  69. package/dist/{chunk-WSZIHQBK.js.map → chunk-P77UEOU2.js.map} +1 -1
  70. package/dist/{chunk-MYMOXFMR.js → chunk-PHQH2VUO.js} +4 -4
  71. package/dist/{chunk-OZAFME7S.js → chunk-QPLYTPYL.js} +15 -15
  72. package/dist/{chunk-FEMOX5AD.js → chunk-QR3C7BKQ.js} +7 -7
  73. package/dist/chunk-QR3C7BKQ.js.map +1 -0
  74. package/dist/{chunk-3LCWFNVS.js → chunk-SKE7JYKA.js} +2 -2
  75. package/dist/{chunk-AIT53NLG.js → chunk-U4SZXGEO.js} +2 -2
  76. package/dist/{chunk-67YLUWLG.js → chunk-XJKFSSDW.js} +3 -3
  77. package/dist/chunk-XJKFSSDW.js.map +1 -0
  78. package/dist/{chunk-KQB4C4OE.js → chunk-XL3UCAZA.js} +22 -22
  79. package/dist/{chunk-ASIQZXYO.js → chunk-XMVFHBHT.js} +2 -2
  80. package/dist/{chunk-6B23Z44B.js → chunk-XN4D6Z7X.js} +3 -3
  81. package/dist/{chunk-S5SQDIF5.js → chunk-Y3VT6ZCP.js} +4 -4
  82. package/dist/{cli-olNPi1uN.d.ts → cli-BojuyOOp.d.ts} +4 -4
  83. package/dist/cli.d.ts +8 -8
  84. package/dist/cli.js +24 -24
  85. package/dist/{codex-materialize-D5d5vvyS.d.ts → codex-materialize-YVC2wb6n.d.ts} +1 -1
  86. package/dist/compression-optimizer.d.ts +1 -1
  87. package/dist/config.d.ts +1 -1
  88. package/dist/config.js +1 -1
  89. package/dist/consolidation-provenance-check.d.ts +2 -2
  90. package/dist/consolidation-undo.d.ts +2 -2
  91. package/dist/day-summary.d.ts +1 -1
  92. package/dist/day-summary.js +1 -1
  93. package/dist/delinearize.d.ts +1 -1
  94. package/dist/direct-answer-wiring.d.ts +1 -1
  95. package/dist/direct-answer.d.ts +1 -1
  96. package/dist/embedding-fallback.d.ts +1 -1
  97. package/dist/{engine-2JKWFKJV.js → engine-EDFFOWDD.js} +7 -7
  98. package/dist/entity-retrieval.d.ts +2 -2
  99. package/dist/entity-retrieval.js +6 -6
  100. package/dist/entity-schema.d.ts +1 -1
  101. package/dist/explicit-capture.d.ts +6 -6
  102. package/dist/explicit-capture.js +2 -2
  103. package/dist/explicit-cue-recall.js +1 -1
  104. package/dist/extraction-judge-telemetry.d.ts +1 -1
  105. package/dist/extraction-judge-training.d.ts +1 -1
  106. package/dist/extraction-judge.d.ts +1 -1
  107. package/dist/extraction.d.ts +1 -1
  108. package/dist/extraction.js +7 -7
  109. package/dist/fallback-llm.d.ts +1 -1
  110. package/dist/fallback-llm.js +2 -2
  111. package/dist/identity-continuity.d.ts +1 -1
  112. package/dist/importance.d.ts +1 -1
  113. package/dist/index.d.ts +13 -13
  114. package/dist/index.js +147 -147
  115. package/dist/index.js.map +1 -1
  116. package/dist/intent.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/live-connectors-runner.js +2 -2
  120. package/dist/local-llm.d.ts +1 -1
  121. package/dist/local-llm.js +1 -1
  122. package/dist/memory-action-policy.d.ts +1 -1
  123. package/dist/memory-cache.d.ts +1 -1
  124. package/dist/{memory-governance-7MI7KE35.js → memory-governance-AAQPBZEP.js} +7 -7
  125. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  126. package/dist/{memory-projection-store-BQt5VUQ8.d.ts → memory-projection-store-BW8u5U0u.d.ts} +1 -1
  127. package/dist/memory-projection-store.d.ts +2 -2
  128. package/dist/memory-projection-store.js +1 -1
  129. package/dist/memory-worth-outcomes.d.ts +2 -2
  130. package/dist/{migrate-from-identity-anchor-TTEDEJGX.js → migrate-from-identity-anchor-G27MCD6A.js} +2 -2
  131. package/dist/model-registry.js +1 -1
  132. package/dist/models-json.d.ts +1 -1
  133. package/dist/models-json.js +1 -1
  134. package/dist/native-knowledge.d.ts +1 -1
  135. package/dist/operator-toolkit.d.ts +2 -2
  136. package/dist/operator-toolkit.js +10 -10
  137. package/dist/opik-exporter.js +2 -2
  138. package/dist/opik-exporter.js.map +1 -1
  139. package/dist/{orchestrator-D2lHhFWI.d.ts → orchestrator-CYqmqxco.d.ts} +5 -5
  140. package/dist/orchestrator.d.ts +6 -6
  141. package/dist/orchestrator.js +25 -25
  142. package/dist/patterns-cli.d.ts +1 -1
  143. package/dist/{peers-6OSQ3NK6.js → peers-HCVGHMAE.js} +3 -3
  144. package/dist/policy-runtime.d.ts +1 -1
  145. package/dist/{port-5W-r5SKc.d.ts → port-Br27H8dy.d.ts} +7 -1
  146. package/dist/qmd-recall-cache.d.ts +2 -2
  147. package/dist/qmd.d.ts +3 -2
  148. package/dist/qmd.js +1 -1
  149. package/dist/recall-disclosure-escalation.d.ts +1 -1
  150. package/dist/recall-explain-renderer.d.ts +1 -1
  151. package/dist/recall-explain-renderer.js +3 -3
  152. package/dist/recall-state.d.ts +1 -1
  153. package/dist/recall-tag-filter.d.ts +1 -1
  154. package/dist/recall-xray-cli.d.ts +1 -1
  155. package/dist/recall-xray-cli.js +4 -4
  156. package/dist/recall-xray-renderer.d.ts +1 -1
  157. package/dist/recall-xray-renderer.js +3 -3
  158. package/dist/recall-xray.d.ts +1 -1
  159. package/dist/recall-xray.js +2 -2
  160. package/dist/resolve-auth-token.d.ts +1 -1
  161. package/dist/resume-bundles.js +2 -2
  162. package/dist/retrieval-agents.d.ts +2 -2
  163. package/dist/retrieval-tiers.d.ts +1 -1
  164. package/dist/sanitize.js +1 -1
  165. package/dist/schemas.d.ts +22 -22
  166. package/dist/{semantic-consolidation-tDODR2je.d.ts → semantic-consolidation-GPcLr9BQ.d.ts} +2 -2
  167. package/dist/semantic-consolidation.d.ts +3 -3
  168. package/dist/semantic-consolidation.js +6 -6
  169. package/dist/semantic-rule-promotion.js +6 -6
  170. package/dist/semantic-rule-verifier.d.ts +1 -1
  171. package/dist/semantic-rule-verifier.js +6 -6
  172. package/dist/session-observer-bands.d.ts +1 -1
  173. package/dist/session-observer-state.d.ts +1 -1
  174. package/dist/signal.d.ts +1 -1
  175. package/dist/source-attribution.d.ts +1 -1
  176. package/dist/source-attribution.js +1 -1
  177. package/dist/storage.d.ts +2 -2
  178. package/dist/storage.js +5 -5
  179. package/dist/summarizer.d.ts +1 -1
  180. package/dist/summarizer.js +5 -5
  181. package/dist/summary-snapshot.d.ts +1 -1
  182. package/dist/temporal-supersession.d.ts +2 -2
  183. package/dist/temporal-validity.d.ts +1 -1
  184. package/dist/threading.d.ts +1 -1
  185. package/dist/tier-migration.d.ts +3 -3
  186. package/dist/tier-routing.d.ts +1 -1
  187. package/dist/topics.d.ts +1 -1
  188. package/dist/transcript.d.ts +1 -1
  189. package/dist/{types-C-USTTAx.d.ts → types-Bmp9ssU2.d.ts} +4 -3
  190. package/dist/types.d.ts +1 -1
  191. package/dist/types.js +1 -1
  192. package/dist/utility-runtime.d.ts +1 -1
  193. package/dist/verified-recall.js +6 -6
  194. package/package.json +1 -1
  195. package/dist/chunk-4KAN3GZ3.js.map +0 -1
  196. package/dist/chunk-67YLUWLG.js.map +0 -1
  197. package/dist/chunk-7RAW2T4P.js.map +0 -1
  198. package/dist/chunk-AKV3HOGZ.js.map +0 -1
  199. package/dist/chunk-COAGZQT7.js.map +0 -1
  200. package/dist/chunk-DWMXVUGO.js.map +0 -1
  201. package/dist/chunk-FCGWNWG4.js.map +0 -1
  202. package/dist/chunk-FEMOX5AD.js.map +0 -1
  203. package/dist/chunk-FSWYMUWI.js.map +0 -1
  204. package/dist/chunk-GZCUW5IC.js.map +0 -1
  205. package/dist/chunk-L2IO2QPY.js.map +0 -1
  206. package/dist/chunk-M62O4P4T.js +0 -41
  207. package/dist/chunk-M62O4P4T.js.map +0 -1
  208. package/dist/chunk-ODWDQNRE.js.map +0 -1
  209. package/dist/chunk-R2XRID2N.js.map +0 -1
  210. package/dist/chunk-TUFG6VXY.js.map +0 -1
  211. package/dist/chunk-VZNQB6NL.js.map +0 -1
  212. package/dist/chunk-ZBZVNWQO.js.map +0 -1
  213. /package/dist/{chunk-LKJA5MR2.js.map → chunk-2MVUXO4H.js.map} +0 -0
  214. /package/dist/{chunk-ZOMA7J3J.js.map → chunk-6OAQEOGV.js.map} +0 -0
  215. /package/dist/{chunk-EONJ7GK3.js.map → chunk-7SFAENUZ.js.map} +0 -0
  216. /package/dist/{chunk-M3QQ5DRA.js.map → chunk-A6PGANSE.js.map} +0 -0
  217. /package/dist/{chunk-KUIEFH2S.js.map → chunk-BIHCWSWA.js.map} +0 -0
  218. /package/dist/{chunk-PT2EZWOH.js.map → chunk-CTYRIJ5E.js.map} +0 -0
  219. /package/dist/{chunk-RXGR3YLU.js.map → chunk-G3G3LY22.js.map} +0 -0
  220. /package/dist/{chunk-3FPTCC3Z.js.map → chunk-GVPWB7EY.js.map} +0 -0
  221. /package/dist/{chunk-D7WYTVUQ.js.map → chunk-ICULSMDG.js.map} +0 -0
  222. /package/dist/{chunk-5NS6NN5A.js.map → chunk-J3P6WSFZ.js.map} +0 -0
  223. /package/dist/{chunk-YELFQNQH.js.map → chunk-KMWZXT5T.js.map} +0 -0
  224. /package/dist/{chunk-YKGRACQP.js.map → chunk-M3DK45UM.js.map} +0 -0
  225. /package/dist/{chunk-DLYTYJ43.js.map → chunk-MJLUHRSF.js.map} +0 -0
  226. /package/dist/{chunk-MYMOXFMR.js.map → chunk-PHQH2VUO.js.map} +0 -0
  227. /package/dist/{chunk-OZAFME7S.js.map → chunk-QPLYTPYL.js.map} +0 -0
  228. /package/dist/{chunk-3LCWFNVS.js.map → chunk-SKE7JYKA.js.map} +0 -0
  229. /package/dist/{chunk-AIT53NLG.js.map → chunk-U4SZXGEO.js.map} +0 -0
  230. /package/dist/{chunk-KQB4C4OE.js.map → chunk-XL3UCAZA.js.map} +0 -0
  231. /package/dist/{chunk-ASIQZXYO.js.map → chunk-XMVFHBHT.js.map} +0 -0
  232. /package/dist/{chunk-6B23Z44B.js.map → chunk-XN4D6Z7X.js.map} +0 -0
  233. /package/dist/{chunk-S5SQDIF5.js.map → chunk-Y3VT6ZCP.js.map} +0 -0
  234. /package/dist/{engine-2JKWFKJV.js.map → engine-EDFFOWDD.js.map} +0 -0
  235. /package/dist/{memory-governance-7MI7KE35.js.map → memory-governance-AAQPBZEP.js.map} +0 -0
  236. /package/dist/{migrate-from-identity-anchor-TTEDEJGX.js.map → migrate-from-identity-anchor-G27MCD6A.js.map} +0 -0
  237. /package/dist/{peers-6OSQ3NK6.js.map → peers-HCVGHMAE.js.map} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  CompoundingEngine,
3
3
  SharedContextManager,
4
4
  defaultTierMigrationCycleBudget
5
- } from "./chunk-6B23Z44B.js";
5
+ } from "./chunk-XN4D6Z7X.js";
6
6
  import {
7
7
  applyUtilityPromotionRuntimePolicy,
8
8
  applyUtilityRankingRuntimeDelta,
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-UHGBNIOS.js";
23
23
  import {
24
24
  HourlySummarizer
25
- } from "./chunk-S5SQDIF5.js";
25
+ } from "./chunk-Y3VT6ZCP.js";
26
26
  import {
27
27
  applyTemporalSupersession,
28
28
  normalizeSupersessionKey,
@@ -103,13 +103,13 @@ import {
103
103
  } from "./chunk-GGD5W7TB.js";
104
104
  import {
105
105
  runLiveConnectorsOnce
106
- } from "./chunk-ASIQZXYO.js";
106
+ } from "./chunk-XMVFHBHT.js";
107
107
  import {
108
108
  classifyMemoryKind
109
109
  } from "./chunk-YAZNBMNF.js";
110
110
  import {
111
111
  buildExplicitCueRecallSection
112
- } from "./chunk-AKV3HOGZ.js";
112
+ } from "./chunk-3VRIIII5.js";
113
113
  import {
114
114
  recordJudgeTrainingPair
115
115
  } from "./chunk-DF3RVK3X.js";
@@ -122,19 +122,19 @@ import {
122
122
  } from "./chunk-C4SQJZAF.js";
123
123
  import {
124
124
  ExtractionEngine
125
- } from "./chunk-FCGWNWG4.js";
125
+ } from "./chunk-KIF7QNKL.js";
126
126
  import {
127
127
  parseMemoryActionEligibilityContext
128
128
  } from "./chunk-WW3QQF4H.js";
129
129
  import {
130
130
  ModelRegistry
131
- } from "./chunk-FEMOX5AD.js";
131
+ } from "./chunk-QR3C7BKQ.js";
132
132
  import {
133
133
  LocalLlmClient
134
- } from "./chunk-R2XRID2N.js";
134
+ } from "./chunk-NN3LPQ5D.js";
135
135
  import {
136
136
  formatDaySummaryMemories
137
- } from "./chunk-GZCUW5IC.js";
137
+ } from "./chunk-3IQ2TR4N.js";
138
138
  import {
139
139
  tryDirectAnswer
140
140
  } from "./chunk-6AUUAZEX.js";
@@ -145,7 +145,7 @@ import {
145
145
  buildEntityRecallSection,
146
146
  entityRecentTranscriptLookbackHours,
147
147
  readRecentEntityTranscriptEntries
148
- } from "./chunk-PT2EZWOH.js";
148
+ } from "./chunk-CTYRIJ5E.js";
149
149
  import {
150
150
  buildCompressionGuidelinesMarkdown,
151
151
  computeCompressionGuidelineCandidate,
@@ -158,13 +158,13 @@ import {
158
158
  } from "./chunk-SRBJUAMP.js";
159
159
  import {
160
160
  searchVerifiedEpisodes
161
- } from "./chunk-LKJA5MR2.js";
161
+ } from "./chunk-2MVUXO4H.js";
162
162
  import {
163
163
  ThreadingManager
164
164
  } from "./chunk-JRNQ3RNA.js";
165
165
  import {
166
166
  searchVerifiedSemanticRules
167
- } from "./chunk-ZOMA7J3J.js";
167
+ } from "./chunk-6OAQEOGV.js";
168
168
  import {
169
169
  searchWorkProductLedgerEntries
170
170
  } from "./chunk-CULXMQJH.js";
@@ -178,10 +178,10 @@ import {
178
178
  createConversationIndexRuntime,
179
179
  createSearchBackend,
180
180
  writeConversationChunks
181
- } from "./chunk-7RAW2T4P.js";
181
+ } from "./chunk-OWGGXPKV.js";
182
182
  import {
183
183
  parseQmdExplain
184
- } from "./chunk-WSZIHQBK.js";
184
+ } from "./chunk-P77UEOU2.js";
185
185
  import {
186
186
  PolicyRuntimeManager
187
187
  } from "./chunk-EABGC2TL.js";
@@ -231,10 +231,10 @@ import {
231
231
  materializeAfterSemanticConsolidation,
232
232
  parseConsolidationResponse,
233
233
  parseOperatorAwareConsolidationResponse
234
- } from "./chunk-ZBZVNWQO.js";
234
+ } from "./chunk-G6NX57V2.js";
235
235
  import {
236
236
  FallbackLlmClient
237
- } from "./chunk-DWMXVUGO.js";
237
+ } from "./chunk-FLBYSB2V.js";
238
238
  import {
239
239
  buildRecallQueryPolicy
240
240
  } from "./chunk-6HZ6AO2P.js";
@@ -266,10 +266,10 @@ import {
266
266
  } from "./chunk-EQINRHYR.js";
267
267
  import {
268
268
  buildXraySnapshot
269
- } from "./chunk-D7WYTVUQ.js";
269
+ } from "./chunk-ICULSMDG.js";
270
270
  import {
271
271
  shouldSkipImplicitExtraction
272
- } from "./chunk-3FPTCC3Z.js";
272
+ } from "./chunk-GVPWB7EY.js";
273
273
  import {
274
274
  selectRouteRule
275
275
  } from "./chunk-2LGMW3DJ.js";
@@ -306,28 +306,28 @@ import {
306
306
  normalizeAttributePairs,
307
307
  normalizeEntityName,
308
308
  parseEntityFile
309
- } from "./chunk-DLYTYJ43.js";
309
+ } from "./chunk-MJLUHRSF.js";
310
310
  import {
311
311
  attachCitation,
312
312
  hasCitationForTemplate,
313
313
  stripCitationForTemplate
314
- } from "./chunk-4KAN3GZ3.js";
314
+ } from "./chunk-NN2DKE4T.js";
315
315
  import {
316
316
  confidenceTier
317
- } from "./chunk-COAGZQT7.js";
317
+ } from "./chunk-ET4BL42V.js";
318
318
  import {
319
319
  isActiveMemoryStatus
320
320
  } from "./chunk-RULE4VG5.js";
321
321
  import {
322
322
  openBetterSqlite3
323
- } from "./chunk-67YLUWLG.js";
323
+ } from "./chunk-XJKFSSDW.js";
324
324
  import {
325
325
  lintWorkspaceFiles,
326
326
  rotateMarkdownFileToArchive
327
327
  } from "./chunk-DM2T26WE.js";
328
328
  import {
329
329
  sanitizeMemoryContent
330
- } from "./chunk-M62O4P4T.js";
330
+ } from "./chunk-FVQJYWH7.js";
331
331
  import {
332
332
  resolveHomeDir
333
333
  } from "./chunk-MARWOCVP.js";
@@ -3751,8 +3751,10 @@ function fingerprintEntitySynthesisEvidence(entity) {
3751
3751
  entry.principal ?? "",
3752
3752
  entry.text
3753
3753
  ].join("\0")).sort();
3754
- fingerprint.update(timelineEntries.join(""));
3755
- fingerprint.update("");
3754
+ const timelineEntrySeparator = String.fromCharCode(1);
3755
+ const structuredFactsSeparator = String.fromCharCode(2);
3756
+ fingerprint.update(timelineEntries.join(timelineEntrySeparator));
3757
+ fingerprint.update(structuredFactsSeparator);
3756
3758
  fingerprint.update(fingerprintEntityStructuredFacts(entity) ?? "");
3757
3759
  return fingerprint.digest("hex");
3758
3760
  }
@@ -4221,7 +4223,7 @@ var Orchestrator = class _Orchestrator {
4221
4223
  memoryWorthCounterCache = /* @__PURE__ */ new Map();
4222
4224
  static MEMORY_WORTH_CACHE_TTL_MS = 3e4;
4223
4225
  /**
4224
- * Per-session workspace overrides keyed by sessionKey.
4226
+ * Per-session workspace selections keyed by sessionKey.
4225
4227
  * Set by the before_agent_start hook so recall() uses the correct
4226
4228
  * agent workspace for BOOT.md injection. Cleared after each recall.
4227
4229
  * Using a Map prevents concurrent sessions from overwriting each other.
@@ -4333,7 +4335,7 @@ var Orchestrator = class _Orchestrator {
4333
4335
  setRecallWorkspaceOverride(sessionKey, dir) {
4334
4336
  this._recallWorkspaceOverrides.set(sessionKey, dir);
4335
4337
  }
4336
- /** Remove a per-session workspace override (cleanup on error or early return). @internal */
4338
+ /** Remove a per-session workspace selection (cleanup on error or early return). @internal */
4337
4339
  clearRecallWorkspaceOverride(sessionKey) {
4338
4340
  this._recallWorkspaceOverrides.delete(sessionKey);
4339
4341
  }
@@ -4661,11 +4663,11 @@ var Orchestrator = class _Orchestrator {
4661
4663
  });
4662
4664
  if (config.lcmEnabled) {
4663
4665
  const summarizeFn = async (text, targetTokens, aggressive) => {
4664
- const systemPrompt = aggressive ? `Compress the following into bullet points. One bullet per distinct fact or decision. Maximum ${targetTokens} tokens total. No prose.` : `Compress the following conversation segment into a dense summary. Preserve: decisions made, code artifacts mentioned, errors encountered, open questions, and any commitments or next-steps. Omit: pleasantries, restatements, and anything the agent would not need to recall later. Output a single paragraph, maximum ${targetTokens} tokens.`;
4666
+ const instructionText = aggressive ? `Compress the following into bullet points. One bullet per distinct fact or decision. Maximum ${targetTokens} tokens total. No prose.` : `Compress the following conversation segment into a dense summary. Preserve: decisions made, code artifacts mentioned, errors encountered, open questions, and any commitments or next-steps. Omit: pleasantries, restatements, and anything the agent would not need to recall later. Output a single paragraph, maximum ${targetTokens} tokens.`;
4665
4667
  try {
4666
4668
  const result = await this.localLlm.chatCompletion(
4667
4669
  [
4668
- { role: "system", content: systemPrompt },
4670
+ { role: "system", content: instructionText },
4669
4671
  { role: "user", content: text.slice(0, 12e3) }
4670
4672
  ],
4671
4673
  {
@@ -5554,7 +5556,7 @@ ${doc.content}` : doc.content,
5554
5556
  }
5555
5557
  async runDeepSleepGovernanceNow(options) {
5556
5558
  const targetStorage = options?.storage ?? this.storage;
5557
- const { runMemoryGovernance } = await import("./memory-governance-7MI7KE35.js");
5559
+ const { runMemoryGovernance } = await import("./memory-governance-AAQPBZEP.js");
5558
5560
  const { summarizeGovernanceResultForDreams } = await import("./dreams-ledger-LR2NBAZE.js");
5559
5561
  const govResult = await runMemoryGovernance({
5560
5562
  memoryDir: targetStorage.dir,
@@ -5771,7 +5773,7 @@ ${doc.content}` : doc.content,
5771
5773
  }
5772
5774
  if (this.config.peerProfileReasonerEnabled) {
5773
5775
  try {
5774
- const { runPeerProfileReasoner } = await import("./peers-6OSQ3NK6.js");
5776
+ const { runPeerProfileReasoner } = await import("./peers-HCVGHMAE.js");
5775
5777
  const llm2 = new FallbackLlmClient2(this.config.gatewayConfig);
5776
5778
  const peerResult = await runPeerProfileReasoner({
5777
5779
  memoryDir: targetStorage.dir,
@@ -5940,7 +5942,10 @@ ${evidenceText}`
5940
5942
  await Promise.race([
5941
5943
  this.initPromise.catch(() => void 0),
5942
5944
  new Promise((resolve) => {
5943
- initGateTimeoutHandle = setTimeout(resolve, 15e3);
5945
+ initGateTimeoutHandle = setTimeout(
5946
+ resolve,
5947
+ this.config.initGateTimeoutMs
5948
+ );
5944
5949
  })
5945
5950
  ]);
5946
5951
  } finally {
@@ -6575,13 +6580,12 @@ ${r.snippet.trim()}
6575
6580
  let initGateTimeoutHandle = null;
6576
6581
  let onInitGateAbort = null;
6577
6582
  if (this.initPromise) {
6578
- const INIT_GATE_TIMEOUT_MS = 15e3;
6579
6583
  const gateResult = await Promise.race([
6580
6584
  this.initPromise.then(() => "ok"),
6581
6585
  new Promise((resolve) => {
6582
6586
  initGateTimeoutHandle = setTimeout(
6583
6587
  () => resolve("timeout"),
6584
- INIT_GATE_TIMEOUT_MS
6588
+ this.config.initGateTimeoutMs
6585
6589
  );
6586
6590
  }),
6587
6591
  abortController.signal.aborted ? Promise.resolve("aborted") : new Promise((resolve) => {
@@ -7993,7 +7997,7 @@ ${trimmedBody}`;
7993
7997
  if (!peerId) return null;
7994
7998
  const t0 = Date.now();
7995
7999
  try {
7996
- const { readPeerProfile: _readPeerProfile } = await import("./peers-6OSQ3NK6.js");
8000
+ const { readPeerProfile: _readPeerProfile } = await import("./peers-HCVGHMAE.js");
7997
8001
  const peerProfile = await _readPeerProfile(this.config.memoryDir, peerId);
7998
8002
  recordRecallSectionMetric({
7999
8003
  section: "peerProfile",
@@ -14785,4 +14789,4 @@ export {
14785
14789
  resolvePersistedMemoryRelativePath,
14786
14790
  Orchestrator
14787
14791
  };
14788
- //# sourceMappingURL=chunk-VZNQB6NL.js.map
14792
+ //# sourceMappingURL=chunk-FPWUENQH.js.map