@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.
- package/binaries/README.md +49 -27
- package/dist/agents/{agent-registry.d.ts → agent-capacity-tracker.d.ts} +2 -2
- package/dist/agents/agent-capacity-tracker.d.ts.map +1 -0
- package/dist/agents/{agent-registry.js → agent-capacity-tracker.js} +2 -2
- package/dist/agents/agent-capacity-tracker.js.map +1 -0
- package/dist/agents/index.d.ts +1 -1
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +4 -2
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/seed-install.d.ts +1 -1
- package/dist/agents/seed-install.d.ts.map +1 -1
- package/dist/agents/seed-install.js +42 -36
- package/dist/agents/seed-install.js.map +1 -1
- package/dist/caamp-export.d.ts +18 -0
- package/dist/caamp-export.d.ts.map +1 -0
- package/dist/caamp-export.js +18 -0
- package/dist/caamp-export.js.map +1 -0
- package/dist/conduit/http-transport.d.ts +7 -13
- package/dist/conduit/http-transport.d.ts.map +1 -1
- package/dist/conduit/http-transport.js +12 -59
- package/dist/conduit/http-transport.js.map +1 -1
- package/dist/conduit/local-transport.d.ts +1 -1
- package/dist/conduit/local-transport.d.ts.map +1 -1
- package/dist/conduit/local-transport.js +69 -43
- package/dist/conduit/local-transport.js.map +1 -1
- package/dist/dispatch/mutate-projection.d.ts.map +1 -1
- package/dist/dispatch/mutate-projection.js +11 -0
- package/dist/dispatch/mutate-projection.js.map +1 -1
- package/dist/docs/docs-read-model.d.ts +7 -0
- package/dist/docs/docs-read-model.d.ts.map +1 -1
- package/dist/docs/docs-read-model.js +5 -0
- package/dist/docs/docs-read-model.js.map +1 -1
- package/dist/docs/export-document.js +40526 -281
- package/dist/docs/export-document.js.map +6 -1
- package/dist/docs/supersede.d.ts.map +1 -1
- package/dist/docs/supersede.js +12 -7
- package/dist/docs/supersede.js.map +1 -1
- package/dist/doctor/db-substrate.d.ts.map +1 -1
- package/dist/doctor/db-substrate.js +10 -9
- package/dist/doctor/db-substrate.js.map +1 -1
- package/dist/git-shim-export.d.ts +18 -0
- package/dist/git-shim-export.d.ts.map +1 -0
- package/dist/git-shim-export.js +18 -0
- package/dist/git-shim-export.js.map +1 -0
- package/dist/hooks/payload-schemas.d.ts +2 -2
- package/dist/init.d.ts.map +1 -1
- package/dist/init.js +39 -32
- package/dist/init.js.map +1 -1
- package/dist/internal.d.ts +11 -3
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +14 -5
- package/dist/internal.js.map +1 -1
- package/dist/lafs-export.d.ts +18 -0
- package/dist/lafs-export.d.ts.map +1 -0
- package/dist/lafs-export.js +18 -0
- package/dist/lafs-export.js.map +1 -0
- package/dist/lifecycle/effective-stage.js +1 -1
- package/dist/lifecycle/index.js +1 -1
- package/dist/lifecycle/index.js.map +1 -1
- package/dist/lifecycle/rollup.js +1 -1
- package/dist/llm/credential-pool.d.ts +17 -0
- package/dist/llm/credential-pool.d.ts.map +1 -1
- package/dist/llm/credential-pool.js +40 -1
- package/dist/llm/credential-pool.js.map +1 -1
- package/dist/llm/plugin-facade.d.ts.map +1 -1
- package/dist/llm/plugin-facade.js +43392 -354
- package/dist/llm/plugin-facade.js.map +6 -1
- package/dist/llm/role-executor.d.ts +8 -0
- package/dist/llm/role-executor.d.ts.map +1 -1
- package/dist/llm/role-executor.js +96 -4
- package/dist/llm/role-executor.js.map +1 -1
- package/dist/llm/role-resolver.d.ts.map +1 -1
- package/dist/llm/role-resolver.js +56 -1
- package/dist/llm/role-resolver.js.map +1 -1
- package/dist/llm/transports/codex-oauth-headers.d.ts +51 -0
- package/dist/llm/transports/codex-oauth-headers.d.ts.map +1 -0
- package/dist/llm/transports/codex-oauth-headers.js +89 -0
- package/dist/llm/transports/codex-oauth-headers.js.map +1 -0
- package/dist/memory/claude-mem-migration.d.ts.map +1 -1
- package/dist/memory/claude-mem-migration.js +1 -3
- package/dist/memory/claude-mem-migration.js.map +1 -1
- package/dist/memory/decisions.d.ts.map +1 -1
- package/dist/memory/decisions.js +77 -23
- package/dist/memory/decisions.js.map +1 -1
- package/dist/memory/graph-memory-bridge.d.ts.map +1 -1
- package/dist/memory/graph-memory-bridge.js +12 -6
- package/dist/memory/graph-memory-bridge.js.map +1 -1
- package/dist/memory/learnings.d.ts +2 -2
- package/dist/memory/nexus-plasticity.d.ts +21 -9
- package/dist/memory/nexus-plasticity.d.ts.map +1 -1
- package/dist/memory/nexus-plasticity.js +44 -22
- package/dist/memory/nexus-plasticity.js.map +1 -1
- package/dist/memory/patterns.d.ts +2 -2
- package/dist/memory/redaction.d.ts +19 -3
- package/dist/memory/redaction.d.ts.map +1 -1
- package/dist/memory/redaction.js +64 -129
- package/dist/memory/redaction.js.map +6 -1
- package/dist/metrics/token-service.d.ts +8 -2
- package/dist/metrics/token-service.d.ts.map +1 -1
- package/dist/metrics/token-service.js +1 -1
- package/dist/metrics/token-service.js.map +1 -1
- package/dist/nexus/analyze-orchestrator.d.ts.map +1 -1
- package/dist/nexus/analyze-orchestrator.js +6 -8
- package/dist/nexus/analyze-orchestrator.js.map +1 -1
- package/dist/nexus/api-extractors/http-extractor.d.ts.map +1 -1
- package/dist/nexus/api-extractors/http-extractor.js +3 -3
- package/dist/nexus/api-extractors/http-extractor.js.map +1 -1
- package/dist/nexus/clusters.d.ts.map +1 -1
- package/dist/nexus/clusters.js +3 -2
- package/dist/nexus/clusters.js.map +1 -1
- package/dist/nexus/context.d.ts.map +1 -1
- package/dist/nexus/context.js +10 -16
- package/dist/nexus/context.js.map +1 -1
- package/dist/nexus/diff.d.ts.map +1 -1
- package/dist/nexus/diff.js +6 -4
- package/dist/nexus/diff.js.map +1 -1
- package/dist/nexus/export.d.ts.map +1 -1
- package/dist/nexus/export.js +7 -4
- package/dist/nexus/export.js.map +1 -1
- package/dist/nexus/flows.d.ts.map +1 -1
- package/dist/nexus/flows.js +3 -1
- package/dist/nexus/flows.js.map +1 -1
- package/dist/nexus/impact.d.ts +1 -1
- package/dist/nexus/impact.d.ts.map +1 -1
- package/dist/nexus/impact.js +31 -17
- package/dist/nexus/impact.js.map +1 -1
- package/dist/nexus/living-brain.d.ts.map +1 -1
- package/dist/nexus/living-brain.js +27 -15
- package/dist/nexus/living-brain.js.map +1 -1
- package/dist/nexus/nexus-bridge.d.ts.map +1 -1
- package/dist/nexus/nexus-bridge.js +28 -29
- package/dist/nexus/nexus-bridge.js.map +1 -1
- package/dist/nexus/plasticity-queries.d.ts +4 -2
- package/dist/nexus/plasticity-queries.d.ts.map +1 -1
- package/dist/nexus/plasticity-queries.js +27 -15
- package/dist/nexus/plasticity-queries.js.map +1 -1
- package/dist/nexus/query.d.ts.map +1 -1
- package/dist/nexus/query.js +6 -2
- package/dist/nexus/query.js.map +1 -1
- package/dist/nexus/registry.d.ts.map +1 -1
- package/dist/nexus/registry.js +65 -30
- package/dist/nexus/registry.js.map +1 -1
- package/dist/nexus/route-analysis.d.ts +3 -2
- package/dist/nexus/route-analysis.d.ts.map +1 -1
- package/dist/nexus/route-analysis.js +11 -10
- package/dist/nexus/route-analysis.js.map +1 -1
- package/dist/nexus/sigil.d.ts.map +1 -1
- package/dist/nexus/sigil.js +60 -13
- package/dist/nexus/sigil.js.map +1 -1
- package/dist/nexus/user-profile.d.ts +2 -1
- package/dist/nexus/user-profile.d.ts.map +1 -1
- package/dist/nexus/user-profile.js +8 -4
- package/dist/nexus/user-profile.js.map +1 -1
- package/dist/orchestrate/index.d.ts +1 -1
- package/dist/orchestrate/index.d.ts.map +1 -1
- package/dist/orchestrate/index.js +1 -1
- package/dist/orchestrate/index.js.map +1 -1
- package/dist/orchestrate/plan.d.ts +3 -3
- package/dist/orchestrate/plan.d.ts.map +1 -1
- package/dist/orchestrate/plan.js +7 -7
- package/dist/orchestrate/plan.js.map +1 -1
- package/dist/orchestrate/spawn-ops.js +2 -2
- package/dist/orchestrate/spawn-ops.js.map +1 -1
- package/dist/orchestration/classify.d.ts +2 -2
- package/dist/orchestration/classify.js +3 -3
- package/dist/orchestration/classify.js.map +1 -1
- package/dist/orchestration/validate-spawn.d.ts.map +1 -1
- package/dist/orchestration/validate-spawn.js +5 -5
- package/dist/orchestration/validate-spawn.js.map +1 -1
- package/dist/paths-export.d.ts +18 -0
- package/dist/paths-export.d.ts.map +1 -0
- package/dist/paths-export.js +18 -0
- package/dist/paths-export.js.map +1 -0
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +24 -11
- package/dist/paths.js.map +1 -1
- package/dist/playbooks/index.d.ts +1 -0
- package/dist/playbooks/index.d.ts.map +1 -1
- package/dist/playbooks/index.js +4 -0
- package/dist/playbooks/index.js.map +1 -1
- package/dist/playbooks/skill-node-executor.d.ts +155 -0
- package/dist/playbooks/skill-node-executor.d.ts.map +1 -0
- package/dist/playbooks/skill-node-executor.js +156 -0
- package/dist/playbooks/skill-node-executor.js.map +1 -0
- package/dist/repair.d.ts +3 -7
- package/dist/repair.d.ts.map +1 -1
- package/dist/repair.js +5 -43
- package/dist/repair.js.map +1 -1
- package/dist/sagas/migrate-containment.js +7 -7
- package/dist/sagas/migrate-containment.js.map +1 -1
- package/dist/scaffold/ensure-dirs.d.ts +8 -2
- package/dist/scaffold/ensure-dirs.d.ts.map +1 -1
- package/dist/scaffold/ensure-dirs.js +24 -11
- package/dist/scaffold/ensure-dirs.js.map +1 -1
- package/dist/scaffold/project-detection.d.ts +5 -1
- package/dist/scaffold/project-detection.d.ts.map +1 -1
- package/dist/scaffold/project-detection.js +9 -5
- package/dist/scaffold/project-detection.js.map +1 -1
- package/dist/sentient/hygiene-scan.js +6 -6
- package/dist/sentient/hygiene-scan.js.map +1 -1
- package/dist/sentient/proposal-dedup.js +2 -2
- package/dist/sentient/proposal-rate-limiter.js +1 -1
- package/dist/sentient/propose-tick.js +5 -5
- package/dist/sentient/propose-tick.js.map +1 -1
- package/dist/sentient/stage-drift-tick.js +3 -3
- package/dist/sentient/stage-drift-tick.js.map +1 -1
- package/dist/sequence/index.d.ts.map +1 -1
- package/dist/sequence/index.js +6 -2
- package/dist/sequence/index.js.map +1 -1
- package/dist/sessions/briefing.d.ts.map +1 -1
- package/dist/sessions/briefing.js +18 -4
- package/dist/sessions/briefing.js.map +1 -1
- package/dist/setup/sections/verification.js +2 -2
- package/dist/setup/sections/verification.js.map +1 -1
- package/dist/shutdown.d.ts +91 -0
- package/dist/shutdown.d.ts.map +1 -0
- package/dist/shutdown.js +120 -0
- package/dist/shutdown.js.map +1 -0
- package/dist/skills/index.d.ts +2 -0
- package/dist/skills/index.d.ts.map +1 -1
- package/dist/skills/index.js +1 -0
- package/dist/skills/index.js.map +1 -1
- package/dist/skills/skill-executor-adapter.d.ts +136 -0
- package/dist/skills/skill-executor-adapter.d.ts.map +1 -0
- package/dist/skills/skill-executor-adapter.js +137 -0
- package/dist/skills/skill-executor-adapter.js.map +1 -0
- package/dist/skills/usage-recorder.d.ts.map +1 -1
- package/dist/skills/usage-recorder.js +30 -0
- package/dist/skills/usage-recorder.js.map +1 -1
- package/dist/skills-export.d.ts +23 -0
- package/dist/skills-export.d.ts.map +1 -0
- package/dist/skills-export.js +23 -0
- package/dist/skills-export.js.map +1 -0
- package/dist/stats/index.d.ts.map +1 -1
- package/dist/stats/index.js +8 -3
- package/dist/stats/index.js.map +1 -1
- package/dist/store/agent-doctor.d.ts +3 -3
- package/dist/store/agent-doctor.d.ts.map +1 -1
- package/dist/store/agent-doctor.js +18 -13
- package/dist/store/agent-doctor.js.map +1 -1
- package/dist/store/agent-install.d.ts +6 -5
- package/dist/store/agent-install.d.ts.map +1 -1
- package/dist/store/agent-install.js +20 -16
- package/dist/store/agent-install.js.map +1 -1
- package/dist/store/agent-registry-accessor.d.ts +66 -28
- package/dist/store/agent-registry-accessor.d.ts.map +1 -1
- package/dist/store/agent-registry-accessor.js +248 -167
- package/dist/store/agent-registry-accessor.js.map +1 -1
- package/dist/store/agent-registry-store.d.ts +242 -0
- package/dist/store/agent-registry-store.d.ts.map +1 -0
- package/dist/store/agent-registry-store.js +501 -0
- package/dist/store/agent-registry-store.js.map +1 -0
- package/dist/store/agent-resolver.d.ts +8 -8
- package/dist/store/agent-resolver.d.ts.map +1 -1
- package/dist/store/agent-resolver.js +19 -17
- package/dist/store/agent-resolver.js.map +1 -1
- package/dist/store/backup-pack.d.ts.map +1 -1
- package/dist/store/backup-pack.js +24 -8
- package/dist/store/backup-pack.js.map +1 -1
- package/dist/store/conduit-sqlite.d.ts +181 -74
- package/dist/store/conduit-sqlite.d.ts.map +1 -1
- package/dist/store/conduit-sqlite.js +307 -528
- package/dist/store/conduit-sqlite.js.map +1 -1
- package/dist/store/cross-db-cleanup.d.ts +5 -5
- package/dist/store/cross-db-cleanup.d.ts.map +1 -1
- package/dist/store/cross-db-cleanup.js +12 -10
- package/dist/store/cross-db-cleanup.js.map +1 -1
- package/dist/store/data-accessor.d.ts +4 -4
- package/dist/store/data-accessor.js +5 -5
- package/dist/store/data-accessor.js.map +1 -1
- package/dist/store/data-safety-central.d.ts +83 -1
- package/dist/store/data-safety-central.d.ts.map +1 -1
- package/dist/store/data-safety-central.js +257 -0
- package/dist/store/data-safety-central.js.map +1 -1
- package/dist/store/db-helpers.d.ts +8 -2
- package/dist/store/db-helpers.d.ts.map +1 -1
- package/dist/store/db-helpers.js +6 -2
- package/dist/store/db-helpers.js.map +1 -1
- package/dist/store/dual-scope-db.d.ts +46 -4
- package/dist/store/dual-scope-db.d.ts.map +1 -1
- package/dist/store/dual-scope-db.js +103 -9
- package/dist/store/dual-scope-db.js.map +1 -1
- package/dist/store/exodus/__fixtures__/representative-fixture.d.ts +116 -0
- package/dist/store/exodus/__fixtures__/representative-fixture.d.ts.map +1 -0
- package/dist/store/exodus/__fixtures__/representative-fixture.js +274 -0
- package/dist/store/exodus/__fixtures__/representative-fixture.js.map +1 -0
- package/dist/store/exodus/index.d.ts +3 -1
- package/dist/store/exodus/index.d.ts.map +1 -1
- package/dist/store/exodus/index.js +3 -1
- package/dist/store/exodus/index.js.map +1 -1
- package/dist/store/exodus/migrate.d.ts +120 -1
- package/dist/store/exodus/migrate.d.ts.map +1 -1
- package/dist/store/exodus/migrate.js +923 -119
- package/dist/store/exodus/migrate.js.map +1 -1
- package/dist/store/exodus/on-open.d.ts +189 -0
- package/dist/store/exodus/on-open.d.ts.map +1 -0
- package/dist/store/exodus/on-open.js +464 -0
- package/dist/store/exodus/on-open.js.map +1 -0
- package/dist/store/exodus/table-name-map.d.ts +173 -0
- package/dist/store/exodus/table-name-map.d.ts.map +1 -0
- package/dist/store/exodus/table-name-map.js +660 -0
- package/dist/store/exodus/table-name-map.js.map +1 -0
- package/dist/store/exodus/verify-migration.d.ts +72 -0
- package/dist/store/exodus/verify-migration.d.ts.map +1 -0
- package/dist/store/exodus/verify-migration.js +678 -0
- package/dist/store/exodus/verify-migration.js.map +1 -0
- package/dist/store/exodus/verify.d.ts +32 -8
- package/dist/store/exodus/verify.d.ts.map +1 -1
- package/dist/store/exodus/verify.js +48 -142
- package/dist/store/exodus/verify.js.map +1 -1
- package/dist/store/index.d.ts +2 -3
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/index.js +2 -3
- package/dist/store/index.js.map +1 -1
- package/dist/store/memory-accessor.d.ts +31 -0
- package/dist/store/memory-accessor.d.ts.map +1 -1
- package/dist/store/memory-accessor.js +38 -0
- package/dist/store/memory-accessor.js.map +1 -1
- package/dist/store/memory-sqlite.d.ts +86 -13
- package/dist/store/memory-sqlite.d.ts.map +1 -1
- package/dist/store/memory-sqlite.js +326 -528
- package/dist/store/memory-sqlite.js.map +1 -1
- package/dist/store/migrate-signaldock-to-conduit.d.ts +1 -1
- package/dist/store/migrate-signaldock-to-conduit.d.ts.map +1 -1
- package/dist/store/migrate-signaldock-to-conduit.js +126 -35
- package/dist/store/migrate-signaldock-to-conduit.js.map +1 -1
- package/dist/store/migration-manager.d.ts +49 -0
- package/dist/store/migration-manager.d.ts.map +1 -1
- package/dist/store/migration-manager.js +167 -67
- package/dist/store/migration-manager.js.map +1 -1
- package/dist/store/migration-sqlite.d.ts +1 -1
- package/dist/store/migration-sqlite.d.ts.map +1 -1
- package/dist/store/migration-sqlite.js +32 -3
- package/dist/store/migration-sqlite.js.map +1 -1
- package/dist/store/nexus-sqlite.d.ts +152 -29
- package/dist/store/nexus-sqlite.d.ts.map +1 -1
- package/dist/store/nexus-sqlite.js +496 -177
- package/dist/store/nexus-sqlite.js.map +1 -1
- package/dist/store/nexus-validation-schemas.d.ts +32 -32
- package/dist/store/open-cleo-db.d.ts +37 -40
- package/dist/store/open-cleo-db.d.ts.map +1 -1
- package/dist/store/open-cleo-db.js +76 -153
- package/dist/store/open-cleo-db.js.map +1 -1
- package/dist/store/role-accessors-impl.d.ts +4 -4
- package/dist/store/role-accessors-impl.d.ts.map +1 -1
- package/dist/store/role-accessors-impl.js +18 -15
- package/dist/store/role-accessors-impl.js.map +1 -1
- package/dist/store/schema/{signaldock-schema.d.ts → agent-registry-schema.d.ts} +15 -5
- package/dist/store/schema/agent-registry-schema.d.ts.map +1 -0
- package/dist/store/schema/{signaldock-schema.js → agent-registry-schema.js} +15 -5
- package/dist/store/schema/agent-registry-schema.js.map +1 -0
- package/dist/store/schema/agent-schema.d.ts +1 -1
- package/dist/store/schema/agent-schema.js +4 -4
- package/dist/store/schema/agent-schema.js.map +1 -1
- package/dist/store/schema/attachments.d.ts +1 -1
- package/dist/store/schema/audit.d.ts +15 -5
- package/dist/store/schema/audit.d.ts.map +1 -1
- package/dist/store/schema/audit.js +12 -2
- package/dist/store/schema/audit.js.map +1 -1
- package/dist/store/schema/background-jobs.d.ts +1 -1
- package/dist/store/schema/cleo-global/{signaldock.d.ts → agent-registry.d.ts} +277 -271
- package/dist/store/schema/cleo-global/agent-registry.d.ts.map +1 -0
- package/dist/store/schema/cleo-global/{signaldock.js → agent-registry.js} +136 -125
- package/dist/store/schema/cleo-global/agent-registry.js.map +1 -0
- package/dist/store/schema/cleo-global/index.d.ts +29 -22
- package/dist/store/schema/cleo-global/index.d.ts.map +1 -1
- package/dist/store/schema/cleo-global/index.js +29 -22
- package/dist/store/schema/cleo-global/index.js.map +1 -1
- package/dist/store/schema/cleo-global/nexus.d.ts +36 -1034
- package/dist/store/schema/cleo-global/nexus.d.ts.map +1 -1
- package/dist/store/schema/cleo-global/nexus.js +32 -337
- package/dist/store/schema/cleo-global/nexus.js.map +1 -1
- package/dist/store/schema/cleo-global/skills.d.ts +16 -0
- package/dist/store/schema/cleo-global/skills.d.ts.map +1 -1
- package/dist/store/schema/cleo-global/skills.js +11 -0
- package/dist/store/schema/cleo-global/skills.js.map +1 -1
- package/dist/store/schema/{cleo-project → cleo-global}/telemetry.d.ts +33 -17
- package/dist/store/schema/cleo-global/telemetry.d.ts.map +1 -0
- package/dist/store/schema/{cleo-project → cleo-global}/telemetry.js +30 -18
- package/dist/store/schema/cleo-global/telemetry.js.map +1 -0
- package/dist/store/schema/cleo-project/audit.d.ts +8 -8
- package/dist/store/schema/cleo-project/audit.d.ts.map +1 -1
- package/dist/store/schema/cleo-project/audit.js +2 -6
- package/dist/store/schema/cleo-project/audit.js.map +1 -1
- package/dist/store/schema/cleo-project/docs.d.ts +1 -1
- package/dist/store/schema/cleo-project/index.d.ts +29 -12
- package/dist/store/schema/cleo-project/index.d.ts.map +1 -1
- package/dist/store/schema/cleo-project/index.js +29 -12
- package/dist/store/schema/cleo-project/index.js.map +1 -1
- package/dist/store/schema/cleo-project/lifecycle.d.ts +2 -2
- package/dist/store/schema/cleo-project/nexus-graph.d.ts +1067 -0
- package/dist/store/schema/cleo-project/nexus-graph.d.ts.map +1 -0
- package/dist/store/schema/cleo-project/nexus-graph.js +407 -0
- package/dist/store/schema/cleo-project/nexus-graph.js.map +1 -0
- package/dist/store/schema/cleo-project/provenance-orphans.d.ts +385 -0
- package/dist/store/schema/cleo-project/provenance-orphans.d.ts.map +1 -0
- package/dist/store/schema/cleo-project/provenance-orphans.js +142 -0
- package/dist/store/schema/cleo-project/provenance-orphans.js.map +1 -0
- package/dist/store/schema/cleo-project/provenance-rest.d.ts +1 -1
- package/dist/store/schema/cleo-project/runtime.d.ts +1 -1
- package/dist/store/schema/cleo-project/tasks-core-batch2.d.ts +1 -1
- package/dist/store/schema/cleo-project/tasks-core.d.ts +3 -3
- package/dist/store/schema/cleo-shared/brain.d.ts +711 -494
- package/dist/store/schema/cleo-shared/brain.d.ts.map +1 -1
- package/dist/store/schema/cleo-shared/brain.js +215 -134
- package/dist/store/schema/cleo-shared/brain.js.map +1 -1
- package/dist/store/schema/conduit-schema.d.ts +63 -51
- package/dist/store/schema/conduit-schema.d.ts.map +1 -1
- package/dist/store/schema/conduit-schema.js +23 -11
- package/dist/store/schema/conduit-schema.js.map +1 -1
- package/dist/store/schema/goal.d.ts +3 -2
- package/dist/store/schema/goal.d.ts.map +1 -1
- package/dist/store/schema/goal.js +3 -2
- package/dist/store/schema/goal.js.map +1 -1
- package/dist/store/schema/index.d.ts +1 -0
- package/dist/store/schema/index.d.ts.map +1 -1
- package/dist/store/schema/index.js +1 -0
- package/dist/store/schema/index.js.map +1 -1
- package/dist/store/schema/lifecycle.d.ts +2 -2
- package/dist/store/schema/memory-schema.d.ts +2 -2
- package/dist/store/schema/nexus-schema.d.ts +174 -115
- package/dist/store/schema/nexus-schema.d.ts.map +1 -1
- package/dist/store/schema/nexus-schema.js +175 -55
- package/dist/store/schema/nexus-schema.js.map +1 -1
- package/dist/store/schema/provenance/releases.d.ts +1 -1
- package/dist/store/schema/schema-utils.d.ts +78 -0
- package/dist/store/schema/schema-utils.d.ts.map +1 -0
- package/dist/store/schema/schema-utils.js +49 -0
- package/dist/store/schema/schema-utils.js.map +1 -0
- package/dist/store/schema/skills-schema.d.ts +81 -44
- package/dist/store/schema/skills-schema.d.ts.map +1 -1
- package/dist/store/schema/skills-schema.js +49 -16
- package/dist/store/schema/skills-schema.js.map +1 -1
- package/dist/store/schema/tasks.d.ts +3 -3
- package/dist/store/skills-db.d.ts +90 -50
- package/dist/store/skills-db.d.ts.map +1 -1
- package/dist/store/skills-db.js +132 -146
- package/dist/store/skills-db.js.map +1 -1
- package/dist/store/sqlite-backup.d.ts +2 -2
- package/dist/store/sqlite-backup.d.ts.map +1 -1
- package/dist/store/sqlite-backup.js +11 -10
- package/dist/store/sqlite-backup.js.map +1 -1
- package/dist/store/sqlite-data-accessor.d.ts.map +1 -1
- package/dist/store/sqlite-data-accessor.js +25 -18
- package/dist/store/sqlite-data-accessor.js.map +1 -1
- package/dist/store/sqlite.d.ts +72 -12
- package/dist/store/sqlite.d.ts.map +1 -1
- package/dist/store/sqlite.js +153 -89
- package/dist/store/sqlite.js.map +1 -1
- package/dist/store/tasks-schema.d.ts +4 -0
- package/dist/store/tasks-schema.d.ts.map +1 -1
- package/dist/store/tasks-schema.js +60 -0
- package/dist/store/tasks-schema.js.map +1 -1
- package/dist/store/tasks-sqlite.d.ts +2 -2
- package/dist/store/tasks-sqlite.d.ts.map +1 -1
- package/dist/store/tasks-sqlite.js +10 -5
- package/dist/store/tasks-sqlite.js.map +1 -1
- package/dist/store/umbrella-data-accessor.d.ts +17 -6
- package/dist/store/umbrella-data-accessor.d.ts.map +1 -1
- package/dist/store/umbrella-data-accessor.js +8 -8
- package/dist/store/umbrella-data-accessor.js.map +1 -1
- package/dist/store/validation-schemas.d.ts +241 -208
- package/dist/store/validation-schemas.d.ts.map +1 -1
- package/dist/system/health.d.ts.map +1 -1
- package/dist/system/health.js +11 -6
- package/dist/system/health.js.map +1 -1
- package/dist/system/project-health.d.ts.map +1 -1
- package/dist/system/project-health.js +58 -12
- package/dist/system/project-health.js.map +1 -1
- package/dist/tasks/add.d.ts +8 -0
- package/dist/tasks/add.d.ts.map +1 -1
- package/dist/tasks/add.js +101 -0
- package/dist/tasks/add.js.map +1 -1
- package/dist/tasks/cancelled-child-waiver-audit.d.ts +47 -0
- package/dist/tasks/cancelled-child-waiver-audit.d.ts.map +1 -0
- package/dist/tasks/cancelled-child-waiver-audit.js +34 -0
- package/dist/tasks/cancelled-child-waiver-audit.js.map +1 -0
- package/dist/tasks/complete.d.ts +22 -2
- package/dist/tasks/complete.d.ts.map +1 -1
- package/dist/tasks/complete.js +71 -6
- package/dist/tasks/complete.js.map +1 -1
- package/dist/tasks/compute-task-view.js +1 -1
- package/dist/tasks/session-scope.d.ts +5 -0
- package/dist/tasks/session-scope.d.ts.map +1 -1
- package/dist/tasks/session-scope.js +4 -0
- package/dist/tasks/session-scope.js.map +1 -1
- package/dist/tools/guard.d.ts +71 -1
- package/dist/tools/guard.d.ts.map +1 -1
- package/dist/tools/guard.js +73 -1
- package/dist/tools/guard.js.map +1 -1
- package/dist/tools/index.d.ts +21 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +25 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/upgrade.d.ts.map +1 -1
- package/dist/upgrade.js +22 -13
- package/dist/upgrade.js.map +1 -1
- package/dist/workgraph/containment.js +18 -18
- package/dist/workgraph/relations.js +2 -2
- package/dist/worktree/list.d.ts +1 -1
- package/dist/worktree/list.d.ts.map +1 -1
- package/dist/worktree/list.js +19 -21
- package/dist/worktree/list.js.map +1 -1
- package/dist/worktree-export.d.ts +18 -0
- package/dist/worktree-export.d.ts.map +1 -0
- package/dist/worktree-export.js +18 -0
- package/dist/worktree-export.js.map +1 -0
- package/migrations/drizzle-agent-registry/20260412000000_initial-global-agent-registry/migration.sql +29 -0
- package/migrations/drizzle-brain/20260601000001_t11522-brain-task-observations/migration.sql +28 -0
- package/migrations/drizzle-brain/20260601000002_t11522-inline-only-brain-tables/migration.sql +75 -0
- package/migrations/drizzle-cleo-global/20260531000001_t11363-consolidation-cleo-global/migration.sql +49 -144
- package/migrations/drizzle-cleo-global/20260531000001_t11363-consolidation-cleo-global/snapshot.json +8 -8
- package/migrations/drizzle-cleo-global/20260531000002_t11546-brain-usage-log/migration.sql +16 -0
- package/migrations/drizzle-cleo-global/20260601000001_t11544-skills-usage-project-id/migration.sql +12 -0
- package/migrations/drizzle-cleo-global/20260602000001_t11622-agent-registry-rename/migration.sql +80 -0
- package/migrations/drizzle-cleo-project/20260531000001_t11363-consolidation-cleo-project/migration.sql +26 -167
- package/migrations/drizzle-cleo-project/20260531000001_t11363-consolidation-cleo-project/snapshot.json +8 -8
- package/migrations/drizzle-cleo-project/20260531000002_t11546-brain-usage-log/migration.sql +21 -0
- package/migrations/drizzle-cleo-project/20260601000001_t11549-agent-credentials-brain-release-links/migration.sql +49 -0
- package/migrations/drizzle-cleo-project/20260601000002_t11538-project-nexus-graph/migration.sql +140 -0
- package/migrations/drizzle-cleo-project/20260602000002_t11649-token-usage-transport-mcp/migration.sql +146 -0
- package/migrations/drizzle-conduit/20260601000003_t11523-conduit-inline-schema/migration.sql +82 -0
- package/migrations/drizzle-nexus/20260421200001_t1165-baseline-reset/migration.sql +26 -8
- package/migrations/drizzle-nexus/20260601000001_t11545-nexus-relation-weights-partition/migration.sql +97 -0
- package/package.json +45 -13
- package/scripts/install-supervisor-binary.mjs +50 -201
- package/scripts/napi-binary-picker.mjs +267 -0
- package/dist/agents/agent-registry.d.ts.map +0 -1
- package/dist/agents/agent-registry.js.map +0 -1
- package/dist/store/data-safety.d.ts +0 -92
- package/dist/store/data-safety.d.ts.map +0 -1
- package/dist/store/data-safety.js +0 -274
- package/dist/store/data-safety.js.map +0 -1
- package/dist/store/schema/cleo-global/signaldock.d.ts.map +0 -1
- package/dist/store/schema/cleo-global/signaldock.js.map +0 -1
- package/dist/store/schema/cleo-project/telemetry.d.ts.map +0 -1
- package/dist/store/schema/cleo-project/telemetry.js.map +0 -1
- package/dist/store/schema/signaldock-schema.d.ts.map +0 -1
- package/dist/store/schema/signaldock-schema.js.map +0 -1
- package/dist/store/signaldock-sqlite.d.ts +0 -173
- package/dist/store/signaldock-sqlite.d.ts.map +0 -1
- package/dist/store/signaldock-sqlite.js +0 -445
- package/dist/store/signaldock-sqlite.js.map +0 -1
- package/migrations/drizzle-nexus/20260318205558_initial/migration.sql +0 -46
- package/migrations/drizzle-nexus/20260412000001_t529-nexus-graph-tables/migration.sql +0 -49
- package/migrations/drizzle-nexus/20260415000001_t622-project-registry-paths/migration.sql +0 -12
- package/migrations/drizzle-nexus/20260419000001_t998-nexus-plasticity/migration.sql +0 -13
- package/migrations/drizzle-nexus/20260423052640_t1077-add-user-profile-table/migration.sql +0 -16
- package/migrations/drizzle-nexus/20260423052640_t1077-add-user-profile-table/snapshot.json +0 -1531
- package/migrations/drizzle-nexus/20260424140538_t1148-add-sigils-table/migration.sql +0 -13
- package/migrations/drizzle-nexus/20260424140538_t1148-add-sigils-table/snapshot.json +0 -1652
- package/migrations/drizzle-nexus/20260504000001_t1839-fts5-nexus-symbols/migration.sql +0 -68
- package/migrations/drizzle-nexus/20260507135519_t9163-nexus-is-external/migration.sql +0 -20
- package/migrations/drizzle-nexus/20260507135519_t9163-nexus-is-external/snapshot.json +0 -1652
- package/migrations/drizzle-nexus/20260526222449_t11025-project-id-aliases/migration.sql +0 -16
- package/migrations/drizzle-signaldock/20260412000000_initial-global-signaldock/migration.sql +0 -209
- 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
|