@signetai/core 0.226.15 → 0.226.17

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,40 +1,8 @@
1
- /**
2
- * @signetai/core - Markdown utilities
3
- *
4
- * Functions for managing legacy Signet blocks in markdown files.
5
- * The block markers are kept for migration and cleanup compatibility.
6
- */
7
1
  export declare const SIGNET_BLOCK_START = "<!-- SIGNET:START -->";
8
2
  export declare const SIGNET_BLOCK_END = "<!-- SIGNET:END -->";
9
- /**
10
- * Build the Signet system block.
11
- *
12
- * Deprecated: system prompt injection now lives in the session-start hook.
13
- * This function intentionally returns an empty string to preserve API
14
- * compatibility for downstream imports during migration.
15
- */
16
3
  export declare function buildSignetBlock(workspace?: string): string;
17
- /**
18
- * Build the SIGNET-ARCHITECTURE.md content — an agent-facing explainer
19
- * of how the memory pipeline works. This file lives in the Signet workspace and
20
- * is referenced from the Signet block so agents can read it on demand.
21
- */
22
4
  export declare function buildArchitectureDoc(workspace?: string): string;
23
- /**
24
- * Strip any existing Signet block from content to prevent duplication
25
- * when re-generating files.
26
- *
27
- * This handles the case where users' AGENTS.md was copied from a template
28
- * that already contains the Signet block, ensuring we don't create duplicates
29
- * on subsequent sync operations.
30
- */
31
5
  export declare function stripSignetBlock(content: string): string;
32
- /**
33
- * Check if content contains a Signet block
34
- */
35
6
  export declare function hasSignetBlock(content: string): boolean;
36
- /**
37
- * Extract the Signet block content (without delimiters) if present
38
- */
39
7
  export declare function extractSignetBlock(content: string): string | null;
40
8
  //# sourceMappingURL=markdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../src/markdown.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AAC1D,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AAEtD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,SAAsB,GAAG,MAAM,CAGxE;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,SAAsB,GAAG,MAAM,CA0F5E;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAGxD;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAEvD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAIjE"}
1
+ {"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../src/markdown.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AAC1D,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AACtD,wBAAgB,gBAAgB,CAAC,SAAS,SAAsB,GAAG,MAAM,CAGxE;AACD,wBAAgB,oBAAoB,CAAC,SAAS,SAAsB,GAAG,MAAM,CA0F5E;AACD,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAGxD;AACD,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAEvD;AACD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAIjE"}
@@ -1,12 +1,3 @@
1
- /**
2
- * Deterministic content-safety policy for memory projections.
3
- *
4
- * Memory rows and source artifacts are evidence. This policy never rewrites or
5
- * deletes that evidence; it only decides whether a derived prompt-facing
6
- * projection may use it. Keep the rules deliberately high-confidence so
7
- * normal technical writing, shell examples, and security guidance remain
8
- * usable while instruction-shaped payloads are withheld from context.
9
- */
10
1
  export declare const MEMORY_CONTENT_SAFETY_POLICY_VERSION = "memory-content-safety-v1";
11
2
  export declare const MEMORY_CONTENT_WITHHELD_NOTICE = "[memory content withheld by safety policy]";
12
3
  export declare const MEMORY_CONTENT_SAFETY_STATUSES: readonly ["clean", "tainted", "blocked"];
@@ -19,9 +10,7 @@ export interface MemoryContentSafetyAssessment {
19
10
  readonly reasons: readonly MemoryContentSafetyReason[];
20
11
  readonly policyVersion: string;
21
12
  }
22
- /** Scan content without retaining or returning matched secret-like text. */
23
13
  export declare function scanMemoryContent(content: string): MemoryContentSafetyAssessment;
24
- /** Descriptive alias for callers that prefer assessment terminology. */
25
14
  export declare const assessMemoryContent: typeof scanMemoryContent;
26
15
  export declare function isMemoryContentContextEligible(value: MemoryContentSafetyAssessment | string): boolean;
27
16
  //# sourceMappingURL=memory-content-safety.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"memory-content-safety.d.ts","sourceRoot":"","sources":["../src/memory-content-safety.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,eAAO,MAAM,oCAAoC,6BAA6B,CAAC;AAC/E,eAAO,MAAM,8BAA8B,+CAA+C,CAAC;AAE3F,eAAO,MAAM,8BAA8B,0CAA2C,CAAC;AACvF,MAAM,MAAM,yBAAyB,GAAG,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,CAAC,CAAC;AAExF,eAAO,MAAM,6BAA6B,kIAOhC,CAAC;AACX,MAAM,MAAM,yBAAyB,GAAG,CAAC,OAAO,6BAA6B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvF,MAAM,WAAW,6BAA6B;IAC7C,QAAQ,CAAC,MAAM,EAAE,yBAAyB,CAAC;IAC3C,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,SAAS,yBAAyB,EAAE,CAAC;IACvD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAC/B;AA6ED,4EAA4E;AAC5E,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,6BAA6B,CA4BhF;AAED,wEAAwE;AACxE,eAAO,MAAM,mBAAmB,0BAAoB,CAAC;AAErD,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,6BAA6B,GAAG,MAAM,GAAG,OAAO,CAErG"}
1
+ {"version":3,"file":"memory-content-safety.d.ts","sourceRoot":"","sources":["../src/memory-content-safety.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oCAAoC,6BAA6B,CAAC;AAC/E,eAAO,MAAM,8BAA8B,+CAA+C,CAAC;AAE3F,eAAO,MAAM,8BAA8B,0CAA2C,CAAC;AACvF,MAAM,MAAM,yBAAyB,GAAG,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,CAAC,CAAC;AAExF,eAAO,MAAM,6BAA6B,kIAOhC,CAAC;AACX,MAAM,MAAM,yBAAyB,GAAG,CAAC,OAAO,6BAA6B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvF,MAAM,WAAW,6BAA6B;IAC7C,QAAQ,CAAC,MAAM,EAAE,yBAAyB,CAAC;IAC3C,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,SAAS,yBAAyB,EAAE,CAAC;IACvD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAC/B;AA4ED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,6BAA6B,CA0BhF;AACD,eAAO,MAAM,mBAAmB,0BAAoB,CAAC;AAErD,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,6BAA6B,GAAG,MAAM,GAAG,OAAO,CAErG"}
@@ -1,35 +1,7 @@
1
- /**
2
- * Helpers for keeping Signet's injected memory context separate from a
3
- * harness' canonical conversation.
4
- *
5
- * The delimiters are transport markers, not user-visible content. Harnesses
6
- * may use the wrapped form when they need to put dynamic context in an API
7
- * copy of a user message, and must pass provider output through the streaming
8
- * scrubber before displaying it.
9
- */
10
- /**
11
- * Remove internal memory blocks and orphaned delimiters from canonical text.
12
- *
13
- * An unterminated opening delimiter drops the remainder of the value. This
14
- * is intentional: retaining a partial provider block would make a transcript
15
- * or recall query depend on transport state and could leak hidden context.
16
- */
17
1
  export declare function stripInternalMemoryContext(text: string): string;
18
- /** Escape delimiters found inside memory content before it is wrapped. */
19
2
  export declare function escapeMemoryContextForFence(text: string): string;
20
- /** Build the provider-bound wrapper for dynamic context. */
21
3
  export declare function wrapMemoryContext(context: string, source?: string): string;
22
- /**
23
- * Compose the API-only copy of a user message. The caller must persist the
24
- * original user message, not this returned value.
25
- */
26
4
  export declare function composeApiUserContent(userContent: string, dynamicContext: string): string;
27
- /**
28
- * Streaming equivalent of stripInternalMemoryContext.
29
- *
30
- * Delimiter prefixes are retained between feeds, so a marker split across
31
- * provider chunks cannot be displayed before the next chunk arrives.
32
- */
33
5
  export declare class StreamingMemoryContextScrubber {
34
6
  private buffer;
35
7
  private fenceDepth;
@@ -1 +1 @@
1
- {"version":3,"file":"memory-context.d.ts","sourceRoot":"","sources":["../src/memory-context.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAuFH;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CA0B/D;AAED,0EAA0E;AAC1E,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAWhE;AAED,4DAA4D;AAC5D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,SAAgB,GAAG,MAAM,CAKjF;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,MAAM,CAKzF;AA+CD;;;;;GAKG;AACH,qBAAa,8BAA8B;IAC1C,OAAO,CAAC,MAAM,CAAM;IACpB,OAAO,CAAC,UAAU,CAAK;IAEvB,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAmC3B,KAAK,IAAI,MAAM;IAaf,KAAK,IAAI,IAAI;CAIb"}
1
+ {"version":3,"file":"memory-context.d.ts","sourceRoot":"","sources":["../src/memory-context.ts"],"names":[],"mappings":"AAoFA,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CA0B/D;AACD,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAWhE;AACD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,SAAgB,GAAG,MAAM,CAKjF;AACD,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,MAAM,CAKzF;AA8CD,qBAAa,8BAA8B;IAC1C,OAAO,CAAC,MAAM,CAAM;IACpB,OAAO,CAAC,UAAU,CAAK;IAEvB,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAmC3B,KAAK,IAAI,MAAM;IAaf,KAAK,IAAI,IAAI;CAIb"}
@@ -1,4 +1,3 @@
1
- /** Source types emitted by daemon derivation rather than primary evidence. */
2
1
  export declare const DAEMON_DERIVED_MEMORY_SOURCE_TYPES: readonly ["extract", "aggregate-recall", "session_end", "checkpoint", "dreaming"];
3
2
  export declare function isDaemonDerivedMemorySourceType(sourceType: string | null | undefined): boolean;
4
3
  //# sourceMappingURL=memory-provenance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"memory-provenance.d.ts","sourceRoot":"","sources":["../src/memory-provenance.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,eAAO,MAAM,kCAAkC,mFAMrC,CAAC;AAEX,wBAAgB,+BAA+B,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAM9F"}
1
+ {"version":3,"file":"memory-provenance.d.ts","sourceRoot":"","sources":["../src/memory-provenance.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC,mFAMrC,CAAC;AAEX,wBAAgB,+BAA+B,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAM9F"}
package/dist/memory.d.ts CHANGED
@@ -1,23 +1,10 @@
1
1
  export interface ParsedMemory {
2
- /** Content under the "## User Profile" section. */
3
2
  userProfile: string;
4
- /** Content under the "## Key Facts" section. */
5
3
  keyFacts: string;
6
- /** Content under the "## Ongoing Context" section. */
7
4
  ongoingContext: string;
8
- /** Content between MANUAL:START and MANUAL:END markers. */
9
5
  manualNotes: string;
10
- /** The full raw markdown input, preserved for round-tripping. */
11
6
  raw: string;
12
7
  }
13
- /**
14
- * Parse a Signet memory markdown file into structured sections.
15
- *
16
- * Extracts content from well-known `## ` headings and the
17
- * `<!-- MANUAL:START -->` / `<!-- MANUAL:END -->` block. Any content
18
- * outside recognized sections is ignored — the `raw` field always
19
- * contains the original markdown for lossless round-tripping.
20
- */
21
8
  export declare function parseMemory(markdown: string): ParsedMemory;
22
9
  export declare function generateMemory(): string;
23
10
  //# sourceMappingURL=memory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../src/memory.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC5B,mDAAmD;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,QAAQ,EAAE,MAAM,CAAC;IACjB,sDAAsD;IACtD,cAAc,EAAE,MAAM,CAAC;IACvB,2DAA2D;IAC3D,WAAW,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,GAAG,EAAE,MAAM,CAAC;CACZ;AAmBD;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,YAAY,CAmD1D;AAED,wBAAgB,cAAc,IAAI,MAAM,CAmBvC"}
1
+ {"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../src/memory.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACZ;AAkBD,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,YAAY,CAmD1D;AAED,wBAAgB,cAAc,IAAI,MAAM,CAmBvC"}
@@ -1,7 +1,3 @@
1
- /**
2
- * Schema migration system for Signet
3
- * Detects and migrates between different memory database schemas
4
- */
5
1
  export type SchemaType = "python" | "cli-v1" | "core" | "unknown";
6
2
  export interface SchemaInfo {
7
3
  type: SchemaType;
@@ -20,9 +16,6 @@ export interface MigrationResult {
20
16
  memoriesMigrated: number;
21
17
  errors: string[];
22
18
  }
23
- /**
24
- * Detect the current schema type by examining table structure
25
- */
26
19
  export declare function detectSchema(db: {
27
20
  prepare(sql: string): {
28
21
  get(...args: unknown[]): Record<string, unknown> | undefined;
@@ -30,23 +23,13 @@ export declare function detectSchema(db: {
30
23
  };
31
24
  exec?(sql: string): void;
32
25
  }): SchemaInfo;
33
- /**
34
- * Ensure schema_migrations table has all required columns
35
- * Handles migration from old schema that was missing checksum column
36
- */
37
26
  export declare function ensureMigrationsTableSchema(db: {
38
27
  exec(sql: string): void;
39
28
  prepare(sql: string): {
40
29
  all(...args: unknown[]): Record<string, unknown>[];
41
30
  };
42
31
  }): void;
43
- /**
44
- * The unified schema that all migrations target
45
- */
46
32
  export declare const UNIFIED_SCHEMA = "\n -- Schema version tracking\n CREATE TABLE IF NOT EXISTS schema_migrations (\n version INTEGER PRIMARY KEY,\n applied_at TEXT NOT NULL,\n checksum TEXT NOT NULL\n );\n\n -- Conversations table\n CREATE TABLE IF NOT EXISTS conversations (\n id TEXT PRIMARY KEY,\n session_id TEXT NOT NULL,\n harness TEXT NOT NULL,\n started_at TEXT NOT NULL,\n ended_at TEXT,\n summary TEXT,\n topics TEXT,\n decisions TEXT,\n created_at TEXT NOT NULL,\n updated_at TEXT NOT NULL,\n updated_by TEXT NOT NULL,\n vector_clock TEXT NOT NULL DEFAULT '{}',\n version INTEGER DEFAULT 1,\n manual_override INTEGER DEFAULT 0\n );\n\n -- Unified memories table with all fields from all schemas\n CREATE TABLE IF NOT EXISTS memories (\n id TEXT PRIMARY KEY,\n type TEXT NOT NULL DEFAULT 'fact',\n category TEXT,\n content TEXT NOT NULL,\n confidence REAL DEFAULT 1.0,\n importance REAL DEFAULT 0.5,\n source_id TEXT,\n source_type TEXT,\n tags TEXT,\n created_at TEXT NOT NULL,\n updated_at TEXT NOT NULL,\n updated_by TEXT NOT NULL,\n last_accessed TEXT,\n access_count INTEGER DEFAULT 0,\n vector_clock TEXT NOT NULL DEFAULT '{}',\n version INTEGER DEFAULT 1,\n manual_override INTEGER DEFAULT 0,\n pinned INTEGER DEFAULT 0\n );\n\n -- Embeddings table\n CREATE TABLE IF NOT EXISTS embeddings (\n id TEXT PRIMARY KEY,\n content_hash TEXT NOT NULL UNIQUE,\n vector BLOB NOT NULL,\n dimensions INTEGER NOT NULL,\n source_type TEXT NOT NULL,\n source_id TEXT NOT NULL,\n chunk_text TEXT NOT NULL,\n created_at TEXT NOT NULL\n );\n\n -- Indexes\n CREATE INDEX IF NOT EXISTS idx_conversations_session ON conversations(session_id);\n CREATE INDEX IF NOT EXISTS idx_conversations_harness ON conversations(harness);\n CREATE INDEX IF NOT EXISTS idx_memories_type ON memories(type);\n CREATE INDEX IF NOT EXISTS idx_memories_category ON memories(category);\n CREATE INDEX IF NOT EXISTS idx_memories_pinned ON memories(pinned);\n CREATE INDEX IF NOT EXISTS idx_memories_importance ON memories(importance DESC);\n CREATE INDEX IF NOT EXISTS idx_memories_created ON memories(created_at DESC);\n CREATE INDEX IF NOT EXISTS idx_embeddings_source ON embeddings(source_type, source_id);\n CREATE INDEX IF NOT EXISTS idx_embeddings_hash ON embeddings(content_hash);\n";
47
- /**
48
- * Ensure database has the unified schema, migrating if necessary
49
- */
50
33
  export declare function ensureUnifiedSchema(db: {
51
34
  exec(sql: string): void;
52
35
  prepare(sql: string): {
@@ -1 +1 @@
1
- {"version":3,"file":"migration.d.ts","sourceRoot":"","sources":["../src/migration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAElE,MAAM,WAAW,UAAU;IAC1B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,UAAU,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,MAAM,EAAE,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAAE,EAAE;IAChC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG;QACrB,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;QAC7D,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;KACnD,CAAC;IACF,IAAI,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,GAAG,UAAU,CAgGb;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,EAAE,EAAE;IAC/C,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG;QACrB,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;KACnD,CAAC;CACF,GAAG,IAAI,CAsBP;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,+0EAsE1B,CAAC;AA8NF;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,EAAE;IACvC,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG;QACrB,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;QAC9B,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;QACnD,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;KAC7D,CAAC;CACF,GAAG,eAAe,CA+HlB"}
1
+ {"version":3,"file":"migration.d.ts","sourceRoot":"","sources":["../src/migration.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAElE,MAAM,WAAW,UAAU;IAC1B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,UAAU,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,MAAM,EAAE,CAAC;CACjB;AACD,wBAAgB,YAAY,CAAC,EAAE,EAAE;IAChC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG;QACrB,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;QAC7D,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;KACnD,CAAC;IACF,IAAI,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,GAAG,UAAU,CAoFb;AACD,wBAAgB,2BAA2B,CAAC,EAAE,EAAE;IAC/C,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG;QACrB,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;KACnD,CAAC;CACF,GAAG,IAAI,CAgBP;AACD,eAAO,MAAM,cAAc,+0EAsE1B,CAAC;AAmMF,wBAAgB,mBAAmB,CAAC,EAAE,EAAE;IACvC,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG;QACrB,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;QAC9B,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;QACnD,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;KAC7D,CAAC;CACF,GAAG,eAAe,CA6GlB"}
@@ -1,10 +1,3 @@
1
- /**
2
- * Migration 001: Baseline schema
3
- *
4
- * Captures the unified schema as migration version 1.
5
- * All statements use IF NOT EXISTS so this is safe to run
6
- * against databases that already have these tables.
7
- */
8
1
  import type { MigrationDb } from "./contract";
9
2
  export declare function up(db: MigrationDb): void;
10
3
  //# sourceMappingURL=001-baseline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"001-baseline.d.ts","sourceRoot":"","sources":["../../src/migrations/001-baseline.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA+FxC"}
1
+ {"version":3,"file":"001-baseline.d.ts","sourceRoot":"","sources":["../../src/migrations/001-baseline.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAwFxC"}
@@ -1,10 +1,3 @@
1
- /**
2
- * Migration 002: Pipeline v2 schema
3
- *
4
- * Adds columns for the memory pipeline (content hashing, soft delete,
5
- * extraction tracking), plus new tables for history, jobs, and the
6
- * entity graph.
7
- */
8
1
  import type { MigrationDb } from "./contract";
9
2
  export declare function up(db: MigrationDb): void;
10
3
  //# sourceMappingURL=002-pipeline-v2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"002-pipeline-v2.d.ts","sourceRoot":"","sources":["../../src/migrations/002-pipeline-v2.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAe9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA4HxC"}
1
+ {"version":3,"file":"002-pipeline-v2.d.ts","sourceRoot":"","sources":["../../src/migrations/002-pipeline-v2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAW9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAgHxC"}
@@ -1,13 +1,3 @@
1
- /**
2
- * Migration 003: Unique content hash index
3
- *
4
- * Safely creates a unique partial index on content_hash. Must run as a
5
- * separate migration because 002 was already shipped with a non-unique
6
- * index — existing installs need this new version to pick up the change.
7
- *
8
- * Also backfills `why` and `project` columns for databases that ran 001
9
- * before those columns were added to the baseline CREATE TABLE.
10
- */
11
1
  import type { MigrationDb } from "./contract";
12
2
  export declare function up(db: MigrationDb): void;
13
3
  //# sourceMappingURL=003-unique-content-hash.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"003-unique-content-hash.d.ts","sourceRoot":"","sources":["../../src/migrations/003-unique-content-hash.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAU9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAoCxC"}
1
+ {"version":3,"file":"003-unique-content-hash.d.ts","sourceRoot":"","sources":["../../src/migrations/003-unique-content-hash.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA2BxC"}
@@ -1,10 +1,3 @@
1
- /**
2
- * Migration 004: Actor classification + correlation + retention indexes
3
- *
4
- * Adds structured actor_type and request/session correlation fields to
5
- * memory_history, plus indexes to support the retention worker's purge
6
- * queries on soft-deleted memories, expired history, and completed jobs.
7
- */
8
1
  import type { MigrationDb } from "./contract";
9
2
  export declare function up(db: MigrationDb): void;
10
3
  //# sourceMappingURL=004-history-actor-and-retention.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"004-history-actor-and-retention.d.ts","sourceRoot":"","sources":["../../src/migrations/004-history-actor-and-retention.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAa9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA+BxC"}
1
+ {"version":3,"file":"004-history-actor-and-retention.d.ts","sourceRoot":"","sources":["../../src/migrations/004-history-actor-and-retention.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAa9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAuBxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"005-graph-extended.d.ts","sourceRoot":"","sources":["../../src/migrations/005-graph-extended.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAa9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAqBxC"}
1
+ {"version":3,"file":"005-graph-extended.d.ts","sourceRoot":"","sources":["../../src/migrations/005-graph-extended.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAa9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAYxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"006-idempotency-key.d.ts","sourceRoot":"","sources":["../../src/migrations/006-idempotency-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAO9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAiBxC"}
1
+ {"version":3,"file":"006-idempotency-key.d.ts","sourceRoot":"","sources":["../../src/migrations/006-idempotency-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAO9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAYxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"007-documents-and-connectors.d.ts","sourceRoot":"","sources":["../../src/migrations/007-documents-and-connectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAO9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA2ExC"}
1
+ {"version":3,"file":"007-documents-and-connectors.d.ts","sourceRoot":"","sources":["../../src/migrations/007-documents-and-connectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAO9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAoExC"}
@@ -1,11 +1,3 @@
1
- /**
2
- * Migration 008: Unique content_hash on embeddings
3
- *
4
- * The baseline schema declares content_hash as UNIQUE but older databases
5
- * may have been created before that constraint was enforced. The pipeline
6
- * Phase C write path uses ON CONFLICT(content_hash), which requires a
7
- * unique index. Dedup any collisions then create the index.
8
- */
9
1
  import type { MigrationDb } from "./contract";
10
2
  export declare function up(db: MigrationDb): void;
11
3
  //# sourceMappingURL=008-embeddings-unique-hash.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"008-embeddings-unique-hash.d.ts","sourceRoot":"","sources":["../../src/migrations/008-embeddings-unique-hash.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAsBxC"}
1
+ {"version":3,"file":"008-embeddings-unique-hash.d.ts","sourceRoot":"","sources":["../../src/migrations/008-embeddings-unique-hash.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAexC"}
@@ -1,11 +1,3 @@
1
- /**
2
- * Migration 013: Ingestion Tracking
3
- *
4
- * Adds infrastructure for the document ingestion engine:
5
- * - ingestion_jobs table: tracks each ingestion run (file → memories)
6
- * - source_path column on memories: links memories back to their source file
7
- * - source_section column on memories: which section the memory came from
8
- */
9
1
  import type { MigrationDb } from "./contract";
10
2
  export declare function up(db: MigrationDb): void;
11
3
  //# sourceMappingURL=013-ingestion-tracking.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"013-ingestion-tracking.d.ts","sourceRoot":"","sources":["../../src/migrations/013-ingestion-tracking.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAU9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAgCxC"}
1
+ {"version":3,"file":"013-ingestion-tracking.d.ts","sourceRoot":"","sources":["../../src/migrations/013-ingestion-tracking.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAyBxC"}
@@ -1,11 +1,3 @@
1
- /**
2
- * Migration 014: Telemetry Events
3
- *
4
- * Adds a table for anonymous, opt-in telemetry events that track token
5
- * usage, error rates, performance, and feature usage. Events persist
6
- * locally for the dashboard and predictor training data, and can
7
- * optionally be batched to a self-hosted PostHog instance.
8
- */
9
1
  import type { MigrationDb } from "./contract";
10
2
  export declare function up(db: MigrationDb): void;
11
3
  //# sourceMappingURL=014-telemetry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"014-telemetry.d.ts","sourceRoot":"","sources":["../../src/migrations/014-telemetry.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkBxC"}
1
+ {"version":3,"file":"014-telemetry.d.ts","sourceRoot":"","sources":["../../src/migrations/014-telemetry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkBxC"}
@@ -1,11 +1,3 @@
1
- /**
2
- * Migration 015: Session Memories
3
- *
4
- * Data pipeline prerequisites for the predictive memory scorer:
5
- * - session_memories table: links memories to sessions with scoring metadata
6
- * - confidence column on session_scores: LLM self-assessed quality gate
7
- * - continuity_reasoning column on session_scores: full LLM reasoning for audit
8
- */
9
1
  import type { MigrationDb } from "./contract";
10
2
  export declare function up(db: MigrationDb): void;
11
3
  //# sourceMappingURL=015-session-memories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"015-session-memories.d.ts","sourceRoot":"","sources":["../../src/migrations/015-session-memories.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAU9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAiCxC"}
1
+ {"version":3,"file":"015-session-memories.d.ts","sourceRoot":"","sources":["../../src/migrations/015-session-memories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA0BxC"}
@@ -1,10 +1,3 @@
1
- /**
2
- * Migration 016: Session Checkpoints
3
- *
4
- * Persistence layer for the session continuity protocol.
5
- * Stores rolling digests so agents can recover context
6
- * after compaction or session restart.
7
- */
8
1
  import type { MigrationDb } from "./contract";
9
2
  export declare function up(db: MigrationDb): void;
10
3
  //# sourceMappingURL=016-session-checkpoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"016-session-checkpoints.d.ts","sourceRoot":"","sources":["../../src/migrations/016-session-checkpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAqBxC"}
1
+ {"version":3,"file":"016-session-checkpoints.d.ts","sourceRoot":"","sources":["../../src/migrations/016-session-checkpoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAqBxC"}
@@ -1,10 +1,3 @@
1
- /**
2
- * Migration 017: Task Skills
3
- *
4
- * Adds optional skill attachment to scheduled tasks.
5
- * Tasks can reference a skill by name and specify a mode
6
- * for how the skill content is integrated into the prompt.
7
- */
8
1
  import type { MigrationDb } from "./contract";
9
2
  export declare function up(db: MigrationDb): void;
10
3
  //# sourceMappingURL=017-task-skills.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"017-task-skills.d.ts","sourceRoot":"","sources":["../../src/migrations/017-task-skills.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAaxC"}
1
+ {"version":3,"file":"017-task-skills.d.ts","sourceRoot":"","sources":["../../src/migrations/017-task-skills.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAaxC"}
@@ -1,10 +1,3 @@
1
- /**
2
- * Migration 018: Skill Meta
3
- *
4
- * Creates the skill_meta table for procedural memory P1.
5
- * Skills become first-class nodes in the knowledge graph,
6
- * with per-agent scoping, usage tracking, and decay.
7
- */
8
1
  import type { MigrationDb } from "./contract";
9
2
  export declare function up(db: MigrationDb): void;
10
3
  //# sourceMappingURL=018-skill-meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"018-skill-meta.d.ts","sourceRoot":"","sources":["../../src/migrations/018-skill-meta.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAiCxC"}
1
+ {"version":3,"file":"018-skill-meta.d.ts","sourceRoot":"","sources":["../../src/migrations/018-skill-meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAgCxC"}
@@ -1,12 +1,3 @@
1
- /**
2
- * Migration 019: Knowledge Architecture Structure
3
- *
4
- * Adds structural backbone for the knowledge graph:
5
- * - Backfills agent_id on existing entities table
6
- * - Creates entity_aspects, entity_attributes, entity_dependencies, task_meta
7
- *
8
- * Part of KA-1 (Schema + Types + Read/Write Helpers).
9
- */
10
1
  import type { MigrationDb } from "./contract";
11
2
  export declare function up(db: MigrationDb): void;
12
3
  //# sourceMappingURL=019-knowledge-structure.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"019-knowledge-structure.d.ts","sourceRoot":"","sources":["../../src/migrations/019-knowledge-structure.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAwFxC"}
1
+ {"version":3,"file":"019-knowledge-structure.d.ts","sourceRoot":"","sources":["../../src/migrations/019-knowledge-structure.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA+ExC"}
@@ -1,10 +1,3 @@
1
- /**
2
- * Migration 021: Structural checkpoint snapshot fields
3
- *
4
- * Adds optional structural snapshot columns to session_checkpoints so
5
- * recovery can prioritize focal entities, active aspects, and traversal
6
- * metadata from the prior session.
7
- */
8
1
  import type { MigrationDb } from "./contract";
9
2
  export declare function up(db: MigrationDb): void;
10
3
  //# sourceMappingURL=021-checkpoint-structural.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"021-checkpoint-structural.d.ts","sourceRoot":"","sources":["../../src/migrations/021-checkpoint-structural.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAmBxC"}
1
+ {"version":3,"file":"021-checkpoint-structural.d.ts","sourceRoot":"","sources":["../../src/migrations/021-checkpoint-structural.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAmBxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"023-predictor-columns.d.ts","sourceRoot":"","sources":["../../src/migrations/023-predictor-columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAEzC"}
1
+ {"version":3,"file":"023-predictor-columns.d.ts","sourceRoot":"","sources":["../../src/migrations/023-predictor-columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"024-predictor-comparison-columns.d.ts","sourceRoot":"","sources":["../../src/migrations/024-predictor-comparison-columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAEzC"}
1
+ {"version":3,"file":"024-predictor-comparison-columns.d.ts","sourceRoot":"","sources":["../../src/migrations/024-predictor-comparison-columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAAG"}
@@ -1,10 +1,3 @@
1
- /**
2
- * Migration 025: Agent Relevance Feedback
3
- *
4
- * Adds columns to session_memories for accumulating per-prompt agent
5
- * feedback scores. The running mean of feedback across the session
6
- * becomes the primary training label for the predictive scorer.
7
- */
8
1
  import type { MigrationDb } from "./contract";
9
2
  export declare function up(db: MigrationDb): void;
10
3
  //# sourceMappingURL=025-agent-feedback.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"025-agent-feedback.d.ts","sourceRoot":"","sources":["../../src/migrations/025-agent-feedback.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAU9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAOxC"}
1
+ {"version":3,"file":"025-agent-feedback.d.ts","sourceRoot":"","sources":["../../src/migrations/025-agent-feedback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAGxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"026-predictor-training-pairs.d.ts","sourceRoot":"","sources":["../../src/migrations/026-predictor-training-pairs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAEzC"}
1
+ {"version":3,"file":"026-predictor-training-pairs.d.ts","sourceRoot":"","sources":["../../src/migrations/026-predictor-training-pairs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAAG"}
@@ -1,12 +1,3 @@
1
- /**
2
- * Migration 027: Backfill NULL canonical_name on entities
3
- *
4
- * Migration 005 added the canonical_name column but never backfilled
5
- * existing rows, leaving them NULL. This causes the upsertEntity
6
- * lookup (which queries by canonical_name) to miss existing entities,
7
- * leading to UNIQUE constraint violations on the name column during
8
- * skill reconciliation and extraction.
9
- */
10
1
  import type { MigrationDb } from "./contract";
11
2
  export declare function up(db: MigrationDb): void;
12
3
  //# sourceMappingURL=027-backfill-canonical-names.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"027-backfill-canonical-names.d.ts","sourceRoot":"","sources":["../../src/migrations/027-backfill-canonical-names.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAWxC"}
1
+ {"version":3,"file":"027-backfill-canonical-names.d.ts","sourceRoot":"","sources":["../../src/migrations/027-backfill-canonical-names.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAQxC"}
@@ -1,10 +1,3 @@
1
- /**
2
- * Migration 028: Lossless Retention (Cold Tier)
3
- *
4
- * Replaces hard deletion of tombstoned memories with cold-tier archival.
5
- * Nothing is ever truly lost — expired memories are archived into
6
- * memories_cold before being removed from the active table.
7
- */
8
1
  import type { MigrationDb } from "./contract";
9
2
  export declare function up(db: MigrationDb): void;
10
3
  //# sourceMappingURL=028-lossless-retention.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"028-lossless-retention.d.ts","sourceRoot":"","sources":["../../src/migrations/028-lossless-retention.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAoCxC"}
1
+ {"version":3,"file":"028-lossless-retention.d.ts","sourceRoot":"","sources":["../../src/migrations/028-lossless-retention.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAoCxC"}
@@ -1,18 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 030: Make memory_jobs.memory_id nullable
4
- *
5
- * The memory_jobs table was created in 002 with `memory_id TEXT NOT NULL`.
6
- * Migration 007 added document_id for document_ingest jobs, but those jobs
7
- * don't have a memory_id at creation time — they produce memories later.
8
- * The NOT NULL constraint causes POST /api/documents to fail with:
9
- * SQLiteError: NOT NULL constraint failed: memory_jobs.memory_id
10
- *
11
- * SQLite doesn't support ALTER COLUMN, so we rebuild the table.
12
- *
13
- * No artifacts declared: this migration modifies an existing table's
14
- * constraint (not a new table/column). The memory_jobs table is already
15
- * tracked by migration 002's artifacts, so phantom detection still works.
16
- */
17
2
  export declare function up(db: MigrationDb): void;
18
3
  //# sourceMappingURL=030-nullable-memory-job-memory-id.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"030-nullable-memory-job-memory-id.d.ts","sourceRoot":"","sources":["../../src/migrations/030-nullable-memory-job-memory-id.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA+CxC"}
1
+ {"version":3,"file":"030-nullable-memory-job-memory-id.d.ts","sourceRoot":"","sources":["../../src/migrations/030-nullable-memory-job-memory-id.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA+CxC"}
@@ -1,11 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 031: Add reason to dependencies, last_synthesized_at to entities
4
- *
5
- * - entity_dependencies.reason: LLM-provided explanation of why a
6
- * dependency exists, surfaced in the dashboard for auditability.
7
- * - entities.last_synthesized_at: timestamp tracking when the cross-entity
8
- * dependency synthesis worker last processed an entity.
9
- */
10
2
  export declare function up(db: MigrationDb): void;
11
3
  //# sourceMappingURL=031-dependency-reason.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"031-dependency-reason.d.ts","sourceRoot":"","sources":["../../src/migrations/031-dependency-reason.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;GAOG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAUxC"}
1
+ {"version":3,"file":"031-dependency-reason.d.ts","sourceRoot":"","sources":["../../src/migrations/031-dependency-reason.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAUxC"}
@@ -1,11 +1,3 @@
1
1
  import type { MigrationDb } from "./contract";
2
- /**
3
- * Migration 032: Ensure embeddings.vector column exists
4
- *
5
- * Databases created on older Signet versions may lack the `vector BLOB`
6
- * column on `embeddings`. Without it, `reembedMissingMemories` throws
7
- * "table embeddings has no column named vector" and the daemon returns
8
- * an unhandled 500 to the CLI.
9
- */
10
2
  export declare function up(db: MigrationDb): void;
11
3
  //# sourceMappingURL=032-embeddings-vector-column.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"032-embeddings-vector-column.d.ts","sourceRoot":"","sources":["../../src/migrations/032-embeddings-vector-column.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;GAOG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAMxC"}
1
+ {"version":3,"file":"032-embeddings-vector-column.d.ts","sourceRoot":"","sources":["../../src/migrations/032-embeddings-vector-column.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAMxC"}