@lucern/contracts 1.0.43 → 1.0.45
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/function-registry/context.js +7 -3
- package/dist/generated/convexSchemas.d.ts +115 -115
- package/dist/generated/convexSchemas.js +6 -6
- package/dist/generated/schema-manifest.json +3 -1
- package/dist/index.js +23 -12
- package/dist/proof-attestation.json +1 -1
- package/dist/schemas/index.js +23 -12
- package/dist/schemas/manifest.d.ts +55 -55
- package/dist/schemas/manifest.js +23 -12
- package/dist/schemas/tables/kernel/decision.d.ts +2 -2
- package/dist/schemas/tables/kernel/decision.js +2 -2
- package/dist/schemas/tables/kernel/embedding.d.ts +1 -1
- package/dist/schemas/tables/kernel/embedding.js +12 -13
- package/dist/schemas/tables/kernel/intelligence.d.ts +5 -5
- package/dist/schemas/tables/kernel/intelligence.js +6 -5
- package/dist/schemas/tables/kernel/spine.d.ts +2 -2
- package/dist/schemas/tables/kernel/spine.js +2 -13
- package/dist/schemas/tables/kernel/workflow.d.ts +1 -1
- package/dist/schemas/tables/kernel/workflow.js +1 -1
- package/dist/schemas.values.js +23 -12
- package/package.json +1 -1
|
@@ -500,7 +500,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
500
500
|
weightingInput?: Record<string, any> | undefined;
|
|
501
501
|
effectiveWeight?: number | undefined;
|
|
502
502
|
status: "active" | "superseded" | "withdrawn";
|
|
503
|
-
beliefId:
|
|
503
|
+
beliefId: string;
|
|
504
504
|
createdBy: string;
|
|
505
505
|
confidence: number;
|
|
506
506
|
createdAt: number;
|
|
@@ -510,7 +510,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
510
510
|
voteDirection: "support" | "oppose" | "abstain" | "uncertain";
|
|
511
511
|
weightingModelVersion: string;
|
|
512
512
|
}, {
|
|
513
|
-
beliefId: import("convex/values").
|
|
513
|
+
beliefId: import("convex/values").VString<string, "required">;
|
|
514
514
|
comment: import("convex/values").VString<string | undefined, "optional">;
|
|
515
515
|
confidence: import("convex/values").VFloat64<number, "required">;
|
|
516
516
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
@@ -705,19 +705,19 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
705
705
|
worktreeId?: string | undefined;
|
|
706
706
|
decidedAt?: number | undefined;
|
|
707
707
|
sourceProjectId?: string | undefined;
|
|
708
|
-
sourceTopicId?:
|
|
708
|
+
sourceTopicId?: string | undefined;
|
|
709
709
|
targetProjectId?: string | undefined;
|
|
710
|
-
targetTopicId?:
|
|
710
|
+
targetTopicId?: string | undefined;
|
|
711
711
|
suggestedWeight?: number | undefined;
|
|
712
|
-
acceptedEdgeId?:
|
|
712
|
+
acceptedEdgeId?: string | undefined;
|
|
713
713
|
declineReason?: string | undefined;
|
|
714
714
|
declineCategory?: "other" | "not_relevant" | "too_generic" | "already_known" | "different_context" | "wrong_relationship" | "premature" | undefined;
|
|
715
715
|
decision: "pending" | "accepted" | "declined";
|
|
716
716
|
createdAt: number;
|
|
717
717
|
rationale: string;
|
|
718
|
-
targetNodeId:
|
|
718
|
+
targetNodeId: string;
|
|
719
719
|
userId: string;
|
|
720
|
-
sourceNodeId:
|
|
720
|
+
sourceNodeId: string;
|
|
721
721
|
semanticSimilarity: number;
|
|
722
722
|
matchSignals: {
|
|
723
723
|
sharedThemeNames?: string[] | undefined;
|
|
@@ -731,7 +731,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
731
731
|
suggestedEdgeType: string;
|
|
732
732
|
surfacedDuring: "manual" | "chat" | "worktree_clustering" | "morning_brief";
|
|
733
733
|
}, {
|
|
734
|
-
acceptedEdgeId: import("convex/values").
|
|
734
|
+
acceptedEdgeId: import("convex/values").VString<string | undefined, "optional">;
|
|
735
735
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
736
736
|
decidedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
737
737
|
decision: import("convex/values").VUnion<"pending" | "accepted" | "declined", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"accepted", "required">, import("convex/values").VLiteral<"declined", "required">], "required", never>;
|
|
@@ -756,15 +756,15 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
756
756
|
}, "required", "beliefTextSimilarity" | "themeOverlap" | "sharedThemeNames" | "themeSimilarity" | "ontologyOverlap" | "sharedFunctions" | "sharedValueChains">;
|
|
757
757
|
rationale: import("convex/values").VString<string, "required">;
|
|
758
758
|
semanticSimilarity: import("convex/values").VFloat64<number, "required">;
|
|
759
|
-
sourceNodeId: import("convex/values").
|
|
759
|
+
sourceNodeId: import("convex/values").VString<string, "required">;
|
|
760
760
|
sourceProjectId: import("convex/values").VString<string | undefined, "optional">;
|
|
761
|
-
sourceTopicId: import("convex/values").
|
|
761
|
+
sourceTopicId: import("convex/values").VString<string | undefined, "optional">;
|
|
762
762
|
suggestedEdgeType: import("convex/values").VString<string, "required">;
|
|
763
763
|
suggestedWeight: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
764
764
|
surfacedDuring: import("convex/values").VUnion<"manual" | "chat" | "worktree_clustering" | "morning_brief", [import("convex/values").VLiteral<"worktree_clustering", "required">, import("convex/values").VLiteral<"chat", "required">, import("convex/values").VLiteral<"morning_brief", "required">, import("convex/values").VLiteral<"manual", "required">], "required", never>;
|
|
765
|
-
targetNodeId: import("convex/values").
|
|
765
|
+
targetNodeId: import("convex/values").VString<string, "required">;
|
|
766
766
|
targetProjectId: import("convex/values").VString<string | undefined, "optional">;
|
|
767
|
-
targetTopicId: import("convex/values").
|
|
767
|
+
targetTopicId: import("convex/values").VString<string | undefined, "optional">;
|
|
768
768
|
userId: import("convex/values").VString<string, "required">;
|
|
769
769
|
worktreeId: import("convex/values").VString<string | undefined, "optional">;
|
|
770
770
|
}, "required", "decision" | "worktreeId" | "createdAt" | "rationale" | "decidedAt" | "targetNodeId" | "userId" | "sourceProjectId" | "sourceTopicId" | "sourceNodeId" | "targetProjectId" | "targetTopicId" | "semanticSimilarity" | "matchSignals" | "suggestedEdgeType" | "suggestedWeight" | "acceptedEdgeId" | "declineReason" | "declineCategory" | "surfacedDuring" | "matchSignals.beliefTextSimilarity" | "matchSignals.themeOverlap" | "matchSignals.sharedThemeNames" | "matchSignals.themeSimilarity" | "matchSignals.ontologyOverlap" | "matchSignals.sharedFunctions" | "matchSignals.sharedValueChains">, {
|
|
@@ -937,7 +937,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
937
937
|
tenantId?: string | undefined;
|
|
938
938
|
workspaceId?: string | undefined;
|
|
939
939
|
ownerPrincipalId?: string | undefined;
|
|
940
|
-
relatedBeliefId?:
|
|
940
|
+
relatedBeliefId?: string | undefined;
|
|
941
941
|
triggerCondition?: string | undefined;
|
|
942
942
|
monitoringPlan?: string | undefined;
|
|
943
943
|
confirmationMetadata?: Record<string, any> | undefined;
|
|
@@ -964,7 +964,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
964
964
|
monitoringPlan: import("convex/values").VString<string | undefined, "optional">;
|
|
965
965
|
ownerPrincipalId: import("convex/values").VString<string | undefined, "optional">;
|
|
966
966
|
probabilityBand: import("convex/values").VUnion<"high" | "low" | "medium" | "very_low" | "very_high", [import("convex/values").VLiteral<"very_low", "required">, import("convex/values").VLiteral<"low", "required">, import("convex/values").VLiteral<"medium", "required">, import("convex/values").VLiteral<"high", "required">, import("convex/values").VLiteral<"very_high", "required">], "required", never>;
|
|
967
|
-
relatedBeliefId: import("convex/values").
|
|
967
|
+
relatedBeliefId: import("convex/values").VString<string | undefined, "optional">;
|
|
968
968
|
riskDescription: import("convex/values").VString<string, "required">;
|
|
969
969
|
riskType: import("convex/values").VString<string, "required">;
|
|
970
970
|
status: import("convex/values").VUnion<"resolved" | "draft" | "dismissed" | "confirmed", [import("convex/values").VLiteral<"draft", "required">, import("convex/values").VLiteral<"confirmed", "required">, import("convex/values").VLiteral<"resolved", "required">, import("convex/values").VLiteral<"dismissed", "required">], "required", never>;
|
|
@@ -1606,7 +1606,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
1606
1606
|
embeddedAt?: number | undefined;
|
|
1607
1607
|
hasAnswer?: boolean | undefined;
|
|
1608
1608
|
nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
|
|
1609
|
-
nodeId:
|
|
1609
|
+
nodeId: string;
|
|
1610
1610
|
createdBy: string;
|
|
1611
1611
|
createdAt: number;
|
|
1612
1612
|
embedding: number[];
|
|
@@ -1620,7 +1620,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
1620
1620
|
embeddingModel: import("convex/values").VString<string | undefined, "optional">;
|
|
1621
1621
|
hasAnswer: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1622
1622
|
importance: import("convex/values").VUnion<"high" | "low" | "medium" | "critical" | undefined, [import("convex/values").VLiteral<"critical", "required">, import("convex/values").VLiteral<"high", "required">, import("convex/values").VLiteral<"medium", "required">, import("convex/values").VLiteral<"low", "required">], "optional", never>;
|
|
1623
|
-
nodeId: import("convex/values").
|
|
1623
|
+
nodeId: import("convex/values").VString<string, "required">;
|
|
1624
1624
|
nodeType: import("convex/values").VUnion<"function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain", [import("convex/values").VLiteral<"decision", "required">, import("convex/values").VLiteral<"belief", "required">, import("convex/values").VLiteral<"question", "required">, import("convex/values").VLiteral<"theme", "required">, import("convex/values").VLiteral<"deal", "required">, import("convex/values").VLiteral<"topic", "required">, import("convex/values").VLiteral<"claim", "required">, import("convex/values").VLiteral<"evidence", "required">, import("convex/values").VLiteral<"synthesis", "required">, import("convex/values").VLiteral<"answer", "required">, import("convex/values").VLiteral<"atomic_fact", "required">, import("convex/values").VLiteral<"excerpt", "required">, import("convex/values").VLiteral<"source", "required">, import("convex/values").VLiteral<"company", "required">, import("convex/values").VLiteral<"person", "required">, import("convex/values").VLiteral<"investor", "required">, import("convex/values").VLiteral<"function", "required">, import("convex/values").VLiteral<"value_chain", "required">], "required", never>;
|
|
1625
1625
|
tenantId: import("convex/values").VString<string | undefined, "optional">;
|
|
1626
1626
|
textPreview: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -1637,7 +1637,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
1637
1637
|
by_embedding: {
|
|
1638
1638
|
vectorField: "embedding";
|
|
1639
1639
|
dimensions: number;
|
|
1640
|
-
filterFields: "nodeType" | "topicId" | "createdBy";
|
|
1640
|
+
filterFields: "nodeType" | "topicId" | "createdBy" | "tenantId" | "workspaceId";
|
|
1641
1641
|
};
|
|
1642
1642
|
}>;
|
|
1643
1643
|
epistemicNodes: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
@@ -1696,7 +1696,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
1696
1696
|
website?: string | undefined;
|
|
1697
1697
|
} | undefined;
|
|
1698
1698
|
aiProvider?: string | undefined;
|
|
1699
|
-
extractedFromNodeId?:
|
|
1699
|
+
extractedFromNodeId?: string | undefined;
|
|
1700
1700
|
questionType?: "validation" | "comparison" | "causal" | "general" | "discovery" | "clarification" | "falsification" | "assumption_probe" | "prediction_test" | "counterfactual" | "mechanism" | undefined;
|
|
1701
1701
|
questionPriority?: "high" | "low" | "medium" | "critical" | undefined;
|
|
1702
1702
|
anonymizationClass?: "none" | "strict" | "standard" | undefined;
|
|
@@ -1722,7 +1722,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
1722
1722
|
groundingStartOffset?: number | undefined;
|
|
1723
1723
|
groundingEndOffset?: number | undefined;
|
|
1724
1724
|
groundingRejectionReason?: string | undefined;
|
|
1725
|
-
supersededBy?:
|
|
1725
|
+
supersededBy?: string | undefined;
|
|
1726
1726
|
syncStatus?: "synced" | "pending_edges" | "edge_creation_failed" | undefined;
|
|
1727
1727
|
syncError?: string | undefined;
|
|
1728
1728
|
nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
|
|
@@ -1772,7 +1772,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
1772
1772
|
website: import("convex/values").VString<string | undefined, "optional">;
|
|
1773
1773
|
}, "optional", "crunchbase" | "linkedin" | "pitchbook" | "twitter" | "website">;
|
|
1774
1774
|
externalSourceType: import("convex/values").VString<string | undefined, "optional">;
|
|
1775
|
-
extractedFromNodeId: import("convex/values").
|
|
1775
|
+
extractedFromNodeId: import("convex/values").VString<string | undefined, "optional">;
|
|
1776
1776
|
extractionLangfuseTraceId: import("convex/values").VString<string | undefined, "optional">;
|
|
1777
1777
|
extractionModel: import("convex/values").VString<string | undefined, "optional">;
|
|
1778
1778
|
extractionPromptName: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -1828,7 +1828,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
1828
1828
|
sourceUrl: import("convex/values").VString<string | undefined, "optional">;
|
|
1829
1829
|
status: import("convex/values").VUnion<"deleted" | "active" | "archived" | "superseded", [import("convex/values").VLiteral<"active", "required">, import("convex/values").VLiteral<"superseded", "required">, import("convex/values").VLiteral<"archived", "required">, import("convex/values").VLiteral<"deleted", "required">], "required", never>;
|
|
1830
1830
|
subtype: import("convex/values").VString<string | undefined, "optional">;
|
|
1831
|
-
supersededBy: import("convex/values").
|
|
1831
|
+
supersededBy: import("convex/values").VString<string | undefined, "optional">;
|
|
1832
1832
|
syncError: import("convex/values").VString<string | undefined, "optional">;
|
|
1833
1833
|
syncStatus: import("convex/values").VUnion<"synced" | "pending_edges" | "edge_creation_failed" | undefined, [import("convex/values").VLiteral<"synced", "required">, import("convex/values").VLiteral<"pending_edges", "required">, import("convex/values").VLiteral<"edge_creation_failed", "required">], "optional", never>;
|
|
1834
1834
|
tags: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
|
|
@@ -4197,7 +4197,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
4197
4197
|
summary: string;
|
|
4198
4198
|
status: "blocked" | "pending_review" | "changes_requested" | "approved";
|
|
4199
4199
|
createdBy: string;
|
|
4200
|
-
worktreeId:
|
|
4200
|
+
worktreeId: string;
|
|
4201
4201
|
createdAt: number;
|
|
4202
4202
|
updatedAt: number;
|
|
4203
4203
|
}, {
|
|
@@ -4211,7 +4211,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
|
|
|
4211
4211
|
summary: import("convex/values").VString<string, "required">;
|
|
4212
4212
|
topicId: import("convex/values").VString<string | undefined, "optional">;
|
|
4213
4213
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
4214
|
-
worktreeId: import("convex/values").
|
|
4214
|
+
worktreeId: import("convex/values").VString<string, "required">;
|
|
4215
4215
|
}, "required", "summary" | "metadata" | "status" | "topicId" | "createdBy" | "worktreeId" | "createdAt" | "updatedAt" | "reviewers" | `metadata.${string}` | "resolvedBy" | "resolvedAt">, {
|
|
4216
4216
|
by_worktreeId: ["worktreeId", "_creationTime"];
|
|
4217
4217
|
by_status: ["status", "_creationTime"];
|
|
@@ -11042,7 +11042,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
11042
11042
|
weightingInput?: Record<string, any> | undefined;
|
|
11043
11043
|
effectiveWeight?: number | undefined;
|
|
11044
11044
|
status: "active" | "superseded" | "withdrawn";
|
|
11045
|
-
beliefId:
|
|
11045
|
+
beliefId: string;
|
|
11046
11046
|
createdBy: string;
|
|
11047
11047
|
confidence: number;
|
|
11048
11048
|
createdAt: number;
|
|
@@ -11052,7 +11052,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
11052
11052
|
voteDirection: "support" | "oppose" | "abstain" | "uncertain";
|
|
11053
11053
|
weightingModelVersion: string;
|
|
11054
11054
|
}, {
|
|
11055
|
-
beliefId: import("convex/values").
|
|
11055
|
+
beliefId: import("convex/values").VString<string, "required">;
|
|
11056
11056
|
comment: import("convex/values").VString<string | undefined, "optional">;
|
|
11057
11057
|
confidence: import("convex/values").VFloat64<number, "required">;
|
|
11058
11058
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
@@ -11247,19 +11247,19 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
11247
11247
|
worktreeId?: string | undefined;
|
|
11248
11248
|
decidedAt?: number | undefined;
|
|
11249
11249
|
sourceProjectId?: string | undefined;
|
|
11250
|
-
sourceTopicId?:
|
|
11250
|
+
sourceTopicId?: string | undefined;
|
|
11251
11251
|
targetProjectId?: string | undefined;
|
|
11252
|
-
targetTopicId?:
|
|
11252
|
+
targetTopicId?: string | undefined;
|
|
11253
11253
|
suggestedWeight?: number | undefined;
|
|
11254
|
-
acceptedEdgeId?:
|
|
11254
|
+
acceptedEdgeId?: string | undefined;
|
|
11255
11255
|
declineReason?: string | undefined;
|
|
11256
11256
|
declineCategory?: "other" | "not_relevant" | "too_generic" | "already_known" | "different_context" | "wrong_relationship" | "premature" | undefined;
|
|
11257
11257
|
decision: "pending" | "accepted" | "declined";
|
|
11258
11258
|
createdAt: number;
|
|
11259
11259
|
rationale: string;
|
|
11260
|
-
targetNodeId:
|
|
11260
|
+
targetNodeId: string;
|
|
11261
11261
|
userId: string;
|
|
11262
|
-
sourceNodeId:
|
|
11262
|
+
sourceNodeId: string;
|
|
11263
11263
|
semanticSimilarity: number;
|
|
11264
11264
|
matchSignals: {
|
|
11265
11265
|
sharedThemeNames?: string[] | undefined;
|
|
@@ -11273,7 +11273,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
11273
11273
|
suggestedEdgeType: string;
|
|
11274
11274
|
surfacedDuring: "manual" | "chat" | "worktree_clustering" | "morning_brief";
|
|
11275
11275
|
}, {
|
|
11276
|
-
acceptedEdgeId: import("convex/values").
|
|
11276
|
+
acceptedEdgeId: import("convex/values").VString<string | undefined, "optional">;
|
|
11277
11277
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
11278
11278
|
decidedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
11279
11279
|
decision: import("convex/values").VUnion<"pending" | "accepted" | "declined", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"accepted", "required">, import("convex/values").VLiteral<"declined", "required">], "required", never>;
|
|
@@ -11298,15 +11298,15 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
11298
11298
|
}, "required", "beliefTextSimilarity" | "themeOverlap" | "sharedThemeNames" | "themeSimilarity" | "ontologyOverlap" | "sharedFunctions" | "sharedValueChains">;
|
|
11299
11299
|
rationale: import("convex/values").VString<string, "required">;
|
|
11300
11300
|
semanticSimilarity: import("convex/values").VFloat64<number, "required">;
|
|
11301
|
-
sourceNodeId: import("convex/values").
|
|
11301
|
+
sourceNodeId: import("convex/values").VString<string, "required">;
|
|
11302
11302
|
sourceProjectId: import("convex/values").VString<string | undefined, "optional">;
|
|
11303
|
-
sourceTopicId: import("convex/values").
|
|
11303
|
+
sourceTopicId: import("convex/values").VString<string | undefined, "optional">;
|
|
11304
11304
|
suggestedEdgeType: import("convex/values").VString<string, "required">;
|
|
11305
11305
|
suggestedWeight: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
11306
11306
|
surfacedDuring: import("convex/values").VUnion<"manual" | "chat" | "worktree_clustering" | "morning_brief", [import("convex/values").VLiteral<"worktree_clustering", "required">, import("convex/values").VLiteral<"chat", "required">, import("convex/values").VLiteral<"morning_brief", "required">, import("convex/values").VLiteral<"manual", "required">], "required", never>;
|
|
11307
|
-
targetNodeId: import("convex/values").
|
|
11307
|
+
targetNodeId: import("convex/values").VString<string, "required">;
|
|
11308
11308
|
targetProjectId: import("convex/values").VString<string | undefined, "optional">;
|
|
11309
|
-
targetTopicId: import("convex/values").
|
|
11309
|
+
targetTopicId: import("convex/values").VString<string | undefined, "optional">;
|
|
11310
11310
|
userId: import("convex/values").VString<string, "required">;
|
|
11311
11311
|
worktreeId: import("convex/values").VString<string | undefined, "optional">;
|
|
11312
11312
|
}, "required", "decision" | "worktreeId" | "createdAt" | "rationale" | "decidedAt" | "targetNodeId" | "userId" | "sourceProjectId" | "sourceTopicId" | "sourceNodeId" | "targetProjectId" | "targetTopicId" | "semanticSimilarity" | "matchSignals" | "suggestedEdgeType" | "suggestedWeight" | "acceptedEdgeId" | "declineReason" | "declineCategory" | "surfacedDuring" | "matchSignals.beliefTextSimilarity" | "matchSignals.themeOverlap" | "matchSignals.sharedThemeNames" | "matchSignals.themeSimilarity" | "matchSignals.ontologyOverlap" | "matchSignals.sharedFunctions" | "matchSignals.sharedValueChains">, {
|
|
@@ -11479,7 +11479,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
11479
11479
|
tenantId?: string | undefined;
|
|
11480
11480
|
workspaceId?: string | undefined;
|
|
11481
11481
|
ownerPrincipalId?: string | undefined;
|
|
11482
|
-
relatedBeliefId?:
|
|
11482
|
+
relatedBeliefId?: string | undefined;
|
|
11483
11483
|
triggerCondition?: string | undefined;
|
|
11484
11484
|
monitoringPlan?: string | undefined;
|
|
11485
11485
|
confirmationMetadata?: Record<string, any> | undefined;
|
|
@@ -11506,7 +11506,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
11506
11506
|
monitoringPlan: import("convex/values").VString<string | undefined, "optional">;
|
|
11507
11507
|
ownerPrincipalId: import("convex/values").VString<string | undefined, "optional">;
|
|
11508
11508
|
probabilityBand: import("convex/values").VUnion<"high" | "low" | "medium" | "very_low" | "very_high", [import("convex/values").VLiteral<"very_low", "required">, import("convex/values").VLiteral<"low", "required">, import("convex/values").VLiteral<"medium", "required">, import("convex/values").VLiteral<"high", "required">, import("convex/values").VLiteral<"very_high", "required">], "required", never>;
|
|
11509
|
-
relatedBeliefId: import("convex/values").
|
|
11509
|
+
relatedBeliefId: import("convex/values").VString<string | undefined, "optional">;
|
|
11510
11510
|
riskDescription: import("convex/values").VString<string, "required">;
|
|
11511
11511
|
riskType: import("convex/values").VString<string, "required">;
|
|
11512
11512
|
status: import("convex/values").VUnion<"resolved" | "draft" | "dismissed" | "confirmed", [import("convex/values").VLiteral<"draft", "required">, import("convex/values").VLiteral<"confirmed", "required">, import("convex/values").VLiteral<"resolved", "required">, import("convex/values").VLiteral<"dismissed", "required">], "required", never>;
|
|
@@ -12148,7 +12148,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
12148
12148
|
embeddedAt?: number | undefined;
|
|
12149
12149
|
hasAnswer?: boolean | undefined;
|
|
12150
12150
|
nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
|
|
12151
|
-
nodeId:
|
|
12151
|
+
nodeId: string;
|
|
12152
12152
|
createdBy: string;
|
|
12153
12153
|
createdAt: number;
|
|
12154
12154
|
embedding: number[];
|
|
@@ -12162,7 +12162,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
12162
12162
|
embeddingModel: import("convex/values").VString<string | undefined, "optional">;
|
|
12163
12163
|
hasAnswer: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
12164
12164
|
importance: import("convex/values").VUnion<"high" | "low" | "medium" | "critical" | undefined, [import("convex/values").VLiteral<"critical", "required">, import("convex/values").VLiteral<"high", "required">, import("convex/values").VLiteral<"medium", "required">, import("convex/values").VLiteral<"low", "required">], "optional", never>;
|
|
12165
|
-
nodeId: import("convex/values").
|
|
12165
|
+
nodeId: import("convex/values").VString<string, "required">;
|
|
12166
12166
|
nodeType: import("convex/values").VUnion<"function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain", [import("convex/values").VLiteral<"decision", "required">, import("convex/values").VLiteral<"belief", "required">, import("convex/values").VLiteral<"question", "required">, import("convex/values").VLiteral<"theme", "required">, import("convex/values").VLiteral<"deal", "required">, import("convex/values").VLiteral<"topic", "required">, import("convex/values").VLiteral<"claim", "required">, import("convex/values").VLiteral<"evidence", "required">, import("convex/values").VLiteral<"synthesis", "required">, import("convex/values").VLiteral<"answer", "required">, import("convex/values").VLiteral<"atomic_fact", "required">, import("convex/values").VLiteral<"excerpt", "required">, import("convex/values").VLiteral<"source", "required">, import("convex/values").VLiteral<"company", "required">, import("convex/values").VLiteral<"person", "required">, import("convex/values").VLiteral<"investor", "required">, import("convex/values").VLiteral<"function", "required">, import("convex/values").VLiteral<"value_chain", "required">], "required", never>;
|
|
12167
12167
|
tenantId: import("convex/values").VString<string | undefined, "optional">;
|
|
12168
12168
|
textPreview: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -12179,7 +12179,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
12179
12179
|
by_embedding: {
|
|
12180
12180
|
vectorField: "embedding";
|
|
12181
12181
|
dimensions: number;
|
|
12182
|
-
filterFields: "nodeType" | "topicId" | "createdBy";
|
|
12182
|
+
filterFields: "nodeType" | "topicId" | "createdBy" | "tenantId" | "workspaceId";
|
|
12183
12183
|
};
|
|
12184
12184
|
}>;
|
|
12185
12185
|
epistemicNodes: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
@@ -12238,7 +12238,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
12238
12238
|
website?: string | undefined;
|
|
12239
12239
|
} | undefined;
|
|
12240
12240
|
aiProvider?: string | undefined;
|
|
12241
|
-
extractedFromNodeId?:
|
|
12241
|
+
extractedFromNodeId?: string | undefined;
|
|
12242
12242
|
questionType?: "validation" | "comparison" | "causal" | "general" | "discovery" | "clarification" | "falsification" | "assumption_probe" | "prediction_test" | "counterfactual" | "mechanism" | undefined;
|
|
12243
12243
|
questionPriority?: "high" | "low" | "medium" | "critical" | undefined;
|
|
12244
12244
|
anonymizationClass?: "none" | "strict" | "standard" | undefined;
|
|
@@ -12264,7 +12264,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
12264
12264
|
groundingStartOffset?: number | undefined;
|
|
12265
12265
|
groundingEndOffset?: number | undefined;
|
|
12266
12266
|
groundingRejectionReason?: string | undefined;
|
|
12267
|
-
supersededBy?:
|
|
12267
|
+
supersededBy?: string | undefined;
|
|
12268
12268
|
syncStatus?: "synced" | "pending_edges" | "edge_creation_failed" | undefined;
|
|
12269
12269
|
syncError?: string | undefined;
|
|
12270
12270
|
nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
|
|
@@ -12314,7 +12314,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
12314
12314
|
website: import("convex/values").VString<string | undefined, "optional">;
|
|
12315
12315
|
}, "optional", "crunchbase" | "linkedin" | "pitchbook" | "twitter" | "website">;
|
|
12316
12316
|
externalSourceType: import("convex/values").VString<string | undefined, "optional">;
|
|
12317
|
-
extractedFromNodeId: import("convex/values").
|
|
12317
|
+
extractedFromNodeId: import("convex/values").VString<string | undefined, "optional">;
|
|
12318
12318
|
extractionLangfuseTraceId: import("convex/values").VString<string | undefined, "optional">;
|
|
12319
12319
|
extractionModel: import("convex/values").VString<string | undefined, "optional">;
|
|
12320
12320
|
extractionPromptName: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -12370,7 +12370,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
12370
12370
|
sourceUrl: import("convex/values").VString<string | undefined, "optional">;
|
|
12371
12371
|
status: import("convex/values").VUnion<"deleted" | "active" | "archived" | "superseded", [import("convex/values").VLiteral<"active", "required">, import("convex/values").VLiteral<"superseded", "required">, import("convex/values").VLiteral<"archived", "required">, import("convex/values").VLiteral<"deleted", "required">], "required", never>;
|
|
12372
12372
|
subtype: import("convex/values").VString<string | undefined, "optional">;
|
|
12373
|
-
supersededBy: import("convex/values").
|
|
12373
|
+
supersededBy: import("convex/values").VString<string | undefined, "optional">;
|
|
12374
12374
|
syncError: import("convex/values").VString<string | undefined, "optional">;
|
|
12375
12375
|
syncStatus: import("convex/values").VUnion<"synced" | "pending_edges" | "edge_creation_failed" | undefined, [import("convex/values").VLiteral<"synced", "required">, import("convex/values").VLiteral<"pending_edges", "required">, import("convex/values").VLiteral<"edge_creation_failed", "required">], "optional", never>;
|
|
12376
12376
|
tags: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
|
|
@@ -14739,7 +14739,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
14739
14739
|
summary: string;
|
|
14740
14740
|
status: "blocked" | "pending_review" | "changes_requested" | "approved";
|
|
14741
14741
|
createdBy: string;
|
|
14742
|
-
worktreeId:
|
|
14742
|
+
worktreeId: string;
|
|
14743
14743
|
createdAt: number;
|
|
14744
14744
|
updatedAt: number;
|
|
14745
14745
|
}, {
|
|
@@ -14753,7 +14753,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
|
|
|
14753
14753
|
summary: import("convex/values").VString<string, "required">;
|
|
14754
14754
|
topicId: import("convex/values").VString<string | undefined, "optional">;
|
|
14755
14755
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
14756
|
-
worktreeId: import("convex/values").
|
|
14756
|
+
worktreeId: import("convex/values").VString<string, "required">;
|
|
14757
14757
|
}, "required", "summary" | "metadata" | "status" | "topicId" | "createdBy" | "worktreeId" | "createdAt" | "updatedAt" | "reviewers" | `metadata.${string}` | "resolvedBy" | "resolvedAt">, {
|
|
14758
14758
|
by_worktreeId: ["worktreeId", "_creationTime"];
|
|
14759
14759
|
by_status: ["status", "_creationTime"];
|
|
@@ -17797,7 +17797,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
17797
17797
|
weightingInput?: Record<string, any> | undefined;
|
|
17798
17798
|
effectiveWeight?: number | undefined;
|
|
17799
17799
|
status: "active" | "superseded" | "withdrawn";
|
|
17800
|
-
beliefId:
|
|
17800
|
+
beliefId: string;
|
|
17801
17801
|
createdBy: string;
|
|
17802
17802
|
confidence: number;
|
|
17803
17803
|
createdAt: number;
|
|
@@ -17807,7 +17807,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
17807
17807
|
voteDirection: "support" | "oppose" | "abstain" | "uncertain";
|
|
17808
17808
|
weightingModelVersion: string;
|
|
17809
17809
|
}, {
|
|
17810
|
-
beliefId: import("convex/values").
|
|
17810
|
+
beliefId: import("convex/values").VString<string, "required">;
|
|
17811
17811
|
comment: import("convex/values").VString<string | undefined, "optional">;
|
|
17812
17812
|
confidence: import("convex/values").VFloat64<number, "required">;
|
|
17813
17813
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
@@ -18002,19 +18002,19 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
18002
18002
|
worktreeId?: string | undefined;
|
|
18003
18003
|
decidedAt?: number | undefined;
|
|
18004
18004
|
sourceProjectId?: string | undefined;
|
|
18005
|
-
sourceTopicId?:
|
|
18005
|
+
sourceTopicId?: string | undefined;
|
|
18006
18006
|
targetProjectId?: string | undefined;
|
|
18007
|
-
targetTopicId?:
|
|
18007
|
+
targetTopicId?: string | undefined;
|
|
18008
18008
|
suggestedWeight?: number | undefined;
|
|
18009
|
-
acceptedEdgeId?:
|
|
18009
|
+
acceptedEdgeId?: string | undefined;
|
|
18010
18010
|
declineReason?: string | undefined;
|
|
18011
18011
|
declineCategory?: "other" | "not_relevant" | "too_generic" | "already_known" | "different_context" | "wrong_relationship" | "premature" | undefined;
|
|
18012
18012
|
decision: "pending" | "accepted" | "declined";
|
|
18013
18013
|
createdAt: number;
|
|
18014
18014
|
rationale: string;
|
|
18015
|
-
targetNodeId:
|
|
18015
|
+
targetNodeId: string;
|
|
18016
18016
|
userId: string;
|
|
18017
|
-
sourceNodeId:
|
|
18017
|
+
sourceNodeId: string;
|
|
18018
18018
|
semanticSimilarity: number;
|
|
18019
18019
|
matchSignals: {
|
|
18020
18020
|
sharedThemeNames?: string[] | undefined;
|
|
@@ -18028,7 +18028,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
18028
18028
|
suggestedEdgeType: string;
|
|
18029
18029
|
surfacedDuring: "manual" | "chat" | "worktree_clustering" | "morning_brief";
|
|
18030
18030
|
}, {
|
|
18031
|
-
acceptedEdgeId: import("convex/values").
|
|
18031
|
+
acceptedEdgeId: import("convex/values").VString<string | undefined, "optional">;
|
|
18032
18032
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
18033
18033
|
decidedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
18034
18034
|
decision: import("convex/values").VUnion<"pending" | "accepted" | "declined", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"accepted", "required">, import("convex/values").VLiteral<"declined", "required">], "required", never>;
|
|
@@ -18053,15 +18053,15 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
18053
18053
|
}, "required", "beliefTextSimilarity" | "themeOverlap" | "sharedThemeNames" | "themeSimilarity" | "ontologyOverlap" | "sharedFunctions" | "sharedValueChains">;
|
|
18054
18054
|
rationale: import("convex/values").VString<string, "required">;
|
|
18055
18055
|
semanticSimilarity: import("convex/values").VFloat64<number, "required">;
|
|
18056
|
-
sourceNodeId: import("convex/values").
|
|
18056
|
+
sourceNodeId: import("convex/values").VString<string, "required">;
|
|
18057
18057
|
sourceProjectId: import("convex/values").VString<string | undefined, "optional">;
|
|
18058
|
-
sourceTopicId: import("convex/values").
|
|
18058
|
+
sourceTopicId: import("convex/values").VString<string | undefined, "optional">;
|
|
18059
18059
|
suggestedEdgeType: import("convex/values").VString<string, "required">;
|
|
18060
18060
|
suggestedWeight: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
18061
18061
|
surfacedDuring: import("convex/values").VUnion<"manual" | "chat" | "worktree_clustering" | "morning_brief", [import("convex/values").VLiteral<"worktree_clustering", "required">, import("convex/values").VLiteral<"chat", "required">, import("convex/values").VLiteral<"morning_brief", "required">, import("convex/values").VLiteral<"manual", "required">], "required", never>;
|
|
18062
|
-
targetNodeId: import("convex/values").
|
|
18062
|
+
targetNodeId: import("convex/values").VString<string, "required">;
|
|
18063
18063
|
targetProjectId: import("convex/values").VString<string | undefined, "optional">;
|
|
18064
|
-
targetTopicId: import("convex/values").
|
|
18064
|
+
targetTopicId: import("convex/values").VString<string | undefined, "optional">;
|
|
18065
18065
|
userId: import("convex/values").VString<string, "required">;
|
|
18066
18066
|
worktreeId: import("convex/values").VString<string | undefined, "optional">;
|
|
18067
18067
|
}, "required", "decision" | "worktreeId" | "createdAt" | "rationale" | "decidedAt" | "targetNodeId" | "userId" | "sourceProjectId" | "sourceTopicId" | "sourceNodeId" | "targetProjectId" | "targetTopicId" | "semanticSimilarity" | "matchSignals" | "suggestedEdgeType" | "suggestedWeight" | "acceptedEdgeId" | "declineReason" | "declineCategory" | "surfacedDuring" | "matchSignals.beliefTextSimilarity" | "matchSignals.themeOverlap" | "matchSignals.sharedThemeNames" | "matchSignals.themeSimilarity" | "matchSignals.ontologyOverlap" | "matchSignals.sharedFunctions" | "matchSignals.sharedValueChains">, {
|
|
@@ -18234,7 +18234,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
18234
18234
|
tenantId?: string | undefined;
|
|
18235
18235
|
workspaceId?: string | undefined;
|
|
18236
18236
|
ownerPrincipalId?: string | undefined;
|
|
18237
|
-
relatedBeliefId?:
|
|
18237
|
+
relatedBeliefId?: string | undefined;
|
|
18238
18238
|
triggerCondition?: string | undefined;
|
|
18239
18239
|
monitoringPlan?: string | undefined;
|
|
18240
18240
|
confirmationMetadata?: Record<string, any> | undefined;
|
|
@@ -18261,7 +18261,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
18261
18261
|
monitoringPlan: import("convex/values").VString<string | undefined, "optional">;
|
|
18262
18262
|
ownerPrincipalId: import("convex/values").VString<string | undefined, "optional">;
|
|
18263
18263
|
probabilityBand: import("convex/values").VUnion<"high" | "low" | "medium" | "very_low" | "very_high", [import("convex/values").VLiteral<"very_low", "required">, import("convex/values").VLiteral<"low", "required">, import("convex/values").VLiteral<"medium", "required">, import("convex/values").VLiteral<"high", "required">, import("convex/values").VLiteral<"very_high", "required">], "required", never>;
|
|
18264
|
-
relatedBeliefId: import("convex/values").
|
|
18264
|
+
relatedBeliefId: import("convex/values").VString<string | undefined, "optional">;
|
|
18265
18265
|
riskDescription: import("convex/values").VString<string, "required">;
|
|
18266
18266
|
riskType: import("convex/values").VString<string, "required">;
|
|
18267
18267
|
status: import("convex/values").VUnion<"resolved" | "draft" | "dismissed" | "confirmed", [import("convex/values").VLiteral<"draft", "required">, import("convex/values").VLiteral<"confirmed", "required">, import("convex/values").VLiteral<"resolved", "required">, import("convex/values").VLiteral<"dismissed", "required">], "required", never>;
|
|
@@ -18903,7 +18903,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
18903
18903
|
embeddedAt?: number | undefined;
|
|
18904
18904
|
hasAnswer?: boolean | undefined;
|
|
18905
18905
|
nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
|
|
18906
|
-
nodeId:
|
|
18906
|
+
nodeId: string;
|
|
18907
18907
|
createdBy: string;
|
|
18908
18908
|
createdAt: number;
|
|
18909
18909
|
embedding: number[];
|
|
@@ -18917,7 +18917,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
18917
18917
|
embeddingModel: import("convex/values").VString<string | undefined, "optional">;
|
|
18918
18918
|
hasAnswer: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
18919
18919
|
importance: import("convex/values").VUnion<"high" | "low" | "medium" | "critical" | undefined, [import("convex/values").VLiteral<"critical", "required">, import("convex/values").VLiteral<"high", "required">, import("convex/values").VLiteral<"medium", "required">, import("convex/values").VLiteral<"low", "required">], "optional", never>;
|
|
18920
|
-
nodeId: import("convex/values").
|
|
18920
|
+
nodeId: import("convex/values").VString<string, "required">;
|
|
18921
18921
|
nodeType: import("convex/values").VUnion<"function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain", [import("convex/values").VLiteral<"decision", "required">, import("convex/values").VLiteral<"belief", "required">, import("convex/values").VLiteral<"question", "required">, import("convex/values").VLiteral<"theme", "required">, import("convex/values").VLiteral<"deal", "required">, import("convex/values").VLiteral<"topic", "required">, import("convex/values").VLiteral<"claim", "required">, import("convex/values").VLiteral<"evidence", "required">, import("convex/values").VLiteral<"synthesis", "required">, import("convex/values").VLiteral<"answer", "required">, import("convex/values").VLiteral<"atomic_fact", "required">, import("convex/values").VLiteral<"excerpt", "required">, import("convex/values").VLiteral<"source", "required">, import("convex/values").VLiteral<"company", "required">, import("convex/values").VLiteral<"person", "required">, import("convex/values").VLiteral<"investor", "required">, import("convex/values").VLiteral<"function", "required">, import("convex/values").VLiteral<"value_chain", "required">], "required", never>;
|
|
18922
18922
|
tenantId: import("convex/values").VString<string | undefined, "optional">;
|
|
18923
18923
|
textPreview: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -18934,7 +18934,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
18934
18934
|
by_embedding: {
|
|
18935
18935
|
vectorField: "embedding";
|
|
18936
18936
|
dimensions: number;
|
|
18937
|
-
filterFields: "nodeType" | "topicId" | "createdBy";
|
|
18937
|
+
filterFields: "nodeType" | "topicId" | "createdBy" | "tenantId" | "workspaceId";
|
|
18938
18938
|
};
|
|
18939
18939
|
}>;
|
|
18940
18940
|
epistemicNodes: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
@@ -18993,7 +18993,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
18993
18993
|
website?: string | undefined;
|
|
18994
18994
|
} | undefined;
|
|
18995
18995
|
aiProvider?: string | undefined;
|
|
18996
|
-
extractedFromNodeId?:
|
|
18996
|
+
extractedFromNodeId?: string | undefined;
|
|
18997
18997
|
questionType?: "validation" | "comparison" | "causal" | "general" | "discovery" | "clarification" | "falsification" | "assumption_probe" | "prediction_test" | "counterfactual" | "mechanism" | undefined;
|
|
18998
18998
|
questionPriority?: "high" | "low" | "medium" | "critical" | undefined;
|
|
18999
18999
|
anonymizationClass?: "none" | "strict" | "standard" | undefined;
|
|
@@ -19019,7 +19019,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
19019
19019
|
groundingStartOffset?: number | undefined;
|
|
19020
19020
|
groundingEndOffset?: number | undefined;
|
|
19021
19021
|
groundingRejectionReason?: string | undefined;
|
|
19022
|
-
supersededBy?:
|
|
19022
|
+
supersededBy?: string | undefined;
|
|
19023
19023
|
syncStatus?: "synced" | "pending_edges" | "edge_creation_failed" | undefined;
|
|
19024
19024
|
syncError?: string | undefined;
|
|
19025
19025
|
nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
|
|
@@ -19069,7 +19069,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
19069
19069
|
website: import("convex/values").VString<string | undefined, "optional">;
|
|
19070
19070
|
}, "optional", "crunchbase" | "linkedin" | "pitchbook" | "twitter" | "website">;
|
|
19071
19071
|
externalSourceType: import("convex/values").VString<string | undefined, "optional">;
|
|
19072
|
-
extractedFromNodeId: import("convex/values").
|
|
19072
|
+
extractedFromNodeId: import("convex/values").VString<string | undefined, "optional">;
|
|
19073
19073
|
extractionLangfuseTraceId: import("convex/values").VString<string | undefined, "optional">;
|
|
19074
19074
|
extractionModel: import("convex/values").VString<string | undefined, "optional">;
|
|
19075
19075
|
extractionPromptName: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -19125,7 +19125,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
19125
19125
|
sourceUrl: import("convex/values").VString<string | undefined, "optional">;
|
|
19126
19126
|
status: import("convex/values").VUnion<"deleted" | "active" | "archived" | "superseded", [import("convex/values").VLiteral<"active", "required">, import("convex/values").VLiteral<"superseded", "required">, import("convex/values").VLiteral<"archived", "required">, import("convex/values").VLiteral<"deleted", "required">], "required", never>;
|
|
19127
19127
|
subtype: import("convex/values").VString<string | undefined, "optional">;
|
|
19128
|
-
supersededBy: import("convex/values").
|
|
19128
|
+
supersededBy: import("convex/values").VString<string | undefined, "optional">;
|
|
19129
19129
|
syncError: import("convex/values").VString<string | undefined, "optional">;
|
|
19130
19130
|
syncStatus: import("convex/values").VUnion<"synced" | "pending_edges" | "edge_creation_failed" | undefined, [import("convex/values").VLiteral<"synced", "required">, import("convex/values").VLiteral<"pending_edges", "required">, import("convex/values").VLiteral<"edge_creation_failed", "required">], "optional", never>;
|
|
19131
19131
|
tags: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
|
|
@@ -21494,7 +21494,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
21494
21494
|
summary: string;
|
|
21495
21495
|
status: "blocked" | "pending_review" | "changes_requested" | "approved";
|
|
21496
21496
|
createdBy: string;
|
|
21497
|
-
worktreeId:
|
|
21497
|
+
worktreeId: string;
|
|
21498
21498
|
createdAt: number;
|
|
21499
21499
|
updatedAt: number;
|
|
21500
21500
|
}, {
|
|
@@ -21508,7 +21508,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
|
|
|
21508
21508
|
summary: import("convex/values").VString<string, "required">;
|
|
21509
21509
|
topicId: import("convex/values").VString<string | undefined, "optional">;
|
|
21510
21510
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
21511
|
-
worktreeId: import("convex/values").
|
|
21511
|
+
worktreeId: import("convex/values").VString<string, "required">;
|
|
21512
21512
|
}, "required", "summary" | "metadata" | "status" | "topicId" | "createdBy" | "worktreeId" | "createdAt" | "updatedAt" | "reviewers" | `metadata.${string}` | "resolvedBy" | "resolvedAt">, {
|
|
21513
21513
|
by_worktreeId: ["worktreeId", "_creationTime"];
|
|
21514
21514
|
by_status: ["status", "_creationTime"];
|
|
@@ -25180,7 +25180,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
25180
25180
|
weightingInput?: Record<string, any> | undefined;
|
|
25181
25181
|
effectiveWeight?: number | undefined;
|
|
25182
25182
|
status: "active" | "superseded" | "withdrawn";
|
|
25183
|
-
beliefId:
|
|
25183
|
+
beliefId: string;
|
|
25184
25184
|
createdBy: string;
|
|
25185
25185
|
confidence: number;
|
|
25186
25186
|
createdAt: number;
|
|
@@ -25190,7 +25190,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
25190
25190
|
voteDirection: "support" | "oppose" | "abstain" | "uncertain";
|
|
25191
25191
|
weightingModelVersion: string;
|
|
25192
25192
|
}, {
|
|
25193
|
-
beliefId: import("convex/values").
|
|
25193
|
+
beliefId: import("convex/values").VString<string, "required">;
|
|
25194
25194
|
comment: import("convex/values").VString<string | undefined, "optional">;
|
|
25195
25195
|
confidence: import("convex/values").VFloat64<number, "required">;
|
|
25196
25196
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
@@ -25385,19 +25385,19 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
25385
25385
|
worktreeId?: string | undefined;
|
|
25386
25386
|
decidedAt?: number | undefined;
|
|
25387
25387
|
sourceProjectId?: string | undefined;
|
|
25388
|
-
sourceTopicId?:
|
|
25388
|
+
sourceTopicId?: string | undefined;
|
|
25389
25389
|
targetProjectId?: string | undefined;
|
|
25390
|
-
targetTopicId?:
|
|
25390
|
+
targetTopicId?: string | undefined;
|
|
25391
25391
|
suggestedWeight?: number | undefined;
|
|
25392
|
-
acceptedEdgeId?:
|
|
25392
|
+
acceptedEdgeId?: string | undefined;
|
|
25393
25393
|
declineReason?: string | undefined;
|
|
25394
25394
|
declineCategory?: "other" | "not_relevant" | "too_generic" | "already_known" | "different_context" | "wrong_relationship" | "premature" | undefined;
|
|
25395
25395
|
decision: "pending" | "accepted" | "declined";
|
|
25396
25396
|
createdAt: number;
|
|
25397
25397
|
rationale: string;
|
|
25398
|
-
targetNodeId:
|
|
25398
|
+
targetNodeId: string;
|
|
25399
25399
|
userId: string;
|
|
25400
|
-
sourceNodeId:
|
|
25400
|
+
sourceNodeId: string;
|
|
25401
25401
|
semanticSimilarity: number;
|
|
25402
25402
|
matchSignals: {
|
|
25403
25403
|
sharedThemeNames?: string[] | undefined;
|
|
@@ -25411,7 +25411,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
25411
25411
|
suggestedEdgeType: string;
|
|
25412
25412
|
surfacedDuring: "manual" | "chat" | "worktree_clustering" | "morning_brief";
|
|
25413
25413
|
}, {
|
|
25414
|
-
acceptedEdgeId: import("convex/values").
|
|
25414
|
+
acceptedEdgeId: import("convex/values").VString<string | undefined, "optional">;
|
|
25415
25415
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
25416
25416
|
decidedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
25417
25417
|
decision: import("convex/values").VUnion<"pending" | "accepted" | "declined", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"accepted", "required">, import("convex/values").VLiteral<"declined", "required">], "required", never>;
|
|
@@ -25436,15 +25436,15 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
25436
25436
|
}, "required", "beliefTextSimilarity" | "themeOverlap" | "sharedThemeNames" | "themeSimilarity" | "ontologyOverlap" | "sharedFunctions" | "sharedValueChains">;
|
|
25437
25437
|
rationale: import("convex/values").VString<string, "required">;
|
|
25438
25438
|
semanticSimilarity: import("convex/values").VFloat64<number, "required">;
|
|
25439
|
-
sourceNodeId: import("convex/values").
|
|
25439
|
+
sourceNodeId: import("convex/values").VString<string, "required">;
|
|
25440
25440
|
sourceProjectId: import("convex/values").VString<string | undefined, "optional">;
|
|
25441
|
-
sourceTopicId: import("convex/values").
|
|
25441
|
+
sourceTopicId: import("convex/values").VString<string | undefined, "optional">;
|
|
25442
25442
|
suggestedEdgeType: import("convex/values").VString<string, "required">;
|
|
25443
25443
|
suggestedWeight: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
25444
25444
|
surfacedDuring: import("convex/values").VUnion<"manual" | "chat" | "worktree_clustering" | "morning_brief", [import("convex/values").VLiteral<"worktree_clustering", "required">, import("convex/values").VLiteral<"chat", "required">, import("convex/values").VLiteral<"morning_brief", "required">, import("convex/values").VLiteral<"manual", "required">], "required", never>;
|
|
25445
|
-
targetNodeId: import("convex/values").
|
|
25445
|
+
targetNodeId: import("convex/values").VString<string, "required">;
|
|
25446
25446
|
targetProjectId: import("convex/values").VString<string | undefined, "optional">;
|
|
25447
|
-
targetTopicId: import("convex/values").
|
|
25447
|
+
targetTopicId: import("convex/values").VString<string | undefined, "optional">;
|
|
25448
25448
|
userId: import("convex/values").VString<string, "required">;
|
|
25449
25449
|
worktreeId: import("convex/values").VString<string | undefined, "optional">;
|
|
25450
25450
|
}, "required", "decision" | "worktreeId" | "createdAt" | "rationale" | "decidedAt" | "targetNodeId" | "userId" | "sourceProjectId" | "sourceTopicId" | "sourceNodeId" | "targetProjectId" | "targetTopicId" | "semanticSimilarity" | "matchSignals" | "suggestedEdgeType" | "suggestedWeight" | "acceptedEdgeId" | "declineReason" | "declineCategory" | "surfacedDuring" | "matchSignals.beliefTextSimilarity" | "matchSignals.themeOverlap" | "matchSignals.sharedThemeNames" | "matchSignals.themeSimilarity" | "matchSignals.ontologyOverlap" | "matchSignals.sharedFunctions" | "matchSignals.sharedValueChains">, {
|
|
@@ -25617,7 +25617,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
25617
25617
|
tenantId?: string | undefined;
|
|
25618
25618
|
workspaceId?: string | undefined;
|
|
25619
25619
|
ownerPrincipalId?: string | undefined;
|
|
25620
|
-
relatedBeliefId?:
|
|
25620
|
+
relatedBeliefId?: string | undefined;
|
|
25621
25621
|
triggerCondition?: string | undefined;
|
|
25622
25622
|
monitoringPlan?: string | undefined;
|
|
25623
25623
|
confirmationMetadata?: Record<string, any> | undefined;
|
|
@@ -25644,7 +25644,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
25644
25644
|
monitoringPlan: import("convex/values").VString<string | undefined, "optional">;
|
|
25645
25645
|
ownerPrincipalId: import("convex/values").VString<string | undefined, "optional">;
|
|
25646
25646
|
probabilityBand: import("convex/values").VUnion<"high" | "low" | "medium" | "very_low" | "very_high", [import("convex/values").VLiteral<"very_low", "required">, import("convex/values").VLiteral<"low", "required">, import("convex/values").VLiteral<"medium", "required">, import("convex/values").VLiteral<"high", "required">, import("convex/values").VLiteral<"very_high", "required">], "required", never>;
|
|
25647
|
-
relatedBeliefId: import("convex/values").
|
|
25647
|
+
relatedBeliefId: import("convex/values").VString<string | undefined, "optional">;
|
|
25648
25648
|
riskDescription: import("convex/values").VString<string, "required">;
|
|
25649
25649
|
riskType: import("convex/values").VString<string, "required">;
|
|
25650
25650
|
status: import("convex/values").VUnion<"resolved" | "draft" | "dismissed" | "confirmed", [import("convex/values").VLiteral<"draft", "required">, import("convex/values").VLiteral<"confirmed", "required">, import("convex/values").VLiteral<"resolved", "required">, import("convex/values").VLiteral<"dismissed", "required">], "required", never>;
|
|
@@ -26286,7 +26286,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
26286
26286
|
embeddedAt?: number | undefined;
|
|
26287
26287
|
hasAnswer?: boolean | undefined;
|
|
26288
26288
|
nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
|
|
26289
|
-
nodeId:
|
|
26289
|
+
nodeId: string;
|
|
26290
26290
|
createdBy: string;
|
|
26291
26291
|
createdAt: number;
|
|
26292
26292
|
embedding: number[];
|
|
@@ -26300,7 +26300,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
26300
26300
|
embeddingModel: import("convex/values").VString<string | undefined, "optional">;
|
|
26301
26301
|
hasAnswer: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
26302
26302
|
importance: import("convex/values").VUnion<"high" | "low" | "medium" | "critical" | undefined, [import("convex/values").VLiteral<"critical", "required">, import("convex/values").VLiteral<"high", "required">, import("convex/values").VLiteral<"medium", "required">, import("convex/values").VLiteral<"low", "required">], "optional", never>;
|
|
26303
|
-
nodeId: import("convex/values").
|
|
26303
|
+
nodeId: import("convex/values").VString<string, "required">;
|
|
26304
26304
|
nodeType: import("convex/values").VUnion<"function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain", [import("convex/values").VLiteral<"decision", "required">, import("convex/values").VLiteral<"belief", "required">, import("convex/values").VLiteral<"question", "required">, import("convex/values").VLiteral<"theme", "required">, import("convex/values").VLiteral<"deal", "required">, import("convex/values").VLiteral<"topic", "required">, import("convex/values").VLiteral<"claim", "required">, import("convex/values").VLiteral<"evidence", "required">, import("convex/values").VLiteral<"synthesis", "required">, import("convex/values").VLiteral<"answer", "required">, import("convex/values").VLiteral<"atomic_fact", "required">, import("convex/values").VLiteral<"excerpt", "required">, import("convex/values").VLiteral<"source", "required">, import("convex/values").VLiteral<"company", "required">, import("convex/values").VLiteral<"person", "required">, import("convex/values").VLiteral<"investor", "required">, import("convex/values").VLiteral<"function", "required">, import("convex/values").VLiteral<"value_chain", "required">], "required", never>;
|
|
26305
26305
|
tenantId: import("convex/values").VString<string | undefined, "optional">;
|
|
26306
26306
|
textPreview: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -26317,7 +26317,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
26317
26317
|
by_embedding: {
|
|
26318
26318
|
vectorField: "embedding";
|
|
26319
26319
|
dimensions: number;
|
|
26320
|
-
filterFields: "nodeType" | "topicId" | "createdBy";
|
|
26320
|
+
filterFields: "nodeType" | "topicId" | "createdBy" | "tenantId" | "workspaceId";
|
|
26321
26321
|
};
|
|
26322
26322
|
}>;
|
|
26323
26323
|
epistemicNodes: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
@@ -26376,7 +26376,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
26376
26376
|
website?: string | undefined;
|
|
26377
26377
|
} | undefined;
|
|
26378
26378
|
aiProvider?: string | undefined;
|
|
26379
|
-
extractedFromNodeId?:
|
|
26379
|
+
extractedFromNodeId?: string | undefined;
|
|
26380
26380
|
questionType?: "validation" | "comparison" | "causal" | "general" | "discovery" | "clarification" | "falsification" | "assumption_probe" | "prediction_test" | "counterfactual" | "mechanism" | undefined;
|
|
26381
26381
|
questionPriority?: "high" | "low" | "medium" | "critical" | undefined;
|
|
26382
26382
|
anonymizationClass?: "none" | "strict" | "standard" | undefined;
|
|
@@ -26402,7 +26402,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
26402
26402
|
groundingStartOffset?: number | undefined;
|
|
26403
26403
|
groundingEndOffset?: number | undefined;
|
|
26404
26404
|
groundingRejectionReason?: string | undefined;
|
|
26405
|
-
supersededBy?:
|
|
26405
|
+
supersededBy?: string | undefined;
|
|
26406
26406
|
syncStatus?: "synced" | "pending_edges" | "edge_creation_failed" | undefined;
|
|
26407
26407
|
syncError?: string | undefined;
|
|
26408
26408
|
nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
|
|
@@ -26452,7 +26452,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
26452
26452
|
website: import("convex/values").VString<string | undefined, "optional">;
|
|
26453
26453
|
}, "optional", "crunchbase" | "linkedin" | "pitchbook" | "twitter" | "website">;
|
|
26454
26454
|
externalSourceType: import("convex/values").VString<string | undefined, "optional">;
|
|
26455
|
-
extractedFromNodeId: import("convex/values").
|
|
26455
|
+
extractedFromNodeId: import("convex/values").VString<string | undefined, "optional">;
|
|
26456
26456
|
extractionLangfuseTraceId: import("convex/values").VString<string | undefined, "optional">;
|
|
26457
26457
|
extractionModel: import("convex/values").VString<string | undefined, "optional">;
|
|
26458
26458
|
extractionPromptName: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -26508,7 +26508,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
26508
26508
|
sourceUrl: import("convex/values").VString<string | undefined, "optional">;
|
|
26509
26509
|
status: import("convex/values").VUnion<"deleted" | "active" | "archived" | "superseded", [import("convex/values").VLiteral<"active", "required">, import("convex/values").VLiteral<"superseded", "required">, import("convex/values").VLiteral<"archived", "required">, import("convex/values").VLiteral<"deleted", "required">], "required", never>;
|
|
26510
26510
|
subtype: import("convex/values").VString<string | undefined, "optional">;
|
|
26511
|
-
supersededBy: import("convex/values").
|
|
26511
|
+
supersededBy: import("convex/values").VString<string | undefined, "optional">;
|
|
26512
26512
|
syncError: import("convex/values").VString<string | undefined, "optional">;
|
|
26513
26513
|
syncStatus: import("convex/values").VUnion<"synced" | "pending_edges" | "edge_creation_failed" | undefined, [import("convex/values").VLiteral<"synced", "required">, import("convex/values").VLiteral<"pending_edges", "required">, import("convex/values").VLiteral<"edge_creation_failed", "required">], "optional", never>;
|
|
26514
26514
|
tags: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
|
|
@@ -28877,7 +28877,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
28877
28877
|
summary: string;
|
|
28878
28878
|
status: "blocked" | "pending_review" | "changes_requested" | "approved";
|
|
28879
28879
|
createdBy: string;
|
|
28880
|
-
worktreeId:
|
|
28880
|
+
worktreeId: string;
|
|
28881
28881
|
createdAt: number;
|
|
28882
28882
|
updatedAt: number;
|
|
28883
28883
|
}, {
|
|
@@ -28891,7 +28891,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
|
|
|
28891
28891
|
summary: import("convex/values").VString<string, "required">;
|
|
28892
28892
|
topicId: import("convex/values").VString<string | undefined, "optional">;
|
|
28893
28893
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
28894
|
-
worktreeId: import("convex/values").
|
|
28894
|
+
worktreeId: import("convex/values").VString<string, "required">;
|
|
28895
28895
|
}, "required", "summary" | "metadata" | "status" | "topicId" | "createdBy" | "worktreeId" | "createdAt" | "updatedAt" | "reviewers" | `metadata.${string}` | "resolvedBy" | "resolvedAt">, {
|
|
28896
28896
|
by_worktreeId: ["worktreeId", "_creationTime"];
|
|
28897
28897
|
by_status: ["status", "_creationTime"];
|
|
@@ -34138,7 +34138,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
34138
34138
|
weightingInput?: Record<string, any> | undefined;
|
|
34139
34139
|
effectiveWeight?: number | undefined;
|
|
34140
34140
|
status: "active" | "superseded" | "withdrawn";
|
|
34141
|
-
beliefId:
|
|
34141
|
+
beliefId: string;
|
|
34142
34142
|
createdBy: string;
|
|
34143
34143
|
confidence: number;
|
|
34144
34144
|
createdAt: number;
|
|
@@ -34148,7 +34148,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
34148
34148
|
voteDirection: "support" | "oppose" | "abstain" | "uncertain";
|
|
34149
34149
|
weightingModelVersion: string;
|
|
34150
34150
|
}, {
|
|
34151
|
-
beliefId: import("convex/values").
|
|
34151
|
+
beliefId: import("convex/values").VString<string, "required">;
|
|
34152
34152
|
comment: import("convex/values").VString<string | undefined, "optional">;
|
|
34153
34153
|
confidence: import("convex/values").VFloat64<number, "required">;
|
|
34154
34154
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
@@ -34343,19 +34343,19 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
34343
34343
|
worktreeId?: string | undefined;
|
|
34344
34344
|
decidedAt?: number | undefined;
|
|
34345
34345
|
sourceProjectId?: string | undefined;
|
|
34346
|
-
sourceTopicId?:
|
|
34346
|
+
sourceTopicId?: string | undefined;
|
|
34347
34347
|
targetProjectId?: string | undefined;
|
|
34348
|
-
targetTopicId?:
|
|
34348
|
+
targetTopicId?: string | undefined;
|
|
34349
34349
|
suggestedWeight?: number | undefined;
|
|
34350
|
-
acceptedEdgeId?:
|
|
34350
|
+
acceptedEdgeId?: string | undefined;
|
|
34351
34351
|
declineReason?: string | undefined;
|
|
34352
34352
|
declineCategory?: "other" | "not_relevant" | "too_generic" | "already_known" | "different_context" | "wrong_relationship" | "premature" | undefined;
|
|
34353
34353
|
decision: "pending" | "accepted" | "declined";
|
|
34354
34354
|
createdAt: number;
|
|
34355
34355
|
rationale: string;
|
|
34356
|
-
targetNodeId:
|
|
34356
|
+
targetNodeId: string;
|
|
34357
34357
|
userId: string;
|
|
34358
|
-
sourceNodeId:
|
|
34358
|
+
sourceNodeId: string;
|
|
34359
34359
|
semanticSimilarity: number;
|
|
34360
34360
|
matchSignals: {
|
|
34361
34361
|
sharedThemeNames?: string[] | undefined;
|
|
@@ -34369,7 +34369,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
34369
34369
|
suggestedEdgeType: string;
|
|
34370
34370
|
surfacedDuring: "manual" | "chat" | "worktree_clustering" | "morning_brief";
|
|
34371
34371
|
}, {
|
|
34372
|
-
acceptedEdgeId: import("convex/values").
|
|
34372
|
+
acceptedEdgeId: import("convex/values").VString<string | undefined, "optional">;
|
|
34373
34373
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
34374
34374
|
decidedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
34375
34375
|
decision: import("convex/values").VUnion<"pending" | "accepted" | "declined", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"accepted", "required">, import("convex/values").VLiteral<"declined", "required">], "required", never>;
|
|
@@ -34394,15 +34394,15 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
34394
34394
|
}, "required", "beliefTextSimilarity" | "themeOverlap" | "sharedThemeNames" | "themeSimilarity" | "ontologyOverlap" | "sharedFunctions" | "sharedValueChains">;
|
|
34395
34395
|
rationale: import("convex/values").VString<string, "required">;
|
|
34396
34396
|
semanticSimilarity: import("convex/values").VFloat64<number, "required">;
|
|
34397
|
-
sourceNodeId: import("convex/values").
|
|
34397
|
+
sourceNodeId: import("convex/values").VString<string, "required">;
|
|
34398
34398
|
sourceProjectId: import("convex/values").VString<string | undefined, "optional">;
|
|
34399
|
-
sourceTopicId: import("convex/values").
|
|
34399
|
+
sourceTopicId: import("convex/values").VString<string | undefined, "optional">;
|
|
34400
34400
|
suggestedEdgeType: import("convex/values").VString<string, "required">;
|
|
34401
34401
|
suggestedWeight: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
34402
34402
|
surfacedDuring: import("convex/values").VUnion<"manual" | "chat" | "worktree_clustering" | "morning_brief", [import("convex/values").VLiteral<"worktree_clustering", "required">, import("convex/values").VLiteral<"chat", "required">, import("convex/values").VLiteral<"morning_brief", "required">, import("convex/values").VLiteral<"manual", "required">], "required", never>;
|
|
34403
|
-
targetNodeId: import("convex/values").
|
|
34403
|
+
targetNodeId: import("convex/values").VString<string, "required">;
|
|
34404
34404
|
targetProjectId: import("convex/values").VString<string | undefined, "optional">;
|
|
34405
|
-
targetTopicId: import("convex/values").
|
|
34405
|
+
targetTopicId: import("convex/values").VString<string | undefined, "optional">;
|
|
34406
34406
|
userId: import("convex/values").VString<string, "required">;
|
|
34407
34407
|
worktreeId: import("convex/values").VString<string | undefined, "optional">;
|
|
34408
34408
|
}, "required", "decision" | "worktreeId" | "createdAt" | "rationale" | "decidedAt" | "targetNodeId" | "userId" | "sourceProjectId" | "sourceTopicId" | "sourceNodeId" | "targetProjectId" | "targetTopicId" | "semanticSimilarity" | "matchSignals" | "suggestedEdgeType" | "suggestedWeight" | "acceptedEdgeId" | "declineReason" | "declineCategory" | "surfacedDuring" | "matchSignals.beliefTextSimilarity" | "matchSignals.themeOverlap" | "matchSignals.sharedThemeNames" | "matchSignals.themeSimilarity" | "matchSignals.ontologyOverlap" | "matchSignals.sharedFunctions" | "matchSignals.sharedValueChains">, {
|
|
@@ -34575,7 +34575,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
34575
34575
|
tenantId?: string | undefined;
|
|
34576
34576
|
workspaceId?: string | undefined;
|
|
34577
34577
|
ownerPrincipalId?: string | undefined;
|
|
34578
|
-
relatedBeliefId?:
|
|
34578
|
+
relatedBeliefId?: string | undefined;
|
|
34579
34579
|
triggerCondition?: string | undefined;
|
|
34580
34580
|
monitoringPlan?: string | undefined;
|
|
34581
34581
|
confirmationMetadata?: Record<string, any> | undefined;
|
|
@@ -34602,7 +34602,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
34602
34602
|
monitoringPlan: import("convex/values").VString<string | undefined, "optional">;
|
|
34603
34603
|
ownerPrincipalId: import("convex/values").VString<string | undefined, "optional">;
|
|
34604
34604
|
probabilityBand: import("convex/values").VUnion<"high" | "low" | "medium" | "very_low" | "very_high", [import("convex/values").VLiteral<"very_low", "required">, import("convex/values").VLiteral<"low", "required">, import("convex/values").VLiteral<"medium", "required">, import("convex/values").VLiteral<"high", "required">, import("convex/values").VLiteral<"very_high", "required">], "required", never>;
|
|
34605
|
-
relatedBeliefId: import("convex/values").
|
|
34605
|
+
relatedBeliefId: import("convex/values").VString<string | undefined, "optional">;
|
|
34606
34606
|
riskDescription: import("convex/values").VString<string, "required">;
|
|
34607
34607
|
riskType: import("convex/values").VString<string, "required">;
|
|
34608
34608
|
status: import("convex/values").VUnion<"resolved" | "draft" | "dismissed" | "confirmed", [import("convex/values").VLiteral<"draft", "required">, import("convex/values").VLiteral<"confirmed", "required">, import("convex/values").VLiteral<"resolved", "required">, import("convex/values").VLiteral<"dismissed", "required">], "required", never>;
|
|
@@ -35244,7 +35244,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
35244
35244
|
embeddedAt?: number | undefined;
|
|
35245
35245
|
hasAnswer?: boolean | undefined;
|
|
35246
35246
|
nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
|
|
35247
|
-
nodeId:
|
|
35247
|
+
nodeId: string;
|
|
35248
35248
|
createdBy: string;
|
|
35249
35249
|
createdAt: number;
|
|
35250
35250
|
embedding: number[];
|
|
@@ -35258,7 +35258,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
35258
35258
|
embeddingModel: import("convex/values").VString<string | undefined, "optional">;
|
|
35259
35259
|
hasAnswer: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
35260
35260
|
importance: import("convex/values").VUnion<"high" | "low" | "medium" | "critical" | undefined, [import("convex/values").VLiteral<"critical", "required">, import("convex/values").VLiteral<"high", "required">, import("convex/values").VLiteral<"medium", "required">, import("convex/values").VLiteral<"low", "required">], "optional", never>;
|
|
35261
|
-
nodeId: import("convex/values").
|
|
35261
|
+
nodeId: import("convex/values").VString<string, "required">;
|
|
35262
35262
|
nodeType: import("convex/values").VUnion<"function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain", [import("convex/values").VLiteral<"decision", "required">, import("convex/values").VLiteral<"belief", "required">, import("convex/values").VLiteral<"question", "required">, import("convex/values").VLiteral<"theme", "required">, import("convex/values").VLiteral<"deal", "required">, import("convex/values").VLiteral<"topic", "required">, import("convex/values").VLiteral<"claim", "required">, import("convex/values").VLiteral<"evidence", "required">, import("convex/values").VLiteral<"synthesis", "required">, import("convex/values").VLiteral<"answer", "required">, import("convex/values").VLiteral<"atomic_fact", "required">, import("convex/values").VLiteral<"excerpt", "required">, import("convex/values").VLiteral<"source", "required">, import("convex/values").VLiteral<"company", "required">, import("convex/values").VLiteral<"person", "required">, import("convex/values").VLiteral<"investor", "required">, import("convex/values").VLiteral<"function", "required">, import("convex/values").VLiteral<"value_chain", "required">], "required", never>;
|
|
35263
35263
|
tenantId: import("convex/values").VString<string | undefined, "optional">;
|
|
35264
35264
|
textPreview: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -35275,7 +35275,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
35275
35275
|
by_embedding: {
|
|
35276
35276
|
vectorField: "embedding";
|
|
35277
35277
|
dimensions: number;
|
|
35278
|
-
filterFields: "nodeType" | "topicId" | "createdBy";
|
|
35278
|
+
filterFields: "nodeType" | "topicId" | "createdBy" | "tenantId" | "workspaceId";
|
|
35279
35279
|
};
|
|
35280
35280
|
}>;
|
|
35281
35281
|
epistemicNodes: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
@@ -35334,7 +35334,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
35334
35334
|
website?: string | undefined;
|
|
35335
35335
|
} | undefined;
|
|
35336
35336
|
aiProvider?: string | undefined;
|
|
35337
|
-
extractedFromNodeId?:
|
|
35337
|
+
extractedFromNodeId?: string | undefined;
|
|
35338
35338
|
questionType?: "validation" | "comparison" | "causal" | "general" | "discovery" | "clarification" | "falsification" | "assumption_probe" | "prediction_test" | "counterfactual" | "mechanism" | undefined;
|
|
35339
35339
|
questionPriority?: "high" | "low" | "medium" | "critical" | undefined;
|
|
35340
35340
|
anonymizationClass?: "none" | "strict" | "standard" | undefined;
|
|
@@ -35360,7 +35360,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
35360
35360
|
groundingStartOffset?: number | undefined;
|
|
35361
35361
|
groundingEndOffset?: number | undefined;
|
|
35362
35362
|
groundingRejectionReason?: string | undefined;
|
|
35363
|
-
supersededBy?:
|
|
35363
|
+
supersededBy?: string | undefined;
|
|
35364
35364
|
syncStatus?: "synced" | "pending_edges" | "edge_creation_failed" | undefined;
|
|
35365
35365
|
syncError?: string | undefined;
|
|
35366
35366
|
nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
|
|
@@ -35410,7 +35410,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
35410
35410
|
website: import("convex/values").VString<string | undefined, "optional">;
|
|
35411
35411
|
}, "optional", "crunchbase" | "linkedin" | "pitchbook" | "twitter" | "website">;
|
|
35412
35412
|
externalSourceType: import("convex/values").VString<string | undefined, "optional">;
|
|
35413
|
-
extractedFromNodeId: import("convex/values").
|
|
35413
|
+
extractedFromNodeId: import("convex/values").VString<string | undefined, "optional">;
|
|
35414
35414
|
extractionLangfuseTraceId: import("convex/values").VString<string | undefined, "optional">;
|
|
35415
35415
|
extractionModel: import("convex/values").VString<string | undefined, "optional">;
|
|
35416
35416
|
extractionPromptName: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -35466,7 +35466,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
35466
35466
|
sourceUrl: import("convex/values").VString<string | undefined, "optional">;
|
|
35467
35467
|
status: import("convex/values").VUnion<"deleted" | "active" | "archived" | "superseded", [import("convex/values").VLiteral<"active", "required">, import("convex/values").VLiteral<"superseded", "required">, import("convex/values").VLiteral<"archived", "required">, import("convex/values").VLiteral<"deleted", "required">], "required", never>;
|
|
35468
35468
|
subtype: import("convex/values").VString<string | undefined, "optional">;
|
|
35469
|
-
supersededBy: import("convex/values").
|
|
35469
|
+
supersededBy: import("convex/values").VString<string | undefined, "optional">;
|
|
35470
35470
|
syncError: import("convex/values").VString<string | undefined, "optional">;
|
|
35471
35471
|
syncStatus: import("convex/values").VUnion<"synced" | "pending_edges" | "edge_creation_failed" | undefined, [import("convex/values").VLiteral<"synced", "required">, import("convex/values").VLiteral<"pending_edges", "required">, import("convex/values").VLiteral<"edge_creation_failed", "required">], "optional", never>;
|
|
35472
35472
|
tags: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
|
|
@@ -37835,7 +37835,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
37835
37835
|
summary: string;
|
|
37836
37836
|
status: "blocked" | "pending_review" | "changes_requested" | "approved";
|
|
37837
37837
|
createdBy: string;
|
|
37838
|
-
worktreeId:
|
|
37838
|
+
worktreeId: string;
|
|
37839
37839
|
createdAt: number;
|
|
37840
37840
|
updatedAt: number;
|
|
37841
37841
|
}, {
|
|
@@ -37849,7 +37849,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
37849
37849
|
summary: import("convex/values").VString<string, "required">;
|
|
37850
37850
|
topicId: import("convex/values").VString<string | undefined, "optional">;
|
|
37851
37851
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
37852
|
-
worktreeId: import("convex/values").
|
|
37852
|
+
worktreeId: import("convex/values").VString<string, "required">;
|
|
37853
37853
|
}, "required", "summary" | "metadata" | "status" | "topicId" | "createdBy" | "worktreeId" | "createdAt" | "updatedAt" | "reviewers" | `metadata.${string}` | "resolvedBy" | "resolvedAt">, {
|
|
37854
37854
|
by_worktreeId: ["worktreeId", "_creationTime"];
|
|
37855
37855
|
by_status: ["status", "_creationTime"];
|