@cleocode/core 2026.4.30 → 2026.4.31
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/dist/bootstrap.d.ts +35 -0
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/code/index.d.ts +8 -4
- package/dist/code/index.d.ts.map +1 -1
- package/dist/code/parser.d.ts +22 -9
- package/dist/code/parser.d.ts.map +1 -1
- package/dist/hooks/handlers/session-hooks.d.ts +11 -4
- package/dist/hooks/handlers/session-hooks.d.ts.map +1 -1
- package/dist/hooks/payload-schemas.d.ts +6 -6
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3859 -3008
- package/dist/index.js.map +4 -4
- package/dist/internal.d.ts +10 -7
- package/dist/internal.d.ts.map +1 -1
- package/dist/lib/tree-sitter-languages.d.ts +11 -7
- package/dist/lib/tree-sitter-languages.d.ts.map +1 -1
- package/dist/memory/auto-extract.d.ts +27 -15
- package/dist/memory/auto-extract.d.ts.map +1 -1
- package/dist/memory/brain-backfill.d.ts +59 -0
- package/dist/memory/brain-backfill.d.ts.map +1 -0
- package/dist/memory/brain-purge.d.ts +51 -0
- package/dist/memory/brain-purge.d.ts.map +1 -0
- package/dist/memory/brain-retrieval.d.ts.map +1 -1
- package/dist/memory/brain-search.d.ts.map +1 -1
- package/dist/memory/decisions.d.ts.map +1 -1
- package/dist/memory/engine-compat.d.ts +71 -0
- package/dist/memory/engine-compat.d.ts.map +1 -1
- package/dist/memory/graph-auto-populate.d.ts +65 -0
- package/dist/memory/graph-auto-populate.d.ts.map +1 -0
- package/dist/memory/graph-queries.d.ts +127 -0
- package/dist/memory/graph-queries.d.ts.map +1 -0
- package/dist/memory/learnings.d.ts +2 -0
- package/dist/memory/learnings.d.ts.map +1 -1
- package/dist/memory/patterns.d.ts +2 -0
- package/dist/memory/patterns.d.ts.map +1 -1
- package/dist/memory/quality-scoring.d.ts +90 -0
- package/dist/memory/quality-scoring.d.ts.map +1 -0
- package/dist/sessions/session-memory-bridge.d.ts +16 -10
- package/dist/sessions/session-memory-bridge.d.ts.map +1 -1
- package/dist/store/brain-accessor.d.ts +7 -0
- package/dist/store/brain-accessor.d.ts.map +1 -1
- package/dist/store/brain-schema.d.ts +185 -11
- package/dist/store/brain-schema.d.ts.map +1 -1
- package/dist/store/brain-sqlite.d.ts.map +1 -1
- package/dist/store/nexus-schema.d.ts +480 -2
- package/dist/store/nexus-schema.d.ts.map +1 -1
- package/dist/store/tasks-schema.d.ts +9 -9
- package/dist/store/validation-schemas.d.ts +44 -28
- package/dist/store/validation-schemas.d.ts.map +1 -1
- package/dist/system/dependencies.d.ts +43 -0
- package/dist/system/dependencies.d.ts.map +1 -0
- package/dist/system/health.d.ts +3 -0
- package/dist/system/health.d.ts.map +1 -1
- package/dist/tasks/complete.d.ts.map +1 -1
- package/package.json +19 -19
- package/src/bootstrap.ts +124 -0
- package/src/code/index.ts +20 -4
- package/src/code/parser.ts +310 -110
- package/src/hooks/handlers/__tests__/hook-automation-e2e.test.ts +19 -45
- package/src/hooks/handlers/__tests__/session-hooks.test.ts +42 -54
- package/src/hooks/handlers/session-hooks.ts +11 -33
- package/src/index.ts +14 -0
- package/src/internal.ts +37 -7
- package/src/lib/tree-sitter-languages.ts +11 -7
- package/src/memory/__tests__/auto-extract.test.ts +20 -82
- package/src/memory/__tests__/embedding-pipeline.test.ts +389 -0
- package/src/memory/auto-extract.ts +34 -120
- package/src/memory/brain-backfill.ts +471 -0
- package/src/memory/brain-purge.ts +315 -0
- package/src/memory/brain-retrieval.ts +43 -2
- package/src/memory/brain-search.ts +23 -6
- package/src/memory/decisions.ts +76 -3
- package/src/memory/engine-compat.ts +168 -0
- package/src/memory/graph-auto-populate.ts +173 -0
- package/src/memory/graph-queries.ts +424 -0
- package/src/memory/learnings.ts +55 -7
- package/src/memory/patterns.ts +66 -13
- package/src/memory/quality-scoring.ts +173 -0
- package/src/sessions/__tests__/session-memory-bridge.test.ts +27 -49
- package/src/sessions/session-memory-bridge.ts +19 -47
- package/src/store/__tests__/brain-accessor-pageindex.test.ts +93 -22
- package/src/store/brain-accessor.ts +48 -2
- package/src/store/brain-schema.ts +165 -13
- package/src/store/brain-sqlite.ts +35 -0
- package/src/store/nexus-schema.ts +257 -3
- package/src/system/dependencies.ts +534 -0
- package/src/system/health.ts +126 -22
- package/src/tasks/complete.ts +40 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brain-schema.d.ts","sourceRoot":"","sources":["../../src/store/brain-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAOH,mCAAmC;AACnC,eAAO,MAAM,oBAAoB,4EAMvB,CAAC;AAEX,uCAAuC;AACvC,eAAO,MAAM,uBAAuB,oCAAqC,CAAC;AAE1E,2CAA2C;AAC3C,eAAO,MAAM,mBAAmB,qDAAsD,CAAC;AAEvF,2CAA2C;AAC3C,eAAO,MAAM,mBAAmB,wEAMtB,CAAC;AAEX,kCAAkC;AAClC,eAAO,MAAM,mBAAmB,oCAAqC,CAAC;AAEtE,iEAAiE;AACjE,eAAO,MAAM,gBAAgB,sEAKnB,CAAC;AAEX,gEAAgE;AAChE,eAAO,MAAM,uBAAuB,+EAO1B,CAAC;AAEX,uEAAuE;AACvE,eAAO,MAAM,8BAA8B,+DAKjC,CAAC;AAEX,+CAA+C;AAC/C,eAAO,MAAM,kBAAkB,6DAA8D,CAAC;AAE9F,iCAAiC;AACjC,eAAO,MAAM,qBAAqB,8CAA+C,CAAC;AAElF,0BAA0B;AAC1B,eAAO,MAAM,mBAAmB,uDAAwD,CAAC;AAEzF,mCAAmC;AACnC,eAAO,MAAM,uBAAuB,oCAAqC,CAAC;AAI1E,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"brain-schema.d.ts","sourceRoot":"","sources":["../../src/store/brain-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAOH,mCAAmC;AACnC,eAAO,MAAM,oBAAoB,4EAMvB,CA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AC,YAAY,CAAC;AACzE,MAAM,MAAM,gBAAgB,GAAG,OAAO,cAAc,CAAC,YAAY,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG,OAAO,cAAc,CAAC,YAAY,CAAC;AACrE,MAAM,MAAM,gBAAgB,GAAG,OAAO,cAAc,CAAC,YAAY,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG,OAAO,cAAc,CAAC,YAAY,CAAC;AACrE,MAAM,MAAM,kBAAkB,GAAG,OAAO,gBAAgB,CAAC,YAAY,CAAC;AACtE,MAAM,MAAM,qBAAqB,GAAG,OAAO,gBAAgB,CAAC,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brain-sqlite.d.ts","sourceRoot":"","sources":["../../src/store/brain-sqlite.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAOH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAGlE,OAAO,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAcjD,gFAAgF;AAChF,eAAO,MAAM,oBAAoB,UAAU,CAAC;AAW5C;;GAEG;AACH,wBAAgB,cAAc,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,IAAI,MAAM,CAMrD;AAsED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAE1C;
|
|
1
|
+
{"version":3,"file":"brain-sqlite.d.ts","sourceRoot":"","sources":["../../src/store/brain-sqlite.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAOH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAGlE,OAAO,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAcjD,gFAAgF;AAChF,eAAO,MAAM,oBAAoB,UAAU,CAAC;AAW5C;;GAEG;AACH,wBAAgB,cAAc,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,IAAI,MAAM,CAMrD;AAsED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAE1C;AA0BD;;;;;;;GAOG;AACH,wBAAsB,UAAU,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,OAAO,WAAW,CAAC,CAAC,CAqE9F;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,IAAI,CAcnC;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CAexC;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,YAAY,GAAG,IAAI,CAEtD;AAED,YAAY,EAAE,kBAAkB,EAAE,CAAC;AACnC;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Drizzle ORM schema for CLEO nexus.db (SQLite via node:sqlite + sqlite-proxy).
|
|
3
3
|
*
|
|
4
|
-
* Tables: project_registry, nexus_audit_log, nexus_schema_meta
|
|
5
|
-
*
|
|
4
|
+
* Tables: project_registry, nexus_audit_log, nexus_schema_meta,
|
|
5
|
+
* nexus_nodes, nexus_relations
|
|
6
|
+
* Stores cross-project registry and audit infrastructure for the Nexus domain,
|
|
7
|
+
* plus the code intelligence graph layer (nodes + directed edges).
|
|
6
8
|
*
|
|
7
9
|
* @task T5365
|
|
10
|
+
* @task T529
|
|
8
11
|
*/
|
|
9
12
|
/** Central registry of all CLEO projects known to the Nexus. */
|
|
10
13
|
export declare const projectRegistry: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
@@ -494,10 +497,485 @@ export declare const nexusSchemaMeta: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
494
497
|
};
|
|
495
498
|
dialect: "sqlite";
|
|
496
499
|
}>;
|
|
500
|
+
/**
|
|
501
|
+
* All node kind values — matches GraphNodeKind in @cleocode/contracts.
|
|
502
|
+
*
|
|
503
|
+
* Kept as a const tuple for use in Drizzle enum column definitions.
|
|
504
|
+
* The ordering is intentional: structural → module → callable → type →
|
|
505
|
+
* value-level → language-specific → graph-level → legacy.
|
|
506
|
+
*/
|
|
507
|
+
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"];
|
|
508
|
+
/** TypeScript type derived from NEXUS_NODE_KINDS. */
|
|
509
|
+
export type NexusNodeKind = (typeof NEXUS_NODE_KINDS)[number];
|
|
510
|
+
/**
|
|
511
|
+
* Graph nodes table — one row per symbol or structural element.
|
|
512
|
+
*
|
|
513
|
+
* Stores all code intelligence graph nodes indexed per project.
|
|
514
|
+
* Synthetic nodes (community, process) share this table with
|
|
515
|
+
* source-derived nodes (function, class, file).
|
|
516
|
+
*
|
|
517
|
+
* Both this table and `code_index` are populated from the same parse pass.
|
|
518
|
+
* They serve complementary roles — do NOT merge them.
|
|
519
|
+
*
|
|
520
|
+
* @task T529
|
|
521
|
+
*/
|
|
522
|
+
export declare const nexusNodes: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
523
|
+
name: "nexus_nodes";
|
|
524
|
+
schema: undefined;
|
|
525
|
+
columns: {
|
|
526
|
+
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
527
|
+
name: string;
|
|
528
|
+
tableName: "nexus_nodes";
|
|
529
|
+
dataType: "string";
|
|
530
|
+
data: string;
|
|
531
|
+
driverParam: string;
|
|
532
|
+
notNull: true;
|
|
533
|
+
hasDefault: false;
|
|
534
|
+
isPrimaryKey: true;
|
|
535
|
+
isAutoincrement: false;
|
|
536
|
+
hasRuntimeDefault: false;
|
|
537
|
+
enumValues: [string, ...string[]];
|
|
538
|
+
baseColumn: never;
|
|
539
|
+
identity: undefined;
|
|
540
|
+
generated: undefined;
|
|
541
|
+
}, {}>;
|
|
542
|
+
projectId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
543
|
+
name: string;
|
|
544
|
+
tableName: "nexus_nodes";
|
|
545
|
+
dataType: "string";
|
|
546
|
+
data: string;
|
|
547
|
+
driverParam: string;
|
|
548
|
+
notNull: true;
|
|
549
|
+
hasDefault: false;
|
|
550
|
+
isPrimaryKey: false;
|
|
551
|
+
isAutoincrement: false;
|
|
552
|
+
hasRuntimeDefault: false;
|
|
553
|
+
enumValues: [string, ...string[]];
|
|
554
|
+
baseColumn: never;
|
|
555
|
+
identity: undefined;
|
|
556
|
+
generated: undefined;
|
|
557
|
+
}, {}>;
|
|
558
|
+
kind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
559
|
+
name: string;
|
|
560
|
+
tableName: "nexus_nodes";
|
|
561
|
+
dataType: "string enum";
|
|
562
|
+
data: "function" | "file" | "type" | "enum" | "union" | "process" | "folder" | "module" | "namespace" | "method" | "constructor" | "class" | "interface" | "struct" | "trait" | "impl" | "type_alias" | "property" | "constant" | "variable" | "static" | "record" | "delegate" | "macro" | "typedef" | "annotation" | "template" | "community" | "route" | "tool" | "section" | "import" | "export";
|
|
563
|
+
driverParam: string;
|
|
564
|
+
notNull: true;
|
|
565
|
+
hasDefault: false;
|
|
566
|
+
isPrimaryKey: false;
|
|
567
|
+
isAutoincrement: false;
|
|
568
|
+
hasRuntimeDefault: false;
|
|
569
|
+
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"];
|
|
570
|
+
baseColumn: never;
|
|
571
|
+
identity: undefined;
|
|
572
|
+
generated: undefined;
|
|
573
|
+
}, {}>;
|
|
574
|
+
label: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
575
|
+
name: string;
|
|
576
|
+
tableName: "nexus_nodes";
|
|
577
|
+
dataType: "string";
|
|
578
|
+
data: string;
|
|
579
|
+
driverParam: string;
|
|
580
|
+
notNull: true;
|
|
581
|
+
hasDefault: false;
|
|
582
|
+
isPrimaryKey: false;
|
|
583
|
+
isAutoincrement: false;
|
|
584
|
+
hasRuntimeDefault: false;
|
|
585
|
+
enumValues: [string, ...string[]];
|
|
586
|
+
baseColumn: never;
|
|
587
|
+
identity: undefined;
|
|
588
|
+
generated: undefined;
|
|
589
|
+
}, {}>;
|
|
590
|
+
name: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
591
|
+
name: string;
|
|
592
|
+
tableName: "nexus_nodes";
|
|
593
|
+
dataType: "string";
|
|
594
|
+
data: string;
|
|
595
|
+
driverParam: string;
|
|
596
|
+
notNull: false;
|
|
597
|
+
hasDefault: false;
|
|
598
|
+
isPrimaryKey: false;
|
|
599
|
+
isAutoincrement: false;
|
|
600
|
+
hasRuntimeDefault: false;
|
|
601
|
+
enumValues: [string, ...string[]];
|
|
602
|
+
baseColumn: never;
|
|
603
|
+
identity: undefined;
|
|
604
|
+
generated: undefined;
|
|
605
|
+
}, {}>;
|
|
606
|
+
filePath: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
607
|
+
name: string;
|
|
608
|
+
tableName: "nexus_nodes";
|
|
609
|
+
dataType: "string";
|
|
610
|
+
data: string;
|
|
611
|
+
driverParam: string;
|
|
612
|
+
notNull: false;
|
|
613
|
+
hasDefault: false;
|
|
614
|
+
isPrimaryKey: false;
|
|
615
|
+
isAutoincrement: false;
|
|
616
|
+
hasRuntimeDefault: false;
|
|
617
|
+
enumValues: [string, ...string[]];
|
|
618
|
+
baseColumn: never;
|
|
619
|
+
identity: undefined;
|
|
620
|
+
generated: undefined;
|
|
621
|
+
}, {}>;
|
|
622
|
+
startLine: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
623
|
+
name: string;
|
|
624
|
+
tableName: "nexus_nodes";
|
|
625
|
+
dataType: "number int53";
|
|
626
|
+
data: number;
|
|
627
|
+
driverParam: number;
|
|
628
|
+
notNull: false;
|
|
629
|
+
hasDefault: false;
|
|
630
|
+
isPrimaryKey: false;
|
|
631
|
+
isAutoincrement: false;
|
|
632
|
+
hasRuntimeDefault: false;
|
|
633
|
+
enumValues: undefined;
|
|
634
|
+
baseColumn: never;
|
|
635
|
+
identity: undefined;
|
|
636
|
+
generated: undefined;
|
|
637
|
+
}, {}>;
|
|
638
|
+
endLine: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
639
|
+
name: string;
|
|
640
|
+
tableName: "nexus_nodes";
|
|
641
|
+
dataType: "number int53";
|
|
642
|
+
data: number;
|
|
643
|
+
driverParam: number;
|
|
644
|
+
notNull: false;
|
|
645
|
+
hasDefault: false;
|
|
646
|
+
isPrimaryKey: false;
|
|
647
|
+
isAutoincrement: false;
|
|
648
|
+
hasRuntimeDefault: false;
|
|
649
|
+
enumValues: undefined;
|
|
650
|
+
baseColumn: never;
|
|
651
|
+
identity: undefined;
|
|
652
|
+
generated: undefined;
|
|
653
|
+
}, {}>;
|
|
654
|
+
language: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
655
|
+
name: string;
|
|
656
|
+
tableName: "nexus_nodes";
|
|
657
|
+
dataType: "string";
|
|
658
|
+
data: string;
|
|
659
|
+
driverParam: string;
|
|
660
|
+
notNull: false;
|
|
661
|
+
hasDefault: false;
|
|
662
|
+
isPrimaryKey: false;
|
|
663
|
+
isAutoincrement: false;
|
|
664
|
+
hasRuntimeDefault: false;
|
|
665
|
+
enumValues: [string, ...string[]];
|
|
666
|
+
baseColumn: never;
|
|
667
|
+
identity: undefined;
|
|
668
|
+
generated: undefined;
|
|
669
|
+
}, {}>;
|
|
670
|
+
isExported: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
671
|
+
name: string;
|
|
672
|
+
tableName: "nexus_nodes";
|
|
673
|
+
dataType: "boolean";
|
|
674
|
+
data: boolean;
|
|
675
|
+
driverParam: number;
|
|
676
|
+
notNull: true;
|
|
677
|
+
hasDefault: true;
|
|
678
|
+
isPrimaryKey: false;
|
|
679
|
+
isAutoincrement: false;
|
|
680
|
+
hasRuntimeDefault: false;
|
|
681
|
+
enumValues: undefined;
|
|
682
|
+
baseColumn: never;
|
|
683
|
+
identity: undefined;
|
|
684
|
+
generated: undefined;
|
|
685
|
+
}, {}>;
|
|
686
|
+
parentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
687
|
+
name: string;
|
|
688
|
+
tableName: "nexus_nodes";
|
|
689
|
+
dataType: "string";
|
|
690
|
+
data: string;
|
|
691
|
+
driverParam: string;
|
|
692
|
+
notNull: false;
|
|
693
|
+
hasDefault: false;
|
|
694
|
+
isPrimaryKey: false;
|
|
695
|
+
isAutoincrement: false;
|
|
696
|
+
hasRuntimeDefault: false;
|
|
697
|
+
enumValues: [string, ...string[]];
|
|
698
|
+
baseColumn: never;
|
|
699
|
+
identity: undefined;
|
|
700
|
+
generated: undefined;
|
|
701
|
+
}, {}>;
|
|
702
|
+
parametersJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
703
|
+
name: string;
|
|
704
|
+
tableName: "nexus_nodes";
|
|
705
|
+
dataType: "string";
|
|
706
|
+
data: string;
|
|
707
|
+
driverParam: string;
|
|
708
|
+
notNull: false;
|
|
709
|
+
hasDefault: false;
|
|
710
|
+
isPrimaryKey: false;
|
|
711
|
+
isAutoincrement: false;
|
|
712
|
+
hasRuntimeDefault: false;
|
|
713
|
+
enumValues: [string, ...string[]];
|
|
714
|
+
baseColumn: never;
|
|
715
|
+
identity: undefined;
|
|
716
|
+
generated: undefined;
|
|
717
|
+
}, {}>;
|
|
718
|
+
returnType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
719
|
+
name: string;
|
|
720
|
+
tableName: "nexus_nodes";
|
|
721
|
+
dataType: "string";
|
|
722
|
+
data: string;
|
|
723
|
+
driverParam: string;
|
|
724
|
+
notNull: false;
|
|
725
|
+
hasDefault: false;
|
|
726
|
+
isPrimaryKey: false;
|
|
727
|
+
isAutoincrement: false;
|
|
728
|
+
hasRuntimeDefault: false;
|
|
729
|
+
enumValues: [string, ...string[]];
|
|
730
|
+
baseColumn: never;
|
|
731
|
+
identity: undefined;
|
|
732
|
+
generated: undefined;
|
|
733
|
+
}, {}>;
|
|
734
|
+
docSummary: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
735
|
+
name: string;
|
|
736
|
+
tableName: "nexus_nodes";
|
|
737
|
+
dataType: "string";
|
|
738
|
+
data: string;
|
|
739
|
+
driverParam: string;
|
|
740
|
+
notNull: false;
|
|
741
|
+
hasDefault: false;
|
|
742
|
+
isPrimaryKey: false;
|
|
743
|
+
isAutoincrement: false;
|
|
744
|
+
hasRuntimeDefault: false;
|
|
745
|
+
enumValues: [string, ...string[]];
|
|
746
|
+
baseColumn: never;
|
|
747
|
+
identity: undefined;
|
|
748
|
+
generated: undefined;
|
|
749
|
+
}, {}>;
|
|
750
|
+
communityId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
751
|
+
name: string;
|
|
752
|
+
tableName: "nexus_nodes";
|
|
753
|
+
dataType: "string";
|
|
754
|
+
data: string;
|
|
755
|
+
driverParam: string;
|
|
756
|
+
notNull: false;
|
|
757
|
+
hasDefault: false;
|
|
758
|
+
isPrimaryKey: false;
|
|
759
|
+
isAutoincrement: false;
|
|
760
|
+
hasRuntimeDefault: false;
|
|
761
|
+
enumValues: [string, ...string[]];
|
|
762
|
+
baseColumn: never;
|
|
763
|
+
identity: undefined;
|
|
764
|
+
generated: undefined;
|
|
765
|
+
}, {}>;
|
|
766
|
+
metaJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
767
|
+
name: string;
|
|
768
|
+
tableName: "nexus_nodes";
|
|
769
|
+
dataType: "string";
|
|
770
|
+
data: string;
|
|
771
|
+
driverParam: string;
|
|
772
|
+
notNull: false;
|
|
773
|
+
hasDefault: false;
|
|
774
|
+
isPrimaryKey: false;
|
|
775
|
+
isAutoincrement: false;
|
|
776
|
+
hasRuntimeDefault: false;
|
|
777
|
+
enumValues: [string, ...string[]];
|
|
778
|
+
baseColumn: never;
|
|
779
|
+
identity: undefined;
|
|
780
|
+
generated: undefined;
|
|
781
|
+
}, {}>;
|
|
782
|
+
indexedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
783
|
+
name: string;
|
|
784
|
+
tableName: "nexus_nodes";
|
|
785
|
+
dataType: "string";
|
|
786
|
+
data: string;
|
|
787
|
+
driverParam: string;
|
|
788
|
+
notNull: true;
|
|
789
|
+
hasDefault: true;
|
|
790
|
+
isPrimaryKey: false;
|
|
791
|
+
isAutoincrement: false;
|
|
792
|
+
hasRuntimeDefault: false;
|
|
793
|
+
enumValues: [string, ...string[]];
|
|
794
|
+
baseColumn: never;
|
|
795
|
+
identity: undefined;
|
|
796
|
+
generated: undefined;
|
|
797
|
+
}, {}>;
|
|
798
|
+
};
|
|
799
|
+
dialect: "sqlite";
|
|
800
|
+
}>;
|
|
801
|
+
/**
|
|
802
|
+
* All relation type values — matches GraphRelationType in @cleocode/contracts.
|
|
803
|
+
*
|
|
804
|
+
* Kept as a const tuple for use in Drizzle enum column definitions.
|
|
805
|
+
*/
|
|
806
|
+
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"];
|
|
807
|
+
/** TypeScript type derived from NEXUS_RELATION_TYPES. */
|
|
808
|
+
export type NexusRelationType = (typeof NEXUS_RELATION_TYPES)[number];
|
|
809
|
+
/**
|
|
810
|
+
* Graph relations table — one row per directed edge.
|
|
811
|
+
*
|
|
812
|
+
* All graph traversal (impact, context, process detection) reads from
|
|
813
|
+
* this table after ingestion completes.
|
|
814
|
+
*
|
|
815
|
+
* Source and target reference nexus_nodes.id. They are soft FKs —
|
|
816
|
+
* unresolved targets (e.g., external packages) are stored as raw specifiers.
|
|
817
|
+
*
|
|
818
|
+
* @task T529
|
|
819
|
+
*/
|
|
820
|
+
export declare const nexusRelations: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
821
|
+
name: "nexus_relations";
|
|
822
|
+
schema: undefined;
|
|
823
|
+
columns: {
|
|
824
|
+
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
825
|
+
name: string;
|
|
826
|
+
tableName: "nexus_relations";
|
|
827
|
+
dataType: "string";
|
|
828
|
+
data: string;
|
|
829
|
+
driverParam: string;
|
|
830
|
+
notNull: true;
|
|
831
|
+
hasDefault: false;
|
|
832
|
+
isPrimaryKey: true;
|
|
833
|
+
isAutoincrement: false;
|
|
834
|
+
hasRuntimeDefault: false;
|
|
835
|
+
enumValues: [string, ...string[]];
|
|
836
|
+
baseColumn: never;
|
|
837
|
+
identity: undefined;
|
|
838
|
+
generated: undefined;
|
|
839
|
+
}, {}>;
|
|
840
|
+
projectId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
841
|
+
name: string;
|
|
842
|
+
tableName: "nexus_relations";
|
|
843
|
+
dataType: "string";
|
|
844
|
+
data: string;
|
|
845
|
+
driverParam: string;
|
|
846
|
+
notNull: true;
|
|
847
|
+
hasDefault: false;
|
|
848
|
+
isPrimaryKey: false;
|
|
849
|
+
isAutoincrement: false;
|
|
850
|
+
hasRuntimeDefault: false;
|
|
851
|
+
enumValues: [string, ...string[]];
|
|
852
|
+
baseColumn: never;
|
|
853
|
+
identity: undefined;
|
|
854
|
+
generated: undefined;
|
|
855
|
+
}, {}>;
|
|
856
|
+
sourceId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
857
|
+
name: string;
|
|
858
|
+
tableName: "nexus_relations";
|
|
859
|
+
dataType: "string";
|
|
860
|
+
data: string;
|
|
861
|
+
driverParam: string;
|
|
862
|
+
notNull: true;
|
|
863
|
+
hasDefault: false;
|
|
864
|
+
isPrimaryKey: false;
|
|
865
|
+
isAutoincrement: false;
|
|
866
|
+
hasRuntimeDefault: false;
|
|
867
|
+
enumValues: [string, ...string[]];
|
|
868
|
+
baseColumn: never;
|
|
869
|
+
identity: undefined;
|
|
870
|
+
generated: undefined;
|
|
871
|
+
}, {}>;
|
|
872
|
+
targetId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
873
|
+
name: string;
|
|
874
|
+
tableName: "nexus_relations";
|
|
875
|
+
dataType: "string";
|
|
876
|
+
data: string;
|
|
877
|
+
driverParam: string;
|
|
878
|
+
notNull: true;
|
|
879
|
+
hasDefault: false;
|
|
880
|
+
isPrimaryKey: false;
|
|
881
|
+
isAutoincrement: false;
|
|
882
|
+
hasRuntimeDefault: false;
|
|
883
|
+
enumValues: [string, ...string[]];
|
|
884
|
+
baseColumn: never;
|
|
885
|
+
identity: undefined;
|
|
886
|
+
generated: undefined;
|
|
887
|
+
}, {}>;
|
|
888
|
+
type: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
889
|
+
name: string;
|
|
890
|
+
tableName: "nexus_relations";
|
|
891
|
+
dataType: "string enum";
|
|
892
|
+
data: "applies_to" | "documents" | "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";
|
|
893
|
+
driverParam: string;
|
|
894
|
+
notNull: true;
|
|
895
|
+
hasDefault: false;
|
|
896
|
+
isPrimaryKey: false;
|
|
897
|
+
isAutoincrement: false;
|
|
898
|
+
hasRuntimeDefault: false;
|
|
899
|
+
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"];
|
|
900
|
+
baseColumn: never;
|
|
901
|
+
identity: undefined;
|
|
902
|
+
generated: undefined;
|
|
903
|
+
}, {}>;
|
|
904
|
+
confidence: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
905
|
+
name: string;
|
|
906
|
+
tableName: "nexus_relations";
|
|
907
|
+
dataType: "number double";
|
|
908
|
+
data: number;
|
|
909
|
+
driverParam: number;
|
|
910
|
+
notNull: true;
|
|
911
|
+
hasDefault: false;
|
|
912
|
+
isPrimaryKey: false;
|
|
913
|
+
isAutoincrement: false;
|
|
914
|
+
hasRuntimeDefault: false;
|
|
915
|
+
enumValues: undefined;
|
|
916
|
+
baseColumn: never;
|
|
917
|
+
identity: undefined;
|
|
918
|
+
generated: undefined;
|
|
919
|
+
}, {}>;
|
|
920
|
+
reason: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
921
|
+
name: string;
|
|
922
|
+
tableName: "nexus_relations";
|
|
923
|
+
dataType: "string";
|
|
924
|
+
data: string;
|
|
925
|
+
driverParam: string;
|
|
926
|
+
notNull: false;
|
|
927
|
+
hasDefault: false;
|
|
928
|
+
isPrimaryKey: false;
|
|
929
|
+
isAutoincrement: false;
|
|
930
|
+
hasRuntimeDefault: false;
|
|
931
|
+
enumValues: [string, ...string[]];
|
|
932
|
+
baseColumn: never;
|
|
933
|
+
identity: undefined;
|
|
934
|
+
generated: undefined;
|
|
935
|
+
}, {}>;
|
|
936
|
+
step: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
937
|
+
name: string;
|
|
938
|
+
tableName: "nexus_relations";
|
|
939
|
+
dataType: "number int53";
|
|
940
|
+
data: number;
|
|
941
|
+
driverParam: number;
|
|
942
|
+
notNull: false;
|
|
943
|
+
hasDefault: false;
|
|
944
|
+
isPrimaryKey: false;
|
|
945
|
+
isAutoincrement: false;
|
|
946
|
+
hasRuntimeDefault: false;
|
|
947
|
+
enumValues: undefined;
|
|
948
|
+
baseColumn: never;
|
|
949
|
+
identity: undefined;
|
|
950
|
+
generated: undefined;
|
|
951
|
+
}, {}>;
|
|
952
|
+
indexedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
953
|
+
name: string;
|
|
954
|
+
tableName: "nexus_relations";
|
|
955
|
+
dataType: "string";
|
|
956
|
+
data: string;
|
|
957
|
+
driverParam: string;
|
|
958
|
+
notNull: true;
|
|
959
|
+
hasDefault: true;
|
|
960
|
+
isPrimaryKey: false;
|
|
961
|
+
isAutoincrement: false;
|
|
962
|
+
hasRuntimeDefault: false;
|
|
963
|
+
enumValues: [string, ...string[]];
|
|
964
|
+
baseColumn: never;
|
|
965
|
+
identity: undefined;
|
|
966
|
+
generated: undefined;
|
|
967
|
+
}, {}>;
|
|
968
|
+
};
|
|
969
|
+
dialect: "sqlite";
|
|
970
|
+
}>;
|
|
497
971
|
export type ProjectRegistryRow = typeof projectRegistry.$inferSelect;
|
|
498
972
|
export type NewProjectRegistryRow = typeof projectRegistry.$inferInsert;
|
|
499
973
|
export type NexusAuditLogRow = typeof nexusAuditLog.$inferSelect;
|
|
500
974
|
export type NewNexusAuditLogRow = typeof nexusAuditLog.$inferInsert;
|
|
501
975
|
export type NexusSchemaMetaRow = typeof nexusSchemaMeta.$inferSelect;
|
|
502
976
|
export type NewNexusSchemaMetaRow = typeof nexusSchemaMeta.$inferInsert;
|
|
977
|
+
export type NexusNodeRow = typeof nexusNodes.$inferSelect;
|
|
978
|
+
export type NewNexusNodeRow = typeof nexusNodes.$inferInsert;
|
|
979
|
+
export type NexusRelationRow = typeof nexusRelations.$inferSelect;
|
|
980
|
+
export type NewNexusRelationRow = typeof nexusRelations.$inferInsert;
|
|
503
981
|
//# sourceMappingURL=nexus-schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nexus-schema.d.ts","sourceRoot":"","sources":["../../src/store/nexus-schema.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":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ol
|
|
|
94
94
|
name: string;
|
|
95
95
|
tableName: "tasks";
|
|
96
96
|
dataType: "string enum";
|
|
97
|
-
data: "pending" | "active" | "archived" | "
|
|
97
|
+
data: "pending" | "active" | "archived" | "done" | "cancelled" | "blocked";
|
|
98
98
|
driverParam: string;
|
|
99
99
|
notNull: true;
|
|
100
100
|
hasDefault: true;
|
|
@@ -652,7 +652,7 @@ export declare const taskRelations: import("drizzle-orm/sqlite-core").SQLiteTabl
|
|
|
652
652
|
name: string;
|
|
653
653
|
tableName: "task_relations";
|
|
654
654
|
dataType: "string enum";
|
|
655
|
-
data: "
|
|
655
|
+
data: "supersedes" | "extends" | "related" | "blocks" | "duplicates" | "absorbs" | "fixes";
|
|
656
656
|
driverParam: string;
|
|
657
657
|
notNull: true;
|
|
658
658
|
hasDefault: true;
|
|
@@ -1185,7 +1185,7 @@ export declare const lifecyclePipelines: import("drizzle-orm/sqlite-core").SQLit
|
|
|
1185
1185
|
name: string;
|
|
1186
1186
|
tableName: "lifecycle_pipelines";
|
|
1187
1187
|
dataType: "string enum";
|
|
1188
|
-
data: "active" | "
|
|
1188
|
+
data: "active" | "cancelled" | "blocked" | "failed" | "completed" | "aborted";
|
|
1189
1189
|
driverParam: string;
|
|
1190
1190
|
notNull: true;
|
|
1191
1191
|
hasDefault: true;
|
|
@@ -1336,7 +1336,7 @@ export declare const lifecycleStages: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
1336
1336
|
name: string;
|
|
1337
1337
|
tableName: "lifecycle_stages";
|
|
1338
1338
|
dataType: "string enum";
|
|
1339
|
-
data: "
|
|
1339
|
+
data: "blocked" | "failed" | "completed" | "not_started" | "in_progress" | "skipped";
|
|
1340
1340
|
driverParam: string;
|
|
1341
1341
|
notNull: true;
|
|
1342
1342
|
hasDefault: true;
|
|
@@ -2052,7 +2052,7 @@ export declare const manifestEntries: import("drizzle-orm/sqlite-core").SQLiteTa
|
|
|
2052
2052
|
name: string;
|
|
2053
2053
|
tableName: "manifest_entries";
|
|
2054
2054
|
dataType: "string enum";
|
|
2055
|
-
data: "partial" | "archived" | "
|
|
2055
|
+
data: "partial" | "archived" | "blocked" | "completed";
|
|
2056
2056
|
driverParam: string;
|
|
2057
2057
|
notNull: true;
|
|
2058
2058
|
hasDefault: false;
|
|
@@ -3106,7 +3106,7 @@ export declare const tokenUsage: import("drizzle-orm/sqlite-core").SQLiteTableWi
|
|
|
3106
3106
|
name: string;
|
|
3107
3107
|
tableName: "token_usage";
|
|
3108
3108
|
dataType: "string enum";
|
|
3109
|
-
data: "agent" | "
|
|
3109
|
+
data: "agent" | "cli" | "unknown" | "api";
|
|
3110
3110
|
driverParam: string;
|
|
3111
3111
|
notNull: true;
|
|
3112
3112
|
hasDefault: true;
|
|
@@ -3298,7 +3298,7 @@ export declare const tokenUsage: import("drizzle-orm/sqlite-core").SQLiteTableWi
|
|
|
3298
3298
|
name: string;
|
|
3299
3299
|
tableName: "token_usage";
|
|
3300
3300
|
dataType: "string enum";
|
|
3301
|
-
data: "
|
|
3301
|
+
data: "tokenizer" | "otel" | "provider_api" | "heuristic";
|
|
3302
3302
|
driverParam: string;
|
|
3303
3303
|
notNull: true;
|
|
3304
3304
|
hasDefault: true;
|
|
@@ -3775,7 +3775,7 @@ export declare const adrRelations: import("drizzle-orm/sqlite-core").SQLiteTable
|
|
|
3775
3775
|
name: string;
|
|
3776
3776
|
tableName: "adr_relations";
|
|
3777
3777
|
dataType: "string enum";
|
|
3778
|
-
data: "
|
|
3778
|
+
data: "supersedes" | "related" | "amends";
|
|
3779
3779
|
driverParam: string;
|
|
3780
3780
|
notNull: true;
|
|
3781
3781
|
hasDefault: false;
|
|
@@ -4006,7 +4006,7 @@ export declare const statusRegistryTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
4006
4006
|
name: string;
|
|
4007
4007
|
tableName: "status_registry";
|
|
4008
4008
|
dataType: "string enum";
|
|
4009
|
-
data: "task" | "
|
|
4009
|
+
data: "task" | "session" | "manifest" | "gate" | "lifecycle_pipeline" | "lifecycle_stage" | "adr";
|
|
4010
4010
|
driverParam: string;
|
|
4011
4011
|
notNull: true;
|
|
4012
4012
|
hasDefault: false;
|