@lucern/contracts 1.0.3 → 1.0.5
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/CHANGELOG.md +6 -0
- package/dist/context-pack.contract.d.ts +10 -0
- package/dist/context-pack.contract.js.map +1 -1
- package/dist/dsl.d.ts +1 -0
- package/dist/dsl.js +10 -3
- package/dist/dsl.js.map +1 -1
- package/dist/dsl.values.js +10 -3
- package/dist/dsl.values.js.map +1 -1
- package/dist/function-registry/beliefs.js +302 -0
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.js +302 -0
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.js +302 -0
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.js +302 -0
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.js +302 -0
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.js +302 -0
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.js +302 -0
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.js +302 -0
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.js +302 -0
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.js +302 -0
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +410 -6
- package/dist/function-registry/index.js +508 -2
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.js +302 -0
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.js +302 -0
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.js +302 -0
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +2 -2
- package/dist/function-registry/manifest.js +10 -0
- package/dist/function-registry/manifest.js.map +1 -1
- package/dist/function-registry/nodes.js +302 -0
- package/dist/function-registry/nodes.js.map +1 -1
- package/dist/function-registry/ontologies.js +302 -0
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.js +302 -0
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.js +302 -0
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.js +302 -0
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.js +302 -0
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/worktrees.js +302 -0
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/generated/convexSchemas.js +1 -1
- package/dist/generated/convexSchemas.js.map +1 -1
- package/dist/generated/infisicalRuntimeEnv.js +9 -9
- package/dist/generated/infisicalRuntimeEnv.js.map +1 -1
- package/dist/generated/schema-manifest.json +10 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +343 -17
- package/dist/index.js.map +1 -1
- package/dist/infisical-runtime.contract.d.ts +3 -3
- package/dist/infisical-runtime.contract.js +3 -3
- package/dist/infisical-runtime.contract.js.map +1 -1
- package/dist/infisical-runtime.platform-secrets.d.ts +3 -3
- package/dist/infisical-runtime.platform-secrets.js +3 -3
- package/dist/infisical-runtime.platform-secrets.js.map +1 -1
- package/dist/manifests/edge-policy-manifest.d.ts +1 -1
- package/dist/manifests/infisical-runtime-manifest.d.ts +3 -3
- package/dist/manifests/infisical-runtime-manifest.js +3 -3
- package/dist/manifests/infisical-runtime-manifest.js.map +1 -1
- package/dist/proof-attestation.json +1 -1
- package/dist/schemas/index.js +29 -2
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +60 -25
- package/dist/schemas/manifest.js +29 -2
- package/dist/schemas/manifest.js.map +1 -1
- package/dist/schemas/tables/kernel/embedding.d.ts +8 -1
- package/dist/schemas/tables/kernel/embedding.js +29 -2
- package/dist/schemas/tables/kernel/embedding.js.map +1 -1
- package/dist/schemas/tables/kernel/intelligence.d.ts +4 -4
- package/dist/schemas.values.js +29 -2
- package/dist/schemas.values.js.map +1 -1
- package/dist/sdk-methods.contract.d.ts +5 -0
- package/dist/sdk-tools.contract.js +292 -0
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/sdk-tools.contract.registry.js +292 -0
- package/dist/sdk-tools.contract.registry.js.map +1 -1
- package/dist/sdk-tools.contract.values.js +292 -0
- package/dist/sdk-tools.contract.values.js.map +1 -1
- package/dist/tool-contracts.d.ts +2 -0
- package/dist/tool-contracts.embeddings.d.ts +8 -0
- package/dist/tool-contracts.embeddings.js +120 -0
- package/dist/tool-contracts.embeddings.js.map +1 -0
- package/dist/tool-contracts.hybrid-discovery.d.ts +10 -0
- package/dist/tool-contracts.hybrid-discovery.js +148 -0
- package/dist/tool-contracts.hybrid-discovery.js.map +1 -0
- package/dist/tool-contracts.js +293 -1
- package/dist/tool-contracts.js.map +1 -1
- package/dist/tool-contracts.questions-listing.js +20 -0
- package/dist/tool-contracts.questions-listing.js.map +1 -1
- package/dist/tool-contracts.values.d.ts +2 -0
- package/dist/tool-contracts.values.js +292 -0
- package/dist/tool-contracts.values.js.map +1 -1
- package/package.json +10 -2
- package/dist/{edge-policy-manifest-4KOSP4nk.d.ts → edge-policy-manifest-CT8Y4IeW.d.ts} +2 -2
|
@@ -289,9 +289,16 @@ declare const KERNEL_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
289
289
|
updatedAt: zod.ZodNumber;
|
|
290
290
|
}>, TableContract<{
|
|
291
291
|
nodeId: ConvexIdSchema<"epistemicNodes">;
|
|
292
|
+
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
293
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
292
294
|
topicId: zod.ZodOptional<zod.ZodString>;
|
|
293
|
-
nodeType: zod.ZodEnum<["belief", "question", "evidence", "answer", "
|
|
295
|
+
nodeType: zod.ZodEnum<["decision", "belief", "question", "theme", "deal", "topic", "claim", "evidence", "synthesis", "answer", "atomic_fact", "excerpt", "source", "company", "person", "investor", "function", "value_chain"]>;
|
|
294
296
|
embedding: zod.ZodArray<zod.ZodNumber, "many">;
|
|
297
|
+
embeddingModel: zod.ZodOptional<zod.ZodString>;
|
|
298
|
+
vectorDimensions: zod.ZodOptional<zod.ZodNumber>;
|
|
299
|
+
contentHash: zod.ZodOptional<zod.ZodString>;
|
|
300
|
+
textPreview: zod.ZodOptional<zod.ZodString>;
|
|
301
|
+
embeddedAt: zod.ZodOptional<zod.ZodNumber>;
|
|
295
302
|
createdBy: zod.ZodString;
|
|
296
303
|
hasAnswer: zod.ZodOptional<zod.ZodBoolean>;
|
|
297
304
|
confidence: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -844,8 +851,8 @@ declare const KERNEL_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
844
851
|
id: string;
|
|
845
852
|
title: string;
|
|
846
853
|
severity: "critical" | "warning" | "info";
|
|
847
|
-
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
848
854
|
nodeIds: string[];
|
|
855
|
+
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
849
856
|
nodeLabels: string[];
|
|
850
857
|
detector: string;
|
|
851
858
|
importance?: number | undefined;
|
|
@@ -855,8 +862,8 @@ declare const KERNEL_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
855
862
|
id: string;
|
|
856
863
|
title: string;
|
|
857
864
|
severity: "critical" | "warning" | "info";
|
|
858
|
-
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
859
865
|
nodeIds: string[];
|
|
866
|
+
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
860
867
|
nodeLabels: string[];
|
|
861
868
|
detector: string;
|
|
862
869
|
importance?: number | undefined;
|
|
@@ -1032,15 +1039,15 @@ declare const KERNEL_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
1032
1039
|
description: string;
|
|
1033
1040
|
title: string;
|
|
1034
1041
|
severity: string;
|
|
1035
|
-
category: string;
|
|
1036
1042
|
nodeIds: string[];
|
|
1043
|
+
category: string;
|
|
1037
1044
|
nodeLabels: string[];
|
|
1038
1045
|
}, {
|
|
1039
1046
|
description: string;
|
|
1040
1047
|
title: string;
|
|
1041
1048
|
severity: string;
|
|
1042
|
-
category: string;
|
|
1043
1049
|
nodeIds: string[];
|
|
1050
|
+
category: string;
|
|
1044
1051
|
nodeLabels: string[];
|
|
1045
1052
|
}>>;
|
|
1046
1053
|
status: zod.ZodEnum<["active", "archived", "deleted"]>;
|
|
@@ -5628,9 +5635,16 @@ declare const TABLE_CONTRACTS_BY_COMPONENT: {
|
|
|
5628
5635
|
updatedAt: zod.ZodNumber;
|
|
5629
5636
|
}>, TableContract<{
|
|
5630
5637
|
nodeId: ConvexIdSchema<"epistemicNodes">;
|
|
5638
|
+
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
5639
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
5631
5640
|
topicId: zod.ZodOptional<zod.ZodString>;
|
|
5632
|
-
nodeType: zod.ZodEnum<["belief", "question", "evidence", "answer", "
|
|
5641
|
+
nodeType: zod.ZodEnum<["decision", "belief", "question", "theme", "deal", "topic", "claim", "evidence", "synthesis", "answer", "atomic_fact", "excerpt", "source", "company", "person", "investor", "function", "value_chain"]>;
|
|
5633
5642
|
embedding: zod.ZodArray<zod.ZodNumber, "many">;
|
|
5643
|
+
embeddingModel: zod.ZodOptional<zod.ZodString>;
|
|
5644
|
+
vectorDimensions: zod.ZodOptional<zod.ZodNumber>;
|
|
5645
|
+
contentHash: zod.ZodOptional<zod.ZodString>;
|
|
5646
|
+
textPreview: zod.ZodOptional<zod.ZodString>;
|
|
5647
|
+
embeddedAt: zod.ZodOptional<zod.ZodNumber>;
|
|
5634
5648
|
createdBy: zod.ZodString;
|
|
5635
5649
|
hasAnswer: zod.ZodOptional<zod.ZodBoolean>;
|
|
5636
5650
|
confidence: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -6183,8 +6197,8 @@ declare const TABLE_CONTRACTS_BY_COMPONENT: {
|
|
|
6183
6197
|
id: string;
|
|
6184
6198
|
title: string;
|
|
6185
6199
|
severity: "critical" | "warning" | "info";
|
|
6186
|
-
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
6187
6200
|
nodeIds: string[];
|
|
6201
|
+
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
6188
6202
|
nodeLabels: string[];
|
|
6189
6203
|
detector: string;
|
|
6190
6204
|
importance?: number | undefined;
|
|
@@ -6194,8 +6208,8 @@ declare const TABLE_CONTRACTS_BY_COMPONENT: {
|
|
|
6194
6208
|
id: string;
|
|
6195
6209
|
title: string;
|
|
6196
6210
|
severity: "critical" | "warning" | "info";
|
|
6197
|
-
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
6198
6211
|
nodeIds: string[];
|
|
6212
|
+
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
6199
6213
|
nodeLabels: string[];
|
|
6200
6214
|
detector: string;
|
|
6201
6215
|
importance?: number | undefined;
|
|
@@ -6371,15 +6385,15 @@ declare const TABLE_CONTRACTS_BY_COMPONENT: {
|
|
|
6371
6385
|
description: string;
|
|
6372
6386
|
title: string;
|
|
6373
6387
|
severity: string;
|
|
6374
|
-
category: string;
|
|
6375
6388
|
nodeIds: string[];
|
|
6389
|
+
category: string;
|
|
6376
6390
|
nodeLabels: string[];
|
|
6377
6391
|
}, {
|
|
6378
6392
|
description: string;
|
|
6379
6393
|
title: string;
|
|
6380
6394
|
severity: string;
|
|
6381
|
-
category: string;
|
|
6382
6395
|
nodeIds: string[];
|
|
6396
|
+
category: string;
|
|
6383
6397
|
nodeLabels: string[];
|
|
6384
6398
|
}>>;
|
|
6385
6399
|
status: zod.ZodEnum<["active", "archived", "deleted"]>;
|
|
@@ -10968,9 +10982,16 @@ declare const ALL_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
10968
10982
|
updatedAt: zod.ZodNumber;
|
|
10969
10983
|
}>, TableContract<{
|
|
10970
10984
|
nodeId: ConvexIdSchema<"epistemicNodes">;
|
|
10985
|
+
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
10986
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
10971
10987
|
topicId: zod.ZodOptional<zod.ZodString>;
|
|
10972
|
-
nodeType: zod.ZodEnum<["belief", "question", "evidence", "answer", "
|
|
10988
|
+
nodeType: zod.ZodEnum<["decision", "belief", "question", "theme", "deal", "topic", "claim", "evidence", "synthesis", "answer", "atomic_fact", "excerpt", "source", "company", "person", "investor", "function", "value_chain"]>;
|
|
10973
10989
|
embedding: zod.ZodArray<zod.ZodNumber, "many">;
|
|
10990
|
+
embeddingModel: zod.ZodOptional<zod.ZodString>;
|
|
10991
|
+
vectorDimensions: zod.ZodOptional<zod.ZodNumber>;
|
|
10992
|
+
contentHash: zod.ZodOptional<zod.ZodString>;
|
|
10993
|
+
textPreview: zod.ZodOptional<zod.ZodString>;
|
|
10994
|
+
embeddedAt: zod.ZodOptional<zod.ZodNumber>;
|
|
10974
10995
|
createdBy: zod.ZodString;
|
|
10975
10996
|
hasAnswer: zod.ZodOptional<zod.ZodBoolean>;
|
|
10976
10997
|
confidence: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -11523,8 +11544,8 @@ declare const ALL_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
11523
11544
|
id: string;
|
|
11524
11545
|
title: string;
|
|
11525
11546
|
severity: "critical" | "warning" | "info";
|
|
11526
|
-
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
11527
11547
|
nodeIds: string[];
|
|
11548
|
+
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
11528
11549
|
nodeLabels: string[];
|
|
11529
11550
|
detector: string;
|
|
11530
11551
|
importance?: number | undefined;
|
|
@@ -11534,8 +11555,8 @@ declare const ALL_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
11534
11555
|
id: string;
|
|
11535
11556
|
title: string;
|
|
11536
11557
|
severity: "critical" | "warning" | "info";
|
|
11537
|
-
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
11538
11558
|
nodeIds: string[];
|
|
11559
|
+
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
11539
11560
|
nodeLabels: string[];
|
|
11540
11561
|
detector: string;
|
|
11541
11562
|
importance?: number | undefined;
|
|
@@ -11711,15 +11732,15 @@ declare const ALL_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
11711
11732
|
description: string;
|
|
11712
11733
|
title: string;
|
|
11713
11734
|
severity: string;
|
|
11714
|
-
category: string;
|
|
11715
11735
|
nodeIds: string[];
|
|
11736
|
+
category: string;
|
|
11716
11737
|
nodeLabels: string[];
|
|
11717
11738
|
}, {
|
|
11718
11739
|
description: string;
|
|
11719
11740
|
title: string;
|
|
11720
11741
|
severity: string;
|
|
11721
|
-
category: string;
|
|
11722
11742
|
nodeIds: string[];
|
|
11743
|
+
category: string;
|
|
11723
11744
|
nodeLabels: string[];
|
|
11724
11745
|
}>>;
|
|
11725
11746
|
status: zod.ZodEnum<["active", "archived", "deleted"]>;
|
|
@@ -17297,8 +17318,8 @@ declare function listTableContractsByName(name: string): (TableContract<{
|
|
|
17297
17318
|
id: string;
|
|
17298
17319
|
title: string;
|
|
17299
17320
|
severity: "critical" | "warning" | "info";
|
|
17300
|
-
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
17301
17321
|
nodeIds: string[];
|
|
17322
|
+
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
17302
17323
|
nodeLabels: string[];
|
|
17303
17324
|
detector: string;
|
|
17304
17325
|
importance?: number | undefined;
|
|
@@ -17308,8 +17329,8 @@ declare function listTableContractsByName(name: string): (TableContract<{
|
|
|
17308
17329
|
id: string;
|
|
17309
17330
|
title: string;
|
|
17310
17331
|
severity: "critical" | "warning" | "info";
|
|
17311
|
-
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
17312
17332
|
nodeIds: string[];
|
|
17333
|
+
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
17313
17334
|
nodeLabels: string[];
|
|
17314
17335
|
detector: string;
|
|
17315
17336
|
importance?: number | undefined;
|
|
@@ -17485,15 +17506,15 @@ declare function listTableContractsByName(name: string): (TableContract<{
|
|
|
17485
17506
|
description: string;
|
|
17486
17507
|
title: string;
|
|
17487
17508
|
severity: string;
|
|
17488
|
-
category: string;
|
|
17489
17509
|
nodeIds: string[];
|
|
17510
|
+
category: string;
|
|
17490
17511
|
nodeLabels: string[];
|
|
17491
17512
|
}, {
|
|
17492
17513
|
description: string;
|
|
17493
17514
|
title: string;
|
|
17494
17515
|
severity: string;
|
|
17495
|
-
category: string;
|
|
17496
17516
|
nodeIds: string[];
|
|
17517
|
+
category: string;
|
|
17497
17518
|
nodeLabels: string[];
|
|
17498
17519
|
}>>;
|
|
17499
17520
|
status: zod.ZodEnum<["active", "archived", "deleted"]>;
|
|
@@ -17717,9 +17738,16 @@ declare function listTableContractsByName(name: string): (TableContract<{
|
|
|
17717
17738
|
syncError: zod.ZodOptional<zod.ZodString>;
|
|
17718
17739
|
}> | TableContract<{
|
|
17719
17740
|
nodeId: ConvexIdSchema<"epistemicNodes">;
|
|
17741
|
+
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
17742
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
17720
17743
|
topicId: zod.ZodOptional<zod.ZodString>;
|
|
17721
|
-
nodeType: zod.ZodEnum<["belief", "question", "evidence", "answer", "
|
|
17744
|
+
nodeType: zod.ZodEnum<["decision", "belief", "question", "theme", "deal", "topic", "claim", "evidence", "synthesis", "answer", "atomic_fact", "excerpt", "source", "company", "person", "investor", "function", "value_chain"]>;
|
|
17722
17745
|
embedding: zod.ZodArray<zod.ZodNumber, "many">;
|
|
17746
|
+
embeddingModel: zod.ZodOptional<zod.ZodString>;
|
|
17747
|
+
vectorDimensions: zod.ZodOptional<zod.ZodNumber>;
|
|
17748
|
+
contentHash: zod.ZodOptional<zod.ZodString>;
|
|
17749
|
+
textPreview: zod.ZodOptional<zod.ZodString>;
|
|
17750
|
+
embeddedAt: zod.ZodOptional<zod.ZodNumber>;
|
|
17723
17751
|
createdBy: zod.ZodString;
|
|
17724
17752
|
hasAnswer: zod.ZodOptional<zod.ZodBoolean>;
|
|
17725
17753
|
confidence: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -22633,8 +22661,8 @@ declare function getTableContract(name: string, component?: string): TableContra
|
|
|
22633
22661
|
id: string;
|
|
22634
22662
|
title: string;
|
|
22635
22663
|
severity: "critical" | "warning" | "info";
|
|
22636
|
-
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
22637
22664
|
nodeIds: string[];
|
|
22665
|
+
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
22638
22666
|
nodeLabels: string[];
|
|
22639
22667
|
detector: string;
|
|
22640
22668
|
importance?: number | undefined;
|
|
@@ -22644,8 +22672,8 @@ declare function getTableContract(name: string, component?: string): TableContra
|
|
|
22644
22672
|
id: string;
|
|
22645
22673
|
title: string;
|
|
22646
22674
|
severity: "critical" | "warning" | "info";
|
|
22647
|
-
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
22648
22675
|
nodeIds: string[];
|
|
22676
|
+
category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
|
|
22649
22677
|
nodeLabels: string[];
|
|
22650
22678
|
detector: string;
|
|
22651
22679
|
importance?: number | undefined;
|
|
@@ -22821,15 +22849,15 @@ declare function getTableContract(name: string, component?: string): TableContra
|
|
|
22821
22849
|
description: string;
|
|
22822
22850
|
title: string;
|
|
22823
22851
|
severity: string;
|
|
22824
|
-
category: string;
|
|
22825
22852
|
nodeIds: string[];
|
|
22853
|
+
category: string;
|
|
22826
22854
|
nodeLabels: string[];
|
|
22827
22855
|
}, {
|
|
22828
22856
|
description: string;
|
|
22829
22857
|
title: string;
|
|
22830
22858
|
severity: string;
|
|
22831
|
-
category: string;
|
|
22832
22859
|
nodeIds: string[];
|
|
22860
|
+
category: string;
|
|
22833
22861
|
nodeLabels: string[];
|
|
22834
22862
|
}>>;
|
|
22835
22863
|
status: zod.ZodEnum<["active", "archived", "deleted"]>;
|
|
@@ -23053,9 +23081,16 @@ declare function getTableContract(name: string, component?: string): TableContra
|
|
|
23053
23081
|
syncError: zod.ZodOptional<zod.ZodString>;
|
|
23054
23082
|
}> | TableContract<{
|
|
23055
23083
|
nodeId: ConvexIdSchema<"epistemicNodes">;
|
|
23084
|
+
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
23085
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
23056
23086
|
topicId: zod.ZodOptional<zod.ZodString>;
|
|
23057
|
-
nodeType: zod.ZodEnum<["belief", "question", "evidence", "answer", "
|
|
23087
|
+
nodeType: zod.ZodEnum<["decision", "belief", "question", "theme", "deal", "topic", "claim", "evidence", "synthesis", "answer", "atomic_fact", "excerpt", "source", "company", "person", "investor", "function", "value_chain"]>;
|
|
23058
23088
|
embedding: zod.ZodArray<zod.ZodNumber, "many">;
|
|
23089
|
+
embeddingModel: zod.ZodOptional<zod.ZodString>;
|
|
23090
|
+
vectorDimensions: zod.ZodOptional<zod.ZodNumber>;
|
|
23091
|
+
contentHash: zod.ZodOptional<zod.ZodString>;
|
|
23092
|
+
textPreview: zod.ZodOptional<zod.ZodString>;
|
|
23093
|
+
embeddedAt: zod.ZodOptional<zod.ZodNumber>;
|
|
23059
23094
|
createdBy: zod.ZodString;
|
|
23060
23095
|
hasAnswer: zod.ZodOptional<zod.ZodBoolean>;
|
|
23061
23096
|
confidence: zod.ZodOptional<zod.ZodNumber>;
|
package/dist/schemas/manifest.js
CHANGED
|
@@ -1978,9 +1978,35 @@ var epistemicNodeEmbeddings = defineTable({
|
|
|
1978
1978
|
category: "embedding",
|
|
1979
1979
|
shape: z.object({
|
|
1980
1980
|
"nodeId": idOf("epistemicNodes"),
|
|
1981
|
+
"tenantId": z.string().optional(),
|
|
1982
|
+
"workspaceId": z.string().optional(),
|
|
1981
1983
|
"topicId": z.string().optional(),
|
|
1982
|
-
"nodeType": z.enum([
|
|
1984
|
+
"nodeType": z.enum([
|
|
1985
|
+
"decision",
|
|
1986
|
+
"belief",
|
|
1987
|
+
"question",
|
|
1988
|
+
"theme",
|
|
1989
|
+
"deal",
|
|
1990
|
+
"topic",
|
|
1991
|
+
"claim",
|
|
1992
|
+
"evidence",
|
|
1993
|
+
"synthesis",
|
|
1994
|
+
"answer",
|
|
1995
|
+
"atomic_fact",
|
|
1996
|
+
"excerpt",
|
|
1997
|
+
"source",
|
|
1998
|
+
"company",
|
|
1999
|
+
"person",
|
|
2000
|
+
"investor",
|
|
2001
|
+
"function",
|
|
2002
|
+
"value_chain"
|
|
2003
|
+
]),
|
|
1983
2004
|
"embedding": z.array(z.number()),
|
|
2005
|
+
"embeddingModel": z.string().optional(),
|
|
2006
|
+
"vectorDimensions": z.number().optional(),
|
|
2007
|
+
"contentHash": z.string().optional(),
|
|
2008
|
+
"textPreview": z.string().optional(),
|
|
2009
|
+
"embeddedAt": z.number().optional(),
|
|
1984
2010
|
"createdBy": z.string(),
|
|
1985
2011
|
"hasAnswer": z.boolean().optional(),
|
|
1986
2012
|
"confidence": z.number().optional(),
|
|
@@ -1990,9 +2016,10 @@ var epistemicNodeEmbeddings = defineTable({
|
|
|
1990
2016
|
}),
|
|
1991
2017
|
indices: [
|
|
1992
2018
|
{ kind: "index", name: "by_nodeId", columns: ["nodeId"] },
|
|
2019
|
+
{ kind: "index", name: "by_topicId_nodeId", columns: ["topicId", "nodeId"] },
|
|
1993
2020
|
{ kind: "index", name: "by_topicId_type", columns: ["topicId", "nodeType"] },
|
|
1994
2021
|
{ kind: "index", name: "by_topicId", columns: ["topicId"] },
|
|
1995
|
-
{ kind: "vector", name: "by_embedding", vectorField: "embedding", dimensions: 1024, filterFields: ["nodeType", "createdBy"] }
|
|
2022
|
+
{ kind: "vector", name: "by_embedding", vectorField: "embedding", dimensions: 1024, filterFields: ["nodeType", "createdBy", "topicId"] }
|
|
1996
2023
|
]
|
|
1997
2024
|
});
|
|
1998
2025
|
var groupMemberships = defineTable({
|