@remnic/core 9.69.55 → 9.69.57

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 (2714) hide show
  1. package/dist/abort-error.d.ts +5 -6
  2. package/dist/abort-error.d.ts.map +1 -0
  3. package/dist/abstraction-nodes.d.ts +12 -13
  4. package/dist/abstraction-nodes.d.ts.map +1 -0
  5. package/dist/access-admin-ops-surface.d.ts +20 -153
  6. package/dist/access-admin-ops-surface.d.ts.map +1 -0
  7. package/dist/access-admin-ops-surface.js +65 -60
  8. package/dist/access-audit.d.ts +6 -10
  9. package/dist/access-audit.d.ts.map +1 -0
  10. package/dist/access-audit.js +2 -2
  11. package/dist/access-authorization-probe.d.ts +7 -152
  12. package/dist/access-authorization-probe.d.ts.map +1 -0
  13. package/dist/access-authorization-probe.js +66 -61
  14. package/dist/access-boundary.d.ts +156 -145
  15. package/dist/access-boundary.d.ts.map +1 -0
  16. package/dist/access-boundary.js +65 -60
  17. package/dist/access-citation-namespace.d.ts +3 -3
  18. package/dist/access-citation-namespace.d.ts.map +1 -0
  19. package/dist/access-citation.d.ts +6 -7
  20. package/dist/access-citation.d.ts.map +1 -0
  21. package/dist/access-cli.d.ts +7 -7
  22. package/dist/access-cli.d.ts.map +1 -0
  23. package/dist/access-cli.js +157 -152
  24. package/dist/access-cli.js.map +1 -1
  25. package/dist/access-coding-context-resolution.d.ts +4 -23
  26. package/dist/access-coding-context-resolution.d.ts.map +1 -0
  27. package/dist/access-errors.d.ts +57 -5
  28. package/dist/access-errors.d.ts.map +1 -0
  29. package/dist/access-errors.js +13 -3
  30. package/dist/access-extraction-force-flush.d.ts +5 -150
  31. package/dist/access-extraction-force-flush.d.ts.map +1 -0
  32. package/dist/access-extraction-force-flush.js +65 -60
  33. package/dist/access-health-types.d.ts +7 -30
  34. package/dist/access-health-types.d.ts.map +1 -0
  35. package/dist/access-http-briefing.d.ts +5 -150
  36. package/dist/access-http-briefing.d.ts.map +1 -0
  37. package/dist/access-http-briefing.js +66 -61
  38. package/dist/access-http-lcm-compaction.d.ts +12 -156
  39. package/dist/access-http-lcm-compaction.d.ts.map +1 -0
  40. package/dist/access-http-lifecycle-flush.d.ts +6 -150
  41. package/dist/access-http-lifecycle-flush.d.ts.map +1 -0
  42. package/dist/access-http-offline-stream.d.ts +6 -151
  43. package/dist/access-http-offline-stream.d.ts.map +1 -0
  44. package/dist/access-http-query.d.ts +6 -26
  45. package/dist/access-http-query.d.ts.map +1 -0
  46. package/dist/access-http-query.js +67 -62
  47. package/dist/access-http.d.ts +22 -189
  48. package/dist/access-http.d.ts.map +1 -0
  49. package/dist/access-http.js +93 -89
  50. package/dist/access-idempotency.d.ts +5 -5
  51. package/dist/access-idempotency.d.ts.map +1 -0
  52. package/dist/access-identity-continuity-surface.d.ts +4 -115
  53. package/dist/access-identity-continuity-surface.d.ts.map +1 -0
  54. package/dist/access-identity-continuity-surface.js +65 -60
  55. package/dist/access-lcm-surface.d.ts +5 -151
  56. package/dist/access-lcm-surface.d.ts.map +1 -0
  57. package/dist/access-lcm-surface.js +65 -60
  58. package/dist/access-mcp-admin-tools.d.ts +4 -5
  59. package/dist/access-mcp-admin-tools.d.ts.map +1 -0
  60. package/dist/access-mcp-output-schemas.d.ts +2 -3
  61. package/dist/access-mcp-output-schemas.d.ts.map +1 -0
  62. package/dist/access-mcp-output-schemas.js +1 -1
  63. package/dist/access-mcp-shared-context-tools.d.ts +3 -150
  64. package/dist/access-mcp-shared-context-tools.d.ts.map +1 -0
  65. package/dist/access-mcp-sse.d.ts +3 -5
  66. package/dist/access-mcp-sse.d.ts.map +1 -0
  67. package/dist/access-mcp-tool-names.d.ts +9 -10
  68. package/dist/access-mcp-tool-names.d.ts.map +1 -0
  69. package/dist/access-mcp.d.ts +178 -145
  70. package/dist/access-mcp.d.ts.map +1 -0
  71. package/dist/access-mcp.js +80 -76
  72. package/dist/access-memory-search-fanout.d.ts +18 -37
  73. package/dist/access-memory-search-fanout.d.ts.map +1 -0
  74. package/dist/access-memory-search-fanout.js +2 -2
  75. package/dist/access-namespace-preflight.d.ts +18 -22
  76. package/dist/access-namespace-preflight.d.ts.map +1 -0
  77. package/dist/access-namespace-preflight.js +65 -60
  78. package/dist/access-observe-helpers.d.ts +4 -5
  79. package/dist/access-observe-helpers.d.ts.map +1 -0
  80. package/dist/access-observe-transcript.d.ts +5 -115
  81. package/dist/access-observe-transcript.d.ts.map +1 -0
  82. package/dist/access-observe-write-category.d.ts +5 -42
  83. package/dist/access-observe-write-category.d.ts.map +1 -0
  84. package/dist/access-observe-write-category.js +7 -7
  85. package/dist/access-observe-write-surface.d.ts +6 -151
  86. package/dist/access-observe-write-surface.d.ts.map +1 -0
  87. package/dist/access-observe-write-surface.js +65 -60
  88. package/dist/access-offline-manifest.d.ts +10 -124
  89. package/dist/access-offline-manifest.d.ts.map +1 -0
  90. package/dist/access-offline-manifest.js +7 -7
  91. package/dist/access-operations-batch.d.ts +12 -2
  92. package/dist/access-operations-batch.d.ts.map +1 -0
  93. package/dist/access-operations-batch.js +69 -66
  94. package/dist/access-operations.d.ts +66 -188
  95. package/dist/access-operations.d.ts.map +1 -0
  96. package/dist/access-operations.js +76 -73
  97. package/dist/access-recall-concurrency.d.ts +11 -156
  98. package/dist/access-recall-concurrency.d.ts.map +1 -0
  99. package/dist/access-recall-concurrency.js +65 -60
  100. package/dist/access-recall-diagnostics.d.ts +64 -0
  101. package/dist/access-recall-diagnostics.d.ts.map +1 -0
  102. package/dist/access-recall-diagnostics.js +26 -0
  103. package/dist/access-recall-response.d.ts +7 -151
  104. package/dist/access-recall-response.d.ts.map +1 -0
  105. package/dist/access-recall-response.js +65 -60
  106. package/dist/access-recall-surface.d.ts +11 -152
  107. package/dist/access-recall-surface.d.ts.map +1 -0
  108. package/dist/access-recall-surface.js +65 -60
  109. package/dist/access-schema.d.ts +106 -124
  110. package/dist/access-schema.d.ts.map +1 -0
  111. package/dist/access-schema.js +3 -3
  112. package/dist/access-service-helpers.d.ts +33 -145
  113. package/dist/access-service-helpers.d.ts.map +1 -0
  114. package/dist/access-service.d.ts +1825 -145
  115. package/dist/access-service.d.ts.map +1 -0
  116. package/dist/access-service.js +65 -60
  117. package/dist/access-surface-catalog.d.ts +7 -154
  118. package/dist/access-surface-catalog.d.ts.map +1 -0
  119. package/dist/access-surface-catalog.js +69 -62
  120. package/dist/access-surface-catalog.js.map +1 -1
  121. package/dist/access-token-capabilities.d.ts +19 -22
  122. package/dist/access-token-capabilities.d.ts.map +1 -0
  123. package/dist/access-token-capabilities.js +2 -2
  124. package/dist/access-wearables-meetings-surface.d.ts +14 -54
  125. package/dist/access-wearables-meetings-surface.d.ts.map +1 -0
  126. package/dist/action-confidence.d.ts +19 -40
  127. package/dist/action-confidence.d.ts.map +1 -0
  128. package/dist/active-context-config.d.ts +7 -8
  129. package/dist/active-context-config.d.ts.map +1 -0
  130. package/dist/active-context-transform.d.ts +31 -33
  131. package/dist/active-context-transform.d.ts.map +1 -0
  132. package/dist/active-memory-bridge.d.ts +10 -28
  133. package/dist/active-memory-bridge.d.ts.map +1 -0
  134. package/dist/active-recall.d.ts +11 -30
  135. package/dist/active-recall.d.ts.map +1 -0
  136. package/dist/active-recall.js +23 -23
  137. package/dist/activity/config.d.ts +24 -0
  138. package/dist/activity/config.d.ts.map +1 -0
  139. package/dist/activity/digest.d.ts +15 -35
  140. package/dist/activity/digest.d.ts.map +1 -0
  141. package/dist/activity/dwell.d.ts +14 -0
  142. package/dist/activity/dwell.d.ts.map +1 -0
  143. package/dist/activity/from-ms.d.ts +7 -0
  144. package/dist/activity/from-ms.d.ts.map +1 -0
  145. package/dist/activity/heading-level.d.ts +15 -0
  146. package/dist/activity/heading-level.d.ts.map +1 -0
  147. package/dist/activity/heading-title.d.ts +15 -0
  148. package/dist/activity/heading-title.d.ts.map +1 -0
  149. package/dist/activity/index.d.ts +46 -0
  150. package/dist/activity/index.d.ts.map +1 -0
  151. package/dist/activity/journal-extract.d.ts +68 -0
  152. package/dist/activity/journal-extract.d.ts.map +1 -0
  153. package/dist/activity/journal-heading.d.ts +26 -0
  154. package/dist/activity/journal-heading.d.ts.map +1 -0
  155. package/dist/activity/journal-path.d.ts +9 -0
  156. package/dist/activity/journal-path.d.ts.map +1 -0
  157. package/dist/activity/journal-read.d.ts +31 -0
  158. package/dist/activity/journal-read.d.ts.map +1 -0
  159. package/dist/activity/journal-section.d.ts +17 -0
  160. package/dist/activity/journal-section.d.ts.map +1 -0
  161. package/dist/activity/journal-source.d.ts +25 -0
  162. package/dist/activity/journal-source.d.ts.map +1 -0
  163. package/dist/activity/journal-state.d.ts +21 -0
  164. package/dist/activity/journal-state.d.ts.map +1 -0
  165. package/dist/activity/journal-state.lock-worker.d.ts +2 -0
  166. package/dist/activity/journal-state.lock-worker.d.ts.map +1 -0
  167. package/dist/activity/journal-strip.d.ts +6 -0
  168. package/dist/activity/journal-strip.d.ts.map +1 -0
  169. package/dist/activity/journal-vault-prereq.d.ts +23 -0
  170. package/dist/activity/journal-vault-prereq.d.ts.map +1 -0
  171. package/dist/activity/journal-vault-provenance.d.ts +12 -0
  172. package/dist/activity/journal-vault-provenance.d.ts.map +1 -0
  173. package/dist/activity/journal-vault-read.d.ts +32 -0
  174. package/dist/activity/journal-vault-read.d.ts.map +1 -0
  175. package/dist/activity/journal.d.ts +29 -0
  176. package/dist/activity/journal.d.ts.map +1 -0
  177. package/dist/activity/memory-gen.d.ts +71 -0
  178. package/dist/activity/memory-gen.d.ts.map +1 -0
  179. package/dist/activity/pipeline.d.ts +44 -0
  180. package/dist/activity/pipeline.d.ts.map +1 -0
  181. package/dist/activity/privacy-delete-plan.d.ts +22 -0
  182. package/dist/activity/privacy-delete-plan.d.ts.map +1 -0
  183. package/dist/activity/privacy-enabled.d.ts +16 -0
  184. package/dist/activity/privacy-enabled.d.ts.map +1 -0
  185. package/dist/activity/privacy-gate-resolve.d.ts +17 -0
  186. package/dist/activity/privacy-gate-resolve.d.ts.map +1 -0
  187. package/dist/activity/privacy-keys.d.ts +8 -0
  188. package/dist/activity/privacy-keys.d.ts.map +1 -0
  189. package/dist/activity/privacy-redact.d.ts +13 -0
  190. package/dist/activity/privacy-redact.d.ts.map +1 -0
  191. package/dist/activity/privacy-status.d.ts +30 -0
  192. package/dist/activity/privacy-status.d.ts.map +1 -0
  193. package/dist/activity/privacy-window.d.ts +15 -0
  194. package/dist/activity/privacy-window.d.ts.map +1 -0
  195. package/dist/activity/privacy.d.ts +17 -0
  196. package/dist/activity/privacy.d.ts.map +1 -0
  197. package/dist/activity/reindex.d.ts +23 -0
  198. package/dist/activity/reindex.d.ts.map +1 -0
  199. package/dist/activity/retain-days.d.ts +8 -0
  200. package/dist/activity/retain-days.d.ts.map +1 -0
  201. package/dist/activity/runner.d.ts +100 -0
  202. package/dist/activity/runner.d.ts.map +1 -0
  203. package/dist/activity/scheduler.d.ts +90 -0
  204. package/dist/activity/scheduler.d.ts.map +1 -0
  205. package/dist/activity/source-client.d.ts +24 -0
  206. package/dist/activity/source-client.d.ts.map +1 -0
  207. package/dist/activity/store.d.ts +53 -0
  208. package/dist/activity/store.d.ts.map +1 -0
  209. package/dist/activity/sync-registration.d.ts +83 -0
  210. package/dist/activity/sync-registration.d.ts.map +1 -0
  211. package/dist/activity/timeline/analysis-batch-empty.d.ts +8 -0
  212. package/dist/activity/timeline/analysis-batch-empty.d.ts.map +1 -0
  213. package/dist/activity/timeline/analysis-batch.d.ts +12 -0
  214. package/dist/activity/timeline/analysis-batch.d.ts.map +1 -0
  215. package/dist/activity/timeline/analysis-claim.d.ts +14 -0
  216. package/dist/activity/timeline/analysis-claim.d.ts.map +1 -0
  217. package/dist/activity/timeline/analysis-dup.d.ts +8 -0
  218. package/dist/activity/timeline/analysis-dup.d.ts.map +1 -0
  219. package/dist/activity/timeline/analysis-empty.d.ts +8 -0
  220. package/dist/activity/timeline/analysis-empty.d.ts.map +1 -0
  221. package/dist/activity/timeline/analysis-evidence.d.ts +12 -0
  222. package/dist/activity/timeline/analysis-evidence.d.ts.map +1 -0
  223. package/dist/activity/timeline/analysis-failure.d.ts +19 -0
  224. package/dist/activity/timeline/analysis-failure.d.ts.map +1 -0
  225. package/dist/activity/timeline/analysis-max.d.ts +8 -0
  226. package/dist/activity/timeline/analysis-max.d.ts.map +1 -0
  227. package/dist/activity/timeline/analysis-metadata.d.ts +30 -0
  228. package/dist/activity/timeline/analysis-metadata.d.ts.map +1 -0
  229. package/dist/activity/timeline/analysis-order.d.ts +8 -0
  230. package/dist/activity/timeline/analysis-order.d.ts.map +1 -0
  231. package/dist/activity/timeline/analysis-overlap.d.ts +8 -0
  232. package/dist/activity/timeline/analysis-overlap.d.ts.map +1 -0
  233. package/dist/activity/timeline/analysis-prompt.d.ts +13 -0
  234. package/dist/activity/timeline/analysis-prompt.d.ts.map +1 -0
  235. package/dist/activity/timeline/analysis-provider.d.ts +84 -0
  236. package/dist/activity/timeline/analysis-provider.d.ts.map +1 -0
  237. package/dist/activity/timeline/analysis-run.d.ts +40 -0
  238. package/dist/activity/timeline/analysis-run.d.ts.map +1 -0
  239. package/dist/activity/timeline/analysis.d.ts +63 -0
  240. package/dist/activity/timeline/analysis.d.ts.map +1 -0
  241. package/dist/activity/timeline/build.d.ts +50 -0
  242. package/dist/activity/timeline/build.d.ts.map +1 -0
  243. package/dist/activity/timeline/categories.d.ts +27 -0
  244. package/dist/activity/timeline/categories.d.ts.map +1 -0
  245. package/dist/activity/timeline/classify.d.ts +20 -0
  246. package/dist/activity/timeline/classify.d.ts.map +1 -0
  247. package/dist/activity/timeline/corrections.d.ts +37 -0
  248. package/dist/activity/timeline/corrections.d.ts.map +1 -0
  249. package/dist/activity/timeline/index.d.ts +35 -0
  250. package/dist/activity/timeline/index.d.ts.map +1 -0
  251. package/dist/activity/timeline/journal-recap-persist.d.ts +14 -0
  252. package/dist/activity/timeline/journal-recap-persist.d.ts.map +1 -0
  253. package/dist/activity/timeline/journal-recap.d.ts +21 -0
  254. package/dist/activity/timeline/journal-recap.d.ts.map +1 -0
  255. package/dist/activity/timeline/publish-cli.d.ts +17 -0
  256. package/dist/activity/timeline/publish-cli.d.ts.map +1 -0
  257. package/dist/activity/timeline/query.d.ts +86 -0
  258. package/dist/activity/timeline/query.d.ts.map +1 -0
  259. package/dist/activity/timeline/recap-card-count.d.ts +7 -0
  260. package/dist/activity/timeline/recap-card-count.d.ts.map +1 -0
  261. package/dist/activity/timeline/recap-card-id.d.ts +14 -0
  262. package/dist/activity/timeline/recap-card-id.d.ts.map +1 -0
  263. package/dist/activity/timeline/recap-date.d.ts +15 -0
  264. package/dist/activity/timeline/recap-date.d.ts.map +1 -0
  265. package/dist/activity/timeline/recap-empty.d.ts +8 -0
  266. package/dist/activity/timeline/recap-empty.d.ts.map +1 -0
  267. package/dist/activity/timeline/recap-export-range.d.ts +55 -0
  268. package/dist/activity/timeline/recap-export-range.d.ts.map +1 -0
  269. package/dist/activity/timeline/recap-export.d.ts +48 -0
  270. package/dist/activity/timeline/recap-export.d.ts.map +1 -0
  271. package/dist/activity/timeline/recap-fallback.d.ts +47 -0
  272. package/dist/activity/timeline/recap-fallback.d.ts.map +1 -0
  273. package/dist/activity/timeline/recap-id.d.ts +8 -0
  274. package/dist/activity/timeline/recap-id.d.ts.map +1 -0
  275. package/dist/activity/timeline/recap-markdown.d.ts +15 -0
  276. package/dist/activity/timeline/recap-markdown.d.ts.map +1 -0
  277. package/dist/activity/timeline/recap-merge-edits.d.ts +24 -0
  278. package/dist/activity/timeline/recap-merge-edits.d.ts.map +1 -0
  279. package/dist/activity/timeline/recap-sort-key.d.ts +9 -0
  280. package/dist/activity/timeline/recap-sort-key.d.ts.map +1 -0
  281. package/dist/activity/timeline/recap-tz.d.ts +15 -0
  282. package/dist/activity/timeline/recap-tz.d.ts.map +1 -0
  283. package/dist/activity/timeline/recap-window.d.ts +19 -0
  284. package/dist/activity/timeline/recap-window.d.ts.map +1 -0
  285. package/dist/activity/timeline/regenerate.d.ts +84 -0
  286. package/dist/activity/timeline/regenerate.d.ts.map +1 -0
  287. package/dist/activity/timeline/types.d.ts +98 -0
  288. package/dist/activity/timeline/types.d.ts.map +1 -0
  289. package/dist/activity/timeline/week-config-hash.d.ts +13 -0
  290. package/dist/activity/timeline/week-config-hash.d.ts.map +1 -0
  291. package/dist/activity/timeline/week-count.d.ts +7 -0
  292. package/dist/activity/timeline/week-count.d.ts.map +1 -0
  293. package/dist/activity/timeline/week-dashboard.d.ts +79 -0
  294. package/dist/activity/timeline/week-dashboard.d.ts.map +1 -0
  295. package/dist/activity/timeline/week-days.d.ts +6 -0
  296. package/dist/activity/timeline/week-days.d.ts.map +1 -0
  297. package/dist/activity/timeline/week-export.d.ts +27 -0
  298. package/dist/activity/timeline/week-export.d.ts.map +1 -0
  299. package/dist/activity/timeline/week-iso.d.ts +16 -0
  300. package/dist/activity/timeline/week-iso.d.ts.map +1 -0
  301. package/dist/activity/timeline/week-monday.d.ts +3 -0
  302. package/dist/activity/timeline/week-monday.d.ts.map +1 -0
  303. package/dist/activity/timeline/week-previous.d.ts +39 -0
  304. package/dist/activity/timeline/week-previous.d.ts.map +1 -0
  305. package/dist/activity/timeline/week-range.d.ts +10 -0
  306. package/dist/activity/timeline/week-range.d.ts.map +1 -0
  307. package/dist/activity/timeline/week-recurring.d.ts +21 -0
  308. package/dist/activity/timeline/week-recurring.d.ts.map +1 -0
  309. package/dist/activity/timeline/week-snapshot.d.ts +17 -0
  310. package/dist/activity/timeline/week-snapshot.d.ts.map +1 -0
  311. package/dist/activity/timeline/week-span.d.ts +2 -0
  312. package/dist/activity/timeline/week-span.d.ts.map +1 -0
  313. package/dist/activity/timeline/week-sunday.d.ts +3 -0
  314. package/dist/activity/timeline/week-sunday.d.ts.map +1 -0
  315. package/dist/activity/timeline/weekly-persist.d.ts +18 -0
  316. package/dist/activity/timeline/weekly-persist.d.ts.map +1 -0
  317. package/dist/activity/timeline/weekly.d.ts +42 -0
  318. package/dist/activity/timeline/weekly.d.ts.map +1 -0
  319. package/dist/activity/to-ms.d.ts +7 -0
  320. package/dist/activity/to-ms.d.ts.map +1 -0
  321. package/dist/activity/types.d.ts +208 -0
  322. package/dist/activity/types.d.ts.map +1 -0
  323. package/dist/activity/vault-begin.d.ts +8 -0
  324. package/dist/activity/vault-begin.d.ts.map +1 -0
  325. package/dist/activity/vault-body-trim.d.ts +7 -0
  326. package/dist/activity/vault-body-trim.d.ts.map +1 -0
  327. package/dist/activity/vault-dry-run.d.ts +13 -0
  328. package/dist/activity/vault-dry-run.d.ts.map +1 -0
  329. package/dist/activity/vault-end.d.ts +8 -0
  330. package/dist/activity/vault-end.d.ts.map +1 -0
  331. package/dist/activity/vault-frontmatter.d.ts +41 -0
  332. package/dist/activity/vault-frontmatter.d.ts.map +1 -0
  333. package/dist/activity/vault-insert.d.ts +24 -0
  334. package/dist/activity/vault-insert.d.ts.map +1 -0
  335. package/dist/activity/vault-join.d.ts +2 -0
  336. package/dist/activity/vault-join.d.ts.map +1 -0
  337. package/dist/activity/vault-marker.d.ts +12 -0
  338. package/dist/activity/vault-marker.d.ts.map +1 -0
  339. package/dist/activity/vault-name-trim.d.ts +7 -0
  340. package/dist/activity/vault-name-trim.d.ts.map +1 -0
  341. package/dist/activity/vault-path.d.ts +20 -0
  342. package/dist/activity/vault-path.d.ts.map +1 -0
  343. package/dist/activity/vault-publish.d.ts +71 -0
  344. package/dist/activity/vault-publish.d.ts.map +1 -0
  345. package/dist/activity/vault-publisher.d.ts +58 -0
  346. package/dist/activity/vault-publisher.d.ts.map +1 -0
  347. package/dist/activity/vault-region-pair.d.ts +17 -0
  348. package/dist/activity/vault-region-pair.d.ts.map +1 -0
  349. package/dist/activity/vault-region.d.ts +24 -0
  350. package/dist/activity/vault-region.d.ts.map +1 -0
  351. package/dist/activity/vault-status.d.ts +32 -0
  352. package/dist/activity/vault-status.d.ts.map +1 -0
  353. package/dist/activity/vault-suffix.d.ts +7 -0
  354. package/dist/activity/vault-suffix.d.ts.map +1 -0
  355. package/dist/activity/vault-wikilink.d.ts +2 -0
  356. package/dist/activity/vault-wikilink.d.ts.map +1 -0
  357. package/dist/activity/window-order.d.ts +17 -0
  358. package/dist/activity/window-order.d.ts.map +1 -0
  359. package/dist/adapters/claude-code.d.ts +3 -5
  360. package/dist/adapters/claude-code.d.ts.map +1 -0
  361. package/dist/adapters/codex.d.ts +3 -5
  362. package/dist/adapters/codex.d.ts.map +1 -0
  363. package/dist/adapters/grok.d.ts +23 -0
  364. package/dist/adapters/grok.d.ts.map +1 -0
  365. package/dist/adapters/hermes.d.ts +3 -5
  366. package/dist/adapters/hermes.d.ts.map +1 -0
  367. package/dist/adapters/index.d.ts +9 -51
  368. package/dist/adapters/index.d.ts.map +1 -0
  369. package/dist/adapters/index.js +4 -4
  370. package/dist/adapters/opencode.d.ts +22 -0
  371. package/dist/adapters/opencode.d.ts.map +1 -0
  372. package/dist/adapters/registry.d.ts +3 -5
  373. package/dist/adapters/registry.d.ts.map +1 -0
  374. package/dist/adapters/registry.js +2 -2
  375. package/dist/adapters/replit.d.ts +3 -5
  376. package/dist/adapters/replit.d.ts.map +1 -0
  377. package/dist/adapters/types.d.ts +5 -6
  378. package/dist/adapters/types.d.ts.map +1 -0
  379. package/dist/admin/admin-surfaces.d.ts +362 -0
  380. package/dist/admin/admin-surfaces.d.ts.map +1 -0
  381. package/dist/ambient-provenance.d.ts +10 -30
  382. package/dist/ambient-provenance.d.ts.map +1 -0
  383. package/dist/archive-mutation-version.d.ts +8 -9
  384. package/dist/archive-mutation-version.d.ts.map +1 -0
  385. package/dist/artifact-search.d.ts +5 -25
  386. package/dist/artifact-search.d.ts.map +1 -0
  387. package/dist/auto-sync-CWSZDLLW.js +1 -1
  388. package/dist/background-generation-config.d.ts +3 -4
  389. package/dist/background-generation-config.d.ts.map +1 -0
  390. package/dist/background-generation.d.ts +5 -24
  391. package/dist/background-generation.d.ts.map +1 -0
  392. package/dist/behavior-learner.d.ts +6 -25
  393. package/dist/behavior-learner.d.ts.map +1 -0
  394. package/dist/behavior-signals.d.ts +5 -24
  395. package/dist/behavior-signals.d.ts.map +1 -0
  396. package/dist/binary-lifecycle/backend.d.ts +46 -0
  397. package/dist/binary-lifecycle/backend.d.ts.map +1 -0
  398. package/dist/binary-lifecycle/index.d.ts +13 -0
  399. package/dist/binary-lifecycle/index.d.ts.map +1 -0
  400. package/dist/binary-lifecycle/manifest.d.ts +22 -0
  401. package/dist/binary-lifecycle/manifest.d.ts.map +1 -0
  402. package/dist/binary-lifecycle/pipeline.d.ts +33 -0
  403. package/dist/binary-lifecycle/pipeline.d.ts.map +1 -0
  404. package/dist/binary-lifecycle/scanner.d.ts +21 -0
  405. package/dist/binary-lifecycle/scanner.d.ts.map +1 -0
  406. package/dist/binary-lifecycle/types.d.ts +70 -0
  407. package/dist/binary-lifecycle/types.d.ts.map +1 -0
  408. package/dist/bootstrap.d.ts +6 -115
  409. package/dist/bootstrap.d.ts.map +1 -0
  410. package/dist/bounded-jsonl-state.d.ts +5 -5
  411. package/dist/bounded-jsonl-state.d.ts.map +1 -0
  412. package/dist/boxes.d.ts +9 -9
  413. package/dist/boxes.d.ts.map +1 -0
  414. package/dist/briefing-window.d.ts +8 -40
  415. package/dist/briefing-window.d.ts.map +1 -0
  416. package/dist/briefing.d.ts +28 -61
  417. package/dist/briefing.d.ts.map +1 -0
  418. package/dist/briefing.js +14 -14
  419. package/dist/buffer-surprise-report.d.ts +6 -26
  420. package/dist/buffer-surprise-report.d.ts.map +1 -0
  421. package/dist/buffer-surprise.d.ts +5 -6
  422. package/dist/buffer-surprise.d.ts.map +1 -0
  423. package/dist/buffer-turn-helpers.d.ts +32 -18
  424. package/dist/buffer-turn-helpers.d.ts.map +1 -0
  425. package/dist/buffer.d.ts +9 -41
  426. package/dist/buffer.d.ts.map +1 -0
  427. package/dist/buffer.js +3 -3
  428. package/dist/bulk-import/index.d.ts +4 -44
  429. package/dist/bulk-import/index.d.ts.map +1 -0
  430. package/dist/bulk-import/pipeline.d.ts +30 -0
  431. package/dist/bulk-import/pipeline.d.ts.map +1 -0
  432. package/dist/bulk-import/registry.d.ts +23 -0
  433. package/dist/bulk-import/registry.d.ts.map +1 -0
  434. package/dist/bulk-import/types.d.ts +83 -0
  435. package/dist/bulk-import/types.d.ts.map +1 -0
  436. package/dist/calibration.d.ts +14 -37
  437. package/dist/calibration.d.ts.map +1 -0
  438. package/dist/capabilities.d.ts +64 -84
  439. package/dist/capabilities.d.ts.map +1 -0
  440. package/dist/capsule-cli.d.ts +23 -24
  441. package/dist/capsule-cli.d.ts.map +1 -0
  442. package/dist/capsule-crypto-7FJQINUR.js +18 -0
  443. package/dist/causal-behavior.d.ts +9 -38
  444. package/dist/causal-behavior.d.ts.map +1 -0
  445. package/dist/causal-behavior.js +2 -2
  446. package/dist/causal-chain.d.ts +13 -17
  447. package/dist/causal-chain.d.ts.map +1 -0
  448. package/dist/causal-chain.js +2 -2
  449. package/dist/causal-consolidation.d.ts +10 -29
  450. package/dist/causal-consolidation.d.ts.map +1 -0
  451. package/dist/causal-consolidation.js +17 -17
  452. package/dist/causal-retrieval.d.ts +6 -11
  453. package/dist/causal-retrieval.d.ts.map +1 -0
  454. package/dist/causal-retrieval.js +2 -2
  455. package/dist/causal-trajectory-graph.d.ts +7 -29
  456. package/dist/causal-trajectory-graph.d.ts.map +1 -0
  457. package/dist/causal-trajectory-graph.js +2 -2
  458. package/dist/causal-trajectory.d.ts +23 -25
  459. package/dist/causal-trajectory.d.ts.map +1 -0
  460. package/dist/causal-trajectory.js +1 -1
  461. package/dist/census-validation.d.ts +5 -6
  462. package/dist/census-validation.d.ts.map +1 -0
  463. package/dist/chat/chat-cli.d.ts +38 -0
  464. package/dist/chat/chat-cli.d.ts.map +1 -0
  465. package/dist/chat/chat-config.d.ts +25 -0
  466. package/dist/chat/chat-config.d.ts.map +1 -0
  467. package/dist/chat/chat-engine.d.ts +82 -0
  468. package/dist/chat/chat-engine.d.ts.map +1 -0
  469. package/dist/chat/chat-executor.d.ts +26 -0
  470. package/dist/chat/chat-executor.d.ts.map +1 -0
  471. package/dist/chat/chat-factory.d.ts +46 -0
  472. package/dist/chat/chat-factory.d.ts.map +1 -0
  473. package/dist/chat/chat-http.d.ts +83 -0
  474. package/dist/chat/chat-http.d.ts.map +1 -0
  475. package/dist/chat/chat-llm.d.ts +77 -0
  476. package/dist/chat/chat-llm.d.ts.map +1 -0
  477. package/dist/chat/chat-session.d.ts +118 -0
  478. package/dist/chat/chat-session.d.ts.map +1 -0
  479. package/dist/chat/chat-system-prompt.d.ts +23 -0
  480. package/dist/chat/chat-system-prompt.d.ts.map +1 -0
  481. package/dist/chat/chat-tools.d.ts +22 -0
  482. package/dist/chat/chat-tools.d.ts.map +1 -0
  483. package/dist/chat/chat-types.d.ts +134 -0
  484. package/dist/chat/chat-types.d.ts.map +1 -0
  485. package/dist/chunk-2CBWEIS4.js +1286 -0
  486. package/dist/chunk-2JQZSQXI.js +81 -0
  487. package/dist/chunk-2KHIBLO5.js +33 -0
  488. package/dist/chunk-2KHIBLO5.js.map +1 -0
  489. package/dist/chunk-2NLLXCJG.js +112 -0
  490. package/dist/chunk-2WMXZYMS.js +25 -0
  491. package/dist/chunk-34ZGBAGE.js +61 -0
  492. package/dist/chunk-36S7UHAW.js +623 -0
  493. package/dist/chunk-3JLWSFTV.js +801 -0
  494. package/dist/chunk-3MUKQQ7A.js +157 -0
  495. package/dist/chunk-3MUKQQ7A.js.map +1 -0
  496. package/dist/chunk-3RZOLUZT.js +140 -0
  497. package/dist/chunk-3SL52JKD.js +160 -0
  498. package/dist/chunk-4ALOINQ4.js +18512 -0
  499. package/dist/chunk-4ALOINQ4.js.map +1 -0
  500. package/dist/chunk-4QEZS7PK.js +502 -0
  501. package/dist/chunk-52VL6LCY.js +648 -0
  502. package/dist/chunk-52VL6LCY.js.map +1 -0
  503. package/dist/chunk-5HFVWYHL.js +111 -0
  504. package/dist/chunk-5HFVWYHL.js.map +1 -0
  505. package/dist/chunk-5QRYGLZN.js +35 -0
  506. package/dist/chunk-5R3C5LEZ.js +263 -0
  507. package/dist/chunk-634UKELB.js +77 -0
  508. package/dist/chunk-64JK4TL7.js +801 -0
  509. package/dist/chunk-6E5GYDIE.js +141 -0
  510. package/dist/chunk-6ISP2EN2.js +51 -0
  511. package/dist/chunk-6RD7MSIO.js +212 -0
  512. package/dist/chunk-6UDLN4IA.js +70 -0
  513. package/dist/chunk-754XN6LX.js +256 -0
  514. package/dist/chunk-7H2LEYYJ.js +256 -0
  515. package/dist/chunk-A7AISUJI.js +103 -0
  516. package/dist/chunk-AULKCNZW.js +727 -0
  517. package/dist/chunk-B7SSU55V.js +1686 -0
  518. package/dist/chunk-BICNRVEC.js +224 -0
  519. package/dist/chunk-BJI2D4SU.js +53 -0
  520. package/dist/chunk-BQB5ZMYO.js +28 -0
  521. package/dist/chunk-BSDBDFKZ.js +168 -0
  522. package/dist/chunk-BSDBDFKZ.js.map +1 -0
  523. package/dist/chunk-C5CPYMLX.js +315 -0
  524. package/dist/chunk-C6LRFPZL.js +4007 -0
  525. package/dist/chunk-C6LRFPZL.js.map +1 -0
  526. package/dist/chunk-CS2JO77A.js +95 -0
  527. package/dist/chunk-DTABICJ3.js +549 -0
  528. package/dist/chunk-DXODYQ7J.js +319 -0
  529. package/dist/chunk-DXODYQ7J.js.map +1 -0
  530. package/dist/chunk-E6UNM67F.js +432 -0
  531. package/dist/chunk-ENUI3IO7.js +271 -0
  532. package/dist/chunk-FF2XYADH.js +1084 -0
  533. package/dist/chunk-FF6N7BXC.js +389 -0
  534. package/dist/chunk-FNQEXI3D.js +22 -0
  535. package/dist/chunk-FNQEXI3D.js.map +1 -0
  536. package/dist/chunk-FSXD6Y4H.js +203 -0
  537. package/dist/chunk-GK6NOQE6.js +3400 -0
  538. package/dist/chunk-GRSFFLUY.js +43 -0
  539. package/dist/chunk-GWK7FEUL.js +761 -0
  540. package/dist/chunk-GWQVMKUJ.js +218 -0
  541. package/dist/chunk-H7O5L2IQ.js +3560 -0
  542. package/dist/chunk-H7O5L2IQ.js.map +1 -0
  543. package/dist/chunk-HKHZWJ3E.js +63 -0
  544. package/dist/chunk-IAZPYX6W.js +182 -0
  545. package/dist/chunk-IG747LRN.js +189 -0
  546. package/dist/chunk-IK63WA5A.js +30 -0
  547. package/dist/chunk-IRGQYQQ7.js +143 -0
  548. package/dist/chunk-IRGQYQQ7.js.map +1 -0
  549. package/dist/chunk-IUD6NLNM.js +24 -0
  550. package/dist/chunk-JSJZ2NXS.js +9782 -0
  551. package/dist/chunk-JUOJGZPV.js +566 -0
  552. package/dist/chunk-KA4U5GQN.js +960 -0
  553. package/dist/chunk-KQAFEZQX.js +264 -0
  554. package/dist/chunk-L4WBADKG.js +72 -0
  555. package/dist/chunk-LAL4B37X.js +275 -0
  556. package/dist/chunk-LELJRLPY.js +253 -0
  557. package/dist/chunk-LMMQKZK3.js +403 -0
  558. package/dist/chunk-LQ23DMTT.js +74 -0
  559. package/dist/chunk-LV6ZB6CA.js +285 -0
  560. package/dist/chunk-M5IJP3YW.js +5505 -0
  561. package/dist/chunk-MMMYRC7Q.js +606 -0
  562. package/dist/chunk-MMMYRC7Q.js.map +1 -0
  563. package/dist/chunk-MWZMVLXL.js +415 -0
  564. package/dist/chunk-MZUQVWVC.js +72 -0
  565. package/dist/chunk-MZUQVWVC.js.map +1 -0
  566. package/dist/chunk-N4VCHRLD.js +29 -0
  567. package/dist/chunk-NKXHCCLB.js +879 -0
  568. package/dist/chunk-NVCWA4QC.js +112 -0
  569. package/dist/chunk-ONWVMYHX.js +122 -0
  570. package/dist/chunk-P6P35FY4.js +54 -0
  571. package/dist/chunk-P7M22CYB.js +346 -0
  572. package/dist/chunk-QMWKENNK.js +111 -0
  573. package/dist/chunk-QOPB6KE3.js +1530 -0
  574. package/dist/chunk-RBULO7DO.js +223 -0
  575. package/dist/chunk-RDESQOEE.js +1008 -0
  576. package/dist/chunk-RMF763SX.js +115 -0
  577. package/dist/chunk-RN6ZCNM5.js +321 -0
  578. package/dist/chunk-S2OBXHMN.js +11341 -0
  579. package/dist/chunk-S3JPD4N7.js +216 -0
  580. package/dist/chunk-SF6RFI5Z.js +165 -0
  581. package/dist/chunk-SJV3AOZ2.js +2453 -0
  582. package/dist/chunk-SLULR4GC.js +202 -0
  583. package/dist/chunk-TFXXMTHV.js +1476 -0
  584. package/dist/chunk-TYP7GYRI.js +216 -0
  585. package/dist/chunk-TYZK56OA.js +2440 -0
  586. package/dist/chunk-VLDVNZQE.js +921 -0
  587. package/dist/chunk-W6YK672C.js +511 -0
  588. package/dist/chunk-X2NFFBTO.js +576 -0
  589. package/dist/chunk-X45KZOT2.js +1917 -0
  590. package/dist/chunk-X7Y7WX73.js +249 -0
  591. package/dist/chunk-XIXM6G7I.js +43 -0
  592. package/dist/chunk-XLXYARWC.js +210 -0
  593. package/dist/chunk-XVW52M6I.js +223 -0
  594. package/dist/chunk-YHU5XUF4.js +342 -0
  595. package/dist/chunk-YRH3C2OJ.js +73 -0
  596. package/dist/chunk-YXQE67A7.js +137 -0
  597. package/dist/chunk-ZHUVMSHI.js +731 -0
  598. package/dist/chunk-ZHXSOMYH.js +297 -0
  599. package/dist/chunk-ZIEZJMFW.js +768 -0
  600. package/dist/chunk-ZMT4ZVJU.js +31013 -0
  601. package/dist/chunk-ZMT4ZVJU.js.map +1 -0
  602. package/dist/chunk-ZOASYXBS.js +629 -0
  603. package/dist/chunk-ZOASYXBS.js.map +1 -0
  604. package/dist/chunk-ZSEFGDCI.js +98 -0
  605. package/dist/chunk-ZX5N5D6M.js +65 -0
  606. package/dist/chunking.d.ts +9 -10
  607. package/dist/chunking.d.ts.map +1 -0
  608. package/dist/citations.d.ts +8 -9
  609. package/dist/citations.d.ts.map +1 -0
  610. package/dist/cli/creation-ledger-commands.d.ts +24 -0
  611. package/dist/cli/creation-ledger-commands.d.ts.map +1 -0
  612. package/dist/cli/deep-recall-commands.d.ts +19 -0
  613. package/dist/cli/deep-recall-commands.d.ts.map +1 -0
  614. package/dist/cli/harmonic-search.d.ts +12 -0
  615. package/dist/cli/harmonic-search.d.ts.map +1 -0
  616. package/dist/cli/meetings-commands.d.ts +16 -0
  617. package/dist/cli/meetings-commands.d.ts.map +1 -0
  618. package/dist/cli/memory-browse-commands.d.ts +11 -0
  619. package/dist/cli/memory-browse-commands.d.ts.map +1 -0
  620. package/dist/cli/okf-commands.d.ts +5 -0
  621. package/dist/cli/okf-commands.d.ts.map +1 -0
  622. package/dist/cli/recall-navigation-commands.d.ts +11 -0
  623. package/dist/cli/recall-navigation-commands.d.ts.map +1 -0
  624. package/dist/cli/research-status-commands.d.ts +26 -0
  625. package/dist/cli/research-status-commands.d.ts.map +1 -0
  626. package/dist/cli/skills-commands.d.ts +14 -0
  627. package/dist/cli/skills-commands.d.ts.map +1 -0
  628. package/dist/cli/timeline-publish-commands.d.ts +11 -0
  629. package/dist/cli/timeline-publish-commands.d.ts.map +1 -0
  630. package/dist/cli-fallback.d.ts +13 -14
  631. package/dist/cli-fallback.d.ts.map +1 -0
  632. package/dist/cli.d.ts +1036 -165
  633. package/dist/cli.d.ts.map +1 -0
  634. package/dist/cli.js +120 -116
  635. package/dist/coding/action-gate.d.ts +176 -0
  636. package/dist/coding/action-gate.d.ts.map +1 -0
  637. package/dist/coding/architecture-card.d.ts +135 -0
  638. package/dist/coding/architecture-card.d.ts.map +1 -0
  639. package/dist/coding/architecture-surfaces.d.ts +166 -0
  640. package/dist/coding/architecture-surfaces.d.ts.map +1 -0
  641. package/dist/coding/codegraph-runtime.d.ts +321 -0
  642. package/dist/coding/codegraph-runtime.d.ts.map +1 -0
  643. package/dist/coding/codegraph-surfaces.d.ts +191 -0
  644. package/dist/coding/codegraph-surfaces.d.ts.map +1 -0
  645. package/dist/coding/coding-graph-types.d.ts +16 -17
  646. package/dist/coding/coding-graph-types.d.ts.map +1 -0
  647. package/dist/coding/coding-knowledge-config.d.ts +69 -0
  648. package/dist/coding/coding-knowledge-config.d.ts.map +1 -0
  649. package/dist/coding/coding-namespace.d.ts +214 -0
  650. package/dist/coding/coding-namespace.d.ts.map +1 -0
  651. package/dist/coding/decision-records.d.ts +120 -0
  652. package/dist/coding/decision-records.d.ts.map +1 -0
  653. package/dist/coding/decision-surfaces.d.ts +143 -0
  654. package/dist/coding/decision-surfaces.d.ts.map +1 -0
  655. package/dist/coding/export-okf-codegraph.d.ts +9 -28
  656. package/dist/coding/export-okf-codegraph.d.ts.map +1 -0
  657. package/dist/coding/export-okf-codegraph.js +13 -13
  658. package/dist/coding/git-context.d.ts +92 -0
  659. package/dist/coding/git-context.d.ts.map +1 -0
  660. package/dist/coding/optional-coding-graph.d.ts +9 -10
  661. package/dist/coding/optional-coding-graph.d.ts.map +1 -0
  662. package/dist/coding/pre-action-gate.d.ts +58 -18
  663. package/dist/coding/pre-action-gate.d.ts.map +1 -0
  664. package/dist/coding/pre-action-gate.js +2 -2
  665. package/dist/coding/review-context.d.ts +147 -0
  666. package/dist/coding/review-context.d.ts.map +1 -0
  667. package/dist/coding/session-delta-surfaces.d.ts +138 -0
  668. package/dist/coding/session-delta-surfaces.d.ts.map +1 -0
  669. package/dist/coding/session-delta.d.ts +201 -0
  670. package/dist/coding/session-delta.d.ts.map +1 -0
  671. package/dist/coding/structural-context.d.ts +194 -0
  672. package/dist/coding/structural-context.d.ts.map +1 -0
  673. package/dist/coding/structural-subprocess-provider.d.ts +50 -0
  674. package/dist/coding/structural-subprocess-provider.d.ts.map +1 -0
  675. package/dist/commitment-ledger.d.ts +13 -14
  676. package/dist/commitment-ledger.d.ts.map +1 -0
  677. package/dist/compat/checks.d.ts +3 -5
  678. package/dist/compat/checks.d.ts.map +1 -0
  679. package/dist/compat/codex-cli-fallback.d.ts +15 -1
  680. package/dist/compat/codex-cli-fallback.d.ts.map +1 -0
  681. package/dist/compat/codex-thread-key.d.ts +15 -1
  682. package/dist/compat/codex-thread-key.d.ts.map +1 -0
  683. package/dist/compat/types.d.ts +7 -8
  684. package/dist/compat/types.d.ts.map +1 -0
  685. package/dist/compounding/engine.d.ts +11 -44
  686. package/dist/compounding/engine.d.ts.map +1 -0
  687. package/dist/compounding/engine.js +14 -14
  688. package/dist/compounding/preference-consolidator.d.ts +10 -37
  689. package/dist/compounding/preference-consolidator.d.ts.map +1 -0
  690. package/dist/compression-optimizer.d.ts +10 -29
  691. package/dist/compression-optimizer.d.ts.map +1 -0
  692. package/dist/config-discovery.d.ts +4 -5
  693. package/dist/config-discovery.d.ts.map +1 -0
  694. package/dist/config-qmd.d.ts +7 -8
  695. package/dist/config-qmd.d.ts.map +1 -0
  696. package/dist/config-record.d.ts +2 -3
  697. package/dist/config-record.d.ts.map +1 -0
  698. package/dist/config-security.d.ts +2 -3
  699. package/dist/config-security.d.ts.map +1 -0
  700. package/dist/config.d.ts +7 -26
  701. package/dist/config.d.ts.map +1 -0
  702. package/dist/config.js +23 -23
  703. package/dist/connectors/codex-marketplace.d.ts +124 -0
  704. package/dist/connectors/codex-marketplace.d.ts.map +1 -0
  705. package/dist/connectors/codex-materialize-runner.d.ts +7 -27
  706. package/dist/connectors/codex-materialize-runner.d.ts.map +1 -0
  707. package/dist/connectors/codex-materialize-runner.js +14 -14
  708. package/dist/connectors/codex-materialize.d.ts +23 -41
  709. package/dist/connectors/codex-materialize.d.ts.map +1 -0
  710. package/dist/connectors/coerce.d.ts +73 -0
  711. package/dist/connectors/coerce.d.ts.map +1 -0
  712. package/dist/connectors/droid-mcp.d.ts +122 -0
  713. package/dist/connectors/droid-mcp.d.ts.map +1 -0
  714. package/dist/connectors/hermes-shim.d.ts +135 -0
  715. package/dist/connectors/hermes-shim.d.ts.map +1 -0
  716. package/dist/connectors/index.d.ts +42 -247
  717. package/dist/connectors/index.d.ts.map +1 -0
  718. package/dist/connectors/index.js +20 -20
  719. package/dist/connectors/label.d.ts +19 -0
  720. package/dist/connectors/label.d.ts.map +1 -0
  721. package/dist/connectors/live/framework.d.ts +169 -0
  722. package/dist/connectors/live/framework.d.ts.map +1 -0
  723. package/dist/connectors/live/github.d.ts +156 -0
  724. package/dist/connectors/live/github.d.ts.map +1 -0
  725. package/dist/connectors/live/gmail.d.ts +253 -0
  726. package/dist/connectors/live/gmail.d.ts.map +1 -0
  727. package/dist/connectors/live/google-drive.d.ts +198 -0
  728. package/dist/connectors/live/google-drive.d.ts.map +1 -0
  729. package/dist/connectors/live/index.d.ts +20 -0
  730. package/dist/connectors/live/index.d.ts.map +1 -0
  731. package/dist/connectors/live/notion.d.ts +146 -0
  732. package/dist/connectors/live/notion.d.ts.map +1 -0
  733. package/dist/connectors/live/registry.d.ts +53 -0
  734. package/dist/connectors/live/registry.d.ts.map +1 -0
  735. package/dist/connectors/live/state-store.d.ts +120 -0
  736. package/dist/connectors/live/state-store.d.ts.map +1 -0
  737. package/dist/connectors/live/transient-errors.d.ts +45 -0
  738. package/dist/connectors/live/transient-errors.d.ts.map +1 -0
  739. package/dist/connectors/materialize-paths.d.ts +15 -0
  740. package/dist/connectors/materialize-paths.d.ts.map +1 -0
  741. package/dist/connectors/materialize-skills.d.ts +52 -0
  742. package/dist/connectors/materialize-skills.d.ts.map +1 -0
  743. package/dist/connectors/paths.d.ts +78 -0
  744. package/dist/connectors/paths.d.ts.map +1 -0
  745. package/dist/connectors/prime-agent.d.ts +13 -0
  746. package/dist/connectors/prime-agent.d.ts.map +1 -0
  747. package/dist/connectors-cli.d.ts +170 -2
  748. package/dist/connectors-cli.d.ts.map +1 -0
  749. package/dist/console/state.d.ts +154 -0
  750. package/dist/console/state.d.ts.map +1 -0
  751. package/dist/console/trace.d.ts +199 -0
  752. package/dist/console/trace.d.ts.map +1 -0
  753. package/dist/console/tui.d.ts +106 -0
  754. package/dist/console/tui.d.ts.map +1 -0
  755. package/dist/consolidation-operator.d.ts +8 -9
  756. package/dist/consolidation-operator.d.ts.map +1 -0
  757. package/dist/consolidation-provenance-check.d.ts +5 -40
  758. package/dist/consolidation-provenance-check.d.ts.map +1 -0
  759. package/dist/consolidation-undo.d.ts +10 -44
  760. package/dist/consolidation-undo.d.ts.map +1 -0
  761. package/dist/content-hash.d.ts +6 -7
  762. package/dist/content-hash.d.ts.map +1 -0
  763. package/dist/context-summary.d.ts +8 -9
  764. package/dist/context-summary.d.ts.map +1 -0
  765. package/dist/contradiction/contradiction-judge.d.ts +65 -0
  766. package/dist/contradiction/contradiction-judge.d.ts.map +1 -0
  767. package/dist/contradiction/contradiction-review.d.ts +117 -0
  768. package/dist/contradiction/contradiction-review.d.ts.map +1 -0
  769. package/dist/contradiction/contradiction-scan.d.ts +74 -0
  770. package/dist/contradiction/contradiction-scan.d.ts.map +1 -0
  771. package/dist/contradiction/index.d.ts +12 -41
  772. package/dist/contradiction/index.d.ts.map +1 -0
  773. package/dist/contradiction/index.js +11 -11
  774. package/dist/contradiction/resolution.d.ts +57 -0
  775. package/dist/contradiction/resolution.d.ts.map +1 -0
  776. package/dist/contradiction-config.d.ts +5 -6
  777. package/dist/contradiction-config.d.ts.map +1 -0
  778. package/dist/converge-config.d.ts +9 -28
  779. package/dist/converge-config.d.ts.map +1 -0
  780. package/dist/convergence-refresh.d.ts +5 -40
  781. package/dist/convergence-refresh.d.ts.map +1 -0
  782. package/dist/convergence-refresh.js +16 -16
  783. package/dist/conversation-index/backend.d.ts +12 -31
  784. package/dist/conversation-index/backend.d.ts.map +1 -0
  785. package/dist/conversation-index/chunker.d.ts +4 -23
  786. package/dist/conversation-index/chunker.d.ts.map +1 -0
  787. package/dist/conversation-index/cleanup.d.ts +2 -3
  788. package/dist/conversation-index/cleanup.d.ts.map +1 -0
  789. package/dist/conversation-index/faiss-adapter.d.ts +63 -22
  790. package/dist/conversation-index/faiss-adapter.d.ts.map +1 -0
  791. package/dist/conversation-index/indexer.d.ts +9 -31
  792. package/dist/conversation-index/indexer.d.ts.map +1 -0
  793. package/dist/conversation-index/search.d.ts +10 -22
  794. package/dist/conversation-index/search.d.ts.map +1 -0
  795. package/dist/corpus-read-cancellation.d.ts +3 -4
  796. package/dist/corpus-read-cancellation.d.ts.map +1 -0
  797. package/dist/corpus-watermark.d.ts +19 -40
  798. package/dist/corpus-watermark.d.ts.map +1 -0
  799. package/dist/corpus-watermark.js +18 -18
  800. package/dist/correction/correction-access-wiring.d.ts +129 -0
  801. package/dist/correction/correction-access-wiring.d.ts.map +1 -0
  802. package/dist/correction/correction-contract.d.ts +220 -0
  803. package/dist/correction/correction-contract.d.ts.map +1 -0
  804. package/dist/correction/correction-executor.d.ts +174 -0
  805. package/dist/correction/correction-executor.d.ts.map +1 -0
  806. package/dist/correction/correction-planner.d.ts +162 -0
  807. package/dist/correction/correction-planner.d.ts.map +1 -0
  808. package/dist/correction/correction-service.d.ts +124 -0
  809. package/dist/correction/correction-service.d.ts.map +1 -0
  810. package/dist/correction/index.d.ts +23 -0
  811. package/dist/correction/index.d.ts.map +1 -0
  812. package/dist/correction/passive-capture.d.ts +107 -0
  813. package/dist/correction/passive-capture.d.ts.map +1 -0
  814. package/dist/correction/passive-correction-detector.d.ts +60 -0
  815. package/dist/correction/passive-correction-detector.d.ts.map +1 -0
  816. package/dist/correction/passive-correction-notifications.d.ts +36 -0
  817. package/dist/correction/passive-correction-notifications.d.ts.map +1 -0
  818. package/dist/cross-lingual-recall.d.ts +10 -29
  819. package/dist/cross-lingual-recall.d.ts.map +1 -0
  820. package/dist/cross-namespace-budget.d.ts +9 -10
  821. package/dist/cross-namespace-budget.d.ts.map +1 -0
  822. package/dist/cue-anchors.d.ts +11 -12
  823. package/dist/cue-anchors.d.ts.map +1 -0
  824. package/dist/curation/index.d.ts +98 -0
  825. package/dist/curation/index.d.ts.map +1 -0
  826. package/dist/dashboard-runtime.d.ts +4 -5
  827. package/dist/dashboard-runtime.d.ts.map +1 -0
  828. package/dist/day-summary.d.ts +5 -24
  829. package/dist/day-summary.d.ts.map +1 -0
  830. package/dist/dedup/connector-scope.d.ts +28 -0
  831. package/dist/dedup/connector-scope.d.ts.map +1 -0
  832. package/dist/dedup/index.d.ts +78 -0
  833. package/dist/dedup/index.d.ts.map +1 -0
  834. package/dist/dedup/merge-content.d.ts +24 -0
  835. package/dist/dedup/merge-content.d.ts.map +1 -0
  836. package/dist/dedup/merge-count.d.ts +7 -0
  837. package/dist/dedup/merge-count.d.ts.map +1 -0
  838. package/dist/dedup/merge-decision.d.ts +26 -0
  839. package/dist/dedup/merge-decision.d.ts.map +1 -0
  840. package/dist/dedup/merge-dup.d.ts +8 -0
  841. package/dist/dedup/merge-dup.d.ts.map +1 -0
  842. package/dist/dedup/merge-empty.d.ts +15 -0
  843. package/dist/dedup/merge-empty.d.ts.map +1 -0
  844. package/dist/dedup/merge-id.d.ts +8 -0
  845. package/dist/dedup/merge-id.d.ts.map +1 -0
  846. package/dist/dedup/merge-judge.d.ts +33 -0
  847. package/dist/dedup/merge-judge.d.ts.map +1 -0
  848. package/dist/dedup/merge-min-score.d.ts +2 -0
  849. package/dist/dedup/merge-min-score.d.ts.map +1 -0
  850. package/dist/dedup/merge-on-write-wire.d.ts +17 -0
  851. package/dist/dedup/merge-on-write-wire.d.ts.map +1 -0
  852. package/dist/dedup/merge-on-write.d.ts +32 -0
  853. package/dist/dedup/merge-on-write.d.ts.map +1 -0
  854. package/dist/dedup/merge-pair.d.ts +8 -0
  855. package/dist/dedup/merge-pair.d.ts.map +1 -0
  856. package/dist/dedup/merge-provenance.d.ts +43 -0
  857. package/dist/dedup/merge-provenance.d.ts.map +1 -0
  858. package/dist/dedup/merge-score.d.ts +7 -0
  859. package/dist/dedup/merge-score.d.ts.map +1 -0
  860. package/dist/dedup/merge-self.d.ts +13 -0
  861. package/dist/dedup/merge-self.d.ts.map +1 -0
  862. package/dist/dedup/merge-threshold.d.ts +13 -0
  863. package/dist/dedup/merge-threshold.d.ts.map +1 -0
  864. package/dist/dedup/merge-tie.d.ts +8 -0
  865. package/dist/dedup/merge-tie.d.ts.map +1 -0
  866. package/dist/dedup/merge-unique.d.ts +7 -0
  867. package/dist/dedup/merge-unique.d.ts.map +1 -0
  868. package/dist/dedup/merge-verdict.d.ts +19 -0
  869. package/dist/dedup/merge-verdict.d.ts.map +1 -0
  870. package/dist/dedup/merge.d.ts +122 -0
  871. package/dist/dedup/merge.d.ts.map +1 -0
  872. package/dist/dedup/novelty-gate.d.ts +60 -0
  873. package/dist/dedup/novelty-gate.d.ts.map +1 -0
  874. package/dist/dedup/semantic.d.ts +86 -0
  875. package/dist/dedup/semantic.d.ts.map +1 -0
  876. package/dist/deep-recall-config.d.ts +7 -8
  877. package/dist/deep-recall-config.d.ts.map +1 -0
  878. package/dist/deep-recall-config.js +2 -2
  879. package/dist/deep-recall-http-glue.d.ts +5 -151
  880. package/dist/deep-recall-http-glue.d.ts.map +1 -0
  881. package/dist/deep-recall-http-glue.js +6 -6
  882. package/dist/deep-recall-mcp-tools.d.ts +3 -150
  883. package/dist/deep-recall-mcp-tools.d.ts.map +1 -0
  884. package/dist/deep-recall-policy-llm.d.ts +6 -30
  885. package/dist/deep-recall-policy-llm.d.ts.map +1 -0
  886. package/dist/deep-recall-renderer.d.ts +3 -9
  887. package/dist/deep-recall-renderer.d.ts.map +1 -0
  888. package/dist/deep-recall-seeds.d.ts +7 -30
  889. package/dist/deep-recall-seeds.d.ts.map +1 -0
  890. package/dist/deep-recall.d.ts +15 -17
  891. package/dist/deep-recall.d.ts.map +1 -0
  892. package/dist/delinearize.d.ts +5 -25
  893. package/dist/delinearize.d.ts.map +1 -0
  894. package/dist/dependency-propagation-config.d.ts +3 -22
  895. package/dist/dependency-propagation-config.d.ts.map +1 -0
  896. package/dist/deterministic-order.d.ts +3 -4
  897. package/dist/deterministic-order.d.ts.map +1 -0
  898. package/dist/direct-answer-wiring.d.ts +8 -28
  899. package/dist/direct-answer-wiring.d.ts.map +1 -0
  900. package/dist/direct-answer.d.ts +10 -30
  901. package/dist/direct-answer.d.ts.map +1 -0
  902. package/dist/directory-sidecars.d.ts +17 -18
  903. package/dist/directory-sidecars.d.ts.map +1 -0
  904. package/dist/embedding-fallback.d.ts +6 -25
  905. package/dist/embedding-fallback.d.ts.map +1 -0
  906. package/dist/emit-legacy-tools.d.ts +3 -4
  907. package/dist/emit-legacy-tools.d.ts.map +1 -0
  908. package/dist/enrichment/audit.d.ts +27 -0
  909. package/dist/enrichment/audit.d.ts.map +1 -0
  910. package/dist/enrichment/index.d.ts +8 -177
  911. package/dist/enrichment/index.d.ts.map +1 -0
  912. package/dist/enrichment/pipeline.d.ts +15 -0
  913. package/dist/enrichment/pipeline.d.ts.map +1 -0
  914. package/dist/enrichment/provider-registry.d.ts +28 -0
  915. package/dist/enrichment/provider-registry.d.ts.map +1 -0
  916. package/dist/enrichment/types.d.ts +65 -0
  917. package/dist/enrichment/types.d.ts.map +1 -0
  918. package/dist/enrichment/web-search-provider.d.ts +26 -0
  919. package/dist/enrichment/web-search-provider.d.ts.map +1 -0
  920. package/dist/entity-id-normalization.d.ts +3 -4
  921. package/dist/entity-id-normalization.d.ts.map +1 -0
  922. package/dist/entity-origin-fields.d.ts +6 -24
  923. package/dist/entity-origin-fields.d.ts.map +1 -0
  924. package/dist/entity-recall-cancellation.d.ts +6 -7
  925. package/dist/entity-recall-cancellation.d.ts.map +1 -0
  926. package/dist/entity-retrieval-boundaries.d.ts +2 -3
  927. package/dist/entity-retrieval-boundaries.d.ts.map +1 -0
  928. package/dist/entity-retrieval-i18n.d.ts +5 -6
  929. package/dist/entity-retrieval-i18n.d.ts.map +1 -0
  930. package/dist/entity-retrieval.d.ts +8 -41
  931. package/dist/entity-retrieval.d.ts.map +1 -0
  932. package/dist/entity-retrieval.js +14 -14
  933. package/dist/entity-schema.d.ts +9 -28
  934. package/dist/entity-schema.d.ts.map +1 -0
  935. package/dist/episodic-context.d.ts +10 -30
  936. package/dist/episodic-context.d.ts.map +1 -0
  937. package/dist/eval-trajectory-contracts.d.ts +48 -68
  938. package/dist/eval-trajectory-contracts.d.ts.map +1 -0
  939. package/dist/eval-trajectory-store.d.ts +7 -28
  940. package/dist/eval-trajectory-store.d.ts.map +1 -0
  941. package/dist/eval-trajectory.d.ts +9 -30
  942. package/dist/eval-trajectory.d.ts.map +1 -0
  943. package/dist/evals.d.ts +29 -30
  944. package/dist/evals.d.ts.map +1 -0
  945. package/dist/event-order-query.d.ts +2 -3
  946. package/dist/event-order-query.d.ts.map +1 -0
  947. package/dist/event-order-recall.d.ts +6 -8
  948. package/dist/event-order-recall.d.ts.map +1 -0
  949. package/dist/event-time.d.ts +7 -8
  950. package/dist/event-time.d.ts.map +1 -0
  951. package/dist/evidence-pack.d.ts +7 -8
  952. package/dist/evidence-pack.d.ts.map +1 -0
  953. package/dist/experience/session-experience-config.d.ts +19 -0
  954. package/dist/experience/session-experience-config.d.ts.map +1 -0
  955. package/dist/experience/session-experience-mining.d.ts +31 -0
  956. package/dist/experience/session-experience-mining.d.ts.map +1 -0
  957. package/dist/experience/session-experience-recall.d.ts +19 -0
  958. package/dist/experience/session-experience-recall.d.ts.map +1 -0
  959. package/dist/experience/session-experience.d.ts +74 -0
  960. package/dist/experience/session-experience.d.ts.map +1 -0
  961. package/dist/explicit-capture.d.ts +20 -128
  962. package/dist/explicit-capture.d.ts.map +1 -0
  963. package/dist/explicit-capture.js +1 -1
  964. package/dist/explicit-cue-recall.d.ts +17 -19
  965. package/dist/explicit-cue-recall.d.ts.map +1 -0
  966. package/dist/external-wiki-access.d.ts +4 -152
  967. package/dist/external-wiki-access.d.ts.map +1 -0
  968. package/dist/external-wiki-access.js +66 -61
  969. package/dist/external-wiki-cli.d.ts +4 -5
  970. package/dist/external-wiki-cli.d.ts.map +1 -0
  971. package/dist/external-wiki-collection-registration.d.ts +7 -27
  972. package/dist/external-wiki-collection-registration.d.ts.map +1 -0
  973. package/dist/external-wiki-collection.d.ts +9 -29
  974. package/dist/external-wiki-collection.d.ts.map +1 -0
  975. package/dist/external-wiki-config.d.ts +3 -4
  976. package/dist/external-wiki-config.d.ts.map +1 -0
  977. package/dist/external-wiki-guard.d.ts +6 -7
  978. package/dist/external-wiki-guard.d.ts.map +1 -0
  979. package/dist/external-wiki-mcp-tools.d.ts +3 -149
  980. package/dist/external-wiki-mcp-tools.d.ts.map +1 -0
  981. package/dist/external-wiki-search.d.ts +12 -13
  982. package/dist/external-wiki-search.d.ts.map +1 -0
  983. package/dist/external-wiki.d.ts +12 -13
  984. package/dist/external-wiki.d.ts.map +1 -0
  985. package/dist/extraction-error-classification.d.ts +5 -24
  986. package/dist/extraction-error-classification.d.ts.map +1 -0
  987. package/dist/extraction-evidence-class.d.ts +13 -33
  988. package/dist/extraction-evidence-class.d.ts.map +1 -0
  989. package/dist/extraction-evidence-class.js +2 -2
  990. package/dist/extraction-faithfulness.d.ts +23 -46
  991. package/dist/extraction-faithfulness.d.ts.map +1 -0
  992. package/dist/extraction-judge-telemetry.d.ts +9 -36
  993. package/dist/extraction-judge-telemetry.d.ts.map +1 -0
  994. package/dist/extraction-judge-training.d.ts +9 -36
  995. package/dist/extraction-judge-training.d.ts.map +1 -0
  996. package/dist/extraction-judge.d.ts +20 -44
  997. package/dist/extraction-judge.d.ts.map +1 -0
  998. package/dist/extraction-liveness.d.ts +161 -18
  999. package/dist/extraction-liveness.d.ts.map +1 -0
  1000. package/dist/extraction-normalization.d.ts +7 -26
  1001. package/dist/extraction-normalization.d.ts.map +1 -0
  1002. package/dist/extraction-prompt.d.ts +14 -34
  1003. package/dist/extraction-prompt.d.ts.map +1 -0
  1004. package/dist/extraction-redaction-rules.d.ts +6 -7
  1005. package/dist/extraction-redaction-rules.d.ts.map +1 -0
  1006. package/dist/extraction-source-grounding-helpers.d.ts +31 -32
  1007. package/dist/extraction-source-grounding-helpers.d.ts.map +1 -0
  1008. package/dist/extraction-source-grounding-rules.d.ts +6 -25
  1009. package/dist/extraction-source-grounding-rules.d.ts.map +1 -0
  1010. package/dist/extraction-source-grounding.d.ts +7 -25
  1011. package/dist/extraction-source-grounding.d.ts.map +1 -0
  1012. package/dist/extraction-source-grounding.js +3 -3
  1013. package/dist/extraction-span-bench.d.ts +3 -4
  1014. package/dist/extraction-span-bench.d.ts.map +1 -0
  1015. package/dist/extraction-span-clip.d.ts +5 -6
  1016. package/dist/extraction-span-clip.d.ts.map +1 -0
  1017. package/dist/extraction-span-config.d.ts +40 -18
  1018. package/dist/extraction-span-config.d.ts.map +1 -0
  1019. package/dist/extraction-span-contains.d.ts +2 -3
  1020. package/dist/extraction-span-contains.d.ts.map +1 -0
  1021. package/dist/extraction-span-fallback.d.ts +5 -6
  1022. package/dist/extraction-span-fallback.d.ts.map +1 -0
  1023. package/dist/extraction-span-gap.d.ts +2 -3
  1024. package/dist/extraction-span-gap.d.ts.map +1 -0
  1025. package/dist/extraction-span-gate.d.ts +7 -8
  1026. package/dist/extraction-span-gate.d.ts.map +1 -0
  1027. package/dist/extraction-span-join.d.ts +5 -6
  1028. package/dist/extraction-span-join.d.ts.map +1 -0
  1029. package/dist/extraction-span-length.d.ts +2 -3
  1030. package/dist/extraction-span-length.d.ts.map +1 -0
  1031. package/dist/extraction-span-materialize.d.ts +18 -37
  1032. package/dist/extraction-span-materialize.d.ts.map +1 -0
  1033. package/dist/extraction-span-materialize.js +2 -2
  1034. package/dist/extraction-span-overlap.d.ts +2 -3
  1035. package/dist/extraction-span-overlap.d.ts.map +1 -0
  1036. package/dist/extraction-span-provenance.d.ts +4 -5
  1037. package/dist/extraction-span-provenance.d.ts.map +1 -0
  1038. package/dist/extraction-span-shift.d.ts +2 -3
  1039. package/dist/extraction-span-shift.d.ts.map +1 -0
  1040. package/dist/extraction-span-slice.d.ts +2 -3
  1041. package/dist/extraction-span-slice.d.ts.map +1 -0
  1042. package/dist/extraction-span-source-hash.d.ts +5 -6
  1043. package/dist/extraction-span-source-hash.d.ts.map +1 -0
  1044. package/dist/extraction-span-tokens.d.ts +4 -5
  1045. package/dist/extraction-span-tokens.d.ts.map +1 -0
  1046. package/dist/extraction-span-validate.d.ts +5 -6
  1047. package/dist/extraction-span-validate.d.ts.map +1 -0
  1048. package/dist/extraction-span-wire.d.ts +5 -25
  1049. package/dist/extraction-span-wire.d.ts.map +1 -0
  1050. package/dist/extraction-span.d.ts +4 -5
  1051. package/dist/extraction-span.d.ts.map +1 -0
  1052. package/dist/extraction.d.ts +11 -44
  1053. package/dist/extraction.d.ts.map +1 -0
  1054. package/dist/extraction.js +26 -26
  1055. package/dist/faithfulness-config.d.ts +3 -4
  1056. package/dist/faithfulness-config.d.ts.map +1 -0
  1057. package/dist/fallback-llm-codex-subscription.d.ts +23 -42
  1058. package/dist/fallback-llm-codex-subscription.d.ts.map +1 -0
  1059. package/dist/fallback-llm.d.ts +9 -30
  1060. package/dist/fallback-llm.d.ts.map +1 -0
  1061. package/dist/focused-list-recall.d.ts +5 -8
  1062. package/dist/focused-list-recall.d.ts.map +1 -0
  1063. package/dist/graph-append-error.d.ts +3 -27
  1064. package/dist/graph-append-error.d.ts.map +1 -0
  1065. package/dist/graph-dashboard-diff.d.ts +5 -28
  1066. package/dist/graph-dashboard-diff.d.ts.map +1 -0
  1067. package/dist/graph-dashboard-key.d.ts +3 -26
  1068. package/dist/graph-dashboard-key.d.ts.map +1 -0
  1069. package/dist/graph-dashboard-parser.d.ts +6 -29
  1070. package/dist/graph-dashboard-parser.d.ts.map +1 -0
  1071. package/dist/graph-edge-decay-ROSUPDX3.js +30 -0
  1072. package/dist/graph-edge-reinforcement.d.ts +12 -36
  1073. package/dist/graph-edge-reinforcement.d.ts.map +1 -0
  1074. package/dist/graph-events.d.ts +13 -16
  1075. package/dist/graph-events.d.ts.map +1 -0
  1076. package/dist/graph-jsonl.d.ts +8 -31
  1077. package/dist/graph-jsonl.d.ts.map +1 -0
  1078. package/dist/graph-jsonl.js +3 -3
  1079. package/dist/graph-path-reconstruction.d.ts +22 -22
  1080. package/dist/graph-path-reconstruction.d.ts.map +1 -0
  1081. package/dist/graph-path-scoring-config.d.ts +3 -4
  1082. package/dist/graph-path-scoring-config.d.ts.map +1 -0
  1083. package/dist/graph-path-scoring.d.ts +8 -30
  1084. package/dist/graph-path-scoring.d.ts.map +1 -0
  1085. package/dist/graph-recall.d.ts +7 -10
  1086. package/dist/graph-recall.d.ts.map +1 -0
  1087. package/dist/graph-retrieval.d.ts +19 -20
  1088. package/dist/graph-retrieval.d.ts.map +1 -0
  1089. package/dist/graph-snapshot.d.ts +14 -38
  1090. package/dist/graph-snapshot.d.ts.map +1 -0
  1091. package/dist/graph-snapshot.js +3 -3
  1092. package/dist/graph-write-lock.d.ts +7 -10
  1093. package/dist/graph-write-lock.d.ts.map +1 -0
  1094. package/dist/graph.d.ts +325 -22
  1095. package/dist/graph.d.ts.map +1 -0
  1096. package/dist/graph.js +2 -2
  1097. package/dist/harmonic-construction.d.ts +11 -13
  1098. package/dist/harmonic-construction.d.ts.map +1 -0
  1099. package/dist/harmonic-retrieval.d.ts +10 -12
  1100. package/dist/harmonic-retrieval.d.ts.map +1 -0
  1101. package/dist/harmonic-retrieval.js +1 -1
  1102. package/dist/himem.d.ts +3 -4
  1103. package/dist/himem.d.ts.map +1 -0
  1104. package/dist/host-embedding-provider.d.ts +7 -8
  1105. package/dist/host-embedding-provider.d.ts.map +1 -0
  1106. package/dist/http-retry.d.ts +9 -10
  1107. package/dist/http-retry.d.ts.map +1 -0
  1108. package/dist/hygiene.d.ts +4 -5
  1109. package/dist/hygiene.d.ts.map +1 -0
  1110. package/dist/identity-continuity.d.ts +9 -11
  1111. package/dist/identity-continuity.d.ts.map +1 -0
  1112. package/dist/importance.d.ts +6 -26
  1113. package/dist/importance.d.ts.map +1 -0
  1114. package/dist/importers/base.d.ts +261 -0
  1115. package/dist/importers/base.d.ts.map +1 -0
  1116. package/dist/importers/index.d.ts +3 -280
  1117. package/dist/importers/index.d.ts.map +1 -0
  1118. package/dist/importers/test-utils.d.ts +5 -24
  1119. package/dist/importers/test-utils.d.ts.map +1 -0
  1120. package/dist/in-flight-reads.d.ts +10 -29
  1121. package/dist/in-flight-reads.d.ts.map +1 -0
  1122. package/dist/included-memories.d.ts +6 -7
  1123. package/dist/included-memories.d.ts.map +1 -0
  1124. package/dist/index.d.ts +185 -9836
  1125. package/dist/index.d.ts.map +1 -0
  1126. package/dist/index.js +275 -229
  1127. package/dist/inline-script.d.ts +2 -3
  1128. package/dist/inline-script.d.ts.map +1 -0
  1129. package/dist/intent.d.ts +7 -26
  1130. package/dist/intent.d.ts.map +1 -0
  1131. package/dist/json-extract.d.ts +3 -4
  1132. package/dist/json-extract.d.ts.map +1 -0
  1133. package/dist/json-store.d.ts +9 -9
  1134. package/dist/json-store.d.ts.map +1 -0
  1135. package/dist/lcm/archive.d.ts +11 -13
  1136. package/dist/lcm/archive.d.ts.map +1 -0
  1137. package/dist/lcm/dag.d.ts +5 -7
  1138. package/dist/lcm/dag.d.ts.map +1 -0
  1139. package/dist/lcm/engine.d.ts +10 -32
  1140. package/dist/lcm/engine.d.ts.map +1 -0
  1141. package/dist/lcm/engine.js +4 -4
  1142. package/dist/lcm/evidence-identity.d.ts +20 -0
  1143. package/dist/lcm/evidence-identity.d.ts.map +1 -0
  1144. package/dist/lcm/index.d.ts +9 -52
  1145. package/dist/lcm/index.d.ts.map +1 -0
  1146. package/dist/lcm/index.js +13 -13
  1147. package/dist/lcm/queue.d.ts +7 -10
  1148. package/dist/lcm/queue.d.ts.map +1 -0
  1149. package/dist/lcm/recall.d.ts +8 -13
  1150. package/dist/lcm/recall.d.ts.map +1 -0
  1151. package/dist/lcm/schema.d.ts +5 -8
  1152. package/dist/lcm/schema.d.ts.map +1 -0
  1153. package/dist/lcm/summarizer.d.ts +7 -11
  1154. package/dist/lcm/summarizer.d.ts.map +1 -0
  1155. package/dist/lcm/tools.d.ts +4 -30
  1156. package/dist/lcm/tools.d.ts.map +1 -0
  1157. package/dist/lcm-fallback-read.d.ts +4 -5
  1158. package/dist/lcm-fallback-read.d.ts.map +1 -0
  1159. package/dist/lifecycle/seed-graduation-config-types.d.ts +21 -0
  1160. package/dist/lifecycle/seed-graduation-config-types.d.ts.map +1 -0
  1161. package/dist/lifecycle/seed-graduation.d.ts +97 -0
  1162. package/dist/lifecycle/seed-graduation.d.ts.map +1 -0
  1163. package/dist/lifecycle/tombstones.d.ts +389 -0
  1164. package/dist/lifecycle/tombstones.d.ts.map +1 -0
  1165. package/dist/lifecycle.d.ts +14 -33
  1166. package/dist/lifecycle.d.ts.map +1 -0
  1167. package/dist/live-connectors-runner.d.ts +11 -29
  1168. package/dist/live-connectors-runner.d.ts.map +1 -0
  1169. package/dist/local-llm-config.d.ts +5 -7
  1170. package/dist/local-llm-config.d.ts.map +1 -0
  1171. package/dist/local-llm-config.js +1 -1
  1172. package/dist/local-llm-helpers.d.ts +102 -20
  1173. package/dist/local-llm-helpers.d.ts.map +1 -0
  1174. package/dist/local-llm-transport.d.ts +4 -6
  1175. package/dist/local-llm-transport.d.ts.map +1 -0
  1176. package/dist/local-llm.d.ts +145 -20
  1177. package/dist/local-llm.d.ts.map +1 -0
  1178. package/dist/local-model-endpoint.d.ts +10 -29
  1179. package/dist/local-model-endpoint.d.ts.map +1 -0
  1180. package/dist/location/access-operations.d.ts +9 -0
  1181. package/dist/location/access-operations.d.ts.map +1 -0
  1182. package/dist/location/backfill.d.ts +57 -0
  1183. package/dist/location/backfill.d.ts.map +1 -0
  1184. package/dist/location/cli.d.ts +67 -0
  1185. package/dist/location/cli.d.ts.map +1 -0
  1186. package/dist/location/config.d.ts +11 -0
  1187. package/dist/location/config.d.ts.map +1 -0
  1188. package/dist/location/http-glue.d.ts +20 -0
  1189. package/dist/location/http-glue.d.ts.map +1 -0
  1190. package/dist/location/index.d.ts +21 -534
  1191. package/dist/location/index.d.ts.map +1 -0
  1192. package/dist/location/index.js +17 -17
  1193. package/dist/location/intervals.d.ts +61 -0
  1194. package/dist/location/intervals.d.ts.map +1 -0
  1195. package/dist/location/matching.d.ts +124 -0
  1196. package/dist/location/matching.d.ts.map +1 -0
  1197. package/dist/location/mcp-tools.d.ts +12 -0
  1198. package/dist/location/mcp-tools.d.ts.map +1 -0
  1199. package/dist/location/parse-companions.d.ts +7 -0
  1200. package/dist/location/parse-companions.d.ts.map +1 -0
  1201. package/dist/location/pipeline.d.ts +44 -0
  1202. package/dist/location/pipeline.d.ts.map +1 -0
  1203. package/dist/location/provider-setup.d.ts +33 -0
  1204. package/dist/location/provider-setup.d.ts.map +1 -0
  1205. package/dist/location/registry.d.ts +15 -0
  1206. package/dist/location/registry.d.ts.map +1 -0
  1207. package/dist/location/scheduler.d.ts +48 -0
  1208. package/dist/location/scheduler.d.ts.map +1 -0
  1209. package/dist/location/store.d.ts +95 -0
  1210. package/dist/location/store.d.ts.map +1 -0
  1211. package/dist/location/surfaces.d.ts +76 -0
  1212. package/dist/location/surfaces.d.ts.map +1 -0
  1213. package/dist/location/tagging.d.ts +116 -0
  1214. package/dist/location/tagging.d.ts.map +1 -0
  1215. package/dist/location/types.d.ts +109 -0
  1216. package/dist/location/types.d.ts.map +1 -0
  1217. package/dist/logger.d.ts +7 -8
  1218. package/dist/logger.d.ts.map +1 -0
  1219. package/dist/maintenance/archive-observations.d.ts +5 -5
  1220. package/dist/maintenance/archive-observations.d.ts.map +1 -0
  1221. package/dist/maintenance/atomic-file.d.ts +4 -5
  1222. package/dist/maintenance/atomic-file.d.ts.map +1 -0
  1223. package/dist/maintenance/backup-stamp.d.ts +2 -3
  1224. package/dist/maintenance/backup-stamp.d.ts.map +1 -0
  1225. package/dist/maintenance/day-summary-cron.d.ts +20 -0
  1226. package/dist/maintenance/day-summary-cron.d.ts.map +1 -0
  1227. package/dist/maintenance/dreams-ledger.d.ts +172 -0
  1228. package/dist/maintenance/dreams-ledger.d.ts.map +1 -0
  1229. package/dist/maintenance/first-start-migration.d.ts +61 -0
  1230. package/dist/maintenance/first-start-migration.d.ts.map +1 -0
  1231. package/dist/maintenance/forget.d.ts +59 -0
  1232. package/dist/maintenance/forget.d.ts.map +1 -0
  1233. package/dist/maintenance/graph-edge-decay.d.ts +122 -0
  1234. package/dist/maintenance/graph-edge-decay.d.ts.map +1 -0
  1235. package/dist/maintenance/memory-governance-cron.d.ts +9 -10
  1236. package/dist/maintenance/memory-governance-cron.d.ts.map +1 -0
  1237. package/dist/maintenance/memory-governance.d.ts +25 -43
  1238. package/dist/maintenance/memory-governance.d.ts.map +1 -0
  1239. package/dist/maintenance/memory-governance.js +14 -14
  1240. package/dist/maintenance/migrate-observations.d.ts +4 -5
  1241. package/dist/maintenance/migrate-observations.d.ts.map +1 -0
  1242. package/dist/maintenance/namespace-maintenance-fanout.d.ts +132 -0
  1243. package/dist/maintenance/namespace-maintenance-fanout.d.ts.map +1 -0
  1244. package/dist/maintenance/namespace-planner.d.ts +96 -0
  1245. package/dist/maintenance/namespace-planner.d.ts.map +1 -0
  1246. package/dist/maintenance/observation-ledger-utils.d.ts +5 -6
  1247. package/dist/maintenance/observation-ledger-utils.d.ts.map +1 -0
  1248. package/dist/maintenance/pattern-reinforcement.d.ts +129 -0
  1249. package/dist/maintenance/pattern-reinforcement.d.ts.map +1 -0
  1250. package/dist/maintenance/projection-support.d.ts +76 -0
  1251. package/dist/maintenance/projection-support.d.ts.map +1 -0
  1252. package/dist/maintenance/purge.d.ts +85 -0
  1253. package/dist/maintenance/purge.d.ts.map +1 -0
  1254. package/dist/maintenance/rebuild-memory-lifecycle-ledger-cli.d.ts +24 -0
  1255. package/dist/maintenance/rebuild-memory-lifecycle-ledger-cli.d.ts.map +1 -0
  1256. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +11 -43
  1257. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts.map +1 -0
  1258. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +14 -14
  1259. package/dist/maintenance/rebuild-memory-projection.d.ts +14 -72
  1260. package/dist/maintenance/rebuild-memory-projection.d.ts.map +1 -0
  1261. package/dist/maintenance/rebuild-memory-projection.js +15 -15
  1262. package/dist/maintenance/rebuild-observations.d.ts +4 -5
  1263. package/dist/maintenance/rebuild-observations.d.ts.map +1 -0
  1264. package/dist/maintenance/tier-stats.d.ts +59 -0
  1265. package/dist/maintenance/tier-stats.d.ts.map +1 -0
  1266. package/dist/mcp-memory-inspector-app.d.ts +15 -158
  1267. package/dist/mcp-memory-inspector-app.d.ts.map +1 -0
  1268. package/dist/mcp-read-only-tools.d.ts +2 -3
  1269. package/dist/mcp-read-only-tools.d.ts.map +1 -0
  1270. package/dist/mcp-read-only-tools.js +1 -1
  1271. package/dist/meetings/build-scheduler.d.ts +43 -0
  1272. package/dist/meetings/build-scheduler.d.ts.map +1 -0
  1273. package/dist/meetings/build.d.ts +137 -0
  1274. package/dist/meetings/build.d.ts.map +1 -0
  1275. package/dist/meetings/cli.d.ts +37 -0
  1276. package/dist/meetings/cli.d.ts.map +1 -0
  1277. package/dist/meetings/config.d.ts +18 -0
  1278. package/dist/meetings/config.d.ts.map +1 -0
  1279. package/dist/meetings/day-source.d.ts +103 -0
  1280. package/dist/meetings/day-source.d.ts.map +1 -0
  1281. package/dist/meetings/detect.d.ts +33 -0
  1282. package/dist/meetings/detect.d.ts.map +1 -0
  1283. package/dist/meetings/errors.d.ts +10 -0
  1284. package/dist/meetings/errors.d.ts.map +1 -0
  1285. package/dist/meetings/fuse.d.ts +30 -0
  1286. package/dist/meetings/fuse.d.ts.map +1 -0
  1287. package/dist/meetings/http-glue.d.ts +37 -0
  1288. package/dist/meetings/http-glue.d.ts.map +1 -0
  1289. package/dist/meetings/index.d.ts +20 -0
  1290. package/dist/meetings/index.d.ts.map +1 -0
  1291. package/dist/meetings/mcp-tools.d.ts +10 -0
  1292. package/dist/meetings/mcp-tools.d.ts.map +1 -0
  1293. package/dist/meetings/memory-gen.d.ts +157 -0
  1294. package/dist/meetings/memory-gen.d.ts.map +1 -0
  1295. package/dist/meetings/memory-generator.d.ts +113 -0
  1296. package/dist/meetings/memory-generator.d.ts.map +1 -0
  1297. package/dist/meetings/service.d.ts +80 -0
  1298. package/dist/meetings/service.d.ts.map +1 -0
  1299. package/dist/meetings/store.d.ts +121 -0
  1300. package/dist/meetings/store.d.ts.map +1 -0
  1301. package/dist/meetings/summary-extractor.d.ts +96 -0
  1302. package/dist/meetings/summary-extractor.d.ts.map +1 -0
  1303. package/dist/meetings/types.d.ts +155 -0
  1304. package/dist/meetings/types.d.ts.map +1 -0
  1305. package/dist/memory-action-policy.d.ts +6 -25
  1306. package/dist/memory-action-policy.d.ts.map +1 -0
  1307. package/dist/memory-age.d.ts +16 -17
  1308. package/dist/memory-age.d.ts.map +1 -0
  1309. package/dist/memory-browse-http-glue.d.ts +5 -151
  1310. package/dist/memory-browse-http-glue.d.ts.map +1 -0
  1311. package/dist/memory-browse-http-glue.js +2 -2
  1312. package/dist/memory-browse-mcp-tools.d.ts +3 -150
  1313. package/dist/memory-browse-mcp-tools.d.ts.map +1 -0
  1314. package/dist/memory-browse-operations.d.ts +11 -2
  1315. package/dist/memory-browse-operations.d.ts.map +1 -0
  1316. package/dist/memory-browse-operations.js +66 -61
  1317. package/dist/memory-browse.d.ts +16 -36
  1318. package/dist/memory-browse.d.ts.map +1 -0
  1319. package/dist/memory-browse.js +4 -4
  1320. package/dist/memory-cache.d.ts +27 -46
  1321. package/dist/memory-cache.d.ts.map +1 -0
  1322. package/dist/memory-controller.d.ts +29 -50
  1323. package/dist/memory-controller.d.ts.map +1 -0
  1324. package/dist/memory-corpus-version.d.ts +3 -4
  1325. package/dist/memory-corpus-version.d.ts.map +1 -0
  1326. package/dist/memory-extension/claude-code-publisher.d.ts +18 -0
  1327. package/dist/memory-extension/claude-code-publisher.d.ts.map +1 -0
  1328. package/dist/memory-extension/codex-publisher.d.ts +22 -0
  1329. package/dist/memory-extension/codex-publisher.d.ts.map +1 -0
  1330. package/dist/memory-extension/hermes-publisher.d.ts +18 -0
  1331. package/dist/memory-extension/hermes-publisher.d.ts.map +1 -0
  1332. package/dist/memory-extension/index.d.ts +57 -0
  1333. package/dist/memory-extension/index.d.ts.map +1 -0
  1334. package/dist/memory-extension/shared-instructions.d.ts +30 -0
  1335. package/dist/memory-extension/shared-instructions.d.ts.map +1 -0
  1336. package/dist/memory-extension/types.d.ts +88 -0
  1337. package/dist/memory-extension/types.d.ts.map +1 -0
  1338. package/dist/memory-extension-host/host-discovery.d.ts +38 -0
  1339. package/dist/memory-extension-host/host-discovery.d.ts.map +1 -0
  1340. package/dist/memory-extension-host/index.d.ts +7 -0
  1341. package/dist/memory-extension-host/index.d.ts.map +1 -0
  1342. package/dist/memory-extension-host/render-extensions-block.d.ts +23 -0
  1343. package/dist/memory-extension-host/render-extensions-block.d.ts.map +1 -0
  1344. package/dist/memory-extension-host/types.d.ts +20 -0
  1345. package/dist/memory-extension-host/types.d.ts.map +1 -0
  1346. package/dist/memory-lifecycle-ledger-utils.d.ts +19 -38
  1347. package/dist/memory-lifecycle-ledger-utils.d.ts.map +1 -0
  1348. package/dist/memory-projection-format.d.ts +3 -4
  1349. package/dist/memory-projection-format.d.ts.map +1 -0
  1350. package/dist/memory-projection-mutations.d.ts +3 -4
  1351. package/dist/memory-projection-mutations.d.ts.map +1 -0
  1352. package/dist/memory-projection-store.d.ts +35 -54
  1353. package/dist/memory-projection-store.d.ts.map +1 -0
  1354. package/dist/memory-provenance.d.ts +10 -29
  1355. package/dist/memory-provenance.d.ts.map +1 -0
  1356. package/dist/memory-snapshot.d.ts +3 -22
  1357. package/dist/memory-snapshot.d.ts.map +1 -0
  1358. package/dist/memory-subject-cli.d.ts +9 -156
  1359. package/dist/memory-subject-cli.d.ts.map +1 -0
  1360. package/dist/memory-subject.d.ts +132 -145
  1361. package/dist/memory-subject.d.ts.map +1 -0
  1362. package/dist/memory-worth-bench.d.ts +4 -5
  1363. package/dist/memory-worth-bench.d.ts.map +1 -0
  1364. package/dist/memory-worth-filter.d.ts +8 -11
  1365. package/dist/memory-worth-filter.d.ts.map +1 -0
  1366. package/dist/memory-worth-outcomes.d.ts +11 -45
  1367. package/dist/memory-worth-outcomes.d.ts.map +1 -0
  1368. package/dist/memory-worth.d.ts +4 -5
  1369. package/dist/memory-worth.d.ts.map +1 -0
  1370. package/dist/message-parts/index.d.ts +15 -16
  1371. package/dist/message-parts/index.d.ts.map +1 -0
  1372. package/dist/migrate/from-engram.d.ts +6 -7
  1373. package/dist/migrate/from-engram.d.ts.map +1 -0
  1374. package/dist/model-registry.d.ts +3 -4
  1375. package/dist/model-registry.d.ts.map +1 -0
  1376. package/dist/models-json.d.ts +5 -24
  1377. package/dist/models-json.d.ts.map +1 -0
  1378. package/dist/namespaces/catalog.d.ts +473 -0
  1379. package/dist/namespaces/catalog.d.ts.map +1 -0
  1380. package/dist/namespaces/identity.d.ts +5 -0
  1381. package/dist/namespaces/identity.d.ts.map +1 -0
  1382. package/dist/namespaces/migrate.d.ts +11 -46
  1383. package/dist/namespaces/migrate.d.ts.map +1 -0
  1384. package/dist/namespaces/migrate.js +15 -15
  1385. package/dist/namespaces/path.d.ts +3 -0
  1386. package/dist/namespaces/path.d.ts.map +1 -0
  1387. package/dist/namespaces/principal.d.ts +9 -28
  1388. package/dist/namespaces/principal.d.ts.map +1 -0
  1389. package/dist/namespaces/scope-profile-config.d.ts +5 -0
  1390. package/dist/namespaces/scope-profile-config.d.ts.map +1 -0
  1391. package/dist/namespaces/scope-profiles.d.ts +46 -0
  1392. package/dist/namespaces/scope-profiles.d.ts.map +1 -0
  1393. package/dist/namespaces/search.d.ts +10 -28
  1394. package/dist/namespaces/search.d.ts.map +1 -0
  1395. package/dist/namespaces/search.js +5 -5
  1396. package/dist/namespaces/storage.d.ts +8 -41
  1397. package/dist/namespaces/storage.d.ts.map +1 -0
  1398. package/dist/namespaces/storage.js +14 -14
  1399. package/dist/native-binding-hint.d.ts +3 -4
  1400. package/dist/native-binding-hint.d.ts.map +1 -0
  1401. package/dist/native-knowledge.d.ts +15 -34
  1402. package/dist/native-knowledge.d.ts.map +1 -0
  1403. package/dist/negative.d.ts +3 -4
  1404. package/dist/negative.d.ts.map +1 -0
  1405. package/dist/network/tailscale.d.ts +7 -8
  1406. package/dist/network/tailscale.d.ts.map +1 -0
  1407. package/dist/network/webdav.d.ts +9 -10
  1408. package/dist/network/webdav.d.ts.map +1 -0
  1409. package/dist/objective-state-writers.d.ts +8 -9
  1410. package/dist/objective-state-writers.d.ts.map +1 -0
  1411. package/dist/objective-state.d.ts +15 -16
  1412. package/dist/objective-state.d.ts.map +1 -0
  1413. package/dist/offline-sync-exclude-globs.d.ts +3 -4
  1414. package/dist/offline-sync-exclude-globs.d.ts.map +1 -0
  1415. package/dist/offline-sync-file-io.d.ts +8 -9
  1416. package/dist/offline-sync-file-io.d.ts.map +1 -0
  1417. package/dist/offline-sync-impression-drain.d.ts +8 -26
  1418. package/dist/offline-sync-impression-drain.d.ts.map +1 -0
  1419. package/dist/offline-sync-impression-drain.js +2 -2
  1420. package/dist/offline-sync.d.ts +57 -58
  1421. package/dist/offline-sync.d.ts.map +1 -0
  1422. package/dist/okf/cli.d.ts +10 -0
  1423. package/dist/okf/cli.d.ts.map +1 -0
  1424. package/dist/okf/config.d.ts +11 -0
  1425. package/dist/okf/config.d.ts.map +1 -0
  1426. package/dist/okf/index-files.d.ts +7 -0
  1427. package/dist/okf/index-files.d.ts.map +1 -0
  1428. package/dist/okf/lint.d.ts +12 -0
  1429. package/dist/okf/lint.d.ts.map +1 -0
  1430. package/dist/okf/render.d.ts +29 -0
  1431. package/dist/okf/render.d.ts.map +1 -0
  1432. package/dist/okf/sweep.d.ts +9 -0
  1433. package/dist/okf/sweep.d.ts.map +1 -0
  1434. package/dist/okf/type-mapping.d.ts +30 -0
  1435. package/dist/okf/type-mapping.d.ts.map +1 -0
  1436. package/dist/onboarding/index.d.ts +63 -0
  1437. package/dist/onboarding/index.d.ts.map +1 -0
  1438. package/dist/openai-chat-compat.d.ts +6 -7
  1439. package/dist/openai-chat-compat.d.ts.map +1 -0
  1440. package/dist/operator-doctor-corpus.d.ts +8 -29
  1441. package/dist/operator-doctor-corpus.d.ts.map +1 -0
  1442. package/dist/operator-doctor-corpus.js +21 -21
  1443. package/dist/operator-doctor-replica.d.ts +8 -29
  1444. package/dist/operator-doctor-replica.d.ts.map +1 -0
  1445. package/dist/operator-doctor-replica.js +4 -4
  1446. package/dist/operator-doctor-types.d.ts +2 -3
  1447. package/dist/operator-doctor-types.d.ts.map +1 -0
  1448. package/dist/operator-toolkit.d.ts +43 -75
  1449. package/dist/operator-toolkit.d.ts.map +1 -0
  1450. package/dist/operator-toolkit.js +37 -37
  1451. package/dist/opik-exporter.d.ts +6 -8
  1452. package/dist/opik-exporter.d.ts.map +1 -0
  1453. package/dist/orchestration/compression-guideline-coordinator.d.ts +6 -40
  1454. package/dist/orchestration/compression-guideline-coordinator.d.ts.map +1 -0
  1455. package/dist/orchestration/consolidation-run.d.ts +93 -0
  1456. package/dist/orchestration/consolidation-run.d.ts.map +1 -0
  1457. package/dist/orchestration/contradiction-linking-coordinator.d.ts +102 -0
  1458. package/dist/orchestration/contradiction-linking-coordinator.d.ts.map +1 -0
  1459. package/dist/orchestration/conversation-index-coordinator.d.ts +99 -0
  1460. package/dist/orchestration/conversation-index-coordinator.d.ts.map +1 -0
  1461. package/dist/orchestration/dependency-propagation-delivery.d.ts +129 -0
  1462. package/dist/orchestration/dependency-propagation-delivery.d.ts.map +1 -0
  1463. package/dist/orchestration/dependency-propagation-queue-state.d.ts +15 -0
  1464. package/dist/orchestration/dependency-propagation-queue-state.d.ts.map +1 -0
  1465. package/dist/orchestration/dependency-propagation-recovery-replay.d.ts +49 -0
  1466. package/dist/orchestration/dependency-propagation-recovery-replay.d.ts.map +1 -0
  1467. package/dist/orchestration/dependency-propagation-replay-reconciliation.d.ts +25 -0
  1468. package/dist/orchestration/dependency-propagation-replay-reconciliation.d.ts.map +1 -0
  1469. package/dist/orchestration/dependency-propagation.d.ts +64 -0
  1470. package/dist/orchestration/dependency-propagation.d.ts.map +1 -0
  1471. package/dist/orchestration/dependency-revalidation.d.ts +45 -0
  1472. package/dist/orchestration/dependency-revalidation.d.ts.map +1 -0
  1473. package/dist/orchestration/entity-synthesis-coordinator.d.ts +64 -0
  1474. package/dist/orchestration/entity-synthesis-coordinator.d.ts.map +1 -0
  1475. package/dist/orchestration/episodic-context-section.d.ts +30 -0
  1476. package/dist/orchestration/episodic-context-section.d.ts.map +1 -0
  1477. package/dist/orchestration/extraction-anchor-snapshot.d.ts +20 -0
  1478. package/dist/orchestration/extraction-anchor-snapshot.d.ts.map +1 -0
  1479. package/dist/orchestration/extraction-envelope.d.ts +40 -0
  1480. package/dist/orchestration/extraction-envelope.d.ts.map +1 -0
  1481. package/dist/orchestration/extraction-injection-gate.d.ts +51 -0
  1482. package/dist/orchestration/extraction-injection-gate.d.ts.map +1 -0
  1483. package/dist/orchestration/extraction-origin-context.d.ts +19 -0
  1484. package/dist/orchestration/extraction-origin-context.d.ts.map +1 -0
  1485. package/dist/orchestration/extraction-persist-deps.d.ts +76 -0
  1486. package/dist/orchestration/extraction-persist-deps.d.ts.map +1 -0
  1487. package/dist/orchestration/extraction-persist-promotion.d.ts +203 -0
  1488. package/dist/orchestration/extraction-persist-promotion.d.ts.map +1 -0
  1489. package/dist/orchestration/extraction-persist.d.ts +19 -0
  1490. package/dist/orchestration/extraction-persist.d.ts.map +1 -0
  1491. package/dist/orchestration/extraction-queue-coordinator.d.ts +103 -0
  1492. package/dist/orchestration/extraction-queue-coordinator.d.ts.map +1 -0
  1493. package/dist/orchestration/extraction-run-helpers.d.ts +123 -0
  1494. package/dist/orchestration/extraction-run-helpers.d.ts.map +1 -0
  1495. package/dist/orchestration/extraction-run.d.ts +174 -0
  1496. package/dist/orchestration/extraction-run.d.ts.map +1 -0
  1497. package/dist/orchestration/extraction-shutdown.d.ts +6 -0
  1498. package/dist/orchestration/extraction-shutdown.d.ts.map +1 -0
  1499. package/dist/orchestration/extraction-watermark.d.ts +28 -0
  1500. package/dist/orchestration/extraction-watermark.d.ts.map +1 -0
  1501. package/dist/orchestration/generic-recall-paths.d.ts +36 -0
  1502. package/dist/orchestration/generic-recall-paths.d.ts.map +1 -0
  1503. package/dist/orchestration/graph-path-state-loader.d.ts +15 -0
  1504. package/dist/orchestration/graph-path-state-loader.d.ts.map +1 -0
  1505. package/dist/orchestration/graph-recall-coordinator.d.ts +107 -0
  1506. package/dist/orchestration/graph-recall-coordinator.d.ts.map +1 -0
  1507. package/dist/orchestration/harmonic-construction-persist.d.ts +58 -0
  1508. package/dist/orchestration/harmonic-construction-persist.d.ts.map +1 -0
  1509. package/dist/orchestration/lifecycle-policy-coordinator.d.ts +81 -0
  1510. package/dist/orchestration/lifecycle-policy-coordinator.d.ts.map +1 -0
  1511. package/dist/orchestration/maintenance.d.ts +229 -37
  1512. package/dist/orchestration/maintenance.d.ts.map +1 -0
  1513. package/dist/orchestration/maintenance.js +25 -25
  1514. package/dist/orchestration/namespace-read-fanout.d.ts +95 -0
  1515. package/dist/orchestration/namespace-read-fanout.d.ts.map +1 -0
  1516. package/dist/orchestration/orchestrator-helpers.d.ts +408 -0
  1517. package/dist/orchestration/orchestrator-helpers.d.ts.map +1 -0
  1518. package/dist/orchestration/orchestrator-init.d.ts +124 -0
  1519. package/dist/orchestration/orchestrator-init.d.ts.map +1 -0
  1520. package/dist/orchestration/orchestrator-namespace-scope.d.ts +19 -0
  1521. package/dist/orchestration/orchestrator-namespace-scope.d.ts.map +1 -0
  1522. package/dist/orchestration/persistence-index.d.ts +141 -0
  1523. package/dist/orchestration/persistence-index.d.ts.map +1 -0
  1524. package/dist/orchestration/projection-rebuild-schedule.d.ts +21 -0
  1525. package/dist/orchestration/projection-rebuild-schedule.d.ts.map +1 -0
  1526. package/dist/orchestration/qmd-result-resolver.d.ts +75 -0
  1527. package/dist/orchestration/qmd-result-resolver.d.ts.map +1 -0
  1528. package/dist/orchestration/recall-background-writes.d.ts +3 -0
  1529. package/dist/orchestration/recall-background-writes.d.ts.map +1 -0
  1530. package/dist/orchestration/recall-entry.d.ts +78 -0
  1531. package/dist/orchestration/recall-entry.d.ts.map +1 -0
  1532. package/dist/orchestration/recall-internal-deps.d.ts +311 -0
  1533. package/dist/orchestration/recall-internal-deps.d.ts.map +1 -0
  1534. package/dist/orchestration/recall-internal.d.ts +30 -0
  1535. package/dist/orchestration/recall-internal.d.ts.map +1 -0
  1536. package/dist/orchestration/recall-introspection.d.ts +108 -0
  1537. package/dist/orchestration/recall-introspection.d.ts.map +1 -0
  1538. package/dist/orchestration/recall-profile-storage.d.ts +20 -0
  1539. package/dist/orchestration/recall-profile-storage.d.ts.map +1 -0
  1540. package/dist/orchestration/recall-recognition-index.d.ts +23 -0
  1541. package/dist/orchestration/recall-recognition-index.d.ts.map +1 -0
  1542. package/dist/orchestration/recall-recognition-search.d.ts +7 -0
  1543. package/dist/orchestration/recall-recognition-search.d.ts.map +1 -0
  1544. package/dist/orchestration/recall-rerank-coordinator.d.ts +126 -0
  1545. package/dist/orchestration/recall-rerank-coordinator.d.ts.map +1 -0
  1546. package/dist/orchestration/recall-result-formatter.d.ts +128 -0
  1547. package/dist/orchestration/recall-result-formatter.d.ts.map +1 -0
  1548. package/dist/orchestration/recall-search-pipeline.d.ts +284 -0
  1549. package/dist/orchestration/recall-search-pipeline.d.ts.map +1 -0
  1550. package/dist/orchestration/recall-search-prefilter.d.ts +31 -0
  1551. package/dist/orchestration/recall-search-prefilter.d.ts.map +1 -0
  1552. package/dist/orchestration/recall-section-coordinator.d.ts +92 -0
  1553. package/dist/orchestration/recall-section-coordinator.d.ts.map +1 -0
  1554. package/dist/orchestration/self-deps.d.ts +27 -0
  1555. package/dist/orchestration/self-deps.d.ts.map +1 -0
  1556. package/dist/orchestration/semantic-consolidation-coordinator.d.ts +64 -0
  1557. package/dist/orchestration/semantic-consolidation-coordinator.d.ts.map +1 -0
  1558. package/dist/orchestration/semantic-merge-commit-effects.d.ts +193 -0
  1559. package/dist/orchestration/semantic-merge-commit-effects.d.ts.map +1 -0
  1560. package/dist/orchestration/semantic-merge-persist.d.ts +318 -0
  1561. package/dist/orchestration/semantic-merge-persist.d.ts.map +1 -0
  1562. package/dist/orchestration/semantic-merge-promotion-payload.d.ts +132 -0
  1563. package/dist/orchestration/semantic-merge-promotion-payload.d.ts.map +1 -0
  1564. package/dist/orchestration/session-context.d.ts +225 -0
  1565. package/dist/orchestration/session-context.d.ts.map +1 -0
  1566. package/dist/orchestration/startup-collection-checks.d.ts +23 -0
  1567. package/dist/orchestration/startup-collection-checks.d.ts.map +1 -0
  1568. package/dist/orchestration/tier-migration-coordinator.d.ts +65 -0
  1569. package/dist/orchestration/tier-migration-coordinator.d.ts.map +1 -0
  1570. package/dist/orchestration/turn-ingestion.d.ts +227 -0
  1571. package/dist/orchestration/turn-ingestion.d.ts.map +1 -0
  1572. package/dist/orchestration/update-localization.d.ts +37 -0
  1573. package/dist/orchestration/update-localization.d.ts.map +1 -0
  1574. package/dist/orchestration/workspace-ops.d.ts +154 -0
  1575. package/dist/orchestration/workspace-ops.d.ts.map +1 -0
  1576. package/dist/orchestration/xray-capture-queue.d.ts +17 -0
  1577. package/dist/orchestration/xray-capture-queue.d.ts.map +1 -0
  1578. package/dist/orchestrator.d.ts +867 -109
  1579. package/dist/orchestrator.d.ts.map +1 -0
  1580. package/dist/orchestrator.js +157 -152
  1581. package/dist/page-versioning.d.ts +16 -17
  1582. package/dist/page-versioning.d.ts.map +1 -0
  1583. package/dist/patterns-cli.d.ts +20 -40
  1584. package/dist/patterns-cli.d.ts.map +1 -0
  1585. package/dist/peers/index.d.ts +17 -327
  1586. package/dist/peers/index.d.ts.map +1 -0
  1587. package/dist/peers/migrate-from-identity-anchor.d.ts +119 -0
  1588. package/dist/peers/migrate-from-identity-anchor.d.ts.map +1 -0
  1589. package/dist/peers/profile-reasoner.d.ts +204 -0
  1590. package/dist/peers/profile-reasoner.d.ts.map +1 -0
  1591. package/dist/peers/storage.d.ts +163 -0
  1592. package/dist/peers/storage.d.ts.map +1 -0
  1593. package/dist/peers/types.d.ts +125 -0
  1594. package/dist/peers/types.d.ts.map +1 -0
  1595. package/dist/plugin-entry-resolver.d.ts +3 -4
  1596. package/dist/plugin-entry-resolver.d.ts.map +1 -0
  1597. package/dist/plugin-id.d.ts +4 -5
  1598. package/dist/plugin-id.d.ts.map +1 -0
  1599. package/dist/policy-runtime.d.ts +7 -26
  1600. package/dist/policy-runtime.d.ts.map +1 -0
  1601. package/dist/preferences/drift-config.d.ts +27 -0
  1602. package/dist/preferences/drift-config.d.ts.map +1 -0
  1603. package/dist/preferences/drift-recall.d.ts +74 -0
  1604. package/dist/preferences/drift-recall.d.ts.map +1 -0
  1605. package/dist/preferences/drift-types.d.ts +59 -0
  1606. package/dist/preferences/drift-types.d.ts.map +1 -0
  1607. package/dist/preferences/index.d.ts +12 -0
  1608. package/dist/preferences/index.d.ts.map +1 -0
  1609. package/dist/preferences/preference-drift.d.ts +144 -0
  1610. package/dist/preferences/preference-drift.d.ts.map +1 -0
  1611. package/dist/prioritized-embed.d.ts +3 -4
  1612. package/dist/prioritized-embed.d.ts.map +1 -0
  1613. package/dist/proactive-contention.d.ts +4 -24
  1614. package/dist/proactive-contention.d.ts.map +1 -0
  1615. package/dist/procedural/library-maintenance.d.ts +102 -0
  1616. package/dist/procedural/library-maintenance.d.ts.map +1 -0
  1617. package/dist/procedural/maintenance-config.d.ts +9 -0
  1618. package/dist/procedural/maintenance-config.d.ts.map +1 -0
  1619. package/dist/procedural/procedure-miner.d.ts +20 -0
  1620. package/dist/procedural/procedure-miner.d.ts.map +1 -0
  1621. package/dist/procedural/procedure-recall.d.ts +30 -0
  1622. package/dist/procedural/procedure-recall.d.ts.map +1 -0
  1623. package/dist/procedural/procedure-stats.d.ts +68 -0
  1624. package/dist/procedural/procedure-stats.d.ts.map +1 -0
  1625. package/dist/procedural/procedure-types.d.ts +26 -0
  1626. package/dist/procedural/procedure-types.d.ts.map +1 -0
  1627. package/dist/procedural/reinforcement-core.d.ts +39 -0
  1628. package/dist/procedural/reinforcement-core.d.ts.map +1 -0
  1629. package/dist/procedural/skill-io.d.ts +70 -0
  1630. package/dist/procedural/skill-io.d.ts.map +1 -0
  1631. package/dist/procedural/skill-projection.d.ts +98 -0
  1632. package/dist/procedural/skill-projection.d.ts.map +1 -0
  1633. package/dist/profiling.d.ts +10 -11
  1634. package/dist/profiling.d.ts.map +1 -0
  1635. package/dist/projection/index.d.ts +62 -0
  1636. package/dist/projection/index.d.ts.map +1 -0
  1637. package/dist/provenance.d.ts +13 -33
  1638. package/dist/provenance.d.ts.map +1 -0
  1639. package/dist/provenance.js +2 -2
  1640. package/dist/providers/codex-subscription.d.ts +115 -0
  1641. package/dist/providers/codex-subscription.d.ts.map +1 -0
  1642. package/dist/qmd-preflight.d.ts +31 -21
  1643. package/dist/qmd-preflight.d.ts.map +1 -0
  1644. package/dist/qmd-recall-cache.d.ts +11 -30
  1645. package/dist/qmd-recall-cache.d.ts.map +1 -0
  1646. package/dist/qmd-status.d.ts +10 -11
  1647. package/dist/qmd-status.d.ts.map +1 -0
  1648. package/dist/qmd.d.ts +325 -21
  1649. package/dist/qmd.d.ts.map +1 -0
  1650. package/dist/reasoning-trace-recall.d.ts +7 -8
  1651. package/dist/reasoning-trace-recall.d.ts.map +1 -0
  1652. package/dist/reasoning-trace-types.d.ts +9 -10
  1653. package/dist/reasoning-trace-types.d.ts.map +1 -0
  1654. package/dist/recall-audit-anomaly.d.ts +11 -15
  1655. package/dist/recall-audit-anomaly.d.ts.map +1 -0
  1656. package/dist/recall-audit.d.ts +6 -8
  1657. package/dist/recall-audit.d.ts.map +1 -0
  1658. package/dist/recall-composition-decision.d.ts +9 -12
  1659. package/dist/recall-composition-decision.d.ts.map +1 -0
  1660. package/dist/recall-concurrency-config.d.ts +3 -22
  1661. package/dist/recall-concurrency-config.d.ts.map +1 -0
  1662. package/dist/recall-context-composition.d.ts +21 -22
  1663. package/dist/recall-context-composition.d.ts.map +1 -0
  1664. package/dist/recall-deep-access.d.ts +9 -12
  1665. package/dist/recall-deep-access.d.ts.map +1 -0
  1666. package/dist/recall-deep-budget-left.d.ts +2 -3
  1667. package/dist/recall-deep-budget-left.d.ts.map +1 -0
  1668. package/dist/recall-deep-budget.d.ts +2 -3
  1669. package/dist/recall-deep-budget.d.ts.map +1 -0
  1670. package/dist/recall-deep-expand-select.d.ts +4 -5
  1671. package/dist/recall-deep-expand-select.d.ts.map +1 -0
  1672. package/dist/recall-deep-expand.d.ts +2 -3
  1673. package/dist/recall-deep-expand.d.ts.map +1 -0
  1674. package/dist/recall-deep-frontier.d.ts +4 -5
  1675. package/dist/recall-deep-frontier.d.ts.map +1 -0
  1676. package/dist/recall-deep-policy.d.ts +5 -6
  1677. package/dist/recall-deep-policy.d.ts.map +1 -0
  1678. package/dist/recall-deep-query.d.ts +3 -4
  1679. package/dist/recall-deep-query.d.ts.map +1 -0
  1680. package/dist/recall-deep-refine.d.ts +2 -3
  1681. package/dist/recall-deep-refine.d.ts.map +1 -0
  1682. package/dist/recall-deep-render.d.ts +3 -6
  1683. package/dist/recall-deep-render.d.ts.map +1 -0
  1684. package/dist/recall-deep-rewrite.d.ts +4 -5
  1685. package/dist/recall-deep-rewrite.d.ts.map +1 -0
  1686. package/dist/recall-deep-step-count.d.ts +2 -3
  1687. package/dist/recall-deep-step-count.d.ts.map +1 -0
  1688. package/dist/recall-deep-stop-reason.d.ts +5 -6
  1689. package/dist/recall-deep-stop-reason.d.ts.map +1 -0
  1690. package/dist/recall-deep-stop.d.ts +6 -7
  1691. package/dist/recall-deep-stop.d.ts.map +1 -0
  1692. package/dist/recall-deep-trace-empty.d.ts +2 -3
  1693. package/dist/recall-deep-trace-empty.d.ts.map +1 -0
  1694. package/dist/recall-deep-working-set.d.ts +2 -3
  1695. package/dist/recall-deep-working-set.d.ts.map +1 -0
  1696. package/dist/recall-deep.d.ts +11 -12
  1697. package/dist/recall-deep.d.ts.map +1 -0
  1698. package/dist/recall-disclosure-escalation.d.ts +9 -29
  1699. package/dist/recall-disclosure-escalation.d.ts.map +1 -0
  1700. package/dist/recall-explain-renderer.d.ts +12 -38
  1701. package/dist/recall-explain-renderer.d.ts.map +1 -0
  1702. package/dist/recall-explain-renderer.js +3 -3
  1703. package/dist/recall-handles.d.ts +23 -24
  1704. package/dist/recall-handles.d.ts.map +1 -0
  1705. package/dist/recall-memory-map.d.ts +8 -27
  1706. package/dist/recall-memory-map.d.ts.map +1 -0
  1707. package/dist/recall-mmr.d.ts +13 -14
  1708. package/dist/recall-mmr.d.ts.map +1 -0
  1709. package/dist/recall-navigate-access.d.ts +6 -27
  1710. package/dist/recall-navigate-access.d.ts.map +1 -0
  1711. package/dist/recall-navigate-access.js +2 -2
  1712. package/dist/recall-navigate-action.d.ts +5 -5
  1713. package/dist/recall-navigate-action.d.ts.map +1 -0
  1714. package/dist/recall-navigate-budget.d.ts +3 -4
  1715. package/dist/recall-navigate-budget.d.ts.map +1 -0
  1716. package/dist/recall-navigate-cost.d.ts +2 -3
  1717. package/dist/recall-navigate-cost.d.ts.map +1 -0
  1718. package/dist/recall-navigate-depth.d.ts +2 -3
  1719. package/dist/recall-navigate-depth.d.ts.map +1 -0
  1720. package/dist/recall-navigate-disclosure.d.ts +5 -25
  1721. package/dist/recall-navigate-disclosure.d.ts.map +1 -0
  1722. package/dist/recall-navigate-disclosure.js +2 -2
  1723. package/dist/recall-navigate-link.d.ts +5 -5
  1724. package/dist/recall-navigate-link.d.ts.map +1 -0
  1725. package/dist/recall-navigate-max-children.d.ts +2 -3
  1726. package/dist/recall-navigate-max-children.d.ts.map +1 -0
  1727. package/dist/recall-navigate-node.d.ts +3 -4
  1728. package/dist/recall-navigate-node.d.ts.map +1 -0
  1729. package/dist/recall-navigate-path.d.ts +2 -3
  1730. package/dist/recall-navigate-path.d.ts.map +1 -0
  1731. package/dist/recall-navigate-render.d.ts +3 -4
  1732. package/dist/recall-navigate-render.d.ts.map +1 -0
  1733. package/dist/recall-navigate-traverse.d.ts +5 -6
  1734. package/dist/recall-navigate-traverse.d.ts.map +1 -0
  1735. package/dist/recall-navigate-window.d.ts +5 -6
  1736. package/dist/recall-navigate-window.d.ts.map +1 -0
  1737. package/dist/recall-navigate.d.ts +13 -33
  1738. package/dist/recall-navigate.d.ts.map +1 -0
  1739. package/dist/recall-navigate.js +2 -2
  1740. package/dist/recall-navigation-config.d.ts +7 -8
  1741. package/dist/recall-navigation-config.d.ts.map +1 -0
  1742. package/dist/recall-navigation-http-glue.d.ts +5 -151
  1743. package/dist/recall-navigation-http-glue.d.ts.map +1 -0
  1744. package/dist/recall-navigation-http-glue.js +2 -2
  1745. package/dist/recall-navigation-mcp-tools.d.ts +3 -150
  1746. package/dist/recall-navigation-mcp-tools.d.ts.map +1 -0
  1747. package/dist/recall-navigation-operations.d.ts +11 -2
  1748. package/dist/recall-navigation-operations.d.ts.map +1 -0
  1749. package/dist/recall-navigation-operations.js +66 -61
  1750. package/dist/recall-navigation-renderer.d.ts +4 -28
  1751. package/dist/recall-navigation-renderer.d.ts.map +1 -0
  1752. package/dist/recall-navigation.d.ts +13 -34
  1753. package/dist/recall-navigation.d.ts.map +1 -0
  1754. package/dist/recall-navigation.js +65 -60
  1755. package/dist/recall-pipeline-stages.d.ts +6 -9
  1756. package/dist/recall-pipeline-stages.d.ts.map +1 -0
  1757. package/dist/recall-planner-i18n.d.ts +13 -14
  1758. package/dist/recall-planner-i18n.d.ts.map +1 -0
  1759. package/dist/recall-planner-llm.d.ts +8 -30
  1760. package/dist/recall-planner-llm.d.ts.map +1 -0
  1761. package/dist/recall-qos.d.ts +13 -15
  1762. package/dist/recall-qos.d.ts.map +1 -0
  1763. package/dist/recall-query-policy.d.ts +9 -10
  1764. package/dist/recall-query-policy.d.ts.map +1 -0
  1765. package/dist/recall-recognition-tier.d.ts +27 -28
  1766. package/dist/recall-recognition-tier.d.ts.map +1 -0
  1767. package/dist/recall-state-view-admission.d.ts +7 -26
  1768. package/dist/recall-state-view-admission.d.ts.map +1 -0
  1769. package/dist/recall-state-view-admission.js +3 -3
  1770. package/dist/recall-state-view-anchors.d.ts +10 -29
  1771. package/dist/recall-state-view-anchors.d.ts.map +1 -0
  1772. package/dist/recall-state-view-current.d.ts +4 -5
  1773. package/dist/recall-state-view-current.d.ts.map +1 -0
  1774. package/dist/recall-state-view-inject.d.ts +3 -7
  1775. package/dist/recall-state-view-inject.d.ts.map +1 -0
  1776. package/dist/recall-state-view-kind.d.ts +5 -5
  1777. package/dist/recall-state-view-kind.d.ts.map +1 -0
  1778. package/dist/recall-state-view-label.d.ts +3 -6
  1779. package/dist/recall-state-view-label.d.ts.map +1 -0
  1780. package/dist/recall-state-view-packet.d.ts +7 -9
  1781. package/dist/recall-state-view-packet.d.ts.map +1 -0
  1782. package/dist/recall-state-view-render.d.ts +4 -7
  1783. package/dist/recall-state-view-render.d.ts.map +1 -0
  1784. package/dist/recall-state-view-successor.d.ts +3 -4
  1785. package/dist/recall-state-view-successor.d.ts.map +1 -0
  1786. package/dist/recall-state-view-superseded.d.ts +3 -4
  1787. package/dist/recall-state-view-superseded.d.ts.map +1 -0
  1788. package/dist/recall-state-view-transition.d.ts +4 -5
  1789. package/dist/recall-state-view-transition.d.ts.map +1 -0
  1790. package/dist/recall-state-view-widen.d.ts +3 -6
  1791. package/dist/recall-state-view-widen.d.ts.map +1 -0
  1792. package/dist/recall-state-view-wire.d.ts +3 -6
  1793. package/dist/recall-state-view-wire.d.ts.map +1 -0
  1794. package/dist/recall-state-view-zero-diff.d.ts +4 -5
  1795. package/dist/recall-state-view-zero-diff.d.ts.map +1 -0
  1796. package/dist/recall-state-view.d.ts +16 -17
  1797. package/dist/recall-state-view.d.ts.map +1 -0
  1798. package/dist/recall-state.d.ts +17 -35
  1799. package/dist/recall-state.d.ts.map +1 -0
  1800. package/dist/recall-tag-filter.d.ts +10 -33
  1801. package/dist/recall-tag-filter.d.ts.map +1 -0
  1802. package/dist/recall-timings.d.ts +10 -29
  1803. package/dist/recall-timings.d.ts.map +1 -0
  1804. package/dist/recall-tokenization.d.ts +7 -8
  1805. package/dist/recall-tokenization.d.ts.map +1 -0
  1806. package/dist/recall-why-cli.d.ts +25 -0
  1807. package/dist/recall-why-cli.d.ts.map +1 -0
  1808. package/dist/recall-why-cli.js +9 -0
  1809. package/dist/recall-why-cli.js.map +1 -0
  1810. package/dist/recall-why-renderer.d.ts +25 -0
  1811. package/dist/recall-why-renderer.d.ts.map +1 -0
  1812. package/dist/recall-why-renderer.js +18 -0
  1813. package/dist/recall-why-renderer.js.map +1 -0
  1814. package/dist/recall-why-service.d.ts +49 -0
  1815. package/dist/recall-why-service.d.ts.map +1 -0
  1816. package/dist/recall-why-service.js +46 -0
  1817. package/dist/recall-why-service.js.map +1 -0
  1818. package/dist/recall-why.d.ts +175 -0
  1819. package/dist/recall-why.d.ts.map +1 -0
  1820. package/dist/recall-why.js +25 -0
  1821. package/dist/recall-why.js.map +1 -0
  1822. package/dist/recall-xray-cli.d.ts +7 -31
  1823. package/dist/recall-xray-cli.d.ts.map +1 -0
  1824. package/dist/recall-xray-cli.js +4 -4
  1825. package/dist/recall-xray-renderer.d.ts +9 -33
  1826. package/dist/recall-xray-renderer.d.ts.map +1 -0
  1827. package/dist/recall-xray-renderer.js +3 -3
  1828. package/dist/recall-xray.d.ts +19 -39
  1829. package/dist/recall-xray.d.ts.map +1 -0
  1830. package/dist/recall-xray.js +2 -2
  1831. package/dist/reconcile/cursor.d.ts +15 -37
  1832. package/dist/reconcile/cursor.d.ts.map +1 -0
  1833. package/dist/reconcile/manifest.d.ts +19 -40
  1834. package/dist/reconcile/manifest.d.ts.map +1 -0
  1835. package/dist/reconcile/manifest.js +2 -2
  1836. package/dist/reconcile/plan.d.ts +22 -42
  1837. package/dist/reconcile/plan.d.ts.map +1 -0
  1838. package/dist/reconstruct.d.ts +2 -3
  1839. package/dist/reconstruct.d.ts.map +1 -0
  1840. package/dist/relay/mission-access.d.ts +28 -0
  1841. package/dist/relay/mission-access.d.ts.map +1 -0
  1842. package/dist/relay/mission-fixture.d.ts +11 -0
  1843. package/dist/relay/mission-fixture.d.ts.map +1 -0
  1844. package/dist/relay/mission.d.ts +3952 -0
  1845. package/dist/relay/mission.d.ts.map +1 -0
  1846. package/dist/release-changelog.d.ts +3 -4
  1847. package/dist/release-changelog.d.ts.map +1 -0
  1848. package/dist/relevance.d.ts +3 -3
  1849. package/dist/relevance.d.ts.map +1 -0
  1850. package/dist/replay/normalizers/chatgpt.d.ts +3 -23
  1851. package/dist/replay/normalizers/chatgpt.d.ts.map +1 -0
  1852. package/dist/replay/normalizers/claude.d.ts +3 -23
  1853. package/dist/replay/normalizers/claude.d.ts.map +1 -0
  1854. package/dist/replay/normalizers/openclaw.d.ts +3 -23
  1855. package/dist/replay/normalizers/openclaw.d.ts.map +1 -0
  1856. package/dist/replay/normalizers/shared.d.ts +6 -25
  1857. package/dist/replay/normalizers/shared.d.ts.map +1 -0
  1858. package/dist/replay/runner.d.ts +10 -30
  1859. package/dist/replay/runner.d.ts.map +1 -0
  1860. package/dist/replay/types.d.ts +18 -37
  1861. package/dist/replay/types.d.ts.map +1 -0
  1862. package/dist/replica-divergence.d.ts +24 -45
  1863. package/dist/replica-divergence.d.ts.map +1 -0
  1864. package/dist/replica-divergence.js +3 -3
  1865. package/dist/replica-peers-config.d.ts +50 -18
  1866. package/dist/replica-peers-config.d.ts.map +1 -0
  1867. package/dist/rerank.d.ts +8 -9
  1868. package/dist/rerank.d.ts.map +1 -0
  1869. package/dist/resolution-CHNISQJB.js +36 -0
  1870. package/dist/resolution-CHNISQJB.js.map +1 -0
  1871. package/dist/resolve-auth-token.d.ts +9 -27
  1872. package/dist/resolve-auth-token.d.ts.map +1 -0
  1873. package/dist/resolve-provider-secret.d.ts +10 -11
  1874. package/dist/resolve-provider-secret.d.ts.map +1 -0
  1875. package/dist/response-guidance-recall.d.ts +5 -8
  1876. package/dist/response-guidance-recall.d.ts.map +1 -0
  1877. package/dist/resume-bundles.d.ts +9 -10
  1878. package/dist/resume-bundles.d.ts.map +1 -0
  1879. package/dist/resume-bundles.js +24 -24
  1880. package/dist/retrieval-agents.d.ts +14 -36
  1881. package/dist/retrieval-agents.d.ts.map +1 -0
  1882. package/dist/retrieval-tiers.d.ts +4 -24
  1883. package/dist/retrieval-tiers.d.ts.map +1 -0
  1884. package/dist/retrieval.d.ts +5 -6
  1885. package/dist/retrieval.d.ts.map +1 -0
  1886. package/dist/review/frontmatter.d.ts +6 -0
  1887. package/dist/review/frontmatter.d.ts.map +1 -0
  1888. package/dist/review/index.d.ts +81 -0
  1889. package/dist/review/index.d.ts.map +1 -0
  1890. package/dist/review/review-deck-http-base.d.ts +10 -0
  1891. package/dist/review/review-deck-http-base.d.ts.map +1 -0
  1892. package/dist/review/review-deck-mutation.d.ts +51 -0
  1893. package/dist/review/review-deck-mutation.d.ts.map +1 -0
  1894. package/dist/review/review-deck-snapshot.d.ts +10 -0
  1895. package/dist/review/review-deck-snapshot.d.ts.map +1 -0
  1896. package/dist/review/review-deck-surface.d.ts +33 -0
  1897. package/dist/review/review-deck-surface.d.ts.map +1 -0
  1898. package/dist/review/review-deck.d.ts +107 -0
  1899. package/dist/review/review-deck.d.ts.map +1 -0
  1900. package/dist/routing/engine.d.ts +12 -31
  1901. package/dist/routing/engine.d.ts.map +1 -0
  1902. package/dist/routing/store.d.ts +3 -23
  1903. package/dist/routing/store.d.ts.map +1 -0
  1904. package/dist/runtime/better-sqlite.d.ts +9 -10
  1905. package/dist/runtime/better-sqlite.d.ts.map +1 -0
  1906. package/dist/runtime/child-process.d.ts +5 -5
  1907. package/dist/runtime/child-process.d.ts.map +1 -0
  1908. package/dist/runtime/daemon-health.d.ts +2 -0
  1909. package/dist/runtime/daemon-health.d.ts.map +1 -0
  1910. package/dist/runtime/env.d.ts +5 -6
  1911. package/dist/runtime/env.d.ts.map +1 -0
  1912. package/dist/runtime/http-transport.d.ts +3 -4
  1913. package/dist/runtime/http-transport.d.ts.map +1 -0
  1914. package/dist/salvage-envelope.d.ts +3 -23
  1915. package/dist/salvage-envelope.d.ts.map +1 -0
  1916. package/dist/sanitize.d.ts +5 -7
  1917. package/dist/sanitize.d.ts.map +1 -0
  1918. package/dist/schemas.d.ts +135 -137
  1919. package/dist/schemas.d.ts.map +1 -0
  1920. package/dist/scopes/scope-plan.d.ts +258 -0
  1921. package/dist/scopes/scope-plan.d.ts.map +1 -0
  1922. package/dist/sdk-compat.d.ts +4 -5
  1923. package/dist/sdk-compat.d.ts.map +1 -0
  1924. package/dist/search/abort.d.ts +5 -0
  1925. package/dist/search/abort.d.ts.map +1 -0
  1926. package/dist/search/document-scanner.d.ts +3 -4
  1927. package/dist/search/document-scanner.d.ts.map +1 -0
  1928. package/dist/search/embed-helper.d.ts +8 -26
  1929. package/dist/search/embed-helper.d.ts.map +1 -0
  1930. package/dist/search/factory.d.ts +10 -31
  1931. package/dist/search/factory.d.ts.map +1 -0
  1932. package/dist/search/factory.js +4 -4
  1933. package/dist/search/index.d.ts +11 -32
  1934. package/dist/search/index.d.ts.map +1 -0
  1935. package/dist/search/index.js +10 -10
  1936. package/dist/search/lancedb-backend.d.ts +5 -26
  1937. package/dist/search/lancedb-backend.d.ts.map +1 -0
  1938. package/dist/search/meilisearch-backend.d.ts +4 -24
  1939. package/dist/search/meilisearch-backend.d.ts.map +1 -0
  1940. package/dist/search/noop-backend.d.ts +3 -23
  1941. package/dist/search/noop-backend.d.ts.map +1 -0
  1942. package/dist/search/orama-backend.d.ts +6 -27
  1943. package/dist/search/orama-backend.d.ts.map +1 -0
  1944. package/dist/search/orama-cjk-tokenizer.d.ts +53 -0
  1945. package/dist/search/orama-cjk-tokenizer.d.ts.map +1 -0
  1946. package/dist/search/port.d.ts +10 -29
  1947. package/dist/search/port.d.ts.map +1 -0
  1948. package/dist/search/remote-backend.d.ts +4 -24
  1949. package/dist/search/remote-backend.d.ts.map +1 -0
  1950. package/dist/secure-store/cipher.d.ts +127 -0
  1951. package/dist/secure-store/cipher.d.ts.map +1 -0
  1952. package/dist/secure-store/cli-handlers.d.ts +134 -0
  1953. package/dist/secure-store/cli-handlers.d.ts.map +1 -0
  1954. package/dist/secure-store/cli-renderer.d.ts +16 -0
  1955. package/dist/secure-store/cli-renderer.d.ts.map +1 -0
  1956. package/dist/secure-store/header.d.ts +137 -0
  1957. package/dist/secure-store/header.d.ts.map +1 -0
  1958. package/dist/secure-store/index.d.ts +23 -899
  1959. package/dist/secure-store/index.d.ts.map +1 -0
  1960. package/dist/secure-store/kdf.d.ts +101 -0
  1961. package/dist/secure-store/kdf.d.ts.map +1 -0
  1962. package/dist/secure-store/keyring.d.ts +58 -0
  1963. package/dist/secure-store/keyring.d.ts.map +1 -0
  1964. package/dist/secure-store/metadata.d.ts +104 -0
  1965. package/dist/secure-store/metadata.d.ts.map +1 -0
  1966. package/dist/secure-store/passphrase-reader.d.ts +40 -0
  1967. package/dist/secure-store/passphrase-reader.d.ts.map +1 -0
  1968. package/dist/secure-store/secure-fs.d.ts +227 -0
  1969. package/dist/secure-store/secure-fs.d.ts.map +1 -0
  1970. package/dist/security/audit-memory-cli.d.ts +9 -0
  1971. package/dist/security/audit-memory-cli.d.ts.map +1 -0
  1972. package/dist/security/audit-memory.d.ts +48 -0
  1973. package/dist/security/audit-memory.d.ts.map +1 -0
  1974. package/dist/security/injection-screen.d.ts +19 -0
  1975. package/dist/security/injection-screen.d.ts.map +1 -0
  1976. package/dist/security/origin-authority.d.ts +30 -0
  1977. package/dist/security/origin-authority.d.ts.map +1 -0
  1978. package/dist/security/types.d.ts +13 -0
  1979. package/dist/security/types.d.ts.map +1 -0
  1980. package/dist/semantic-chunking.d.ts +13 -16
  1981. package/dist/semantic-chunking.d.ts.map +1 -0
  1982. package/dist/semantic-consolidation.d.ts +126 -22
  1983. package/dist/semantic-consolidation.d.ts.map +1 -0
  1984. package/dist/semantic-consolidation.js +15 -15
  1985. package/dist/semantic-merge-config.d.ts +2 -3
  1986. package/dist/semantic-merge-config.d.ts.map +1 -0
  1987. package/dist/semantic-rule-promotion.d.ts +7 -7
  1988. package/dist/semantic-rule-promotion.d.ts.map +1 -0
  1989. package/dist/semantic-rule-promotion.js +14 -14
  1990. package/dist/semantic-rule-verifier.d.ts +6 -25
  1991. package/dist/semantic-rule-verifier.d.ts.map +1 -0
  1992. package/dist/semantic-rule-verifier.js +14 -14
  1993. package/dist/session-identity.d.ts +10 -11
  1994. package/dist/session-identity.d.ts.map +1 -0
  1995. package/dist/session-integrity.d.ts +14 -15
  1996. package/dist/session-integrity.d.ts.map +1 -0
  1997. package/dist/session-namespace-bindings.d.ts +10 -11
  1998. package/dist/session-namespace-bindings.d.ts.map +1 -0
  1999. package/dist/session-observer-bands.d.ts +4 -23
  2000. package/dist/session-observer-bands.d.ts.map +1 -0
  2001. package/dist/session-observer-state.d.ts +6 -25
  2002. package/dist/session-observer-state.d.ts.map +1 -0
  2003. package/dist/session-summaries/adapters.d.ts +5 -0
  2004. package/dist/session-summaries/adapters.d.ts.map +1 -0
  2005. package/dist/session-summaries/index.d.ts +7 -0
  2006. package/dist/session-summaries/index.d.ts.map +1 -0
  2007. package/dist/session-summaries/redaction.d.ts +8 -0
  2008. package/dist/session-summaries/redaction.d.ts.map +1 -0
  2009. package/dist/session-summaries/types.d.ts +113 -0
  2010. package/dist/session-summaries/types.d.ts.map +1 -0
  2011. package/dist/session-toggles.d.ts +4 -4
  2012. package/dist/session-toggles.d.ts.map +1 -0
  2013. package/dist/session-transcript-migration.d.ts +9 -10
  2014. package/dist/session-transcript-migration.d.ts.map +1 -0
  2015. package/dist/shared-context/authority-precedence.d.ts +22 -0
  2016. package/dist/shared-context/authority-precedence.d.ts.map +1 -0
  2017. package/dist/shared-context/authority.d.ts +18 -0
  2018. package/dist/shared-context/authority.d.ts.map +1 -0
  2019. package/dist/shared-context/claim-key.d.ts +14 -0
  2020. package/dist/shared-context/claim-key.d.ts.map +1 -0
  2021. package/dist/shared-context/contradictions.d.ts +20 -0
  2022. package/dist/shared-context/contradictions.d.ts.map +1 -0
  2023. package/dist/shared-context/curation-lint.d.ts +23 -0
  2024. package/dist/shared-context/curation-lint.d.ts.map +1 -0
  2025. package/dist/shared-context/envelope-actor.d.ts +14 -0
  2026. package/dist/shared-context/envelope-actor.d.ts.map +1 -0
  2027. package/dist/shared-context/envelope-at.d.ts +19 -0
  2028. package/dist/shared-context/envelope-at.d.ts.map +1 -0
  2029. package/dist/shared-context/envelope-id.d.ts +14 -0
  2030. package/dist/shared-context/envelope-id.d.ts.map +1 -0
  2031. package/dist/shared-context/envelope-io.d.ts +100 -0
  2032. package/dist/shared-context/envelope-io.d.ts.map +1 -0
  2033. package/dist/shared-context/envelope-required.d.ts +14 -0
  2034. package/dist/shared-context/envelope-required.d.ts.map +1 -0
  2035. package/dist/shared-context/envelope-ttl.d.ts +12 -0
  2036. package/dist/shared-context/envelope-ttl.d.ts.map +1 -0
  2037. package/dist/shared-context/governance.d.ts +28 -0
  2038. package/dist/shared-context/governance.d.ts.map +1 -0
  2039. package/dist/shared-context/iso-instant.d.ts +19 -0
  2040. package/dist/shared-context/iso-instant.d.ts.map +1 -0
  2041. package/dist/shared-context/manager.d.ts +13 -40
  2042. package/dist/shared-context/manager.d.ts.map +1 -0
  2043. package/dist/shared-context/provenance.d.ts +18 -0
  2044. package/dist/shared-context/provenance.d.ts.map +1 -0
  2045. package/dist/shared-context/staleness.d.ts +18 -0
  2046. package/dist/shared-context/staleness.d.ts.map +1 -0
  2047. package/dist/shared-context/supersession-chain.d.ts +41 -0
  2048. package/dist/shared-context/supersession-chain.d.ts.map +1 -0
  2049. package/dist/shared-context/trajectories.d.ts +24 -0
  2050. package/dist/shared-context/trajectories.d.ts.map +1 -0
  2051. package/dist/shared-context/write-output-controls.d.ts +4 -5
  2052. package/dist/shared-context/write-output-controls.d.ts.map +1 -0
  2053. package/dist/signal.d.ts +4 -23
  2054. package/dist/signal.d.ts.map +1 -0
  2055. package/dist/skills-registry.d.ts +4 -5
  2056. package/dist/skills-registry.d.ts.map +1 -0
  2057. package/dist/source-agent-qualifier.d.ts +8 -27
  2058. package/dist/source-agent-qualifier.d.ts.map +1 -0
  2059. package/dist/source-agent-qualifier.js +23 -23
  2060. package/dist/source-attribution.d.ts +20 -21
  2061. package/dist/source-attribution.d.ts.map +1 -0
  2062. package/dist/spaces/index.d.ts +148 -0
  2063. package/dist/spaces/index.d.ts.map +1 -0
  2064. package/dist/standing-memory-block.d.ts +25 -26
  2065. package/dist/standing-memory-block.d.ts.map +1 -0
  2066. package/dist/standup/access-operations.d.ts +2 -0
  2067. package/dist/standup/access-operations.d.ts.map +1 -0
  2068. package/dist/standup/build.d.ts +6 -7
  2069. package/dist/standup/build.d.ts.map +1 -0
  2070. package/dist/standup/build.js +15 -15
  2071. package/dist/standup/http-glue.d.ts +4 -0
  2072. package/dist/standup/http-glue.d.ts.map +1 -0
  2073. package/dist/standup/mcp-tools.d.ts +3 -0
  2074. package/dist/standup/mcp-tools.d.ts.map +1 -0
  2075. package/dist/storage/cas-revision-host.d.ts +34 -0
  2076. package/dist/storage/cas-revision-host.d.ts.map +1 -0
  2077. package/dist/storage/cas-revision-store.d.ts +176 -0
  2078. package/dist/storage/cas-revision-store.d.ts.map +1 -0
  2079. package/dist/storage/citation-hash-source.d.ts +3 -0
  2080. package/dist/storage/citation-hash-source.d.ts.map +1 -0
  2081. package/dist/storage/committed-invalidation.d.ts +9 -0
  2082. package/dist/storage/committed-invalidation.d.ts.map +1 -0
  2083. package/dist/storage/content-hash-index.d.ts +269 -0
  2084. package/dist/storage/content-hash-index.d.ts.map +1 -0
  2085. package/dist/storage/context-transform-ledger.d.ts +10 -0
  2086. package/dist/storage/context-transform-ledger.d.ts.map +1 -0
  2087. package/dist/storage/deletion-revision-store.d.ts +79 -0
  2088. package/dist/storage/deletion-revision-store.d.ts.map +1 -0
  2089. package/dist/storage/entity-alias-config.d.ts +2 -0
  2090. package/dist/storage/entity-alias-config.d.ts.map +1 -0
  2091. package/dist/storage/entity-canonical-id-lock.d.ts +4 -0
  2092. package/dist/storage/entity-canonical-id-lock.d.ts.map +1 -0
  2093. package/dist/storage/entity-canonical-id-migration-adapter.d.ts +24 -0
  2094. package/dist/storage/entity-canonical-id-migration-adapter.d.ts.map +1 -0
  2095. package/dist/storage/entity-canonical-id-migration-runner.d.ts +16 -0
  2096. package/dist/storage/entity-canonical-id-migration-runner.d.ts.map +1 -0
  2097. package/dist/storage/entity-canonical-id-migration.d.ts +44 -0
  2098. package/dist/storage/entity-canonical-id-migration.d.ts.map +1 -0
  2099. package/dist/storage/entity-canonical-id-references.d.ts +173 -0
  2100. package/dist/storage/entity-canonical-id-references.d.ts.map +1 -0
  2101. package/dist/storage/entity-id-safety.d.ts +2 -0
  2102. package/dist/storage/entity-id-safety.d.ts.map +1 -0
  2103. package/dist/storage/entity-ref-repair.d.ts +45 -0
  2104. package/dist/storage/entity-ref-repair.d.ts.map +1 -0
  2105. package/dist/storage/entity-store.d.ts +131 -0
  2106. package/dist/storage/entity-store.d.ts.map +1 -0
  2107. package/dist/storage/entity-timeline.d.ts +34 -0
  2108. package/dist/storage/entity-timeline.d.ts.map +1 -0
  2109. package/dist/storage/identity-continuity-store.d.ts +40 -0
  2110. package/dist/storage/identity-continuity-store.d.ts.map +1 -0
  2111. package/dist/storage/memory-frontmatter-metadata.d.ts +4 -0
  2112. package/dist/storage/memory-frontmatter-metadata.d.ts.map +1 -0
  2113. package/dist/storage/memory-lifecycle-ledger-access.d.ts +194 -0
  2114. package/dist/storage/memory-lifecycle-ledger-access.d.ts.map +1 -0
  2115. package/dist/storage/memory-migration-serialization.d.ts +5 -0
  2116. package/dist/storage/memory-migration-serialization.d.ts.map +1 -0
  2117. package/dist/storage/memory-read-store.d.ts +193 -0
  2118. package/dist/storage/memory-read-store.d.ts.map +1 -0
  2119. package/dist/storage/profile-header.d.ts +16 -0
  2120. package/dist/storage/profile-header.d.ts.map +1 -0
  2121. package/dist/storage/questions-file.d.ts +11 -0
  2122. package/dist/storage/questions-file.d.ts.map +1 -0
  2123. package/dist/storage/secure-line-reader.d.ts +53 -0
  2124. package/dist/storage/secure-line-reader.d.ts.map +1 -0
  2125. package/dist/storage/supersession-audit.d.ts +7 -0
  2126. package/dist/storage/supersession-audit.d.ts.map +1 -0
  2127. package/dist/storage/supersession-side-effects.d.ts +51 -0
  2128. package/dist/storage/supersession-side-effects.d.ts.map +1 -0
  2129. package/dist/storage/tombstone-blocked-capture-index.d.ts +93 -0
  2130. package/dist/storage/tombstone-blocked-capture-index.d.ts.map +1 -0
  2131. package/dist/storage/tombstone-blocked-capture-mutation.d.ts +53 -0
  2132. package/dist/storage/tombstone-blocked-capture-mutation.d.ts.map +1 -0
  2133. package/dist/storage/tombstone-blocked-capture-sync.d.ts +96 -0
  2134. package/dist/storage/tombstone-blocked-capture-sync.d.ts.map +1 -0
  2135. package/dist/storage/tombstone-migration-sources.d.ts +24 -0
  2136. package/dist/storage/tombstone-migration-sources.d.ts.map +1 -0
  2137. package/dist/storage/windowed-memory-read.d.ts +28 -0
  2138. package/dist/storage/windowed-memory-read.d.ts.map +1 -0
  2139. package/dist/storage-contract/harness.d.ts +59 -0
  2140. package/dist/storage-contract/harness.d.ts.map +1 -0
  2141. package/dist/storage-guards.d.ts +6 -7
  2142. package/dist/storage-guards.d.ts.map +1 -0
  2143. package/dist/storage-paths.d.ts +8 -9
  2144. package/dist/storage-paths.d.ts.map +1 -0
  2145. package/dist/storage.d.ts +1362 -33
  2146. package/dist/storage.d.ts.map +1 -0
  2147. package/dist/storage.js +15 -15
  2148. package/dist/store-contract.d.ts +9 -10
  2149. package/dist/store-contract.d.ts.map +1 -0
  2150. package/dist/structured-attributes.d.ts +6 -7
  2151. package/dist/structured-attributes.d.ts.map +1 -0
  2152. package/dist/subject-config.d.ts +4 -24
  2153. package/dist/subject-config.d.ts.map +1 -0
  2154. package/dist/summarizer.d.ts +7 -27
  2155. package/dist/summarizer.d.ts.map +1 -0
  2156. package/dist/summarizer.js +3 -3
  2157. package/dist/summary-snapshot.d.ts +6 -25
  2158. package/dist/summary-snapshot.d.ts.map +1 -0
  2159. package/dist/support-passport/access-http-base.d.ts +20 -0
  2160. package/dist/support-passport/access-http-base.d.ts.map +1 -0
  2161. package/dist/support-passport/access-http.d.ts +64 -0
  2162. package/dist/support-passport/access-http.d.ts.map +1 -0
  2163. package/dist/support-passport/access-operations.d.ts +197 -0
  2164. package/dist/support-passport/access-operations.d.ts.map +1 -0
  2165. package/dist/support-passport/access-service-base.d.ts +86 -0
  2166. package/dist/support-passport/access-service-base.d.ts.map +1 -0
  2167. package/dist/support-passport/access-surface.d.ts +118 -0
  2168. package/dist/support-passport/access-surface.d.ts.map +1 -0
  2169. package/dist/support-passport/card-projection.d.ts +83 -0
  2170. package/dist/support-passport/card-projection.d.ts.map +1 -0
  2171. package/dist/support-passport/card-replacement.d.ts +21 -0
  2172. package/dist/support-passport/card-replacement.d.ts.map +1 -0
  2173. package/dist/support-passport/card-service.d.ts +65 -0
  2174. package/dist/support-passport/card-service.d.ts.map +1 -0
  2175. package/dist/support-passport/card-state.d.ts +28 -0
  2176. package/dist/support-passport/card-state.d.ts.map +1 -0
  2177. package/dist/support-passport/config.d.ts +4 -0
  2178. package/dist/support-passport/config.d.ts.map +1 -0
  2179. package/dist/support-passport/contracts.d.ts +165 -0
  2180. package/dist/support-passport/contracts.d.ts.map +1 -0
  2181. package/dist/support-passport/errors.d.ts +7 -0
  2182. package/dist/support-passport/errors.d.ts.map +1 -0
  2183. package/dist/support-passport/generated-batch.d.ts +47 -0
  2184. package/dist/support-passport/generated-batch.d.ts.map +1 -0
  2185. package/dist/support-passport/grant-contracts.d.ts +443 -0
  2186. package/dist/support-passport/grant-contracts.d.ts.map +1 -0
  2187. package/dist/support-passport/grant-service.d.ts +48 -0
  2188. package/dist/support-passport/grant-service.d.ts.map +1 -0
  2189. package/dist/support-passport/grant-store.d.ts +84 -0
  2190. package/dist/support-passport/grant-store.d.ts.map +1 -0
  2191. package/dist/support-passport/index.d.ts +17 -571
  2192. package/dist/support-passport/index.d.ts.map +1 -0
  2193. package/dist/support-passport/index.js +75 -70
  2194. package/dist/support-passport/mcp-tools.d.ts +16 -0
  2195. package/dist/support-passport/mcp-tools.d.ts.map +1 -0
  2196. package/dist/support-passport/model-adapter.d.ts +90 -0
  2197. package/dist/support-passport/model-adapter.d.ts.map +1 -0
  2198. package/dist/support-passport/model-audit.d.ts +115 -0
  2199. package/dist/support-passport/model-audit.d.ts.map +1 -0
  2200. package/dist/support-passport/model-bridge.d.ts +105 -0
  2201. package/dist/support-passport/model-bridge.d.ts.map +1 -0
  2202. package/dist/support-passport/model-contracts.d.ts +219 -0
  2203. package/dist/support-passport/model-contracts.d.ts.map +1 -0
  2204. package/dist/support-passport/model-service.d.ts +58 -0
  2205. package/dist/support-passport/model-service.d.ts.map +1 -0
  2206. package/dist/support-passport/offline-sync-guard.d.ts +46 -0
  2207. package/dist/support-passport/offline-sync-guard.d.ts.map +1 -0
  2208. package/dist/support-passport/owner-lock.d.ts +16 -0
  2209. package/dist/support-passport/owner-lock.d.ts.map +1 -0
  2210. package/dist/support-passport/private-file.d.ts +16 -0
  2211. package/dist/support-passport/private-file.d.ts.map +1 -0
  2212. package/dist/support-passport/public-http.d.ts +23 -0
  2213. package/dist/support-passport/public-http.d.ts.map +1 -0
  2214. package/dist/surfaces/dreams.d.ts +4 -5
  2215. package/dist/surfaces/dreams.d.ts.map +1 -0
  2216. package/dist/surfaces/heartbeat.d.ts +4 -5
  2217. package/dist/surfaces/heartbeat.d.ts.map +1 -0
  2218. package/dist/sync/index.d.ts +69 -0
  2219. package/dist/sync/index.d.ts.map +1 -0
  2220. package/dist/targeted-fact-recall.d.ts +5 -8
  2221. package/dist/targeted-fact-recall.d.ts.map +1 -0
  2222. package/dist/task-llm-config.d.ts +4 -5
  2223. package/dist/task-llm-config.d.ts.map +1 -0
  2224. package/dist/taxonomy/default-taxonomy.d.ts +7 -0
  2225. package/dist/taxonomy/default-taxonomy.d.ts.map +1 -0
  2226. package/dist/taxonomy/index.d.ts +11 -0
  2227. package/dist/taxonomy/index.d.ts.map +1 -0
  2228. package/dist/taxonomy/resolver-doc-generator.d.ts +17 -0
  2229. package/dist/taxonomy/resolver-doc-generator.d.ts.map +1 -0
  2230. package/dist/taxonomy/resolver.d.ts +25 -0
  2231. package/dist/taxonomy/resolver.d.ts.map +1 -0
  2232. package/dist/taxonomy/taxonomy-loader.d.ts +38 -0
  2233. package/dist/taxonomy/taxonomy-loader.d.ts.map +1 -0
  2234. package/dist/taxonomy/types.d.ts +49 -0
  2235. package/dist/taxonomy/types.d.ts.map +1 -0
  2236. package/dist/telemetry-transcript.d.ts +6 -7
  2237. package/dist/telemetry-transcript.d.ts.map +1 -0
  2238. package/dist/temporal-index-batch.d.ts +30 -1
  2239. package/dist/temporal-index-batch.d.ts.map +1 -0
  2240. package/dist/temporal-index-compat.d.ts +7 -267
  2241. package/dist/temporal-index-compat.d.ts.map +1 -0
  2242. package/dist/temporal-index.d.ts +230 -1
  2243. package/dist/temporal-index.d.ts.map +1 -0
  2244. package/dist/temporal-supersession.d.ts +14 -34
  2245. package/dist/temporal-supersession.d.ts.map +1 -0
  2246. package/dist/temporal-timeline-recall.d.ts +5 -24
  2247. package/dist/temporal-timeline-recall.d.ts.map +1 -0
  2248. package/dist/temporal-validity.d.ts +7 -27
  2249. package/dist/temporal-validity.d.ts.map +1 -0
  2250. package/dist/testing/lifecycle-matrix.d.ts +11 -12
  2251. package/dist/testing/lifecycle-matrix.d.ts.map +1 -0
  2252. package/dist/testing/orchestrator-lite.d.ts +80 -0
  2253. package/dist/testing/orchestrator-lite.d.ts.map +1 -0
  2254. package/dist/testing/subjects/meetings-namespace-harness.d.ts +32 -0
  2255. package/dist/testing/subjects/meetings-namespace-harness.d.ts.map +1 -0
  2256. package/dist/testing/tmp-dir.d.ts +9 -0
  2257. package/dist/testing/tmp-dir.d.ts.map +1 -0
  2258. package/dist/thread-key.d.ts +2 -3
  2259. package/dist/thread-key.d.ts.map +1 -0
  2260. package/dist/threading.d.ts +3 -23
  2261. package/dist/threading.d.ts.map +1 -0
  2262. package/dist/tier-migration.d.ts +10 -43
  2263. package/dist/tier-migration.d.ts.map +1 -0
  2264. package/dist/tier-routing.d.ts +8 -27
  2265. package/dist/tier-routing.d.ts.map +1 -0
  2266. package/dist/tmt.d.ts +18 -19
  2267. package/dist/tmt.d.ts.map +1 -0
  2268. package/dist/token-estimate.d.ts +2 -3
  2269. package/dist/token-estimate.d.ts.map +1 -0
  2270. package/dist/tokens.d.ts +15 -19
  2271. package/dist/tokens.d.ts.map +1 -0
  2272. package/dist/tokens.js +3 -3
  2273. package/dist/tool-scoped-memory.d.ts +7 -8
  2274. package/dist/tool-scoped-memory.d.ts.map +1 -0
  2275. package/dist/topics.d.ts +4 -24
  2276. package/dist/topics.d.ts.map +1 -0
  2277. package/dist/training-export/converter.d.ts +18 -0
  2278. package/dist/training-export/converter.d.ts.map +1 -0
  2279. package/dist/training-export/date-parse.d.ts +38 -0
  2280. package/dist/training-export/date-parse.d.ts.map +1 -0
  2281. package/dist/training-export/index.d.ts +10 -0
  2282. package/dist/training-export/index.d.ts.map +1 -0
  2283. package/dist/training-export/registry.d.ts +27 -0
  2284. package/dist/training-export/registry.d.ts.map +1 -0
  2285. package/dist/training-export/types.d.ts +29 -0
  2286. package/dist/training-export/types.d.ts.map +1 -0
  2287. package/dist/transcript.d.ts +5 -24
  2288. package/dist/transcript.d.ts.map +1 -0
  2289. package/dist/transfer/autodetect.d.ts +3 -4
  2290. package/dist/transfer/autodetect.d.ts.map +1 -0
  2291. package/dist/transfer/backup.d.ts +3 -4
  2292. package/dist/transfer/backup.d.ts.map +1 -0
  2293. package/dist/transfer/backup.js +2 -2
  2294. package/dist/transfer/capsule-crypto.d.ts +168 -0
  2295. package/dist/transfer/capsule-crypto.d.ts.map +1 -0
  2296. package/dist/transfer/capsule-export.d.ts +6 -9
  2297. package/dist/transfer/capsule-export.d.ts.map +1 -0
  2298. package/dist/transfer/capsule-export.js +2 -2
  2299. package/dist/transfer/capsule-fork.d.ts +117 -0
  2300. package/dist/transfer/capsule-fork.d.ts.map +1 -0
  2301. package/dist/transfer/capsule-import.d.ts +10 -13
  2302. package/dist/transfer/capsule-import.d.ts.map +1 -0
  2303. package/dist/transfer/capsule-import.js +2 -2
  2304. package/dist/transfer/capsule-merge.d.ts +124 -0
  2305. package/dist/transfer/capsule-merge.d.ts.map +1 -0
  2306. package/dist/transfer/conflict-policy.d.ts +5 -0
  2307. package/dist/transfer/conflict-policy.d.ts.map +1 -0
  2308. package/dist/transfer/constants.d.ts +4 -5
  2309. package/dist/transfer/constants.d.ts.map +1 -0
  2310. package/dist/transfer/exclusions.d.ts +8 -0
  2311. package/dist/transfer/exclusions.d.ts.map +1 -0
  2312. package/dist/transfer/export-json.d.ts +3 -4
  2313. package/dist/transfer/export-json.d.ts.map +1 -0
  2314. package/dist/transfer/export-md.d.ts +4 -5
  2315. package/dist/transfer/export-md.d.ts.map +1 -0
  2316. package/dist/transfer/export-okf.d.ts +11 -31
  2317. package/dist/transfer/export-okf.d.ts.map +1 -0
  2318. package/dist/transfer/export-okf.js +14 -14
  2319. package/dist/transfer/export-sqlite.d.ts +3 -4
  2320. package/dist/transfer/export-sqlite.d.ts.map +1 -0
  2321. package/dist/transfer/fs-utils.d.ts +20 -21
  2322. package/dist/transfer/fs-utils.d.ts.map +1 -0
  2323. package/dist/transfer/import-json.d.ts +6 -7
  2324. package/dist/transfer/import-json.d.ts.map +1 -0
  2325. package/dist/transfer/import-md.d.ts +5 -6
  2326. package/dist/transfer/import-md.d.ts.map +1 -0
  2327. package/dist/transfer/import-sqlite.d.ts +5 -6
  2328. package/dist/transfer/import-sqlite.d.ts.map +1 -0
  2329. package/dist/transfer/integrity.d.ts +8 -0
  2330. package/dist/transfer/integrity.d.ts.map +1 -0
  2331. package/dist/transfer/sqlite-schema.d.ts +3 -4
  2332. package/dist/transfer/sqlite-schema.d.ts.map +1 -0
  2333. package/dist/transfer/types.d.ts +48 -50
  2334. package/dist/transfer/types.d.ts.map +1 -0
  2335. package/dist/trust-score-stage.d.ts +21 -40
  2336. package/dist/trust-score-stage.d.ts.map +1 -0
  2337. package/dist/trust-score.d.ts +15 -34
  2338. package/dist/trust-score.d.ts.map +1 -0
  2339. package/dist/trust-zones.d.ts +29 -30
  2340. package/dist/trust-zones.d.ts.map +1 -0
  2341. package/dist/types-continuity.d.ts +10 -11
  2342. package/dist/types-continuity.d.ts.map +1 -0
  2343. package/dist/types.d.ts +3500 -18
  2344. package/dist/types.d.ts.map +1 -0
  2345. package/dist/types.js +1 -1
  2346. package/dist/user-message-cleaning.d.ts +3 -4
  2347. package/dist/user-message-cleaning.d.ts.map +1 -0
  2348. package/dist/user-model.d.ts +17 -18
  2349. package/dist/user-model.d.ts.map +1 -0
  2350. package/dist/utility-learner.d.ts +10 -12
  2351. package/dist/utility-learner.d.ts.map +1 -0
  2352. package/dist/utility-runtime.d.ts +6 -27
  2353. package/dist/utility-runtime.d.ts.map +1 -0
  2354. package/dist/utility-telemetry.d.ts +12 -13
  2355. package/dist/utility-telemetry.d.ts.map +1 -0
  2356. package/dist/utils/category-dir.d.ts +45 -0
  2357. package/dist/utils/category-dir.d.ts.map +1 -0
  2358. package/dist/utils/errno.d.ts +4 -0
  2359. package/dist/utils/errno.d.ts.map +1 -0
  2360. package/dist/utils/iso-timestamp.d.ts +18 -0
  2361. package/dist/utils/iso-timestamp.d.ts.map +1 -0
  2362. package/dist/utils/path-containment.d.ts +50 -0
  2363. package/dist/utils/path-containment.d.ts.map +1 -0
  2364. package/dist/utils/path.d.ts +2 -3
  2365. package/dist/utils/path.d.ts.map +1 -0
  2366. package/dist/utils/script-aware-text.d.ts +27 -0
  2367. package/dist/utils/script-aware-text.d.ts.map +1 -0
  2368. package/dist/utils/serialize-mutations.d.ts +6 -7
  2369. package/dist/utils/serialize-mutations.d.ts.map +1 -0
  2370. package/dist/utils/yaml-scalar.d.ts +9 -0
  2371. package/dist/utils/yaml-scalar.d.ts.map +1 -0
  2372. package/dist/verified-recall.d.ts +5 -7
  2373. package/dist/verified-recall.d.ts.map +1 -0
  2374. package/dist/verified-recall.js +14 -14
  2375. package/dist/version-utils.d.ts +3 -4
  2376. package/dist/version-utils.d.ts.map +1 -0
  2377. package/dist/wearables/auto-sync.d.ts +63 -0
  2378. package/dist/wearables/auto-sync.d.ts.map +1 -0
  2379. package/dist/wearables/cleanup.d.ts +39 -0
  2380. package/dist/wearables/cleanup.d.ts.map +1 -0
  2381. package/dist/wearables/cli.d.ts +24 -0
  2382. package/dist/wearables/cli.d.ts.map +1 -0
  2383. package/dist/wearables/config.d.ts +22 -0
  2384. package/dist/wearables/config.d.ts.map +1 -0
  2385. package/dist/wearables/corrections.d.ts +46 -0
  2386. package/dist/wearables/corrections.d.ts.map +1 -0
  2387. package/dist/wearables/day-store.d.ts +152 -0
  2388. package/dist/wearables/day-store.d.ts.map +1 -0
  2389. package/dist/wearables/errors.d.ts +19 -0
  2390. package/dist/wearables/errors.d.ts.map +1 -0
  2391. package/dist/wearables/fusion/cluster.d.ts +70 -0
  2392. package/dist/wearables/fusion/cluster.d.ts.map +1 -0
  2393. package/dist/wearables/fusion/fuse.d.ts +40 -0
  2394. package/dist/wearables/fusion/fuse.d.ts.map +1 -0
  2395. package/dist/wearables/fusion/index.d.ts +16 -0
  2396. package/dist/wearables/fusion/index.d.ts.map +1 -0
  2397. package/dist/wearables/fusion/reconcile.d.ts +52 -0
  2398. package/dist/wearables/fusion/reconcile.d.ts.map +1 -0
  2399. package/dist/wearables/fusion/reconstruct.d.ts +37 -0
  2400. package/dist/wearables/fusion/reconstruct.d.ts.map +1 -0
  2401. package/dist/wearables/fusion/store.d.ts +131 -0
  2402. package/dist/wearables/fusion/store.d.ts.map +1 -0
  2403. package/dist/wearables/fusion/types.d.ts +219 -0
  2404. package/dist/wearables/fusion/types.d.ts.map +1 -0
  2405. package/dist/wearables/http-glue.d.ts +12 -0
  2406. package/dist/wearables/http-glue.d.ts.map +1 -0
  2407. package/dist/wearables/index.d.ts +23 -0
  2408. package/dist/wearables/index.d.ts.map +1 -0
  2409. package/dist/wearables/mcp-tools.d.ts +12 -0
  2410. package/dist/wearables/mcp-tools.d.ts.map +1 -0
  2411. package/dist/wearables/memory-gen.d.ts +139 -0
  2412. package/dist/wearables/memory-gen.d.ts.map +1 -0
  2413. package/dist/wearables/pipeline.d.ts +81 -0
  2414. package/dist/wearables/pipeline.d.ts.map +1 -0
  2415. package/dist/wearables/redaction.d.ts +75 -0
  2416. package/dist/wearables/redaction.d.ts.map +1 -0
  2417. package/dist/wearables/registry.d.ts +47 -0
  2418. package/dist/wearables/registry.d.ts.map +1 -0
  2419. package/dist/wearables/service.d.ts +225 -0
  2420. package/dist/wearables/service.d.ts.map +1 -0
  2421. package/dist/wearables/speakers.d.ts +83 -0
  2422. package/dist/wearables/speakers.d.ts.map +1 -0
  2423. package/dist/wearables/sync-state.d.ts +52 -0
  2424. package/dist/wearables/sync-state.d.ts.map +1 -0
  2425. package/dist/wearables/text-language.d.ts +41 -0
  2426. package/dist/wearables/text-language.d.ts.map +1 -0
  2427. package/dist/wearables/trust.d.ts +93 -0
  2428. package/dist/wearables/trust.d.ts.map +1 -0
  2429. package/dist/wearables/types.d.ts +389 -0
  2430. package/dist/wearables/types.d.ts.map +1 -0
  2431. package/dist/whitespace.d.ts +7 -8
  2432. package/dist/whitespace.d.ts.map +1 -0
  2433. package/dist/who-knows-cli.d.ts +8 -155
  2434. package/dist/who-knows-cli.d.ts.map +1 -0
  2435. package/dist/who-knows-cli.js +16 -16
  2436. package/dist/who-knows.d.ts +97 -145
  2437. package/dist/who-knows.d.ts.map +1 -0
  2438. package/dist/who-knows.js +15 -15
  2439. package/dist/work/board.d.ts +8 -10
  2440. package/dist/work/board.d.ts.map +1 -0
  2441. package/dist/work/boundary.d.ts +5 -6
  2442. package/dist/work/boundary.d.ts.map +1 -0
  2443. package/dist/work/storage.d.ts +4 -6
  2444. package/dist/work/storage.d.ts.map +1 -0
  2445. package/dist/work/types.d.ts +11 -12
  2446. package/dist/work/types.d.ts.map +1 -0
  2447. package/dist/work-product-ledger.d.ts +12 -13
  2448. package/dist/work-product-ledger.d.ts.map +1 -0
  2449. package/dist/write-envelope.d.ts +23 -42
  2450. package/dist/write-envelope.d.ts.map +1 -0
  2451. package/dist/write-quarantine.d.ts +8 -9
  2452. package/dist/write-quarantine.d.ts.map +1 -0
  2453. package/dist/write-rate-limiter.d.ts +4 -4
  2454. package/dist/write-rate-limiter.d.ts.map +1 -0
  2455. package/package.json +2 -2
  2456. package/scripts/build-with-heap.mjs +40 -19
  2457. package/src/access-boundary.ts +1 -0
  2458. package/src/access-errors.test.ts +182 -0
  2459. package/src/access-errors.ts +252 -1
  2460. package/src/access-http.ts +36 -103
  2461. package/src/access-mcp-output-schemas.ts +1 -0
  2462. package/src/access-mcp.ts +21 -2
  2463. package/src/access-operations-batch.ts +8 -0
  2464. package/src/access-recall-diagnostics.ts +236 -0
  2465. package/src/access-service.ts +6 -0
  2466. package/src/access-surface-catalog.ts +2 -0
  2467. package/src/index.ts +11 -0
  2468. package/src/mcp-read-only-tools.ts +1 -0
  2469. package/src/orchestration/orchestrator-helpers.ts +7 -0
  2470. package/src/orchestration/recall-internal.ts +1 -1
  2471. package/src/recall-degradation-sink.test.ts +144 -0
  2472. package/src/recall-why-cli.ts +59 -0
  2473. package/src/recall-why-renderer.ts +142 -0
  2474. package/src/recall-why-service.test.ts +306 -0
  2475. package/src/recall-why-service.ts +218 -0
  2476. package/src/recall-why.test.ts +511 -0
  2477. package/src/recall-why.ts +568 -0
  2478. package/src/types.ts +1 -0
  2479. package/dist/access-namespace-preflight-U9RAdxqZ.d.ts +0 -146
  2480. package/dist/access-service-H-qEdnSs.d.ts +0 -4700
  2481. package/dist/capsule-crypto-YO5QJ6L3.js +0 -18
  2482. package/dist/catalog-BuMyYPUn.d.ts +0 -473
  2483. package/dist/chunk-27MKMTBY.js +0 -342
  2484. package/dist/chunk-2HJKAVAS.js +0 -216
  2485. package/dist/chunk-2QZJ4P27.js +0 -203
  2486. package/dist/chunk-2SIKTXWX.js +0 -502
  2487. package/dist/chunk-2Z24E5W2.js +0 -22
  2488. package/dist/chunk-2Z24E5W2.js.map +0 -1
  2489. package/dist/chunk-3R23DDD3.js +0 -9782
  2490. package/dist/chunk-3S6URXEH.js +0 -63
  2491. package/dist/chunk-43IQRLEF.js +0 -256
  2492. package/dist/chunk-4UVJ6EIT.js +0 -22
  2493. package/dist/chunk-4UVJ6EIT.js.map +0 -1
  2494. package/dist/chunk-5FAGCOZD.js +0 -761
  2495. package/dist/chunk-75YZ5VAI.js +0 -140
  2496. package/dist/chunk-7IRZK6MM.js +0 -256
  2497. package/dist/chunk-7QVYVSEH.js +0 -285
  2498. package/dist/chunk-7RGX7BMF.js +0 -103
  2499. package/dist/chunk-7RKAE6Y4.js +0 -727
  2500. package/dist/chunk-AH44WTLJ.js +0 -415
  2501. package/dist/chunk-AHVJ6GLL.js +0 -95
  2502. package/dist/chunk-AIVRD66I.js +0 -511
  2503. package/dist/chunk-AQ55YKEV.js +0 -29
  2504. package/dist/chunk-AQWGCHIV.js +0 -263
  2505. package/dist/chunk-ARRKSBQU.js +0 -72
  2506. package/dist/chunk-AYHNTYVG.js +0 -43
  2507. package/dist/chunk-BSCNBIF4.js +0 -24
  2508. package/dist/chunk-BXLOS5AJ.js +0 -112
  2509. package/dist/chunk-BXOPUJ3W.js +0 -801
  2510. package/dist/chunk-CEO4DONG.js +0 -28
  2511. package/dist/chunk-CVILPI77.js +0 -432
  2512. package/dist/chunk-D2N3PMAE.js +0 -51
  2513. package/dist/chunk-D7VT2LED.js +0 -253
  2514. package/dist/chunk-DAOMWGO2.js +0 -65
  2515. package/dist/chunk-DGS34QSY.js +0 -141
  2516. package/dist/chunk-DI52XAKG.js +0 -223
  2517. package/dist/chunk-DQEMWVMT.js +0 -249
  2518. package/dist/chunk-DZP2XMZC.js +0 -1084
  2519. package/dist/chunk-EVQ33D3N.js +0 -731
  2520. package/dist/chunk-FPB5LQWW.js +0 -71
  2521. package/dist/chunk-FPB5LQWW.js.map +0 -1
  2522. package/dist/chunk-FROKVQQY.js +0 -3997
  2523. package/dist/chunk-FROKVQQY.js.map +0 -1
  2524. package/dist/chunk-G7S37WD4.js +0 -801
  2525. package/dist/chunk-GRDRVYXJ.js +0 -1917
  2526. package/dist/chunk-H6WOFMOV.js +0 -346
  2527. package/dist/chunk-HMDYSGY6.js +0 -54
  2528. package/dist/chunk-HNHIHXSD.js +0 -879
  2529. package/dist/chunk-HWLIMQE2.js +0 -165
  2530. package/dist/chunk-IWO6QXWJ.js +0 -224
  2531. package/dist/chunk-IYNCJKBM.js +0 -3602
  2532. package/dist/chunk-IYNCJKBM.js.map +0 -1
  2533. package/dist/chunk-J54B5DGD.js +0 -1530
  2534. package/dist/chunk-JMZQS6OS.js +0 -81
  2535. package/dist/chunk-K4KE5MYE.js +0 -648
  2536. package/dist/chunk-K4KE5MYE.js.map +0 -1
  2537. package/dist/chunk-KH2D26LQ.js +0 -2440
  2538. package/dist/chunk-KIGC55FQ.js +0 -5505
  2539. package/dist/chunk-KQVBR7BC.js +0 -1286
  2540. package/dist/chunk-L63GFNKL.js +0 -403
  2541. package/dist/chunk-LIAKZGOY.js +0 -25
  2542. package/dist/chunk-LVFI5LG7.js +0 -576
  2543. package/dist/chunk-MTWD4KMM.js +0 -223
  2544. package/dist/chunk-MWVYHNSU.js +0 -623
  2545. package/dist/chunk-MZWSOLMT.js +0 -189
  2546. package/dist/chunk-NNEWBRUL.js +0 -271
  2547. package/dist/chunk-NPX6WMFJ.js +0 -1686
  2548. package/dist/chunk-O7OVWKT4.js +0 -768
  2549. package/dist/chunk-PLJ2MQFT.js +0 -182
  2550. package/dist/chunk-Q4AUIFUA.js +0 -111
  2551. package/dist/chunk-QWQB7TOB.js +0 -11341
  2552. package/dist/chunk-QZ4U67KO.js +0 -98
  2553. package/dist/chunk-RMMVQQA6.js +0 -70
  2554. package/dist/chunk-RSMNPYBM.js +0 -61
  2555. package/dist/chunk-RUUJXAGT.js +0 -122
  2556. package/dist/chunk-S45INSV3.js +0 -389
  2557. package/dist/chunk-SCXURCVT.js +0 -218
  2558. package/dist/chunk-SGUDMW2K.js +0 -3400
  2559. package/dist/chunk-SLGD36MM.js +0 -53
  2560. package/dist/chunk-SMBWBEE7.js +0 -73
  2561. package/dist/chunk-SPFNGHHP.js +0 -115
  2562. package/dist/chunk-SPWNCGSM.js +0 -77
  2563. package/dist/chunk-SZ7IVZGD.js +0 -112
  2564. package/dist/chunk-TJNDFNCU.js +0 -597
  2565. package/dist/chunk-TJNDFNCU.js.map +0 -1
  2566. package/dist/chunk-TQT4AOPO.js +0 -321
  2567. package/dist/chunk-TTFJQ5B5.js +0 -43
  2568. package/dist/chunk-U2SK45U3.js +0 -1476
  2569. package/dist/chunk-UCH2RWFX.js +0 -216
  2570. package/dist/chunk-UDJMJNBK.js +0 -549
  2571. package/dist/chunk-UJBIWY5M.js +0 -212
  2572. package/dist/chunk-ULQVG6G3.js +0 -275
  2573. package/dist/chunk-VDX2J7OX.js +0 -264
  2574. package/dist/chunk-VGO57TU7.js +0 -960
  2575. package/dist/chunk-VUV472VH.js +0 -1008
  2576. package/dist/chunk-VVX5PZFS.js +0 -297
  2577. package/dist/chunk-WH7RINGG.js +0 -315
  2578. package/dist/chunk-WUJD4CHZ.js +0 -137
  2579. package/dist/chunk-X7WAM3IY.js +0 -30
  2580. package/dist/chunk-XPFJSUOR.js +0 -921
  2581. package/dist/chunk-XVZA6VXC.js +0 -160
  2582. package/dist/chunk-XZRZJHBW.js +0 -31013
  2583. package/dist/chunk-XZRZJHBW.js.map +0 -1
  2584. package/dist/chunk-Y4G6LHJW.js +0 -35
  2585. package/dist/chunk-Y7LZ5V7N.js +0 -202
  2586. package/dist/chunk-YEIKOBOW.js +0 -628
  2587. package/dist/chunk-YEIKOBOW.js.map +0 -1
  2588. package/dist/chunk-YIIW2OH2.js +0 -566
  2589. package/dist/chunk-ZBYVR5W4.js +0 -18504
  2590. package/dist/chunk-ZBYVR5W4.js.map +0 -1
  2591. package/dist/chunk-ZN7SMKAK.js +0 -210
  2592. package/dist/chunk-ZP73EM2X.js +0 -74
  2593. package/dist/chunk-ZXQPAYCS.js +0 -2453
  2594. package/dist/cli-VGDSn2zY.d.ts +0 -1136
  2595. package/dist/conflict-policy-DyJ2wd-h.d.ts +0 -4
  2596. package/dist/connectors-cli-2iaQ5tX2.d.ts +0 -263
  2597. package/dist/dependency-propagation-delivery-BrhPjAHQ.d.ts +0 -41
  2598. package/dist/faiss-adapter-BHecI1fF.d.ts +0 -73
  2599. package/dist/framework-CNDn2164.d.ts +0 -170
  2600. package/dist/generic-recall-paths-C0J1Oxb7.d.ts +0 -23
  2601. package/dist/graph-DRkl22KE.d.ts +0 -347
  2602. package/dist/graph-edge-decay-MKIRZ762.js +0 -30
  2603. package/dist/index-B735x-tK.d.ts +0 -284
  2604. package/dist/local-llm-BkkEK9rn.d.ts +0 -247
  2605. package/dist/maintenance-CLBIvVxg.d.ts +0 -749
  2606. package/dist/orchestrator-iexgVLow.d.ts +0 -2701
  2607. package/dist/pipeline-DvtDtyo9.d.ts +0 -32
  2608. package/dist/public-http-P0cnHzYB.d.ts +0 -25
  2609. package/dist/qmd-CBYBJ6HW.d.ts +0 -353
  2610. package/dist/resolution-LXFQQ4AE.js +0 -36
  2611. package/dist/scope-profiles-BN1Dgfha.d.ts +0 -30
  2612. package/dist/semantic-BalR6EXU.d.ts +0 -87
  2613. package/dist/semantic-consolidation-D--qe0eE.d.ts +0 -180
  2614. package/dist/service-VealHeqO.d.ts +0 -846
  2615. package/dist/storage-BhS9gUx3.d.ts +0 -166
  2616. package/dist/storage-CMm-3aD3.d.ts +0 -2421
  2617. package/dist/tagging-BjsNFKWz.d.ts +0 -240
  2618. package/dist/types-B1VHaf2w.d.ts +0 -126
  2619. package/dist/types-DJhqDJUV.d.ts +0 -50
  2620. package/dist/types-Du6VdoAg.d.ts +0 -5482
  2621. /package/dist/{capsule-crypto-YO5QJ6L3.js.map → access-recall-diagnostics.js.map} +0 -0
  2622. /package/dist/{graph-edge-decay-MKIRZ762.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
  2623. /package/dist/{chunk-KQVBR7BC.js.map → chunk-2CBWEIS4.js.map} +0 -0
  2624. /package/dist/{chunk-JMZQS6OS.js.map → chunk-2JQZSQXI.js.map} +0 -0
  2625. /package/dist/{chunk-BXLOS5AJ.js.map → chunk-2NLLXCJG.js.map} +0 -0
  2626. /package/dist/{chunk-LIAKZGOY.js.map → chunk-2WMXZYMS.js.map} +0 -0
  2627. /package/dist/{chunk-RSMNPYBM.js.map → chunk-34ZGBAGE.js.map} +0 -0
  2628. /package/dist/{chunk-MWVYHNSU.js.map → chunk-36S7UHAW.js.map} +0 -0
  2629. /package/dist/{chunk-G7S37WD4.js.map → chunk-3JLWSFTV.js.map} +0 -0
  2630. /package/dist/{chunk-75YZ5VAI.js.map → chunk-3RZOLUZT.js.map} +0 -0
  2631. /package/dist/{chunk-XVZA6VXC.js.map → chunk-3SL52JKD.js.map} +0 -0
  2632. /package/dist/{chunk-2SIKTXWX.js.map → chunk-4QEZS7PK.js.map} +0 -0
  2633. /package/dist/{chunk-Y4G6LHJW.js.map → chunk-5QRYGLZN.js.map} +0 -0
  2634. /package/dist/{chunk-AQWGCHIV.js.map → chunk-5R3C5LEZ.js.map} +0 -0
  2635. /package/dist/{chunk-SPWNCGSM.js.map → chunk-634UKELB.js.map} +0 -0
  2636. /package/dist/{chunk-BXOPUJ3W.js.map → chunk-64JK4TL7.js.map} +0 -0
  2637. /package/dist/{chunk-DGS34QSY.js.map → chunk-6E5GYDIE.js.map} +0 -0
  2638. /package/dist/{chunk-D2N3PMAE.js.map → chunk-6ISP2EN2.js.map} +0 -0
  2639. /package/dist/{chunk-UJBIWY5M.js.map → chunk-6RD7MSIO.js.map} +0 -0
  2640. /package/dist/{chunk-RMMVQQA6.js.map → chunk-6UDLN4IA.js.map} +0 -0
  2641. /package/dist/{chunk-7IRZK6MM.js.map → chunk-754XN6LX.js.map} +0 -0
  2642. /package/dist/{chunk-43IQRLEF.js.map → chunk-7H2LEYYJ.js.map} +0 -0
  2643. /package/dist/{chunk-7RGX7BMF.js.map → chunk-A7AISUJI.js.map} +0 -0
  2644. /package/dist/{chunk-7RKAE6Y4.js.map → chunk-AULKCNZW.js.map} +0 -0
  2645. /package/dist/{chunk-NPX6WMFJ.js.map → chunk-B7SSU55V.js.map} +0 -0
  2646. /package/dist/{chunk-IWO6QXWJ.js.map → chunk-BICNRVEC.js.map} +0 -0
  2647. /package/dist/{chunk-SLGD36MM.js.map → chunk-BJI2D4SU.js.map} +0 -0
  2648. /package/dist/{chunk-CEO4DONG.js.map → chunk-BQB5ZMYO.js.map} +0 -0
  2649. /package/dist/{chunk-WH7RINGG.js.map → chunk-C5CPYMLX.js.map} +0 -0
  2650. /package/dist/{chunk-AHVJ6GLL.js.map → chunk-CS2JO77A.js.map} +0 -0
  2651. /package/dist/{chunk-UDJMJNBK.js.map → chunk-DTABICJ3.js.map} +0 -0
  2652. /package/dist/{chunk-CVILPI77.js.map → chunk-E6UNM67F.js.map} +0 -0
  2653. /package/dist/{chunk-NNEWBRUL.js.map → chunk-ENUI3IO7.js.map} +0 -0
  2654. /package/dist/{chunk-DZP2XMZC.js.map → chunk-FF2XYADH.js.map} +0 -0
  2655. /package/dist/{chunk-S45INSV3.js.map → chunk-FF6N7BXC.js.map} +0 -0
  2656. /package/dist/{chunk-2QZJ4P27.js.map → chunk-FSXD6Y4H.js.map} +0 -0
  2657. /package/dist/{chunk-SGUDMW2K.js.map → chunk-GK6NOQE6.js.map} +0 -0
  2658. /package/dist/{chunk-TTFJQ5B5.js.map → chunk-GRSFFLUY.js.map} +0 -0
  2659. /package/dist/{chunk-5FAGCOZD.js.map → chunk-GWK7FEUL.js.map} +0 -0
  2660. /package/dist/{chunk-SCXURCVT.js.map → chunk-GWQVMKUJ.js.map} +0 -0
  2661. /package/dist/{chunk-3S6URXEH.js.map → chunk-HKHZWJ3E.js.map} +0 -0
  2662. /package/dist/{chunk-PLJ2MQFT.js.map → chunk-IAZPYX6W.js.map} +0 -0
  2663. /package/dist/{chunk-MZWSOLMT.js.map → chunk-IG747LRN.js.map} +0 -0
  2664. /package/dist/{chunk-X7WAM3IY.js.map → chunk-IK63WA5A.js.map} +0 -0
  2665. /package/dist/{chunk-BSCNBIF4.js.map → chunk-IUD6NLNM.js.map} +0 -0
  2666. /package/dist/{chunk-3R23DDD3.js.map → chunk-JSJZ2NXS.js.map} +0 -0
  2667. /package/dist/{chunk-YIIW2OH2.js.map → chunk-JUOJGZPV.js.map} +0 -0
  2668. /package/dist/{chunk-VGO57TU7.js.map → chunk-KA4U5GQN.js.map} +0 -0
  2669. /package/dist/{chunk-VDX2J7OX.js.map → chunk-KQAFEZQX.js.map} +0 -0
  2670. /package/dist/{chunk-ARRKSBQU.js.map → chunk-L4WBADKG.js.map} +0 -0
  2671. /package/dist/{chunk-ULQVG6G3.js.map → chunk-LAL4B37X.js.map} +0 -0
  2672. /package/dist/{chunk-D7VT2LED.js.map → chunk-LELJRLPY.js.map} +0 -0
  2673. /package/dist/{chunk-L63GFNKL.js.map → chunk-LMMQKZK3.js.map} +0 -0
  2674. /package/dist/{chunk-ZP73EM2X.js.map → chunk-LQ23DMTT.js.map} +0 -0
  2675. /package/dist/{chunk-7QVYVSEH.js.map → chunk-LV6ZB6CA.js.map} +0 -0
  2676. /package/dist/{chunk-KIGC55FQ.js.map → chunk-M5IJP3YW.js.map} +0 -0
  2677. /package/dist/{chunk-AH44WTLJ.js.map → chunk-MWZMVLXL.js.map} +0 -0
  2678. /package/dist/{chunk-AQ55YKEV.js.map → chunk-N4VCHRLD.js.map} +0 -0
  2679. /package/dist/{chunk-HNHIHXSD.js.map → chunk-NKXHCCLB.js.map} +0 -0
  2680. /package/dist/{chunk-SZ7IVZGD.js.map → chunk-NVCWA4QC.js.map} +0 -0
  2681. /package/dist/{chunk-RUUJXAGT.js.map → chunk-ONWVMYHX.js.map} +0 -0
  2682. /package/dist/{chunk-HMDYSGY6.js.map → chunk-P6P35FY4.js.map} +0 -0
  2683. /package/dist/{chunk-H6WOFMOV.js.map → chunk-P7M22CYB.js.map} +0 -0
  2684. /package/dist/{chunk-Q4AUIFUA.js.map → chunk-QMWKENNK.js.map} +0 -0
  2685. /package/dist/{chunk-J54B5DGD.js.map → chunk-QOPB6KE3.js.map} +0 -0
  2686. /package/dist/{chunk-DI52XAKG.js.map → chunk-RBULO7DO.js.map} +0 -0
  2687. /package/dist/{chunk-VUV472VH.js.map → chunk-RDESQOEE.js.map} +0 -0
  2688. /package/dist/{chunk-SPFNGHHP.js.map → chunk-RMF763SX.js.map} +0 -0
  2689. /package/dist/{chunk-TQT4AOPO.js.map → chunk-RN6ZCNM5.js.map} +0 -0
  2690. /package/dist/{chunk-QWQB7TOB.js.map → chunk-S2OBXHMN.js.map} +0 -0
  2691. /package/dist/{chunk-UCH2RWFX.js.map → chunk-S3JPD4N7.js.map} +0 -0
  2692. /package/dist/{chunk-HWLIMQE2.js.map → chunk-SF6RFI5Z.js.map} +0 -0
  2693. /package/dist/{chunk-ZXQPAYCS.js.map → chunk-SJV3AOZ2.js.map} +0 -0
  2694. /package/dist/{chunk-Y7LZ5V7N.js.map → chunk-SLULR4GC.js.map} +0 -0
  2695. /package/dist/{chunk-U2SK45U3.js.map → chunk-TFXXMTHV.js.map} +0 -0
  2696. /package/dist/{chunk-2HJKAVAS.js.map → chunk-TYP7GYRI.js.map} +0 -0
  2697. /package/dist/{chunk-KH2D26LQ.js.map → chunk-TYZK56OA.js.map} +0 -0
  2698. /package/dist/{chunk-XPFJSUOR.js.map → chunk-VLDVNZQE.js.map} +0 -0
  2699. /package/dist/{chunk-AIVRD66I.js.map → chunk-W6YK672C.js.map} +0 -0
  2700. /package/dist/{chunk-LVFI5LG7.js.map → chunk-X2NFFBTO.js.map} +0 -0
  2701. /package/dist/{chunk-GRDRVYXJ.js.map → chunk-X45KZOT2.js.map} +0 -0
  2702. /package/dist/{chunk-DQEMWVMT.js.map → chunk-X7Y7WX73.js.map} +0 -0
  2703. /package/dist/{chunk-AYHNTYVG.js.map → chunk-XIXM6G7I.js.map} +0 -0
  2704. /package/dist/{chunk-ZN7SMKAK.js.map → chunk-XLXYARWC.js.map} +0 -0
  2705. /package/dist/{chunk-MTWD4KMM.js.map → chunk-XVW52M6I.js.map} +0 -0
  2706. /package/dist/{chunk-27MKMTBY.js.map → chunk-YHU5XUF4.js.map} +0 -0
  2707. /package/dist/{chunk-SMBWBEE7.js.map → chunk-YRH3C2OJ.js.map} +0 -0
  2708. /package/dist/{chunk-WUJD4CHZ.js.map → chunk-YXQE67A7.js.map} +0 -0
  2709. /package/dist/{chunk-EVQ33D3N.js.map → chunk-ZHUVMSHI.js.map} +0 -0
  2710. /package/dist/{chunk-VVX5PZFS.js.map → chunk-ZHXSOMYH.js.map} +0 -0
  2711. /package/dist/{chunk-O7OVWKT4.js.map → chunk-ZIEZJMFW.js.map} +0 -0
  2712. /package/dist/{chunk-QZ4U67KO.js.map → chunk-ZSEFGDCI.js.map} +0 -0
  2713. /package/dist/{chunk-DAOMWGO2.js.map → chunk-ZX5N5D6M.js.map} +0 -0
  2714. /package/dist/{resolution-LXFQQ4AE.js.map → graph-edge-decay-ROSUPDX3.js.map} +0 -0
package/dist/storage.d.ts CHANGED
@@ -1,33 +1,1362 @@
1
- export { C as ContentHashIndex, t as ContentHashIndexLockOptions, u as FactHashIndexNotAuthoritativeError, v as MemoryLifecycleEventWriteOptions, M as MemoryWriteResult, R as ReextractJobRequest, w as SealedWriteExtras, S as StorageManager, W as WriteMemoryOptions, x as buildEntitySchemaCacheKey, y as compareEntityTimestamps, z as compileEntityFacts, A as countEntityStructuredFacts, B as fingerprintEntityStructuredFacts, D as isEntitySynthesisStale, E as isValidBufferSurpriseEvent, G as normalizeFrontmatterForPath, H as normalizeStructuredSectionFacts, I as normalizeStructuredSectionFactsWithOrigins, p as parseEntityFile, J as parseFrontmatter, K as parseFrontmatterStringValue, s as serializeEntityFile } from './storage-CMm-3aD3.js';
2
- import './types-Du6VdoAg.js';
3
- import './corpus-read-cancellation.js';
4
- import './artifact-search.js';
5
- import './active-context-transform.js';
6
- export { normalizeEntityName } from './entity-id-normalization.js';
7
- import './page-versioning.js';
8
- import './consolidation-operator.js';
9
- import './memory-projection-store.js';
10
- import './write-envelope.js';
11
- export { normalizeAttributePairs, stripAttributesSuffix } from './structured-attributes.js';
12
- import './types-continuity.js';
13
- import './utils/serialize-mutations.js';
14
- import './message-parts/index.js';
15
- import './bounded-jsonl-state.js';
16
- import './operator-doctor-types.js';
17
- import './external-wiki-config.js';
18
- import './recall-state-view.js';
19
- import './contradiction-config.js';
20
- import './graph-path-scoring-config.js';
21
- import './background-generation-config.js';
22
- import './deep-recall-config.js';
23
- import './recall-navigation-config.js';
24
- import './recall-recognition-tier.js';
25
- import './causal-trajectory.js';
26
- import './objective-state.js';
27
- import './active-context-config.js';
28
- import './local-llm-config.js';
29
- import './semantic-merge-config.js';
30
- import './context-summary.js';
31
- import './maintenance/memory-governance.js';
32
- import './runtime/better-sqlite.js';
33
- import 'better-sqlite3';
1
+ import { type CorpusReadOptions } from "./corpus-read-cancellation.js";
2
+ import { type ArtifactSearchOptions } from "./artifact-search.js";
3
+ import { type WindowedMemoryReadOptions, type WindowedMemoryReadResult } from "./storage/memory-read-store.js";
4
+ import type { ContextTransformTelemetryRecord } from "./active-context-transform.js";
5
+ import { type DrainPendingLifecycleForSyncResult } from "./storage/memory-lifecycle-ledger-access.js";
6
+ export { normalizeEntityName } from "./entity-id-normalization.js";
7
+ import { type VersioningConfig } from "./page-versioning.js";
8
+ import { FusionArtifactStore } from "./wearables/fusion/index.js";
9
+ import { MeetingRecordStore } from "./meetings/store.js";
10
+ import { type ConsolidationOperator } from "./consolidation-operator.js";
11
+ import { TombstoneStore, type TombstoneReason, type TombstoneCreatedBy, type TombstoneStats } from "./lifecycle/tombstones.js";
12
+ import { type SupersessionAuditOptions } from "./storage/supersession-side-effects.js";
13
+ import type { AccessTrackingEntry, BufferState, ContinuityIncidentCloseInput, ContinuityIncidentOpenInput, ContinuityIncidentRecord, ContinuityImprovementLoop, ContinuityLoopReviewInput, ContinuityLoopUpsertInput, EntityActivityEntry, EntityFile, EntityRelationship, EntityStructuredSection, ImportanceScore, MemoryCategory, MemoryFile, MemoryFrontmatter, MemoryLink, MemoryStatus, MemorySubject, MemoryActionEvent, MemoryLifecycleEvent, MemoryProjectionCurrentState, BehaviorSignalEvent, BufferSurpriseEvent, MemorySummary, MetaState, CompressionGuidelineOptimizerState, PluginConfig, TopicScore, FileHygieneConfig, ProvenanceSource } from "./types.js";
14
+ import { ContentHashIndex, FactHashIndexNotAuthoritativeError, type ContentHashIndexLockOptions } from "./storage/content-hash-index.js";
15
+ import { TombstoneBlockedCaptureIndexHost, type TombstoneBlockedCaptureIndexOptions } from "./storage/tombstone-blocked-capture-index.js";
16
+ export { ContentHashIndex, FactHashIndexNotAuthoritativeError };
17
+ export type { ContentHashIndexLockOptions };
18
+ export { compareEntityTimestamps, compileEntityFacts, countEntityStructuredFacts, fingerprintEntityStructuredFacts, isEntitySynthesisStale, normalizeStructuredSectionFacts, normalizeStructuredSectionFactsWithOrigins, } from "./storage/entity-timeline.js";
19
+ import { type ProjectedMemoryBrowseOptions, type ProjectedMemoryBrowsePage, readProjectedGovernanceRecord } from "./memory-projection-store.js";
20
+ import { type SealedMemoryEnvelope } from "./write-envelope.js";
21
+ export interface ReextractJobRequest {
22
+ memoryId: string;
23
+ model: string;
24
+ requestedAt: string;
25
+ source: "cli-migrate";
26
+ }
27
+ export interface MemoryLifecycleEventWriteOptions {
28
+ at?: Date;
29
+ actor?: string;
30
+ reasonCode?: string;
31
+ ruleVersion?: string;
32
+ relatedMemoryIds?: string[];
33
+ correlationId?: string;
34
+ }
35
+ export declare function parseFrontmatterStringValue(rawValue: string | undefined): string | undefined;
36
+ export declare function parseFrontmatter(raw: string): {
37
+ frontmatter: MemoryFrontmatter;
38
+ content: string;
39
+ } | null;
40
+ export declare function normalizeFrontmatterForPath(frontmatter: MemoryFrontmatter, pathRel: string, content?: string): MemoryFrontmatter;
41
+ import { stripAttributesSuffix } from "./structured-attributes.js";
42
+ export { stripAttributesSuffix };
43
+ export { normalizeAttributePairs } from "./structured-attributes.js";
44
+ /**
45
+ * Parse an entity markdown file into a structured EntityFile.
46
+ * Backward compatible: old files without new sections get empty arrays.
47
+ */
48
+ export declare function parseEntityFile(content: string, entitySchemas?: PluginConfig["entitySchemas"]): EntityFile;
49
+ /**
50
+ * Serialize an EntityFile back to markdown.
51
+ * Writes the compiled-truth + timeline format while remaining parse-compatible
52
+ * with the legacy in-memory `summary` and `facts` fields.
53
+ */
54
+ export declare function serializeEntityFile(entity: EntityFile, entitySchemas?: PluginConfig["entitySchemas"], okfType?: boolean): string;
55
+ export declare function buildEntitySchemaCacheKey(entitySchemas?: PluginConfig["entitySchemas"]): string;
56
+ /**
57
+ * Full-schema type guard for a `BUFFER_SURPRISE` telemetry row
58
+ * (issue #563 PR 3).
59
+ *
60
+ * The reader applies `limit` over the count of VALID rows, so
61
+ * applying only a partial check (e.g. "has a finite surpriseScore")
62
+ * and then deferring the rest of validation to
63
+ * `reportBufferSurpriseDistribution` would silently count
64
+ * schema-incomplete rows toward the limit, pushing genuinely-valid
65
+ * earlier rows out of the report window. Validate everything the
66
+ * downstream report requires at read time so the limit semantics and
67
+ * the distribution semantics stay consistent.
68
+ */
69
+ export declare function isValidBufferSurpriseEvent(value: unknown): value is BufferSurpriseEvent;
70
+ /** Result of {@link StorageManager.writeMemory} (issue #1645). Carries the
71
+ * persisted id PLUS the non-resurrection tombstone-block outcome (#1579) so
72
+ * post-write callers can observe it — NEVER a silent no-op (rule 34). */
73
+ export interface MemoryWriteResult {
74
+ /** The persisted memory id. */
75
+ id: string;
76
+ /** True when the #1579 tombstone chokepoint downgraded this write to
77
+ * `pending_review` + `blockedBy`. Callers gate active post-write work on this. */
78
+ tombstoneBlocked: boolean;
79
+ /** The tombstone id that blocked the write, when `tombstoneBlocked`. */
80
+ blockedBy?: string;
81
+ /** Existing pending-review memory id when a blocked write coalesced with it. */
82
+ duplicateOf?: string;
83
+ }
84
+ /**
85
+ * Options accepted by `StorageManager.writeMemory` (extracted verbatim in
86
+ * issue #1989 PR2 so `SealedWriteExtras` can be derived from it — the
87
+ * sealed-envelope path takes envelope-owned fields from the envelope and
88
+ * everything else from these extras).
89
+ */
90
+ export interface WriteMemoryOptions {
91
+ actor?: string;
92
+ confidence?: number;
93
+ tags?: string[];
94
+ entityRef?: string;
95
+ source?: string;
96
+ supersedes?: string;
97
+ lineage?: string[];
98
+ importance?: ImportanceScore;
99
+ links?: MemoryLink[];
100
+ intentGoal?: string;
101
+ intentActionType?: string;
102
+ intentEntityTypes?: string[];
103
+ artifactType?: MemoryFrontmatter["artifactType"];
104
+ sourceMemoryId?: string;
105
+ sourceTurnId?: string;
106
+ memoryKind?: MemoryFrontmatter["memoryKind"];
107
+ expiresAt?: string;
108
+ validAt?: string;
109
+ observedAt?: string;
110
+ eventTimeSource?: "extracted" | "assumed";
111
+ invalidAt?: string;
112
+ structuredAttributes?: Record<string, string>;
113
+ /**
114
+ * When provided, this string is used as the source for the fact-content
115
+ * dedup hash index instead of the persisted body (`content`).
116
+ *
117
+ * Use this when the persisted body differs from the canonical fact text
118
+ * — for example when `content` is a citation-annotated variant of a raw
119
+ * fact. Passing the raw fact as `contentHashSource` ensures that
120
+ * `hasFactContentHash(rawFact)` returns `true` after the write, so
121
+ * subsequent extractions of the same logical fact are correctly deduped
122
+ * even when their citation timestamp differs.
123
+ */
124
+ contentHashSource?: string;
125
+ /**
126
+ * When true, writeMemory marks the fact-hash index dirty via `.add(...)`
127
+ * but does NOT flush it to disk — the caller is responsible for a
128
+ * subsequent batch save (issue #1909). The extraction persist path sets
129
+ * this and relies on the orchestrator's authoritative
130
+ * `saveContentHashIndexes()` batch save plus a per-storage union flush,
131
+ * avoiding a whole-index (which grows with corpus size) rewrite per fact.
132
+ * Default false: every
133
+ * other (single-write) caller keeps the immediate, crash-safe save.
134
+ */
135
+ deferHashIndexSave?: boolean;
136
+ status?: MemoryStatus;
137
+ /**
138
+ * Consolidation provenance (issue #561 PR 2). When the caller is a
139
+ * consolidation / supersession / dedup-merge path, these fields wire
140
+ * the page-version snapshots the new memory was derived from and the
141
+ * operator that produced it. Persisted onto frontmatter as
142
+ * `derived_from` + `derived_via`; validated at serialize time.
143
+ */
144
+ derivedFrom?: string[];
145
+ derivedVia?: ConsolidationOperator;
146
+ /**
147
+ * Faithfulness gate verdict (issue #1576). When provided, persisted to
148
+ * frontmatter so downstream readers (TrustScore #1577, review queue)
149
+ * can consume it. Absent = gate was off or fact predates #1576.
150
+ */
151
+ faithfulness?: import("./types.js").FaithfulnessFrontmatter;
152
+ /**
153
+ * Claim-level provenance spans (issue #1575 PR 2). When provided,
154
+ * persisted to frontmatter so downstream readers (memory_get, x-ray,
155
+ * faithfulness gate #1576) can consume them. Absent = fact predates
156
+ * #1575 or provenance was disabled.
157
+ */
158
+ sources?: ProvenanceSource[];
159
+ provenance?: "verified" | "unverified" | "none";
160
+ origin?: string;
161
+ sourceConnector?: string;
162
+ toolScoped?: true;
163
+ subject?: MemorySubject;
164
+ }
165
+ /**
166
+ * `WriteMemoryOptions` minus the fields a `SealedMemoryEnvelope` owns.
167
+ * Passing an envelope-owned field twice is a compile error by construction.
168
+ */
169
+ export type SealedWriteExtras = Omit<WriteMemoryOptions, "confidence" | "tags" | "entityRef" | "source" | "expiresAt" | "validAt" | "structuredAttributes" | "sourceConnector" | "origin" | "subject">;
170
+ export declare class StorageManager extends TombstoneBlockedCaptureIndexHost {
171
+ private readonly baseDir;
172
+ private readonly entitySchemas?;
173
+ private knowledgeIndexCache;
174
+ private readonly deletionRevisionStore;
175
+ private readonly casRevisions;
176
+ private artifactIndexCache;
177
+ private projectionLedgerLagManager;
178
+ private static readonly loadedMemorySnapshots;
179
+ static readonly KNOWLEDGE_INDEX_CACHE_TTL_MS = 600000;
180
+ /** Read by storage/memory-read-store.ts (decomposition). */
181
+ static readonly ARTIFACT_INDEX_CACHE_TTL_MS = 60000;
182
+ private static readonly artifactWriteVersionByDir;
183
+ private static readonly memoryStatusVersionByDir;
184
+ private static readonly memoryCorpusVersionByDir;
185
+ private static readonly entityMutationVersionByDir;
186
+ private static readonly secureStoreEntityCacheKeyIds;
187
+ private static nextSecureStoreEntityCacheKeyId;
188
+ private static readonly coldWriteVersionByDir;
189
+ /**
190
+ * Process-wide default for the hot-memories result cache gate (issue #1902).
191
+ * Set once from config by the orchestrator/access layer via
192
+ * setHotMemoriesCacheDefault() so that EVERY StorageManager — including the
193
+ * ephemeral instances recall sub-stages (verified-recall, semantic-rule
194
+ * verification, ...) construct over the same dir — honors the operator's
195
+ * hotMemoriesCacheEnabled setting. The constructor option overrides this
196
+ * per-instance (tests). Defaults true (cache on).
197
+ */
198
+ private static hotMemoriesCacheDefault;
199
+ /**
200
+ * Per-memory-directory override of the hot-cache gate (issue #1902, Codex
201
+ * P2). setHotMemoriesCacheDefault(memoryDir, enabled) registers the
202
+ * operator's setting keyed by dir, so a StorageManager constructed over that
203
+ * dir honors ITS owning orchestrator's config — not merely the last
204
+ * orchestrator constructed in the process. Unregistered dirs fall back to
205
+ * the process-wide default above.
206
+ */
207
+ private static readonly hotMemoriesCacheDefaultByDir;
208
+ /**
209
+ * Process-wide TTL (ms) safety net for the hot cache (issue #1902). Bounds
210
+ * how long a version-keyed entry is served before a fresh disk scan, so
211
+ * external filesystem edits (manual/git/editor) that don't bump the sentinel
212
+ * self-heal. Set from config by the orchestrator via setHotMemoriesCacheDefault.
213
+ * 0 disables the TTL (version invalidation only). Default 60s.
214
+ */
215
+ private static hotMemoriesCacheTtlMs;
216
+ /**
217
+ * Per-memory-directory override of the hot-cache TTL (issue #1902, Codex P2),
218
+ * mirroring hotMemoriesCacheDefaultByDir. Registered by
219
+ * setHotMemoriesCacheDefault so two orchestrators in one process with
220
+ * different TTLs don't clobber each other's setting. Unregistered dirs fall
221
+ * back to the process-wide default above.
222
+ */
223
+ private static readonly hotMemoriesCacheTtlByDir;
224
+ /**
225
+ * Whether the process-wide hot-cache fallbacks (hotMemoriesCacheDefault /
226
+ * hotMemoriesCacheTtlMs) have been seeded by the first
227
+ * setHotMemoriesCacheDefault call (issue #1902, Cursor Low). Only the first
228
+ * registration seeds them; later registrations touch ONLY their per-dir map
229
+ * entry. This makes the process-wide fallback deterministic (first-writer,
230
+ * by init order) instead of last-writer-wins, so a second orchestrator with
231
+ * a divergent config cannot silently flip the fallback that unregistered
232
+ * dirs resolve to. All REGISTERED dirs are isolated by the per-dir maps.
233
+ */
234
+ private static hotMemoriesCacheProcessDefaultSeeded;
235
+ /**
236
+ * Per-memory-directory gate for scope-aware cache invalidation (issue #1904).
237
+ * Registered from config by the orchestrator via
238
+ * setScopedCacheInvalidationDefault() so every StorageManager built over a
239
+ * memory dir — including ephemeral recall sub-stage instances — honors the
240
+ * operator's setting. Unregistered dirs default to `true` (scoped on). Set
241
+ * `false` to restore the pre-#1904 full-clear-per-write behavior (rollback
242
+ * lever). Read once per write via isScopedCacheInvalidationEnabled().
243
+ */
244
+ private static readonly scopedCacheInvalidationByDir;
245
+ /** Read by storage/memory-read-store.ts (decomposition). */
246
+ static readonly COLD_SCAN_CACHE_TTL_MS = 30000;
247
+ /** Read by storage/memory-read-store.ts (decomposition). */
248
+ static readonly coldMemoriesCache: Map<string, {
249
+ memories: MemoryFile[];
250
+ loadedAt: number;
251
+ coldVersion: number;
252
+ keyId: string;
253
+ }>;
254
+ /** Read by storage/memory-read-store.ts (decomposition). */
255
+ static readonly QUESTIONS_CACHE_TTL_MS = 60000;
256
+ /** Read by storage/memory-read-store.ts (decomposition). */
257
+ static readonly questionsCache: Map<string, {
258
+ questions: Array<{
259
+ id: string;
260
+ question: string;
261
+ context: string;
262
+ priority: number;
263
+ resolved: boolean;
264
+ created: string;
265
+ filePath: string;
266
+ }>;
267
+ loadedAt: number;
268
+ }>;
269
+ private factHashIndex;
270
+ private factHashIndexLoadPromise;
271
+ private factHashIndexAuthoritative;
272
+ private factHashIndexAuthoritativePromise;
273
+ /**
274
+ * Fact-ONLY hash membership (PR #2016 / issue #2474) lives on the shared
275
+ * `ContentHashIndex` fact-only partition (`addFact*` / `hasFact*` /
276
+ * `removeFactByHash`), not a parallel set here. The partition carries only
277
+ * `category === "fact"` hashes and is the sole source for
278
+ * `hasFactContentHash`, so an over-included non-fact body can never
279
+ * suppress a real fact candidate. In-memory only; never persisted — every
280
+ * authoritative corpus rebuild repopulates it via
281
+ * `ContentHashIndex.clear()` + `addFactByHash`.
282
+ */
283
+ /** Optional lock/retry tuning for the fact-hash index cross-process lock (PR #2016; tests inject tight budgets). */
284
+ factHashIndexLockOptions: ContentHashIndexLockOptions;
285
+ private readonly secureAppendChains;
286
+ /**
287
+ * Cache of "is this file encrypted?" keyed by absolute path, VALIDATED by file
288
+ * identity (size + mtimeMs) — issue #1909 review round 10 finding 1. A prior
289
+ * design cached only a boolean and relied on this instance's own writes to
290
+ * invalidate it; a PEER process encrypting the file would not invalidate,
291
+ * leaving a stale `false` that made the append path write RAW bytes into an
292
+ * encrypted file (corruption). Now each entry records the (size, mtime) the
293
+ * classification was read at; `isEncryptedFileHeader` re-sniffs (header-only)
294
+ * whenever the on-disk identity no longer matches, so a foreign rewrite is
295
+ * detected. The whole-file read is still never performed.
296
+ */
297
+ private readonly secureFileEncryptionSniffCache;
298
+ private offlineSyncDigestCache;
299
+ private offlineSyncDigestCacheLoadPromise;
300
+ private offlineSyncDigestCacheWriteChain;
301
+ private offlineSyncDigestCacheWriteTimer;
302
+ /** Optional: set by the orchestrator after construction to enable template-aware citation stripping during legacy hash rebuild. */
303
+ citationTemplate: string;
304
+ /** Post-write catalog hook (#1522). Installed by the namespace router; fire-and-forget. */
305
+ onCatalogWrite?: () => void;
306
+ /** Post-write embedding hook (#2019). Installed by the orchestrator; fire-and-forget. */
307
+ onMemoryWrite?: (filePath: string) => void;
308
+ private notifyMemoryWrite;
309
+ private notifyCatalogWrite;
310
+ /**
311
+ * Whether pure state-file writes touch the namespace catalog (issue #1903).
312
+ * Set by `NamespaceStorageRouter.bindCatalogWriteHook` from
313
+ * `namespacesCatalogTouchStateWrites` (default false). State files
314
+ * (`state/buffer.json`, ledgers, indexes) are not namespace memory data, so by
315
+ * default their writes do NOT record a catalog touch.
316
+ */
317
+ touchStateWrites: boolean;
318
+ /**
319
+ * Post-write catalog hook, gated by file path (issue #1903). Namespace data
320
+ * (`facts/`, `cold/`, `entities/`, `artifacts/`, `profile.md`, ...) lives
321
+ * OUTSIDE `stateDir`, so a data write always touches; a write under `stateDir`
322
+ * is a pure state write and is skipped unless `touchStateWrites` is enabled.
323
+ */
324
+ protected notifyCatalogWriteForPath(filePath: string): void;
325
+ /** Whether `filePath` resolves to `stateDir` itself or a path contained in it. */
326
+ private isStateFilePath;
327
+ private tombstoneStore;
328
+ private tombstoneStoreLoadPromise;
329
+ private tombstonesConfig;
330
+ /** Page-versioning configuration. Set by the orchestrator after construction. */
331
+ private _versioningConfig;
332
+ /** Set the page-versioning configuration. When `enabled` is false (default), all versioning calls are no-ops. */
333
+ setVersioningConfig(config: VersioningConfig): void;
334
+ /**
335
+ * At-rest encryption key (issue #690 PR 3/4).
336
+ *
337
+ * When non-null, every memory file read is decrypted and every write
338
+ * is encrypted using the secure-fs layer. When null, the storage
339
+ * layer operates in plain-text mode (legacy/unencrypted store).
340
+ *
341
+ * Set by the orchestrator after init/unlock; cleared on lock.
342
+ * The key buffer is NEVER logged or serialized.
343
+ */
344
+ private _secureStoreKey;
345
+ /**
346
+ * When true (and `_secureStoreKey` is non-null), new writes are
347
+ * encrypted. Set to false to pause encryption of new writes while
348
+ * still decrypting existing files.
349
+ */
350
+ private _secureStoreEncryptOnWrite;
351
+ /**
352
+ * When true, the secure-store is configured as required — writes
353
+ * MUST be encrypted and a locked store MUST reject writes rather
354
+ * than silently falling back to plaintext. Set by the orchestrator
355
+ * from `resolveRecallAuxiliaryCapabilities(config).secureStore`.
356
+ */
357
+ private _secureStoreRequired;
358
+ /**
359
+ * Set or clear the at-rest encryption key.
360
+ *
361
+ * Pass a 32-byte Buffer to enable encryption; pass null to clear
362
+ * (lock) the store. The caller is responsible for key lifecycle —
363
+ * this method does not zero the buffer on replacement; the keyring
364
+ * module (`keyring.ts`) owns zeroization. The setter remains synchronous
365
+ * for existing consumers; call `setSecureStoreKeyAndWait` when unlock must
366
+ * await migration.
367
+ */
368
+ setSecureStoreKey(key: Buffer | null, encryptOnWrite?: boolean): void;
369
+ setSecureStoreKeyAndWait(key: Buffer | null, encryptOnWrite?: boolean): Promise<void>;
370
+ private applySecureStoreKey;
371
+ private getEntityCacheSecureStoreKey;
372
+ /**
373
+ * Secure-store key identity for the version-keyed hot/archive memory caches
374
+ * (issue #1902, Codex P1). Scopes cached DECRYPTED corpora by the key that
375
+ * decrypted them, so a locked/unkeyed StorageManager for the same baseDir
376
+ * never reads content another instance decrypted under a key (which would
377
+ * bypass the locked-store error). Plaintext and locked stores share the ""
378
+ * namespace; an unlocked encrypted store uses its per-key id.
379
+ */
380
+ hotCacheKeyId(): string;
381
+ /**
382
+ * Resolved hot-cache gate for THIS store (issue #1902, Cursor Medium): the
383
+ * per-instance override if one was passed, else the per-dir/process default.
384
+ * Recall sub-stages (verified-recall, semantic-rule) read this to honor the
385
+ * operator's opt-out for their derived caches even when the caller omits the
386
+ * flag in options.
387
+ */
388
+ isHotCacheEnabled(): boolean;
389
+ /**
390
+ * Effective hot-cache TTL (ms) for this store's dir (issue #1902): the per-dir
391
+ * registration if present, else the process-wide default. 0 disables the TTL.
392
+ */
393
+ hotCacheTtlMs(): number;
394
+ /**
395
+ * True if `p` lives in this store's cold/ or archive/ tier (issue #1902,
396
+ * Codex P2). Determined RELATIVE to baseDir — a substring scan of the
397
+ * absolute path would misclassify every active path when memoryDir itself is
398
+ * nested under a dir literally named "cold" or "archive" (e.g.
399
+ * /srv/cold/remnic), skipping the patch and stranding a stale hot entry.
400
+ */
401
+ private isColdOrArchiveTierPath;
402
+ /**
403
+ * Mark the secure-store as required for this storage instance.
404
+ * When required and locked, writes throw SecureStoreLockedError
405
+ * rather than silently writing plaintext.
406
+ */
407
+ setSecureStoreRequired(required: boolean): void;
408
+ /** Return true iff the secure-store key is currently set (store is unlocked). */
409
+ isSecureStoreUnlocked(): boolean;
410
+ /** Whether a state-file write encrypts at rest (encrypt-on-write on AND key
411
+ * set) — the write mode lifecycle compaction reserves the envelope for (#2033). */
412
+ willEncryptStateWrites(): boolean;
413
+ /**
414
+ * Resolve the effective write key: null when encrypt-on-write is off or the
415
+ * store is unlocked-optional; the key when set; else throws
416
+ * SecureStoreLockedError under a required-but-locked store (PR #767) instead
417
+ * of silently writing plaintext.
418
+ *
419
+ * `forceEncrypt` overrides the encrypt-on-write policy flag ONLY (issue
420
+ * #2033): a lifecycle-ledger compaction of an already-encrypted ledger/backup
421
+ * must preserve encryption at rest even when `secureStoreEncryptOnWrite` is
422
+ * paused, or it would silently downgrade encrypted state to plaintext. It
423
+ * never bypasses the LOCK: when the store has no key it still returns null
424
+ * (optional) or throws (required), so a keyless caller can never fabricate an
425
+ * encrypted write.
426
+ */
427
+ private resolveWriteKey;
428
+ /**
429
+ * Snapshot the current content of a page before overwriting.
430
+ * No-op when versioning is disabled or the file does not yet exist.
431
+ */
432
+ private snapshotBeforeWrite;
433
+ /**
434
+ * Consolidation provenance helper (issue #561 PR 2).
435
+ *
436
+ * Captures the current on-disk content of a source memory as a
437
+ * page-version snapshot so the downstream consolidated write can record a
438
+ * `derived_from` pointer that actually resolves. Returns the
439
+ * `"<relative-path>:<versionId>"` entry expected by the `derived_from`
440
+ * frontmatter field.
441
+ *
442
+ * Returns `null` when versioning is disabled (snapshots would not be
443
+ * created), when the file does not exist (nothing to snapshot), or when
444
+ * the snapshot write itself fails (best-effort — callers skip the entry
445
+ * rather than block the consolidation).
446
+ */
447
+ snapshotForProvenance(filePath: string): Promise<string | null>;
448
+ private readonly hotMemoriesCacheEnabled;
449
+ constructor(baseDir: string, entitySchemas?: PluginConfig["entitySchemas"],
450
+ /**
451
+ * Hot-memories result cache gate (issue #1902). When omitted, resolves to
452
+ * the per-directory default registered by setHotMemoriesCacheDefault()
453
+ * (falling back to the process-wide default); pass an explicit boolean to
454
+ * override per-instance (tests, memory-constrained readers).
455
+ */
456
+ hotMemoriesCacheEnabledOverride?: boolean);
457
+ /** Set the process-wide hot-memories cache default (issue #1902). The
458
+ * orchestrator/access layer calls this with the operator's
459
+ * hotMemoriesCacheEnabled config so the escape hatch reaches every
460
+ * StorageManager, including ephemeral recall-sub-stage instances. Only an
461
+ * explicit `false` disables; `undefined` (e.g. a cast test config missing
462
+ * the field) leaves the cache on. */
463
+ static setHotMemoriesCacheDefault(memoryDir: string, enabled: boolean | undefined, ttlMs?: number): void;
464
+ /** Register the operator's scope-aware cache invalidation gate for a memory
465
+ * dir (issue #1904). The orchestrator/access layer calls this with
466
+ * the operator's scopedCacheInvalidationEnabled flag so the setting reaches every
467
+ * StorageManager built over the dir, including ephemeral recall-sub-stage
468
+ * instances. Only an explicit `false` disables; `undefined` leaves it on. */
469
+ static setScopedCacheInvalidationDefault(memoryDir: string, enabled: boolean | undefined): void;
470
+ /** OKF `type` emission gate registrations per memory dir (issue #1946). */
471
+ private static readonly okfConformanceByDir;
472
+ /** Register the OKF conformance gate for a memory dir. Unregistered dirs default to
473
+ * conformance-on; namespace child dirs (<memoryDir>/namespaces/<tok>) inherit the
474
+ * nearest registered ancestor. Only an explicit `false` disables. */
475
+ static setOkfConformanceDefault(memoryDir: string, enabled: boolean | undefined): void;
476
+ okfConformanceEnabled(): boolean;
477
+ /**
478
+ * The LIVE class object of this instance (issue #1809 review of the
479
+ * storage decomposition): extracted store modules must read/write the
480
+ * shared static caches (questionsCache, coldMemoriesCache, ...) through
481
+ * the SAME class binding the host methods use. Referencing the imported
482
+ * `StorageManager` symbol from a split bundle chunk can yield a second
483
+ * class copy with its own statics, split-braining the caches
484
+ * (resolveQuestion clears copy A while readQuestions reads copy B).
485
+ */
486
+ get storageManagerClass(): typeof StorageManager;
487
+ /** The root directory of this storage instance. */
488
+ /** MemoryReadStore (storage.ts decomposition). Lazy; selfDeps live wiring. */
489
+ private _memoryReadStore;
490
+ private get memoryReadStore();
491
+ /** EntityStore (storage.ts decomposition). Lazy; selfDeps live wiring. */
492
+ private _entityStore;
493
+ private get entityStore();
494
+ /** IdentityContinuityStore (storage.ts decomposition). Lazy; selfDeps live wiring. */
495
+ private _identityContinuityStore;
496
+ private get identityContinuityStore();
497
+ get dir(): string;
498
+ private identityFilePath;
499
+ private versionFilePath;
500
+ private bumpSharedVersion;
501
+ private readSharedVersion;
502
+ protected bumpMemoryStatusVersion(): void;
503
+ getMemoryStatusVersion(): number;
504
+ /**
505
+ * Entity content revision used by migration discovery and entity-page cache coherence.
506
+ */
507
+ getEntityMutationVersion(): number;
508
+ protected bumpEntityMutationVersion(): void;
509
+ /**
510
+ * Corpus version sentinel for the hot-memories result cache (#1902).
511
+ * Distinct from memory-status: bumps on EVERY memory-file mutation so the
512
+ * version-keyed hot cache stays coherent across processes, WITHOUT
513
+ * invalidating the version-keyed entity cache on every plain fact create.
514
+ */
515
+ getMemoryCorpusVersion(): number;
516
+ /**
517
+ * Bump only — NOT invalidateAllForDir (that would drop the very hot
518
+ * entry the write path just patched).
519
+ */
520
+ protected bumpMemoryCorpusVersion(): void;
521
+ getArchiveMutationVersion(): number;
522
+ /**
523
+ * Corpus bump reporting whether THIS process's append was the only one
524
+ * since the pre-bump size (#1902, Codex P1): the `exclusive` flag lets
525
+ * patchHotMemoriesCache refuse to re-key its locally patched corpus at a
526
+ * version already reflecting a peer's still-unread concurrent append.
527
+ */
528
+ private bumpMemoryCorpusVersionExclusive;
529
+ protected bumpArtifactWriteVersion(): number;
530
+ private getArtifactWriteVersion;
531
+ private get wearablesDir();
532
+ /**
533
+ * Resolve the on-disk path for a source/day transcript. Throws on
534
+ * malformed inputs — source ids and dates reach this from CLI/MCP/HTTP
535
+ * surfaces and must never become path traversal.
536
+ */
537
+ wearableTranscriptPath(sourceId: string, date: string): string;
538
+ writeWearableDayTranscript(sourceId: string, date: string, serialized: string): Promise<void>;
539
+ /** Read a stored day transcript; null when the day has no file. */
540
+ readWearableDayTranscript(sourceId: string, date: string): Promise<string | null>;
541
+ listWearableTranscriptDays(sourceId?: string): Promise<Array<{
542
+ source: string;
543
+ date: string;
544
+ }>>;
545
+ private _fusionStore?;
546
+ /** Derived fusion-day IO; file IO lives in wearables/fusion (#1810). */
547
+ fusionArtifactStore(): FusionArtifactStore;
548
+ private _meetingRecordStore?;
549
+ /**
550
+ * Meeting record IO (issue #1900). Records live under `<baseDir>/meetings/`
551
+ * — inside the QMD collection root (full-text searchable) but outside the
552
+ * memory scan roots — and inherit the same encrypted-at-rest + atomic-write +
553
+ * symlink-containment semantics as memories via the shared secure IO port.
554
+ */
555
+ meetingRecordStore(): MeetingRecordStore;
556
+ /**
557
+ * Locate a wearable-sourced memory by exact (trimmed) content,
558
+ * ignoring the "[Attributes: ...]" suffix writeMemory appends for
559
+ * structuredAttributes — callers pass the raw fact text. Used by the
560
+ * smart trust pipeline to find an earlier borderline write when the
561
+ * same fact re-extracts with stronger evidence.
562
+ */
563
+ findWearableMemoryByContent(content: string): Promise<{
564
+ id: string;
565
+ status: MemoryStatus | undefined;
566
+ } | null>;
567
+ /**
568
+ * Promote a pending_review wearable memory to active in place,
569
+ * merging updated trust evidence into structuredAttributes. Returns
570
+ * false when the memory is missing or no longer pending_review (a
571
+ * concurrent review decision wins), or when the row is tombstone-blocked
572
+ * (`blockedBy` — issue #1579 threads OcuDx/Ocu1l): writeMemoryFrontmatter
573
+ * bypasses the writeMemory chokepoint, so a blocked row must first be
574
+ * cleared via revokeTombstone before promotion can proceed.
575
+ */
576
+ promoteWearableMemory(id: string, attributeUpdates: Record<string, string>, confidence?: number): Promise<boolean>;
577
+ /**
578
+ * Demote a pending_review wearable memory to rejected when a re-pass
579
+ * produced an explicit judge-reject verdict, merging the evidence.
580
+ * Returns false when the memory is missing or no longer
581
+ * pending_review — active rows are NEVER auto-demoted (operator
582
+ * approvals and accrued recall signals win; contradiction scans and
583
+ * supersession own active-row retirement).
584
+ */
585
+ demoteWearableMemory(id: string, attributeUpdates: Record<string, string>): Promise<boolean>;
586
+ private get factsDir();
587
+ private get correctionsDir();
588
+ private get proceduresDir();
589
+ private get reasoningTracesDir();
590
+ private get entitiesDir();
591
+ private resolveEntityFilePath;
592
+ private readStorageSecureFile;
593
+ readDependencyPropagationQueueFile(filePath: string): Promise<string>;
594
+ writeDependencyPropagationQueueFile(filePath: string, content: string): Promise<void>;
595
+ protected writeStorageSecureFile(filePath: string, content: string | Buffer, forceEncrypt?: boolean): Promise<void>;
596
+ protected assertManagedStoragePath(filePath: string, method: string): string;
597
+ readDeletionRevisions(): Promise<ReadonlyMap<string, number>>;
598
+ hasCommittedInvalidation(memory: Pick<MemoryFile, "content" | "frontmatter">): Promise<boolean>;
599
+ readCasRevision: (filePath: string) => Promise<string | undefined>;
600
+ readCasRevisionStatus: (filePath: string) => Promise<import("./storage/cas-revision-store.js").CasRevisionReadStatus>;
601
+ readDurableFileDigest: (filePath: string) => Promise<string | null>;
602
+ protected beginDurableMemoryRevision: (pathname: string, expectedContent?: string | Buffer | null) => Promise<import("./storage/cas-revision-store.js").CasRevisionTransaction>;
603
+ private recordCommittedInvalidation;
604
+ private clearCommittedInvalidation;
605
+ recordReplicatedDeletionRevision(filePath: string, mtimeMs: number): Promise<void>;
606
+ protected writeManagedStorageFile(filePath: string, write: () => Promise<void>): Promise<void>;
607
+ protected deleteManagedStorageFileDurable(filePath: string, deletionMtimeMs?: number | null): Promise<boolean>;
608
+ readOfflineSyncFile(filePath: string): Promise<Buffer>;
609
+ digestOfflineSyncFile(filePath: string): Promise<{
610
+ sha256: string;
611
+ bytes: number;
612
+ }>;
613
+ private loadOfflineSyncDigestCache;
614
+ private readOfflineSyncDigestCache;
615
+ private rememberOfflineSyncDigest;
616
+ private scheduleOfflineSyncDigestCacheWrite;
617
+ private queueOfflineSyncDigestCacheWrite;
618
+ private offlineSyncFileIsEncrypted;
619
+ writeOfflineSyncStagingFile(filePath: string, content: Buffer): Promise<void>;
620
+ createContentHashIndex(): ContentHashIndex;
621
+ private appendStorageSecureFile;
622
+ /**
623
+ * Classify a file as encrypted by reading ONLY the fixed-size magic header
624
+ * (issue #1909), never the whole file. The result is cached per-path but
625
+ * VALIDATED against the file's (size, mtime) identity (review round 10 finding
626
+ * 1): a `stat` on each call is O(1), and the 12-byte header read happens only
627
+ * on a cache miss or when the on-disk identity changed — so a PEER process
628
+ * rewriting/encrypting the file is detected and we never append raw bytes into
629
+ * an encrypted body. ENOENT and short/empty files classify as not-encrypted
630
+ * (fall through to a plain `appendFile`).
631
+ */
632
+ private isEncryptedFileHeader;
633
+ private appendStorageSecureFileUnlocked;
634
+ private get stateDir();
635
+ private get offlineSyncDigestCachePath();
636
+ private get entitySynthesisQueuePath();
637
+ /**
638
+ * The on-disk tombstone log path. Lives under `<stateDir>/tombstones.jsonl`
639
+ * so it is co-located with the fact-hash index and encrypted at rest when
640
+ * the secure-store is enabled (the StorageManager's secure read/write
641
+ * helpers are injected into the store).
642
+ */
643
+ private get tombstonesPath();
644
+ /**
645
+ * Configure the tombstone invariant for this storage instance. Installed
646
+ * by the orchestrator after construction (same pattern as
647
+ * `setVersioningConfig` / `citationTemplate`). When `enabled` is false
648
+ * (default until the orchestrator wires config), the chokepoint check is a
649
+ * no-op — pre-feature behavior for rollback safety (rule 30).
650
+ */
651
+ setTombstonesConfig(config: {
652
+ enabled: boolean;
653
+ semanticMatch: boolean;
654
+ semanticThreshold: number;
655
+ namespace: string;
656
+ }): void;
657
+ private buildTombstoneStore;
658
+ /**
659
+ * Lazily load the tombstone store. Mirrors the fact-hash-index lazy-load
660
+ * pattern: a single in-flight load promise dedups concurrent first-access.
661
+ * The cross-process staleness probe lives inside the store now (#1579): on
662
+ * each cached access it stats its own file and invalidates if a peer process
663
+ * appended, so the next lookup reloads from disk. If the probe just
664
+ * invalidated the store, fall through to the reload branch — returning null
665
+ * here was the original regression (the chokepoint threw and failed OPEN).
666
+ */
667
+ getTombstoneStore(): Promise<TombstoneStore>;
668
+ /**
669
+ * Whether tombstones are enabled on this storage. Callers that need to
670
+ * distinguish "tombstones disabled" (null return is expected) from
671
+ * "persistence failed" (appendTombstone swallows store errors and also
672
+ * returns null) use this to fail closed when enabled (#1580 review OgIqp).
673
+ */
674
+ isTombstonesEnabled(): boolean;
675
+ /**
676
+ * Append a tombstone for a retired memory (issue #1579 emitters).
677
+ * Best-effort: a tombstone append failure MUST NOT fail the supersession /
678
+ * correction that triggered it (gotcha #13 / rule 34). The memory is
679
+ * already retired on disk; the tombstone is the non-resurrection guard.
680
+ */
681
+ appendTombstone(input: {
682
+ reason: TombstoneReason;
683
+ createdBy: TombstoneCreatedBy;
684
+ sourceMemoryId: string;
685
+ rawContent: string;
686
+ entityRef?: string;
687
+ supersessionKey?: string;
688
+ operationKey?: string;
689
+ createdAt?: string;
690
+ contentHash?: string;
691
+ }): Promise<string | null>;
692
+ hasExactTombstone(input: {
693
+ sourceMemoryId: string;
694
+ contentHash?: string;
695
+ entityRef?: string;
696
+ supersessionKey?: string;
697
+ createdAt?: string;
698
+ operationKey?: string;
699
+ }): Promise<boolean>;
700
+ /**
701
+ * Revoke a tombstone (re-allow the content). Used by the review-queue
702
+ * approval path when an operator approves a blocked memory.
703
+ */
704
+ revokeTombstone(tombstoneId: string, createdBy: TombstoneCreatedBy): Promise<string | null>;
705
+ /** Aggregate tombstone stats for `remnic doctor`. */
706
+ getTombstoneStats(): Promise<TombstoneStats | null>;
707
+ /**
708
+ * Rebuild the tombstone log from retired memories on disk. Exposed for
709
+ * `remnic doctor --rebuild-tombstones` and tests.
710
+ */
711
+ rebuildTombstonesFromFiles(): Promise<number>;
712
+ protected markFactHashIndexNotAuthoritative(): void;
713
+ protected tombstoneBlockedCaptureIndexOptions(): TombstoneBlockedCaptureIndexOptions;
714
+ private getFactHashIndex;
715
+ /**
716
+ * Return the fact-hash index after ensuring it is authoritative — i.e. rebuilt
717
+ * from the durable fact corpus (issue #1909 review round 12). This is the ONE
718
+ * coherent dedup source: the orchestrator's dedup layer
719
+ * (contentHashIndexForStorage) shares THIS instance instead of loading a raw,
720
+ * possibly-stale fact-hashes.txt, so after a crash+restart the orchestrator's
721
+ * hasContentHashDedup sees the same corpus-rebuilt hashes StorageManager does
722
+ * and never re-creates a fact whose per-write flush was deferred and lost.
723
+ */
724
+ getAuthoritativeFactHashIndex(): Promise<ContentHashIndex>;
725
+ /**
726
+ * Return the shared fact-hash index instance, corpus-rebuilt under the lock
727
+ * when the lock is free. Unlike {@link getAuthoritativeFactHashIndex} this
728
+ * NEVER throws on lock contention — it returns the shared instance (the loaded
729
+ * snapshot when a locked rebuild could not run) so registration writes still
730
+ * land in the one shared index and reconcile to disk. Callers that trust a
731
+ * dedup MISS MUST also consult {@link isFactContentHashAuthoritative} and
732
+ * confirm against the corpus when it is false (PR #2016).
733
+ */
734
+ getSharedFactHashIndex(): Promise<ContentHashIndex>;
735
+ private ensureFactHashIndexAuthoritative;
736
+ /**
737
+ * Repopulate `factHashIndex` in memory from the durable HOT+COLD corpus. Runs
738
+ * WHILE the per-index cross-process lock is held (see
739
+ * ContentHashIndex.rebuildUnderLock, which publishes the rebuilt set); this
740
+ * method itself never writes to disk.
741
+ */
742
+ private rebuildFactHashIndexFromCorpus;
743
+ private storedContentIdentityCandidates;
744
+ /** Returns the current body identity while preserving explicit external identities. */
745
+ private corpusRegisteredHashes;
746
+ private get questionsDir();
747
+ private get artifactsDir();
748
+ private get identityDir();
749
+ private get identityAnchorPath();
750
+ private get identityIncidentsDir();
751
+ private get identityAuditsWeeklyDir();
752
+ private get identityAuditsMonthlyDir();
753
+ private get identityImprovementLoopsPath();
754
+ private get identityReflectionsPath();
755
+ private get profilePath();
756
+ private get memoryActionsPath();
757
+ private get memoryLifecycleLedgerPath();
758
+ private get compressionGuidelinesPath();
759
+ private get compressionGuidelineDraftPath();
760
+ private get compressionGuidelineStatePath();
761
+ private get compressionGuidelineDraftStatePath();
762
+ private get behaviorSignalsPath();
763
+ /**
764
+ * In-memory dedup key set for behavior-signals appends (issue #1909),
765
+ * validated by (size, mtime) file identity like the catalog `compactedCache`.
766
+ * Avoids re-reading + JSON.parsing the whole `behavior-signals.jsonl` on
767
+ * every append. A foreign write changes size/mtime, forcing a reload; this
768
+ * process's own appends refresh the identity in place. null => reload.
769
+ */
770
+ private behaviorSignalsKeyCache;
771
+ /**
772
+ * Per-instance serializer for `appendBehaviorSignals` (issue #1909 review
773
+ * round 3). The read→dedup→append→cache-commit transaction must run to
774
+ * completion before the next append starts; otherwise two concurrent callers
775
+ * each snapshot their own `existingKeys`, and the later one commits an
776
+ * INCOMPLETE set under the final file identity, so a subsequent call
777
+ * cache-hits a set missing the earlier batch and writes duplicate signals.
778
+ * The `.catch` links keep the chain alive after a rejected append
779
+ * (AGENTS.md #28).
780
+ */
781
+ private behaviorSignalsAppendChain;
782
+ /**
783
+ * Buffer surprise telemetry ledger (issue #563 PR 3).
784
+ *
785
+ * Append-only JSONL of per-turn `BUFFER_SURPRISE` events emitted by
786
+ * `SmartBuffer` when `bufferSurpriseTriggerEnabled` is on. Each row
787
+ * captures the score, the threshold in force at the time, whether the
788
+ * turn caused an extract_now upgrade, and the buffer size. Kept in
789
+ * `state/` alongside the other append-only ledgers so cleanup and
790
+ * governance sweeps can treat it uniformly.
791
+ */
792
+ private get bufferSurpriseLedgerPath();
793
+ /**
794
+ * Entity alias table loaded from THIS store's config/aliases.json.
795
+ * Instance-scoped on purpose (issue #1534): multiple StorageManager
796
+ * instances in one process (namespaces, hosted profiles, tenants) must
797
+ * never share alias state — the previous module-level table let whichever
798
+ * store loaded last rewrite every other store's canonical entity ids.
799
+ */
800
+ private userAliases;
801
+ private readonly historicalEntityCanonicalIds;
802
+ private currentHistoricalIds;
803
+ /** Post-persist repair subsystem (issue #2213) — storage/entity-ref-repair.ts. */
804
+ private _entityRefRepair;
805
+ private get entityRefRepair();
806
+ private readonly entityCanonicalIdMigration;
807
+ normalizeEntityName(raw: string, type: string): string;
808
+ /**
809
+ * Read-only view of this store's user alias table, for call sites that
810
+ * normalize outside the manager (pass it to the free `normalizeEntityName`).
811
+ */
812
+ get entityAliases(): Readonly<Record<string, string>>;
813
+ /**
814
+ * Reload user-defined entity aliases from config/aliases.json in the memory
815
+ * store. File format: { "variant": "canonical", ... }. The constructor
816
+ * already loads aliases, so this is only needed to pick up file changes
817
+ * (e.g. orchestrator.initialize() re-running on a live instance).
818
+ * Non-object payloads and non-string or empty alias values are ignored.
819
+ */
820
+ loadAliases(): Promise<void>;
821
+ private loadAliasesSync;
822
+ private runLegacyEntityCanonicalIdMigration;
823
+ ensureDirectories(): Promise<void>;
824
+ /**
825
+ * Resolve the on-disk write path for a memory of the given category, creating
826
+ * the target directory. Category routing goes through the shared
827
+ * `getCategoryDir()` chokepoint (utils/category-dir.ts → CATEGORY_DIR_MAP) so
828
+ * decision/preference/moment/etc. outputs land in their dedicated dirs
829
+ * (`decisions/`, `preferences/`, ...) instead of collapsing into `facts/`
830
+ * (issue #1546; CLAUDE.md rule 39). `correction` keeps its historical flat
831
+ * layout (no `<date>` subdir) as the corrections pipeline expects; every other
832
+ * category — including `fact`/`entity`, which fall back to `facts/` — is dated
833
+ * as `<dir>/<date>/`. Read/scan/reindex already iterate every category dir
834
+ * (RECALL_FALLBACK_DIRS; QMD scans baseDir recursively), so writes stay found.
835
+ */
836
+ private resolveCategoryWritePath;
837
+ private findExistingTombstoneBlockedMemory;
838
+ /** Derive the inert OKF `type` at the serialization choke point when conformance is on
839
+ * and the parsed frontmatter carried none (issue #1946). Never touches `category`. */
840
+ private withOkfType;
841
+ writeMemory(category: MemoryCategory, content: string, options?: WriteMemoryOptions): Promise<{
842
+ id: string;
843
+ tombstoneBlocked: boolean;
844
+ blockedBy: string | undefined;
845
+ duplicateOf: string;
846
+ memory: MemoryFile;
847
+ } | {
848
+ memory: {
849
+ path: string;
850
+ frontmatter: MemoryFrontmatter;
851
+ content: string;
852
+ };
853
+ blockedBy?: string | undefined;
854
+ id: string;
855
+ tombstoneBlocked: boolean;
856
+ duplicateOf?: undefined;
857
+ }>;
858
+ /**
859
+ * Sealed-envelope write entry point (issue #1989 PR2).
860
+ *
861
+ * Byte-identity with `writeMemory` is BY DELEGATION: the envelope-owned
862
+ * fields are unpacked into the exact `writeMemory` arguments a legacy
863
+ * caller would have passed, so the persisted output is produced by the
864
+ * same code path. The composer's `persistedBody` was assembled with the
865
+ * same `assemblePersistedBody` helper `writeMemory` uses, so fingerprints
866
+ * derived from the envelope match the stored body (§13).
867
+ *
868
+ * Differences from a raw `writeMemory` call are REJECTIONS, not silent
869
+ * changes: the composer enforces tag/attribute caps, strict validAt, and
870
+ * plain-object attributes that the legacy path never validated.
871
+ *
872
+ * `envelope.ttl` maps to `expiresAt` verbatim; converting duration
873
+ * expressions (`"90d"`) to instants remains the access layer's job (PR3).
874
+ * `envelope.sourceReason` is access-layer metadata with no frontmatter
875
+ * field and is deliberately not persisted here.
876
+ */
877
+ writeSealedMemory(envelope: SealedMemoryEnvelope, extras?: SealedWriteExtras): Promise<{
878
+ id: string;
879
+ tombstoneBlocked: boolean;
880
+ blockedBy: string | undefined;
881
+ duplicateOf: string;
882
+ memory: MemoryFile;
883
+ } | {
884
+ memory: {
885
+ path: string;
886
+ frontmatter: MemoryFrontmatter;
887
+ content: string;
888
+ };
889
+ blockedBy?: string | undefined;
890
+ id: string;
891
+ tombstoneBlocked: boolean;
892
+ duplicateOf?: undefined;
893
+ }>;
894
+ hasFactContentHash(content: string): Promise<boolean>;
895
+ private factContentHashPresentInCorpus;
896
+ private factContentHashesForRemoval;
897
+ /** Publish `hashes` for an ACTIVE fact through the SAME locked reconcile the write path uses. */
898
+ private publishActiveFactHashes;
899
+ /**
900
+ * Register an EXPLICITLY computed content hash for an active fact (issue
901
+ * #2330 round N+16 C): the degraded merge repair indexes the COMMITTED
902
+ * body while the persisted `frontmatter.contentHash` is the stale
903
+ * PRE-merge identity. Round N+20 (B): body-coupled (`expectedContent`) —
904
+ * repair), so no obsolete hash lands on a newer record. No-op otherwise.
905
+ */
906
+ registerFactContentHash(memoryId: string, contentHash: string, expectedContent: string): Promise<void>;
907
+ private addActiveFactContentHash;
908
+ /**
909
+ * Re-register a fact's contentHash in the dedup index after a tombstone
910
+ * block is lifted on approval (issue #1579 thread ObnTy): `writeMemory`
911
+ * skips registration for tombstone-blocked facts (rule 44), so a promoted
912
+ * fact must re-enter the index or the next extraction of the same content
913
+ * creates a second active fact. No-op for non-facts or inactive facts.
914
+ */
915
+ restoreFactHashAfterApproval(memoryId: string): Promise<void>;
916
+ private syncFactHashIndexAfterRewrite;
917
+ removeFactContentHashesForMemories(memories: MemoryFile[]): Promise<void>;
918
+ /**
919
+ * Remove a memory's fact-ONLY partition membership in lockstep with the
920
+ * shared, category-agnostic index removal the orchestrator's
921
+ * `removeContentHashForMemory` performs on archival / semantic
922
+ * consolidation (PR #2016 threads SDzOP / SDzOR). Without this, the
923
+ * partition kept a removed/superseded fact's hash and `hasFactContentHash`
924
+ * returned a stale `true` until the next corpus rebuild, so wearable /
925
+ * explicit-capture / promotion callers skipped a valid write. No-op when
926
+ * the fact-hash index has not been loaded in this process yet (the
927
+ * partition is empty then and the corpus rebuild excludes the removed
928
+ * memory). No-op for non-facts.
929
+ */
930
+ removeFactOnlyHashForMemory(memory: MemoryFile): void;
931
+ isFactContentHashAuthoritative(): Promise<boolean>;
932
+ writeArtifact(quote: string, options?: {
933
+ actor?: string;
934
+ tags?: string[];
935
+ confidence?: number;
936
+ artifactType?: MemoryFrontmatter["artifactType"];
937
+ sourceMemoryId?: string;
938
+ sourceTurnId?: string;
939
+ intentGoal?: string;
940
+ intentActionType?: string;
941
+ intentEntityTypes?: string[];
942
+ sourceConnector?: string;
943
+ origin?: string;
944
+ toolScoped?: true;
945
+ }): Promise<string>;
946
+ private readAllArtifactsCached;
947
+ searchArtifacts(query: string, maxResults: number, options?: ArtifactSearchOptions): Promise<MemoryFile[]>;
948
+ writeEntity(name: string, type: string, facts: string[], options?: {
949
+ timestamp?: string;
950
+ source?: string;
951
+ sessionKey?: string;
952
+ principal?: string;
953
+ origin?: string;
954
+ structuredSections?: EntityStructuredSection[];
955
+ }): Promise<string>;
956
+ readProfile(): Promise<string>;
957
+ writeProfile(content: string): Promise<void>;
958
+ private static normalizeForDedup;
959
+ /**
960
+ * Check if a new bullet is a fuzzy duplicate of any existing bullet.
961
+ * Returns true if the new bullet should be skipped.
962
+ */
963
+ private static isFuzzyDuplicate;
964
+ appendToProfile(updates: string[]): Promise<void>;
965
+ /** Check if profile.md exceeds the max line cap and needs LLM consolidation */
966
+ profileNeedsConsolidation(triggerLines?: number): Promise<boolean>;
967
+ private rememberMemorySnapshot;
968
+ private rememberMemorySnapshots;
969
+ readAllMemories(options?: CorpusReadOptions): Promise<MemoryFile[]>;
970
+ /** Invalidate the readAllMemories() cache after writes that add/remove memories. */
971
+ /** Public cache invalidation for callers that need authoritative disk reads
972
+ * (e.g. projection verify/rebuild). */
973
+ invalidateAllMemoriesCacheForDir(): void;
974
+ /** Invalidate only the cache layers affected by direct tier file deletes. */
975
+ invalidateMemoryCachesForTiers(tiers: Iterable<"hot" | "cold" | "archive">): void;
976
+ /** Clear ALL static caches. Use in tests that write files directly
977
+ * (bypassing StorageManager.writeMemory) to avoid stale reads. */
978
+ static clearAllStaticCaches(): void;
979
+ /** Cancel any in-flight concurrent read so the next readAllMemories()
980
+ * starts a fresh disk scan and sees the just-written data.
981
+ *
982
+ * Finding UvBq (PR #402 round-11): this method intentionally does NOT
983
+ * invalidate the cold-scan cache. Ordinary hot-tier writes (writeMemory)
984
+ * do not change cold-tier content, so evicting the cold cache on every hot
985
+ * write was defeating the burst-dedup optimisation — the cold cache was
986
+ * cleared before applyTemporalSupersession ran, causing a full cold-tree
987
+ * disk scan on every write in a burst. Cold cache invalidation is handled
988
+ * exclusively by invalidateColdMemoriesCache(), which is called only when
989
+ * cold content actually changes (hot→cold demotions, writeMemoryFileAtomic
990
+ * inside cold/, archiveMemory, etc.). */
991
+ protected invalidateAllMemoriesCache(): void;
992
+ /**
993
+ * Single-file write/delete fast path for the hot-memories cache (issue
994
+ * #1902). Keeps THIS process's version-keyed corpus entry warm by patching
995
+ * the changed memory in place, bumps the dedicated `.memory-corpus-version.log`
996
+ * sentinel so PEER processes rescan (memory-status is deliberately NOT bumped
997
+ * here so plain creates/content edits don't invalidate the entity cache), and
998
+ * evicts only the derived/global layers (which
999
+ * are cheap to rebuild and are never patched). Mirrors the in-flight-dedup
1000
+ * and tombstone-store invalidation that invalidateAllMemoriesCache() does.
1001
+ *
1002
+ * `added` is the written MemoryFile (writes/overwrites); `removedPath` is a
1003
+ * deleted path. A path outside the active scan roots (under cold/ or
1004
+ * archive/) is NOT applied to the hot map — that cache holds active memories
1005
+ * only — but the version bump and derived/global eviction still run so
1006
+ * coherence is preserved. Bulk/ambiguous mutations keep the wholesale
1007
+ * invalidateAllMemoriesCache() drop instead (issue #1902 Step 5).
1008
+ */
1009
+ private patchHotMemoriesCache;
1010
+ /**
1011
+ * Invalidate the cold-scan cache for this storage root and bump the
1012
+ * on-disk cold-version sentinel so that other processes (gateway, CLI) see
1013
+ * the change immediately on their next readAllColdMemories() call.
1014
+ *
1015
+ * Must be called whenever a memory is written INTO the cold tier — hot→cold
1016
+ * demotion, atomic writes inside cold/, archiving a cold memory, etc.
1017
+ * NOT called on ordinary hot-tier writes (those don't change cold contents).
1018
+ *
1019
+ * Finding UvUy (PR #402 round-11): bumping the sentinel here makes the
1020
+ * per-process in-memory cache safe across process boundaries.
1021
+ */
1022
+ protected invalidateColdMemoriesCache(): void;
1023
+ /** Return the current cold-write version counter for this storage root.
1024
+ * Reads the on-disk sentinel (state/cold-write.log) so it reflects writes
1025
+ * made by other processes. */
1026
+ private readColdWriteVersion;
1027
+ /** Bump the on-disk cold-write version sentinel and update the in-process
1028
+ * fallback map. Called by invalidateColdMemoriesCache(). */
1029
+ private bumpColdWriteVersion;
1030
+ private normalizeMemoryReadBatchSize;
1031
+ /**
1032
+ * Public cheap active-memory path scan (issue #2149 corpus watermark). Lists
1033
+ * active memory file paths without parsing frontmatter — safe on a 100k+
1034
+ * corpus, unlike readAllMemories().
1035
+ */
1036
+ collectActiveMemoryPaths(options?: {
1037
+ propagateReadErrors?: boolean;
1038
+ } & CorpusReadOptions): Promise<string[]>;
1039
+ /**
1040
+ * Public cheap cold-tier path scan (issue #2156 finding D corpus census).
1041
+ * Lists demoted-but-reachable memory paths under `cold/` without parsing
1042
+ * frontmatter, so the divergence watermark counts the cold tier too.
1043
+ */
1044
+ collectColdMemoryPaths(options?: {
1045
+ propagateReadErrors?: boolean;
1046
+ }): Promise<string[]>;
1047
+ /**
1048
+ * Combined hot+cold corpus-mutation sentinel (issue #2156). Changes whenever
1049
+ * EITHER tier is written, so a divergence census can bracket its hot/cold scan
1050
+ * and detect a tier migration (write-cold-then-unlink-hot) racing the walkers,
1051
+ * then retry for a consistent snapshot instead of caching a transient
1052
+ * double-count or miss.
1053
+ */
1054
+ getCorpusScanVersion(): string;
1055
+ private readParsedMemoriesFromPaths;
1056
+ private readWindowUpdatedMs;
1057
+ private filterWindowPathsByUpdatedAfter;
1058
+ private orderWindowPaths;
1059
+ private readWindowBoundedBatch;
1060
+ readMemoriesWindow(options?: WindowedMemoryReadOptions): Promise<WindowedMemoryReadResult>;
1061
+ private _readAllMemoriesFromDisk;
1062
+ readAllColdMemories(): Promise<MemoryFile[]>;
1063
+ /**
1064
+ * Read archived memory markdown files under archive/.
1065
+ * Used by long-term recall fallback when hot recall has no hits.
1066
+ */
1067
+ readArchivedMemories(): Promise<MemoryFile[]>;
1068
+ readMemoryByPath(filePath: string): Promise<MemoryFile | null>;
1069
+ private resolveTierRootDir;
1070
+ private resolveMemoryDateDir;
1071
+ private isArtifactMemory;
1072
+ buildTierMemoryPath(memory: MemoryFile, tier: "hot" | "cold"): string;
1073
+ private writeMemoryFileAtomic;
1074
+ moveMemoryToPath(memory: MemoryFile, targetPath: string): Promise<boolean>;
1075
+ migrateMemoryToTier(memory: MemoryFile, targetTier: "hot" | "cold"): Promise<{
1076
+ changed: boolean;
1077
+ targetPath: string;
1078
+ }>;
1079
+ private get archiveDir();
1080
+ /**
1081
+ * Archive a memory by moving it from facts/ to archive/YYYY-MM-DD/.
1082
+ * Updates frontmatter with archived status before moving.
1083
+ * Returns the new file path on success, null on failure.
1084
+ */
1085
+ archiveMemory(memory: MemoryFile, lifecycle?: MemoryLifecycleEventWriteOptions): Promise<string | null>;
1086
+ /** Alias of listEntityNames (kept for legacy callers; sorted). */
1087
+ readEntities(): Promise<string[]>;
1088
+ readEntity(name: string): Promise<string>;
1089
+ listEntityNames(): Promise<string[]>;
1090
+ /**
1091
+ * Find an existing entity that fuzzy-matches the proposed name.
1092
+ * Returns the existing entity filename (without .md) or null if no match.
1093
+ *
1094
+ * Matching priority:
1095
+ * 1. Exact normalized match (handled by normalizeEntityName already)
1096
+ * 2. Dehyphenated match: "jane-doe" vs "janedoe"
1097
+ * 3. Substring containment: "handle-janedoe" contains "janedoe"
1098
+ * 4. Levenshtein ≤ 2 on dehyphenated names
1099
+ */
1100
+ findMatchingEntity(proposedName: string, type: string): Promise<string | null>;
1101
+ invalidateMemory(id: string, expectedSnapshot?: Pick<MemoryFile, "content" | "frontmatter"> & Partial<Pick<MemoryFile, "path">>, options?: {
1102
+ recordCommitProof?: boolean;
1103
+ }): Promise<boolean>;
1104
+ /** Commit the new body and return the CAS commit receipt — the sidecar
1105
+ * revision token, never `frontmatter.updated` (#2813 P1, #2807). */
1106
+ private updateMemoryFromCurrent;
1107
+ updateMemory(id: string, newContent: string, options?: {
1108
+ supersedes?: string;
1109
+ lineage?: string[];
1110
+ actor?: string;
1111
+ sourceConnector?: string;
1112
+ }): Promise<boolean>;
1113
+ /** CAS content update: false when the record moved past `expected`; on
1114
+ * success the commit receipt — the only identity that can attribute a standing body later (#2813 P1, #2807). */
1115
+ updateMemoryIfUnchanged(expected: MemoryFile, newContent: string, options?: {
1116
+ supersedes?: string;
1117
+ lineage?: string[];
1118
+ actor?: string;
1119
+ sourceConnector?: string;
1120
+ }): Promise<string | false>;
1121
+ /**
1122
+ * Update frontmatter fields without changing memory content. Returns false when the memory is not found.
1123
+ */
1124
+ writeMemoryFrontmatter(memory: MemoryFile, patch: Partial<MemoryFrontmatter>, lifecycle?: MemoryLifecycleEventWriteOptions): Promise<boolean>;
1125
+ /**
1126
+ * Update frontmatter only when the persisted memory still matches the
1127
+ * expected semantic snapshot.
1128
+ */
1129
+ writeMemoryFrontmatterIfUnchanged(expected: MemoryFile, patch: Partial<MemoryFrontmatter>, lifecycle?: MemoryLifecycleEventWriteOptions): Promise<boolean>;
1130
+ /**
1131
+ * Update frontmatter by memory ID.
1132
+ * Prefer writeMemoryFrontmatter(memory, patch) in batch loops to avoid full-corpus rescans.
1133
+ */
1134
+ updateMemoryFrontmatter(id: string, patch: Partial<MemoryFrontmatter>): Promise<boolean>;
1135
+ /** Remove memories past their TTL expiresAt date */
1136
+ cleanExpiredTTL(): Promise<MemoryFile[]>;
1137
+ loadBuffer(): Promise<BufferState>;
1138
+ saveBuffer(state: BufferState): Promise<void>;
1139
+ loadMeta(): Promise<MetaState>;
1140
+ saveMeta(state: MetaState): Promise<void>;
1141
+ appendMemoryActionEvents(events: MemoryActionEvent[]): Promise<number>;
1142
+ appendContextTransformRecords(records: ContextTransformTelemetryRecord[]): Promise<number>;
1143
+ readContextTransformRecords(limit?: number): Promise<ContextTransformTelemetryRecord[]>;
1144
+ appendMemoryLifecycleEvents(events: MemoryLifecycleEvent[]): Promise<number>;
1145
+ /** Drain the durable pending lifecycle-append spill into the ledger (#2033);
1146
+ * fast no-op when nothing is pending. Returns true when rows were drained. */
1147
+ drainPendingMemoryLifecycleEvents(): Promise<boolean>;
1148
+ /** Offline-sync pre-snapshot drain (#2033): fold pending lifecycle spills into
1149
+ * the active ledger and report whether durable rows STILL remain in the
1150
+ * offline-sync-EXCLUDED pending queue. The caller aborts the snapshot when
1151
+ * `pendingDeferred` is true so append-only rows are never silently omitted. */
1152
+ drainPendingMemoryLifecycleEventsForSync(): Promise<DrainPendingLifecycleForSyncResult>;
1153
+ /** Drain pending lifecycle spills for any ledger inside this storage root.
1154
+ * The offline CLI uses this path-aware variant for per-namespace ledgers so
1155
+ * secure-store encryption and path-bound authentication remain consistent. */
1156
+ drainPendingMemoryLifecycleEventsForSyncAt(ledgerPath: string): Promise<DrainPendingLifecycleForSyncResult>;
1157
+ /** Rewrite the ledger through the secure writer (#1910); re-encrypts when unlocked, throws when locked.
1158
+ * `targetPath` re-encrypts under a decryptable backup path's own AAD;
1159
+ * Buffer content passes through verbatim (#2033). `forceEncrypt` preserves
1160
+ * encryption at rest for an already-encrypted ledger/backup even when the
1161
+ * `secureStoreEncryptOnWrite` policy is paused, so a compaction never
1162
+ * downgrades encrypted state to plaintext (#2033); it never bypasses the lock. */
1163
+ writeMemoryLifecycleLedgerContent(content: string | Buffer, targetPath?: string, forceEncrypt?: boolean): Promise<void>;
1164
+ appendBufferSurpriseEvents(events: BufferSurpriseEvent[]): Promise<number>;
1165
+ readBufferSurpriseEvents(options?: {
1166
+ limit?: number;
1167
+ }): Promise<BufferSurpriseEvent[]>;
1168
+ appendBehaviorSignals(events: BehaviorSignalEvent[]): Promise<number>;
1169
+ private appendBehaviorSignalsUnlocked;
1170
+ appendReextractJobs(events: ReextractJobRequest[]): Promise<number>;
1171
+ readReextractJobs(limit?: number): Promise<ReextractJobRequest[]>;
1172
+ readBehaviorSignals(limit?: number): Promise<BehaviorSignalEvent[]>;
1173
+ readMemoryActionEvents(limit?: number): Promise<MemoryActionEvent[]>;
1174
+ readMemoryActionEventRows(limit?: number): Promise<Array<{
1175
+ line: number;
1176
+ event: MemoryActionEvent;
1177
+ }>>;
1178
+ readAllMemoryLifecycleEvents(): Promise<MemoryLifecycleEvent[]>;
1179
+ /** Raw decrypted ledger bytes as a Buffer, never a string, so an oversized
1180
+ * ledger cannot throw on decode before recovery (#2033). */
1181
+ readMemoryLifecycleLedgerRawBufferForCompaction(): Promise<Buffer>;
1182
+ readAllMemoryLifecycleEventsForCompaction(): Promise<MemoryLifecycleEvent[]>;
1183
+ readMemoryLifecycleEvents(limit?: number): Promise<MemoryLifecycleEvent[]>;
1184
+ writeCompressionGuidelines(content: string): Promise<void>;
1185
+ readCompressionGuidelines(): Promise<string | null>;
1186
+ writeCompressionGuidelineDraft(content: string): Promise<void>;
1187
+ readCompressionGuidelineDraft(): Promise<string | null>;
1188
+ writeCompressionGuidelineOptimizerState(state: CompressionGuidelineOptimizerState): Promise<void>;
1189
+ writeCompressionGuidelineDraftState(state: CompressionGuidelineOptimizerState): Promise<void>;
1190
+ readCompressionGuidelineOptimizerState(): Promise<CompressionGuidelineOptimizerState | null>;
1191
+ readCompressionGuidelineDraftState(): Promise<CompressionGuidelineOptimizerState | null>;
1192
+ activateCompressionGuidelineDraft(options?: {
1193
+ expectedContentHash?: string;
1194
+ expectedGuidelineVersion?: number;
1195
+ }): Promise<boolean>;
1196
+ private readCompressionGuidelineStateFile;
1197
+ writeIdentityAnchor(content: string): Promise<void>;
1198
+ readIdentityAnchor(): Promise<string | null>;
1199
+ appendContinuityIncident(input: ContinuityIncidentOpenInput): Promise<ContinuityIncidentRecord>;
1200
+ readContinuityIncidents(limit?: number, state?: "open" | "closed" | "all"): Promise<ContinuityIncidentRecord[]>;
1201
+ closeContinuityIncident(id: string, closure: ContinuityIncidentCloseInput): Promise<ContinuityIncidentRecord | null>;
1202
+ writeIdentityAudit(period: "weekly" | "monthly", key: string, content: string): Promise<string>;
1203
+ readIdentityAudit(period: "weekly" | "monthly", key: string): Promise<string | null>;
1204
+ writeIdentityImprovementLoops(content: string): Promise<void>;
1205
+ readIdentityImprovementLoops(): Promise<string | null>;
1206
+ readIdentityImprovementLoopRegister(): Promise<ContinuityImprovementLoop[]>;
1207
+ upsertIdentityImprovementLoop(input: ContinuityLoopUpsertInput): Promise<ContinuityImprovementLoop>;
1208
+ reviewIdentityImprovementLoop(id: string, input: ContinuityLoopReviewInput): Promise<ContinuityImprovementLoop | null>;
1209
+ private generateId;
1210
+ writeQuestion(question: string, context: string, priority: number): Promise<string>;
1211
+ readQuestions(opts?: {
1212
+ unresolvedOnly?: boolean;
1213
+ }): Promise<Array<{
1214
+ id: string;
1215
+ question: string;
1216
+ context: string;
1217
+ priority: number;
1218
+ resolved: boolean;
1219
+ created: string;
1220
+ filePath: string;
1221
+ }>>;
1222
+ /** Invalidate the questions cache (call after writing a question). */
1223
+ invalidateQuestionsCache(): void;
1224
+ private parseQuestionFile;
1225
+ resolveQuestion(id: string): Promise<boolean>;
1226
+ readIdentity(workspaceDir: string, namespace?: string): Promise<string>;
1227
+ writeIdentity(workspaceDir: string, content: string, namespace?: string): Promise<void>;
1228
+ /** Max size for IDENTITY.md before we stop appending reflections (15KB leaves room under 20KB gateway limit) */
1229
+ private static readonly IDENTITY_MAX_BYTES;
1230
+ /** Minimum interval between reflections (1 hour) */
1231
+ private static readonly REFLECTION_COOLDOWN_MS;
1232
+ appendToIdentity(workspaceDir: string, reflection: string, opts?: {
1233
+ hygiene?: FileHygieneConfig;
1234
+ namespace?: string;
1235
+ }): Promise<void>;
1236
+ readIdentityReflections(): Promise<string | null>;
1237
+ writeIdentityReflections(content: string): Promise<void>;
1238
+ appendIdentityReflection(reflection: string): Promise<void>;
1239
+ addEntityRelationship(name: string, rel: EntityRelationship): Promise<void>;
1240
+ addEntityActivity(name: string, entry: EntityActivityEntry, maxEntries: number): Promise<void>;
1241
+ addEntityAlias(name: string, alias: string): Promise<void>;
1242
+ updateEntitySynthesis(name: string, synthesis: string, options?: {
1243
+ entityUpdatedAt?: string;
1244
+ synthesisStructuredFactCount?: number;
1245
+ synthesisStructuredFactDigest?: string;
1246
+ synthesisTimelineCount?: number;
1247
+ updatedAt?: string;
1248
+ incrementVersion?: boolean;
1249
+ }): Promise<void>;
1250
+ /** Backward-compatible alias for legacy callers/tests. */
1251
+ updateEntitySummary(name: string, summary: string): Promise<void>;
1252
+ readEntitySynthesisQueue(): Promise<string[]>;
1253
+ refreshEntitySynthesisQueue(): Promise<string[]>;
1254
+ removeEntitySynthesisQueueEntries(entityNames: string[]): Promise<void>;
1255
+ migrateEntityFilesToCompiledTruthTimeline(): Promise<{
1256
+ total: number;
1257
+ migrated: number;
1258
+ }>;
1259
+ readAllEntityFiles(options?: CorpusReadOptions): Promise<EntityFile[]>;
1260
+ /**
1261
+ * Score an entity based on recency, frequency, activity, type priority,
1262
+ * and relationship density.
1263
+ *
1264
+ * score = recency*0.40 + frequency*0.25 + activity*0.15 + typePriority*0.10 + relationshipDensity*0.10
1265
+ */
1266
+ static scoreEntity(entity: EntityFile, now: Date): number;
1267
+ buildKnowledgeIndex(config: PluginConfig, overrides?: {
1268
+ maxEntities?: number;
1269
+ maxChars?: number;
1270
+ }): Promise<{
1271
+ result: string;
1272
+ cached: boolean;
1273
+ }>;
1274
+ /** Invalidate the Knowledge Index cache (call after entity mutations). */
1275
+ invalidateKnowledgeIndexCache(): void;
1276
+ /** Max lines for profile.md before LLM consolidation triggers */
1277
+ private static readonly PROFILE_MAX_LINES;
1278
+ mergeFragmentedEntities(): Promise<number>;
1279
+ cleanExpiredCommitments(decayDays: number): Promise<MemoryFile[]>;
1280
+ /**
1281
+ * Flush batched access tracking updates to disk.
1282
+ * Called during consolidation or when buffer exceeds max size.
1283
+ */
1284
+ flushAccessTracking(entries: AccessTrackingEntry[]): Promise<number>;
1285
+ getMemoryById(id: string): Promise<MemoryFile | null>;
1286
+ getMemoryByIdIncludingArchived(id: string): Promise<MemoryFile | null>;
1287
+ /** Resolve existing active memory IDs through a lightweight directory scan. */
1288
+ findExistingMemoryPaths(ids: string[], preferredPaths?: Map<string, string[]>): Promise<Map<string, string[]>>;
1289
+ /**
1290
+ * Check which of the given memory IDs actually exist on disk.
1291
+ */
1292
+ filterExistingMemoryIds(ids: string[]): Promise<Set<string>>;
1293
+ getProjectedMemoryState(id: string): Promise<MemoryProjectionCurrentState | null>;
1294
+ browseProjectedMemories(options: ProjectedMemoryBrowseOptions): Promise<ProjectedMemoryBrowsePage | null>;
1295
+ getProjectedGovernanceRecord(): Promise<ReturnType<typeof readProjectedGovernanceRecord>>;
1296
+ private toProjectedCurrentState;
1297
+ getMemoryTimeline(memoryId: string, limit?: number): Promise<MemoryLifecycleEvent[]>;
1298
+ /**
1299
+ * Write a memory chunk with parent reference.
1300
+ * Chunk IDs follow format: {parentId}-chunk-{index}
1301
+ */
1302
+ writeChunk(parentId: string, chunkIndex: number, chunkTotal: number, category: MemoryCategory, content: string, options?: {
1303
+ confidence?: number;
1304
+ tags?: string[];
1305
+ entityRef?: string;
1306
+ source?: string;
1307
+ importance?: ImportanceScore;
1308
+ intentGoal?: string;
1309
+ intentActionType?: string;
1310
+ intentEntityTypes?: string[];
1311
+ memoryKind?: MemoryFrontmatter["memoryKind"];
1312
+ validAt?: string;
1313
+ /** Lifecycle status (issue #1576): pending_review chunks stay out of active recall. */
1314
+ status?: import("./types.js").MemoryStatus;
1315
+ /**
1316
+ * Tombstone block provenance (issue #1645): when the parent fact was
1317
+ * tombstone-blocked, propagate the tombstone id onto each chunk so an
1318
+ * independently-surfaced chunk (memory_get/x-ray/doctor) reveals the block
1319
+ * and the chunk stays pending_review, never an active resurrection.
1320
+ */
1321
+ blockedBy?: string;
1322
+ /** Faithfulness gate verdict (issue #1576), propagated from the parent fact. */
1323
+ faithfulness?: import("./types.js").FaithfulnessFrontmatter;
1324
+ /** Claim-level provenance spans (issue #1575 PR 2), propagated from the parent fact so a chunk surfaced independently (memory_get/x-ray) preserves them (chatgpt-codex-connector thread Ocvmo). */
1325
+ sources?: ProvenanceSource[];
1326
+ /** Coarse provenance tag (issue #1575 PR 2), propagated from the parent. */
1327
+ provenance?: "verified" | "unverified" | "none";
1328
+ invalidAt?: string;
1329
+ observedAt?: string;
1330
+ eventTimeSource?: "extracted" | "assumed";
1331
+ sourceConnector?: string;
1332
+ origin?: string;
1333
+ toolScoped?: true;
1334
+ }): Promise<string>;
1335
+ /**
1336
+ * Get all chunks for a given parent memory ID.
1337
+ * Returns chunks sorted by chunkIndex.
1338
+ */
1339
+ getChunksForParent(parentId: string): Promise<MemoryFile[]>;
1340
+ supersedeMemory(oldMemoryId: string, newMemoryId: string, reason: string, supersessionMetadata?: Pick<MemoryFrontmatter, "supersessionCause" | "invalidatedBy">, options?: {
1341
+ actor?: string;
1342
+ requireActive?: boolean;
1343
+ acceptExactReplay?: boolean;
1344
+ expectedSnapshot?: Pick<MemoryFile, "content" | "frontmatter"> & Partial<Pick<MemoryFile, "path">>;
1345
+ audit?: SupersessionAuditOptions;
1346
+ }): Promise<boolean>;
1347
+ private get summariesDir();
1348
+ writeSummary(summary: MemorySummary): Promise<void>;
1349
+ readSummaries(): Promise<MemorySummary[]>;
1350
+ archiveMemories(memoryIds: string[], summaryId: string): Promise<number>;
1351
+ saveTopics(topics: TopicScore[]): Promise<void>;
1352
+ loadTopics(): Promise<{
1353
+ topics: TopicScore[];
1354
+ updatedAt: string | null;
1355
+ }>;
1356
+ addLinksToMemory(memoryId: string, links: MemoryLink[], lifecycle?: MemoryLifecycleEventWriteOptions): Promise<boolean>;
1357
+ private summarizeLifecycleState;
1358
+ private frontmatterPatchEventType;
1359
+ private appendGeneratedMemoryLifecycleEvent;
1360
+ private appendGeneratedMemoryLifecycleEventFailOpen;
1361
+ }
1362
+ //# sourceMappingURL=storage.d.ts.map