@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
|
@@ -1,26 +1,74 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Drizzle ORM schema for CLEO nexus
|
|
2
|
+
* Drizzle ORM runtime schema for the CLEO nexus domain inside the consolidated
|
|
3
|
+
* GLOBAL `cleo.db` (SQLite via node:sqlite).
|
|
3
4
|
*
|
|
4
|
-
* Tables
|
|
5
|
-
*
|
|
5
|
+
* Tables (post-cutover PREFIXED physical names — T11578 · AC3):
|
|
6
|
+
* nexus_project_registry, nexus_audit_log, nexus_schema_meta, nexus_nodes,
|
|
7
|
+
* nexus_relations, nexus_relation_weights, nexus_contracts,
|
|
8
|
+
* nexus_user_profile, nexus_sigils, nexus_project_id_aliases.
|
|
6
9
|
* Stores cross-project registry and audit infrastructure for the Nexus domain,
|
|
7
10
|
* plus the code intelligence graph layer (nodes + directed edges), plus the
|
|
8
11
|
* global user identity / preference profile (PSYCHE Wave 1 — T1077), plus the
|
|
9
12
|
* peer-card sigil identity layer (PSYCHE Wave 8 — T1148).
|
|
10
13
|
*
|
|
14
|
+
* ## COMPLETE-CUTOVER to prefixed `nexus_*` tables (T11578 · AC3)
|
|
15
|
+
*
|
|
16
|
+
* The nexus runtime READ + WRITE path now targets the PREFIXED consolidated
|
|
17
|
+
* tables the consolidated cleo-global migration
|
|
18
|
+
* (`drizzle-cleo-global/…t11363-consolidation-cleo-global`) creates — NOT the
|
|
19
|
+
* legacy BARE tables (`project_registry`, `user_profile`, `sigils`,
|
|
20
|
+
* `project_id_aliases`). Only the four registry/identity table NAMES change
|
|
21
|
+
* (bare → `nexus_*`); the five already-prefixed tables (`nexus_audit_log`,
|
|
22
|
+
* `nexus_schema_meta`, `nexus_nodes`, `nexus_relations`, `nexus_contracts`)
|
|
23
|
+
* keep identity. The TypeScript EXPORT symbol names are intentionally
|
|
24
|
+
* UNCHANGED (`projectRegistry`, `userProfile`, `sigils`, `projectIdAliases`,
|
|
25
|
+
* …) so every accessor that imports them needs ZERO source change — only the
|
|
26
|
+
* physical table they map to moves to the prefixed shape.
|
|
27
|
+
*
|
|
28
|
+
* ## Shape parity with the consolidated migration (T11578 · AC3)
|
|
29
|
+
*
|
|
30
|
+
* The consolidated migration (T11363) injects enum/format `CHECK` constraints
|
|
31
|
+
* and canonical TEXT ISO-8601 timestamp affinity. To keep the runtime drizzle
|
|
32
|
+
* mapping aligned with the physical tables it now queries:
|
|
33
|
+
* - `nexus_user_profile.{firstObservedAt,lastReinforcedAt}` and
|
|
34
|
+
* `nexus_sigils.{createdAt,updatedAt}` are canonical TEXT ISO-8601 (were
|
|
35
|
+
* `integer({ mode:'timestamp' })`). The writers pass `.toISOString()` so
|
|
36
|
+
* the `GLOB 'YYYY-MM-DD*'` CHECK is satisfied.
|
|
37
|
+
* - The Hebbian plasticity columns (`weight`, `last_accessed_at`,
|
|
38
|
+
* `co_accessed_count`) are PARTITIONED out of `nexus_relations` into the
|
|
39
|
+
* sibling `nexus_relation_weights` table (T11545 · ADR-090 §5.3). The
|
|
40
|
+
* `nexus-sqlite.ts` open path drops the inline columns from the consolidated
|
|
41
|
+
* `nexus_relations` (which still carries them in the T11363 shape) and
|
|
42
|
+
* ensures the sibling table.
|
|
43
|
+
*
|
|
44
|
+
* ## ADR-090 residency split — graph tables PROJECT-scoped (T11648)
|
|
45
|
+
*
|
|
46
|
+
* The four code-graph tables (`nexus_nodes`, `nexus_relations`,
|
|
47
|
+
* `nexus_contracts`, `nexus_code_index`) + the `nexus_relation_weights`
|
|
48
|
+
* plasticity sibling no longer carry `project_id` (ADR-090 §2.1): they live in
|
|
49
|
+
* the PROJECT `cleo.db` and `nexus-sqlite.ts` opens the project scope as `main`,
|
|
50
|
+
* so scope is implicit. The graph accessors therefore DROP the former
|
|
51
|
+
* `WHERE project_id = ?` predicate (single project per DB). The
|
|
52
|
+
* registry/identity tables (`nexus_project_registry`, `nexus_user_profile`,
|
|
53
|
+
* `nexus_sigils`, `nexus_project_id_aliases`, `nexus_audit_log`,
|
|
54
|
+
* `nexus_schema_meta`) stay GLOBAL and are reached through the
|
|
55
|
+
* `nexus_global` ATTACH (see `nexus-sqlite.ts`); their mappings are unchanged.
|
|
56
|
+
*
|
|
11
57
|
* @task T5365
|
|
12
58
|
* @task T529
|
|
13
59
|
* @task T1077
|
|
14
60
|
* @task T1148
|
|
61
|
+
* @task T11578
|
|
62
|
+
* @task T11648
|
|
15
63
|
*/
|
|
16
64
|
/** Central registry of all CLEO projects known to the Nexus. */
|
|
17
65
|
export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
18
|
-
name: "
|
|
66
|
+
name: "nexus_project_registry";
|
|
19
67
|
schema: undefined;
|
|
20
68
|
columns: {
|
|
21
69
|
projectId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
22
70
|
name: string;
|
|
23
|
-
tableName: "
|
|
71
|
+
tableName: "nexus_project_registry";
|
|
24
72
|
dataType: "string";
|
|
25
73
|
data: string;
|
|
26
74
|
driverParam: string;
|
|
@@ -36,7 +84,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
36
84
|
}, {}>;
|
|
37
85
|
projectHash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
38
86
|
name: string;
|
|
39
|
-
tableName: "
|
|
87
|
+
tableName: "nexus_project_registry";
|
|
40
88
|
dataType: "string";
|
|
41
89
|
data: string;
|
|
42
90
|
driverParam: string;
|
|
@@ -52,7 +100,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
52
100
|
}, {}>;
|
|
53
101
|
projectPath: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
54
102
|
name: string;
|
|
55
|
-
tableName: "
|
|
103
|
+
tableName: "nexus_project_registry";
|
|
56
104
|
dataType: "string";
|
|
57
105
|
data: string;
|
|
58
106
|
driverParam: string;
|
|
@@ -68,7 +116,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
68
116
|
}, {}>;
|
|
69
117
|
name: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
70
118
|
name: string;
|
|
71
|
-
tableName: "
|
|
119
|
+
tableName: "nexus_project_registry";
|
|
72
120
|
dataType: "string";
|
|
73
121
|
data: string;
|
|
74
122
|
driverParam: string;
|
|
@@ -84,7 +132,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
84
132
|
}, {}>;
|
|
85
133
|
registeredAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
86
134
|
name: string;
|
|
87
|
-
tableName: "
|
|
135
|
+
tableName: "nexus_project_registry";
|
|
88
136
|
dataType: "string";
|
|
89
137
|
data: string;
|
|
90
138
|
driverParam: string;
|
|
@@ -100,7 +148,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
100
148
|
}, {}>;
|
|
101
149
|
lastSeen: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
102
150
|
name: string;
|
|
103
|
-
tableName: "
|
|
151
|
+
tableName: "nexus_project_registry";
|
|
104
152
|
dataType: "string";
|
|
105
153
|
data: string;
|
|
106
154
|
driverParam: string;
|
|
@@ -116,7 +164,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
116
164
|
}, {}>;
|
|
117
165
|
healthStatus: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
118
166
|
name: string;
|
|
119
|
-
tableName: "
|
|
167
|
+
tableName: "nexus_project_registry";
|
|
120
168
|
dataType: "string";
|
|
121
169
|
data: string;
|
|
122
170
|
driverParam: string;
|
|
@@ -132,7 +180,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
132
180
|
}, {}>;
|
|
133
181
|
healthLastCheck: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
134
182
|
name: string;
|
|
135
|
-
tableName: "
|
|
183
|
+
tableName: "nexus_project_registry";
|
|
136
184
|
dataType: "string";
|
|
137
185
|
data: string;
|
|
138
186
|
driverParam: string;
|
|
@@ -148,7 +196,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
148
196
|
}, {}>;
|
|
149
197
|
permissions: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
150
198
|
name: string;
|
|
151
|
-
tableName: "
|
|
199
|
+
tableName: "nexus_project_registry";
|
|
152
200
|
dataType: "string";
|
|
153
201
|
data: string;
|
|
154
202
|
driverParam: string;
|
|
@@ -164,7 +212,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
164
212
|
}, {}>;
|
|
165
213
|
lastSync: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
166
214
|
name: string;
|
|
167
|
-
tableName: "
|
|
215
|
+
tableName: "nexus_project_registry";
|
|
168
216
|
dataType: "string";
|
|
169
217
|
data: string;
|
|
170
218
|
driverParam: string;
|
|
@@ -180,7 +228,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
180
228
|
}, {}>;
|
|
181
229
|
taskCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
182
230
|
name: string;
|
|
183
|
-
tableName: "
|
|
231
|
+
tableName: "nexus_project_registry";
|
|
184
232
|
dataType: "number int53";
|
|
185
233
|
data: number;
|
|
186
234
|
driverParam: number;
|
|
@@ -196,7 +244,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
196
244
|
}, {}>;
|
|
197
245
|
labelsJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
198
246
|
name: string;
|
|
199
|
-
tableName: "
|
|
247
|
+
tableName: "nexus_project_registry";
|
|
200
248
|
dataType: "string";
|
|
201
249
|
data: string;
|
|
202
250
|
driverParam: string;
|
|
@@ -212,7 +260,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
212
260
|
}, {}>;
|
|
213
261
|
brainDbPath: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
214
262
|
name: string;
|
|
215
|
-
tableName: "
|
|
263
|
+
tableName: "nexus_project_registry";
|
|
216
264
|
dataType: "string";
|
|
217
265
|
data: string;
|
|
218
266
|
driverParam: string;
|
|
@@ -228,7 +276,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
228
276
|
}, {}>;
|
|
229
277
|
tasksDbPath: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
230
278
|
name: string;
|
|
231
|
-
tableName: "
|
|
279
|
+
tableName: "nexus_project_registry";
|
|
232
280
|
dataType: "string";
|
|
233
281
|
data: string;
|
|
234
282
|
driverParam: string;
|
|
@@ -244,7 +292,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
244
292
|
}, {}>;
|
|
245
293
|
lastIndexed: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
246
294
|
name: string;
|
|
247
|
-
tableName: "
|
|
295
|
+
tableName: "nexus_project_registry";
|
|
248
296
|
dataType: "string";
|
|
249
297
|
data: string;
|
|
250
298
|
driverParam: string;
|
|
@@ -260,7 +308,7 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
260
308
|
}, {}>;
|
|
261
309
|
statsJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
262
310
|
name: string;
|
|
263
|
-
tableName: "
|
|
311
|
+
tableName: "nexus_project_registry";
|
|
264
312
|
dataType: "string";
|
|
265
313
|
data: string;
|
|
266
314
|
driverParam: string;
|
|
@@ -286,12 +334,12 @@ export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
286
334
|
* @task T9149
|
|
287
335
|
*/
|
|
288
336
|
export declare const projectIdAliases: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
289
|
-
name: "
|
|
337
|
+
name: "nexus_project_id_aliases";
|
|
290
338
|
schema: undefined;
|
|
291
339
|
columns: {
|
|
292
340
|
legacyId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
293
341
|
name: string;
|
|
294
|
-
tableName: "
|
|
342
|
+
tableName: "nexus_project_id_aliases";
|
|
295
343
|
dataType: "string";
|
|
296
344
|
data: string;
|
|
297
345
|
driverParam: string;
|
|
@@ -307,7 +355,7 @@ export declare const projectIdAliases: import("drizzle-orm/sqlite-core").SQLiteT
|
|
|
307
355
|
}, {}>;
|
|
308
356
|
canonicalId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
309
357
|
name: string;
|
|
310
|
-
tableName: "
|
|
358
|
+
tableName: "nexus_project_id_aliases";
|
|
311
359
|
dataType: "string";
|
|
312
360
|
data: string;
|
|
313
361
|
driverParam: string;
|
|
@@ -323,7 +371,7 @@ export declare const projectIdAliases: import("drizzle-orm/sqlite-core").SQLiteT
|
|
|
323
371
|
}, {}>;
|
|
324
372
|
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
325
373
|
name: string;
|
|
326
|
-
tableName: "
|
|
374
|
+
tableName: "nexus_project_id_aliases";
|
|
327
375
|
dataType: "string";
|
|
328
376
|
data: string;
|
|
329
377
|
driverParam: string;
|
|
@@ -672,22 +720,6 @@ export declare const nexusNodes: import("drizzle-orm/sqlite-core").SQLiteTableWi
|
|
|
672
720
|
identity: undefined;
|
|
673
721
|
generated: undefined;
|
|
674
722
|
}, {}>;
|
|
675
|
-
projectId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
676
|
-
name: string;
|
|
677
|
-
tableName: "nexus_nodes";
|
|
678
|
-
dataType: "string";
|
|
679
|
-
data: string;
|
|
680
|
-
driverParam: string;
|
|
681
|
-
notNull: true;
|
|
682
|
-
hasDefault: false;
|
|
683
|
-
isPrimaryKey: false;
|
|
684
|
-
isAutoincrement: false;
|
|
685
|
-
hasRuntimeDefault: false;
|
|
686
|
-
enumValues: [string, ...string[]];
|
|
687
|
-
baseColumn: never;
|
|
688
|
-
identity: undefined;
|
|
689
|
-
generated: undefined;
|
|
690
|
-
}, {}>;
|
|
691
723
|
kind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
692
724
|
name: string;
|
|
693
725
|
tableName: "nexus_nodes";
|
|
@@ -986,22 +1018,6 @@ export declare const nexusRelations: import("drizzle-orm/sqlite-core").SQLiteTab
|
|
|
986
1018
|
identity: undefined;
|
|
987
1019
|
generated: undefined;
|
|
988
1020
|
}, {}>;
|
|
989
|
-
projectId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
990
|
-
name: string;
|
|
991
|
-
tableName: "nexus_relations";
|
|
992
|
-
dataType: "string";
|
|
993
|
-
data: string;
|
|
994
|
-
driverParam: string;
|
|
995
|
-
notNull: true;
|
|
996
|
-
hasDefault: false;
|
|
997
|
-
isPrimaryKey: false;
|
|
998
|
-
isAutoincrement: false;
|
|
999
|
-
hasRuntimeDefault: false;
|
|
1000
|
-
enumValues: [string, ...string[]];
|
|
1001
|
-
baseColumn: never;
|
|
1002
|
-
identity: undefined;
|
|
1003
|
-
generated: undefined;
|
|
1004
|
-
}, {}>;
|
|
1005
1021
|
sourceId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1006
1022
|
name: string;
|
|
1007
1023
|
tableName: "nexus_relations";
|
|
@@ -1114,13 +1130,54 @@ export declare const nexusRelations: import("drizzle-orm/sqlite-core").SQLiteTab
|
|
|
1114
1130
|
identity: undefined;
|
|
1115
1131
|
generated: undefined;
|
|
1116
1132
|
}, {}>;
|
|
1133
|
+
};
|
|
1134
|
+
dialect: "sqlite";
|
|
1135
|
+
}>;
|
|
1136
|
+
/**
|
|
1137
|
+
* Plasticity weights for `nexus_relations` edges — Hebbian co-access (T998).
|
|
1138
|
+
*
|
|
1139
|
+
* Partitioned out of `nexus_relations` by T11545 (ADR-090 §5.3): the
|
|
1140
|
+
* write-heavy plasticity columns (`weight`, `last_accessed_at`,
|
|
1141
|
+
* `co_accessed_count`) live in this sibling 1:1 table keyed by `relation_id`,
|
|
1142
|
+
* keeping the read-mostly structural graph row narrow. A relation has at most
|
|
1143
|
+
* one weights row; rows are created lazily on the first co-access strengthening
|
|
1144
|
+
* event (UPSERT in `nexus-plasticity.ts`), so absence means "never strengthened"
|
|
1145
|
+
* (treat as weight 0.0).
|
|
1146
|
+
*
|
|
1147
|
+
* `relation_id` is an intra-scope soft FK to `nexus_relations.id` (no DB-level
|
|
1148
|
+
* FK — symmetric with the rest of the graph's soft-FK convention).
|
|
1149
|
+
*
|
|
1150
|
+
* @task T11545
|
|
1151
|
+
* @task T998
|
|
1152
|
+
* @epic T11535
|
|
1153
|
+
*/
|
|
1154
|
+
export declare const nexusRelationWeights: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1155
|
+
name: "nexus_relation_weights";
|
|
1156
|
+
schema: undefined;
|
|
1157
|
+
columns: {
|
|
1158
|
+
relationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1159
|
+
name: string;
|
|
1160
|
+
tableName: "nexus_relation_weights";
|
|
1161
|
+
dataType: "string";
|
|
1162
|
+
data: string;
|
|
1163
|
+
driverParam: string;
|
|
1164
|
+
notNull: true;
|
|
1165
|
+
hasDefault: false;
|
|
1166
|
+
isPrimaryKey: true;
|
|
1167
|
+
isAutoincrement: false;
|
|
1168
|
+
hasRuntimeDefault: false;
|
|
1169
|
+
enumValues: [string, ...string[]];
|
|
1170
|
+
baseColumn: never;
|
|
1171
|
+
identity: undefined;
|
|
1172
|
+
generated: undefined;
|
|
1173
|
+
}, {}>;
|
|
1117
1174
|
weight: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1118
1175
|
name: string;
|
|
1119
|
-
tableName: "
|
|
1176
|
+
tableName: "nexus_relation_weights";
|
|
1120
1177
|
dataType: "number double";
|
|
1121
1178
|
data: number;
|
|
1122
1179
|
driverParam: number;
|
|
1123
|
-
notNull:
|
|
1180
|
+
notNull: true;
|
|
1124
1181
|
hasDefault: true;
|
|
1125
1182
|
isPrimaryKey: false;
|
|
1126
1183
|
isAutoincrement: false;
|
|
@@ -1132,7 +1189,7 @@ export declare const nexusRelations: import("drizzle-orm/sqlite-core").SQLiteTab
|
|
|
1132
1189
|
}, {}>;
|
|
1133
1190
|
lastAccessedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1134
1191
|
name: string;
|
|
1135
|
-
tableName: "
|
|
1192
|
+
tableName: "nexus_relation_weights";
|
|
1136
1193
|
dataType: "string";
|
|
1137
1194
|
data: string;
|
|
1138
1195
|
driverParam: string;
|
|
@@ -1148,11 +1205,11 @@ export declare const nexusRelations: import("drizzle-orm/sqlite-core").SQLiteTab
|
|
|
1148
1205
|
}, {}>;
|
|
1149
1206
|
coAccessedCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1150
1207
|
name: string;
|
|
1151
|
-
tableName: "
|
|
1208
|
+
tableName: "nexus_relation_weights";
|
|
1152
1209
|
dataType: "number int53";
|
|
1153
1210
|
data: number;
|
|
1154
1211
|
driverParam: number;
|
|
1155
|
-
notNull:
|
|
1212
|
+
notNull: true;
|
|
1156
1213
|
hasDefault: true;
|
|
1157
1214
|
isPrimaryKey: false;
|
|
1158
1215
|
isAutoincrement: false;
|
|
@@ -1203,22 +1260,6 @@ export declare const nexusContracts: import("drizzle-orm/sqlite-core").SQLiteTab
|
|
|
1203
1260
|
identity: undefined;
|
|
1204
1261
|
generated: undefined;
|
|
1205
1262
|
}, {}>;
|
|
1206
|
-
projectId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1207
|
-
name: string;
|
|
1208
|
-
tableName: "nexus_contracts";
|
|
1209
|
-
dataType: "string";
|
|
1210
|
-
data: string;
|
|
1211
|
-
driverParam: string;
|
|
1212
|
-
notNull: true;
|
|
1213
|
-
hasDefault: false;
|
|
1214
|
-
isPrimaryKey: false;
|
|
1215
|
-
isAutoincrement: false;
|
|
1216
|
-
hasRuntimeDefault: false;
|
|
1217
|
-
enumValues: [string, ...string[]];
|
|
1218
|
-
baseColumn: never;
|
|
1219
|
-
identity: undefined;
|
|
1220
|
-
generated: undefined;
|
|
1221
|
-
}, {}>;
|
|
1222
1263
|
type: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1223
1264
|
name: string;
|
|
1224
1265
|
tableName: "nexus_contracts";
|
|
@@ -1423,12 +1464,12 @@ export declare const nexusContracts: import("drizzle-orm/sqlite-core").SQLiteTab
|
|
|
1423
1464
|
* @epic T1076
|
|
1424
1465
|
*/
|
|
1425
1466
|
export declare const userProfile: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1426
|
-
name: "
|
|
1467
|
+
name: "nexus_user_profile";
|
|
1427
1468
|
schema: undefined;
|
|
1428
1469
|
columns: {
|
|
1429
1470
|
traitKey: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1430
1471
|
name: string;
|
|
1431
|
-
tableName: "
|
|
1472
|
+
tableName: "nexus_user_profile";
|
|
1432
1473
|
dataType: "string";
|
|
1433
1474
|
data: string;
|
|
1434
1475
|
driverParam: string;
|
|
@@ -1444,7 +1485,7 @@ export declare const userProfile: import("drizzle-orm/sqlite-core").SQLiteTableW
|
|
|
1444
1485
|
}, {}>;
|
|
1445
1486
|
traitValue: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1446
1487
|
name: string;
|
|
1447
|
-
tableName: "
|
|
1488
|
+
tableName: "nexus_user_profile";
|
|
1448
1489
|
dataType: "string";
|
|
1449
1490
|
data: string;
|
|
1450
1491
|
driverParam: string;
|
|
@@ -1460,7 +1501,7 @@ export declare const userProfile: import("drizzle-orm/sqlite-core").SQLiteTableW
|
|
|
1460
1501
|
}, {}>;
|
|
1461
1502
|
confidence: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1462
1503
|
name: string;
|
|
1463
|
-
tableName: "
|
|
1504
|
+
tableName: "nexus_user_profile";
|
|
1464
1505
|
dataType: "number double";
|
|
1465
1506
|
data: number;
|
|
1466
1507
|
driverParam: number;
|
|
@@ -1476,7 +1517,7 @@ export declare const userProfile: import("drizzle-orm/sqlite-core").SQLiteTableW
|
|
|
1476
1517
|
}, {}>;
|
|
1477
1518
|
source: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1478
1519
|
name: string;
|
|
1479
|
-
tableName: "
|
|
1520
|
+
tableName: "nexus_user_profile";
|
|
1480
1521
|
dataType: "string";
|
|
1481
1522
|
data: string;
|
|
1482
1523
|
driverParam: string;
|
|
@@ -1492,7 +1533,7 @@ export declare const userProfile: import("drizzle-orm/sqlite-core").SQLiteTableW
|
|
|
1492
1533
|
}, {}>;
|
|
1493
1534
|
derivedFromMessageId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1494
1535
|
name: string;
|
|
1495
|
-
tableName: "
|
|
1536
|
+
tableName: "nexus_user_profile";
|
|
1496
1537
|
dataType: "string";
|
|
1497
1538
|
data: string;
|
|
1498
1539
|
driverParam: string;
|
|
@@ -1508,39 +1549,39 @@ export declare const userProfile: import("drizzle-orm/sqlite-core").SQLiteTableW
|
|
|
1508
1549
|
}, {}>;
|
|
1509
1550
|
firstObservedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1510
1551
|
name: string;
|
|
1511
|
-
tableName: "
|
|
1512
|
-
dataType: "
|
|
1513
|
-
data:
|
|
1514
|
-
driverParam:
|
|
1552
|
+
tableName: "nexus_user_profile";
|
|
1553
|
+
dataType: "string";
|
|
1554
|
+
data: string;
|
|
1555
|
+
driverParam: string;
|
|
1515
1556
|
notNull: true;
|
|
1516
1557
|
hasDefault: false;
|
|
1517
1558
|
isPrimaryKey: false;
|
|
1518
1559
|
isAutoincrement: false;
|
|
1519
1560
|
hasRuntimeDefault: false;
|
|
1520
|
-
enumValues:
|
|
1561
|
+
enumValues: [string, ...string[]];
|
|
1521
1562
|
baseColumn: never;
|
|
1522
1563
|
identity: undefined;
|
|
1523
1564
|
generated: undefined;
|
|
1524
1565
|
}, {}>;
|
|
1525
1566
|
lastReinforcedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1526
1567
|
name: string;
|
|
1527
|
-
tableName: "
|
|
1528
|
-
dataType: "
|
|
1529
|
-
data:
|
|
1530
|
-
driverParam:
|
|
1568
|
+
tableName: "nexus_user_profile";
|
|
1569
|
+
dataType: "string";
|
|
1570
|
+
data: string;
|
|
1571
|
+
driverParam: string;
|
|
1531
1572
|
notNull: true;
|
|
1532
1573
|
hasDefault: false;
|
|
1533
1574
|
isPrimaryKey: false;
|
|
1534
1575
|
isAutoincrement: false;
|
|
1535
1576
|
hasRuntimeDefault: false;
|
|
1536
|
-
enumValues:
|
|
1577
|
+
enumValues: [string, ...string[]];
|
|
1537
1578
|
baseColumn: never;
|
|
1538
1579
|
identity: undefined;
|
|
1539
1580
|
generated: undefined;
|
|
1540
1581
|
}, {}>;
|
|
1541
1582
|
reinforcementCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1542
1583
|
name: string;
|
|
1543
|
-
tableName: "
|
|
1584
|
+
tableName: "nexus_user_profile";
|
|
1544
1585
|
dataType: "number int53";
|
|
1545
1586
|
data: number;
|
|
1546
1587
|
driverParam: number;
|
|
@@ -1556,7 +1597,7 @@ export declare const userProfile: import("drizzle-orm/sqlite-core").SQLiteTableW
|
|
|
1556
1597
|
}, {}>;
|
|
1557
1598
|
supersededBy: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1558
1599
|
name: string;
|
|
1559
|
-
tableName: "
|
|
1600
|
+
tableName: "nexus_user_profile";
|
|
1560
1601
|
dataType: "string";
|
|
1561
1602
|
data: string;
|
|
1562
1603
|
driverParam: string;
|
|
@@ -1573,6 +1614,22 @@ export declare const userProfile: import("drizzle-orm/sqlite-core").SQLiteTableW
|
|
|
1573
1614
|
};
|
|
1574
1615
|
dialect: "sqlite";
|
|
1575
1616
|
}>;
|
|
1617
|
+
/**
|
|
1618
|
+
* Legal `nexus_sigils.role` values — the canonical CANT agent role taxonomy.
|
|
1619
|
+
*
|
|
1620
|
+
* Mirrors `SIGIL_ROLES` in the consolidated `cleo-global/nexus.ts` target
|
|
1621
|
+
* module (T11578 · AC3) so the runtime drizzle mapping matches the physical
|
|
1622
|
+
* `CHECK (role IN (…))` the consolidated migration injects. `''` is the column
|
|
1623
|
+
* default (a sigil before a `.cant` role is associated). The writer
|
|
1624
|
+
* (`nexus/sigil.ts`) normalizes any out-of-set free-form `.cant` role onto this
|
|
1625
|
+
* enum so the CHECK is always satisfied.
|
|
1626
|
+
*
|
|
1627
|
+
* @task T1148
|
|
1628
|
+
* @task T11578
|
|
1629
|
+
*/
|
|
1630
|
+
export declare const SIGIL_ROLES: readonly ["", "orchestrator", "lead", "worker", "subagent", "specialist", "validator"];
|
|
1631
|
+
/** TypeScript union derived from {@link SIGIL_ROLES}. */
|
|
1632
|
+
export type SigilRole = (typeof SIGIL_ROLES)[number];
|
|
1576
1633
|
/**
|
|
1577
1634
|
* Peer-card sigil identity layer for CANT agents.
|
|
1578
1635
|
*
|
|
@@ -1590,12 +1647,12 @@ export declare const userProfile: import("drizzle-orm/sqlite-core").SQLiteTableW
|
|
|
1590
1647
|
* @epic T1075
|
|
1591
1648
|
*/
|
|
1592
1649
|
export declare const sigils: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1593
|
-
name: "
|
|
1650
|
+
name: "nexus_sigils";
|
|
1594
1651
|
schema: undefined;
|
|
1595
1652
|
columns: {
|
|
1596
1653
|
peerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1597
1654
|
name: string;
|
|
1598
|
-
tableName: "
|
|
1655
|
+
tableName: "nexus_sigils";
|
|
1599
1656
|
dataType: "string";
|
|
1600
1657
|
data: string;
|
|
1601
1658
|
driverParam: string;
|
|
@@ -1611,7 +1668,7 @@ export declare const sigils: import("drizzle-orm/sqlite-core").SQLiteTableWithCo
|
|
|
1611
1668
|
}, {}>;
|
|
1612
1669
|
cantFile: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1613
1670
|
name: string;
|
|
1614
|
-
tableName: "
|
|
1671
|
+
tableName: "nexus_sigils";
|
|
1615
1672
|
dataType: "string";
|
|
1616
1673
|
data: string;
|
|
1617
1674
|
driverParam: string;
|
|
@@ -1627,7 +1684,7 @@ export declare const sigils: import("drizzle-orm/sqlite-core").SQLiteTableWithCo
|
|
|
1627
1684
|
}, {}>;
|
|
1628
1685
|
displayName: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1629
1686
|
name: string;
|
|
1630
|
-
tableName: "
|
|
1687
|
+
tableName: "nexus_sigils";
|
|
1631
1688
|
dataType: "string";
|
|
1632
1689
|
data: string;
|
|
1633
1690
|
driverParam: string;
|
|
@@ -1643,23 +1700,23 @@ export declare const sigils: import("drizzle-orm/sqlite-core").SQLiteTableWithCo
|
|
|
1643
1700
|
}, {}>;
|
|
1644
1701
|
role: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1645
1702
|
name: string;
|
|
1646
|
-
tableName: "
|
|
1647
|
-
dataType: "string";
|
|
1648
|
-
data:
|
|
1703
|
+
tableName: "nexus_sigils";
|
|
1704
|
+
dataType: "string enum";
|
|
1705
|
+
data: "" | "orchestrator" | "lead" | "worker" | "subagent" | "specialist" | "validator";
|
|
1649
1706
|
driverParam: string;
|
|
1650
1707
|
notNull: true;
|
|
1651
1708
|
hasDefault: true;
|
|
1652
1709
|
isPrimaryKey: false;
|
|
1653
1710
|
isAutoincrement: false;
|
|
1654
1711
|
hasRuntimeDefault: false;
|
|
1655
|
-
enumValues: [
|
|
1712
|
+
enumValues: ["", "orchestrator", "lead", "worker", "subagent", "specialist", "validator"];
|
|
1656
1713
|
baseColumn: never;
|
|
1657
1714
|
identity: undefined;
|
|
1658
1715
|
generated: undefined;
|
|
1659
1716
|
}, {}>;
|
|
1660
1717
|
systemPromptFragment: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1661
1718
|
name: string;
|
|
1662
|
-
tableName: "
|
|
1719
|
+
tableName: "nexus_sigils";
|
|
1663
1720
|
dataType: "string";
|
|
1664
1721
|
data: string;
|
|
1665
1722
|
driverParam: string;
|
|
@@ -1675,7 +1732,7 @@ export declare const sigils: import("drizzle-orm/sqlite-core").SQLiteTableWithCo
|
|
|
1675
1732
|
}, {}>;
|
|
1676
1733
|
capabilityFlags: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1677
1734
|
name: string;
|
|
1678
|
-
tableName: "
|
|
1735
|
+
tableName: "nexus_sigils";
|
|
1679
1736
|
dataType: "string";
|
|
1680
1737
|
data: string;
|
|
1681
1738
|
driverParam: string;
|
|
@@ -1691,32 +1748,32 @@ export declare const sigils: import("drizzle-orm/sqlite-core").SQLiteTableWithCo
|
|
|
1691
1748
|
}, {}>;
|
|
1692
1749
|
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1693
1750
|
name: string;
|
|
1694
|
-
tableName: "
|
|
1695
|
-
dataType: "
|
|
1696
|
-
data:
|
|
1697
|
-
driverParam:
|
|
1751
|
+
tableName: "nexus_sigils";
|
|
1752
|
+
dataType: "string";
|
|
1753
|
+
data: string;
|
|
1754
|
+
driverParam: string;
|
|
1698
1755
|
notNull: true;
|
|
1699
1756
|
hasDefault: true;
|
|
1700
1757
|
isPrimaryKey: false;
|
|
1701
1758
|
isAutoincrement: false;
|
|
1702
1759
|
hasRuntimeDefault: true;
|
|
1703
|
-
enumValues:
|
|
1760
|
+
enumValues: [string, ...string[]];
|
|
1704
1761
|
baseColumn: never;
|
|
1705
1762
|
identity: undefined;
|
|
1706
1763
|
generated: undefined;
|
|
1707
1764
|
}, {}>;
|
|
1708
1765
|
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1709
1766
|
name: string;
|
|
1710
|
-
tableName: "
|
|
1711
|
-
dataType: "
|
|
1712
|
-
data:
|
|
1713
|
-
driverParam:
|
|
1767
|
+
tableName: "nexus_sigils";
|
|
1768
|
+
dataType: "string";
|
|
1769
|
+
data: string;
|
|
1770
|
+
driverParam: string;
|
|
1714
1771
|
notNull: true;
|
|
1715
1772
|
hasDefault: true;
|
|
1716
1773
|
isPrimaryKey: false;
|
|
1717
1774
|
isAutoincrement: false;
|
|
1718
1775
|
hasRuntimeDefault: true;
|
|
1719
|
-
enumValues:
|
|
1776
|
+
enumValues: [string, ...string[]];
|
|
1720
1777
|
baseColumn: never;
|
|
1721
1778
|
identity: undefined;
|
|
1722
1779
|
generated: undefined;
|
|
@@ -1734,6 +1791,8 @@ export type NexusNodeRow = typeof nexusNodes.$inferSelect;
|
|
|
1734
1791
|
export type NewNexusNodeRow = typeof nexusNodes.$inferInsert;
|
|
1735
1792
|
export type NexusRelationRow = typeof nexusRelations.$inferSelect;
|
|
1736
1793
|
export type NewNexusRelationRow = typeof nexusRelations.$inferInsert;
|
|
1794
|
+
export type NexusRelationWeightRow = typeof nexusRelationWeights.$inferSelect;
|
|
1795
|
+
export type NewNexusRelationWeightRow = typeof nexusRelationWeights.$inferInsert;
|
|
1737
1796
|
export type NexusContractRow = typeof nexusContracts.$inferSelect;
|
|
1738
1797
|
export type NewNexusContractRow = typeof nexusContracts.$inferInsert;
|
|
1739
1798
|
export type UserProfileRow = typeof userProfile.$inferSelect;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nexus-schema.d.ts","sourceRoot":"","sources":["../../../src/store/schema/nexus-schema.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"nexus-schema.d.ts","sourceRoot":"","sources":["../../../src/store/schema/nexus-schema.ts"],"names":[],"mappings":"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"}
|