@lucern/contracts 0.3.0-alpha.4 → 0.3.0-alpha.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/dist/edge-policy-manifest-DpmTtjmm.d.ts +132 -0
- package/dist/function-registry/beliefs.js +72 -0
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.js +72 -0
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.js +72 -0
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.js +72 -0
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.js +72 -0
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.js +72 -0
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.js +72 -0
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +78 -0
- package/dist/function-registry/graph.js +129 -0
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.d.ts +1 -1
- package/dist/function-registry/helpers.js +72 -0
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.js +72 -0
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +1 -1
- package/dist/function-registry/index.js +72 -0
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.js +72 -0
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.js +72 -0
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.js +72 -0
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +3 -3
- package/dist/function-registry/manifest.js +2 -0
- package/dist/function-registry/manifest.js.map +1 -1
- package/dist/function-registry/ontologies.js +72 -0
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.js +72 -0
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.js +72 -0
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.js +72 -0
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.js +72 -0
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/types.d.ts +1 -1
- package/dist/function-registry/worktrees.js +72 -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/graph-intelligence.contract.d.ts +506 -0
- package/dist/graph-intelligence.contract.js +595 -0
- package/dist/graph-intelligence.contract.js.map +1 -0
- package/dist/graph-types/index.d.ts +5 -1
- package/dist/graph-types/index.js +15 -4
- package/dist/graph-types/index.js.map +1 -1
- package/dist/{index-CV-0_VWJ.d.ts → index-O09U2xHk.d.ts} +5 -2
- package/dist/index.d.ts +18 -817
- package/dist/index.js +744 -10
- package/dist/index.js.map +1 -1
- package/dist/infisical-runtime.contract.js +120 -0
- package/dist/infisical-runtime.contract.js.map +1 -1
- package/dist/manifests/edge-policy-manifest.d.ts +2 -0
- package/dist/manifests/edge-policy-manifest.data.d.ts +27 -0
- package/dist/manifests/edge-policy-manifest.data.js +34 -0
- package/dist/manifests/edge-policy-manifest.data.js.map +1 -0
- package/dist/manifests/edge-policy-manifest.js +65 -0
- package/dist/manifests/edge-policy-manifest.js.map +1 -0
- package/dist/manifests/infisical-runtime-manifest.d.ts +151 -0
- package/dist/manifests/infisical-runtime-manifest.js +311 -0
- package/dist/manifests/infisical-runtime-manifest.js.map +1 -0
- package/dist/manifests/invariant-manifest.d.ts +65 -0
- package/dist/manifests/invariant-manifest.js +18 -0
- package/dist/manifests/invariant-manifest.js.map +1 -0
- package/dist/manifests/invariants/ast-utils.d.ts +14 -0
- package/dist/manifests/invariants/ast-utils.js +54 -0
- package/dist/manifests/invariants/ast-utils.js.map +1 -0
- package/dist/manifests/invariants/index.d.ts +15 -0
- package/dist/manifests/invariants/index.js +183 -0
- package/dist/manifests/invariants/index.js.map +1 -0
- package/dist/manifests/invariants/inv-1-beliefs-append-only.d.ts +12 -0
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js +94 -0
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js.map +1 -0
- package/dist/manifests/invariants/inv-14-no-silent-transitions.d.ts +12 -0
- package/dist/manifests/invariants/inv-14-no-silent-transitions.js +99 -0
- package/dist/manifests/invariants/inv-14-no-silent-transitions.js.map +1 -0
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.d.ts +12 -0
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.js +42 -0
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.js.map +1 -0
- package/dist/manifests/tenant-client-manifest.d.ts +303 -0
- package/dist/manifests/tenant-client-manifest.js +409 -0
- package/dist/manifests/tenant-client-manifest.js.map +1 -0
- package/dist/projections/check-convex-args-shape.d.ts +3 -0
- package/dist/projections/check-convex-args-shape.js +396 -0
- package/dist/projections/check-convex-args-shape.js.map +1 -0
- package/dist/projections/create-evidence.projection.d.ts +176 -0
- package/dist/projections/create-evidence.projection.js +128 -0
- package/dist/projections/create-evidence.projection.js.map +1 -0
- package/dist/projections/index.d.ts +102 -0
- package/dist/projections/index.js +345 -0
- package/dist/projections/index.js.map +1 -0
- package/dist/projections/list-beliefs.projection.d.ts +36 -0
- package/dist/projections/list-beliefs.projection.js +54 -0
- package/dist/projections/list-beliefs.projection.js.map +1 -0
- package/dist/projections/list-tasks.projection.d.ts +32 -0
- package/dist/projections/list-tasks.projection.js +52 -0
- package/dist/projections/list-tasks.projection.js.map +1 -0
- package/dist/projections/modulate-confidence.projection.d.ts +219 -0
- package/dist/projections/modulate-confidence.projection.js +148 -0
- package/dist/projections/modulate-confidence.projection.js.map +1 -0
- package/dist/projections/projection-dsl.d.ts +11 -0
- package/dist/projections/projection-dsl.js +8 -0
- package/dist/projections/projection-dsl.js.map +1 -0
- package/dist/schemas/enums.d.ts +5 -2
- package/dist/schemas/enums.js +5 -2
- package/dist/schemas/enums.js.map +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +6 -3
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +15 -15
- package/dist/schemas/manifest.js +5 -2
- package/dist/schemas/manifest.js.map +1 -1
- package/dist/schemas/tables/kernel/intelligence.d.ts +2 -2
- package/dist/schemas/tables/kernel/spine.d.ts +1 -1
- package/dist/schemas/tables/kernel/spine.js +5 -2
- package/dist/schemas/tables/kernel/spine.js.map +1 -1
- package/dist/schemas/tables/kernel/topic.js +4 -1
- package/dist/schemas/tables/kernel/topic.js.map +1 -1
- package/dist/{sdk-tools.contract-CD-N1Jf7.d.ts → sdk-tools.contract-Ng8ULxjr.d.ts} +1 -1
- package/dist/sdk-tools.contract.d.ts +2 -2
- package/dist/sdk-tools.contract.js +70 -0
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/tenant-bootstrap-seed.contract.d.ts +12 -8
- package/dist/tenant-bootstrap-seed.contract.js +6 -4
- package/dist/tenant-bootstrap-seed.contract.js.map +1 -1
- package/dist/tenant-client.contract.d.ts +69 -5
- package/dist/tenant-client.contract.js +65 -4
- package/dist/tenant-client.contract.js.map +1 -1
- package/dist/{tool-contracts-BcKz-VGj.d.ts → tool-contracts-CYXVPN4K.d.ts} +6 -2
- package/dist/tool-contracts.d.ts +1 -1
- package/dist/tool-contracts.js +71 -1
- package/dist/tool-contracts.js.map +1 -1
- package/package.json +9 -1
package/dist/index.js
CHANGED
|
@@ -437,6 +437,598 @@ function requireActorPrincipalId(authContext) {
|
|
|
437
437
|
throw new Error("Access denied: federated principal context required.");
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
+
// src/graph-intelligence.contract.ts
|
|
441
|
+
var GRAPH_INTELLIGENCE_QUERY_CATALOG_VERSION = "graph_intelligence_query_catalog.v1";
|
|
442
|
+
var GRAPH_INTELLIGENCE_QUERY_MODES = [
|
|
443
|
+
"core",
|
|
444
|
+
"bias",
|
|
445
|
+
"stress",
|
|
446
|
+
"operational",
|
|
447
|
+
"alpha",
|
|
448
|
+
"semantic",
|
|
449
|
+
"evidence"
|
|
450
|
+
];
|
|
451
|
+
var GRAPH_INTELLIGENCE_PUBLIC_TOOL_NAMES = [
|
|
452
|
+
"get_graph_structure_analysis",
|
|
453
|
+
"detect_confirmation_bias",
|
|
454
|
+
"get_graph_gaps",
|
|
455
|
+
"get_topic_coverage",
|
|
456
|
+
"find_contradictions",
|
|
457
|
+
"get_falsification_questions",
|
|
458
|
+
"search_beliefs",
|
|
459
|
+
"search_evidence",
|
|
460
|
+
"list_beliefs",
|
|
461
|
+
"list_questions",
|
|
462
|
+
"traverse_graph",
|
|
463
|
+
"query_lineage",
|
|
464
|
+
"get_graph_neighborhood"
|
|
465
|
+
];
|
|
466
|
+
var GRAPH_INTELLIGENCE_MODE_TOOL_NAMES = {
|
|
467
|
+
core: [
|
|
468
|
+
"get_graph_structure_analysis",
|
|
469
|
+
"get_topic_coverage",
|
|
470
|
+
"get_graph_gaps",
|
|
471
|
+
"list_beliefs",
|
|
472
|
+
"list_questions",
|
|
473
|
+
"search_evidence"
|
|
474
|
+
],
|
|
475
|
+
bias: [
|
|
476
|
+
"get_graph_structure_analysis",
|
|
477
|
+
"detect_confirmation_bias",
|
|
478
|
+
"find_contradictions",
|
|
479
|
+
"search_evidence",
|
|
480
|
+
"list_beliefs"
|
|
481
|
+
],
|
|
482
|
+
stress: [
|
|
483
|
+
"get_graph_structure_analysis",
|
|
484
|
+
"get_graph_gaps",
|
|
485
|
+
"find_contradictions",
|
|
486
|
+
"get_falsification_questions",
|
|
487
|
+
"list_beliefs",
|
|
488
|
+
"list_questions"
|
|
489
|
+
],
|
|
490
|
+
operational: [
|
|
491
|
+
"get_topic_coverage",
|
|
492
|
+
"get_graph_gaps",
|
|
493
|
+
"list_beliefs",
|
|
494
|
+
"list_questions",
|
|
495
|
+
"search_evidence"
|
|
496
|
+
],
|
|
497
|
+
alpha: [
|
|
498
|
+
"get_graph_structure_analysis",
|
|
499
|
+
"detect_confirmation_bias",
|
|
500
|
+
"find_contradictions",
|
|
501
|
+
"search_beliefs",
|
|
502
|
+
"search_evidence"
|
|
503
|
+
],
|
|
504
|
+
semantic: [
|
|
505
|
+
"get_graph_structure_analysis",
|
|
506
|
+
"search_beliefs",
|
|
507
|
+
"search_evidence",
|
|
508
|
+
"traverse_graph",
|
|
509
|
+
"query_lineage",
|
|
510
|
+
"get_graph_neighborhood"
|
|
511
|
+
],
|
|
512
|
+
evidence: [
|
|
513
|
+
"get_graph_structure_analysis",
|
|
514
|
+
"get_topic_coverage",
|
|
515
|
+
"search_evidence",
|
|
516
|
+
"get_falsification_questions",
|
|
517
|
+
"find_contradictions"
|
|
518
|
+
]
|
|
519
|
+
};
|
|
520
|
+
var GRAPH_INTELLIGENCE_QUERY_CATEGORIES = [
|
|
521
|
+
{
|
|
522
|
+
id: "problems",
|
|
523
|
+
name: "Find Problems",
|
|
524
|
+
description: "Risk, contradiction, bias, and structural weakness queries."
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
id: "gaps",
|
|
528
|
+
name: "Find Gaps",
|
|
529
|
+
description: "Missing evidence, unanswered questions, and sparse areas."
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
id: "reasoning",
|
|
533
|
+
name: "Reasoning Quality",
|
|
534
|
+
description: "Assumption chains, evidence convergence, and weak links."
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
id: "strategic",
|
|
538
|
+
name: "Strategic Analysis",
|
|
539
|
+
description: "Pre-mortems, falsification, contrarian signals, and bets."
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
id: "deep",
|
|
543
|
+
name: "Deep Graph Analysis",
|
|
544
|
+
description: "Centrality, propagation, underdetermination, and topology."
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
id: "browse",
|
|
548
|
+
name: "Browse and Explore",
|
|
549
|
+
description: "Narrative summaries, search, theme exploration, and bridges."
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
id: "prep",
|
|
553
|
+
name: "Meeting Prep",
|
|
554
|
+
description: "Company, entity, and question prep from graph context."
|
|
555
|
+
}
|
|
556
|
+
];
|
|
557
|
+
var byMode = (mode) => GRAPH_INTELLIGENCE_MODE_TOOL_NAMES[mode];
|
|
558
|
+
var GRAPH_INTELLIGENCE_QUERIES = [
|
|
559
|
+
{
|
|
560
|
+
id: "confirmation-bias",
|
|
561
|
+
categoryId: "problems",
|
|
562
|
+
mode: "bias",
|
|
563
|
+
name: "Find Confirmation Bias",
|
|
564
|
+
description: "Find beliefs supported mainly by confirming evidence.",
|
|
565
|
+
prompt: "Find beliefs where supporting evidence overwhelms challenging evidence. Prioritize high-conviction beliefs with few defeaters.",
|
|
566
|
+
highlightStrategy: "bias-risk",
|
|
567
|
+
riskLevel: "high"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
id: "contradiction-map",
|
|
571
|
+
categoryId: "problems",
|
|
572
|
+
mode: "stress",
|
|
573
|
+
name: "Map Contradictions",
|
|
574
|
+
description: "Surface direct and indirect contradiction clusters.",
|
|
575
|
+
prompt: "Map the graph's contradiction clusters and explain which tensions matter most.",
|
|
576
|
+
highlightStrategy: "contradictions",
|
|
577
|
+
riskLevel: "high"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
id: "weak-evidence",
|
|
581
|
+
categoryId: "problems",
|
|
582
|
+
mode: "stress",
|
|
583
|
+
name: "Weak Evidence Chains",
|
|
584
|
+
description: "Find important claims with thin or indirect evidence.",
|
|
585
|
+
prompt: "Find high-importance beliefs whose evidence support is thin, indirect, stale, or low quality.",
|
|
586
|
+
highlightStrategy: "weak-support",
|
|
587
|
+
riskLevel: "medium"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
id: "single-source",
|
|
591
|
+
categoryId: "problems",
|
|
592
|
+
mode: "bias",
|
|
593
|
+
name: "Single-Source Risk",
|
|
594
|
+
description: "Find claims overly dependent on one source or source type.",
|
|
595
|
+
prompt: "Identify beliefs that rely on a single source, one methodology, or one repeated perspective.",
|
|
596
|
+
highlightStrategy: "source-concentration",
|
|
597
|
+
riskLevel: "medium"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
id: "untested-assumptions",
|
|
601
|
+
categoryId: "problems",
|
|
602
|
+
mode: "stress",
|
|
603
|
+
name: "Untested Assumptions",
|
|
604
|
+
description: "Find load-bearing assumptions without falsification paths.",
|
|
605
|
+
prompt: "Find assumptions that appear load-bearing but do not have direct testing questions or falsification evidence.",
|
|
606
|
+
highlightStrategy: "untested",
|
|
607
|
+
riskLevel: "high"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
id: "load-bearing-beliefs",
|
|
611
|
+
categoryId: "problems",
|
|
612
|
+
mode: "stress",
|
|
613
|
+
name: "Load-Bearing Beliefs",
|
|
614
|
+
description: "Find central beliefs whose failure would affect many claims.",
|
|
615
|
+
prompt: "Find the beliefs with the largest downstream impact if they are wrong.",
|
|
616
|
+
highlightStrategy: "load-bearing",
|
|
617
|
+
riskLevel: "high"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
id: "cascade-analysis",
|
|
621
|
+
categoryId: "problems",
|
|
622
|
+
mode: "stress",
|
|
623
|
+
name: "Cascade Analysis",
|
|
624
|
+
description: "Trace what changes if a belief is weakened or invalidated.",
|
|
625
|
+
prompt: "Analyze likely downstream cascades if the most central or uncertain beliefs are weakened.",
|
|
626
|
+
highlightStrategy: "cascade",
|
|
627
|
+
riskLevel: "high"
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
id: "unanswered-questions",
|
|
631
|
+
categoryId: "gaps",
|
|
632
|
+
mode: "operational",
|
|
633
|
+
name: "Unanswered Questions",
|
|
634
|
+
description: "Find important open questions that block confidence.",
|
|
635
|
+
prompt: "Identify the most important unanswered questions and explain which beliefs they block.",
|
|
636
|
+
highlightStrategy: "open-questions"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
id: "thin-themes",
|
|
640
|
+
categoryId: "gaps",
|
|
641
|
+
mode: "operational",
|
|
642
|
+
name: "Thin Themes",
|
|
643
|
+
description: "Find topics with shallow belief or evidence coverage.",
|
|
644
|
+
prompt: "Find themes that look underdeveloped relative to their role in the graph.",
|
|
645
|
+
highlightStrategy: "thin-themes"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
id: "missing-evidence",
|
|
649
|
+
categoryId: "gaps",
|
|
650
|
+
mode: "stress",
|
|
651
|
+
name: "Missing Evidence",
|
|
652
|
+
description: "Find beliefs that need specific missing evidence.",
|
|
653
|
+
prompt: "Find the most valuable missing evidence needed to strengthen or falsify the graph.",
|
|
654
|
+
highlightStrategy: "missing-evidence"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
id: "isolated-clusters",
|
|
658
|
+
categoryId: "gaps",
|
|
659
|
+
mode: "operational",
|
|
660
|
+
name: "Isolated Clusters",
|
|
661
|
+
description: "Find clusters not connected to the broader graph.",
|
|
662
|
+
prompt: "Find isolated graph clusters and recommend bridge questions or bridge evidence.",
|
|
663
|
+
highlightStrategy: "isolated-clusters"
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
id: "source-contribution",
|
|
667
|
+
categoryId: "gaps",
|
|
668
|
+
mode: "evidence",
|
|
669
|
+
name: "Source Contribution",
|
|
670
|
+
description: "Assess how source mix shapes the graph.",
|
|
671
|
+
prompt: "Assess whether the source mix is balanced enough for the graph's strongest claims.",
|
|
672
|
+
highlightStrategy: "source-mix"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
id: "stale-beliefs",
|
|
676
|
+
categoryId: "gaps",
|
|
677
|
+
mode: "operational",
|
|
678
|
+
name: "Stale Beliefs",
|
|
679
|
+
description: "Find beliefs that need review because they are old or stale.",
|
|
680
|
+
prompt: "Find beliefs that should be revisited because they are stale, unsupported by recent evidence, or contradicted by newer context.",
|
|
681
|
+
highlightStrategy: "staleness"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
id: "assumption-pyramid",
|
|
685
|
+
categoryId: "reasoning",
|
|
686
|
+
mode: "operational",
|
|
687
|
+
name: "Assumption Pyramid",
|
|
688
|
+
description: "Show which conclusions rest on which assumptions.",
|
|
689
|
+
prompt: "Build an assumption pyramid from the graph: foundational assumptions, intermediate claims, and top-level conclusions.",
|
|
690
|
+
highlightStrategy: "assumptions"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
id: "converging-evidence",
|
|
694
|
+
categoryId: "reasoning",
|
|
695
|
+
mode: "evidence",
|
|
696
|
+
name: "Converging Evidence",
|
|
697
|
+
description: "Find claims supported by independent evidence streams.",
|
|
698
|
+
prompt: "Find beliefs with genuinely independent converging evidence and explain why they are robust.",
|
|
699
|
+
highlightStrategy: "convergence"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
id: "weakest-links",
|
|
703
|
+
categoryId: "reasoning",
|
|
704
|
+
mode: "stress",
|
|
705
|
+
name: "Weakest Links",
|
|
706
|
+
description: "Find the weakest links in important reasoning chains.",
|
|
707
|
+
prompt: "Find the weakest links in important reasoning chains and explain how to test them.",
|
|
708
|
+
highlightStrategy: "weak-links",
|
|
709
|
+
riskLevel: "medium"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
id: "challenged-beliefs",
|
|
713
|
+
categoryId: "reasoning",
|
|
714
|
+
mode: "stress",
|
|
715
|
+
name: "Challenged Beliefs",
|
|
716
|
+
description: "Find beliefs with active challenges or defeaters.",
|
|
717
|
+
prompt: "Find beliefs with active challenges, contradiction edges, or unresolved defeaters.",
|
|
718
|
+
highlightStrategy: "challenged"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
id: "contrarian-map",
|
|
722
|
+
categoryId: "strategic",
|
|
723
|
+
mode: "alpha",
|
|
724
|
+
name: "Contrarian Map",
|
|
725
|
+
description: "Find non-consensus beliefs and where they are grounded.",
|
|
726
|
+
prompt: "Find the graph's strongest contrarian or non-consensus beliefs and explain their support.",
|
|
727
|
+
highlightStrategy: "contrarian"
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
id: "irreversibility-audit",
|
|
731
|
+
categoryId: "strategic",
|
|
732
|
+
mode: "stress",
|
|
733
|
+
name: "Irreversibility Audit",
|
|
734
|
+
description: "Find irreversible bets and assumptions behind them.",
|
|
735
|
+
prompt: "Audit irreversible decisions or beliefs and identify what must be true before acting.",
|
|
736
|
+
highlightStrategy: "irreversible",
|
|
737
|
+
riskLevel: "high"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
id: "pre-mortem",
|
|
741
|
+
categoryId: "strategic",
|
|
742
|
+
mode: "stress",
|
|
743
|
+
name: "Pre-Mortem",
|
|
744
|
+
description: "Explain how the graph could be wrong.",
|
|
745
|
+
prompt: "Run a pre-mortem: assume the current thesis fails and identify the most plausible failure paths.",
|
|
746
|
+
highlightStrategy: "failure-paths",
|
|
747
|
+
riskLevel: "high"
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
id: "devils-advocate",
|
|
751
|
+
categoryId: "strategic",
|
|
752
|
+
mode: "stress",
|
|
753
|
+
name: "Devil's Advocate",
|
|
754
|
+
description: "Generate the strongest critique of the graph.",
|
|
755
|
+
prompt: "Produce the strongest evidence-grounded critique of the current graph and its main thesis.",
|
|
756
|
+
highlightStrategy: "critique"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
id: "falsification-map",
|
|
760
|
+
categoryId: "strategic",
|
|
761
|
+
mode: "stress",
|
|
762
|
+
name: "Falsification Map",
|
|
763
|
+
description: "Find the cheapest tests that would disprove key beliefs.",
|
|
764
|
+
prompt: "Map the cheapest, clearest falsification tests for the graph's key claims.",
|
|
765
|
+
highlightStrategy: "falsification",
|
|
766
|
+
riskLevel: "high"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
id: "prediction-tracker",
|
|
770
|
+
categoryId: "strategic",
|
|
771
|
+
mode: "evidence",
|
|
772
|
+
name: "Prediction Tracker",
|
|
773
|
+
description: "Find beliefs that imply measurable predictions.",
|
|
774
|
+
prompt: "Find beliefs that imply measurable predictions and suggest tracking signals.",
|
|
775
|
+
highlightStrategy: "predictions"
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
id: "belief-pagerank",
|
|
779
|
+
categoryId: "deep",
|
|
780
|
+
mode: "semantic",
|
|
781
|
+
name: "Belief PageRank",
|
|
782
|
+
description: "Identify structurally central beliefs.",
|
|
783
|
+
prompt: "Use graph centrality to identify the most structurally important beliefs.",
|
|
784
|
+
highlightStrategy: "centrality"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
id: "underdetermination",
|
|
788
|
+
categoryId: "deep",
|
|
789
|
+
mode: "semantic",
|
|
790
|
+
name: "Underdetermination",
|
|
791
|
+
description: "Find places where evidence supports multiple explanations.",
|
|
792
|
+
prompt: "Find places where the same evidence could support multiple incompatible explanations.",
|
|
793
|
+
highlightStrategy: "underdetermination"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
id: "confidence-propagation",
|
|
797
|
+
categoryId: "deep",
|
|
798
|
+
mode: "semantic",
|
|
799
|
+
name: "Confidence Propagation",
|
|
800
|
+
description: "Assess how uncertainty moves through the graph.",
|
|
801
|
+
prompt: "Explain how uncertainty propagates from weak or contested beliefs through downstream conclusions.",
|
|
802
|
+
highlightStrategy: "confidence-flow"
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
id: "argument-depth",
|
|
806
|
+
categoryId: "deep",
|
|
807
|
+
mode: "evidence",
|
|
808
|
+
name: "Argument Depth",
|
|
809
|
+
description: "Assess reasoning depth and chain quality.",
|
|
810
|
+
prompt: "Assess reasoning depth: where claims are shallow, deeply supported, or overextended.",
|
|
811
|
+
highlightStrategy: "depth"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
id: "information-edge",
|
|
815
|
+
categoryId: "deep",
|
|
816
|
+
mode: "alpha",
|
|
817
|
+
name: "Information Edge",
|
|
818
|
+
description: "Find differentiated evidence or signals.",
|
|
819
|
+
prompt: "Find evidence, sources, or beliefs that could represent differentiated information edge.",
|
|
820
|
+
highlightStrategy: "information-edge"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
id: "thesis-summary",
|
|
824
|
+
categoryId: "browse",
|
|
825
|
+
mode: "semantic",
|
|
826
|
+
name: "Thesis Summary",
|
|
827
|
+
description: "Summarize the graph's core thesis and support.",
|
|
828
|
+
prompt: "Summarize the graph's core thesis, strongest support, weakest support, and open questions.",
|
|
829
|
+
highlightStrategy: "summary"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
id: "theme-deep-dive",
|
|
833
|
+
categoryId: "browse",
|
|
834
|
+
mode: "semantic",
|
|
835
|
+
name: "Theme Deep Dive",
|
|
836
|
+
description: "Deep dive into a named theme.",
|
|
837
|
+
prompt: "Deep dive into {input}. Explain the key beliefs, evidence, contradictions, and open questions.",
|
|
838
|
+
inputType: "theme",
|
|
839
|
+
highlightStrategy: "theme"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
id: "belief-detail",
|
|
843
|
+
categoryId: "browse",
|
|
844
|
+
mode: "semantic",
|
|
845
|
+
name: "Belief Detail",
|
|
846
|
+
description: "Explain one belief and its graph neighborhood.",
|
|
847
|
+
prompt: "Explain {input} and its support, challenges, related beliefs, and downstream implications.",
|
|
848
|
+
inputType: "belief",
|
|
849
|
+
highlightStrategy: "belief"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
id: "strongest-beliefs",
|
|
853
|
+
categoryId: "browse",
|
|
854
|
+
mode: "operational",
|
|
855
|
+
name: "Strongest Beliefs",
|
|
856
|
+
description: "Find the graph's strongest current beliefs.",
|
|
857
|
+
prompt: "Find the strongest current beliefs and explain why each one deserves confidence.",
|
|
858
|
+
highlightStrategy: "strongest"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
id: "cross-theme-connection",
|
|
862
|
+
categoryId: "browse",
|
|
863
|
+
mode: "semantic",
|
|
864
|
+
name: "Cross-Theme Connections",
|
|
865
|
+
description: "Find bridges between themes.",
|
|
866
|
+
prompt: "Find meaningful connections across themes and explain which bridge beliefs matter.",
|
|
867
|
+
highlightStrategy: "bridges"
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
id: "research-velocity",
|
|
871
|
+
categoryId: "browse",
|
|
872
|
+
mode: "operational",
|
|
873
|
+
name: "Research Velocity",
|
|
874
|
+
description: "Summarize recent graph movement and momentum.",
|
|
875
|
+
prompt: "Assess research velocity: what changed recently, where progress is fastest, and what is stuck.",
|
|
876
|
+
highlightStrategy: "velocity"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
id: "search",
|
|
880
|
+
categoryId: "browse",
|
|
881
|
+
mode: "semantic",
|
|
882
|
+
name: "Graph Search",
|
|
883
|
+
description: "Search the graph with semantic context.",
|
|
884
|
+
prompt: "Search the graph for {input}. Return the most relevant beliefs, evidence, and questions.",
|
|
885
|
+
inputType: "search",
|
|
886
|
+
highlightStrategy: "search"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
id: "expert-coverage",
|
|
890
|
+
categoryId: "browse",
|
|
891
|
+
mode: "semantic",
|
|
892
|
+
name: "Expert Coverage",
|
|
893
|
+
description: "Assess coverage from expert/source perspectives.",
|
|
894
|
+
prompt: "Assess whether the graph has enough expert, primary, and dissenting coverage.",
|
|
895
|
+
highlightStrategy: "expert-coverage"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
id: "value-chain-map",
|
|
899
|
+
categoryId: "browse",
|
|
900
|
+
mode: "semantic",
|
|
901
|
+
name: "Value Chain Map",
|
|
902
|
+
description: "Map entities, dependencies, and value-chain logic.",
|
|
903
|
+
prompt: "Map the value chain implied by this graph: entities, dependencies, pressure points, and missing links.",
|
|
904
|
+
highlightStrategy: "value-chain"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
id: "meeting-brief",
|
|
908
|
+
categoryId: "prep",
|
|
909
|
+
mode: "semantic",
|
|
910
|
+
name: "Meeting Brief",
|
|
911
|
+
description: "Prepare a meeting brief from graph context.",
|
|
912
|
+
prompt: "Prepare a concise meeting brief using the graph: thesis, open questions, risks, and recommended asks.",
|
|
913
|
+
highlightStrategy: "brief"
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
id: "open-questions-entity",
|
|
917
|
+
categoryId: "prep",
|
|
918
|
+
mode: "semantic",
|
|
919
|
+
name: "Entity Open Questions",
|
|
920
|
+
description: "Find open questions about a specific entity.",
|
|
921
|
+
prompt: "Find the most important open questions about {input} and the beliefs those questions would unlock.",
|
|
922
|
+
inputType: "entity",
|
|
923
|
+
highlightStrategy: "entity-questions"
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
id: "company-context",
|
|
927
|
+
categoryId: "prep",
|
|
928
|
+
mode: "semantic",
|
|
929
|
+
name: "Company Context",
|
|
930
|
+
description: "Summarize graph context about a company.",
|
|
931
|
+
prompt: "Summarize what the graph knows about {input}: thesis relevance, evidence, risks, and open questions.",
|
|
932
|
+
inputType: "company",
|
|
933
|
+
highlightStrategy: "company"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
id: "company-theme-fit",
|
|
937
|
+
categoryId: "prep",
|
|
938
|
+
mode: "semantic",
|
|
939
|
+
name: "Company Theme Fit",
|
|
940
|
+
description: "Assess how a company fits graph themes.",
|
|
941
|
+
prompt: "Assess how {input} fits the graph's themes and where the fit is weak or uncertain.",
|
|
942
|
+
inputType: "company",
|
|
943
|
+
highlightStrategy: "fit"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
id: "company-comparison",
|
|
947
|
+
categoryId: "prep",
|
|
948
|
+
mode: "semantic",
|
|
949
|
+
name: "Company Comparison",
|
|
950
|
+
description: "Compare companies through graph context.",
|
|
951
|
+
prompt: "Compare {input} using graph beliefs, evidence, risks, and open questions.",
|
|
952
|
+
inputType: "company-list",
|
|
953
|
+
highlightStrategy: "comparison"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
id: "questions-to-ask",
|
|
957
|
+
categoryId: "prep",
|
|
958
|
+
mode: "operational",
|
|
959
|
+
name: "Questions to Ask",
|
|
960
|
+
description: "Generate high-signal questions from graph gaps.",
|
|
961
|
+
prompt: "Generate the highest-signal questions to ask next, grounded in current graph gaps.",
|
|
962
|
+
highlightStrategy: "questions"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
id: "beliefs-to-test",
|
|
966
|
+
categoryId: "prep",
|
|
967
|
+
mode: "stress",
|
|
968
|
+
name: "Beliefs to Test",
|
|
969
|
+
description: "Prioritize beliefs that should be tested next.",
|
|
970
|
+
prompt: "Prioritize the beliefs that should be tested next and explain the cheapest test for each.",
|
|
971
|
+
highlightStrategy: "tests",
|
|
972
|
+
riskLevel: "medium"
|
|
973
|
+
}
|
|
974
|
+
];
|
|
975
|
+
var GRAPH_INTELLIGENCE_QUERIES_WITH_TOOLS = GRAPH_INTELLIGENCE_QUERIES.map((query) => {
|
|
976
|
+
const definition = query;
|
|
977
|
+
return {
|
|
978
|
+
...definition,
|
|
979
|
+
tools: definition.tools ?? byMode(definition.mode)
|
|
980
|
+
};
|
|
981
|
+
});
|
|
982
|
+
var GRAPH_INTELLIGENCE_QUICK_QUERIES = [
|
|
983
|
+
{
|
|
984
|
+
id: "health-check",
|
|
985
|
+
name: "Health Check",
|
|
986
|
+
queryId: "thesis-summary",
|
|
987
|
+
prompt: "Give me a fast graph health check: biggest strengths, biggest risks, and next best action."
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
id: "find-risks",
|
|
991
|
+
name: "Find Risks",
|
|
992
|
+
queryId: "weakest-links",
|
|
993
|
+
prompt: "Find the most important risks in this graph and the beliefs or evidence behind each one."
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
id: "pre-mortem",
|
|
997
|
+
name: "Pre-Mortem",
|
|
998
|
+
queryId: "pre-mortem",
|
|
999
|
+
prompt: "Assume this thesis fails. Explain the most plausible failure paths and what would reveal them early."
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
id: "whats-next",
|
|
1003
|
+
name: "What's Next",
|
|
1004
|
+
queryId: "questions-to-ask",
|
|
1005
|
+
prompt: "What should I learn or test next to make this graph more useful?"
|
|
1006
|
+
}
|
|
1007
|
+
];
|
|
1008
|
+
function isGraphIntelligenceQueryMode(value) {
|
|
1009
|
+
return typeof value === "string" && GRAPH_INTELLIGENCE_QUERY_MODES.includes(value);
|
|
1010
|
+
}
|
|
1011
|
+
function getGraphIntelligenceQuery(queryId) {
|
|
1012
|
+
return GRAPH_INTELLIGENCE_QUERIES_WITH_TOOLS.find(
|
|
1013
|
+
(query) => query.id === queryId
|
|
1014
|
+
);
|
|
1015
|
+
}
|
|
1016
|
+
function listGraphIntelligenceQueries(filter = {}) {
|
|
1017
|
+
return GRAPH_INTELLIGENCE_QUERIES_WITH_TOOLS.filter((query) => {
|
|
1018
|
+
if (filter.categoryId && query.categoryId !== filter.categoryId) {
|
|
1019
|
+
return false;
|
|
1020
|
+
}
|
|
1021
|
+
if (filter.mode && query.mode !== filter.mode) {
|
|
1022
|
+
return false;
|
|
1023
|
+
}
|
|
1024
|
+
return true;
|
|
1025
|
+
});
|
|
1026
|
+
}
|
|
1027
|
+
function fillGraphIntelligencePromptTemplate(prompt, input) {
|
|
1028
|
+
const replacement = input?.trim() || "the current topic";
|
|
1029
|
+
return prompt.split("{input}").join(replacement);
|
|
1030
|
+
}
|
|
1031
|
+
|
|
440
1032
|
// src/context-pack.contract.ts
|
|
441
1033
|
var CONTEXT_PACK_SCHEMA_VERSION = "1.0.0";
|
|
442
1034
|
var CONTEXT_RANKING_PROFILES = [
|
|
@@ -1387,11 +1979,14 @@ __export(schemas_exports, {
|
|
|
1387
1979
|
ALL_TABLE_CONTRACTS: () => ALL_TABLE_CONTRACTS,
|
|
1388
1980
|
ComponentTableManifestSchema: () => ComponentTableManifestSchema,
|
|
1389
1981
|
EDGE_TYPE: () => EDGE_TYPE,
|
|
1982
|
+
EDGE_TYPE_VALUES: () => EDGE_TYPE_VALUES,
|
|
1390
1983
|
IDENTITY_TABLE_CONTRACTS: () => IDENTITY_TABLE_CONTRACTS,
|
|
1391
1984
|
KERNEL_TABLE_CONTRACTS: () => KERNEL_TABLE_CONTRACTS,
|
|
1392
1985
|
MC_TABLE_CONTRACTS: () => MC_TABLE_CONTRACTS,
|
|
1393
1986
|
NODE_TYPE: () => NODE_TYPE,
|
|
1394
1987
|
SLOpinionInputSchema: () => SLOpinionInputSchema,
|
|
1988
|
+
STORAGE_EDGE_TYPE: () => STORAGE_EDGE_TYPE,
|
|
1989
|
+
STORAGE_EDGE_TYPE_VALUES: () => STORAGE_EDGE_TYPE_VALUES,
|
|
1395
1990
|
TABLE_CONTRACTS_BY_COMPONENT: () => TABLE_CONTRACTS_BY_COMPONENT,
|
|
1396
1991
|
TOPIC_STATUS: () => TOPIC_STATUS,
|
|
1397
1992
|
TOPIC_VISIBILITY: () => TOPIC_VISIBILITY,
|
|
@@ -1399,7 +1994,10 @@ __export(schemas_exports, {
|
|
|
1399
1994
|
listTableContractsByName: () => listTableContractsByName
|
|
1400
1995
|
});
|
|
1401
1996
|
var NODE_TYPE = z.enum(["decision", "belief", "question", "theme", "deal", "topic", "claim", "evidence", "synthesis", "answer", "atomic_fact", "excerpt", "source", "company", "person", "investor", "function", "value_chain"]);
|
|
1402
|
-
var
|
|
1997
|
+
var EDGE_TYPE_VALUES = ["supports", "informs", "depends_on", "derived_from", "contains", "tests", "supersedes", "responds_to", "belongs_to", "relates_to_thesis", "works_at", "invested_in", "competes_with", "participates_in", "founded_by", "evaluates", "performs", "function_in", "impacts", "raised_from", "mentioned_in", "perspective_on", "plays_theme", "answers", "explores", "qualifies", "based_on", "based_on_belief", "based_on_question", "blocked_by_contradiction", "informed_by_theme", "same_as", "reinforces", "parent_of", "child_of", "falsified_by", "exclusive_with", "collapses_if", "cascade_from", "counterfactual_of", "cascade_to", "mutually_exclusive", "correlates_with", "amplifies", "precondition_for", "in_tension_with", "strengthened_by", "weakened_by", "alternative_to", "subsumes", "validated_by", "required_for", "blocks", "prerequisite_for", "parallel_to", "corroborates", "extends", "same_source_as", "same_theme_as", "assumes", "would_predict", "analogous_to", "independent_of", "implements", "violates", "co_changes_with", "migrating_from", "migrating_to", "scoped_by", "about_entity", "entity_referenced_in", "contradicts", "cites", "summarizes", "related_to", "partially_answers", "refines", "branches_from"];
|
|
1998
|
+
var STORAGE_EDGE_TYPE_VALUES = [...EDGE_TYPE_VALUES, "extracted_from"];
|
|
1999
|
+
var EDGE_TYPE = z.enum(EDGE_TYPE_VALUES);
|
|
2000
|
+
var STORAGE_EDGE_TYPE = z.enum(STORAGE_EDGE_TYPE_VALUES);
|
|
1403
2001
|
var TOPIC_STATUS = z.enum(["active", "archived", "watching"]);
|
|
1404
2002
|
var TOPIC_VISIBILITY = z.enum(["private", "team", "firm", "external", "public"]);
|
|
1405
2003
|
var agentMessages = defineTable({
|
|
@@ -2884,7 +3482,7 @@ var epistemicEdges = defineTable({
|
|
|
2884
3482
|
"toNodeId": z.string().optional(),
|
|
2885
3483
|
"sourceGlobalId": z.string().optional(),
|
|
2886
3484
|
"targetGlobalId": z.string().optional(),
|
|
2887
|
-
"edgeType":
|
|
3485
|
+
"edgeType": STORAGE_EDGE_TYPE,
|
|
2888
3486
|
"edgeTier": z.string().optional(),
|
|
2889
3487
|
"domainNamespace": z.string().optional(),
|
|
2890
3488
|
"constraint": z.string().optional(),
|
|
@@ -5831,8 +6429,8 @@ var TENANT_CLIENT_FORBIDDEN_SECRET_ENV = ["NPM_TOKEN"];
|
|
|
5831
6429
|
var TENANT_CLIENT_INSTALLABLE_PACKAGES = [
|
|
5832
6430
|
{
|
|
5833
6431
|
packageName: "@lucern/access-control",
|
|
5834
|
-
role: "
|
|
5835
|
-
directTenantImport:
|
|
6432
|
+
role: "runtime_entrypoint",
|
|
6433
|
+
directTenantImport: true
|
|
5836
6434
|
},
|
|
5837
6435
|
{
|
|
5838
6436
|
packageName: "@lucern/agent",
|
|
@@ -5945,6 +6543,53 @@ var TENANT_CLIENT_INSTALLABLE_PACKAGES = [
|
|
|
5945
6543
|
directTenantImport: true
|
|
5946
6544
|
}
|
|
5947
6545
|
];
|
|
6546
|
+
var TENANT_CLIENT_FULL_SUITE_PACKAGE_NAMES = TENANT_CLIENT_INSTALLABLE_PACKAGES.map(
|
|
6547
|
+
(entry) => entry.packageName
|
|
6548
|
+
);
|
|
6549
|
+
var TENANT_CLIENT_INSTALL_PROFILES = [
|
|
6550
|
+
{
|
|
6551
|
+
id: "core_app_runtime",
|
|
6552
|
+
description: "Smallest tenant app/runtime install for typed Lucern API calls plus tool-access policy helpers.",
|
|
6553
|
+
packageNames: ["@lucern/sdk", "@lucern/access-control"],
|
|
6554
|
+
dependencyField: "dependencies"
|
|
6555
|
+
},
|
|
6556
|
+
{
|
|
6557
|
+
id: "react_app_runtime",
|
|
6558
|
+
description: "React tenant app install for hooks, provider, curated graph components, and direct SDK calls.",
|
|
6559
|
+
packageNames: ["@lucern/react", "@lucern/sdk", "@lucern/access-control"],
|
|
6560
|
+
dependencyField: "dependencies"
|
|
6561
|
+
},
|
|
6562
|
+
{
|
|
6563
|
+
id: "convex_components",
|
|
6564
|
+
description: "Tenant Convex host install for binding the Lucern identity and reasoning-kernel components.",
|
|
6565
|
+
packageNames: ["@lucern/identity", "@lucern/reasoning-kernel"],
|
|
6566
|
+
dependencyField: "dependencies"
|
|
6567
|
+
},
|
|
6568
|
+
{
|
|
6569
|
+
id: "operator_cli",
|
|
6570
|
+
description: "Developer/operator install for the `lucern` binary, including tenant bootstrap seed commands.",
|
|
6571
|
+
packageNames: ["@lucern/cli"],
|
|
6572
|
+
dependencyField: "devDependencies"
|
|
6573
|
+
},
|
|
6574
|
+
{
|
|
6575
|
+
id: "mcp_runtime",
|
|
6576
|
+
description: "Agent runtime install for the standalone Lucern MCP server and hosted route helpers.",
|
|
6577
|
+
packageNames: ["@lucern/mcp"],
|
|
6578
|
+
dependencyField: "dependencies"
|
|
6579
|
+
},
|
|
6580
|
+
{
|
|
6581
|
+
id: "contracts_and_types",
|
|
6582
|
+
description: "Compile-time contract/type install for codegen, audits, and tenant integration validation.",
|
|
6583
|
+
packageNames: ["@lucern/contracts", "@lucern/types"],
|
|
6584
|
+
dependencyField: "dependencies"
|
|
6585
|
+
},
|
|
6586
|
+
{
|
|
6587
|
+
id: "full_suite",
|
|
6588
|
+
description: "Full coherent Lucern package suite for design-partner repos that want every published runtime, tool, component, test, and config package pinned together.",
|
|
6589
|
+
packageNames: TENANT_CLIENT_FULL_SUITE_PACKAGE_NAMES,
|
|
6590
|
+
dependencyField: "mixed"
|
|
6591
|
+
}
|
|
6592
|
+
];
|
|
5948
6593
|
var TENANT_CLIENT_PUBLIC_IMPORTS = [
|
|
5949
6594
|
{
|
|
5950
6595
|
packageName: "@lucern/sdk",
|
|
@@ -5970,6 +6615,12 @@ var TENANT_CLIENT_PUBLIC_IMPORTS = [
|
|
|
5970
6615
|
subpaths: "published_exports",
|
|
5971
6616
|
description: "Published type and manifest contracts."
|
|
5972
6617
|
},
|
|
6618
|
+
{
|
|
6619
|
+
packageName: "@lucern/access-control",
|
|
6620
|
+
surface: "runtime",
|
|
6621
|
+
subpaths: "published_exports",
|
|
6622
|
+
description: "Tenant runtime access-control helpers, including effective tool access."
|
|
6623
|
+
},
|
|
5973
6624
|
{
|
|
5974
6625
|
packageName: "@lucern/types",
|
|
5975
6626
|
surface: "contract",
|
|
@@ -6017,6 +6668,8 @@ var TENANT_CLIENT_REQUIRED_SDK_NAMESPACES = [
|
|
|
6017
6668
|
"edges",
|
|
6018
6669
|
"contradictions",
|
|
6019
6670
|
"contracts",
|
|
6671
|
+
"graphIntel",
|
|
6672
|
+
"graphIntelligence",
|
|
6020
6673
|
"graphAnalysis",
|
|
6021
6674
|
"graphRecommendations",
|
|
6022
6675
|
"orgGraphSearch",
|
|
@@ -6045,7 +6698,7 @@ var TENANT_CLIENT_CAPABILITIES = [
|
|
|
6045
6698
|
},
|
|
6046
6699
|
{
|
|
6047
6700
|
id: "reasoning.graph.read",
|
|
6048
|
-
description: "Read beliefs, evidence, questions, topics, and lineage.",
|
|
6701
|
+
description: "Read beliefs, evidence, questions, topics, graph edges, and lineage.",
|
|
6049
6702
|
surfaces: ["@lucern/sdk", "@lucern/react", "@lucern/mcp"],
|
|
6050
6703
|
requiredContextFields: TENANT_CLIENT_REQUIRED_CONTEXT_FIELDS
|
|
6051
6704
|
},
|
|
@@ -6055,6 +6708,12 @@ var TENANT_CLIENT_CAPABILITIES = [
|
|
|
6055
6708
|
surfaces: ["@lucern/sdk", "@lucern/mcp"],
|
|
6056
6709
|
requiredContextFields: TENANT_CLIENT_REQUIRED_CONTEXT_FIELDS
|
|
6057
6710
|
},
|
|
6711
|
+
{
|
|
6712
|
+
id: "reasoning.graph_intelligence.run",
|
|
6713
|
+
description: "Discover and run Graph Intelligence query recipes for structural graph analysis.",
|
|
6714
|
+
surfaces: ["@lucern/sdk", "@lucern/cli", "@lucern/mcp"],
|
|
6715
|
+
requiredContextFields: TENANT_CLIENT_REQUIRED_CONTEXT_FIELDS
|
|
6716
|
+
},
|
|
6058
6717
|
{
|
|
6059
6718
|
id: "workflow.worktree_lifecycle",
|
|
6060
6719
|
description: "Create, review, merge, and close scoped worktrees.",
|
|
@@ -6427,6 +7086,7 @@ var TENANT_CLIENT_MANIFEST = {
|
|
|
6427
7086
|
},
|
|
6428
7087
|
packages: {
|
|
6429
7088
|
installable: TENANT_CLIENT_INSTALLABLE_PACKAGES,
|
|
7089
|
+
installProfiles: TENANT_CLIENT_INSTALL_PROFILES,
|
|
6430
7090
|
directImports: TENANT_CLIENT_PUBLIC_IMPORTS,
|
|
6431
7091
|
componentConfigImports: TENANT_CLIENT_COMPONENT_CONFIG_IMPORTS
|
|
6432
7092
|
},
|
|
@@ -6853,6 +7513,7 @@ __export(tool_contracts_exports, {
|
|
|
6853
7513
|
LIST_BELIEFS: () => LIST_BELIEFS,
|
|
6854
7514
|
LIST_CAMPAIGNS: () => LIST_CAMPAIGNS,
|
|
6855
7515
|
LIST_EVIDENCE: () => LIST_EVIDENCE,
|
|
7516
|
+
LIST_GRAPH_INTELLIGENCE_QUERIES: () => LIST_GRAPH_INTELLIGENCE_QUERIES,
|
|
6856
7517
|
LIST_LENSES: () => LIST_LENSES,
|
|
6857
7518
|
LIST_ONTOLOGIES: () => LIST_ONTOLOGIES,
|
|
6858
7519
|
LIST_QUESTIONS: () => LIST_QUESTIONS,
|
|
@@ -6877,6 +7538,7 @@ __export(tool_contracts_exports, {
|
|
|
6877
7538
|
REGISTER_SESSION: () => REGISTER_SESSION,
|
|
6878
7539
|
REMOVE_LENS_FROM_TOPIC: () => REMOVE_LENS_FROM_TOPIC,
|
|
6879
7540
|
RESOLVE_EFFECTIVE_ONTOLOGY: () => RESOLVE_EFFECTIVE_ONTOLOGY,
|
|
7541
|
+
RUN_GRAPH_INTELLIGENCE_QUERY: () => RUN_GRAPH_INTELLIGENCE_QUERY,
|
|
6880
7542
|
SEARCH_BELIEFS: () => SEARCH_BELIEFS,
|
|
6881
7543
|
SEARCH_EVIDENCE: () => SEARCH_EVIDENCE,
|
|
6882
7544
|
SEED_BELIEF_LATTICE: () => SEED_BELIEF_LATTICE,
|
|
@@ -8037,6 +8699,74 @@ var GET_GRAPH_STRUCTURE_ANALYSIS = {
|
|
|
8037
8699
|
ontologyPrimitive: "graph",
|
|
8038
8700
|
tier: "showcase"
|
|
8039
8701
|
};
|
|
8702
|
+
var LIST_GRAPH_INTELLIGENCE_QUERIES = {
|
|
8703
|
+
name: "list_graph_intelligence_queries",
|
|
8704
|
+
description: "List the Graph Intelligence query catalog that powers structural graph analysis experiences. Returns categories, query IDs, prompt templates, modes, and the public tool plan each query can use.",
|
|
8705
|
+
parameters: {
|
|
8706
|
+
categoryId: {
|
|
8707
|
+
type: "string",
|
|
8708
|
+
description: "Optional category filter, such as problems or strategic"
|
|
8709
|
+
},
|
|
8710
|
+
mode: {
|
|
8711
|
+
type: "string",
|
|
8712
|
+
description: "Optional mode filter: core, bias, stress, operational, alpha, semantic, or evidence"
|
|
8713
|
+
}
|
|
8714
|
+
},
|
|
8715
|
+
required: [],
|
|
8716
|
+
response: {
|
|
8717
|
+
description: "Graph Intelligence query catalog and mode-to-tool mapping",
|
|
8718
|
+
fields: {
|
|
8719
|
+
categories: "array \u2014 query categories",
|
|
8720
|
+
queries: "array \u2014 query definitions with prompt templates and tools",
|
|
8721
|
+
quickQueries: "array \u2014 recommended one-click query presets",
|
|
8722
|
+
publicToolNamesByMode: "object \u2014 public tool names available to each Graph Intelligence mode"
|
|
8723
|
+
}
|
|
8724
|
+
},
|
|
8725
|
+
ownerModule: "graph-intelligence",
|
|
8726
|
+
ontologyPrimitive: "graph",
|
|
8727
|
+
tier: "showcase"
|
|
8728
|
+
};
|
|
8729
|
+
var RUN_GRAPH_INTELLIGENCE_QUERY = {
|
|
8730
|
+
name: "run_graph_intelligence_query",
|
|
8731
|
+
description: "Run a named Graph Intelligence query against a tenant topic graph. Returns the selected query, prompt, deterministic graph-analysis bundle, graph context, and public tool plan for model synthesis.",
|
|
8732
|
+
parameters: {
|
|
8733
|
+
topicId: { type: "string", description: "Topic to analyze" },
|
|
8734
|
+
queryId: {
|
|
8735
|
+
type: "string",
|
|
8736
|
+
description: "Graph Intelligence query ID, such as confirmation-bias, pre-mortem, or thesis-summary"
|
|
8737
|
+
},
|
|
8738
|
+
prompt: {
|
|
8739
|
+
type: "string",
|
|
8740
|
+
description: "Optional custom prompt for custom analysis runs"
|
|
8741
|
+
},
|
|
8742
|
+
input: {
|
|
8743
|
+
type: "string",
|
|
8744
|
+
description: "Optional entity, theme, belief, company, or search text for input-driven queries"
|
|
8745
|
+
},
|
|
8746
|
+
mode: {
|
|
8747
|
+
type: "string",
|
|
8748
|
+
description: "Optional mode override: core, bias, stress, operational, alpha, semantic, or evidence"
|
|
8749
|
+
},
|
|
8750
|
+
limit: {
|
|
8751
|
+
type: "number",
|
|
8752
|
+
description: "Maximum graph context rows to return"
|
|
8753
|
+
}
|
|
8754
|
+
},
|
|
8755
|
+
required: ["topicId"],
|
|
8756
|
+
response: {
|
|
8757
|
+
description: "Graph Intelligence query result bundle ready for model or prompt-library synthesis",
|
|
8758
|
+
fields: {
|
|
8759
|
+
query: "object \u2014 selected query definition",
|
|
8760
|
+
prompt: "string \u2014 resolved prompt template",
|
|
8761
|
+
toolPlan: "array \u2014 public tools and args the model can call next",
|
|
8762
|
+
analysis: "object \u2014 structure, coverage, gap, and confirmation-bias analysis",
|
|
8763
|
+
context: "object \u2014 sampled beliefs, questions, evidence, edges, and contradictions"
|
|
8764
|
+
}
|
|
8765
|
+
},
|
|
8766
|
+
ownerModule: "graph-intelligence",
|
|
8767
|
+
ontologyPrimitive: "graph",
|
|
8768
|
+
tier: "showcase"
|
|
8769
|
+
};
|
|
8040
8770
|
var GET_FALSIFICATION_QUESTIONS = {
|
|
8041
8771
|
name: "get_falsification_questions",
|
|
8042
8772
|
description: "Generate Popperian falsification questions for beliefs. Like `git test` \u2014 identifies the questions most likely to disprove current beliefs. Karl Popper as a tool: surfaces what would need to be true to invalidate each belief.",
|
|
@@ -10612,6 +11342,8 @@ var MCP_TOOL_CONTRACTS = {
|
|
|
10612
11342
|
// Graph intelligence (showcase)
|
|
10613
11343
|
detect_confirmation_bias: DETECT_CONFIRMATION_BIAS,
|
|
10614
11344
|
get_graph_structure_analysis: GET_GRAPH_STRUCTURE_ANALYSIS,
|
|
11345
|
+
list_graph_intelligence_queries: LIST_GRAPH_INTELLIGENCE_QUERIES,
|
|
11346
|
+
run_graph_intelligence_query: RUN_GRAPH_INTELLIGENCE_QUERY,
|
|
10615
11347
|
get_falsification_questions: GET_FALSIFICATION_QUESTIONS,
|
|
10616
11348
|
// Evidence operations (workhorse)
|
|
10617
11349
|
search_evidence: SEARCH_EVIDENCE,
|
|
@@ -12340,18 +13072,20 @@ var TENANT_BOOTSTRAP_SEED_AUTH_METADATA_FIELDS = [
|
|
|
12340
13072
|
var TENANT_BOOTSTRAP_SEED_COMPONENTS = {
|
|
12341
13073
|
kernel: {
|
|
12342
13074
|
componentName: "lucern",
|
|
13075
|
+
migrationModule: "dist/adapters/migration",
|
|
12343
13076
|
templateService: "services/kernel-template",
|
|
12344
13077
|
templateDeployments: {
|
|
12345
|
-
staging: "
|
|
12346
|
-
prod: "
|
|
13078
|
+
staging: "kindly-goldfish-162",
|
|
13079
|
+
prod: "cool-badger-368"
|
|
12347
13080
|
}
|
|
12348
13081
|
},
|
|
12349
13082
|
identity: {
|
|
12350
13083
|
componentName: "identity",
|
|
13084
|
+
migrationModule: "dist/migration",
|
|
12351
13085
|
templateService: "services/identity-template",
|
|
12352
13086
|
templateDeployments: {
|
|
12353
|
-
staging: "
|
|
12354
|
-
prod: "
|
|
13087
|
+
staging: "industrious-cheetah-864",
|
|
13088
|
+
prod: "combative-beagle-879"
|
|
12355
13089
|
}
|
|
12356
13090
|
}
|
|
12357
13091
|
};
|
|
@@ -13563,6 +14297,6 @@ var CANONICAL_WORKFLOW_DEFINITIONS = [
|
|
|
13563
14297
|
}
|
|
13564
14298
|
];
|
|
13565
14299
|
|
|
13566
|
-
export { BELIEF_STATUSES, BELIEF_TYPE_BONUS, BRANCH_STATUSES, CANONICAL_WORKFLOW_DEFINITIONS, COMPONENT_BOUNDARY_COMPONENT_LAYERS, COMPONENT_BOUNDARY_CONTRACT_VERSION, COMPONENT_BOUNDARY_DIRECT_DB_METHODS, COMPONENT_BOUNDARY_HIGH_RISK_TABLES, COMPONENT_BOUNDARY_HOST_SOURCE_ROOTS, COMPONENT_HOST_BOUNDARY_CONTRACT_VERSION, COMPONENT_HOST_DB_READ_OPERATIONS, COMPONENT_HOST_DB_WRITE_OPERATIONS, COMPONENT_HOST_PROTECTED_TABLES, COMPONENT_HOST_PROTECTED_TABLE_OWNERS, COMPONENT_HOST_WRITE_ALLOWED_EXCEPTIONS, COMPONENT_HOST_WRITE_AUDIT_ROOTS, CONFIDENCE_TRIGGERS, CONTEXT_PACK_SCHEMA_VERSION, CONTEXT_PACK_SECTION_KEYS, CONTEXT_RANKING_PROFILES, CONTRADICTION_SEVERITIES, CONTRADICTION_STATUSES, ComponentTableManifestSchema, DEFAULT_BELIEF_TYPE_BONUS, DEFAULT_COMPILATION_MODE, DEFAULT_ENTITY_LIMIT, DEFAULT_PRIORITY_SCORE, DEFAULT_RANKING_PROFILE, DEFAULT_SECTION_LIMIT, DEFAULT_SEVERITY_SCORE, DEFAULT_TIER_APPROVAL_MODE, DEFAULT_TOKEN_BUDGET, DEFAULT_WORKFLOW_AUTO_FIX_POLICY, DEFEAT_TYPES, DOMAIN_EVENT_TYPES, DOMAIN_EVENT_VERSION, ENTITY_RANKING_WEIGHTS, EPISTEMIC_LAYERS, EVENT_RETENTION_DEFAULT_DAYS, EdgePolicyEntrySchema, EdgePolicyManifestSchema, EpistemicNodeTypeSchema, FORK_REASONS, GraphRefSchema, INFISICAL_RUNTIME_BOOTSTRAP_ENV, INFISICAL_RUNTIME_CONTRACT_VERSION, INFISICAL_RUNTIME_DEFAULT_API_URL, INFISICAL_RUNTIME_DEFAULT_PROJECT_ID, INFISICAL_RUNTIME_DELIVERY_MODES, INFISICAL_RUNTIME_ENVIRONMENTS, INFISICAL_RUNTIME_MANIFEST, INFISICAL_RUNTIME_PATHS, INFISICAL_RUNTIME_SURFACES, INFISICAL_RUNTIME_SURFACE_IDS, INTEGRATION_EDGE_TYPES, InvariantManifestSchema, JUDGMENT_TYPES, MAX_ENTITY_LIMIT, MAX_SECTION_LIMIT, MAX_TOKEN_BUDGET, MERGE_OUTCOMES, MIN_CONTRADICTION_BUDGET, MIN_TOKEN_BUDGET, MIN_TOKEN_ESTIMATE, MORNING_BRIEF_WORKFLOW_ID, NIGHTLY_RECONCILIATION_WORKFLOW_ID, PRIORITY_SCORES, PULL_REQUEST_STATUSES, RANKING_WEIGHTS, REASONING_METHODS, RECENCY_HALF_LIFE_DAYS, RESOLVED_QUESTION_STATUSES, ROOT_TOPIC_ID, SECTION_BUDGET_RATIOS, SESSION_AUTH_MODES, SESSION_LIFECYCLE_STATUSES, SESSION_PRINCIPAL_TYPES, SEVERITY_SCORES, SLOpinionInputSchema, TENANT_BOOTSTRAP_FORBIDDEN_SEED_TABLES, TENANT_BOOTSTRAP_SEED_AUTH_METADATA_FIELDS, TENANT_BOOTSTRAP_SEED_COMPONENTS, TENANT_BOOTSTRAP_SEED_CONTRACT_VERSION, TENANT_BOOTSTRAP_SEED_MANIFEST, TENANT_BOOTSTRAP_SEED_TABLES, TENANT_BOOTSTRAP_TABLE_REQUIREMENTS, TENANT_BOOTSTRAP_TEMPLATE_ACTOR, TENANT_BOOTSTRAP_TEMPLATE_SEED_VERSION, TENANT_BOOTSTRAP_TEMPLATE_TENANT_ID, TENANT_CLIENT_AUTH_MODES, TENANT_CLIENT_CAPABILITIES, TENANT_CLIENT_COMPONENT_CONFIG_IMPORTS, TENANT_CLIENT_CONTRACT_VERSION, TENANT_CLIENT_FORBIDDEN_IMPORT_PATTERNS, TENANT_CLIENT_FORBIDDEN_INSTALL_TOKEN_INFISICAL_PATHS, TENANT_CLIENT_FORBIDDEN_SECRET_ENV, TENANT_CLIENT_INSTALLABLE_PACKAGES, TENANT_CLIENT_INSTALL_TOKEN_ENV, TENANT_CLIENT_INSTALL_TOKEN_INFISICAL_PATH, TENANT_CLIENT_ISOLATION_RULES, TENANT_CLIENT_MANIFEST, TENANT_CLIENT_OPTIONAL_CONTEXT_FIELDS, TENANT_CLIENT_PRINCIPAL_TYPES, TENANT_CLIENT_PUBLIC_IMPORTS, TENANT_CLIENT_REQUIRED_CONTEXT_FIELDS, TENANT_CLIENT_REQUIRED_SDK_NAMESPACES, TOKENS_PER_WORD, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_MS, WORKFLOW_ACTION_KINDS, WORKFLOW_APPROVAL_MODES, WORKFLOW_AUTO_FIX_MODES, WORKFLOW_HOOK_EVENTS, WORKFLOW_INTEGRITY_CHECKS, WORKFLOW_MUTATION_TIERS, WORKFLOW_OUTPUT_KINDS, WORKFLOW_PROOF_ARTIFACT_KINDS, WORKFLOW_RUNTIME_SCHEMA_VERSION, WORKFLOW_RUN_STATUSES, WORKFLOW_STAFFING_HINTS, WORKFLOW_TRIGGER_KINDS, WORKTREE_PHASES, assertEdgePolicyAllowed, assertTenantClientImportAllowed, bigramTokenize, buildDomainEvent, buildTenantBootstrapTemplateSeedRows, classifyTenantClientImport, collectTopicNeighborhood, compareEventCursor, dsl_exports as contractDsl, createEventId, createEvidenceProjection, decodeEventCursor, decodePrefixedId, defineProjection, edgePolicyManifest, emitDomainEvent, encodeEventCursor, encodePrefixedId, findEdgePolicy, findInfisicalRuntimePath, findInfisicalRuntimeSurface, findTenantBootstrapSeedTable, findTenantBootstrapTableRequirement, findTenantClientInstallablePackage, formatTenantClientImportViolation, getComponentBoundaryTableLayer, hasPrefixedIdPrefix, inferActorType, inferSessionPrincipalType, isAfterCursor, isComponentBoundaryComponentOwnedTable, isLucernPrompt, isTenantBootstrapForbiddenSeedTable, isTenantBootstrapSeedTable, isTenantClientAllowedImport, isTenantClientComponentConfigImport, isTenantClientInstallablePackage, isTenantClientPublicImport, jaccardSimilarity, lastDelegator, listBeliefsProjection, listTasksProjection, tool_contracts_exports as mcpToolsContract, modulateConfidenceProjection, normalizeDelegationChain, normalizeRetentionDays, prepareLexicalQuery, projections, rankEntityConnections, rankEntityTypeMatches, rankWindowScore, requireActorPrincipalId, rerankLexicalWindow, schemas_exports as schemaContracts, scoreEntityConnection, scoreEntityTypeMatch, scoreLexicalSignal, scoreLexicalSignals, sdk_tools_contract_exports as sdkToolsContract, sortEventsByCursor, stemToken, tokenOverlapScore, tokenizeSearchText, wordOverlapScore, wordTokenize };
|
|
14300
|
+
export { BELIEF_STATUSES, BELIEF_TYPE_BONUS, BRANCH_STATUSES, CANONICAL_WORKFLOW_DEFINITIONS, COMPONENT_BOUNDARY_COMPONENT_LAYERS, COMPONENT_BOUNDARY_CONTRACT_VERSION, COMPONENT_BOUNDARY_DIRECT_DB_METHODS, COMPONENT_BOUNDARY_HIGH_RISK_TABLES, COMPONENT_BOUNDARY_HOST_SOURCE_ROOTS, COMPONENT_HOST_BOUNDARY_CONTRACT_VERSION, COMPONENT_HOST_DB_READ_OPERATIONS, COMPONENT_HOST_DB_WRITE_OPERATIONS, COMPONENT_HOST_PROTECTED_TABLES, COMPONENT_HOST_PROTECTED_TABLE_OWNERS, COMPONENT_HOST_WRITE_ALLOWED_EXCEPTIONS, COMPONENT_HOST_WRITE_AUDIT_ROOTS, CONFIDENCE_TRIGGERS, CONTEXT_PACK_SCHEMA_VERSION, CONTEXT_PACK_SECTION_KEYS, CONTEXT_RANKING_PROFILES, CONTRADICTION_SEVERITIES, CONTRADICTION_STATUSES, ComponentTableManifestSchema, DEFAULT_BELIEF_TYPE_BONUS, DEFAULT_COMPILATION_MODE, DEFAULT_ENTITY_LIMIT, DEFAULT_PRIORITY_SCORE, DEFAULT_RANKING_PROFILE, DEFAULT_SECTION_LIMIT, DEFAULT_SEVERITY_SCORE, DEFAULT_TIER_APPROVAL_MODE, DEFAULT_TOKEN_BUDGET, DEFAULT_WORKFLOW_AUTO_FIX_POLICY, DEFEAT_TYPES, DOMAIN_EVENT_TYPES, DOMAIN_EVENT_VERSION, ENTITY_RANKING_WEIGHTS, EPISTEMIC_LAYERS, EVENT_RETENTION_DEFAULT_DAYS, EdgePolicyEntrySchema, EdgePolicyManifestSchema, EpistemicNodeTypeSchema, FORK_REASONS, GRAPH_INTELLIGENCE_MODE_TOOL_NAMES, GRAPH_INTELLIGENCE_PUBLIC_TOOL_NAMES, GRAPH_INTELLIGENCE_QUERIES, GRAPH_INTELLIGENCE_QUERIES_WITH_TOOLS, GRAPH_INTELLIGENCE_QUERY_CATALOG_VERSION, GRAPH_INTELLIGENCE_QUERY_CATEGORIES, GRAPH_INTELLIGENCE_QUERY_MODES, GRAPH_INTELLIGENCE_QUICK_QUERIES, GraphRefSchema, INFISICAL_RUNTIME_BOOTSTRAP_ENV, INFISICAL_RUNTIME_CONTRACT_VERSION, INFISICAL_RUNTIME_DEFAULT_API_URL, INFISICAL_RUNTIME_DEFAULT_PROJECT_ID, INFISICAL_RUNTIME_DELIVERY_MODES, INFISICAL_RUNTIME_ENVIRONMENTS, INFISICAL_RUNTIME_MANIFEST, INFISICAL_RUNTIME_PATHS, INFISICAL_RUNTIME_SURFACES, INFISICAL_RUNTIME_SURFACE_IDS, INTEGRATION_EDGE_TYPES, InvariantManifestSchema, JUDGMENT_TYPES, MAX_ENTITY_LIMIT, MAX_SECTION_LIMIT, MAX_TOKEN_BUDGET, MERGE_OUTCOMES, MIN_CONTRADICTION_BUDGET, MIN_TOKEN_BUDGET, MIN_TOKEN_ESTIMATE, MORNING_BRIEF_WORKFLOW_ID, NIGHTLY_RECONCILIATION_WORKFLOW_ID, PRIORITY_SCORES, PULL_REQUEST_STATUSES, RANKING_WEIGHTS, REASONING_METHODS, RECENCY_HALF_LIFE_DAYS, RESOLVED_QUESTION_STATUSES, ROOT_TOPIC_ID, SECTION_BUDGET_RATIOS, SESSION_AUTH_MODES, SESSION_LIFECYCLE_STATUSES, SESSION_PRINCIPAL_TYPES, SEVERITY_SCORES, SLOpinionInputSchema, TENANT_BOOTSTRAP_FORBIDDEN_SEED_TABLES, TENANT_BOOTSTRAP_SEED_AUTH_METADATA_FIELDS, TENANT_BOOTSTRAP_SEED_COMPONENTS, TENANT_BOOTSTRAP_SEED_CONTRACT_VERSION, TENANT_BOOTSTRAP_SEED_MANIFEST, TENANT_BOOTSTRAP_SEED_TABLES, TENANT_BOOTSTRAP_TABLE_REQUIREMENTS, TENANT_BOOTSTRAP_TEMPLATE_ACTOR, TENANT_BOOTSTRAP_TEMPLATE_SEED_VERSION, TENANT_BOOTSTRAP_TEMPLATE_TENANT_ID, TENANT_CLIENT_AUTH_MODES, TENANT_CLIENT_CAPABILITIES, TENANT_CLIENT_COMPONENT_CONFIG_IMPORTS, TENANT_CLIENT_CONTRACT_VERSION, TENANT_CLIENT_FORBIDDEN_IMPORT_PATTERNS, TENANT_CLIENT_FORBIDDEN_INSTALL_TOKEN_INFISICAL_PATHS, TENANT_CLIENT_FORBIDDEN_SECRET_ENV, TENANT_CLIENT_FULL_SUITE_PACKAGE_NAMES, TENANT_CLIENT_INSTALLABLE_PACKAGES, TENANT_CLIENT_INSTALL_PROFILES, TENANT_CLIENT_INSTALL_TOKEN_ENV, TENANT_CLIENT_INSTALL_TOKEN_INFISICAL_PATH, TENANT_CLIENT_ISOLATION_RULES, TENANT_CLIENT_MANIFEST, TENANT_CLIENT_OPTIONAL_CONTEXT_FIELDS, TENANT_CLIENT_PRINCIPAL_TYPES, TENANT_CLIENT_PUBLIC_IMPORTS, TENANT_CLIENT_REQUIRED_CONTEXT_FIELDS, TENANT_CLIENT_REQUIRED_SDK_NAMESPACES, TOKENS_PER_WORD, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_MS, WORKFLOW_ACTION_KINDS, WORKFLOW_APPROVAL_MODES, WORKFLOW_AUTO_FIX_MODES, WORKFLOW_HOOK_EVENTS, WORKFLOW_INTEGRITY_CHECKS, WORKFLOW_MUTATION_TIERS, WORKFLOW_OUTPUT_KINDS, WORKFLOW_PROOF_ARTIFACT_KINDS, WORKFLOW_RUNTIME_SCHEMA_VERSION, WORKFLOW_RUN_STATUSES, WORKFLOW_STAFFING_HINTS, WORKFLOW_TRIGGER_KINDS, WORKTREE_PHASES, assertEdgePolicyAllowed, assertTenantClientImportAllowed, bigramTokenize, buildDomainEvent, buildTenantBootstrapTemplateSeedRows, classifyTenantClientImport, collectTopicNeighborhood, compareEventCursor, dsl_exports as contractDsl, createEventId, createEvidenceProjection, decodeEventCursor, decodePrefixedId, defineProjection, edgePolicyManifest, emitDomainEvent, encodeEventCursor, encodePrefixedId, fillGraphIntelligencePromptTemplate, findEdgePolicy, findInfisicalRuntimePath, findInfisicalRuntimeSurface, findTenantBootstrapSeedTable, findTenantBootstrapTableRequirement, findTenantClientInstallablePackage, formatTenantClientImportViolation, getComponentBoundaryTableLayer, getGraphIntelligenceQuery, hasPrefixedIdPrefix, inferActorType, inferSessionPrincipalType, isAfterCursor, isComponentBoundaryComponentOwnedTable, isGraphIntelligenceQueryMode, isLucernPrompt, isTenantBootstrapForbiddenSeedTable, isTenantBootstrapSeedTable, isTenantClientAllowedImport, isTenantClientComponentConfigImport, isTenantClientInstallablePackage, isTenantClientPublicImport, jaccardSimilarity, lastDelegator, listBeliefsProjection, listGraphIntelligenceQueries, listTasksProjection, tool_contracts_exports as mcpToolsContract, modulateConfidenceProjection, normalizeDelegationChain, normalizeRetentionDays, prepareLexicalQuery, projections, rankEntityConnections, rankEntityTypeMatches, rankWindowScore, requireActorPrincipalId, rerankLexicalWindow, schemas_exports as schemaContracts, scoreEntityConnection, scoreEntityTypeMatch, scoreLexicalSignal, scoreLexicalSignals, sdk_tools_contract_exports as sdkToolsContract, sortEventsByCursor, stemToken, tokenOverlapScore, tokenizeSearchText, wordOverlapScore, wordTokenize };
|
|
13567
14301
|
//# sourceMappingURL=index.js.map
|
|
13568
14302
|
//# sourceMappingURL=index.js.map
|