@signetai/core 0.140.1

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 (272) hide show
  1. package/dist/agents.d.ts +45 -0
  2. package/dist/agents.d.ts.map +1 -0
  3. package/dist/connector-types.d.ts +90 -0
  4. package/dist/connector-types.d.ts.map +1 -0
  5. package/dist/constants.d.ts +9 -0
  6. package/dist/constants.d.ts.map +1 -0
  7. package/dist/daemon-url.d.ts +7 -0
  8. package/dist/daemon-url.d.ts.map +1 -0
  9. package/dist/database.d.ts +41 -0
  10. package/dist/database.d.ts.map +1 -0
  11. package/dist/export.d.ts +84 -0
  12. package/dist/export.d.ts.map +1 -0
  13. package/dist/fts-schema.d.ts +13 -0
  14. package/dist/fts-schema.d.ts.map +1 -0
  15. package/dist/gitignore.d.ts +3 -0
  16. package/dist/gitignore.d.ts.map +1 -0
  17. package/dist/graphiq.d.ts +40 -0
  18. package/dist/graphiq.d.ts.map +1 -0
  19. package/dist/harness-config.d.ts +3 -0
  20. package/dist/harness-config.d.ts.map +1 -0
  21. package/dist/identity.d.ts +193 -0
  22. package/dist/identity.d.ts.map +1 -0
  23. package/dist/import.d.ts +86 -0
  24. package/dist/import.d.ts.map +1 -0
  25. package/dist/index.d.ts +67 -0
  26. package/dist/index.d.ts.map +1 -0
  27. package/dist/index.js +20057 -0
  28. package/dist/ingest/chat-extractor.d.ts +35 -0
  29. package/dist/ingest/chat-extractor.d.ts.map +1 -0
  30. package/dist/ingest/chat-utils.d.ts +18 -0
  31. package/dist/ingest/chat-utils.d.ts.map +1 -0
  32. package/dist/ingest/chunker.d.ts +27 -0
  33. package/dist/ingest/chunker.d.ts.map +1 -0
  34. package/dist/ingest/code-parser.d.ts +30 -0
  35. package/dist/ingest/code-parser.d.ts.map +1 -0
  36. package/dist/ingest/discord-parser.d.ts +30 -0
  37. package/dist/ingest/discord-parser.d.ts.map +1 -0
  38. package/dist/ingest/entire-extractor.d.ts +33 -0
  39. package/dist/ingest/entire-extractor.d.ts.map +1 -0
  40. package/dist/ingest/entire-parser.d.ts +51 -0
  41. package/dist/ingest/entire-parser.d.ts.map +1 -0
  42. package/dist/ingest/extractor.d.ts +27 -0
  43. package/dist/ingest/extractor.d.ts.map +1 -0
  44. package/dist/ingest/git-utils.d.ts +9 -0
  45. package/dist/ingest/git-utils.d.ts.map +1 -0
  46. package/dist/ingest/index.d.ts +52 -0
  47. package/dist/ingest/index.d.ts.map +1 -0
  48. package/dist/ingest/markdown-parser.d.ts +26 -0
  49. package/dist/ingest/markdown-parser.d.ts.map +1 -0
  50. package/dist/ingest/pdf-parser.d.ts +14 -0
  51. package/dist/ingest/pdf-parser.d.ts.map +1 -0
  52. package/dist/ingest/provenance.d.ts +55 -0
  53. package/dist/ingest/provenance.d.ts.map +1 -0
  54. package/dist/ingest/response-parser.d.ts +40 -0
  55. package/dist/ingest/response-parser.d.ts.map +1 -0
  56. package/dist/ingest/slack-parser.d.ts +34 -0
  57. package/dist/ingest/slack-parser.d.ts.map +1 -0
  58. package/dist/ingest/types.d.ts +163 -0
  59. package/dist/ingest/types.d.ts.map +1 -0
  60. package/dist/llm-model-catalog.d.ts +176 -0
  61. package/dist/llm-model-catalog.d.ts.map +1 -0
  62. package/dist/llm-model-catalog.js +110 -0
  63. package/dist/manifest.d.ts +4 -0
  64. package/dist/manifest.d.ts.map +1 -0
  65. package/dist/markdown.d.ts +40 -0
  66. package/dist/markdown.d.ts.map +1 -0
  67. package/dist/memory.d.ts +23 -0
  68. package/dist/memory.d.ts.map +1 -0
  69. package/dist/migrate.d.ts +8 -0
  70. package/dist/migrate.d.ts.map +1 -0
  71. package/dist/migration.d.ts +58 -0
  72. package/dist/migration.d.ts.map +1 -0
  73. package/dist/migrations/001-baseline.d.ts +10 -0
  74. package/dist/migrations/001-baseline.d.ts.map +1 -0
  75. package/dist/migrations/002-pipeline-v2.d.ts +10 -0
  76. package/dist/migrations/002-pipeline-v2.d.ts.map +1 -0
  77. package/dist/migrations/003-unique-content-hash.d.ts +13 -0
  78. package/dist/migrations/003-unique-content-hash.d.ts.map +1 -0
  79. package/dist/migrations/004-history-actor-and-retention.d.ts +10 -0
  80. package/dist/migrations/004-history-actor-and-retention.d.ts.map +1 -0
  81. package/dist/migrations/005-graph-extended.d.ts +3 -0
  82. package/dist/migrations/005-graph-extended.d.ts.map +1 -0
  83. package/dist/migrations/006-idempotency-key.d.ts +3 -0
  84. package/dist/migrations/006-idempotency-key.d.ts.map +1 -0
  85. package/dist/migrations/007-documents-and-connectors.d.ts +3 -0
  86. package/dist/migrations/007-documents-and-connectors.d.ts.map +1 -0
  87. package/dist/migrations/008-embeddings-unique-hash.d.ts +11 -0
  88. package/dist/migrations/008-embeddings-unique-hash.d.ts.map +1 -0
  89. package/dist/migrations/009-summary-jobs.d.ts +3 -0
  90. package/dist/migrations/009-summary-jobs.d.ts.map +1 -0
  91. package/dist/migrations/010-umap-cache.d.ts +3 -0
  92. package/dist/migrations/010-umap-cache.d.ts.map +1 -0
  93. package/dist/migrations/011-session-scores.d.ts +3 -0
  94. package/dist/migrations/011-session-scores.d.ts.map +1 -0
  95. package/dist/migrations/012-scheduled-tasks.d.ts +3 -0
  96. package/dist/migrations/012-scheduled-tasks.d.ts.map +1 -0
  97. package/dist/migrations/013-ingestion-tracking.d.ts +11 -0
  98. package/dist/migrations/013-ingestion-tracking.d.ts.map +1 -0
  99. package/dist/migrations/014-telemetry.d.ts +11 -0
  100. package/dist/migrations/014-telemetry.d.ts.map +1 -0
  101. package/dist/migrations/015-session-memories.d.ts +11 -0
  102. package/dist/migrations/015-session-memories.d.ts.map +1 -0
  103. package/dist/migrations/016-session-checkpoints.d.ts +10 -0
  104. package/dist/migrations/016-session-checkpoints.d.ts.map +1 -0
  105. package/dist/migrations/017-task-skills.d.ts +10 -0
  106. package/dist/migrations/017-task-skills.d.ts.map +1 -0
  107. package/dist/migrations/018-skill-meta.d.ts +10 -0
  108. package/dist/migrations/018-skill-meta.d.ts.map +1 -0
  109. package/dist/migrations/019-knowledge-structure.d.ts +12 -0
  110. package/dist/migrations/019-knowledge-structure.d.ts.map +1 -0
  111. package/dist/migrations/020-predictor-comparisons.d.ts +3 -0
  112. package/dist/migrations/020-predictor-comparisons.d.ts.map +1 -0
  113. package/dist/migrations/021-checkpoint-structural.d.ts +10 -0
  114. package/dist/migrations/021-checkpoint-structural.d.ts.map +1 -0
  115. package/dist/migrations/022-entity-pinning.d.ts +3 -0
  116. package/dist/migrations/022-entity-pinning.d.ts.map +1 -0
  117. package/dist/migrations/023-predictor-columns.d.ts +3 -0
  118. package/dist/migrations/023-predictor-columns.d.ts.map +1 -0
  119. package/dist/migrations/024-predictor-comparison-columns.d.ts +3 -0
  120. package/dist/migrations/024-predictor-comparison-columns.d.ts.map +1 -0
  121. package/dist/migrations/025-agent-feedback.d.ts +10 -0
  122. package/dist/migrations/025-agent-feedback.d.ts.map +1 -0
  123. package/dist/migrations/026-predictor-training-pairs.d.ts +3 -0
  124. package/dist/migrations/026-predictor-training-pairs.d.ts.map +1 -0
  125. package/dist/migrations/027-backfill-canonical-names.d.ts +12 -0
  126. package/dist/migrations/027-backfill-canonical-names.d.ts.map +1 -0
  127. package/dist/migrations/028-lossless-retention.d.ts +10 -0
  128. package/dist/migrations/028-lossless-retention.d.ts.map +1 -0
  129. package/dist/migrations/029-session-summary-dag.d.ts +3 -0
  130. package/dist/migrations/029-session-summary-dag.d.ts.map +1 -0
  131. package/dist/migrations/030-nullable-memory-job-memory-id.d.ts +18 -0
  132. package/dist/migrations/030-nullable-memory-job-memory-id.d.ts.map +1 -0
  133. package/dist/migrations/031-dependency-reason.d.ts +11 -0
  134. package/dist/migrations/031-dependency-reason.d.ts.map +1 -0
  135. package/dist/migrations/032-embeddings-vector-column.d.ts +11 -0
  136. package/dist/migrations/032-embeddings-vector-column.d.ts.map +1 -0
  137. package/dist/migrations/033-scope.d.ts +10 -0
  138. package/dist/migrations/033-scope.d.ts.map +1 -0
  139. package/dist/migrations/034-scope-aware-dedup.d.ts +12 -0
  140. package/dist/migrations/034-scope-aware-dedup.d.ts.map +1 -0
  141. package/dist/migrations/035-entity-fts.d.ts +10 -0
  142. package/dist/migrations/035-entity-fts.d.ts.map +1 -0
  143. package/dist/migrations/036-dependency-confidence.d.ts +15 -0
  144. package/dist/migrations/036-dependency-confidence.d.ts.map +1 -0
  145. package/dist/migrations/037-entity-communities.d.ts +10 -0
  146. package/dist/migrations/037-entity-communities.d.ts.map +1 -0
  147. package/dist/migrations/038-memory-hints.d.ts +11 -0
  148. package/dist/migrations/038-memory-hints.d.ts.map +1 -0
  149. package/dist/migrations/039-dedup-entity-dependencies.d.ts +11 -0
  150. package/dist/migrations/039-dedup-entity-dependencies.d.ts.map +1 -0
  151. package/dist/migrations/040-session-transcripts.d.ts +10 -0
  152. package/dist/migrations/040-session-transcripts.d.ts.map +1 -0
  153. package/dist/migrations/041-path-feedback.d.ts +3 -0
  154. package/dist/migrations/041-path-feedback.d.ts.map +1 -0
  155. package/dist/migrations/042-session-memories-agent-id.d.ts +10 -0
  156. package/dist/migrations/042-session-memories-agent-id.d.ts.map +1 -0
  157. package/dist/migrations/043-agents-table.d.ts +15 -0
  158. package/dist/migrations/043-agents-table.d.ts.map +1 -0
  159. package/dist/migrations/044-memory-md-temporal-head.d.ts +10 -0
  160. package/dist/migrations/044-memory-md-temporal-head.d.ts.map +1 -0
  161. package/dist/migrations/045-lossless-working-memory-hardening.d.ts +11 -0
  162. package/dist/migrations/045-lossless-working-memory-hardening.d.ts.map +1 -0
  163. package/dist/migrations/046-session-summary-uniqueness.d.ts +3 -0
  164. package/dist/migrations/046-session-summary-uniqueness.d.ts.map +1 -0
  165. package/dist/migrations/047-agent-scoped-temporal-uniqueness.d.ts +9 -0
  166. package/dist/migrations/047-agent-scoped-temporal-uniqueness.d.ts.map +1 -0
  167. package/dist/migrations/048-thread-heads.d.ts +9 -0
  168. package/dist/migrations/048-thread-heads.d.ts.map +1 -0
  169. package/dist/migrations/049-session-extract-cursors.d.ts +11 -0
  170. package/dist/migrations/049-session-extract-cursors.d.ts.map +1 -0
  171. package/dist/migrations/050-related-to-audit.d.ts +3 -0
  172. package/dist/migrations/050-related-to-audit.d.ts.map +1 -0
  173. package/dist/migrations/051-memory-md-rolling-window-lineage.d.ts +12 -0
  174. package/dist/migrations/051-memory-md-rolling-window-lineage.d.ts.map +1 -0
  175. package/dist/migrations/052-mcp-invocations.d.ts +10 -0
  176. package/dist/migrations/052-mcp-invocations.d.ts.map +1 -0
  177. package/dist/migrations/053-skill-invocations.d.ts +10 -0
  178. package/dist/migrations/053-skill-invocations.d.ts.map +1 -0
  179. package/dist/migrations/054-task-agent-scope.d.ts +3 -0
  180. package/dist/migrations/054-task-agent-scope.d.ts.map +1 -0
  181. package/dist/migrations/055-dreaming-state.d.ts +9 -0
  182. package/dist/migrations/055-dreaming-state.d.ts.map +1 -0
  183. package/dist/migrations/056-agent-scoped-content-hash.d.ts +11 -0
  184. package/dist/migrations/056-agent-scoped-content-hash.d.ts.map +1 -0
  185. package/dist/migrations/057-memories-fts-tokenizer-repair.d.ts +12 -0
  186. package/dist/migrations/057-memories-fts-tokenizer-repair.d.ts.map +1 -0
  187. package/dist/migrations/058-knowledge-graph-indices.d.ts +16 -0
  188. package/dist/migrations/058-knowledge-graph-indices.d.ts.map +1 -0
  189. package/dist/migrations/059-entity-attribute-claim-key.d.ts +11 -0
  190. package/dist/migrations/059-entity-attribute-claim-key.d.ts.map +1 -0
  191. package/dist/migrations/060-entity-attribute-group-key.d.ts +10 -0
  192. package/dist/migrations/060-entity-attribute-group-key.d.ts.map +1 -0
  193. package/dist/migrations/061-memory-artifact-source-mtime.d.ts +12 -0
  194. package/dist/migrations/061-memory-artifact-source-mtime.d.ts.map +1 -0
  195. package/dist/migrations/062-memory-artifact-soft-delete.d.ts +10 -0
  196. package/dist/migrations/062-memory-artifact-soft-delete.d.ts.map +1 -0
  197. package/dist/migrations/063-content-only-memories-fts-update.d.ts +13 -0
  198. package/dist/migrations/063-content-only-memories-fts-update.d.ts.map +1 -0
  199. package/dist/migrations/064-source-graph-provenance.d.ts +11 -0
  200. package/dist/migrations/064-source-graph-provenance.d.ts.map +1 -0
  201. package/dist/migrations/065-source-embedding-agent-scope.d.ts +10 -0
  202. package/dist/migrations/065-source-embedding-agent-scope.d.ts.map +1 -0
  203. package/dist/migrations/066-memory-search-telemetry.d.ts +10 -0
  204. package/dist/migrations/066-memory-search-telemetry.d.ts.map +1 -0
  205. package/dist/migrations/067-ontology-proposals.d.ts +10 -0
  206. package/dist/migrations/067-ontology-proposals.d.ts.map +1 -0
  207. package/dist/migrations/068-daily-reflections.d.ts +9 -0
  208. package/dist/migrations/068-daily-reflections.d.ts.map +1 -0
  209. package/dist/migrations/069-daily-reflections-multiple-insights.d.ts +11 -0
  210. package/dist/migrations/069-daily-reflections-multiple-insights.d.ts.map +1 -0
  211. package/dist/migrations/070-ontology-control-plane-state.d.ts +9 -0
  212. package/dist/migrations/070-ontology-control-plane-state.d.ts.map +1 -0
  213. package/dist/migrations/071-epistemic-assertions.d.ts +10 -0
  214. package/dist/migrations/071-epistemic-assertions.d.ts.map +1 -0
  215. package/dist/migrations/072-agent-scoped-idempotency-key.d.ts +9 -0
  216. package/dist/migrations/072-agent-scoped-idempotency-key.d.ts.map +1 -0
  217. package/dist/migrations/073-recall-context-dedupe.d.ts +10 -0
  218. package/dist/migrations/073-recall-context-dedupe.d.ts.map +1 -0
  219. package/dist/migrations/074-aggregate-memory-links.d.ts +7 -0
  220. package/dist/migrations/074-aggregate-memory-links.d.ts.map +1 -0
  221. package/dist/migrations/075-memory-artifact-source-provenance.d.ts +3 -0
  222. package/dist/migrations/075-memory-artifact-source-provenance.d.ts.map +1 -0
  223. package/dist/migrations/076-temporal-edges.d.ts +3 -0
  224. package/dist/migrations/076-temporal-edges.d.ts.map +1 -0
  225. package/dist/migrations/077-entity-aliases.d.ts +3 -0
  226. package/dist/migrations/077-entity-aliases.d.ts.map +1 -0
  227. package/dist/migrations/078-api-keys.d.ts +3 -0
  228. package/dist/migrations/078-api-keys.d.ts.map +1 -0
  229. package/dist/migrations/index.d.ts +54 -0
  230. package/dist/migrations/index.d.ts.map +1 -0
  231. package/dist/network.d.ts +10 -0
  232. package/dist/network.d.ts.map +1 -0
  233. package/dist/oh-my-pi.d.ts +15 -0
  234. package/dist/oh-my-pi.d.ts.map +1 -0
  235. package/dist/package-manager.d.ts +33 -0
  236. package/dist/package-manager.d.ts.map +1 -0
  237. package/dist/pi.d.ts +15 -0
  238. package/dist/pi.d.ts.map +1 -0
  239. package/dist/pipeline-pause.d.ts +18 -0
  240. package/dist/pipeline-pause.d.ts.map +1 -0
  241. package/dist/pipeline-providers.d.ts +11 -0
  242. package/dist/pipeline-providers.d.ts.map +1 -0
  243. package/dist/pipeline-providers.js +144 -0
  244. package/dist/plugins.d.ts +6 -0
  245. package/dist/plugins.d.ts.map +1 -0
  246. package/dist/recall.d.ts +188 -0
  247. package/dist/recall.d.ts.map +1 -0
  248. package/dist/routing.d.ts +221 -0
  249. package/dist/routing.d.ts.map +1 -0
  250. package/dist/search.d.ts +75 -0
  251. package/dist/search.d.ts.map +1 -0
  252. package/dist/signet-os-types.d.ts +116 -0
  253. package/dist/signet-os-types.d.ts.map +1 -0
  254. package/dist/signet.d.ts +36 -0
  255. package/dist/signet.d.ts.map +1 -0
  256. package/dist/skills.d.ts +111 -0
  257. package/dist/skills.d.ts.map +1 -0
  258. package/dist/soul.d.ts +3 -0
  259. package/dist/soul.d.ts.map +1 -0
  260. package/dist/source-substrate.d.ts +63 -0
  261. package/dist/source-substrate.d.ts.map +1 -0
  262. package/dist/sources-config.d.ts +131 -0
  263. package/dist/sources-config.d.ts.map +1 -0
  264. package/dist/symlinks.d.ts +45 -0
  265. package/dist/symlinks.d.ts.map +1 -0
  266. package/dist/types.d.ts +731 -0
  267. package/dist/types.d.ts.map +1 -0
  268. package/dist/workspace-source-repo.d.ts +19 -0
  269. package/dist/workspace-source-repo.d.ts.map +1 -0
  270. package/dist/yaml.d.ts +29 -0
  271. package/dist/yaml.d.ts.map +1 -0
  272. package/package.json +69 -0
@@ -0,0 +1,11 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 045: Lossless working-memory hardening
4
+ *
5
+ * Adds:
6
+ * - transcript recency + FTS search support for prompt-time fallback lookup
7
+ * - agent scoping columns for summary runtime tables
8
+ * - DB-backed MEMORY.md head metadata for merge-safe writes
9
+ */
10
+ export declare function up(db: MigrationDb): void;
11
+ //# sourceMappingURL=045-lossless-working-memory-hardening.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"045-lossless-working-memory-hardening.d.ts","sourceRoot":"","sources":["../../src/migrations/045-lossless-working-memory-hardening.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAQ3C;;;;;;;GAOG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA6ExC"}
@@ -0,0 +1,3 @@
1
+ import type { MigrationDb } from "./index";
2
+ export declare function up(db: MigrationDb): void;
3
+ //# sourceMappingURL=046-session-summary-uniqueness.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"046-session-summary-uniqueness.d.ts","sourceRoot":"","sources":["../../src/migrations/046-session-summary-uniqueness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA4DxC"}
@@ -0,0 +1,9 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 047: Agent-scoped temporal uniqueness
4
+ *
5
+ * Fixes scoping leaks in temporal storage by making transcript and
6
+ * session-summary retry uniqueness agent-aware.
7
+ */
8
+ export declare function up(db: MigrationDb): void;
9
+ //# sourceMappingURL=047-agent-scoped-temporal-uniqueness.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"047-agent-scoped-temporal-uniqueness.d.ts","sourceRoot":"","sources":["../../src/migrations/047-agent-scoped-temporal-uniqueness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAiGxC"}
@@ -0,0 +1,9 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 048: Persistent thread heads
4
+ *
5
+ * Adds agent-scoped thread head storage used by three-tier memory rendering
6
+ * and temporal fallback retrieval.
7
+ */
8
+ export declare function up(db: MigrationDb): void;
9
+ //# sourceMappingURL=048-thread-heads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"048-thread-heads.d.ts","sourceRoot":"","sources":["../../src/migrations/048-thread-heads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAqHxC"}
@@ -0,0 +1,11 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 049: Session extract cursors
4
+ *
5
+ * Tracks the last extraction offset per session so mid-session
6
+ * checkpoint extraction only processes new transcript content
7
+ * (delta tracking). Prevents double-extraction for long-lived
8
+ * sessions that never call session-end.
9
+ */
10
+ export declare function up(db: MigrationDb): void;
11
+ //# sourceMappingURL=049-session-extract-cursors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"049-session-extract-cursors.d.ts","sourceRoot":"","sources":["../../src/migrations/049-session-extract-cursors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;GAOG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAUxC"}
@@ -0,0 +1,3 @@
1
+ import type { MigrationDb } from "./index";
2
+ export declare function up(db: MigrationDb): void;
3
+ //# sourceMappingURL=050-related-to-audit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"050-related-to-audit.d.ts","sourceRoot":"","sources":["../../src/migrations/050-related-to-audit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAe3C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkLxC"}
@@ -0,0 +1,12 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 050: MEMORY.md rolling-window lineage
4
+ *
5
+ * Adds:
6
+ * - richer summary job metadata so session-end and checkpoint flows can
7
+ * preserve canonical timing/identity context
8
+ * - canonical markdown artifact index + FTS table for rebuildable lineage/search
9
+ * - tombstones so privacy removals survive re-index
10
+ */
11
+ export declare function up(db: MigrationDb): void;
12
+ //# sourceMappingURL=051-memory-md-rolling-window-lineage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"051-memory-md-rolling-window-lineage.d.ts","sourceRoot":"","sources":["../../src/migrations/051-memory-md-rolling-window-lineage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAQ3C;;;;;;;;GAQG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkGxC"}
@@ -0,0 +1,10 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 052: MCP invocation tracking
4
+ *
5
+ * Records every MCP tool call (CLI, agent, and MCP-originated) with
6
+ * server, tool, agent, latency, and outcome. Powers the analytics API
7
+ * and the dashboard usage panel.
8
+ */
9
+ export declare function up(db: MigrationDb): void;
10
+ //# sourceMappingURL=052-mcp-invocations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"052-mcp-invocations.d.ts","sourceRoot":"","sources":["../../src/migrations/052-mcp-invocations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAgBxC"}
@@ -0,0 +1,10 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 053: Skill invocation tracking
4
+ *
5
+ * Records task- and agent-driven skill usage with timestamps, latency,
6
+ * agent scope, and success outcome. Powers overview usage analytics and
7
+ * keeps procedural-memory usage fields grounded in real invocations.
8
+ */
9
+ export declare function up(db: MigrationDb): void;
10
+ //# sourceMappingURL=053-skill-invocations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"053-skill-invocations.d.ts","sourceRoot":"","sources":["../../src/migrations/053-skill-invocations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAexC"}
@@ -0,0 +1,3 @@
1
+ import type { MigrationDb } from "./index";
2
+ export declare function up(db: MigrationDb): void;
3
+ //# sourceMappingURL=054-task-agent-scope.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"054-task-agent-scope.d.ts","sourceRoot":"","sources":["../../src/migrations/054-task-agent-scope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA8BxC"}
@@ -0,0 +1,9 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 055: Dreaming state tracking
4
+ *
5
+ * Tracks accumulated summary tokens and dreaming pass history
6
+ * for the token-budget memory consolidation system.
7
+ */
8
+ export declare function up(db: MigrationDb): void;
9
+ //# sourceMappingURL=055-dreaming-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"055-dreaming-state.d.ts","sourceRoot":"","sources":["../../src/migrations/055-dreaming-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAoCxC"}
@@ -0,0 +1,11 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 056: Agent-aware content hash dedupe
4
+ *
5
+ * Summary facts and extracted memories may legitimately share identical
6
+ * content across different agent scopes. Tighten the unique partial index so
7
+ * duplicate content_hash values are only rejected within the same
8
+ * (agent_id, scope) tuple.
9
+ */
10
+ export declare function up(db: MigrationDb): void;
11
+ //# sourceMappingURL=056-agent-scoped-content-hash.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"056-agent-scoped-content-hash.d.ts","sourceRoot":"","sources":["../../src/migrations/056-agent-scoped-content-hash.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAS3C;;;;;;;GAOG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAcxC"}
@@ -0,0 +1,12 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 057: Repair legacy porter-tokenized memories_fts tables.
4
+ *
5
+ * Older installs could carry forward `tokenize='porter unicode61'`,
6
+ * which makes lexical recall over-stem soft human queries
7
+ * (`celebrate` -> `celebrity`). Recreate the FTS table with the
8
+ * canonical unicode61 tokenizer and backfill from the external
9
+ * `memories` content table.
10
+ */
11
+ export declare function up(db: MigrationDb): void;
12
+ //# sourceMappingURL=057-memories-fts-tokenizer-repair.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"057-memories-fts-tokenizer-repair.d.ts","sourceRoot":"","sources":["../../src/migrations/057-memories-fts-tokenizer-repair.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;;GAQG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAIxC"}
@@ -0,0 +1,16 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 058: Add indices that support the paginated-ID knowledge-graph
4
+ * queries introduced to fix Signet-AI/signetai#515.
5
+ *
6
+ * - `idx_entities_order` — compound index on the agent scope + ordering
7
+ * columns used by `listKnowledgeEntities`. Lets SQLite serve the `page`
8
+ * CTE as an index-only scan before counts are computed.
9
+ * - `idx_entities_extracted_mentions` — partial compound index narrowing
10
+ * the `pruneSingletonExtractedEntities` candidate scan from the full
11
+ * entity set to extracted entities only.
12
+ *
13
+ * Both are idempotent (`IF NOT EXISTS`) and safe to reapply.
14
+ */
15
+ export declare function up(db: MigrationDb): void;
16
+ //# sourceMappingURL=058-knowledge-graph-indices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"058-knowledge-graph-indices.d.ts","sourceRoot":"","sources":["../../src/migrations/058-knowledge-graph-indices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;;;;;;GAYG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAUxC"}
@@ -0,0 +1,11 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 059: Add claim identity to structured attributes.
4
+ *
5
+ * `entity_aspects` group facts by broad facet. That is not enough to decide
6
+ * supersession, because unrelated events under the same facet are siblings but
7
+ * not replacements. `claim_key` identifies the specific claim slot an attribute
8
+ * occupies within an aspect, such as `korean_restaurants_tried_count`.
9
+ */
10
+ export declare function up(db: MigrationDb): void;
11
+ //# sourceMappingURL=059-entity-attribute-claim-key.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"059-entity-attribute-claim-key.d.ts","sourceRoot":"","sources":["../../src/migrations/059-entity-attribute-claim-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;GAOG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAWxC"}
@@ -0,0 +1,10 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 060: Add navigable group identity to structured attributes.
4
+ *
5
+ * Aspects are broad rooms. `group_key` adds a dresser-level navigation
6
+ * layer between an aspect and a claim slot, so agents can browse large
7
+ * entity graphs without loading every attribute under an aspect.
8
+ */
9
+ export declare function up(db: MigrationDb): void;
10
+ //# sourceMappingURL=060-entity-attribute-group-key.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"060-entity-attribute-group-key.d.ts","sourceRoot":"","sources":["../../src/migrations/060-entity-attribute-group-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAiBxC"}
@@ -0,0 +1,12 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 061: Persist indexed artifact file mtimes.
4
+ *
5
+ * Cold-start reindex previously had no durable on-disk change marker, so an
6
+ * empty in-memory cache forced a full reread and reparse of every canonical
7
+ * artifact even when the database index was already current. Persisting the
8
+ * last indexed file mtime lets the daemon skip unchanged artifacts after a
9
+ * restart while still detecting real on-disk edits.
10
+ */
11
+ export declare function up(db: MigrationDb): void;
12
+ //# sourceMappingURL=061-memory-artifact-source-mtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"061-memory-artifact-source-mtime.d.ts","sourceRoot":"","sources":["../../src/migrations/061-memory-artifact-source-mtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;;GAQG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAIxC"}
@@ -0,0 +1,10 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 062: Soft-delete memory artifacts.
4
+ *
5
+ * Native harness memory files can disappear while still being useful lineage.
6
+ * Keep their provenance rows but mark them inactive so recall does not treat
7
+ * stale external files as current source truth.
8
+ */
9
+ export declare function up(db: MigrationDb): void;
10
+ //# sourceMappingURL=062-memory-artifact-soft-delete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"062-memory-artifact-soft-delete.d.ts","sourceRoot":"","sources":["../../src/migrations/062-memory-artifact-soft-delete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAaxC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Migration 063: avoid FTS churn on metadata-only memory updates.
3
+ *
4
+ * Recall updates access_count and last_accessed for returned memories. The
5
+ * legacy AFTER UPDATE trigger rebuilt the FTS row for every one of those
6
+ * metadata writes, adding avoidable latency to recall and prompt-submit. FTS
7
+ * content only depends on memories.content, so restrict the update trigger to
8
+ * content changes.
9
+ */
10
+ export declare function up(db: {
11
+ exec(sql: string): void;
12
+ }): void;
13
+ //# sourceMappingURL=063-content-only-memories-fts-update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"063-content-only-memories-fts-update.d.ts","sourceRoot":"","sources":["../../src/migrations/063-content-only-memories-fts-update.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE;IAAE,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG,IAAI,CAQxD"}
@@ -0,0 +1,11 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 064: source graph provenance.
4
+ *
5
+ * Sources such as Obsidian are mounted as read-only graph citizens. These
6
+ * provenance columns keep the source-native filesystem topology visible on the
7
+ * graph rows that were created from that source, so disconnect can purge them
8
+ * without touching user-authored memories or unrelated semantic graph rows.
9
+ */
10
+ export declare function up(db: MigrationDb): void;
11
+ //# sourceMappingURL=064-source-graph-provenance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"064-source-graph-provenance.d.ts","sourceRoot":"","sources":["../../src/migrations/064-source-graph-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAa3C;;;;;;;GAOG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkBxC"}
@@ -0,0 +1,10 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 065: agent-scoped source embeddings.
4
+ *
5
+ * Source chunks are retrieval views over external knowledge bases. They need an
6
+ * explicit agent owner so vector recall and scoped disconnect cannot leak or
7
+ * delete another agent's connected source chunks.
8
+ */
9
+ export declare function up(db: MigrationDb): void;
10
+ //# sourceMappingURL=065-source-embedding-agent-scope.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"065-source-embedding-agent-scope.d.ts","sourceRoot":"","sources":["../../src/migrations/065-source-embedding-agent-scope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAc3C;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAQxC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Migration 066: Memory Search Telemetry
3
+ *
4
+ * Local-only QA ledger for explicit recall requests. Unlike anonymous
5
+ * telemetry_events, this table intentionally stores query text and recalled
6
+ * result snapshots, so it must never be forwarded to external telemetry sinks.
7
+ */
8
+ import type { MigrationDb } from "./index";
9
+ export declare function up(db: MigrationDb): void;
10
+ //# sourceMappingURL=066-memory-search-telemetry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"066-memory-search-telemetry.d.ts","sourceRoot":"","sources":["../../src/migrations/066-memory-search-telemetry.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA+BxC"}
@@ -0,0 +1,10 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 067: Ontology proposal loop.
4
+ *
5
+ * Stores reviewable ontology maintenance operations before they mutate graph
6
+ * state. This is the first durable proposal-before-mutation surface for
7
+ * transcript/source-driven ontology maintenance.
8
+ */
9
+ export declare function up(db: MigrationDb): void;
10
+ //# sourceMappingURL=067-ontology-proposals.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"067-ontology-proposals.d.ts","sourceRoot":"","sources":["../../src/migrations/067-ontology-proposals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAa3C;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA2CxC"}
@@ -0,0 +1,9 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 068: Daily reflections.
4
+ *
5
+ * Stores generated daily narrative insights and user answers.
6
+ * Each row represents one day's reflection for one agent.
7
+ */
8
+ export declare function up(db: MigrationDb): void;
9
+ //# sourceMappingURL=068-daily-reflections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"068-daily-reflections.d.ts","sourceRoot":"","sources":["../../src/migrations/068-daily-reflections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA0BxC"}
@@ -0,0 +1,11 @@
1
+ import type { MigrationDb } from "./index";
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
+ export declare function up(db: MigrationDb): void;
11
+ //# sourceMappingURL=069-daily-reflections-multiple-insights.d.ts.map
@@ -0,0 +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,SAAS,CAAC;AAE3C;;;;;;;GAOG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAqBxC"}
@@ -0,0 +1,9 @@
1
+ import type { MigrationDb } from "./index";
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
+ export declare function up(db: MigrationDb): void;
9
+ //# sourceMappingURL=070-ontology-control-plane-state.d.ts.map
@@ -0,0 +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,SAAS,CAAC;AAqB3C;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAqCxC"}
@@ -0,0 +1,10 @@
1
+ import type { MigrationDb } from "./index";
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
+ export declare function up(db: MigrationDb): void;
10
+ //# sourceMappingURL=071-epistemic-assertions.d.ts.map
@@ -0,0 +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,SAAS,CAAC;AAE3C;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAyCxC"}
@@ -0,0 +1,9 @@
1
+ import type { MigrationDb } from "./index";
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
+ export declare function up(db: MigrationDb): void;
9
+ //# sourceMappingURL=072-agent-scoped-idempotency-key.d.ts.map
@@ -0,0 +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,SAAS,CAAC;AAY3C;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAcxC"}
@@ -0,0 +1,10 @@
1
+ import type { MigrationDb } from "./index";
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
+ export declare function up(db: MigrationDb): void;
10
+ //# sourceMappingURL=073-recall-context-dedupe.d.ts.map
@@ -0,0 +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,SAAS,CAAC;AAE3C;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAkCxC"}
@@ -0,0 +1,7 @@
1
+ import type { MigrationDb } from "./index";
2
+ /**
3
+ * Migration 074: provenance links from aggregate recall memories to the
4
+ * memory IDs used as evidence during synthesis.
5
+ */
6
+ export declare function up(db: MigrationDb): void;
7
+ //# sourceMappingURL=074-aggregate-memory-links.d.ts.map
@@ -0,0 +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,SAAS,CAAC;AAE3C;;;GAGG;AACH,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAYxC"}
@@ -0,0 +1,3 @@
1
+ import type { MigrationDb } from "./index";
2
+ export declare function up(db: MigrationDb): void;
3
+ //# sourceMappingURL=075-memory-artifact-source-provenance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"075-memory-artifact-source-provenance.d.ts","sourceRoot":"","sources":["../../src/migrations/075-memory-artifact-source-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAQ3C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAaxC"}
@@ -0,0 +1,3 @@
1
+ import type { MigrationDb } from "./index";
2
+ export declare function up(db: MigrationDb): void;
3
+ //# sourceMappingURL=076-temporal-edges.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"076-temporal-edges.d.ts","sourceRoot":"","sources":["../../src/migrations/076-temporal-edges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAsBxC"}
@@ -0,0 +1,3 @@
1
+ import type { MigrationDb } from "./index";
2
+ export declare function up(db: MigrationDb): void;
3
+ //# sourceMappingURL=077-entity-aliases.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"077-entity-aliases.d.ts","sourceRoot":"","sources":["../../src/migrations/077-entity-aliases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAuBxC"}
@@ -0,0 +1,3 @@
1
+ import type { MigrationDb } from "./index";
2
+ export declare function up(db: MigrationDb): void;
3
+ //# sourceMappingURL=078-api-keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"078-api-keys.d.ts","sourceRoot":"","sources":["../../src/migrations/078-api-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,wBAAgB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CA2BxC"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Migration runner for Signet's SQLite database
3
+ *
4
+ * Reads the current schema version from `schema_migrations`, runs
5
+ * any pending migrations in order (each inside a transaction), and
6
+ * records execution in `schema_migrations_audit`.
7
+ */
8
+ export interface MigrationDb {
9
+ exec(sql: string): void;
10
+ prepare(sql: string): {
11
+ run(...args: unknown[]): void;
12
+ get(...args: unknown[]): Record<string, unknown> | undefined;
13
+ all(...args: unknown[]): Record<string, unknown>[];
14
+ };
15
+ }
16
+ export interface MigrationArtifacts {
17
+ readonly tables?: readonly string[];
18
+ readonly columns?: readonly {
19
+ readonly table: string;
20
+ readonly column: string;
21
+ /** Skip verification when the table itself doesn't exist (conditional/repair migrations). */
22
+ readonly optional?: boolean;
23
+ }[];
24
+ }
25
+ export interface Migration {
26
+ readonly version: number;
27
+ readonly name: string;
28
+ readonly up: (db: MigrationDb) => void;
29
+ readonly artifacts?: MigrationArtifacts;
30
+ }
31
+ /** Ordered list of all migrations. New migrations go at the end. */
32
+ export declare const MIGRATIONS: readonly Migration[];
33
+ /**
34
+ * Check whether there are unapplied migrations without running them.
35
+ * Useful for backup-before-migrate logic in the daemon.
36
+ *
37
+ * Fully read-only: uses hasBogusVersion and findPhantomVersions for
38
+ * detection only — no deletes. All repairs run exclusively inside
39
+ * runMigrations so the daemon's backup version label stays accurate.
40
+ */
41
+ export declare function hasPendingMigrations(db: MigrationDb): boolean;
42
+ /** The highest migration version defined. */
43
+ export declare const LATEST_SCHEMA_VERSION: number;
44
+ /**
45
+ * Run all pending migrations against `db`.
46
+ *
47
+ * Idempotent — safe to call on every startup. Migrations that have
48
+ * already been applied (tracked in `schema_migrations`) are skipped.
49
+ * Set-based skip logic handles gaps from phantom repair correctly.
50
+ * Each migration runs inside a SAVEPOINT so a failure rolls back
51
+ * only that migration.
52
+ */
53
+ export declare function runMigrations(db: MigrationDb): void;
54
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAmFH,MAAM,WAAW,WAAW;IAC3B,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,GAAG,SAAS,CAAC;QAC7D,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;KACnD,CAAC;CACF;AAED,MAAM,WAAW,kBAAkB;IAClC,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS;QAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QACxB,6FAA6F;QAC7F,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;KAC5B,EAAE,CAAC;CACJ;AAED,MAAM,WAAW,SAAS;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,WAAW,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,SAAS,CAAC,EAAE,kBAAkB,CAAC;CACxC;AAED,oEAAoE;AACpE,eAAO,MAAM,UAAU,EAAE,SAAS,SAAS,EAsnB1C,CAAC;AAqOF;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,WAAW,GAAG,OAAO,CAiB7D;AAED,6CAA6C;AAC7C,eAAO,MAAM,qBAAqB,QAAkD,CAAC;AAsBrF;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAiDnD"}
@@ -0,0 +1,10 @@
1
+ export declare const NETWORK_MODES: readonly ["localhost", "tailscale"];
2
+ export type NetworkMode = (typeof NETWORK_MODES)[number];
3
+ export declare function normalizeNetworkMode(value: unknown): NetworkMode | null;
4
+ export declare function readNetworkMode(raw: unknown): NetworkMode;
5
+ export declare function networkModeFromBindHost(bind: string): NetworkMode;
6
+ export declare function resolveNetworkBinding(mode: NetworkMode): {
7
+ readonly host: string;
8
+ readonly bind: string;
9
+ };
10
+ //# sourceMappingURL=network.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../src/network.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,qCAAsC,CAAC;AACjE,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAQzD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,GAAG,IAAI,CAEvE;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,OAAO,GAAG,WAAW,CAIzD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,CAEjE;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,WAAW,GAAG;IACzD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACtB,CAYA"}
@@ -0,0 +1,15 @@
1
+ export declare function getOhMyPiConfigPath(env?: NodeJS.ProcessEnv): string;
2
+ export declare function readConfiguredOhMyPiAgentDir(env?: NodeJS.ProcessEnv): string | null;
3
+ /**
4
+ * Resolve the Oh My Pi agent directory.
5
+ *
6
+ * Mirrors the logic of Oh My Pi SDK's `getAgentDir()` (env → default) but
7
+ * adds a persistence layer via `~/.config/signet/oh-my-pi.json` so the CLI
8
+ * remembers the path across sessions even when the env var is unset.
9
+ */
10
+ export declare function resolveOhMyPiAgentDir(env?: NodeJS.ProcessEnv): string;
11
+ export declare function resolveOhMyPiExtensionsDir(env?: NodeJS.ProcessEnv): string;
12
+ export declare function listOhMyPiAgentDirCandidates(env?: NodeJS.ProcessEnv): readonly string[];
13
+ export declare function writeConfiguredOhMyPiAgentDir(pathValue: string, env?: NodeJS.ProcessEnv): string;
14
+ export declare function clearConfiguredOhMyPiAgentDir(env?: NodeJS.ProcessEnv): void;
15
+ //# sourceMappingURL=oh-my-pi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oh-my-pi.d.ts","sourceRoot":"","sources":["../src/oh-my-pi.ts"],"names":[],"mappings":"AA2BA,wBAAgB,mBAAmB,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,MAAM,CAEhF;AAED,wBAAgB,4BAA4B,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,MAAM,GAAG,IAAI,CAYhG;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,MAAM,CAIlF;AAED,wBAAgB,0BAA0B,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,MAAM,CAEvF;AAED,wBAAgB,4BAA4B,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,SAAS,MAAM,EAAE,CAQpG;AAED,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,MAAM,CAc7G;AAED,wBAAgB,6BAA6B,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,IAAI,CAQxF"}