@remnic/core 10.0.60 → 10.0.61

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 (252) hide show
  1. package/dist/access-admin-ops-surface.js +21 -20
  2. package/dist/access-authorization-probe.js +22 -21
  3. package/dist/access-boundary.js +21 -20
  4. package/dist/access-cli.js +64 -63
  5. package/dist/access-cli.js.map +1 -1
  6. package/dist/access-extraction-force-flush.js +21 -20
  7. package/dist/access-http-briefing.js +22 -21
  8. package/dist/access-http-query.js +23 -22
  9. package/dist/access-http.js +39 -38
  10. package/dist/access-identity-continuity-surface.js +21 -20
  11. package/dist/access-lcm-surface.js +21 -20
  12. package/dist/access-mcp.js +31 -30
  13. package/dist/access-namespace-preflight.js +21 -20
  14. package/dist/access-observe-write-category.js +4 -4
  15. package/dist/access-observe-write-surface.js +21 -20
  16. package/dist/access-operations-batch.js +23 -22
  17. package/dist/access-operations.js +30 -29
  18. package/dist/access-recall-concurrency.js +21 -20
  19. package/dist/access-recall-response.js +21 -20
  20. package/dist/access-recall-surface.js +21 -20
  21. package/dist/access-schema.js +3 -3
  22. package/dist/access-service.js +21 -20
  23. package/dist/access-surface-catalog.js +23 -22
  24. package/dist/access-surface-catalog.js.map +1 -1
  25. package/dist/active-recall.js +6 -4
  26. package/dist/active-recall.js.map +1 -1
  27. package/dist/briefing.js +7 -5
  28. package/dist/buffer-persistence.d.ts +14 -3
  29. package/dist/buffer-persistence.d.ts.map +1 -1
  30. package/dist/buffer-persistence.js +1 -1
  31. package/dist/buffer-turn-helpers.d.ts +7 -0
  32. package/dist/buffer-turn-helpers.d.ts.map +1 -1
  33. package/dist/buffer-turn-helpers.js +5 -3
  34. package/dist/buffer.d.ts +2 -0
  35. package/dist/buffer.d.ts.map +1 -1
  36. package/dist/buffer.js +3 -3
  37. package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-GWVG7LGC.js} +2 -2
  38. package/dist/causal-consolidation.js +8 -6
  39. package/dist/causal-consolidation.js.map +1 -1
  40. package/dist/{chunk-PRSF7DWT.js → chunk-23OEPU3K.js} +2 -2
  41. package/dist/{chunk-2EJAPJ5G.js → chunk-46U6L5DM.js} +2 -2
  42. package/dist/{chunk-NF5EHQTJ.js → chunk-6HTEPYOI.js} +4 -4
  43. package/dist/{chunk-TIS6T6UP.js → chunk-6T4CMKNP.js} +2 -2
  44. package/dist/{chunk-W37MS6SX.js → chunk-73A2DDDR.js} +2 -2
  45. package/dist/{chunk-X2TZWVCC.js → chunk-7AKPLEJV.js} +2 -2
  46. package/dist/{chunk-T4SMMTGY.js → chunk-7OKYO2UC.js} +2 -2
  47. package/dist/{chunk-WJC5KGYC.js → chunk-7ULSP7AU.js} +6 -6
  48. package/dist/{chunk-J53IBVMF.js → chunk-A4FZLM6Q.js} +2 -2
  49. package/dist/{chunk-KQAFEZQX.js → chunk-BUKK5SWA.js} +2 -2
  50. package/dist/{chunk-JRY55I6Z.js → chunk-C2AYUXEF.js} +2 -2
  51. package/dist/{chunk-PTJWUN4H.js → chunk-D3BYJSHX.js} +25 -25
  52. package/dist/{chunk-ADK5TMQL.js → chunk-D4WR56FR.js} +2 -2
  53. package/dist/{chunk-3DG2YAAX.js → chunk-DMYNM3WG.js} +59 -32
  54. package/dist/chunk-DMYNM3WG.js.map +1 -0
  55. package/dist/{chunk-66CC6L6R.js → chunk-DP22K7IC.js} +2 -2
  56. package/dist/{chunk-AWKADEMO.js → chunk-DTQJ7BRN.js} +3 -3
  57. package/dist/{chunk-IA3XZG4V.js → chunk-DZL5PBEJ.js} +2 -2
  58. package/dist/{chunk-7DHNBABU.js → chunk-EGCC5OJE.js} +3 -3
  59. package/dist/{chunk-N5H22V75.js → chunk-EJ4RS7I7.js} +2 -2
  60. package/dist/{chunk-MOB4JHG6.js → chunk-ENAPZQA6.js} +2 -2
  61. package/dist/{chunk-DF4SYU4Z.js → chunk-F2UAAI6B.js} +2 -2
  62. package/dist/{chunk-KXDUSGPM.js → chunk-FKNNWH7P.js} +2 -2
  63. package/dist/{chunk-74Z2BYEK.js → chunk-GNP4BV4Z.js} +2 -2
  64. package/dist/{chunk-LGLLCWA2.js → chunk-HWMGQDZI.js} +2 -2
  65. package/dist/{chunk-PIVSUPF2.js → chunk-IIUEHIQ2.js} +2 -2
  66. package/dist/{chunk-JFRO5HJY.js → chunk-IPN67KVR.js} +2 -2
  67. package/dist/chunk-JCL7RO2G.js +674 -0
  68. package/dist/chunk-JCL7RO2G.js.map +1 -0
  69. package/dist/{chunk-ZXEPLZUQ.js → chunk-JGSWWD33.js} +7 -7
  70. package/dist/{chunk-A3UFV4K3.js → chunk-JIYJIH5N.js} +2 -2
  71. package/dist/{chunk-M7KAJBO2.js → chunk-JKUVPVKR.js} +3 -3
  72. package/dist/{chunk-L5RMURVI.js → chunk-JL5FHZ7O.js} +29 -5
  73. package/dist/chunk-JL5FHZ7O.js.map +1 -0
  74. package/dist/{chunk-QWURVT5Z.js → chunk-L2HSSVVD.js} +2 -2
  75. package/dist/{chunk-VQ6H4DL6.js → chunk-L334PSLW.js} +4 -4
  76. package/dist/{chunk-UY67YP6Q.js → chunk-LIUI46BX.js} +2 -2
  77. package/dist/{chunk-4OFXLQJD.js → chunk-MPDLLLOG.js} +8 -3
  78. package/dist/chunk-MPDLLLOG.js.map +1 -0
  79. package/dist/{chunk-2HVCTFKG.js → chunk-MPJ7VHHA.js} +2 -2
  80. package/dist/{chunk-I6UTOUBK.js → chunk-N7RAABFM.js} +149 -344
  81. package/dist/chunk-N7RAABFM.js.map +1 -0
  82. package/dist/{chunk-RSYFSCKL.js → chunk-NSUGAIIB.js} +12 -12
  83. package/dist/{chunk-Z4EH5TSO.js → chunk-NXHBQC2O.js} +2 -2
  84. package/dist/{chunk-JEDS2QYV.js → chunk-OH55F76C.js} +2 -2
  85. package/dist/{chunk-GGHX4YHM.js → chunk-OUJ4DVR5.js} +2 -2
  86. package/dist/{chunk-2NLLXCJG.js → chunk-OWHERGF2.js} +2 -2
  87. package/dist/{chunk-4O4VAEWH.js → chunk-P5F7ISLV.js} +2 -2
  88. package/dist/{chunk-5XY46Z2W.js → chunk-PNVQNAJM.js} +3 -3
  89. package/dist/{chunk-HL643H2F.js → chunk-PRYDNBCO.js} +7 -7
  90. package/dist/{chunk-F3GX76LV.js → chunk-PUTH5REB.js} +2 -2
  91. package/dist/{chunk-IJFX4JRI.js → chunk-RBUR6USI.js} +7 -7
  92. package/dist/{chunk-JM2WJBP7.js → chunk-RZSHIJYY.js} +2 -2
  93. package/dist/{chunk-6BKSUA6P.js → chunk-SVTIWBSA.js} +2 -2
  94. package/dist/{chunk-M3GOWG2P.js → chunk-TBFAQHQZ.js} +2 -2
  95. package/dist/{chunk-ZRDEOC4X.js → chunk-TKCJI7WA.js} +2 -2
  96. package/dist/{chunk-NJZY5LOC.js → chunk-TLOAAOT3.js} +2 -2
  97. package/dist/{chunk-KZMRMKC7.js → chunk-U7MIMS2Y.js} +11 -1
  98. package/dist/chunk-U7MIMS2Y.js.map +1 -0
  99. package/dist/{chunk-X7Y7WX73.js → chunk-UVYI6VIX.js} +1 -1
  100. package/dist/{chunk-GJF337YM.js → chunk-VCYH2XUY.js} +2 -2
  101. package/dist/{chunk-UP2Q7U4G.js → chunk-WD2QH3JM.js} +2 -2
  102. package/dist/{chunk-MHSUEA32.js → chunk-WWSJQ7MP.js} +3 -3
  103. package/dist/{chunk-UIX4JLVV.js → chunk-XAFSZ4DP.js} +2 -2
  104. package/dist/{chunk-PJLJN23N.js → chunk-XICJL56Z.js} +2 -2
  105. package/dist/{chunk-C5GTIRIO.js → chunk-XJDSZFBZ.js} +18 -18
  106. package/dist/cli.js +52 -51
  107. package/dist/coding/export-okf-codegraph.js +6 -4
  108. package/dist/coding/export-okf-codegraph.js.map +1 -1
  109. package/dist/compounding/engine.js +8 -6
  110. package/dist/config.js +6 -4
  111. package/dist/connectors/codex-materialize-runner.js +7 -5
  112. package/dist/connectors/index.js +7 -5
  113. package/dist/convergence-refresh.js +9 -7
  114. package/dist/corpus-watermark.js +9 -7
  115. package/dist/deep-recall-http-glue.js +4 -4
  116. package/dist/entity-retrieval.js +7 -5
  117. package/dist/external-wiki-access.js +22 -21
  118. package/dist/extraction.js +7 -5
  119. package/dist/harmonic-retrieval.js +7 -5
  120. package/dist/index.d.ts +1 -1
  121. package/dist/index.d.ts.map +1 -1
  122. package/dist/index.js +66 -63
  123. package/dist/location/index.js +9 -7
  124. package/dist/maintenance/memory-governance.js +7 -5
  125. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +7 -5
  126. package/dist/maintenance/rebuild-memory-projection-runner.js +9 -7
  127. package/dist/maintenance/rebuild-memory-projection.js +8 -6
  128. package/dist/memory-browse-operations.js +22 -21
  129. package/dist/namespaces/migrate.js +8 -6
  130. package/dist/namespaces/search.js +3 -3
  131. package/dist/namespaces/storage.js +7 -5
  132. package/dist/operator-doctor-corpus.js +10 -8
  133. package/dist/operator-toolkit.js +15 -13
  134. package/dist/orchestration/buffer-drain-gate.d.ts +21 -0
  135. package/dist/orchestration/buffer-drain-gate.d.ts.map +1 -0
  136. package/dist/orchestration/buffer-drain-runner.d.ts +79 -0
  137. package/dist/orchestration/buffer-drain-runner.d.ts.map +1 -0
  138. package/dist/orchestration/buffer-drain-runner.js +780 -0
  139. package/dist/orchestration/buffer-drain-runner.js.map +1 -0
  140. package/dist/orchestration/buffer-swap.d.ts +12 -0
  141. package/dist/orchestration/buffer-swap.d.ts.map +1 -0
  142. package/dist/orchestration/maintenance.js +17 -15
  143. package/dist/orchestration/turn-ingestion.d.ts.map +1 -1
  144. package/dist/orchestrator.d.ts +4 -1
  145. package/dist/orchestrator.d.ts.map +1 -1
  146. package/dist/orchestrator.js +64 -63
  147. package/dist/recall-navigation-operations.js +22 -21
  148. package/dist/recall-navigation.js +21 -20
  149. package/dist/resume-bundles.js +6 -4
  150. package/dist/search/factory.js +2 -2
  151. package/dist/search/index.js +4 -4
  152. package/dist/semantic-consolidation.js +8 -6
  153. package/dist/semantic-rule-promotion.js +7 -5
  154. package/dist/semantic-rule-verifier.js +7 -5
  155. package/dist/source-agent-qualifier.js +7 -5
  156. package/dist/standup/build.js +7 -5
  157. package/dist/storage/buffer-drain-claims.d.ts +159 -0
  158. package/dist/storage/buffer-drain-claims.d.ts.map +1 -0
  159. package/dist/storage/buffer-drain-claims.js +18 -0
  160. package/dist/storage/buffer-drain-claims.js.map +1 -0
  161. package/dist/storage/buffer-session-files.d.ts +14 -2
  162. package/dist/storage/buffer-session-files.d.ts.map +1 -1
  163. package/dist/storage/buffer-session-files.js +22 -0
  164. package/dist/storage/buffer-session-files.js.map +1 -0
  165. package/dist/storage.d.ts +6 -1
  166. package/dist/storage.d.ts.map +1 -1
  167. package/dist/storage.js +6 -4
  168. package/dist/support-passport/index.js +24 -23
  169. package/dist/transfer/backup.js +2 -2
  170. package/dist/transfer/capsule-export.js +2 -2
  171. package/dist/transfer/capsule-import.js +2 -2
  172. package/dist/transfer/export-okf.js +7 -5
  173. package/dist/verified-recall.js +7 -5
  174. package/dist/who-knows-cli.js +8 -6
  175. package/dist/who-knows.js +7 -5
  176. package/package.json +32 -2
  177. package/src/buffer-drain-handover.test.ts +307 -0
  178. package/src/buffer-persistence.ts +27 -5
  179. package/src/buffer-turn-helpers.ts +16 -0
  180. package/src/buffer.ts +32 -2
  181. package/src/index.ts +1 -1
  182. package/src/orchestration/buffer-drain-gate.test.ts +40 -0
  183. package/src/orchestration/buffer-drain-gate.ts +38 -0
  184. package/src/orchestration/buffer-drain-runner.ts +312 -0
  185. package/src/orchestration/buffer-swap.ts +27 -0
  186. package/src/orchestration/turn-ingestion.ts +2 -0
  187. package/src/orchestrator.ts +9 -6
  188. package/src/storage/buffer-drain-claims.test.ts +448 -0
  189. package/src/storage/buffer-drain-claims.ts +593 -0
  190. package/src/storage/buffer-session-files.ts +50 -3
  191. package/src/storage.ts +8 -11
  192. package/src/testing/subjects/extraction-lifecycle.test.ts +34 -0
  193. package/dist/chunk-3DG2YAAX.js.map +0 -1
  194. package/dist/chunk-4OFXLQJD.js.map +0 -1
  195. package/dist/chunk-I6UTOUBK.js.map +0 -1
  196. package/dist/chunk-KZMRMKC7.js.map +0 -1
  197. package/dist/chunk-L5RMURVI.js.map +0 -1
  198. /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-GWVG7LGC.js.map} +0 -0
  199. /package/dist/{chunk-PRSF7DWT.js.map → chunk-23OEPU3K.js.map} +0 -0
  200. /package/dist/{chunk-2EJAPJ5G.js.map → chunk-46U6L5DM.js.map} +0 -0
  201. /package/dist/{chunk-NF5EHQTJ.js.map → chunk-6HTEPYOI.js.map} +0 -0
  202. /package/dist/{chunk-TIS6T6UP.js.map → chunk-6T4CMKNP.js.map} +0 -0
  203. /package/dist/{chunk-W37MS6SX.js.map → chunk-73A2DDDR.js.map} +0 -0
  204. /package/dist/{chunk-X2TZWVCC.js.map → chunk-7AKPLEJV.js.map} +0 -0
  205. /package/dist/{chunk-T4SMMTGY.js.map → chunk-7OKYO2UC.js.map} +0 -0
  206. /package/dist/{chunk-WJC5KGYC.js.map → chunk-7ULSP7AU.js.map} +0 -0
  207. /package/dist/{chunk-J53IBVMF.js.map → chunk-A4FZLM6Q.js.map} +0 -0
  208. /package/dist/{chunk-KQAFEZQX.js.map → chunk-BUKK5SWA.js.map} +0 -0
  209. /package/dist/{chunk-JRY55I6Z.js.map → chunk-C2AYUXEF.js.map} +0 -0
  210. /package/dist/{chunk-PTJWUN4H.js.map → chunk-D3BYJSHX.js.map} +0 -0
  211. /package/dist/{chunk-ADK5TMQL.js.map → chunk-D4WR56FR.js.map} +0 -0
  212. /package/dist/{chunk-66CC6L6R.js.map → chunk-DP22K7IC.js.map} +0 -0
  213. /package/dist/{chunk-AWKADEMO.js.map → chunk-DTQJ7BRN.js.map} +0 -0
  214. /package/dist/{chunk-IA3XZG4V.js.map → chunk-DZL5PBEJ.js.map} +0 -0
  215. /package/dist/{chunk-7DHNBABU.js.map → chunk-EGCC5OJE.js.map} +0 -0
  216. /package/dist/{chunk-N5H22V75.js.map → chunk-EJ4RS7I7.js.map} +0 -0
  217. /package/dist/{chunk-MOB4JHG6.js.map → chunk-ENAPZQA6.js.map} +0 -0
  218. /package/dist/{chunk-DF4SYU4Z.js.map → chunk-F2UAAI6B.js.map} +0 -0
  219. /package/dist/{chunk-KXDUSGPM.js.map → chunk-FKNNWH7P.js.map} +0 -0
  220. /package/dist/{chunk-74Z2BYEK.js.map → chunk-GNP4BV4Z.js.map} +0 -0
  221. /package/dist/{chunk-LGLLCWA2.js.map → chunk-HWMGQDZI.js.map} +0 -0
  222. /package/dist/{chunk-PIVSUPF2.js.map → chunk-IIUEHIQ2.js.map} +0 -0
  223. /package/dist/{chunk-JFRO5HJY.js.map → chunk-IPN67KVR.js.map} +0 -0
  224. /package/dist/{chunk-ZXEPLZUQ.js.map → chunk-JGSWWD33.js.map} +0 -0
  225. /package/dist/{chunk-A3UFV4K3.js.map → chunk-JIYJIH5N.js.map} +0 -0
  226. /package/dist/{chunk-M7KAJBO2.js.map → chunk-JKUVPVKR.js.map} +0 -0
  227. /package/dist/{chunk-QWURVT5Z.js.map → chunk-L2HSSVVD.js.map} +0 -0
  228. /package/dist/{chunk-VQ6H4DL6.js.map → chunk-L334PSLW.js.map} +0 -0
  229. /package/dist/{chunk-UY67YP6Q.js.map → chunk-LIUI46BX.js.map} +0 -0
  230. /package/dist/{chunk-2HVCTFKG.js.map → chunk-MPJ7VHHA.js.map} +0 -0
  231. /package/dist/{chunk-RSYFSCKL.js.map → chunk-NSUGAIIB.js.map} +0 -0
  232. /package/dist/{chunk-Z4EH5TSO.js.map → chunk-NXHBQC2O.js.map} +0 -0
  233. /package/dist/{chunk-JEDS2QYV.js.map → chunk-OH55F76C.js.map} +0 -0
  234. /package/dist/{chunk-GGHX4YHM.js.map → chunk-OUJ4DVR5.js.map} +0 -0
  235. /package/dist/{chunk-2NLLXCJG.js.map → chunk-OWHERGF2.js.map} +0 -0
  236. /package/dist/{chunk-4O4VAEWH.js.map → chunk-P5F7ISLV.js.map} +0 -0
  237. /package/dist/{chunk-5XY46Z2W.js.map → chunk-PNVQNAJM.js.map} +0 -0
  238. /package/dist/{chunk-HL643H2F.js.map → chunk-PRYDNBCO.js.map} +0 -0
  239. /package/dist/{chunk-F3GX76LV.js.map → chunk-PUTH5REB.js.map} +0 -0
  240. /package/dist/{chunk-IJFX4JRI.js.map → chunk-RBUR6USI.js.map} +0 -0
  241. /package/dist/{chunk-JM2WJBP7.js.map → chunk-RZSHIJYY.js.map} +0 -0
  242. /package/dist/{chunk-6BKSUA6P.js.map → chunk-SVTIWBSA.js.map} +0 -0
  243. /package/dist/{chunk-M3GOWG2P.js.map → chunk-TBFAQHQZ.js.map} +0 -0
  244. /package/dist/{chunk-ZRDEOC4X.js.map → chunk-TKCJI7WA.js.map} +0 -0
  245. /package/dist/{chunk-NJZY5LOC.js.map → chunk-TLOAAOT3.js.map} +0 -0
  246. /package/dist/{chunk-X7Y7WX73.js.map → chunk-UVYI6VIX.js.map} +0 -0
  247. /package/dist/{chunk-GJF337YM.js.map → chunk-VCYH2XUY.js.map} +0 -0
  248. /package/dist/{chunk-UP2Q7U4G.js.map → chunk-WD2QH3JM.js.map} +0 -0
  249. /package/dist/{chunk-MHSUEA32.js.map → chunk-WWSJQ7MP.js.map} +0 -0
  250. /package/dist/{chunk-UIX4JLVV.js.map → chunk-XAFSZ4DP.js.map} +0 -0
  251. /package/dist/{chunk-PJLJN23N.js.map → chunk-XICJL56Z.js.map} +0 -0
  252. /package/dist/{chunk-C5GTIRIO.js.map → chunk-XJDSZFBZ.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  defineOperation
3
- } from "./chunk-C5GTIRIO.js";
3
+ } from "./chunk-XJDSZFBZ.js";
4
4
  import {
5
5
  EngramAccessInputError
6
6
  } from "./chunk-LGEH473S.js";
@@ -92,4 +92,4 @@ defineOperation({
92
92
  };
93
93
  }
94
94
  });
95
- //# sourceMappingURL=chunk-T4SMMTGY.js.map
95
+ //# sourceMappingURL=chunk-7OKYO2UC.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildStandup,
3
3
  parseStandupDate
4
- } from "./chunk-4O4VAEWH.js";
4
+ } from "./chunk-P5F7ISLV.js";
5
5
  import {
6
6
  backfillMemoryStorage,
7
7
  runLocationBackfill,
@@ -9,23 +9,23 @@ import {
9
9
  runLocationDay,
10
10
  runLocationStatus,
11
11
  runLocationSync
12
- } from "./chunk-MHSUEA32.js";
12
+ } from "./chunk-WWSJQ7MP.js";
13
13
  import {
14
14
  externalWikiSearchOperation
15
- } from "./chunk-PRSF7DWT.js";
15
+ } from "./chunk-23OEPU3K.js";
16
16
  import {
17
17
  DECISION_SUBCOMMANDS,
18
18
  DELTA_SUBCOMMANDS,
19
19
  defineOperation,
20
20
  isCodegraphToolName
21
- } from "./chunk-C5GTIRIO.js";
21
+ } from "./chunk-XJDSZFBZ.js";
22
22
  import {
23
23
  CorrectionContractError
24
24
  } from "./chunk-ETSJD5IV.js";
25
25
  import {
26
26
  memoryStoreRequestSchema,
27
27
  retainedCategoryAlias
28
- } from "./chunk-UY67YP6Q.js";
28
+ } from "./chunk-LIUI46BX.js";
29
29
  import {
30
30
  serializeMutations,
31
31
  withHeldFileLock
@@ -1916,4 +1916,4 @@ export {
1916
1916
  codegraphIngestTracesOperation,
1917
1917
  REGISTERED_OPERATIONS
1918
1918
  };
1919
- //# sourceMappingURL=chunk-WJC5KGYC.js.map
1919
+ //# sourceMappingURL=chunk-7ULSP7AU.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseEntityFile
3
- } from "./chunk-I6UTOUBK.js";
3
+ } from "./chunk-N7RAABFM.js";
4
4
  import {
5
5
  inferMemoryStatus
6
6
  } from "./chunk-7RJUVTVF.js";
@@ -253,4 +253,4 @@ export {
253
253
  WHO_KNOWS_MCP_TOOLS,
254
254
  handleWhoKnowsHttpQuery
255
255
  };
256
- //# sourceMappingURL=chunk-J53IBVMF.js.map
256
+ //# sourceMappingURL=chunk-A4FZLM6Q.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-WEHSQBFR.js";
7
7
  import {
8
8
  encryptCapsuleFile
9
- } from "./chunk-X7Y7WX73.js";
9
+ } from "./chunk-UVYI6VIX.js";
10
10
  import {
11
11
  CAPSULE_SCHEMA_VERSION,
12
12
  EXPORT_FORMAT
@@ -261,4 +261,4 @@ export {
261
261
  exportCapsule,
262
262
  isValidCapsuleSince
263
263
  };
264
- //# sourceMappingURL=chunk-KQAFEZQX.js.map
264
+ //# sourceMappingURL=chunk-BUKK5SWA.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-AJG2TAMR.js";
4
4
  import {
5
5
  deepRecallRequestSchema
6
- } from "./chunk-UY67YP6Q.js";
6
+ } from "./chunk-LIUI46BX.js";
7
7
  import {
8
8
  EngramAccessInputError
9
9
  } from "./chunk-LGEH473S.js";
@@ -40,4 +40,4 @@ async function respondDeepRecall(req, res, respondJson, readJsonBody, service, s
40
40
  export {
41
41
  respondDeepRecall
42
42
  };
43
- //# sourceMappingURL=chunk-JRY55I6Z.js.map
43
+ //# sourceMappingURL=chunk-C2AYUXEF.js.map
@@ -7,22 +7,22 @@ import {
7
7
  import {
8
8
  openclawReplayNormalizer
9
9
  } from "./chunk-H4CKS5B2.js";
10
+ import {
11
+ importMarkdownBundle
12
+ } from "./chunk-HDDRVXX4.js";
13
+ import {
14
+ importSqlite
15
+ } from "./chunk-PYHOAXTI.js";
10
16
  import {
11
17
  exportJsonBundle
12
18
  } from "./chunk-UP6MOYCB.js";
13
19
  import {
14
20
  exportOkfBundle,
15
21
  parseIncludeStatus
16
- } from "./chunk-6BKSUA6P.js";
22
+ } from "./chunk-SVTIWBSA.js";
17
23
  import {
18
24
  exportSqlite
19
25
  } from "./chunk-BV2TIZ4F.js";
20
- import {
21
- importMarkdownBundle
22
- } from "./chunk-HDDRVXX4.js";
23
- import {
24
- importSqlite
25
- } from "./chunk-PYHOAXTI.js";
26
26
  import {
27
27
  detectImportFormat
28
28
  } from "./chunk-OZKVVUJB.js";
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-2DL3OFLD.js";
32
32
  import {
33
33
  backupMemoryDir
34
- } from "./chunk-2NLLXCJG.js";
34
+ } from "./chunk-OWHERGF2.js";
35
35
  import {
36
36
  exportMarkdownBundle
37
37
  } from "./chunk-765K3SAT.js";
@@ -64,7 +64,7 @@ import {
64
64
  } from "./chunk-EDR6CVWZ.js";
65
65
  import {
66
66
  rebuildMemoryLifecycleLedger
67
- } from "./chunk-MOB4JHG6.js";
67
+ } from "./chunk-ENAPZQA6.js";
68
68
  import {
69
69
  lintOkfDir
70
70
  } from "./chunk-I7TR2OCU.js";
@@ -87,16 +87,16 @@ import {
87
87
  } from "./chunk-EOU6V4IN.js";
88
88
  import {
89
89
  searchVerifiedEpisodes
90
- } from "./chunk-66CC6L6R.js";
90
+ } from "./chunk-DP22K7IC.js";
91
91
  import {
92
92
  ThreadingManager
93
93
  } from "./chunk-R7WYAXPO.js";
94
94
  import {
95
95
  promoteSemanticRuleFromMemory
96
- } from "./chunk-GGHX4YHM.js";
96
+ } from "./chunk-OUJ4DVR5.js";
97
97
  import {
98
98
  searchVerifiedSemanticRules
99
- } from "./chunk-QWURVT5Z.js";
99
+ } from "./chunk-L2HSSVVD.js";
100
100
  import {
101
101
  buildResumeBundleFromState,
102
102
  getResumeBundleStatus,
@@ -134,7 +134,7 @@ import {
134
134
  runOperatorInventory,
135
135
  runOperatorRepair,
136
136
  runOperatorSetup
137
- } from "./chunk-HL643H2F.js";
137
+ } from "./chunk-PRYDNBCO.js";
138
138
  import {
139
139
  analyzeSessionIntegrity,
140
140
  applySessionRepair,
@@ -176,7 +176,7 @@ import {
176
176
  rebuildMemoryProjection,
177
177
  repairMemoryProjection,
178
178
  verifyMemoryProjection
179
- } from "./chunk-7DHNBABU.js";
179
+ } from "./chunk-EGCC5OJE.js";
180
180
  import {
181
181
  buildConnectorRowsFromDefinitions,
182
182
  parseConnectorsListOptions,
@@ -210,7 +210,7 @@ import {
210
210
  import {
211
211
  EngramAccessHttpServer,
212
212
  MeetingsInputError
213
- } from "./chunk-RSYFSCKL.js";
213
+ } from "./chunk-NSUGAIIB.js";
214
214
  import {
215
215
  WearablesInputError
216
216
  } from "./chunk-V7IZKJI3.js";
@@ -220,10 +220,10 @@ import {
220
220
  loadChatSession,
221
221
  processChatMessage,
222
222
  sessionBelongsToPrincipal
223
- } from "./chunk-NF5EHQTJ.js";
223
+ } from "./chunk-6HTEPYOI.js";
224
224
  import {
225
225
  EngramAccessService
226
- } from "./chunk-C5GTIRIO.js";
226
+ } from "./chunk-XJDSZFBZ.js";
227
227
  import {
228
228
  WorkStorage
229
229
  } from "./chunk-MPC7TYTZ.js";
@@ -243,7 +243,7 @@ import {
243
243
  } from "./chunk-WUL6LDJ4.js";
244
244
  import {
245
245
  readAggregateExtractionWatermark
246
- } from "./chunk-LGLLCWA2.js";
246
+ } from "./chunk-HWMGQDZI.js";
247
247
  import {
248
248
  getObjectiveStateStoreStatus
249
249
  } from "./chunk-4RNBLLZR.js";
@@ -252,12 +252,12 @@ import {
252
252
  } from "./chunk-BJLCV2P3.js";
253
253
  import {
254
254
  searchHarmonicRetrieval
255
- } from "./chunk-DF4SYU4Z.js";
255
+ } from "./chunk-F2UAAI6B.js";
256
256
  import {
257
257
  listNamespaces,
258
258
  runNamespaceMigration,
259
259
  verifyNamespaces
260
- } from "./chunk-5XY46Z2W.js";
260
+ } from "./chunk-PNVQNAJM.js";
261
261
  import {
262
262
  getCueAnchorStoreStatus
263
263
  } from "./chunk-LXATZLSC.js";
@@ -266,7 +266,7 @@ import {
266
266
  readMemoryGovernanceRunArtifact,
267
267
  restoreMemoryGovernanceRun,
268
268
  runMemoryGovernance
269
- } from "./chunk-IA3XZG4V.js";
269
+ } from "./chunk-DZL5PBEJ.js";
270
270
  import {
271
271
  resolveNamespaceChildRoot
272
272
  } from "./chunk-3UXOZBHV.js";
@@ -303,7 +303,7 @@ import {
303
303
  } from "./chunk-4P4VLPGB.js";
304
304
  import {
305
305
  meetingIdDate
306
- } from "./chunk-I6UTOUBK.js";
306
+ } from "./chunk-N7RAABFM.js";
307
307
  import {
308
308
  isValidTranscriptDate
309
309
  } from "./chunk-UHVXE24Y.js";
@@ -6702,7 +6702,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
6702
6702
  }
6703
6703
  }
6704
6704
  if (sourceArchive.endsWith(".enc")) {
6705
- const { isEncryptedCapsuleFile } = await import("./capsule-crypto-7FJQINUR.js");
6705
+ const { isEncryptedCapsuleFile } = await import("./capsule-crypto-GWVG7LGC.js");
6706
6706
  const encDetected = await isEncryptedCapsuleFile(sourceArchive).catch(() => true);
6707
6707
  if (encDetected) {
6708
6708
  throw new Error(
@@ -6865,7 +6865,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
6865
6865
  const { parseExportBundle } = await import("./transfer/types.js");
6866
6866
  let decryptedBuf;
6867
6867
  try {
6868
- const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-7FJQINUR.js");
6868
+ const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-GWVG7LGC.js");
6869
6869
  decryptedBuf = await decryptCapsuleFileInMemory(archivePath, memoryDir);
6870
6870
  } catch (decErr) {
6871
6871
  const msg = decErr instanceof Error ? decErr.message : String(decErr);
@@ -10140,4 +10140,4 @@ export {
10140
10140
  listMemoryMarkdownFilePaths,
10141
10141
  registerCli
10142
10142
  };
10143
- //# sourceMappingURL=chunk-PTJWUN4H.js.map
10143
+ //# sourceMappingURL=chunk-D3BYJSHX.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getOperation
3
- } from "./chunk-C5GTIRIO.js";
3
+ } from "./chunk-XJDSZFBZ.js";
4
4
  import {
5
5
  EngramAccessInputError
6
6
  } from "./chunk-LGEH473S.js";
@@ -22,4 +22,4 @@ async function respondBriefingHttp(options) {
22
22
  export {
23
23
  respondBriefingHttp
24
24
  };
25
- //# sourceMappingURL=chunk-ADK5TMQL.js.map
25
+ //# sourceMappingURL=chunk-D4WR56FR.js.map
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  ActivityStore,
15
15
  MaintenanceScheduler
16
- } from "./chunk-ZXEPLZUQ.js";
16
+ } from "./chunk-JGSWWD33.js";
17
17
  import {
18
18
  runPeerProfileReasoner
19
19
  } from "./chunk-I74SUMNI.js";
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  CompoundingEngine,
34
34
  defaultTierMigrationCycleBudget
35
- } from "./chunk-M7KAJBO2.js";
35
+ } from "./chunk-JKUVPVKR.js";
36
36
  import {
37
37
  SharedContextManager
38
38
  } from "./chunk-5KBIOI4G.js";
@@ -210,7 +210,7 @@ import {
210
210
  buildEntityRecallSection,
211
211
  entityRecentTranscriptLookbackHours,
212
212
  readRecentEntityTranscriptEntries
213
- } from "./chunk-UP2Q7U4G.js";
213
+ } from "./chunk-WD2QH3JM.js";
214
214
  import {
215
215
  planEpisodeWindowsWithFallback
216
216
  } from "./chunk-T3GIETKV.js";
@@ -225,7 +225,7 @@ import {
225
225
  } from "./chunk-7G5NTS7F.js";
226
226
  import {
227
227
  refreshConvergedNamespaces
228
- } from "./chunk-NJZY5LOC.js";
228
+ } from "./chunk-TLOAAOT3.js";
229
229
  import {
230
230
  builtInConnectorPackageSpecifier,
231
231
  ensureBuiltInWearableConnectors,
@@ -234,7 +234,7 @@ import {
234
234
  runTimelinePublishCli,
235
235
  screenCandidateFact,
236
236
  summarizeVaultPublish
237
- } from "./chunk-PTJWUN4H.js";
237
+ } from "./chunk-D3BYJSHX.js";
238
238
  import {
239
239
  normalizeReplaySessionKey
240
240
  } from "./chunk-AJVLDJU6.js";
@@ -244,14 +244,14 @@ import {
244
244
  import {
245
245
  compareVerifiedEpisodeResults,
246
246
  searchVerifiedEpisodes
247
- } from "./chunk-66CC6L6R.js";
247
+ } from "./chunk-DP22K7IC.js";
248
248
  import {
249
249
  ThreadingManager
250
250
  } from "./chunk-R7WYAXPO.js";
251
251
  import {
252
252
  compareVerifiedSemanticRuleResults,
253
253
  searchVerifiedSemanticRules
254
- } from "./chunk-QWURVT5Z.js";
254
+ } from "./chunk-L2HSSVVD.js";
255
255
  import {
256
256
  searchWorkProductLedgerEntries
257
257
  } from "./chunk-B2NXOVZN.js";
@@ -264,10 +264,10 @@ import {
264
264
  import {
265
265
  runNamespaceMaintenanceFanout,
266
266
  summarizeNamespaceMaintenanceHealth
267
- } from "./chunk-HL643H2F.js";
267
+ } from "./chunk-PRYDNBCO.js";
268
268
  import {
269
269
  planNamespaceMaintenance
270
- } from "./chunk-AWKADEMO.js";
270
+ } from "./chunk-DTQJ7BRN.js";
271
271
  import {
272
272
  isAboveImportanceThreshold,
273
273
  scoreImportance
@@ -296,10 +296,10 @@ import {
296
296
  materializeAfterSemanticConsolidation,
297
297
  parseConsolidationResponse,
298
298
  parseOperatorAwareConsolidationResponse
299
- } from "./chunk-2HVCTFKG.js";
299
+ } from "./chunk-MPJ7VHHA.js";
300
300
  import {
301
301
  SmartBuffer
302
- } from "./chunk-L5RMURVI.js";
302
+ } from "./chunk-JL5FHZ7O.js";
303
303
  import {
304
304
  semanticChunkContent
305
305
  } from "./chunk-2GBFKHBZ.js";
@@ -373,7 +373,7 @@ import {
373
373
  } from "./chunk-QW27DOHG.js";
374
374
  import {
375
375
  MeetingsInputError
376
- } from "./chunk-RSYFSCKL.js";
376
+ } from "./chunk-NSUGAIIB.js";
377
377
  import {
378
378
  WearablesInputError,
379
379
  describeErrorForOperator
@@ -391,7 +391,7 @@ import {
391
391
  } from "./chunk-FZVZYU5C.js";
392
392
  import {
393
393
  NamespaceCatalog
394
- } from "./chunk-ZRDEOC4X.js";
394
+ } from "./chunk-TKCJI7WA.js";
395
395
  import {
396
396
  RecallResultFormatter,
397
397
  SessionContextCoordinator,
@@ -400,10 +400,10 @@ import {
400
400
  detectPassiveCorrections,
401
401
  renderSessionExperiencePreview,
402
402
  scoreSessionExperienceForPrompt
403
- } from "./chunk-C5GTIRIO.js";
403
+ } from "./chunk-XJDSZFBZ.js";
404
404
  import {
405
405
  importCapsule
406
- } from "./chunk-A3UFV4K3.js";
406
+ } from "./chunk-JIYJIH5N.js";
407
407
  import {
408
408
  isCodingGraphInstalled
409
409
  } from "./chunk-VQ7B2Q6M.js";
@@ -443,7 +443,7 @@ import {
443
443
  } from "./chunk-BJLCV2P3.js";
444
444
  import {
445
445
  searchHarmonicRetrieval
446
- } from "./chunk-DF4SYU4Z.js";
446
+ } from "./chunk-F2UAAI6B.js";
447
447
  import {
448
448
  ProfilingCollector
449
449
  } from "./chunk-DOWACHYO.js";
@@ -466,7 +466,7 @@ import {
466
466
  } from "./chunk-NVKO5YKP.js";
467
467
  import {
468
468
  NamespaceStorageRouter
469
- } from "./chunk-M3GOWG2P.js";
469
+ } from "./chunk-TBFAQHQZ.js";
470
470
  import {
471
471
  pruneOrphanCueAnchors
472
472
  } from "./chunk-LXATZLSC.js";
@@ -527,17 +527,12 @@ import {
527
527
  isTaskInitiationIntent,
528
528
  planRecallMode
529
529
  } from "./chunk-CSAKJVXW.js";
530
- import {
531
- bufferTurnsEqual,
532
- describeError,
533
- groupTurnsByExtractionScope
534
- } from "./chunk-KZMRMKC7.js";
535
530
  import {
536
531
  LocalLlmClient
537
532
  } from "./chunk-74AY3S7U.js";
538
533
  import {
539
534
  buildChainFollowupGenerator
540
- } from "./chunk-W37MS6SX.js";
535
+ } from "./chunk-73A2DDDR.js";
541
536
  import {
542
537
  decideLifecycleTransition,
543
538
  resolveLifecycleState
@@ -582,7 +577,7 @@ import {
582
577
  reconstructFusionInputs,
583
578
  selfDeps,
584
579
  serializeFusionDay
585
- } from "./chunk-I6UTOUBK.js";
580
+ } from "./chunk-N7RAABFM.js";
586
581
  import {
587
582
  bodyIsEscaped,
588
583
  decodeTranscriptBody,
@@ -599,12 +594,12 @@ import {
599
594
  import {
600
595
  NamespaceSearchRouter,
601
596
  namespaceCollectionName
602
- } from "./chunk-JEDS2QYV.js";
597
+ } from "./chunk-OH55F76C.js";
603
598
  import {
604
599
  createConversationIndexRuntime,
605
600
  createSearchBackend,
606
601
  isSearchBackendEnabled
607
- } from "./chunk-VQ6H4DL6.js";
602
+ } from "./chunk-L334PSLW.js";
608
603
  import {
609
604
  NoopSearchBackend
610
605
  } from "./chunk-CYEPCZN5.js";
@@ -683,6 +678,11 @@ import {
683
678
  getCachedQmdRecall,
684
679
  setCachedQmdRecall
685
680
  } from "./chunk-42JKGUFJ.js";
681
+ import {
682
+ bufferTurnsEqual,
683
+ describeError,
684
+ groupTurnsByExtractionScope
685
+ } from "./chunk-U7MIMS2Y.js";
686
686
  import {
687
687
  FallbackLlmClient,
688
688
  gatewayTaskChainOptions
@@ -893,6 +893,18 @@ import {
893
893
  import path23 from "path";
894
894
  import { createHash as createHash10 } from "crypto";
895
895
 
896
+ // src/orchestration/buffer-swap.ts
897
+ async function withBufferStorage(orchestrator, storage, task) {
898
+ const live = orchestrator.buffer;
899
+ orchestrator.buffer = new SmartBuffer(orchestrator.config, storage);
900
+ try {
901
+ await orchestrator.buffer.load();
902
+ return await task();
903
+ } finally {
904
+ orchestrator.buffer = live;
905
+ }
906
+ }
907
+
896
908
  // src/orchestration/tier-migration-coordinator.ts
897
909
  import path from "path";
898
910
  var TierMigrationCoordinator = class {
@@ -15864,6 +15876,19 @@ var ExtractionDrain = class {
15864
15876
  }
15865
15877
  };
15866
15878
 
15879
+ // src/orchestration/buffer-drain-gate.ts
15880
+ function skipClaimedSession(buffer, bufferKey, settle) {
15881
+ if (!buffer?.isSessionClaimed?.(bufferKey)) return false;
15882
+ log.debug(`extraction skip: session claimed by buffer drain (${bufferKey})`);
15883
+ settle({
15884
+ status: "skipped",
15885
+ reason: "claimed_by_buffer_drain",
15886
+ persistedCount: 0,
15887
+ durableOutputCount: 0
15888
+ });
15889
+ return true;
15890
+ }
15891
+
15867
15892
  // src/orchestration/turn-ingestion.ts
15868
15893
  var ReplayAdmissionRefusedError = class extends Error {
15869
15894
  constructor(message) {
@@ -16331,6 +16356,7 @@ var TurnIngestionCoordinator = class {
16331
16356
  }
16332
16357
  async queueBufferedExtraction(turnsToExtract, reason, options = {}) {
16333
16358
  const bufferKey = options.bufferKey ?? turnsToExtract[0]?.sessionKey ?? "default";
16359
+ if (skipClaimedSession(this.deps.buffer, bufferKey, (result) => options.onTaskSettled?.(void 0, result))) return;
16334
16360
  if (!options.skipDedupeCheck && !this.deps.shouldQueueExtraction(turnsToExtract, { bufferKey })) {
16335
16361
  log.debug(`extraction dedupe skip: preserving buffer (${reason})`);
16336
16362
  options.onTaskSettled?.(void 0, {
@@ -23152,11 +23178,7 @@ ${doc.content}` : doc.content,
23152
23178
  }
23153
23179
  async recall(prompt, sessionKey, options = {}) {
23154
23180
  if (options.xrayCapture === true) {
23155
- const { result } = await this.runRecallWithXrayCapture(
23156
- prompt,
23157
- sessionKey,
23158
- options
23159
- );
23181
+ const { result } = await this.runRecallWithXrayCapture(prompt, sessionKey, options);
23160
23182
  return result;
23161
23183
  }
23162
23184
  return this.invokeRecall(prompt, sessionKey, options);
@@ -23560,6 +23582,10 @@ ${doc.content}` : doc.content,
23560
23582
  options
23561
23583
  );
23562
23584
  }
23585
+ /** Run `task` with the buffer backed by `storage` (the drain claims). */
23586
+ async withBufferStorage(storage, task) {
23587
+ return withBufferStorage(this, storage, task);
23588
+ }
23563
23589
  async flushSession(sessionKey, options) {
23564
23590
  return (this.sessionContextCoordinator ?? new SessionContextCoordinator(
23565
23591
  selfDeps(this)
@@ -31614,7 +31640,8 @@ export {
31614
31640
  mergeGraphExpandedResults,
31615
31641
  graphPathRelativeToStorage,
31616
31642
  blendGraphExpandedRecallScore,
31643
+ TurnIngestionCoordinator,
31617
31644
  qmdStartupCollectionChecksWithTimeout,
31618
31645
  Orchestrator
31619
31646
  };
31620
- //# sourceMappingURL=chunk-3DG2YAAX.js.map
31647
+ //# sourceMappingURL=chunk-DMYNM3WG.js.map