@lucern/contracts 0.1.1-alpha.1 → 0.1.2-alpha.2

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.
Files changed (151) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/README.md +3 -0
  3. package/dist/agents/v1.d.ts +2 -0
  4. package/dist/agents/v1.js +3 -0
  5. package/dist/agents/v1.js.map +1 -0
  6. package/dist/api-enums.contract.d.ts +60 -0
  7. package/dist/api-enums.contract.js +174 -0
  8. package/dist/api-enums.contract.js.map +1 -0
  9. package/dist/auth-context.contract.d.ts +2 -0
  10. package/dist/auth-context.contract.js +48 -0
  11. package/dist/auth-context.contract.js.map +1 -0
  12. package/dist/auth-session.contract.d.ts +2 -0
  13. package/dist/auth-session.contract.js +48 -0
  14. package/dist/auth-session.contract.js.map +1 -0
  15. package/dist/auth.contract.d.ts +92 -0
  16. package/dist/auth.contract.js +48 -0
  17. package/dist/auth.contract.js.map +1 -0
  18. package/dist/beliefs/v1.d.ts +2 -0
  19. package/dist/beliefs/v1.js +3 -0
  20. package/dist/beliefs/v1.js.map +1 -0
  21. package/dist/context-pack.contract.d.ts +496 -0
  22. package/dist/context-pack.contract.js +98 -0
  23. package/dist/context-pack.contract.js.map +1 -0
  24. package/dist/convex-admin.contract.d.ts +7 -0
  25. package/dist/convex-admin.contract.js +3 -0
  26. package/dist/convex-admin.contract.js.map +1 -0
  27. package/dist/events-types.contract.d.ts +1 -0
  28. package/dist/events-types.contract.js +136 -0
  29. package/dist/events-types.contract.js.map +1 -0
  30. package/dist/events.contract.d.ts +178 -0
  31. package/dist/events.contract.js +136 -0
  32. package/dist/events.contract.js.map +1 -0
  33. package/dist/evidence/v1.d.ts +2 -0
  34. package/dist/evidence/v1.js +3 -0
  35. package/dist/evidence/v1.js.map +1 -0
  36. package/dist/gateway.contract.d.ts +79 -0
  37. package/dist/gateway.contract.js +12 -0
  38. package/dist/gateway.contract.js.map +1 -0
  39. package/dist/graph/v1.d.ts +2 -0
  40. package/dist/graph/v1.js +3 -0
  41. package/dist/graph/v1.js.map +1 -0
  42. package/dist/ids.contract.d.ts +9 -0
  43. package/{src/ids.contract.ts → dist/ids.contract.js} +10 -17
  44. package/dist/ids.contract.js.map +1 -0
  45. package/dist/index.d.ts +15 -2004
  46. package/dist/index.js +61 -118
  47. package/dist/index.js.map +1 -0
  48. package/dist/lens-filter.contract.d.ts +72 -0
  49. package/dist/lens-filter.contract.js +71 -0
  50. package/dist/lens-filter.contract.js.map +1 -0
  51. package/dist/lens-workflow.contract.d.ts +87 -0
  52. package/dist/lens-workflow.contract.js +123 -0
  53. package/dist/lens-workflow.contract.js.map +1 -0
  54. package/dist/mcp-tools.contract-D8kXcP6d.d.ts +254 -0
  55. package/dist/mcp-tools.contract.d.ts +1 -0
  56. package/dist/mcp-tools.contract.js +3016 -0
  57. package/dist/mcp-tools.contract.js.map +1 -0
  58. package/dist/ontologies/v1.d.ts +2 -0
  59. package/dist/ontologies/v1.js +3 -0
  60. package/dist/ontologies/v1.js.map +1 -0
  61. package/dist/ontology-matching.contract.d.ts +1 -0
  62. package/dist/ontology-matching.contract.js +346 -0
  63. package/dist/ontology-matching.contract.js.map +1 -0
  64. package/dist/prompt.contract.d.ts +26 -0
  65. package/dist/prompt.contract.js +12 -0
  66. package/dist/prompt.contract.js.map +1 -0
  67. package/dist/questions/v1.d.ts +2 -0
  68. package/dist/questions/v1.js +3 -0
  69. package/dist/questions/v1.js.map +1 -0
  70. package/dist/sdk-methods.contract.d.ts +376 -0
  71. package/dist/sdk-methods.contract.js +3 -0
  72. package/dist/sdk-methods.contract.js.map +1 -0
  73. package/dist/sdk-tools.contract-BnV0hKLp.d.ts +150 -0
  74. package/dist/sdk-tools.contract.d.ts +2 -0
  75. package/dist/sdk-tools.contract.js +4252 -0
  76. package/dist/sdk-tools.contract.js.map +1 -0
  77. package/dist/text-matching.contract.d.ts +55 -0
  78. package/{src/text-matching.contract.ts → dist/text-matching.contract.js} +36 -137
  79. package/dist/text-matching.contract.js.map +1 -0
  80. package/dist/topic-scope.contract.d.ts +1 -0
  81. package/{src/v1/topics/v1.ts → dist/topic-scope.contract.js} +13 -38
  82. package/dist/topic-scope.contract.js.map +1 -0
  83. package/dist/topics/v1.d.ts +2 -0
  84. package/dist/topics/v1.js +3 -0
  85. package/dist/topics/v1.js.map +1 -0
  86. package/dist/v1/agents/v1.d.ts +2 -0
  87. package/dist/v1/agents/v1.js +3 -0
  88. package/dist/v1/agents/v1.js.map +1 -0
  89. package/dist/v1/beliefs/v1.d.ts +2 -0
  90. package/dist/v1/beliefs/v1.js +3 -0
  91. package/dist/v1/beliefs/v1.js.map +1 -0
  92. package/dist/v1/evidence/v1.d.ts +2 -0
  93. package/dist/v1/evidence/v1.js +3 -0
  94. package/dist/v1/evidence/v1.js.map +1 -0
  95. package/dist/v1/graph/v1.d.ts +2 -0
  96. package/dist/v1/graph/v1.js +3 -0
  97. package/dist/v1/graph/v1.js.map +1 -0
  98. package/dist/v1/ontologies/v1.d.ts +78 -0
  99. package/dist/v1/ontologies/v1.js +346 -0
  100. package/dist/v1/ontologies/v1.js.map +1 -0
  101. package/dist/v1/questions/v1.d.ts +2 -0
  102. package/dist/v1/questions/v1.js +3 -0
  103. package/dist/v1/questions/v1.js.map +1 -0
  104. package/dist/v1/topics/v1.d.ts +21 -0
  105. package/dist/v1/topics/v1.js +54 -0
  106. package/dist/v1/topics/v1.js.map +1 -0
  107. package/dist/v1/worktrees/v1.d.ts +2 -0
  108. package/dist/v1/worktrees/v1.js +3 -0
  109. package/dist/v1/worktrees/v1.js.map +1 -0
  110. package/dist/workflow-runtime.contract.d.ts +163 -0
  111. package/dist/workflow-runtime.contract.js +245 -0
  112. package/dist/workflow-runtime.contract.js.map +1 -0
  113. package/dist/worktrees/v1.d.ts +2 -0
  114. package/dist/worktrees/v1.js +3 -0
  115. package/dist/worktrees/v1.js.map +1 -0
  116. package/package.json +23 -7
  117. package/src/agents/v1.ts +0 -8
  118. package/src/api-enums.contract.ts +0 -183
  119. package/src/auth-context.contract.ts +0 -9
  120. package/src/auth-session.contract.ts +0 -9
  121. package/src/auth.contract.ts +0 -162
  122. package/src/beliefs/v1.ts +0 -8
  123. package/src/context-pack.contract.ts +0 -704
  124. package/src/convex-admin.contract.ts +0 -14
  125. package/src/events-types.contract.ts +0 -9
  126. package/src/events.contract.ts +0 -376
  127. package/src/evidence/v1.ts +0 -8
  128. package/src/gateway.contract.ts +0 -151
  129. package/src/graph/v1.ts +0 -8
  130. package/src/index.ts +0 -30
  131. package/src/lens-filter.contract.ts +0 -183
  132. package/src/lens-workflow.contract.ts +0 -162
  133. package/src/mcp-tools.contract.ts +0 -3636
  134. package/src/ontologies/v1.ts +0 -8
  135. package/src/ontology-matching.contract.ts +0 -9
  136. package/src/prompt.contract.ts +0 -50
  137. package/src/questions/v1.ts +0 -8
  138. package/src/sdk-methods.contract.ts +0 -522
  139. package/src/sdk-tools.contract.ts +0 -1545
  140. package/src/topic-scope.contract.ts +0 -9
  141. package/src/topics/v1.ts +0 -8
  142. package/src/v1/agents/v1.ts +0 -8
  143. package/src/v1/beliefs/v1.ts +0 -8
  144. package/src/v1/evidence/v1.ts +0 -8
  145. package/src/v1/graph/v1.ts +0 -8
  146. package/src/v1/ontologies/v1.ts +0 -276
  147. package/src/v1/questions/v1.ts +0 -8
  148. package/src/v1/worktrees/v1.ts +0 -8
  149. package/src/workflow-runtime.contract.ts +0 -440
  150. package/src/worktrees/v1.ts +0 -8
  151. package/tsconfig.json +0 -9
package/dist/index.js CHANGED
@@ -20,14 +20,28 @@ var FORK_REASONS = [
20
20
  var CONFIDENCE_TRIGGERS = [
21
21
  "evidence_added",
22
22
  // New evidence bore on the belief
23
+ "evidence_removed",
24
+ // Evidence was removed or invalidated
23
25
  "contradiction_detected",
24
26
  // A contradiction was flagged involving this belief
25
- "merge_outcome",
26
- // Merge scoring determined this confidence
27
+ "contradiction_resolved",
28
+ // A contradiction was resolved
27
29
  "manual",
28
30
  // User manually adjusted confidence
29
- "decay"
31
+ "decay",
30
32
  // Time-based confidence erosion
33
+ "agent_assessment",
34
+ // An agent provided a structured assessment
35
+ "worktree_outcome",
36
+ // Worktree outcome determined this confidence
37
+ "worktree_completed",
38
+ // Worktree completed and closed this scoring loop
39
+ "fusion",
40
+ // Confidence came from subjective-logic fusion
41
+ "discount",
42
+ // Confidence came from trust discounting
43
+ "deduction"
44
+ // Confidence came from conditional deduction
31
45
  ];
32
46
  var BELIEF_STATUSES = [
33
47
  "unscored",
@@ -580,13 +594,17 @@ var LENS_PERSPECTIVE_TYPES = [
580
594
  // src/mcp-tools.contract.ts
581
595
  var CREATE_BELIEF = {
582
596
  name: "create_belief",
583
- description: "Commit a new belief (knowledge unit) to the reasoning graph. Like `git commit` \u2014 creates an atomic, traceable knowledge object. The belief starts as unscored (draft). Score it with modulate_confidence to freeze the formulation.",
597
+ description: "Commit a new belief (knowledge unit) to the reasoning graph. Like `git commit` \u2014 creates an atomic, traceable knowledge object with a mandatory prior. Creation stores the vacuous opinion `(0, 0, 1, a)`; use modulate_confidence to record the first evidential update.",
584
598
  parameters: {
585
599
  canonicalText: {
586
600
  type: "string",
587
601
  description: "The belief statement \u2014 what the agent holds to be true"
588
602
  },
589
603
  topicId: { type: "string", description: "Topic scope for the belief" },
604
+ baseRate: {
605
+ type: "number",
606
+ description: "Required prior probability used to seed the vacuous opinion `(0, 0, 1, a)` at creation time."
607
+ },
590
608
  beliefType: {
591
609
  type: "string",
592
610
  description: "Belief type (e.g., hypothesis, belief, principle, invariant, tenet, forecast). Validated against schemaEnumConfig."
@@ -596,7 +614,7 @@ var CREATE_BELIEF = {
596
614
  description: "Optional extra metadata merged into the node (e.g., { codeAnchors: ['path/to/file.ts'] } for coding intelligence)"
597
615
  }
598
616
  },
599
- required: ["canonicalText", "topicId"],
617
+ required: ["canonicalText", "topicId", "baseRate"],
600
618
  response: {
601
619
  description: "The created canonical belief record",
602
620
  fields: {
@@ -659,17 +677,43 @@ var REFINE_BELIEF = {
659
677
  };
660
678
  var MODULATE_CONFIDENCE = {
661
679
  name: "modulate_confidence",
662
- description: "Record a confidence change for a belief. Like `git commit` to the credence log \u2014 an atomic, append-only write. Each modulation is a new entry in the history, not an overwrite. Scoring happens via merge; this tool records the individual data points. Triggers: evidence_added, contradiction_detected, merge_outcome, manual, decay.",
680
+ description: "Record a confidence change for a belief. Like `git commit` to the credence log \u2014 an atomic, append-only write. Each modulation is a new entry in the history, not an overwrite. Scoring happens via merge; this tool records the individual data points. Pass the full subjective-logic tuple (`belief`, `disbelief`, `uncertainty`, `baseRate`) directly. If a caller only has a scalar probability, use `@lucern/sdk` helpers `opinionFromBaseRate`, `opinionFromDogmatic`, or `opinionFromProjected` to name the intended interpretation before calling this tool. Triggers: evidence_added, evidence_removed, contradiction_detected, contradiction_resolved, agent_assessment, worktree_outcome, worktree_completed, fusion, discount, deduction, manual, decay.",
663
681
  parameters: {
664
682
  nodeId: { type: "string", description: "The belief to score" },
665
- confidence: { type: "number", description: "Confidence level in [0, 1]" },
683
+ belief: {
684
+ type: "number",
685
+ description: "Subjective-logic belief mass `b` in [0, 1]"
686
+ },
687
+ disbelief: {
688
+ type: "number",
689
+ description: "Subjective-logic disbelief mass `d` in [0, 1]"
690
+ },
691
+ uncertainty: {
692
+ type: "number",
693
+ description: "Subjective-logic uncertainty mass `u` in [0, 1]"
694
+ },
695
+ baseRate: {
696
+ type: "number",
697
+ description: "Subjective-logic base rate `a` in [0, 1]. Required for tuple payloads."
698
+ },
699
+ confidence: {
700
+ type: "number",
701
+ description: "Deprecated scalar confidence value in [0, 1]. Scalar-only payloads are rejected as AMBIGUOUS_SCALAR."
702
+ },
666
703
  trigger: {
667
704
  type: "string",
668
705
  description: "What caused this confidence change",
669
706
  enum: [
670
707
  "evidence_added",
708
+ "evidence_removed",
671
709
  "contradiction_detected",
672
- "merge_outcome",
710
+ "contradiction_resolved",
711
+ "agent_assessment",
712
+ "worktree_outcome",
713
+ "worktree_completed",
714
+ "fusion",
715
+ "discount",
716
+ "deduction",
673
717
  "manual",
674
718
  "decay"
675
719
  ]
@@ -679,7 +723,7 @@ var MODULATE_CONFIDENCE = {
679
723
  description: "Human-readable explanation of why confidence changed"
680
724
  }
681
725
  },
682
- required: ["nodeId", "confidence", "trigger", "rationale"],
726
+ required: ["nodeId", "trigger", "rationale"],
683
727
  response: {
684
728
  description: "Confidence modulation result",
685
729
  fields: {
@@ -1321,7 +1365,7 @@ var RECORD_JUDGMENT = {
1321
1365
  status: "string \u2014 'issued'"
1322
1366
  }
1323
1367
  },
1324
- ownerModule: "decision-state",
1368
+ ownerModule: "decisions",
1325
1369
  ontologyPrimitive: "judgment",
1326
1370
  tier: "showcase"
1327
1371
  };
@@ -2590,7 +2634,7 @@ var INGEST_OBSERVATION = {
2590
2634
  contextResourceUri: "string"
2591
2635
  }
2592
2636
  },
2593
- ownerModule: "agent-harness",
2637
+ ownerModule: "agent-frameworks",
2594
2638
  ontologyPrimitive: "graph",
2595
2639
  tier: "workhorse"
2596
2640
  };
@@ -2620,7 +2664,7 @@ var GET_OBSERVATION_CONTEXT = {
2620
2664
  generatedAt: "number"
2621
2665
  }
2622
2666
  },
2623
- ownerModule: "agent-harness",
2667
+ ownerModule: "agent-frameworks",
2624
2668
  ontologyPrimitive: "graph",
2625
2669
  tier: "workhorse"
2626
2670
  };
@@ -4559,7 +4603,7 @@ var CREATE_BELIEF_CONDITIONAL = {
4559
4603
  targetBeliefId: "string"
4560
4604
  }
4561
4605
  },
4562
- ownerModule: "graph-primitives",
4606
+ ownerModule: "edges",
4563
4607
  ontologyPrimitive: "edge",
4564
4608
  tier: "sdk-only"
4565
4609
  };
@@ -5520,108 +5564,7 @@ var CANONICAL_WORKFLOW_DEFINITIONS = [
5520
5564
  integrityChecks: ["sparse_shaping"]
5521
5565
  }
5522
5566
  ];
5523
- export {
5524
- BELIEF_STATUSES,
5525
- BELIEF_TYPE_BONUS,
5526
- BRANCH_STATUSES,
5527
- CANONICAL_WORKFLOW_DEFINITIONS,
5528
- CONFIDENCE_TRIGGERS,
5529
- CONTEXT_PACK_SCHEMA_VERSION,
5530
- CONTEXT_PACK_SECTION_KEYS,
5531
- CONTEXT_RANKING_PROFILES,
5532
- CONTRADICTION_SEVERITIES,
5533
- CONTRADICTION_STATUSES,
5534
- DEFAULT_BELIEF_TYPE_BONUS,
5535
- DEFAULT_COMPILATION_MODE,
5536
- DEFAULT_ENTITY_LIMIT,
5537
- DEFAULT_PRIORITY_SCORE,
5538
- DEFAULT_RANKING_PROFILE,
5539
- DEFAULT_SECTION_LIMIT,
5540
- DEFAULT_SEVERITY_SCORE,
5541
- DEFAULT_TIER_APPROVAL_MODE,
5542
- DEFAULT_TOKEN_BUDGET,
5543
- DEFAULT_WORKFLOW_AUTO_FIX_POLICY,
5544
- DEFEAT_TYPES,
5545
- DOMAIN_EVENT_TYPES,
5546
- DOMAIN_EVENT_VERSION,
5547
- ENTITY_RANKING_WEIGHTS,
5548
- EPISTEMIC_LAYERS,
5549
- EVENT_RETENTION_DEFAULT_DAYS,
5550
- FORK_REASONS,
5551
- INTEGRATION_EDGE_TYPES,
5552
- JUDGMENT_TYPES,
5553
- MAX_ENTITY_LIMIT,
5554
- MAX_SECTION_LIMIT,
5555
- MAX_TOKEN_BUDGET,
5556
- MERGE_OUTCOMES,
5557
- MIN_CONTRADICTION_BUDGET,
5558
- MIN_TOKEN_BUDGET,
5559
- MIN_TOKEN_ESTIMATE,
5560
- MORNING_BRIEF_WORKFLOW_ID,
5561
- NIGHTLY_RECONCILIATION_WORKFLOW_ID,
5562
- PRIORITY_SCORES,
5563
- PULL_REQUEST_STATUSES,
5564
- RANKING_WEIGHTS,
5565
- REASONING_METHODS,
5566
- RECENCY_HALF_LIFE_DAYS,
5567
- RESOLVED_QUESTION_STATUSES,
5568
- ROOT_TOPIC_ID,
5569
- SECTION_BUDGET_RATIOS,
5570
- SESSION_AUTH_MODES,
5571
- SESSION_LIFECYCLE_STATUSES,
5572
- SESSION_PRINCIPAL_TYPES,
5573
- SEVERITY_SCORES,
5574
- TOKENS_PER_WORD,
5575
- WEBHOOK_MAX_ATTEMPTS,
5576
- WEBHOOK_RETRY_DELAYS_MS,
5577
- WORKFLOW_ACTION_KINDS,
5578
- WORKFLOW_APPROVAL_MODES,
5579
- WORKFLOW_AUTO_FIX_MODES,
5580
- WORKFLOW_HOOK_EVENTS,
5581
- WORKFLOW_INTEGRITY_CHECKS,
5582
- WORKFLOW_MUTATION_TIERS,
5583
- WORKFLOW_OUTPUT_KINDS,
5584
- WORKFLOW_PROOF_ARTIFACT_KINDS,
5585
- WORKFLOW_RUNTIME_SCHEMA_VERSION,
5586
- WORKFLOW_RUN_STATUSES,
5587
- WORKFLOW_STAFFING_HINTS,
5588
- WORKFLOW_TRIGGER_KINDS,
5589
- WORKTREE_PHASES,
5590
- bigramTokenize,
5591
- buildDomainEvent,
5592
- collectTopicNeighborhood,
5593
- compareEventCursor,
5594
- createEventId,
5595
- decodeEventCursor,
5596
- decodePrefixedId,
5597
- emitDomainEvent,
5598
- encodeEventCursor,
5599
- encodePrefixedId,
5600
- hasPrefixedIdPrefix,
5601
- inferActorType,
5602
- inferSessionPrincipalType,
5603
- isAfterCursor,
5604
- isLucernPrompt,
5605
- jaccardSimilarity,
5606
- lastDelegator,
5607
- mcp_tools_contract_exports as mcpToolsContract,
5608
- normalizeDelegationChain,
5609
- normalizeRetentionDays,
5610
- prepareLexicalQuery,
5611
- rankEntityConnections,
5612
- rankEntityTypeMatches,
5613
- rankWindowScore,
5614
- requireActorPrincipalId,
5615
- rerankLexicalWindow,
5616
- scoreEntityConnection,
5617
- scoreEntityTypeMatch,
5618
- scoreLexicalSignal,
5619
- scoreLexicalSignals,
5620
- sdk_tools_contract_exports as sdkToolsContract,
5621
- sortEventsByCursor,
5622
- stemToken,
5623
- tokenOverlapScore,
5624
- tokenizeSearchText,
5625
- wordOverlapScore,
5626
- wordTokenize
5627
- };
5567
+
5568
+ export { BELIEF_STATUSES, BELIEF_TYPE_BONUS, BRANCH_STATUSES, CANONICAL_WORKFLOW_DEFINITIONS, CONFIDENCE_TRIGGERS, CONTEXT_PACK_SCHEMA_VERSION, CONTEXT_PACK_SECTION_KEYS, CONTEXT_RANKING_PROFILES, CONTRADICTION_SEVERITIES, CONTRADICTION_STATUSES, 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, FORK_REASONS, INTEGRATION_EDGE_TYPES, 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, 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, bigramTokenize, buildDomainEvent, collectTopicNeighborhood, compareEventCursor, createEventId, decodeEventCursor, decodePrefixedId, emitDomainEvent, encodeEventCursor, encodePrefixedId, hasPrefixedIdPrefix, inferActorType, inferSessionPrincipalType, isAfterCursor, isLucernPrompt, jaccardSimilarity, lastDelegator, mcp_tools_contract_exports as mcpToolsContract, normalizeDelegationChain, normalizeRetentionDays, prepareLexicalQuery, rankEntityConnections, rankEntityTypeMatches, rankWindowScore, requireActorPrincipalId, rerankLexicalWindow, scoreEntityConnection, scoreEntityTypeMatch, scoreLexicalSignal, scoreLexicalSignals, sdk_tools_contract_exports as sdkToolsContract, sortEventsByCursor, stemToken, tokenOverlapScore, tokenizeSearchText, wordOverlapScore, wordTokenize };
5569
+ //# sourceMappingURL=index.js.map
5570
+ //# sourceMappingURL=index.js.map