@cleocode/core 2026.5.134 → 2026.6.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 (557) hide show
  1. package/binaries/README.md +49 -27
  2. package/dist/agents/{agent-registry.d.ts → agent-capacity-tracker.d.ts} +2 -2
  3. package/dist/agents/agent-capacity-tracker.d.ts.map +1 -0
  4. package/dist/agents/{agent-registry.js → agent-capacity-tracker.js} +2 -2
  5. package/dist/agents/agent-capacity-tracker.js.map +1 -0
  6. package/dist/agents/index.d.ts +1 -1
  7. package/dist/agents/index.d.ts.map +1 -1
  8. package/dist/agents/index.js +4 -2
  9. package/dist/agents/index.js.map +1 -1
  10. package/dist/agents/seed-install.d.ts +1 -1
  11. package/dist/agents/seed-install.d.ts.map +1 -1
  12. package/dist/agents/seed-install.js +42 -36
  13. package/dist/agents/seed-install.js.map +1 -1
  14. package/dist/caamp-export.d.ts +18 -0
  15. package/dist/caamp-export.d.ts.map +1 -0
  16. package/dist/caamp-export.js +18 -0
  17. package/dist/caamp-export.js.map +1 -0
  18. package/dist/conduit/http-transport.d.ts +7 -13
  19. package/dist/conduit/http-transport.d.ts.map +1 -1
  20. package/dist/conduit/http-transport.js +12 -59
  21. package/dist/conduit/http-transport.js.map +1 -1
  22. package/dist/conduit/local-transport.d.ts +1 -1
  23. package/dist/conduit/local-transport.d.ts.map +1 -1
  24. package/dist/conduit/local-transport.js +69 -43
  25. package/dist/conduit/local-transport.js.map +1 -1
  26. package/dist/dispatch/mutate-projection.d.ts.map +1 -1
  27. package/dist/dispatch/mutate-projection.js +11 -0
  28. package/dist/dispatch/mutate-projection.js.map +1 -1
  29. package/dist/docs/docs-read-model.d.ts +7 -0
  30. package/dist/docs/docs-read-model.d.ts.map +1 -1
  31. package/dist/docs/docs-read-model.js +5 -0
  32. package/dist/docs/docs-read-model.js.map +1 -1
  33. package/dist/docs/export-document.js +40526 -281
  34. package/dist/docs/export-document.js.map +6 -1
  35. package/dist/docs/supersede.d.ts.map +1 -1
  36. package/dist/docs/supersede.js +12 -7
  37. package/dist/docs/supersede.js.map +1 -1
  38. package/dist/doctor/db-substrate.d.ts.map +1 -1
  39. package/dist/doctor/db-substrate.js +10 -9
  40. package/dist/doctor/db-substrate.js.map +1 -1
  41. package/dist/git-shim-export.d.ts +18 -0
  42. package/dist/git-shim-export.d.ts.map +1 -0
  43. package/dist/git-shim-export.js +18 -0
  44. package/dist/git-shim-export.js.map +1 -0
  45. package/dist/hooks/payload-schemas.d.ts +2 -2
  46. package/dist/init.d.ts.map +1 -1
  47. package/dist/init.js +39 -32
  48. package/dist/init.js.map +1 -1
  49. package/dist/internal.d.ts +11 -3
  50. package/dist/internal.d.ts.map +1 -1
  51. package/dist/internal.js +14 -5
  52. package/dist/internal.js.map +1 -1
  53. package/dist/lafs-export.d.ts +18 -0
  54. package/dist/lafs-export.d.ts.map +1 -0
  55. package/dist/lafs-export.js +18 -0
  56. package/dist/lafs-export.js.map +1 -0
  57. package/dist/lifecycle/effective-stage.js +1 -1
  58. package/dist/lifecycle/index.js +1 -1
  59. package/dist/lifecycle/index.js.map +1 -1
  60. package/dist/lifecycle/rollup.js +1 -1
  61. package/dist/llm/credential-pool.d.ts +17 -0
  62. package/dist/llm/credential-pool.d.ts.map +1 -1
  63. package/dist/llm/credential-pool.js +40 -1
  64. package/dist/llm/credential-pool.js.map +1 -1
  65. package/dist/llm/plugin-facade.d.ts.map +1 -1
  66. package/dist/llm/plugin-facade.js +43392 -354
  67. package/dist/llm/plugin-facade.js.map +6 -1
  68. package/dist/llm/role-executor.d.ts +8 -0
  69. package/dist/llm/role-executor.d.ts.map +1 -1
  70. package/dist/llm/role-executor.js +96 -4
  71. package/dist/llm/role-executor.js.map +1 -1
  72. package/dist/llm/role-resolver.d.ts.map +1 -1
  73. package/dist/llm/role-resolver.js +56 -1
  74. package/dist/llm/role-resolver.js.map +1 -1
  75. package/dist/llm/transports/codex-oauth-headers.d.ts +51 -0
  76. package/dist/llm/transports/codex-oauth-headers.d.ts.map +1 -0
  77. package/dist/llm/transports/codex-oauth-headers.js +89 -0
  78. package/dist/llm/transports/codex-oauth-headers.js.map +1 -0
  79. package/dist/memory/claude-mem-migration.d.ts.map +1 -1
  80. package/dist/memory/claude-mem-migration.js +1 -3
  81. package/dist/memory/claude-mem-migration.js.map +1 -1
  82. package/dist/memory/decisions.d.ts.map +1 -1
  83. package/dist/memory/decisions.js +77 -23
  84. package/dist/memory/decisions.js.map +1 -1
  85. package/dist/memory/graph-memory-bridge.d.ts.map +1 -1
  86. package/dist/memory/graph-memory-bridge.js +12 -6
  87. package/dist/memory/graph-memory-bridge.js.map +1 -1
  88. package/dist/memory/learnings.d.ts +2 -2
  89. package/dist/memory/nexus-plasticity.d.ts +21 -9
  90. package/dist/memory/nexus-plasticity.d.ts.map +1 -1
  91. package/dist/memory/nexus-plasticity.js +44 -22
  92. package/dist/memory/nexus-plasticity.js.map +1 -1
  93. package/dist/memory/patterns.d.ts +2 -2
  94. package/dist/memory/redaction.d.ts +19 -3
  95. package/dist/memory/redaction.d.ts.map +1 -1
  96. package/dist/memory/redaction.js +64 -129
  97. package/dist/memory/redaction.js.map +6 -1
  98. package/dist/metrics/token-service.d.ts +8 -2
  99. package/dist/metrics/token-service.d.ts.map +1 -1
  100. package/dist/metrics/token-service.js +1 -1
  101. package/dist/metrics/token-service.js.map +1 -1
  102. package/dist/nexus/analyze-orchestrator.d.ts.map +1 -1
  103. package/dist/nexus/analyze-orchestrator.js +6 -8
  104. package/dist/nexus/analyze-orchestrator.js.map +1 -1
  105. package/dist/nexus/api-extractors/http-extractor.d.ts.map +1 -1
  106. package/dist/nexus/api-extractors/http-extractor.js +3 -3
  107. package/dist/nexus/api-extractors/http-extractor.js.map +1 -1
  108. package/dist/nexus/clusters.d.ts.map +1 -1
  109. package/dist/nexus/clusters.js +3 -2
  110. package/dist/nexus/clusters.js.map +1 -1
  111. package/dist/nexus/context.d.ts.map +1 -1
  112. package/dist/nexus/context.js +10 -16
  113. package/dist/nexus/context.js.map +1 -1
  114. package/dist/nexus/diff.d.ts.map +1 -1
  115. package/dist/nexus/diff.js +6 -4
  116. package/dist/nexus/diff.js.map +1 -1
  117. package/dist/nexus/export.d.ts.map +1 -1
  118. package/dist/nexus/export.js +7 -4
  119. package/dist/nexus/export.js.map +1 -1
  120. package/dist/nexus/flows.d.ts.map +1 -1
  121. package/dist/nexus/flows.js +3 -1
  122. package/dist/nexus/flows.js.map +1 -1
  123. package/dist/nexus/impact.d.ts +1 -1
  124. package/dist/nexus/impact.d.ts.map +1 -1
  125. package/dist/nexus/impact.js +31 -17
  126. package/dist/nexus/impact.js.map +1 -1
  127. package/dist/nexus/living-brain.d.ts.map +1 -1
  128. package/dist/nexus/living-brain.js +27 -15
  129. package/dist/nexus/living-brain.js.map +1 -1
  130. package/dist/nexus/nexus-bridge.d.ts.map +1 -1
  131. package/dist/nexus/nexus-bridge.js +28 -29
  132. package/dist/nexus/nexus-bridge.js.map +1 -1
  133. package/dist/nexus/plasticity-queries.d.ts +4 -2
  134. package/dist/nexus/plasticity-queries.d.ts.map +1 -1
  135. package/dist/nexus/plasticity-queries.js +27 -15
  136. package/dist/nexus/plasticity-queries.js.map +1 -1
  137. package/dist/nexus/query.d.ts.map +1 -1
  138. package/dist/nexus/query.js +6 -2
  139. package/dist/nexus/query.js.map +1 -1
  140. package/dist/nexus/registry.d.ts.map +1 -1
  141. package/dist/nexus/registry.js +65 -30
  142. package/dist/nexus/registry.js.map +1 -1
  143. package/dist/nexus/route-analysis.d.ts +3 -2
  144. package/dist/nexus/route-analysis.d.ts.map +1 -1
  145. package/dist/nexus/route-analysis.js +11 -10
  146. package/dist/nexus/route-analysis.js.map +1 -1
  147. package/dist/nexus/sigil.d.ts.map +1 -1
  148. package/dist/nexus/sigil.js +60 -13
  149. package/dist/nexus/sigil.js.map +1 -1
  150. package/dist/nexus/user-profile.d.ts +2 -1
  151. package/dist/nexus/user-profile.d.ts.map +1 -1
  152. package/dist/nexus/user-profile.js +8 -4
  153. package/dist/nexus/user-profile.js.map +1 -1
  154. package/dist/orchestrate/index.d.ts +1 -1
  155. package/dist/orchestrate/index.d.ts.map +1 -1
  156. package/dist/orchestrate/index.js +1 -1
  157. package/dist/orchestrate/index.js.map +1 -1
  158. package/dist/orchestrate/plan.d.ts +3 -3
  159. package/dist/orchestrate/plan.d.ts.map +1 -1
  160. package/dist/orchestrate/plan.js +7 -7
  161. package/dist/orchestrate/plan.js.map +1 -1
  162. package/dist/orchestrate/spawn-ops.js +2 -2
  163. package/dist/orchestrate/spawn-ops.js.map +1 -1
  164. package/dist/orchestration/classify.d.ts +2 -2
  165. package/dist/orchestration/classify.js +3 -3
  166. package/dist/orchestration/classify.js.map +1 -1
  167. package/dist/orchestration/validate-spawn.d.ts.map +1 -1
  168. package/dist/orchestration/validate-spawn.js +5 -5
  169. package/dist/orchestration/validate-spawn.js.map +1 -1
  170. package/dist/paths-export.d.ts +18 -0
  171. package/dist/paths-export.d.ts.map +1 -0
  172. package/dist/paths-export.js +18 -0
  173. package/dist/paths-export.js.map +1 -0
  174. package/dist/paths.d.ts.map +1 -1
  175. package/dist/paths.js +24 -11
  176. package/dist/paths.js.map +1 -1
  177. package/dist/playbooks/index.d.ts +1 -0
  178. package/dist/playbooks/index.d.ts.map +1 -1
  179. package/dist/playbooks/index.js +4 -0
  180. package/dist/playbooks/index.js.map +1 -1
  181. package/dist/playbooks/skill-node-executor.d.ts +155 -0
  182. package/dist/playbooks/skill-node-executor.d.ts.map +1 -0
  183. package/dist/playbooks/skill-node-executor.js +156 -0
  184. package/dist/playbooks/skill-node-executor.js.map +1 -0
  185. package/dist/repair.d.ts +3 -7
  186. package/dist/repair.d.ts.map +1 -1
  187. package/dist/repair.js +5 -43
  188. package/dist/repair.js.map +1 -1
  189. package/dist/sagas/migrate-containment.js +7 -7
  190. package/dist/sagas/migrate-containment.js.map +1 -1
  191. package/dist/scaffold/ensure-dirs.d.ts +8 -2
  192. package/dist/scaffold/ensure-dirs.d.ts.map +1 -1
  193. package/dist/scaffold/ensure-dirs.js +24 -11
  194. package/dist/scaffold/ensure-dirs.js.map +1 -1
  195. package/dist/scaffold/project-detection.d.ts +5 -1
  196. package/dist/scaffold/project-detection.d.ts.map +1 -1
  197. package/dist/scaffold/project-detection.js +9 -5
  198. package/dist/scaffold/project-detection.js.map +1 -1
  199. package/dist/sentient/hygiene-scan.js +6 -6
  200. package/dist/sentient/hygiene-scan.js.map +1 -1
  201. package/dist/sentient/proposal-dedup.js +2 -2
  202. package/dist/sentient/proposal-rate-limiter.js +1 -1
  203. package/dist/sentient/propose-tick.js +5 -5
  204. package/dist/sentient/propose-tick.js.map +1 -1
  205. package/dist/sentient/stage-drift-tick.js +3 -3
  206. package/dist/sentient/stage-drift-tick.js.map +1 -1
  207. package/dist/sequence/index.d.ts.map +1 -1
  208. package/dist/sequence/index.js +6 -2
  209. package/dist/sequence/index.js.map +1 -1
  210. package/dist/sessions/briefing.d.ts.map +1 -1
  211. package/dist/sessions/briefing.js +18 -4
  212. package/dist/sessions/briefing.js.map +1 -1
  213. package/dist/setup/sections/verification.js +2 -2
  214. package/dist/setup/sections/verification.js.map +1 -1
  215. package/dist/shutdown.d.ts +91 -0
  216. package/dist/shutdown.d.ts.map +1 -0
  217. package/dist/shutdown.js +120 -0
  218. package/dist/shutdown.js.map +1 -0
  219. package/dist/skills/index.d.ts +2 -0
  220. package/dist/skills/index.d.ts.map +1 -1
  221. package/dist/skills/index.js +1 -0
  222. package/dist/skills/index.js.map +1 -1
  223. package/dist/skills/skill-executor-adapter.d.ts +136 -0
  224. package/dist/skills/skill-executor-adapter.d.ts.map +1 -0
  225. package/dist/skills/skill-executor-adapter.js +137 -0
  226. package/dist/skills/skill-executor-adapter.js.map +1 -0
  227. package/dist/skills/usage-recorder.d.ts.map +1 -1
  228. package/dist/skills/usage-recorder.js +30 -0
  229. package/dist/skills/usage-recorder.js.map +1 -1
  230. package/dist/skills-export.d.ts +23 -0
  231. package/dist/skills-export.d.ts.map +1 -0
  232. package/dist/skills-export.js +23 -0
  233. package/dist/skills-export.js.map +1 -0
  234. package/dist/stats/index.d.ts.map +1 -1
  235. package/dist/stats/index.js +8 -3
  236. package/dist/stats/index.js.map +1 -1
  237. package/dist/store/agent-doctor.d.ts +3 -3
  238. package/dist/store/agent-doctor.d.ts.map +1 -1
  239. package/dist/store/agent-doctor.js +18 -13
  240. package/dist/store/agent-doctor.js.map +1 -1
  241. package/dist/store/agent-install.d.ts +6 -5
  242. package/dist/store/agent-install.d.ts.map +1 -1
  243. package/dist/store/agent-install.js +20 -16
  244. package/dist/store/agent-install.js.map +1 -1
  245. package/dist/store/agent-registry-accessor.d.ts +66 -28
  246. package/dist/store/agent-registry-accessor.d.ts.map +1 -1
  247. package/dist/store/agent-registry-accessor.js +248 -167
  248. package/dist/store/agent-registry-accessor.js.map +1 -1
  249. package/dist/store/agent-registry-store.d.ts +242 -0
  250. package/dist/store/agent-registry-store.d.ts.map +1 -0
  251. package/dist/store/agent-registry-store.js +501 -0
  252. package/dist/store/agent-registry-store.js.map +1 -0
  253. package/dist/store/agent-resolver.d.ts +8 -8
  254. package/dist/store/agent-resolver.d.ts.map +1 -1
  255. package/dist/store/agent-resolver.js +19 -17
  256. package/dist/store/agent-resolver.js.map +1 -1
  257. package/dist/store/backup-pack.d.ts.map +1 -1
  258. package/dist/store/backup-pack.js +24 -8
  259. package/dist/store/backup-pack.js.map +1 -1
  260. package/dist/store/conduit-sqlite.d.ts +181 -74
  261. package/dist/store/conduit-sqlite.d.ts.map +1 -1
  262. package/dist/store/conduit-sqlite.js +307 -528
  263. package/dist/store/conduit-sqlite.js.map +1 -1
  264. package/dist/store/cross-db-cleanup.d.ts +5 -5
  265. package/dist/store/cross-db-cleanup.d.ts.map +1 -1
  266. package/dist/store/cross-db-cleanup.js +12 -10
  267. package/dist/store/cross-db-cleanup.js.map +1 -1
  268. package/dist/store/data-accessor.d.ts +4 -4
  269. package/dist/store/data-accessor.js +5 -5
  270. package/dist/store/data-accessor.js.map +1 -1
  271. package/dist/store/data-safety-central.d.ts +83 -1
  272. package/dist/store/data-safety-central.d.ts.map +1 -1
  273. package/dist/store/data-safety-central.js +257 -0
  274. package/dist/store/data-safety-central.js.map +1 -1
  275. package/dist/store/db-helpers.d.ts +8 -2
  276. package/dist/store/db-helpers.d.ts.map +1 -1
  277. package/dist/store/db-helpers.js +6 -2
  278. package/dist/store/db-helpers.js.map +1 -1
  279. package/dist/store/dual-scope-db.d.ts +46 -4
  280. package/dist/store/dual-scope-db.d.ts.map +1 -1
  281. package/dist/store/dual-scope-db.js +103 -9
  282. package/dist/store/dual-scope-db.js.map +1 -1
  283. package/dist/store/exodus/__fixtures__/representative-fixture.d.ts +116 -0
  284. package/dist/store/exodus/__fixtures__/representative-fixture.d.ts.map +1 -0
  285. package/dist/store/exodus/__fixtures__/representative-fixture.js +274 -0
  286. package/dist/store/exodus/__fixtures__/representative-fixture.js.map +1 -0
  287. package/dist/store/exodus/index.d.ts +3 -1
  288. package/dist/store/exodus/index.d.ts.map +1 -1
  289. package/dist/store/exodus/index.js +3 -1
  290. package/dist/store/exodus/index.js.map +1 -1
  291. package/dist/store/exodus/migrate.d.ts +120 -1
  292. package/dist/store/exodus/migrate.d.ts.map +1 -1
  293. package/dist/store/exodus/migrate.js +923 -119
  294. package/dist/store/exodus/migrate.js.map +1 -1
  295. package/dist/store/exodus/on-open.d.ts +189 -0
  296. package/dist/store/exodus/on-open.d.ts.map +1 -0
  297. package/dist/store/exodus/on-open.js +464 -0
  298. package/dist/store/exodus/on-open.js.map +1 -0
  299. package/dist/store/exodus/table-name-map.d.ts +173 -0
  300. package/dist/store/exodus/table-name-map.d.ts.map +1 -0
  301. package/dist/store/exodus/table-name-map.js +660 -0
  302. package/dist/store/exodus/table-name-map.js.map +1 -0
  303. package/dist/store/exodus/verify-migration.d.ts +72 -0
  304. package/dist/store/exodus/verify-migration.d.ts.map +1 -0
  305. package/dist/store/exodus/verify-migration.js +678 -0
  306. package/dist/store/exodus/verify-migration.js.map +1 -0
  307. package/dist/store/exodus/verify.d.ts +32 -8
  308. package/dist/store/exodus/verify.d.ts.map +1 -1
  309. package/dist/store/exodus/verify.js +48 -142
  310. package/dist/store/exodus/verify.js.map +1 -1
  311. package/dist/store/index.d.ts +2 -3
  312. package/dist/store/index.d.ts.map +1 -1
  313. package/dist/store/index.js +2 -3
  314. package/dist/store/index.js.map +1 -1
  315. package/dist/store/memory-accessor.d.ts +31 -0
  316. package/dist/store/memory-accessor.d.ts.map +1 -1
  317. package/dist/store/memory-accessor.js +38 -0
  318. package/dist/store/memory-accessor.js.map +1 -1
  319. package/dist/store/memory-sqlite.d.ts +86 -13
  320. package/dist/store/memory-sqlite.d.ts.map +1 -1
  321. package/dist/store/memory-sqlite.js +326 -528
  322. package/dist/store/memory-sqlite.js.map +1 -1
  323. package/dist/store/migrate-signaldock-to-conduit.d.ts +1 -1
  324. package/dist/store/migrate-signaldock-to-conduit.d.ts.map +1 -1
  325. package/dist/store/migrate-signaldock-to-conduit.js +126 -35
  326. package/dist/store/migrate-signaldock-to-conduit.js.map +1 -1
  327. package/dist/store/migration-manager.d.ts +49 -0
  328. package/dist/store/migration-manager.d.ts.map +1 -1
  329. package/dist/store/migration-manager.js +167 -67
  330. package/dist/store/migration-manager.js.map +1 -1
  331. package/dist/store/migration-sqlite.d.ts +1 -1
  332. package/dist/store/migration-sqlite.d.ts.map +1 -1
  333. package/dist/store/migration-sqlite.js +32 -3
  334. package/dist/store/migration-sqlite.js.map +1 -1
  335. package/dist/store/nexus-sqlite.d.ts +152 -29
  336. package/dist/store/nexus-sqlite.d.ts.map +1 -1
  337. package/dist/store/nexus-sqlite.js +496 -177
  338. package/dist/store/nexus-sqlite.js.map +1 -1
  339. package/dist/store/nexus-validation-schemas.d.ts +32 -32
  340. package/dist/store/open-cleo-db.d.ts +37 -40
  341. package/dist/store/open-cleo-db.d.ts.map +1 -1
  342. package/dist/store/open-cleo-db.js +76 -153
  343. package/dist/store/open-cleo-db.js.map +1 -1
  344. package/dist/store/role-accessors-impl.d.ts +4 -4
  345. package/dist/store/role-accessors-impl.d.ts.map +1 -1
  346. package/dist/store/role-accessors-impl.js +18 -15
  347. package/dist/store/role-accessors-impl.js.map +1 -1
  348. package/dist/store/schema/{signaldock-schema.d.ts → agent-registry-schema.d.ts} +15 -5
  349. package/dist/store/schema/agent-registry-schema.d.ts.map +1 -0
  350. package/dist/store/schema/{signaldock-schema.js → agent-registry-schema.js} +15 -5
  351. package/dist/store/schema/agent-registry-schema.js.map +1 -0
  352. package/dist/store/schema/agent-schema.d.ts +1 -1
  353. package/dist/store/schema/agent-schema.js +4 -4
  354. package/dist/store/schema/agent-schema.js.map +1 -1
  355. package/dist/store/schema/attachments.d.ts +1 -1
  356. package/dist/store/schema/audit.d.ts +15 -5
  357. package/dist/store/schema/audit.d.ts.map +1 -1
  358. package/dist/store/schema/audit.js +12 -2
  359. package/dist/store/schema/audit.js.map +1 -1
  360. package/dist/store/schema/background-jobs.d.ts +1 -1
  361. package/dist/store/schema/cleo-global/{signaldock.d.ts → agent-registry.d.ts} +277 -271
  362. package/dist/store/schema/cleo-global/agent-registry.d.ts.map +1 -0
  363. package/dist/store/schema/cleo-global/{signaldock.js → agent-registry.js} +136 -125
  364. package/dist/store/schema/cleo-global/agent-registry.js.map +1 -0
  365. package/dist/store/schema/cleo-global/index.d.ts +29 -22
  366. package/dist/store/schema/cleo-global/index.d.ts.map +1 -1
  367. package/dist/store/schema/cleo-global/index.js +29 -22
  368. package/dist/store/schema/cleo-global/index.js.map +1 -1
  369. package/dist/store/schema/cleo-global/nexus.d.ts +36 -1034
  370. package/dist/store/schema/cleo-global/nexus.d.ts.map +1 -1
  371. package/dist/store/schema/cleo-global/nexus.js +32 -337
  372. package/dist/store/schema/cleo-global/nexus.js.map +1 -1
  373. package/dist/store/schema/cleo-global/skills.d.ts +16 -0
  374. package/dist/store/schema/cleo-global/skills.d.ts.map +1 -1
  375. package/dist/store/schema/cleo-global/skills.js +11 -0
  376. package/dist/store/schema/cleo-global/skills.js.map +1 -1
  377. package/dist/store/schema/{cleo-project → cleo-global}/telemetry.d.ts +33 -17
  378. package/dist/store/schema/cleo-global/telemetry.d.ts.map +1 -0
  379. package/dist/store/schema/{cleo-project → cleo-global}/telemetry.js +30 -18
  380. package/dist/store/schema/cleo-global/telemetry.js.map +1 -0
  381. package/dist/store/schema/cleo-project/audit.d.ts +8 -8
  382. package/dist/store/schema/cleo-project/audit.d.ts.map +1 -1
  383. package/dist/store/schema/cleo-project/audit.js +2 -6
  384. package/dist/store/schema/cleo-project/audit.js.map +1 -1
  385. package/dist/store/schema/cleo-project/docs.d.ts +1 -1
  386. package/dist/store/schema/cleo-project/index.d.ts +29 -12
  387. package/dist/store/schema/cleo-project/index.d.ts.map +1 -1
  388. package/dist/store/schema/cleo-project/index.js +29 -12
  389. package/dist/store/schema/cleo-project/index.js.map +1 -1
  390. package/dist/store/schema/cleo-project/lifecycle.d.ts +2 -2
  391. package/dist/store/schema/cleo-project/nexus-graph.d.ts +1067 -0
  392. package/dist/store/schema/cleo-project/nexus-graph.d.ts.map +1 -0
  393. package/dist/store/schema/cleo-project/nexus-graph.js +407 -0
  394. package/dist/store/schema/cleo-project/nexus-graph.js.map +1 -0
  395. package/dist/store/schema/cleo-project/provenance-orphans.d.ts +385 -0
  396. package/dist/store/schema/cleo-project/provenance-orphans.d.ts.map +1 -0
  397. package/dist/store/schema/cleo-project/provenance-orphans.js +142 -0
  398. package/dist/store/schema/cleo-project/provenance-orphans.js.map +1 -0
  399. package/dist/store/schema/cleo-project/provenance-rest.d.ts +1 -1
  400. package/dist/store/schema/cleo-project/runtime.d.ts +1 -1
  401. package/dist/store/schema/cleo-project/tasks-core-batch2.d.ts +1 -1
  402. package/dist/store/schema/cleo-project/tasks-core.d.ts +3 -3
  403. package/dist/store/schema/cleo-shared/brain.d.ts +711 -494
  404. package/dist/store/schema/cleo-shared/brain.d.ts.map +1 -1
  405. package/dist/store/schema/cleo-shared/brain.js +215 -134
  406. package/dist/store/schema/cleo-shared/brain.js.map +1 -1
  407. package/dist/store/schema/conduit-schema.d.ts +63 -51
  408. package/dist/store/schema/conduit-schema.d.ts.map +1 -1
  409. package/dist/store/schema/conduit-schema.js +23 -11
  410. package/dist/store/schema/conduit-schema.js.map +1 -1
  411. package/dist/store/schema/goal.d.ts +3 -2
  412. package/dist/store/schema/goal.d.ts.map +1 -1
  413. package/dist/store/schema/goal.js +3 -2
  414. package/dist/store/schema/goal.js.map +1 -1
  415. package/dist/store/schema/index.d.ts +1 -0
  416. package/dist/store/schema/index.d.ts.map +1 -1
  417. package/dist/store/schema/index.js +1 -0
  418. package/dist/store/schema/index.js.map +1 -1
  419. package/dist/store/schema/lifecycle.d.ts +2 -2
  420. package/dist/store/schema/memory-schema.d.ts +2 -2
  421. package/dist/store/schema/nexus-schema.d.ts +174 -115
  422. package/dist/store/schema/nexus-schema.d.ts.map +1 -1
  423. package/dist/store/schema/nexus-schema.js +175 -55
  424. package/dist/store/schema/nexus-schema.js.map +1 -1
  425. package/dist/store/schema/provenance/releases.d.ts +1 -1
  426. package/dist/store/schema/schema-utils.d.ts +78 -0
  427. package/dist/store/schema/schema-utils.d.ts.map +1 -0
  428. package/dist/store/schema/schema-utils.js +49 -0
  429. package/dist/store/schema/schema-utils.js.map +1 -0
  430. package/dist/store/schema/skills-schema.d.ts +81 -44
  431. package/dist/store/schema/skills-schema.d.ts.map +1 -1
  432. package/dist/store/schema/skills-schema.js +49 -16
  433. package/dist/store/schema/skills-schema.js.map +1 -1
  434. package/dist/store/schema/tasks.d.ts +3 -3
  435. package/dist/store/skills-db.d.ts +90 -50
  436. package/dist/store/skills-db.d.ts.map +1 -1
  437. package/dist/store/skills-db.js +132 -146
  438. package/dist/store/skills-db.js.map +1 -1
  439. package/dist/store/sqlite-backup.d.ts +2 -2
  440. package/dist/store/sqlite-backup.d.ts.map +1 -1
  441. package/dist/store/sqlite-backup.js +11 -10
  442. package/dist/store/sqlite-backup.js.map +1 -1
  443. package/dist/store/sqlite-data-accessor.d.ts.map +1 -1
  444. package/dist/store/sqlite-data-accessor.js +25 -18
  445. package/dist/store/sqlite-data-accessor.js.map +1 -1
  446. package/dist/store/sqlite.d.ts +72 -12
  447. package/dist/store/sqlite.d.ts.map +1 -1
  448. package/dist/store/sqlite.js +153 -89
  449. package/dist/store/sqlite.js.map +1 -1
  450. package/dist/store/tasks-schema.d.ts +4 -0
  451. package/dist/store/tasks-schema.d.ts.map +1 -1
  452. package/dist/store/tasks-schema.js +60 -0
  453. package/dist/store/tasks-schema.js.map +1 -1
  454. package/dist/store/tasks-sqlite.d.ts +2 -2
  455. package/dist/store/tasks-sqlite.d.ts.map +1 -1
  456. package/dist/store/tasks-sqlite.js +10 -5
  457. package/dist/store/tasks-sqlite.js.map +1 -1
  458. package/dist/store/umbrella-data-accessor.d.ts +17 -6
  459. package/dist/store/umbrella-data-accessor.d.ts.map +1 -1
  460. package/dist/store/umbrella-data-accessor.js +8 -8
  461. package/dist/store/umbrella-data-accessor.js.map +1 -1
  462. package/dist/store/validation-schemas.d.ts +241 -208
  463. package/dist/store/validation-schemas.d.ts.map +1 -1
  464. package/dist/system/health.d.ts.map +1 -1
  465. package/dist/system/health.js +11 -6
  466. package/dist/system/health.js.map +1 -1
  467. package/dist/system/project-health.d.ts.map +1 -1
  468. package/dist/system/project-health.js +58 -12
  469. package/dist/system/project-health.js.map +1 -1
  470. package/dist/tasks/add.d.ts +8 -0
  471. package/dist/tasks/add.d.ts.map +1 -1
  472. package/dist/tasks/add.js +101 -0
  473. package/dist/tasks/add.js.map +1 -1
  474. package/dist/tasks/cancelled-child-waiver-audit.d.ts +47 -0
  475. package/dist/tasks/cancelled-child-waiver-audit.d.ts.map +1 -0
  476. package/dist/tasks/cancelled-child-waiver-audit.js +34 -0
  477. package/dist/tasks/cancelled-child-waiver-audit.js.map +1 -0
  478. package/dist/tasks/complete.d.ts +22 -2
  479. package/dist/tasks/complete.d.ts.map +1 -1
  480. package/dist/tasks/complete.js +71 -6
  481. package/dist/tasks/complete.js.map +1 -1
  482. package/dist/tasks/compute-task-view.js +1 -1
  483. package/dist/tasks/session-scope.d.ts +5 -0
  484. package/dist/tasks/session-scope.d.ts.map +1 -1
  485. package/dist/tasks/session-scope.js +4 -0
  486. package/dist/tasks/session-scope.js.map +1 -1
  487. package/dist/tools/guard.d.ts +71 -1
  488. package/dist/tools/guard.d.ts.map +1 -1
  489. package/dist/tools/guard.js +73 -1
  490. package/dist/tools/guard.js.map +1 -1
  491. package/dist/tools/index.d.ts +21 -0
  492. package/dist/tools/index.d.ts.map +1 -1
  493. package/dist/tools/index.js +25 -0
  494. package/dist/tools/index.js.map +1 -1
  495. package/dist/upgrade.d.ts.map +1 -1
  496. package/dist/upgrade.js +22 -13
  497. package/dist/upgrade.js.map +1 -1
  498. package/dist/workgraph/containment.js +18 -18
  499. package/dist/workgraph/relations.js +2 -2
  500. package/dist/worktree/list.d.ts +1 -1
  501. package/dist/worktree/list.d.ts.map +1 -1
  502. package/dist/worktree/list.js +19 -21
  503. package/dist/worktree/list.js.map +1 -1
  504. package/dist/worktree-export.d.ts +18 -0
  505. package/dist/worktree-export.d.ts.map +1 -0
  506. package/dist/worktree-export.js +18 -0
  507. package/dist/worktree-export.js.map +1 -0
  508. package/migrations/drizzle-agent-registry/20260412000000_initial-global-agent-registry/migration.sql +29 -0
  509. package/migrations/drizzle-brain/20260601000001_t11522-brain-task-observations/migration.sql +28 -0
  510. package/migrations/drizzle-brain/20260601000002_t11522-inline-only-brain-tables/migration.sql +75 -0
  511. package/migrations/drizzle-cleo-global/20260531000001_t11363-consolidation-cleo-global/migration.sql +49 -144
  512. package/migrations/drizzle-cleo-global/20260531000001_t11363-consolidation-cleo-global/snapshot.json +8 -8
  513. package/migrations/drizzle-cleo-global/20260531000002_t11546-brain-usage-log/migration.sql +16 -0
  514. package/migrations/drizzle-cleo-global/20260601000001_t11544-skills-usage-project-id/migration.sql +12 -0
  515. package/migrations/drizzle-cleo-global/20260602000001_t11622-agent-registry-rename/migration.sql +80 -0
  516. package/migrations/drizzle-cleo-project/20260531000001_t11363-consolidation-cleo-project/migration.sql +26 -167
  517. package/migrations/drizzle-cleo-project/20260531000001_t11363-consolidation-cleo-project/snapshot.json +8 -8
  518. package/migrations/drizzle-cleo-project/20260531000002_t11546-brain-usage-log/migration.sql +21 -0
  519. package/migrations/drizzle-cleo-project/20260601000001_t11549-agent-credentials-brain-release-links/migration.sql +49 -0
  520. package/migrations/drizzle-cleo-project/20260601000002_t11538-project-nexus-graph/migration.sql +140 -0
  521. package/migrations/drizzle-cleo-project/20260602000002_t11649-token-usage-transport-mcp/migration.sql +146 -0
  522. package/migrations/drizzle-conduit/20260601000003_t11523-conduit-inline-schema/migration.sql +82 -0
  523. package/migrations/drizzle-nexus/20260421200001_t1165-baseline-reset/migration.sql +26 -8
  524. package/migrations/drizzle-nexus/20260601000001_t11545-nexus-relation-weights-partition/migration.sql +97 -0
  525. package/package.json +45 -13
  526. package/scripts/install-supervisor-binary.mjs +50 -201
  527. package/scripts/napi-binary-picker.mjs +267 -0
  528. package/dist/agents/agent-registry.d.ts.map +0 -1
  529. package/dist/agents/agent-registry.js.map +0 -1
  530. package/dist/store/data-safety.d.ts +0 -92
  531. package/dist/store/data-safety.d.ts.map +0 -1
  532. package/dist/store/data-safety.js +0 -274
  533. package/dist/store/data-safety.js.map +0 -1
  534. package/dist/store/schema/cleo-global/signaldock.d.ts.map +0 -1
  535. package/dist/store/schema/cleo-global/signaldock.js.map +0 -1
  536. package/dist/store/schema/cleo-project/telemetry.d.ts.map +0 -1
  537. package/dist/store/schema/cleo-project/telemetry.js.map +0 -1
  538. package/dist/store/schema/signaldock-schema.d.ts.map +0 -1
  539. package/dist/store/schema/signaldock-schema.js.map +0 -1
  540. package/dist/store/signaldock-sqlite.d.ts +0 -173
  541. package/dist/store/signaldock-sqlite.d.ts.map +0 -1
  542. package/dist/store/signaldock-sqlite.js +0 -445
  543. package/dist/store/signaldock-sqlite.js.map +0 -1
  544. package/migrations/drizzle-nexus/20260318205558_initial/migration.sql +0 -46
  545. package/migrations/drizzle-nexus/20260412000001_t529-nexus-graph-tables/migration.sql +0 -49
  546. package/migrations/drizzle-nexus/20260415000001_t622-project-registry-paths/migration.sql +0 -12
  547. package/migrations/drizzle-nexus/20260419000001_t998-nexus-plasticity/migration.sql +0 -13
  548. package/migrations/drizzle-nexus/20260423052640_t1077-add-user-profile-table/migration.sql +0 -16
  549. package/migrations/drizzle-nexus/20260423052640_t1077-add-user-profile-table/snapshot.json +0 -1531
  550. package/migrations/drizzle-nexus/20260424140538_t1148-add-sigils-table/migration.sql +0 -13
  551. package/migrations/drizzle-nexus/20260424140538_t1148-add-sigils-table/snapshot.json +0 -1652
  552. package/migrations/drizzle-nexus/20260504000001_t1839-fts5-nexus-symbols/migration.sql +0 -68
  553. package/migrations/drizzle-nexus/20260507135519_t9163-nexus-is-external/migration.sql +0 -20
  554. package/migrations/drizzle-nexus/20260507135519_t9163-nexus-is-external/snapshot.json +0 -1652
  555. package/migrations/drizzle-nexus/20260526222449_t11025-project-id-aliases/migration.sql +0 -16
  556. package/migrations/drizzle-signaldock/20260412000000_initial-global-signaldock/migration.sql +0 -209
  557. package/migrations/drizzle-signaldock/20260412000000_initial-global-signaldock/snapshot.json +0 -2060
@@ -0,0 +1,1067 @@
1
+ /**
2
+ * Project-scope `cleo.db` — consolidated **nexus code-graph** domain (4 tables).
3
+ *
4
+ * ## Residency move (ADR-090 · T11538 — residency step 1)
5
+ *
6
+ * The four per-project code/knowledge-graph tables — `nexus_nodes`,
7
+ * `nexus_relations`, `nexus_contracts`, `nexus_code_index` (ADR-090 "Category A")
8
+ * — wrongly lived in the GLOBAL-scope `cleo.db` (`../cleo-global/nexus.ts`),
9
+ * each carrying a redundant `project_id text NOT NULL` soft FK to
10
+ * `nexus_project_registry`. Per ADR-090 §2.1 they MUST reside in the consolidated
11
+ * PROJECT-scope `cleo.db` (`<projectRoot>/.cleo/cleo.db`) so that `.cleo/`
12
+ * becomes the complete portable living brain (tasks + memory + conduit + docs +
13
+ * code-graph).
14
+ *
15
+ * This module authors that **target shape** for the PROJECT scope. It is
16
+ * purely ADDITIVE: it DEFINES the four tables (minus `project_id`) so the
17
+ * type-checker and the project-scope schema barrel see them. It does NOT yet
18
+ * remove the global copies, move data, or rewire the live accessor — those are:
19
+ * - T11539: remove the four tables from `cleo-global/nexus.ts` + the
20
+ * extract-by-project data move (nexus global table count 10 → 6).
21
+ * - T11545: partition the Hebbian plasticity columns out of `nexus_relations`
22
+ * into the sibling `nexus_relation_weights` table (ADR-090 §5.3). That table
23
+ * also belongs in THIS module and MUST land with the move, not after — until
24
+ * then the plasticity columns (`weight`, `last_accessed_at`,
25
+ * `co_accessed_count`) stay inline on `nexus_relations` as they are in the
26
+ * global source.
27
+ *
28
+ * ## `project_id` DROPPED (ADR-090 §2.1)
29
+ *
30
+ * The `project_id` column is REMOVED from all four tables — scope is now
31
+ * implicit in which project's `.cleo/cleo.db` is open. Consequently every
32
+ * `idx_*_project*` index that LED with `project_id` is dropped or collapsed:
33
+ * - `idx_nexus_nodes_project` → dropped.
34
+ * - `idx_nexus_nodes_project_kind(project_id, kind)` → collapses to the
35
+ * already-present `idx_nexus_nodes_kind(kind)`.
36
+ * - `idx_nexus_nodes_project_file(project_id, file_path)` → collapses to the
37
+ * already-present `idx_nexus_nodes_file(file_path)`.
38
+ * - `idx_nexus_relations_project` → dropped;
39
+ * `idx_nexus_relations_project_type(project_id, type)` → collapses to
40
+ * `idx_nexus_relations_type(type)`.
41
+ * - `idx_nexus_contracts_project` → dropped;
42
+ * `idx_nexus_contracts_project_type(project_id, type)` → collapses to
43
+ * `idx_nexus_contracts_type(type)`.
44
+ * - `idx_nexus_code_index_project` → dropped.
45
+ * Every other column, index, and intra-graph soft FK is preserved BYTE-FOR-BYTE
46
+ * from the global source.
47
+ *
48
+ * ## FK reconciliation — intra-scope soft FKs preserved (ADR-090 §2.1)
49
+ *
50
+ * All graph references are intra-scope (within the same project DB) and stay
51
+ * plain `text` soft FKs exactly as in the global source — the graph stores
52
+ * unresolved external module specifiers in the same columns, so they were never
53
+ * enforced FKs:
54
+ * - `nexus_relations.{source_id,target_id}` → `nexus_nodes.id`.
55
+ * - `nexus_nodes.{parent_id,community_id}` → `nexus_nodes.id`.
56
+ * - `nexus_contracts.{source_symbol_id,route_node_id}` → `nexus_nodes.id`.
57
+ * Post-split these tables hold NO machine-specific absolute paths and NO
58
+ * cross-scope refs, so they are move-safe (ADR-090 §4 portability).
59
+ *
60
+ * ## E10 typing — inherited unchanged from the global source
61
+ *
62
+ * The enum const arrays ({@link NEXUS_NODE_KINDS}, {@link NEXUS_RELATION_TYPES},
63
+ * {@link NEXUS_CONTRACT_TYPES}, {@link CODE_INDEX_KINDS}) and typed booleans
64
+ * (`is_exported`, `is_external`, `exported` with `{ mode: 'boolean' }`) are
65
+ * re-minted here verbatim to keep this scope module self-contained, mirroring
66
+ * how `../cleo-global/nexus.ts` mints them in-module (no cross-package
67
+ * contracts SSoT exists for these). The two barrels live in DISJOINT Drizzle
68
+ * namespaces (`CleoProjectSchemaTypes` vs `CleoGlobalSchemaTypes` in
69
+ * `store/dual-scope-db.ts`), so the duplicated identifiers never collide.
70
+ *
71
+ * @task T11538
72
+ * @epic T11535
73
+ * @saga T11242
74
+ * @see ../cleo-global/nexus.ts (the GLOBAL source these four tables move OUT of)
75
+ * @see docs/migration/sqlite-schema-canonical.md §4 · §5b
76
+ * @see cleo docs fetch adr-090-nexus-graph-residency-split
77
+ */
78
+ /**
79
+ * All node kind values — matches `GraphNodeKind` in `@cleocode/contracts`.
80
+ * Kept as a const tuple for the Drizzle enum column. Ordering intentional:
81
+ * structural → module → callable → type → value-level → language-specific →
82
+ * graph-level → legacy.
83
+ *
84
+ * @task T11538 (project-scope target shape) · T529 (original)
85
+ */
86
+ export declare const NEXUS_NODE_KINDS: readonly ["file", "folder", "module", "namespace", "function", "method", "constructor", "class", "interface", "struct", "trait", "impl", "type_alias", "enum", "property", "constant", "variable", "static", "record", "delegate", "macro", "union", "typedef", "annotation", "template", "community", "process", "route", "tool", "section", "import", "export", "type"];
87
+ /** TypeScript type derived from {@link NEXUS_NODE_KINDS}. */
88
+ export type NexusNodeKind = (typeof NEXUS_NODE_KINDS)[number];
89
+ /**
90
+ * All relation type values — matches `GraphRelationType` in `@cleocode/contracts`.
91
+ *
92
+ * @task T11538 (project-scope target shape) · T529 (original)
93
+ */
94
+ export declare const NEXUS_RELATION_TYPES: readonly ["contains", "defines", "imports", "accesses", "calls", "extends", "implements", "method_overrides", "method_implements", "has_method", "has_property", "member_of", "step_in_process", "handles_route", "fetches", "handles_tool", "entry_point_of", "wraps", "queries", "documents", "applies_to", "co_changed", "co_cited_in_task"];
95
+ /** TypeScript type derived from {@link NEXUS_RELATION_TYPES}. */
96
+ export type NexusRelationType = (typeof NEXUS_RELATION_TYPES)[number];
97
+ /**
98
+ * All contract type values for cross-project API extraction.
99
+ *
100
+ * @task T11538 (project-scope target shape) · T1065 (original)
101
+ */
102
+ export declare const NEXUS_CONTRACT_TYPES: readonly ["http", "grpc", "topic"];
103
+ /** TypeScript type derived from {@link NEXUS_CONTRACT_TYPES}. */
104
+ export type NexusContractType = (typeof NEXUS_CONTRACT_TYPES)[number];
105
+ /**
106
+ * Legal `nexus_code_index.kind` values — tree-sitter symbol capture kinds.
107
+ *
108
+ * E10 §5b: `code_index.kind` was bare `text('kind')`. The legal set is the
109
+ * symbol-kind taxonomy documented on the source column (the tree-sitter capture
110
+ * groups): structural / module / callable / type-hierarchy / value-level
111
+ * constructs. Kept as an in-module const so the exodus CHECK derives from this
112
+ * identifier rather than a hand-typed literal.
113
+ *
114
+ * @task T11538 (project-scope target shape) · T11361 (global source)
115
+ */
116
+ export declare const CODE_INDEX_KINDS: readonly ["function", "method", "class", "interface", "type", "enum", "variable", "constant", "module", "import", "export", "struct", "trait", "impl"];
117
+ /** TypeScript union derived from {@link CODE_INDEX_KINDS}. */
118
+ export type CodeIndexKind = (typeof CODE_INDEX_KINDS)[number];
119
+ /**
120
+ * `nexus_nodes` — one row per symbol or structural element in the code
121
+ * intelligence graph. PROJECT-scope: `project_id` dropped (ADR-090 §2.1) —
122
+ * scope is implicit in the owning `.cleo/cleo.db`.
123
+ *
124
+ * @task T11538 (project-scope target shape) · T11361 (global source) · T529 (original)
125
+ */
126
+ export declare const nexusNodes: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
127
+ name: "nexus_nodes";
128
+ schema: undefined;
129
+ columns: {
130
+ id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
131
+ name: string;
132
+ tableName: "nexus_nodes";
133
+ dataType: "string";
134
+ data: string;
135
+ driverParam: string;
136
+ notNull: true;
137
+ hasDefault: false;
138
+ isPrimaryKey: true;
139
+ isAutoincrement: false;
140
+ hasRuntimeDefault: false;
141
+ enumValues: [string, ...string[]];
142
+ baseColumn: never;
143
+ identity: undefined;
144
+ generated: undefined;
145
+ }, {}>;
146
+ kind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
147
+ name: string;
148
+ tableName: "nexus_nodes";
149
+ dataType: "string enum";
150
+ data: "function" | "file" | "enum" | "folder" | "module" | "namespace" | "method" | "constructor" | "class" | "interface" | "struct" | "trait" | "impl" | "type_alias" | "property" | "constant" | "variable" | "static" | "record" | "delegate" | "macro" | "union" | "typedef" | "annotation" | "template" | "community" | "process" | "route" | "tool" | "section" | "import" | "export" | "type";
151
+ driverParam: string;
152
+ notNull: true;
153
+ hasDefault: false;
154
+ isPrimaryKey: false;
155
+ isAutoincrement: false;
156
+ hasRuntimeDefault: false;
157
+ enumValues: ["file", "folder", "module", "namespace", "function", "method", "constructor", "class", "interface", "struct", "trait", "impl", "type_alias", "enum", "property", "constant", "variable", "static", "record", "delegate", "macro", "union", "typedef", "annotation", "template", "community", "process", "route", "tool", "section", "import", "export", "type"];
158
+ baseColumn: never;
159
+ identity: undefined;
160
+ generated: undefined;
161
+ }, {}>;
162
+ label: import("drizzle-orm/sqlite-core").SQLiteColumn<{
163
+ name: string;
164
+ tableName: "nexus_nodes";
165
+ dataType: "string";
166
+ data: string;
167
+ driverParam: string;
168
+ notNull: true;
169
+ hasDefault: false;
170
+ isPrimaryKey: false;
171
+ isAutoincrement: false;
172
+ hasRuntimeDefault: false;
173
+ enumValues: [string, ...string[]];
174
+ baseColumn: never;
175
+ identity: undefined;
176
+ generated: undefined;
177
+ }, {}>;
178
+ name: import("drizzle-orm/sqlite-core").SQLiteColumn<{
179
+ name: string;
180
+ tableName: "nexus_nodes";
181
+ dataType: "string";
182
+ data: string;
183
+ driverParam: string;
184
+ notNull: false;
185
+ hasDefault: false;
186
+ isPrimaryKey: false;
187
+ isAutoincrement: false;
188
+ hasRuntimeDefault: false;
189
+ enumValues: [string, ...string[]];
190
+ baseColumn: never;
191
+ identity: undefined;
192
+ generated: undefined;
193
+ }, {}>;
194
+ filePath: import("drizzle-orm/sqlite-core").SQLiteColumn<{
195
+ name: string;
196
+ tableName: "nexus_nodes";
197
+ dataType: "string";
198
+ data: string;
199
+ driverParam: string;
200
+ notNull: false;
201
+ hasDefault: false;
202
+ isPrimaryKey: false;
203
+ isAutoincrement: false;
204
+ hasRuntimeDefault: false;
205
+ enumValues: [string, ...string[]];
206
+ baseColumn: never;
207
+ identity: undefined;
208
+ generated: undefined;
209
+ }, {}>;
210
+ startLine: import("drizzle-orm/sqlite-core").SQLiteColumn<{
211
+ name: string;
212
+ tableName: "nexus_nodes";
213
+ dataType: "number int53";
214
+ data: number;
215
+ driverParam: number;
216
+ notNull: false;
217
+ hasDefault: false;
218
+ isPrimaryKey: false;
219
+ isAutoincrement: false;
220
+ hasRuntimeDefault: false;
221
+ enumValues: undefined;
222
+ baseColumn: never;
223
+ identity: undefined;
224
+ generated: undefined;
225
+ }, {}>;
226
+ endLine: import("drizzle-orm/sqlite-core").SQLiteColumn<{
227
+ name: string;
228
+ tableName: "nexus_nodes";
229
+ dataType: "number int53";
230
+ data: number;
231
+ driverParam: number;
232
+ notNull: false;
233
+ hasDefault: false;
234
+ isPrimaryKey: false;
235
+ isAutoincrement: false;
236
+ hasRuntimeDefault: false;
237
+ enumValues: undefined;
238
+ baseColumn: never;
239
+ identity: undefined;
240
+ generated: undefined;
241
+ }, {}>;
242
+ language: import("drizzle-orm/sqlite-core").SQLiteColumn<{
243
+ name: string;
244
+ tableName: "nexus_nodes";
245
+ dataType: "string";
246
+ data: string;
247
+ driverParam: string;
248
+ notNull: false;
249
+ hasDefault: false;
250
+ isPrimaryKey: false;
251
+ isAutoincrement: false;
252
+ hasRuntimeDefault: false;
253
+ enumValues: [string, ...string[]];
254
+ baseColumn: never;
255
+ identity: undefined;
256
+ generated: undefined;
257
+ }, {}>;
258
+ isExported: import("drizzle-orm/sqlite-core").SQLiteColumn<{
259
+ name: string;
260
+ tableName: "nexus_nodes";
261
+ dataType: "boolean";
262
+ data: boolean;
263
+ driverParam: number;
264
+ notNull: true;
265
+ hasDefault: true;
266
+ isPrimaryKey: false;
267
+ isAutoincrement: false;
268
+ hasRuntimeDefault: false;
269
+ enumValues: undefined;
270
+ baseColumn: never;
271
+ identity: undefined;
272
+ generated: undefined;
273
+ }, {}>;
274
+ parentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
275
+ name: string;
276
+ tableName: "nexus_nodes";
277
+ dataType: "string";
278
+ data: string;
279
+ driverParam: string;
280
+ notNull: false;
281
+ hasDefault: false;
282
+ isPrimaryKey: false;
283
+ isAutoincrement: false;
284
+ hasRuntimeDefault: false;
285
+ enumValues: [string, ...string[]];
286
+ baseColumn: never;
287
+ identity: undefined;
288
+ generated: undefined;
289
+ }, {}>;
290
+ parametersJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
291
+ name: string;
292
+ tableName: "nexus_nodes";
293
+ dataType: "string";
294
+ data: string;
295
+ driverParam: string;
296
+ notNull: false;
297
+ hasDefault: false;
298
+ isPrimaryKey: false;
299
+ isAutoincrement: false;
300
+ hasRuntimeDefault: false;
301
+ enumValues: [string, ...string[]];
302
+ baseColumn: never;
303
+ identity: undefined;
304
+ generated: undefined;
305
+ }, {}>;
306
+ returnType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
307
+ name: string;
308
+ tableName: "nexus_nodes";
309
+ dataType: "string";
310
+ data: string;
311
+ driverParam: string;
312
+ notNull: false;
313
+ hasDefault: false;
314
+ isPrimaryKey: false;
315
+ isAutoincrement: false;
316
+ hasRuntimeDefault: false;
317
+ enumValues: [string, ...string[]];
318
+ baseColumn: never;
319
+ identity: undefined;
320
+ generated: undefined;
321
+ }, {}>;
322
+ docSummary: import("drizzle-orm/sqlite-core").SQLiteColumn<{
323
+ name: string;
324
+ tableName: "nexus_nodes";
325
+ dataType: "string";
326
+ data: string;
327
+ driverParam: string;
328
+ notNull: false;
329
+ hasDefault: false;
330
+ isPrimaryKey: false;
331
+ isAutoincrement: false;
332
+ hasRuntimeDefault: false;
333
+ enumValues: [string, ...string[]];
334
+ baseColumn: never;
335
+ identity: undefined;
336
+ generated: undefined;
337
+ }, {}>;
338
+ communityId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
339
+ name: string;
340
+ tableName: "nexus_nodes";
341
+ dataType: "string";
342
+ data: string;
343
+ driverParam: string;
344
+ notNull: false;
345
+ hasDefault: false;
346
+ isPrimaryKey: false;
347
+ isAutoincrement: false;
348
+ hasRuntimeDefault: false;
349
+ enumValues: [string, ...string[]];
350
+ baseColumn: never;
351
+ identity: undefined;
352
+ generated: undefined;
353
+ }, {}>;
354
+ metaJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
355
+ name: string;
356
+ tableName: "nexus_nodes";
357
+ dataType: "string";
358
+ data: string;
359
+ driverParam: string;
360
+ notNull: false;
361
+ hasDefault: false;
362
+ isPrimaryKey: false;
363
+ isAutoincrement: false;
364
+ hasRuntimeDefault: false;
365
+ enumValues: [string, ...string[]];
366
+ baseColumn: never;
367
+ identity: undefined;
368
+ generated: undefined;
369
+ }, {}>;
370
+ isExternal: import("drizzle-orm/sqlite-core").SQLiteColumn<{
371
+ name: string;
372
+ tableName: "nexus_nodes";
373
+ dataType: "boolean";
374
+ data: boolean;
375
+ driverParam: number;
376
+ notNull: true;
377
+ hasDefault: true;
378
+ isPrimaryKey: false;
379
+ isAutoincrement: false;
380
+ hasRuntimeDefault: false;
381
+ enumValues: undefined;
382
+ baseColumn: never;
383
+ identity: undefined;
384
+ generated: undefined;
385
+ }, {}>;
386
+ indexedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
387
+ name: string;
388
+ tableName: "nexus_nodes";
389
+ dataType: "string";
390
+ data: string;
391
+ driverParam: string;
392
+ notNull: true;
393
+ hasDefault: true;
394
+ isPrimaryKey: false;
395
+ isAutoincrement: false;
396
+ hasRuntimeDefault: false;
397
+ enumValues: [string, ...string[]];
398
+ baseColumn: never;
399
+ identity: undefined;
400
+ generated: undefined;
401
+ }, {}>;
402
+ };
403
+ dialect: "sqlite";
404
+ }>;
405
+ /**
406
+ * `nexus_relations` — one row per directed graph edge. PROJECT-scope:
407
+ * `project_id` dropped (ADR-090 §2.1). The Hebbian plasticity columns
408
+ * (`weight`, `last_accessed_at`, `co_accessed_count`) were PARTITIONED out into
409
+ * the sibling {@link nexusRelationWeights} table by T11545 (ADR-090 §5.3).
410
+ *
411
+ * @task T11545 (plasticity partition) · T11538 (project-scope target shape) · T11361 (global source) · T529 (original)
412
+ */
413
+ export declare const nexusRelations: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
414
+ name: "nexus_relations";
415
+ schema: undefined;
416
+ columns: {
417
+ id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
418
+ name: string;
419
+ tableName: "nexus_relations";
420
+ dataType: "string";
421
+ data: string;
422
+ driverParam: string;
423
+ notNull: true;
424
+ hasDefault: false;
425
+ isPrimaryKey: true;
426
+ isAutoincrement: false;
427
+ hasRuntimeDefault: false;
428
+ enumValues: [string, ...string[]];
429
+ baseColumn: never;
430
+ identity: undefined;
431
+ generated: undefined;
432
+ }, {}>;
433
+ sourceId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
434
+ name: string;
435
+ tableName: "nexus_relations";
436
+ dataType: "string";
437
+ data: string;
438
+ driverParam: string;
439
+ notNull: true;
440
+ hasDefault: false;
441
+ isPrimaryKey: false;
442
+ isAutoincrement: false;
443
+ hasRuntimeDefault: false;
444
+ enumValues: [string, ...string[]];
445
+ baseColumn: never;
446
+ identity: undefined;
447
+ generated: undefined;
448
+ }, {}>;
449
+ targetId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
450
+ name: string;
451
+ tableName: "nexus_relations";
452
+ dataType: "string";
453
+ data: string;
454
+ driverParam: string;
455
+ notNull: true;
456
+ hasDefault: false;
457
+ isPrimaryKey: false;
458
+ isAutoincrement: false;
459
+ hasRuntimeDefault: false;
460
+ enumValues: [string, ...string[]];
461
+ baseColumn: never;
462
+ identity: undefined;
463
+ generated: undefined;
464
+ }, {}>;
465
+ type: import("drizzle-orm/sqlite-core").SQLiteColumn<{
466
+ name: string;
467
+ tableName: "nexus_relations";
468
+ dataType: "string enum";
469
+ data: "contains" | "defines" | "imports" | "accesses" | "calls" | "extends" | "implements" | "method_overrides" | "method_implements" | "has_method" | "has_property" | "member_of" | "step_in_process" | "handles_route" | "fetches" | "handles_tool" | "entry_point_of" | "wraps" | "queries" | "documents" | "applies_to" | "co_changed" | "co_cited_in_task";
470
+ driverParam: string;
471
+ notNull: true;
472
+ hasDefault: false;
473
+ isPrimaryKey: false;
474
+ isAutoincrement: false;
475
+ hasRuntimeDefault: false;
476
+ enumValues: ["contains", "defines", "imports", "accesses", "calls", "extends", "implements", "method_overrides", "method_implements", "has_method", "has_property", "member_of", "step_in_process", "handles_route", "fetches", "handles_tool", "entry_point_of", "wraps", "queries", "documents", "applies_to", "co_changed", "co_cited_in_task"];
477
+ baseColumn: never;
478
+ identity: undefined;
479
+ generated: undefined;
480
+ }, {}>;
481
+ confidence: import("drizzle-orm/sqlite-core").SQLiteColumn<{
482
+ name: string;
483
+ tableName: "nexus_relations";
484
+ dataType: "number double";
485
+ data: number;
486
+ driverParam: number;
487
+ notNull: true;
488
+ hasDefault: false;
489
+ isPrimaryKey: false;
490
+ isAutoincrement: false;
491
+ hasRuntimeDefault: false;
492
+ enumValues: undefined;
493
+ baseColumn: never;
494
+ identity: undefined;
495
+ generated: undefined;
496
+ }, {}>;
497
+ reason: import("drizzle-orm/sqlite-core").SQLiteColumn<{
498
+ name: string;
499
+ tableName: "nexus_relations";
500
+ dataType: "string";
501
+ data: string;
502
+ driverParam: string;
503
+ notNull: false;
504
+ hasDefault: false;
505
+ isPrimaryKey: false;
506
+ isAutoincrement: false;
507
+ hasRuntimeDefault: false;
508
+ enumValues: [string, ...string[]];
509
+ baseColumn: never;
510
+ identity: undefined;
511
+ generated: undefined;
512
+ }, {}>;
513
+ step: import("drizzle-orm/sqlite-core").SQLiteColumn<{
514
+ name: string;
515
+ tableName: "nexus_relations";
516
+ dataType: "number int53";
517
+ data: number;
518
+ driverParam: number;
519
+ notNull: false;
520
+ hasDefault: false;
521
+ isPrimaryKey: false;
522
+ isAutoincrement: false;
523
+ hasRuntimeDefault: false;
524
+ enumValues: undefined;
525
+ baseColumn: never;
526
+ identity: undefined;
527
+ generated: undefined;
528
+ }, {}>;
529
+ indexedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
530
+ name: string;
531
+ tableName: "nexus_relations";
532
+ dataType: "string";
533
+ data: string;
534
+ driverParam: string;
535
+ notNull: true;
536
+ hasDefault: true;
537
+ isPrimaryKey: false;
538
+ isAutoincrement: false;
539
+ hasRuntimeDefault: false;
540
+ enumValues: [string, ...string[]];
541
+ baseColumn: never;
542
+ identity: undefined;
543
+ generated: undefined;
544
+ }, {}>;
545
+ };
546
+ dialect: "sqlite";
547
+ }>;
548
+ /**
549
+ * `nexus_relation_weights` — plasticity weights for `nexus_relations` edges
550
+ * (Hebbian co-access, T998). PROJECT-scope sibling 1:1 table keyed by
551
+ * `relation_id`, partitioned out of `nexus_relations` by T11545 (ADR-090 §5.3)
552
+ * to keep the read-mostly structural graph row narrow and isolate the
553
+ * write-heavy plasticity hot path.
554
+ *
555
+ * A relation has at most one weights row; rows are created lazily on the first
556
+ * co-access strengthening event (UPSERT in `nexus-plasticity.ts`), so absence
557
+ * means "never strengthened" (treat as weight 0.0). `relation_id` is an
558
+ * intra-scope soft FK to `nexus_relations.id` (symmetric with the graph's
559
+ * soft-FK convention — no DB-level FK). Move-safe (no absolute paths, no
560
+ * cross-scope refs) per ADR-090 §4.
561
+ *
562
+ * @task T11545 (project-scope target shape) · T998 (original plasticity columns)
563
+ * @epic T11535
564
+ */
565
+ export declare const nexusRelationWeights: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
566
+ name: "nexus_relation_weights";
567
+ schema: undefined;
568
+ columns: {
569
+ relationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
570
+ name: string;
571
+ tableName: "nexus_relation_weights";
572
+ dataType: "string";
573
+ data: string;
574
+ driverParam: string;
575
+ notNull: true;
576
+ hasDefault: false;
577
+ isPrimaryKey: true;
578
+ isAutoincrement: false;
579
+ hasRuntimeDefault: false;
580
+ enumValues: [string, ...string[]];
581
+ baseColumn: never;
582
+ identity: undefined;
583
+ generated: undefined;
584
+ }, {}>;
585
+ weight: import("drizzle-orm/sqlite-core").SQLiteColumn<{
586
+ name: string;
587
+ tableName: "nexus_relation_weights";
588
+ dataType: "number double";
589
+ data: number;
590
+ driverParam: number;
591
+ notNull: true;
592
+ hasDefault: true;
593
+ isPrimaryKey: false;
594
+ isAutoincrement: false;
595
+ hasRuntimeDefault: false;
596
+ enumValues: undefined;
597
+ baseColumn: never;
598
+ identity: undefined;
599
+ generated: undefined;
600
+ }, {}>;
601
+ lastAccessedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
602
+ name: string;
603
+ tableName: "nexus_relation_weights";
604
+ dataType: "string";
605
+ data: string;
606
+ driverParam: string;
607
+ notNull: false;
608
+ hasDefault: false;
609
+ isPrimaryKey: false;
610
+ isAutoincrement: false;
611
+ hasRuntimeDefault: false;
612
+ enumValues: [string, ...string[]];
613
+ baseColumn: never;
614
+ identity: undefined;
615
+ generated: undefined;
616
+ }, {}>;
617
+ coAccessedCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
618
+ name: string;
619
+ tableName: "nexus_relation_weights";
620
+ dataType: "number int53";
621
+ data: number;
622
+ driverParam: number;
623
+ notNull: true;
624
+ hasDefault: true;
625
+ isPrimaryKey: false;
626
+ isAutoincrement: false;
627
+ hasRuntimeDefault: false;
628
+ enumValues: undefined;
629
+ baseColumn: never;
630
+ identity: undefined;
631
+ generated: undefined;
632
+ }, {}>;
633
+ };
634
+ dialect: "sqlite";
635
+ }>;
636
+ /**
637
+ * `nexus_contracts` — HTTP/gRPC/topic contract registry extracted from the
638
+ * project's code. PROJECT-scope: `project_id` dropped (ADR-090 §2.1).
639
+ *
640
+ * @task T11538 (project-scope target shape) · T11361 (global source) · T1065 (original)
641
+ */
642
+ export declare const nexusContracts: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
643
+ name: "nexus_contracts";
644
+ schema: undefined;
645
+ columns: {
646
+ contractId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
647
+ name: string;
648
+ tableName: "nexus_contracts";
649
+ dataType: "string";
650
+ data: string;
651
+ driverParam: string;
652
+ notNull: true;
653
+ hasDefault: false;
654
+ isPrimaryKey: true;
655
+ isAutoincrement: false;
656
+ hasRuntimeDefault: false;
657
+ enumValues: [string, ...string[]];
658
+ baseColumn: never;
659
+ identity: undefined;
660
+ generated: undefined;
661
+ }, {}>;
662
+ type: import("drizzle-orm/sqlite-core").SQLiteColumn<{
663
+ name: string;
664
+ tableName: "nexus_contracts";
665
+ dataType: "string enum";
666
+ data: "http" | "grpc" | "topic";
667
+ driverParam: string;
668
+ notNull: true;
669
+ hasDefault: false;
670
+ isPrimaryKey: false;
671
+ isAutoincrement: false;
672
+ hasRuntimeDefault: false;
673
+ enumValues: ["http", "grpc", "topic"];
674
+ baseColumn: never;
675
+ identity: undefined;
676
+ generated: undefined;
677
+ }, {}>;
678
+ path: import("drizzle-orm/sqlite-core").SQLiteColumn<{
679
+ name: string;
680
+ tableName: "nexus_contracts";
681
+ dataType: "string";
682
+ data: string;
683
+ driverParam: string;
684
+ notNull: true;
685
+ hasDefault: false;
686
+ isPrimaryKey: false;
687
+ isAutoincrement: false;
688
+ hasRuntimeDefault: false;
689
+ enumValues: [string, ...string[]];
690
+ baseColumn: never;
691
+ identity: undefined;
692
+ generated: undefined;
693
+ }, {}>;
694
+ method: import("drizzle-orm/sqlite-core").SQLiteColumn<{
695
+ name: string;
696
+ tableName: "nexus_contracts";
697
+ dataType: "string";
698
+ data: string;
699
+ driverParam: string;
700
+ notNull: false;
701
+ hasDefault: false;
702
+ isPrimaryKey: false;
703
+ isAutoincrement: false;
704
+ hasRuntimeDefault: false;
705
+ enumValues: [string, ...string[]];
706
+ baseColumn: never;
707
+ identity: undefined;
708
+ generated: undefined;
709
+ }, {}>;
710
+ requestSchemaJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
711
+ name: string;
712
+ tableName: "nexus_contracts";
713
+ dataType: "string";
714
+ data: string;
715
+ driverParam: string;
716
+ notNull: true;
717
+ hasDefault: true;
718
+ isPrimaryKey: false;
719
+ isAutoincrement: false;
720
+ hasRuntimeDefault: false;
721
+ enumValues: [string, ...string[]];
722
+ baseColumn: never;
723
+ identity: undefined;
724
+ generated: undefined;
725
+ }, {}>;
726
+ responseSchemaJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
727
+ name: string;
728
+ tableName: "nexus_contracts";
729
+ dataType: "string";
730
+ data: string;
731
+ driverParam: string;
732
+ notNull: true;
733
+ hasDefault: true;
734
+ isPrimaryKey: false;
735
+ isAutoincrement: false;
736
+ hasRuntimeDefault: false;
737
+ enumValues: [string, ...string[]];
738
+ baseColumn: never;
739
+ identity: undefined;
740
+ generated: undefined;
741
+ }, {}>;
742
+ sourceSymbolId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
743
+ name: string;
744
+ tableName: "nexus_contracts";
745
+ dataType: "string";
746
+ data: string;
747
+ driverParam: string;
748
+ notNull: false;
749
+ hasDefault: false;
750
+ isPrimaryKey: false;
751
+ isAutoincrement: false;
752
+ hasRuntimeDefault: false;
753
+ enumValues: [string, ...string[]];
754
+ baseColumn: never;
755
+ identity: undefined;
756
+ generated: undefined;
757
+ }, {}>;
758
+ routeNodeId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
759
+ name: string;
760
+ tableName: "nexus_contracts";
761
+ dataType: "string";
762
+ data: string;
763
+ driverParam: string;
764
+ notNull: false;
765
+ hasDefault: false;
766
+ isPrimaryKey: false;
767
+ isAutoincrement: false;
768
+ hasRuntimeDefault: false;
769
+ enumValues: [string, ...string[]];
770
+ baseColumn: never;
771
+ identity: undefined;
772
+ generated: undefined;
773
+ }, {}>;
774
+ confidence: import("drizzle-orm/sqlite-core").SQLiteColumn<{
775
+ name: string;
776
+ tableName: "nexus_contracts";
777
+ dataType: "number double";
778
+ data: number;
779
+ driverParam: number;
780
+ notNull: true;
781
+ hasDefault: true;
782
+ isPrimaryKey: false;
783
+ isAutoincrement: false;
784
+ hasRuntimeDefault: false;
785
+ enumValues: undefined;
786
+ baseColumn: never;
787
+ identity: undefined;
788
+ generated: undefined;
789
+ }, {}>;
790
+ description: import("drizzle-orm/sqlite-core").SQLiteColumn<{
791
+ name: string;
792
+ tableName: "nexus_contracts";
793
+ dataType: "string";
794
+ data: string;
795
+ driverParam: string;
796
+ notNull: false;
797
+ hasDefault: false;
798
+ isPrimaryKey: false;
799
+ isAutoincrement: false;
800
+ hasRuntimeDefault: false;
801
+ enumValues: [string, ...string[]];
802
+ baseColumn: never;
803
+ identity: undefined;
804
+ generated: undefined;
805
+ }, {}>;
806
+ createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
807
+ name: string;
808
+ tableName: "nexus_contracts";
809
+ dataType: "string";
810
+ data: string;
811
+ driverParam: string;
812
+ notNull: true;
813
+ hasDefault: true;
814
+ isPrimaryKey: false;
815
+ isAutoincrement: false;
816
+ hasRuntimeDefault: false;
817
+ enumValues: [string, ...string[]];
818
+ baseColumn: never;
819
+ identity: undefined;
820
+ generated: undefined;
821
+ }, {}>;
822
+ updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
823
+ name: string;
824
+ tableName: "nexus_contracts";
825
+ dataType: "string";
826
+ data: string;
827
+ driverParam: string;
828
+ notNull: true;
829
+ hasDefault: true;
830
+ isPrimaryKey: false;
831
+ isAutoincrement: false;
832
+ hasRuntimeDefault: false;
833
+ enumValues: [string, ...string[]];
834
+ baseColumn: never;
835
+ identity: undefined;
836
+ generated: undefined;
837
+ }, {}>;
838
+ };
839
+ dialect: "sqlite";
840
+ }>;
841
+ /**
842
+ * `nexus_code_index` — persistent index of code symbols extracted by
843
+ * tree-sitter (one row per symbol per file). PROJECT-scope: `project_id`
844
+ * dropped (ADR-090 §2.1).
845
+ *
846
+ * @task T11538 (project-scope target shape) · T11361 (global source)
847
+ */
848
+ export declare const nexusCodeIndex: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
849
+ name: "nexus_code_index";
850
+ schema: undefined;
851
+ columns: {
852
+ id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
853
+ name: string;
854
+ tableName: "nexus_code_index";
855
+ dataType: "string";
856
+ data: string;
857
+ driverParam: string;
858
+ notNull: true;
859
+ hasDefault: false;
860
+ isPrimaryKey: true;
861
+ isAutoincrement: false;
862
+ hasRuntimeDefault: false;
863
+ enumValues: [string, ...string[]];
864
+ baseColumn: never;
865
+ identity: undefined;
866
+ generated: undefined;
867
+ }, {}>;
868
+ filePath: import("drizzle-orm/sqlite-core").SQLiteColumn<{
869
+ name: string;
870
+ tableName: "nexus_code_index";
871
+ dataType: "string";
872
+ data: string;
873
+ driverParam: string;
874
+ notNull: true;
875
+ hasDefault: false;
876
+ isPrimaryKey: false;
877
+ isAutoincrement: false;
878
+ hasRuntimeDefault: false;
879
+ enumValues: [string, ...string[]];
880
+ baseColumn: never;
881
+ identity: undefined;
882
+ generated: undefined;
883
+ }, {}>;
884
+ symbolName: import("drizzle-orm/sqlite-core").SQLiteColumn<{
885
+ name: string;
886
+ tableName: "nexus_code_index";
887
+ dataType: "string";
888
+ data: string;
889
+ driverParam: string;
890
+ notNull: true;
891
+ hasDefault: false;
892
+ isPrimaryKey: false;
893
+ isAutoincrement: false;
894
+ hasRuntimeDefault: false;
895
+ enumValues: [string, ...string[]];
896
+ baseColumn: never;
897
+ identity: undefined;
898
+ generated: undefined;
899
+ }, {}>;
900
+ kind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
901
+ name: string;
902
+ tableName: "nexus_code_index";
903
+ dataType: "string enum";
904
+ data: "function" | "enum" | "module" | "method" | "class" | "interface" | "struct" | "trait" | "impl" | "constant" | "variable" | "import" | "export" | "type";
905
+ driverParam: string;
906
+ notNull: true;
907
+ hasDefault: false;
908
+ isPrimaryKey: false;
909
+ isAutoincrement: false;
910
+ hasRuntimeDefault: false;
911
+ enumValues: ["function", "method", "class", "interface", "type", "enum", "variable", "constant", "module", "import", "export", "struct", "trait", "impl"];
912
+ baseColumn: never;
913
+ identity: undefined;
914
+ generated: undefined;
915
+ }, {}>;
916
+ startLine: import("drizzle-orm/sqlite-core").SQLiteColumn<{
917
+ name: string;
918
+ tableName: "nexus_code_index";
919
+ dataType: "number int53";
920
+ data: number;
921
+ driverParam: number;
922
+ notNull: true;
923
+ hasDefault: false;
924
+ isPrimaryKey: false;
925
+ isAutoincrement: false;
926
+ hasRuntimeDefault: false;
927
+ enumValues: undefined;
928
+ baseColumn: never;
929
+ identity: undefined;
930
+ generated: undefined;
931
+ }, {}>;
932
+ endLine: import("drizzle-orm/sqlite-core").SQLiteColumn<{
933
+ name: string;
934
+ tableName: "nexus_code_index";
935
+ dataType: "number int53";
936
+ data: number;
937
+ driverParam: number;
938
+ notNull: true;
939
+ hasDefault: false;
940
+ isPrimaryKey: false;
941
+ isAutoincrement: false;
942
+ hasRuntimeDefault: false;
943
+ enumValues: undefined;
944
+ baseColumn: never;
945
+ identity: undefined;
946
+ generated: undefined;
947
+ }, {}>;
948
+ language: import("drizzle-orm/sqlite-core").SQLiteColumn<{
949
+ name: string;
950
+ tableName: "nexus_code_index";
951
+ dataType: "string";
952
+ data: string;
953
+ driverParam: string;
954
+ notNull: true;
955
+ hasDefault: false;
956
+ isPrimaryKey: false;
957
+ isAutoincrement: false;
958
+ hasRuntimeDefault: false;
959
+ enumValues: [string, ...string[]];
960
+ baseColumn: never;
961
+ identity: undefined;
962
+ generated: undefined;
963
+ }, {}>;
964
+ exported: import("drizzle-orm/sqlite-core").SQLiteColumn<{
965
+ name: string;
966
+ tableName: "nexus_code_index";
967
+ dataType: "boolean";
968
+ data: boolean;
969
+ driverParam: number;
970
+ notNull: false;
971
+ hasDefault: true;
972
+ isPrimaryKey: false;
973
+ isAutoincrement: false;
974
+ hasRuntimeDefault: false;
975
+ enumValues: undefined;
976
+ baseColumn: never;
977
+ identity: undefined;
978
+ generated: undefined;
979
+ }, {}>;
980
+ parent: import("drizzle-orm/sqlite-core").SQLiteColumn<{
981
+ name: string;
982
+ tableName: "nexus_code_index";
983
+ dataType: "string";
984
+ data: string;
985
+ driverParam: string;
986
+ notNull: false;
987
+ hasDefault: false;
988
+ isPrimaryKey: false;
989
+ isAutoincrement: false;
990
+ hasRuntimeDefault: false;
991
+ enumValues: [string, ...string[]];
992
+ baseColumn: never;
993
+ identity: undefined;
994
+ generated: undefined;
995
+ }, {}>;
996
+ returnType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
997
+ name: string;
998
+ tableName: "nexus_code_index";
999
+ dataType: "string";
1000
+ data: string;
1001
+ driverParam: string;
1002
+ notNull: false;
1003
+ hasDefault: false;
1004
+ isPrimaryKey: false;
1005
+ isAutoincrement: false;
1006
+ hasRuntimeDefault: false;
1007
+ enumValues: [string, ...string[]];
1008
+ baseColumn: never;
1009
+ identity: undefined;
1010
+ generated: undefined;
1011
+ }, {}>;
1012
+ docSummary: import("drizzle-orm/sqlite-core").SQLiteColumn<{
1013
+ name: string;
1014
+ tableName: "nexus_code_index";
1015
+ dataType: "string";
1016
+ data: string;
1017
+ driverParam: string;
1018
+ notNull: false;
1019
+ hasDefault: false;
1020
+ isPrimaryKey: false;
1021
+ isAutoincrement: false;
1022
+ hasRuntimeDefault: false;
1023
+ enumValues: [string, ...string[]];
1024
+ baseColumn: never;
1025
+ identity: undefined;
1026
+ generated: undefined;
1027
+ }, {}>;
1028
+ indexedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
1029
+ name: string;
1030
+ tableName: "nexus_code_index";
1031
+ dataType: "string";
1032
+ data: string;
1033
+ driverParam: string;
1034
+ notNull: true;
1035
+ hasDefault: false;
1036
+ isPrimaryKey: false;
1037
+ isAutoincrement: false;
1038
+ hasRuntimeDefault: false;
1039
+ enumValues: [string, ...string[]];
1040
+ baseColumn: never;
1041
+ identity: undefined;
1042
+ generated: undefined;
1043
+ }, {}>;
1044
+ };
1045
+ dialect: "sqlite";
1046
+ }>;
1047
+ /** Row type for `nexus_nodes` SELECT queries (project-scope target shape). */
1048
+ export type NexusNodeRow = typeof nexusNodes.$inferSelect;
1049
+ /** Row type for `nexus_nodes` INSERT operations (project-scope target shape). */
1050
+ export type NewNexusNodeRow = typeof nexusNodes.$inferInsert;
1051
+ /** Row type for `nexus_relations` SELECT queries (project-scope target shape). */
1052
+ export type NexusRelationRow = typeof nexusRelations.$inferSelect;
1053
+ /** Row type for `nexus_relations` INSERT operations (project-scope target shape). */
1054
+ export type NewNexusRelationRow = typeof nexusRelations.$inferInsert;
1055
+ /** Row type for `nexus_relation_weights` SELECT queries (project-scope target shape). */
1056
+ export type NexusRelationWeightRow = typeof nexusRelationWeights.$inferSelect;
1057
+ /** Row type for `nexus_relation_weights` INSERT operations (project-scope target shape). */
1058
+ export type NewNexusRelationWeightRow = typeof nexusRelationWeights.$inferInsert;
1059
+ /** Row type for `nexus_contracts` SELECT queries (project-scope target shape). */
1060
+ export type NexusContractRow = typeof nexusContracts.$inferSelect;
1061
+ /** Row type for `nexus_contracts` INSERT operations (project-scope target shape). */
1062
+ export type NewNexusContractRow = typeof nexusContracts.$inferInsert;
1063
+ /** Row type for `nexus_code_index` SELECT queries (project-scope target shape). */
1064
+ export type NexusCodeIndexRow = typeof nexusCodeIndex.$inferSelect;
1065
+ /** Row type for `nexus_code_index` INSERT operations (project-scope target shape). */
1066
+ export type NewNexusCodeIndexRow = typeof nexusCodeIndex.$inferInsert;
1067
+ //# sourceMappingURL=nexus-graph.d.ts.map