@signetai/core 0.226.15 → 0.226.16

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 (351) hide show
  1. package/dist/agents.d.ts +0 -29
  2. package/dist/agents.d.ts.map +1 -1
  3. package/dist/connector-types.d.ts +0 -6
  4. package/dist/connector-types.d.ts.map +1 -1
  5. package/dist/constants.d.ts.map +1 -1
  6. package/dist/daemon-url.d.ts +0 -7
  7. package/dist/daemon-url.d.ts.map +1 -1
  8. package/dist/database.d.ts +0 -10
  9. package/dist/database.d.ts.map +1 -1
  10. package/dist/export.d.ts +0 -11
  11. package/dist/export.d.ts.map +1 -1
  12. package/dist/fts-schema.d.ts +0 -16
  13. package/dist/fts-schema.d.ts.map +1 -1
  14. package/dist/graphiq.d.ts +0 -10
  15. package/dist/graphiq.d.ts.map +1 -1
  16. package/dist/identity.d.ts +0 -99
  17. package/dist/identity.d.ts.map +1 -1
  18. package/dist/import.d.ts +0 -62
  19. package/dist/import.d.ts.map +1 -1
  20. package/dist/index.d.ts +0 -4
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/llm-model-catalog.d.ts.map +1 -1
  23. package/dist/markdown.d.ts +0 -32
  24. package/dist/markdown.d.ts.map +1 -1
  25. package/dist/memory-content-safety.d.ts +0 -11
  26. package/dist/memory-content-safety.d.ts.map +1 -1
  27. package/dist/memory-context.d.ts +0 -28
  28. package/dist/memory-context.d.ts.map +1 -1
  29. package/dist/memory-provenance.d.ts +0 -1
  30. package/dist/memory-provenance.d.ts.map +1 -1
  31. package/dist/memory.d.ts +0 -13
  32. package/dist/memory.d.ts.map +1 -1
  33. package/dist/migration.d.ts +0 -17
  34. package/dist/migration.d.ts.map +1 -1
  35. package/dist/migrations/001-baseline.d.ts +0 -7
  36. package/dist/migrations/001-baseline.d.ts.map +1 -1
  37. package/dist/migrations/002-pipeline-v2.d.ts +0 -7
  38. package/dist/migrations/002-pipeline-v2.d.ts.map +1 -1
  39. package/dist/migrations/003-unique-content-hash.d.ts +0 -10
  40. package/dist/migrations/003-unique-content-hash.d.ts.map +1 -1
  41. package/dist/migrations/004-history-actor-and-retention.d.ts +0 -7
  42. package/dist/migrations/004-history-actor-and-retention.d.ts.map +1 -1
  43. package/dist/migrations/005-graph-extended.d.ts.map +1 -1
  44. package/dist/migrations/006-idempotency-key.d.ts.map +1 -1
  45. package/dist/migrations/007-documents-and-connectors.d.ts.map +1 -1
  46. package/dist/migrations/008-embeddings-unique-hash.d.ts +0 -8
  47. package/dist/migrations/008-embeddings-unique-hash.d.ts.map +1 -1
  48. package/dist/migrations/013-ingestion-tracking.d.ts +0 -8
  49. package/dist/migrations/013-ingestion-tracking.d.ts.map +1 -1
  50. package/dist/migrations/014-telemetry.d.ts +0 -8
  51. package/dist/migrations/014-telemetry.d.ts.map +1 -1
  52. package/dist/migrations/015-session-memories.d.ts +0 -8
  53. package/dist/migrations/015-session-memories.d.ts.map +1 -1
  54. package/dist/migrations/016-session-checkpoints.d.ts +0 -7
  55. package/dist/migrations/016-session-checkpoints.d.ts.map +1 -1
  56. package/dist/migrations/017-task-skills.d.ts +0 -7
  57. package/dist/migrations/017-task-skills.d.ts.map +1 -1
  58. package/dist/migrations/018-skill-meta.d.ts +0 -7
  59. package/dist/migrations/018-skill-meta.d.ts.map +1 -1
  60. package/dist/migrations/019-knowledge-structure.d.ts +0 -9
  61. package/dist/migrations/019-knowledge-structure.d.ts.map +1 -1
  62. package/dist/migrations/021-checkpoint-structural.d.ts +0 -7
  63. package/dist/migrations/021-checkpoint-structural.d.ts.map +1 -1
  64. package/dist/migrations/023-predictor-columns.d.ts.map +1 -1
  65. package/dist/migrations/024-predictor-comparison-columns.d.ts.map +1 -1
  66. package/dist/migrations/025-agent-feedback.d.ts +0 -7
  67. package/dist/migrations/025-agent-feedback.d.ts.map +1 -1
  68. package/dist/migrations/026-predictor-training-pairs.d.ts.map +1 -1
  69. package/dist/migrations/027-backfill-canonical-names.d.ts +0 -9
  70. package/dist/migrations/027-backfill-canonical-names.d.ts.map +1 -1
  71. package/dist/migrations/028-lossless-retention.d.ts +0 -7
  72. package/dist/migrations/028-lossless-retention.d.ts.map +1 -1
  73. package/dist/migrations/030-nullable-memory-job-memory-id.d.ts +0 -15
  74. package/dist/migrations/030-nullable-memory-job-memory-id.d.ts.map +1 -1
  75. package/dist/migrations/031-dependency-reason.d.ts +0 -8
  76. package/dist/migrations/031-dependency-reason.d.ts.map +1 -1
  77. package/dist/migrations/032-embeddings-vector-column.d.ts +0 -8
  78. package/dist/migrations/032-embeddings-vector-column.d.ts.map +1 -1
  79. package/dist/migrations/033-scope.d.ts +0 -7
  80. package/dist/migrations/033-scope.d.ts.map +1 -1
  81. package/dist/migrations/034-scope-aware-dedup.d.ts +0 -9
  82. package/dist/migrations/034-scope-aware-dedup.d.ts.map +1 -1
  83. package/dist/migrations/035-entity-fts.d.ts +0 -7
  84. package/dist/migrations/035-entity-fts.d.ts.map +1 -1
  85. package/dist/migrations/036-dependency-confidence.d.ts +0 -12
  86. package/dist/migrations/036-dependency-confidence.d.ts.map +1 -1
  87. package/dist/migrations/037-entity-communities.d.ts +0 -7
  88. package/dist/migrations/037-entity-communities.d.ts.map +1 -1
  89. package/dist/migrations/038-memory-hints.d.ts +0 -8
  90. package/dist/migrations/038-memory-hints.d.ts.map +1 -1
  91. package/dist/migrations/039-dedup-entity-dependencies.d.ts +0 -8
  92. package/dist/migrations/039-dedup-entity-dependencies.d.ts.map +1 -1
  93. package/dist/migrations/040-session-transcripts.d.ts +0 -7
  94. package/dist/migrations/040-session-transcripts.d.ts.map +1 -1
  95. package/dist/migrations/041-path-feedback.d.ts.map +1 -1
  96. package/dist/migrations/042-session-memories-agent-id.d.ts +0 -7
  97. package/dist/migrations/042-session-memories-agent-id.d.ts.map +1 -1
  98. package/dist/migrations/043-agents-table.d.ts +0 -12
  99. package/dist/migrations/043-agents-table.d.ts.map +1 -1
  100. package/dist/migrations/044-memory-md-temporal-head.d.ts +0 -7
  101. package/dist/migrations/044-memory-md-temporal-head.d.ts.map +1 -1
  102. package/dist/migrations/045-lossless-working-memory-hardening.d.ts +0 -8
  103. package/dist/migrations/045-lossless-working-memory-hardening.d.ts.map +1 -1
  104. package/dist/migrations/047-agent-scoped-temporal-uniqueness.d.ts +0 -6
  105. package/dist/migrations/047-agent-scoped-temporal-uniqueness.d.ts.map +1 -1
  106. package/dist/migrations/048-thread-heads.d.ts +0 -6
  107. package/dist/migrations/048-thread-heads.d.ts.map +1 -1
  108. package/dist/migrations/049-session-extract-cursors.d.ts +0 -8
  109. package/dist/migrations/049-session-extract-cursors.d.ts.map +1 -1
  110. package/dist/migrations/050-related-to-audit.d.ts.map +1 -1
  111. package/dist/migrations/051-memory-md-rolling-window-lineage.d.ts +0 -9
  112. package/dist/migrations/051-memory-md-rolling-window-lineage.d.ts.map +1 -1
  113. package/dist/migrations/052-mcp-invocations.d.ts +0 -7
  114. package/dist/migrations/052-mcp-invocations.d.ts.map +1 -1
  115. package/dist/migrations/053-skill-invocations.d.ts +0 -7
  116. package/dist/migrations/053-skill-invocations.d.ts.map +1 -1
  117. package/dist/migrations/055-dreaming-state.d.ts +0 -6
  118. package/dist/migrations/055-dreaming-state.d.ts.map +1 -1
  119. package/dist/migrations/056-agent-scoped-content-hash.d.ts +0 -8
  120. package/dist/migrations/056-agent-scoped-content-hash.d.ts.map +1 -1
  121. package/dist/migrations/057-memories-fts-tokenizer-repair.d.ts +0 -9
  122. package/dist/migrations/057-memories-fts-tokenizer-repair.d.ts.map +1 -1
  123. package/dist/migrations/058-knowledge-graph-indices.d.ts +0 -13
  124. package/dist/migrations/058-knowledge-graph-indices.d.ts.map +1 -1
  125. package/dist/migrations/059-entity-attribute-claim-key.d.ts +0 -8
  126. package/dist/migrations/059-entity-attribute-claim-key.d.ts.map +1 -1
  127. package/dist/migrations/060-entity-attribute-group-key.d.ts +0 -7
  128. package/dist/migrations/060-entity-attribute-group-key.d.ts.map +1 -1
  129. package/dist/migrations/061-memory-artifact-source-mtime.d.ts +0 -9
  130. package/dist/migrations/061-memory-artifact-source-mtime.d.ts.map +1 -1
  131. package/dist/migrations/062-memory-artifact-soft-delete.d.ts +0 -7
  132. package/dist/migrations/062-memory-artifact-soft-delete.d.ts.map +1 -1
  133. package/dist/migrations/063-content-only-memories-fts-update.d.ts +0 -9
  134. package/dist/migrations/063-content-only-memories-fts-update.d.ts.map +1 -1
  135. package/dist/migrations/064-source-graph-provenance.d.ts +0 -8
  136. package/dist/migrations/064-source-graph-provenance.d.ts.map +1 -1
  137. package/dist/migrations/065-source-embedding-agent-scope.d.ts +0 -7
  138. package/dist/migrations/065-source-embedding-agent-scope.d.ts.map +1 -1
  139. package/dist/migrations/066-memory-search-telemetry.d.ts +0 -7
  140. package/dist/migrations/066-memory-search-telemetry.d.ts.map +1 -1
  141. package/dist/migrations/067-ontology-proposals.d.ts +0 -7
  142. package/dist/migrations/067-ontology-proposals.d.ts.map +1 -1
  143. package/dist/migrations/068-daily-reflections.d.ts +0 -6
  144. package/dist/migrations/068-daily-reflections.d.ts.map +1 -1
  145. package/dist/migrations/069-daily-reflections-multiple-insights.d.ts +0 -8
  146. package/dist/migrations/069-daily-reflections-multiple-insights.d.ts.map +1 -1
  147. package/dist/migrations/070-ontology-control-plane-state.d.ts +0 -6
  148. package/dist/migrations/070-ontology-control-plane-state.d.ts.map +1 -1
  149. package/dist/migrations/071-epistemic-assertions.d.ts +0 -7
  150. package/dist/migrations/071-epistemic-assertions.d.ts.map +1 -1
  151. package/dist/migrations/072-agent-scoped-idempotency-key.d.ts +0 -6
  152. package/dist/migrations/072-agent-scoped-idempotency-key.d.ts.map +1 -1
  153. package/dist/migrations/073-recall-context-dedupe.d.ts +0 -7
  154. package/dist/migrations/073-recall-context-dedupe.d.ts.map +1 -1
  155. package/dist/migrations/074-aggregate-memory-links.d.ts +0 -4
  156. package/dist/migrations/074-aggregate-memory-links.d.ts.map +1 -1
  157. package/dist/migrations/081-aggregate-evidence-sources.d.ts +0 -5
  158. package/dist/migrations/081-aggregate-evidence-sources.d.ts.map +1 -1
  159. package/dist/migrations/082-skill-invocations-harness.d.ts.map +1 -1
  160. package/dist/migrations/083-memory-lifecycle-repair.d.ts.map +1 -1
  161. package/dist/migrations/085-backfill-relations-to-dependencies.d.ts +0 -14
  162. package/dist/migrations/085-backfill-relations-to-dependencies.d.ts.map +1 -1
  163. package/dist/migrations/089-job-cancellations.d.ts +0 -13
  164. package/dist/migrations/089-job-cancellations.d.ts.map +1 -1
  165. package/dist/migrations/090-job-archive.d.ts +0 -13
  166. package/dist/migrations/090-job-archive.d.ts.map +1 -1
  167. package/dist/migrations/091-embedding-index-generations.d.ts +0 -7
  168. package/dist/migrations/091-embedding-index-generations.d.ts.map +1 -1
  169. package/dist/migrations/092-embedding-staging-store.d.ts +0 -5
  170. package/dist/migrations/092-embedding-staging-store.d.ts.map +1 -1
  171. package/dist/migrations/093-dreaming-evidence-cursor.d.ts +0 -1
  172. package/dist/migrations/093-dreaming-evidence-cursor.d.ts.map +1 -1
  173. package/dist/migrations/094-memory-kind.d.ts +0 -38
  174. package/dist/migrations/094-memory-kind.d.ts.map +1 -1
  175. package/dist/migrations/095-compaction-recall-projections.d.ts +0 -5
  176. package/dist/migrations/095-compaction-recall-projections.d.ts.map +1 -1
  177. package/dist/migrations/096-retire-legacy-ingestion.d.ts +0 -8
  178. package/dist/migrations/096-retire-legacy-ingestion.d.ts.map +1 -1
  179. package/dist/migrations/097-dreaming-failure-backoff.d.ts +0 -1
  180. package/dist/migrations/097-dreaming-failure-backoff.d.ts.map +1 -1
  181. package/dist/migrations/098-dreaming-evidence-exclusions.d.ts +0 -4
  182. package/dist/migrations/098-dreaming-evidence-exclusions.d.ts.map +1 -1
  183. package/dist/migrations/099-dreaming-tool-calls.d.ts +0 -5
  184. package/dist/migrations/099-dreaming-tool-calls.d.ts.map +1 -1
  185. package/dist/migrations/100-dreaming-runbook.d.ts +0 -5
  186. package/dist/migrations/100-dreaming-runbook.d.ts.map +1 -1
  187. package/dist/migrations/101-dreaming-attention.d.ts +0 -5
  188. package/dist/migrations/101-dreaming-attention.d.ts.map +1 -1
  189. package/dist/migrations/102-attribute-semantic-memories.d.ts +0 -5
  190. package/dist/migrations/102-attribute-semantic-memories.d.ts.map +1 -1
  191. package/dist/migrations/103-semantic-memory-kind.d.ts +0 -6
  192. package/dist/migrations/103-semantic-memory-kind.d.ts.map +1 -1
  193. package/dist/migrations/104-derived-memory-provenance.d.ts +0 -7
  194. package/dist/migrations/104-derived-memory-provenance.d.ts.map +1 -1
  195. package/dist/migrations/105-agent-scoped-entity-name.d.ts +0 -18
  196. package/dist/migrations/105-agent-scoped-entity-name.d.ts.map +1 -1
  197. package/dist/migrations/106-memory-review-after.d.ts +0 -15
  198. package/dist/migrations/106-memory-review-after.d.ts.map +1 -1
  199. package/dist/migrations/107-dreaming-pass-usage.d.ts +0 -12
  200. package/dist/migrations/107-dreaming-pass-usage.d.ts.map +1 -1
  201. package/dist/migrations/108-embedding-usage.d.ts +0 -16
  202. package/dist/migrations/108-embedding-usage.d.ts.map +1 -1
  203. package/dist/migrations/109-telemetry-install.d.ts +0 -10
  204. package/dist/migrations/109-telemetry-install.d.ts.map +1 -1
  205. package/dist/migrations/110-memory-mention-join-index.d.ts +0 -16
  206. package/dist/migrations/110-memory-mention-join-index.d.ts.map +1 -1
  207. package/dist/migrations/111-telemetry-first-use.d.ts +0 -13
  208. package/dist/migrations/111-telemetry-first-use.d.ts.map +1 -1
  209. package/dist/migrations/112-telemetry-queue-ownership.d.ts +0 -6
  210. package/dist/migrations/112-telemetry-queue-ownership.d.ts.map +1 -1
  211. package/dist/migrations/113-session-claims.d.ts +0 -6
  212. package/dist/migrations/113-session-claims.d.ts.map +1 -1
  213. package/dist/migrations/114-memory-traversal-hydration-index.d.ts +0 -7
  214. package/dist/migrations/114-memory-traversal-hydration-index.d.ts.map +1 -1
  215. package/dist/migrations/115-cross-agent-message-notifications.d.ts +0 -7
  216. package/dist/migrations/115-cross-agent-message-notifications.d.ts.map +1 -1
  217. package/dist/migrations/116-acp-delivery-reconciliation.d.ts +0 -8
  218. package/dist/migrations/116-acp-delivery-reconciliation.d.ts.map +1 -1
  219. package/dist/migrations/117-retire-summary-worker.d.ts +0 -8
  220. package/dist/migrations/117-retire-summary-worker.d.ts.map +1 -1
  221. package/dist/migrations/118-queue-pressure-indices.d.ts +0 -8
  222. package/dist/migrations/118-queue-pressure-indices.d.ts.map +1 -1
  223. package/dist/migrations/119-telemetry-version-observation.d.ts +0 -8
  224. package/dist/migrations/119-telemetry-version-observation.d.ts.map +1 -1
  225. package/dist/migrations/120-source-lifecycle-telemetry.d.ts +0 -6
  226. package/dist/migrations/120-source-lifecycle-telemetry.d.ts.map +1 -1
  227. package/dist/migrations/121-telemetry-delivery-health.d.ts +0 -8
  228. package/dist/migrations/121-telemetry-delivery-health.d.ts.map +1 -1
  229. package/dist/migrations/122-dreaming-evidence-retry.d.ts +0 -1
  230. package/dist/migrations/122-dreaming-evidence-retry.d.ts.map +1 -1
  231. package/dist/migrations/123-embedding-index-failures.d.ts +0 -6
  232. package/dist/migrations/123-embedding-index-failures.d.ts.map +1 -1
  233. package/dist/migrations/124-import-derived-lifecycle.d.ts +0 -6
  234. package/dist/migrations/124-import-derived-lifecycle.d.ts.map +1 -1
  235. package/dist/migrations/125-memory-content-safety.d.ts.map +1 -1
  236. package/dist/migrations/126-dreaming-surprisal-attention.d.ts +0 -6
  237. package/dist/migrations/126-dreaming-surprisal-attention.d.ts.map +1 -1
  238. package/dist/migrations/127-ontology-contradictions.d.ts +0 -8
  239. package/dist/migrations/127-ontology-contradictions.d.ts.map +1 -1
  240. package/dist/migrations/128-bounded-queue-diagnostics.d.ts +0 -8
  241. package/dist/migrations/128-bounded-queue-diagnostics.d.ts.map +1 -1
  242. package/dist/migrations/129-retire-structural-jobs.d.ts +0 -14
  243. package/dist/migrations/129-retire-structural-jobs.d.ts.map +1 -1
  244. package/dist/migrations/130-embedding-repair-state.d.ts +0 -5
  245. package/dist/migrations/130-embedding-repair-state.d.ts.map +1 -1
  246. package/dist/migrations/131-dreaming-evidence-consumption.d.ts +0 -1
  247. package/dist/migrations/131-dreaming-evidence-consumption.d.ts.map +1 -1
  248. package/dist/migrations/132-observer-scoped-epistemic-assertions.d.ts +0 -4
  249. package/dist/migrations/132-observer-scoped-epistemic-assertions.d.ts.map +1 -1
  250. package/dist/migrations/133-dreaming-memory-head.d.ts +0 -1
  251. package/dist/migrations/133-dreaming-memory-head.d.ts.map +1 -1
  252. package/dist/migrations/134-scope-memory-head-entries.d.ts +0 -1
  253. package/dist/migrations/134-scope-memory-head-entries.d.ts.map +1 -1
  254. package/dist/migrations/135-memory-head-publication.d.ts +0 -1
  255. package/dist/migrations/135-memory-head-publication.d.ts.map +1 -1
  256. package/dist/migrations/136-memory-head-revisions.d.ts +0 -1
  257. package/dist/migrations/136-memory-head-revisions.d.ts.map +1 -1
  258. package/dist/migrations/137-dreaming-head-manifest.d.ts +0 -1
  259. package/dist/migrations/137-dreaming-head-manifest.d.ts.map +1 -1
  260. package/dist/migrations/138-bounded-status-projections.d.ts +0 -9
  261. package/dist/migrations/138-bounded-status-projections.d.ts.map +1 -1
  262. package/dist/migrations/139-native-source-sync-state.d.ts +0 -1
  263. package/dist/migrations/139-native-source-sync-state.d.ts.map +1 -1
  264. package/dist/migrations/140-transcript-recovery-frontier.d.ts +0 -1
  265. package/dist/migrations/140-transcript-recovery-frontier.d.ts.map +1 -1
  266. package/dist/migrations/141-source-sync-checkpoints.d.ts +0 -1
  267. package/dist/migrations/141-source-sync-checkpoints.d.ts.map +1 -1
  268. package/dist/migrations/142-source-sync-frontier.d.ts +0 -1
  269. package/dist/migrations/142-source-sync-frontier.d.ts.map +1 -1
  270. package/dist/migrations/143-embedding-index-progress.d.ts +0 -4
  271. package/dist/migrations/143-embedding-index-progress.d.ts.map +1 -1
  272. package/dist/migrations/144-memory-job-lease-token.d.ts +0 -8
  273. package/dist/migrations/144-memory-job-lease-token.d.ts.map +1 -1
  274. package/dist/migrations/145-dreaming-evidence-reviews.d.ts +0 -1
  275. package/dist/migrations/145-dreaming-evidence-reviews.d.ts.map +1 -1
  276. package/dist/migrations/146-source-transcript-import.d.ts +0 -1
  277. package/dist/migrations/146-source-transcript-import.d.ts.map +1 -1
  278. package/dist/migrations/147-source-import-replay-file-slots.d.ts +0 -6
  279. package/dist/migrations/147-source-import-replay-file-slots.d.ts.map +1 -1
  280. package/dist/migrations/148-source-import-attempt-provenance.d.ts +0 -1
  281. package/dist/migrations/148-source-import-attempt-provenance.d.ts.map +1 -1
  282. package/dist/migrations/149-transcript-import-state-machine.d.ts +0 -1
  283. package/dist/migrations/149-transcript-import-state-machine.d.ts.map +1 -1
  284. package/dist/migrations/150-memory-head-freshness.d.ts +0 -1
  285. package/dist/migrations/150-memory-head-freshness.d.ts.map +1 -1
  286. package/dist/migrations/151-transcript-import-bytes.d.ts +0 -1
  287. package/dist/migrations/151-transcript-import-bytes.d.ts.map +1 -1
  288. package/dist/migrations/152-memory-artifact-sha-index.d.ts +0 -1
  289. package/dist/migrations/152-memory-artifact-sha-index.d.ts.map +1 -1
  290. package/dist/migrations/153-vector-repair-checkpoints.d.ts +0 -8
  291. package/dist/migrations/153-vector-repair-checkpoints.d.ts.map +1 -1
  292. package/dist/migrations/154-transcript-capture-source-identity.d.ts.map +1 -1
  293. package/dist/migrations/155-source-sync-failures.d.ts +0 -1
  294. package/dist/migrations/155-source-sync-failures.d.ts.map +1 -1
  295. package/dist/migrations/156-embedding-repair-checkpoints.d.ts +0 -7
  296. package/dist/migrations/156-embedding-repair-checkpoints.d.ts.map +1 -1
  297. package/dist/migrations/157-embedding-repair-progress.d.ts +0 -5
  298. package/dist/migrations/157-embedding-repair-progress.d.ts.map +1 -1
  299. package/dist/migrations/contract.d.ts +0 -5
  300. package/dist/migrations/contract.d.ts.map +1 -1
  301. package/dist/migrations/index.d.ts +0 -26
  302. package/dist/migrations/index.d.ts.map +1 -1
  303. package/dist/network.d.ts +0 -1
  304. package/dist/network.d.ts.map +1 -1
  305. package/dist/ontology-topology.d.ts +0 -1
  306. package/dist/ontology-topology.d.ts.map +1 -1
  307. package/dist/package-manager-path.d.ts +0 -1
  308. package/dist/package-manager-path.d.ts.map +1 -1
  309. package/dist/package-manager.d.ts +0 -4
  310. package/dist/package-manager.d.ts.map +1 -1
  311. package/dist/prompt-context.d.ts +0 -12
  312. package/dist/prompt-context.d.ts.map +1 -1
  313. package/dist/recall.d.ts +0 -10
  314. package/dist/recall.d.ts.map +1 -1
  315. package/dist/routing.d.ts +0 -34
  316. package/dist/routing.d.ts.map +1 -1
  317. package/dist/search.d.ts +0 -18
  318. package/dist/search.d.ts.map +1 -1
  319. package/dist/secrets-keyring.d.ts.map +1 -1
  320. package/dist/secrets.d.ts +0 -19
  321. package/dist/secrets.d.ts.map +1 -1
  322. package/dist/signet-installation.d.ts +0 -1
  323. package/dist/signet-installation.d.ts.map +1 -1
  324. package/dist/signet-os-types.d.ts +0 -11
  325. package/dist/signet-os-types.d.ts.map +1 -1
  326. package/dist/signet.d.ts +0 -21
  327. package/dist/signet.d.ts.map +1 -1
  328. package/dist/skill-transcript.d.ts +0 -19
  329. package/dist/skill-transcript.d.ts.map +1 -1
  330. package/dist/skills.d.ts +0 -72
  331. package/dist/skills.d.ts.map +1 -1
  332. package/dist/soul.d.ts.map +1 -1
  333. package/dist/sources-config.d.ts +0 -5
  334. package/dist/sources-config.d.ts.map +1 -1
  335. package/dist/sqlite-journal.d.ts +0 -11
  336. package/dist/sqlite-journal.d.ts.map +1 -1
  337. package/dist/symlinks.d.ts +0 -30
  338. package/dist/symlinks.d.ts.map +1 -1
  339. package/dist/telemetry-config.d.ts +0 -7
  340. package/dist/telemetry-config.d.ts.map +1 -1
  341. package/dist/transcript-export.d.ts +0 -8
  342. package/dist/transcript-export.d.ts.map +1 -1
  343. package/dist/types.d.ts +0 -41
  344. package/dist/types.d.ts.map +1 -1
  345. package/dist/workspace-source-repo.d.ts +0 -1
  346. package/dist/workspace-source-repo.d.ts.map +1 -1
  347. package/dist/workspace.d.ts +0 -52
  348. package/dist/workspace.d.ts.map +1 -1
  349. package/dist/yaml.d.ts +0 -31
  350. package/dist/yaml.d.ts.map +1 -1
  351. package/package.json +1 -1
@@ -1,11 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 069: Daily reflections become dashboard-open insights.
4
- *
5
- * The dashboard should generate fresh Daily Brief items whenever it opens,
6
- * so an agent can have multiple insights on the same date. De-duplication
7
- * happens at generation time against recent brief content. The database only
8
- * prevents concurrent duplicate inserts for the same agent and date.
9
- */
10
2
  export declare function up(db: MigrationDb): void;
11
3
  //# sourceMappingURL=069-daily-reflections-multiple-insights.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"069-daily-reflections-multiple-insights.d.ts","sourceRoot":"","sources":["../../src/migrations/069-daily-reflections-multiple-insights.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;GAOG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAqBxC"}
1
+ {"version":3,"file":"069-daily-reflections-multiple-insights.d.ts","sourceRoot":"","sources":["../../src/migrations/069-daily-reflections-multiple-insights.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAqBxC"}
@@ -1,9 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 070: ontology control-plane state.
4
- *
5
- * Adds first-class claim version lineage, archive/status metadata, and
6
- * proposal provenance columns needed by daemon-backed ontology operations.
7
- */
8
2
  export declare function up(db: MigrationDb): void;
9
3
  //# sourceMappingURL=070-ontology-control-plane-state.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"070-ontology-control-plane-state.d.ts","sourceRoot":"","sources":["../../src/migrations/070-ontology-control-plane-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAqB9C;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAqCxC"}
1
+ {"version":3,"file":"070-ontology-control-plane-state.d.ts","sourceRoot":"","sources":["../../src/migrations/070-ontology-control-plane-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAoB9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAqCxC"}
@@ -1,10 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 071: Epistemic assertions.
4
- *
5
- * Records source-attributed assertions separately from current ontology truth.
6
- * Entity attributes remain the claim-value layer; assertions preserve who said
7
- * or believed what, when, and with what evidence.
8
- */
9
2
  export declare function up(db: MigrationDb): void;
10
3
  //# sourceMappingURL=071-epistemic-assertions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"071-epistemic-assertions.d.ts","sourceRoot":"","sources":["../../src/migrations/071-epistemic-assertions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAyCxC"}
1
+ {"version":3,"file":"071-epistemic-assertions.d.ts","sourceRoot":"","sources":["../../src/migrations/071-epistemic-assertions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAyCxC"}
@@ -1,9 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 072: Agent-aware idempotency key dedupe.
4
- *
5
- * Import keys are stable within a memory owner and visibility domain. The old
6
- * global index could make retries collide across agents or scopes.
7
- */
8
2
  export declare function up(db: MigrationDb): void;
9
3
  //# sourceMappingURL=072-agent-scoped-idempotency-key.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"072-agent-scoped-idempotency-key.d.ts","sourceRoot":"","sources":["../../src/migrations/072-agent-scoped-idempotency-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAY9C;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAcxC"}
1
+ {"version":3,"file":"072-agent-scoped-idempotency-key.d.ts","sourceRoot":"","sources":["../../src/migrations/072-agent-scoped-idempotency-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAW9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAcxC"}
@@ -1,10 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 073: Durable per-session recall context dedupe.
4
- *
5
- * Tracks which recall items have already been returned or injected within the
6
- * current context epoch for a session and agent. Compaction-complete advances
7
- * the epoch so prior items can be recalled again in the fresh context.
8
- */
9
2
  export declare function up(db: MigrationDb): void;
10
3
  //# sourceMappingURL=073-recall-context-dedupe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"073-recall-context-dedupe.d.ts","sourceRoot":"","sources":["../../src/migrations/073-recall-context-dedupe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkCxC"}
1
+ {"version":3,"file":"073-recall-context-dedupe.d.ts","sourceRoot":"","sources":["../../src/migrations/073-recall-context-dedupe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkCxC"}
@@ -1,7 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 074: provenance links from aggregate recall memories to the
4
- * memory IDs used as evidence during synthesis.
5
- */
6
2
  export declare function up(db: MigrationDb): void;
7
3
  //# sourceMappingURL=074-aggregate-memory-links.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"074-aggregate-memory-links.d.ts","sourceRoot":"","sources":["../../src/migrations/074-aggregate-memory-links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;GAGG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAYxC"}
1
+ {"version":3,"file":"074-aggregate-memory-links.d.ts","sourceRoot":"","sources":["../../src/migrations/074-aggregate-memory-links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAYxC"}
@@ -1,8 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 081: typed provenance links from aggregate recall memories to every
4
- * evidence row used during synthesis, including non-memory sources such as
5
- * ontology claims.
6
- */
7
2
  export declare function up(db: MigrationDb): void;
8
3
  //# sourceMappingURL=081-aggregate-evidence-sources.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"081-aggregate-evidence-sources.d.ts","sourceRoot":"","sources":["../../src/migrations/081-aggregate-evidence-sources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;GAIG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAgBxC"}
1
+ {"version":3,"file":"081-aggregate-evidence-sources.d.ts","sourceRoot":"","sources":["../../src/migrations/081-aggregate-evidence-sources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAgBxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"082-skill-invocations-harness.d.ts","sourceRoot":"","sources":["../../src/migrations/082-skill-invocations-harness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAsB9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkBxC"}
1
+ {"version":3,"file":"082-skill-invocations-harness.d.ts","sourceRoot":"","sources":["../../src/migrations/082-skill-invocations-harness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAaxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"083-memory-lifecycle-repair.d.ts","sourceRoot":"","sources":["../../src/migrations/083-memory-lifecycle-repair.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AA8F9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAwExC"}
1
+ {"version":3,"file":"083-memory-lifecycle-repair.d.ts","sourceRoot":"","sources":["../../src/migrations/083-memory-lifecycle-repair.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AA8F9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAqExC"}
@@ -1,17 +1,3 @@
1
- /**
2
- * Migration 085: Backfill relations into entity_dependencies.
3
- *
4
- * The extraction pipeline writes extracted entity triples into the `relations`
5
- * table (legacy), while graph diagnostics and traversal read from
6
- * `entity_dependencies` (current). No code was bridging them, so extracted
7
- * relations were invisible to graph traversal: edgeCount was always 0.
8
- *
9
- * This migration copies every existing `relations` row into
10
- * `entity_dependencies`, mapping columns across the schema difference.
11
- * Idempotent — INSERT OR IGNORE skips rows that already exist (matched on
12
- * source_entity_id, target_entity_id, dependency_type, agent_id via the
13
- * idx_entity_deps_unique index).
14
- */
15
1
  import type { MigrationDb } from "./contract";
16
2
  export declare function up(db: MigrationDb): void;
17
3
  //# sourceMappingURL=085-backfill-relations-to-dependencies.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"085-backfill-relations-to-dependencies.d.ts","sourceRoot":"","sources":["../../src/migrations/085-backfill-relations-to-dependencies.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA8ExC"}
1
+ {"version":3,"file":"085-backfill-relations-to-dependencies.d.ts","sourceRoot":"","sources":["../../src/migrations/085-backfill-relations-to-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA2DxC"}
@@ -1,16 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 089: Add `job_cancellations` audit table for issue #901.
4
- *
5
- * Operators cancel `memory_jobs` and `summary_jobs` rows via the
6
- * `cancelObsoleteJobs` repair action. We never hard-delete the source
7
- * row in cancel — we copy the full payload to `job_cancellations` and
8
- * flip the source row's `status` to `cancelled`. This preserves
9
- * provenance for support cases where operators need to explain a
10
- * cancellation after the fact.
11
- *
12
- * Idempotent: `CREATE TABLE IF NOT EXISTS` + index check via
13
- * `pragma_index_list`. Safe to re-run on a partial upgrade.
14
- */
15
2
  export declare function up(db: MigrationDb): void;
16
3
  //# sourceMappingURL=089-job-cancellations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"089-job-cancellations.d.ts","sourceRoot":"","sources":["../../src/migrations/089-job-cancellations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;;;;;;GAYG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA4BxC"}
1
+ {"version":3,"file":"089-job-cancellations.d.ts","sourceRoot":"","sources":["../../src/migrations/089-job-cancellations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA4BxC"}
@@ -1,16 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 090: Add `job_archive` provenance table for issue #901.
4
- *
5
- * `pruneTerminalJobs` removes rows that have already reached a
6
- * terminal state (cancelled / completed / dead) and lived beyond the
7
- * configured retention window. To preserve provenance — required by
8
- * the issue's "preserving provenance" constraint — we copy the full
9
- * source row to `job_archive` before deleting it. The archive table
10
- * holds the original payload plus bookkeeping columns (`archived_at`,
11
- * `archived_by`, `reason`, `source_table`).
12
- *
13
- * Idempotent: `CREATE TABLE IF NOT EXISTS`. Safe to re-run.
14
- */
15
2
  export declare function up(db: MigrationDb): void;
16
3
  //# sourceMappingURL=090-job-archive.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"090-job-archive.d.ts","sourceRoot":"","sources":["../../src/migrations/090-job-archive.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;;;;;;GAYG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA2BxC"}
1
+ {"version":3,"file":"090-job-archive.d.ts","sourceRoot":"","sources":["../../src/migrations/090-job-archive.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA2BxC"}
@@ -1,10 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Persist active/staging embedding generations separately from mutable config.
4
- *
5
- * The daemon creates the physical staging tables only after it can verify the
6
- * vector extension is available. Keeping this migration extension-free makes
7
- * upgrades safe on installs without sqlite-vec.
8
- */
9
2
  export declare function up(db: MigrationDb): void;
10
3
  //# sourceMappingURL=091-embedding-index-generations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"091-embedding-index-generations.d.ts","sourceRoot":"","sources":["../../src/migrations/091-embedding-index-generations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAYxC"}
1
+ {"version":3,"file":"091-embedding-index-generations.d.ts","sourceRoot":"","sources":["../../src/migrations/091-embedding-index-generations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAYxC"}
@@ -1,8 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * The inactive half of a rolling embedding migration. sqlite-vec's matching
4
- * virtual table is created by the daemon only when its extension is loaded;
5
- * keeping the durable BLOB store here makes migration safe everywhere else.
6
- */
7
2
  export declare function up(db: MigrationDb): void;
8
3
  //# sourceMappingURL=092-embedding-staging-store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"092-embedding-staging-store.d.ts","sourceRoot":"","sources":["../../src/migrations/092-embedding-staging-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;GAIG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkBxC"}
1
+ {"version":3,"file":"092-embedding-staging-store.d.ts","sourceRoot":"","sources":["../../src/migrations/092-embedding-staging-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkBxC"}
@@ -1,4 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /** Persist the composite episodic cursor used by the Dreaming worker. */
3
2
  export declare function up(db: MigrationDb): void;
4
3
  //# sourceMappingURL=093-dreaming-evidence-cursor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"093-dreaming-evidence-cursor.d.ts","sourceRoot":"","sources":["../../src/migrations/093-dreaming-evidence-cursor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,yEAAyE;AACzE,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAKxC"}
1
+ {"version":3,"file":"093-dreaming-evidence-cursor.d.ts","sourceRoot":"","sources":["../../src/migrations/093-dreaming-evidence-cursor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAKxC"}
@@ -1,41 +1,3 @@
1
- /**
2
- * Migration 094: Add `memories.memory_kind` and `memories.evidence_meta`, and
3
- * backfill episodic evidence.
4
- *
5
- * remember/CLI/MCP/plugin/harness saves are immutable EPISODIC evidence: the
6
- * saved memory is immediately retrievable but is not a direct semantic-graph
7
- * write. Only Dreaming derives semantic state from episodic rows.
8
- *
9
- * This migration adds two nullable columns to `memories`:
10
- *
11
- * - `memory_kind TEXT` — classifies the row as `'episodic'` (primary
12
- * evidence) or NULL (daemon-derived). Backfills existing rows.
13
- * - `evidence_meta TEXT` — optional canonical JSON blob preserving
14
- * structured remember payloads (entities/aspects) verbatim alongside the
15
- * content. This lets Dreaming reason over structured evidence without any
16
- * direct graph write at save time.
17
- *
18
- * Classification uses an EXCLUSION list of daemon-derived source_types rather
19
- * than a whitelist, so real in-session user/tool/plugin input (which may carry
20
- * arbitrary client-provided `sourceType` values such as `manual`, `chunk`,
21
- * `codex_native_memory`, `hermes-memory`, `openclaw-memory-log`,
22
- * `reflection-answer`, or any custom harness/tool value) is classified episodic
23
- * without needing to enumerate every client. The excluded source_types are the
24
- * daemon's own derived outputs:
25
- *
26
- * - `extract` — legacy extraction pipeline output
27
- * - `aggregate-recall` — daemon-synthesized aggregate recall answer
28
- * - `session_end` — summary-worker session-end derived facts
29
- * - `checkpoint` — summary-worker checkpoint derived facts
30
- *
31
- * Rows that are already deleted (tombstoned) are backfilled too so the kind
32
- * label survives recovery. Rows with a NULL source_type (pre-migration-013
33
- * schemas) are treated as agent-authored evidence and backfilled episodic,
34
- * since the extraction pipeline always stamps a non-null source_type.
35
- *
36
- * Idempotent: re-runs are no-ops because the UPDATE is conditional on
37
- * `memory_kind IS NULL`.
38
- */
39
1
  import type { MigrationDb } from "./contract";
40
2
  export declare function up(db: MigrationDb): void;
41
3
  //# sourceMappingURL=094-memory-kind.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"094-memory-kind.d.ts","sourceRoot":"","sources":["../../src/migrations/094-memory-kind.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAU9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAiCxC"}
1
+ {"version":3,"file":"094-memory-kind.d.ts","sourceRoot":"","sources":["../../src/migrations/094-memory-kind.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA2BxC"}
@@ -1,8 +1,3 @@
1
- /**
2
- * Migration 095: compaction rows in `memories` are retrieval projections,
3
- * not primary episodic evidence. Their temporal-DAG summary is Dreaming's
4
- * canonical input, while the memory row remains available to ordinary recall.
5
- */
6
1
  import type { MigrationDb } from "./contract";
7
2
  export declare function up(db: MigrationDb): void;
8
3
  //# sourceMappingURL=095-compaction-recall-projections.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"095-compaction-recall-projections.d.ts","sourceRoot":"","sources":["../../src/migrations/095-compaction-recall-projections.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAIxC"}
1
+ {"version":3,"file":"095-compaction-recall-projections.d.ts","sourceRoot":"","sources":["../../src/migrations/095-compaction-recall-projections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAIxC"}
@@ -1,11 +1,3 @@
1
- /**
2
- * Migration 096: retire the unscoped legacy core ingest ledger.
3
- *
4
- * `ingestPath` was an uncalled direct semantic writer that bypassed immutable
5
- * artifacts and the daemon's scoped source pipeline. Existing `memories`
6
- * rows remain available to retrieval; without immutable source artifacts,
7
- * they are deliberately not promoted into Dreaming evidence here.
8
- */
9
1
  import type { MigrationDb } from "./contract";
10
2
  export declare function up(db: MigrationDb): void;
11
3
  //# sourceMappingURL=096-retire-legacy-ingestion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"096-retire-legacy-ingestion.d.ts","sourceRoot":"","sources":["../../src/migrations/096-retire-legacy-ingestion.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAExC"}
1
+ {"version":3,"file":"096-retire-legacy-ingestion.d.ts","sourceRoot":"","sources":["../../src/migrations/096-retire-legacy-ingestion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAExC"}
@@ -1,4 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /** Persist the timestamp used for Dreaming's restart-safe retry backoff. */
3
2
  export declare function up(db: MigrationDb): void;
4
3
  //# sourceMappingURL=097-dreaming-failure-backoff.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"097-dreaming-failure-backoff.d.ts","sourceRoot":"","sources":["../../src/migrations/097-dreaming-failure-backoff.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,4EAA4E;AAC5E,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAWxC"}
1
+ {"version":3,"file":"097-dreaming-failure-backoff.d.ts","sourceRoot":"","sources":["../../src/migrations/097-dreaming-failure-backoff.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAQxC"}
@@ -1,7 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Records immutable episodic sources that Dreaming deliberately did not
4
- * process, without mutating or copying the underlying evidence.
5
- */
6
2
  export declare function up(db: MigrationDb): void;
7
3
  //# sourceMappingURL=098-dreaming-evidence-exclusions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"098-dreaming-evidence-exclusions.d.ts","sourceRoot":"","sources":["../../src/migrations/098-dreaming-evidence-exclusions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;GAGG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAgBxC"}
1
+ {"version":3,"file":"098-dreaming-evidence-exclusions.d.ts","sourceRoot":"","sources":["../../src/migrations/098-dreaming-evidence-exclusions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAgBxC"}
@@ -1,8 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Auditable, scoped trace of the capability calls made during a Dreaming pass.
4
- * Tool arguments and results stay in the local database with the pass that
5
- * caused them; they are not written to daemon logs or a JSON sidecar.
6
- */
7
2
  export declare function up(db: MigrationDb): void;
8
3
  //# sourceMappingURL=099-dreaming-tool-calls.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"099-dreaming-tool-calls.d.ts","sourceRoot":"","sources":["../../src/migrations/099-dreaming-tool-calls.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;GAIG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAmBxC"}
1
+ {"version":3,"file":"099-dreaming-tool-calls.d.ts","sourceRoot":"","sources":["../../src/migrations/099-dreaming-tool-calls.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAmBxC"}
@@ -1,8 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Per-pass operational memory for Dreaming. It records selected evidence and
4
- * the agent's structured runbook note without creating another semantic or
5
- * episodic store.
6
- */
7
2
  export declare function up(db: MigrationDb): void;
8
3
  //# sourceMappingURL=100-dreaming-runbook.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"100-dreaming-runbook.d.ts","sourceRoot":"","sources":["../../src/migrations/100-dreaming-runbook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;GAIG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAQxC"}
1
+ {"version":3,"file":"100-dreaming-runbook.d.ts","sourceRoot":"","sources":["../../src/migrations/100-dreaming-runbook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAQxC"}
@@ -1,8 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Agent-scoped semantic work that should wake Dreaming even when no new
4
- * episodic evidence has arrived. It stores references and operational context,
5
- * never a second copy of evidence or semantic state.
6
- */
7
2
  export declare function up(db: MigrationDb): void;
8
3
  //# sourceMappingURL=101-dreaming-attention.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"101-dreaming-attention.d.ts","sourceRoot":"","sources":["../../src/migrations/101-dreaming-attention.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;GAIG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkBxC"}
1
+ {"version":3,"file":"101-dreaming-attention.d.ts","sourceRoot":"","sources":["../../src/migrations/101-dreaming-attention.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkBxC"}
@@ -1,8 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Attribute rows are the canonical atomic semantic memories. Backfill their
4
- * retrievable memory projection with the same id, preserving the graph link
5
- * and avoiding raw episodic transcript rows in the memory surface.
6
- */
7
2
  export declare function up(db: MigrationDb): void;
8
3
  //# sourceMappingURL=102-attribute-semantic-memories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"102-attribute-semantic-memories.d.ts","sourceRoot":"","sources":["../../src/migrations/102-attribute-semantic-memories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C;;;;GAIG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAsDxC"}
1
+ {"version":3,"file":"102-attribute-semantic-memories.d.ts","sourceRoot":"","sources":["../../src/migrations/102-attribute-semantic-memories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAO9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAsDxC"}
@@ -1,9 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Attribute projections are semantic state, never primary evidence. Existing
4
- * v102 projections used NULL for the generic daemon-derived lane; give this
5
- * materialized semantic surface an explicit kind before later readers grow
6
- * beyond the episodic-only predicate.
7
- */
8
2
  export declare function up(db: MigrationDb): void;
9
3
  //# sourceMappingURL=103-semantic-memory-kind.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"103-semantic-memory-kind.d.ts","sourceRoot":"","sources":["../../src/migrations/103-semantic-memory-kind.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAsBxC"}
1
+ {"version":3,"file":"103-semantic-memory-kind.d.ts","sourceRoot":"","sources":["../../src/migrations/103-semantic-memory-kind.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAsBxC"}
@@ -1,10 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * One canonical, reverse-indexed evidence relation for every derived memory.
4
- *
5
- * The historical aggregate tables stay in place because their migration
6
- * artifacts are part of schema integrity checks. This migration copies their
7
- * lineage once; runtime code writes and reads only this relation afterwards.
8
- */
9
2
  export declare function up(db: MigrationDb): void;
10
3
  //# sourceMappingURL=104-derived-memory-provenance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"104-derived-memory-provenance.d.ts","sourceRoot":"","sources":["../../src/migrations/104-derived-memory-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAY9C;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA4CxC"}
1
+ {"version":3,"file":"104-derived-memory-provenance.d.ts","sourceRoot":"","sources":["../../src/migrations/104-derived-memory-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAW9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA4CxC"}
@@ -1,21 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 105: agent-scoped entity name uniqueness.
4
- *
5
- * `entities.name` was declared globally UNIQUE in migration 002, before
6
- * agent scoping existed. Migration 019 added `agent_id` but never relaxed
7
- * the constraint, so an entity extracted under one agent blocks any other
8
- * agent (including the skill reconciler's `agent_id='default'` installs)
9
- * from ever creating a same-named entity. That perpetual UNIQUE failure is
10
- * what drove the skill reconciler hot-loop (Signet-AI/signetai#1070, #1086):
11
- * the reconciler's install never landed, so every periodic pass retried the
12
- * full pipeline forever.
13
- *
14
- * This rebuilds `entities` with UNIQUE(agent_id, name) so distinct agents can
15
- * legitimately share a name. Rowids are preserved so the entities_fts
16
- * external-content table stays aligned, then the full index set (migrations
17
- * 005/019/022/058/064/070) and the FTS5 trigger set (migration 035) are
18
- * restored and the FTS index repopulated.
19
- */
20
2
  export declare function up(db: MigrationDb): void;
21
3
  //# sourceMappingURL=105-agent-scoped-entity-name.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"105-agent-scoped-entity-name.d.ts","sourceRoot":"","sources":["../../src/migrations/105-agent-scoped-entity-name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkGxC"}
1
+ {"version":3,"file":"105-agent-scoped-entity-name.d.ts","sourceRoot":"","sources":["../../src/migrations/105-agent-scoped-entity-name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAsFxC"}
@@ -1,18 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 106: `review_after` on memories for selective temporal-claim expiry.
4
- *
5
- * Issue #945: temporal claims (e.g. "X is going to Y on March 15th, 2027")
6
- * need a way to surface as due for review once the referenced date passes,
7
- * without NLP-parsing every memory on every dreaming pass. This adds a
8
- * nullable indexed `review_after` (ISO timestamp) column to `memories` so
9
- * the dreaming pass can query `WHERE review_after IS NOT NULL AND
10
- * review_after < datetime('now')` directly.
11
- *
12
- * The column is additive and nullable — existing rows are unaffected, and
13
- * any store surface that does not set it behaves exactly as before. The
14
- * column guard keeps the migration idempotent for tests that re-run the
15
- * migration set from a stamped schema.
16
- */
17
2
  export declare function up(db: MigrationDb): void;
18
3
  //# sourceMappingURL=106-memory-review-after.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"106-memory-review-after.d.ts","sourceRoot":"","sources":["../../src/migrations/106-memory-review-after.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAKxC"}
1
+ {"version":3,"file":"106-memory-review-after.d.ts","sourceRoot":"","sources":["../../src/migrations/106-memory-review-after.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAO9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAKxC"}
@@ -1,15 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 107: provider-reported token usage breakdown on dreaming_passes.
4
- *
5
- * Previously `tokens_consumed` held only a local BPE estimate of the prompt
6
- * text. Pi-backed agent sessions report real per-call usage
7
- * (`AgentSession.getSessionStats()`: input/output/cacheRead/cacheWrite
8
- * tokens plus cost), so a pass record can carry the full provider-reported
9
- * breakdown instead of an input-only estimate. `tokens_consumed` continues
10
- * to hold the total for backward-compatible readers; the new columns are
11
- * additive and nullable — rows written before this migration stay intact,
12
- * and ACPX-backed passes (which report no usage) leave them NULL.
13
- */
14
2
  export declare function up(db: MigrationDb): void;
15
3
  //# sourceMappingURL=107-dreaming-pass-usage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"107-dreaming-pass-usage.d.ts","sourceRoot":"","sources":["../../src/migrations/107-dreaming-pass-usage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAgB9C;;;;;;;;;;;GAWG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAMxC"}
1
+ {"version":3,"file":"107-dreaming-pass-usage.d.ts","sourceRoot":"","sources":["../../src/migrations/107-dreaming-pass-usage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAe9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAMxC"}
@@ -1,19 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 108: daily-aggregate embedding token usage.
4
- *
5
- * Every embedding fetch through the shared boundary (Ollama, native ONNX,
6
- * llama.cpp, OpenAI-compatible) records the token count of the text actually
7
- * sent, using the real tokenizer (countTokens) rather than provider-reported
8
- * usage (Ollama's /api/embeddings returns none). Rows aggregate by
9
- * (day, agent_id, source_kind, provider) so the table stays bounded (one row
10
- * per day per dimension) while still answering "how much did vault ingest
11
- * cost in tokens vs. captures" and "Ollama/native throughput" questions.
12
- *
13
- * `agent_id` defaults to '' when the fetch boundary had no agent context
14
- * (a real identity is never substituted with "default"). `requests` counts
15
- * successful embedding fetches; `tokens` sums the tokenizer count of the
16
- * text sent to the provider.
17
- */
18
2
  export declare function up(db: MigrationDb): void;
19
3
  //# sourceMappingURL=108-embedding-usage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"108-embedding-usage.d.ts","sourceRoot":"","sources":["../../src/migrations/108-embedding-usage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAYxC"}
1
+ {"version":3,"file":"108-embedding-usage.d.ts","sourceRoot":"","sources":["../../src/migrations/108-embedding-usage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAYxC"}
@@ -1,13 +1,3 @@
1
- /**
2
- * Migration 109: Telemetry Install Identity
3
- *
4
- * Holds the anonymous per-install identifier used as the PostHog
5
- * distinct_id. A single row persists across daemon restarts so every
6
- * event from one install maps to one PostHog user. Before this table,
7
- * the collector sent a constant "signet-anonymous" id, which collapsed
8
- * all installs into a single PostHog user and made install and usage
9
- * analytics impossible.
10
- */
11
1
  import type { MigrationDb } from "./contract";
12
2
  export declare function up(db: MigrationDb): void;
13
3
  //# sourceMappingURL=109-telemetry-install.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"109-telemetry-install.d.ts","sourceRoot":"","sources":["../../src/migrations/109-telemetry-install.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAOxC"}
1
+ {"version":3,"file":"109-telemetry-install.d.ts","sourceRoot":"","sources":["../../src/migrations/109-telemetry-install.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAOxC"}
@@ -1,19 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 110: entity-side composite index for memory_entity_mentions.
4
- *
5
- * The knowledge-graph `COUNT(DISTINCT mem.memory_id)` join in
6
- * getKnowledgeStats drives from the entity/memory tables when only the
7
- * `(entity_id)` index and the `(memory_id, entity_id)` PRIMARY KEY exist,
8
- * turning a stats call over a few thousand entities into a ~30M-iteration
9
- * nested loop (9.4s on a 5.5K-entity install). The dashboard polls
10
- * `/api/knowledge/stats` every few seconds, so each poll blocks the main
11
- * thread (Signet-AI/signetai#1158).
12
- *
13
- * The composite `(entity_id, memory_id)` index lets SQLite drive the join
14
- * from the mentions table and covers both columns; the same query drops to
15
- * ~13ms. It also serves entity-side mention scans in graph-traversal and
16
- * relinking paths.
17
- */
18
2
  export declare function up(db: MigrationDb): void;
19
3
  //# sourceMappingURL=110-memory-mention-join-index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"110-memory-mention-join-index.d.ts","sourceRoot":"","sources":["../../src/migrations/110-memory-mention-join-index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAKxC"}
1
+ {"version":3,"file":"110-memory-mention-join-index.d.ts","sourceRoot":"","sources":["../../src/migrations/110-memory-mention-join-index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAKxC"}