@lucern/sdk 0.2.0-alpha.6 → 0.2.0-alpha.8
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 +13 -0
- package/dist/{lib/platform/sdk/adminClient.d.ts → adminClient.d.ts} +56 -51
- package/dist/adminClient.js +755 -0
- package/dist/adminClient.js.map +1 -0
- package/dist/answersClient.d.ts +23 -0
- package/dist/answersClient.js +333 -0
- package/dist/answersClient.js.map +1 -0
- package/dist/{lib/platform/sdk/audiencesClient.d.ts → audiencesClient.d.ts} +24 -18
- package/dist/audiencesClient.js +472 -0
- package/dist/audiencesClient.js.map +1 -0
- package/dist/auditClient.d.ts +29 -0
- package/dist/auditClient.js +386 -0
- package/dist/auditClient.js.map +1 -0
- package/dist/{lib/platform/sdk/beliefsClient.d.ts → beliefsClient.d.ts} +32 -27
- package/dist/beliefsClient.js +477 -0
- package/dist/beliefsClient.js.map +1 -0
- package/dist/{lib/platform/sdk/client.d.ts → client.d.ts} +404 -395
- package/dist/client.js +6134 -0
- package/dist/client.js.map +1 -0
- package/dist/{lib/platform/sdk/contextClient.d.ts → contextClient.d.ts} +13 -7
- package/dist/contextClient.js +396 -0
- package/dist/contextClient.js.map +1 -0
- package/dist/contextFacade.d.ts +2 -0
- package/dist/contextFacade.js +73 -0
- package/dist/contextFacade.js.map +1 -0
- package/dist/{lib/platform/sdk/contextPackCompiler.d.ts → contextPackCompiler.d.ts} +11 -9
- package/dist/contextPackCompiler.js +1091 -0
- package/dist/contextPackCompiler.js.map +1 -0
- package/dist/contextPackPolicy.d.ts +84 -0
- package/dist/contextPackPolicy.js +347 -0
- package/dist/contextPackPolicy.js.map +1 -0
- package/dist/contextPackSchema.d.ts +7 -0
- package/dist/contextPackSchema.js +203 -0
- package/dist/contextPackSchema.js.map +1 -0
- package/dist/{lib/platform/sdk/contextTypes.d.ts → contextTypes.d.ts} +15 -13
- package/dist/contextTypes.js +3 -0
- package/dist/contextTypes.js.map +1 -0
- package/dist/contracts/api-enums.contract.d.ts +81 -0
- package/dist/contracts/api-enums.contract.js +92 -0
- package/dist/contracts/api-enums.contract.js.map +1 -0
- package/dist/contracts/auth-session.contract.d.ts +55 -0
- package/dist/contracts/auth-session.contract.js +48 -0
- package/dist/contracts/auth-session.contract.js.map +1 -0
- package/dist/{lucern/contracts/src → contracts}/context-pack.contract.d.ts +56 -58
- package/dist/contracts/context-pack.contract.js +98 -0
- package/dist/contracts/context-pack.contract.js.map +1 -0
- package/dist/contracts/contextPack.d.ts +1 -0
- package/dist/contracts/contextPack.js +98 -0
- package/dist/contracts/contextPack.js.map +1 -0
- package/dist/contracts/index.d.ts +9 -0
- package/dist/contracts/index.js +4892 -0
- package/dist/contracts/index.js.map +1 -0
- package/dist/{lucern/contracts/src → contracts}/lens-filter.contract.d.ts +10 -8
- package/dist/contracts/lens-filter.contract.js +71 -0
- package/dist/contracts/lens-filter.contract.js.map +1 -0
- package/dist/contracts/lens-workflow.contract.d.ts +87 -0
- package/dist/contracts/lens-workflow.contract.js +123 -0
- package/dist/contracts/lens-workflow.contract.js.map +1 -0
- package/dist/contracts/lensFilter.d.ts +1 -0
- package/dist/contracts/lensFilter.js +71 -0
- package/dist/contracts/lensFilter.js.map +1 -0
- package/dist/contracts/lensWorkflow.d.ts +2 -0
- package/dist/contracts/lensWorkflow.js +123 -0
- package/dist/contracts/lensWorkflow.js.map +1 -0
- package/dist/contracts/mcp-tools.contract.d.ts +1 -0
- package/dist/contracts/mcp-tools.contract.js +2986 -0
- package/dist/contracts/mcp-tools.contract.js.map +1 -0
- package/dist/contracts/mcpTools.d.ts +1 -0
- package/dist/contracts/mcpTools.js +2986 -0
- package/dist/contracts/mcpTools.js.map +1 -0
- package/dist/{lucern/contracts/src → contracts}/prompt.contract.d.ts +5 -3
- package/dist/contracts/prompt.contract.js +12 -0
- package/dist/contracts/prompt.contract.js.map +1 -0
- package/dist/contracts/prompt.d.ts +1 -0
- package/dist/contracts/prompt.js +12 -0
- package/dist/contracts/prompt.js.map +1 -0
- package/dist/contracts/sdk-tools.contract.d.ts +2 -0
- package/dist/contracts/sdk-tools.contract.js +4134 -0
- package/dist/contracts/sdk-tools.contract.js.map +1 -0
- package/dist/contracts/sdkTools.d.ts +2 -0
- package/dist/contracts/sdkTools.js +4134 -0
- package/dist/contracts/sdkTools.js.map +1 -0
- package/dist/contracts/workflow-runtime.contract.d.ts +163 -0
- package/dist/contracts/workflow-runtime.contract.js +245 -0
- package/dist/contracts/workflow-runtime.contract.js.map +1 -0
- package/dist/contracts/workflowRuntime.d.ts +1 -0
- package/dist/contracts/workflowRuntime.js +245 -0
- package/dist/contracts/workflowRuntime.js.map +1 -0
- package/dist/{lib/platform/sdk/controlObjectOwnership.d.ts → controlObjectOwnership.d.ts} +20 -18
- package/dist/controlObjectOwnership.js +215 -0
- package/dist/controlObjectOwnership.js.map +1 -0
- package/dist/{lib/platform/sdk/coreClient.d.ts → coreClient.d.ts} +19 -14
- package/dist/coreClient.js +339 -0
- package/dist/coreClient.js.map +1 -0
- package/dist/{lib/platform/sdk/customTools.d.ts → customTools.d.ts} +21 -16
- package/dist/customTools.js +248 -0
- package/dist/customTools.js.map +1 -0
- package/dist/{lib/platform/sdk/decisionsClient.d.ts → decisionsClient.d.ts} +29 -24
- package/dist/decisionsClient.js +522 -0
- package/dist/decisionsClient.js.map +1 -0
- package/dist/domainContext.d.ts +1 -0
- package/dist/domainContext.js +3 -0
- package/dist/domainContext.js.map +1 -0
- package/dist/events.d.ts +178 -0
- package/dist/events.js +249 -0
- package/dist/events.js.map +1 -0
- package/dist/eventsCore.d.ts +49 -0
- package/dist/eventsCore.js +429 -0
- package/dist/eventsCore.js.map +1 -0
- package/dist/facade/context.d.ts +18 -0
- package/dist/facade/context.js +73 -0
- package/dist/facade/context.js.map +1 -0
- package/dist/{lib/platform/sdk/gatewayFacades.d.ts → gatewayFacades.d.ts} +31 -26
- package/dist/gatewayFacades.js +1953 -0
- package/dist/gatewayFacades.js.map +1 -0
- package/dist/{lib/platform/sdk/graphClient.d.ts → graphClient.d.ts} +57 -52
- package/dist/graphClient.js +698 -0
- package/dist/graphClient.js.map +1 -0
- package/dist/{lib/platform/sdk/harnessClient.d.ts → harnessClient.d.ts} +44 -39
- package/dist/harnessClient.js +607 -0
- package/dist/harnessClient.js.map +1 -0
- package/dist/{lib/platform/sdk/identityClient.d.ts → identityClient.d.ts} +17 -11
- package/dist/identityClient.js +497 -0
- package/dist/identityClient.js.map +1 -0
- package/dist/index.d.ts +42 -3
- package/dist/index.js +11381 -3
- package/dist/index.js.map +1 -0
- package/dist/{lib/platform/sdk/learningClient.d.ts → learningClient.d.ts} +13 -7
- package/dist/learningClient.js +409 -0
- package/dist/learningClient.js.map +1 -0
- package/dist/{lib/platform/sdk/mcpParityClient.d.ts → mcpParityClient.d.ts} +10 -5
- package/dist/mcpParityClient.js +516 -0
- package/dist/mcpParityClient.js.map +1 -0
- package/dist/mcpParitySurface.d.ts +12 -0
- package/dist/mcpParitySurface.js +65 -0
- package/dist/mcpParitySurface.js.map +1 -0
- package/dist/mcpTools-DPZxowDX.d.ts +254 -0
- package/dist/{lib/platform/sdk/ontologyClient.d.ts → ontologyClient.d.ts} +28 -22
- package/dist/ontologyClient.js +513 -0
- package/dist/ontologyClient.js.map +1 -0
- package/dist/packRuntime.d.ts +2 -0
- package/dist/packRuntime.js +3 -0
- package/dist/packRuntime.js.map +1 -0
- package/dist/{lib/platform/sdk/packsClient.d.ts → packsClient.d.ts} +34 -29
- package/dist/packsClient.js +525 -0
- package/dist/packsClient.js.map +1 -0
- package/dist/{lib/platform/sdk/policyClient.d.ts → policyClient.d.ts} +26 -20
- package/dist/policyClient.js +625 -0
- package/dist/policyClient.js.map +1 -0
- package/dist/realtime/index.d.ts +29 -0
- package/dist/realtime/index.js +23 -0
- package/dist/realtime/index.js.map +1 -0
- package/dist/realtime/refs.d.ts +17 -0
- package/dist/realtime/refs.js +9 -0
- package/dist/realtime/refs.js.map +1 -0
- package/dist/reportsClient.d.ts +41 -0
- package/dist/reportsClient.js +418 -0
- package/dist/reportsClient.js.map +1 -0
- package/dist/{lib/platform/sdk/schemaClient.d.ts → schemaClient.d.ts} +20 -15
- package/dist/schemaClient.js +434 -0
- package/dist/schemaClient.js.map +1 -0
- package/dist/sdkSurface.d.ts +61 -0
- package/dist/sdkSurface.js +112 -0
- package/dist/sdkSurface.js.map +1 -0
- package/dist/sdkTools-CwXJDACb.d.ts +150 -0
- package/dist/{lib/platform/sdk/topicsClient.d.ts → topicsClient.d.ts} +24 -18
- package/dist/topicsClient.js +492 -0
- package/dist/topicsClient.js.map +1 -0
- package/dist/{lib/platform/sdk/types.d.ts → types.d.ts} +84 -80
- package/dist/types.js +3 -0
- package/dist/types.js.map +1 -0
- package/dist/version.d.ts +4 -0
- package/dist/version.js +6 -0
- package/dist/version.js.map +1 -0
- package/dist/{lib/platform/sdk/workflowClient.d.ts → workflowClient.d.ts} +60 -57
- package/dist/workflowClient.js +830 -0
- package/dist/workflowClient.js.map +1 -0
- package/package.json +25 -43
- package/dist/.generated +0 -2
- package/dist/lib/platform/auth/credentials.d.ts +0 -5
- package/dist/lib/platform/auth/credentials.js +0 -40
- package/dist/lib/platform/sdk/adminClient.js +0 -384
- package/dist/lib/platform/sdk/answersClient.d.ts +0 -16
- package/dist/lib/platform/sdk/answersClient.js +0 -21
- package/dist/lib/platform/sdk/audiencesClient.js +0 -111
- package/dist/lib/platform/sdk/auditClient.d.ts +0 -24
- package/dist/lib/platform/sdk/auditClient.js +0 -21
- package/dist/lib/platform/sdk/beliefsClient.js +0 -124
- package/dist/lib/platform/sdk/client.js +0 -1831
- package/dist/lib/platform/sdk/contextClient.js +0 -86
- package/dist/lib/platform/sdk/contextFacade.d.ts +0 -10
- package/dist/lib/platform/sdk/contextFacade.js +0 -10
- package/dist/lib/platform/sdk/contextPackCompiler.js +0 -534
- package/dist/lib/platform/sdk/contextTypes.js +0 -1
- package/dist/lib/platform/sdk/controlObjectOwnership.js +0 -220
- package/dist/lib/platform/sdk/coreClient.js +0 -366
- package/dist/lib/platform/sdk/customTools.js +0 -247
- package/dist/lib/platform/sdk/decisionsClient.js +0 -129
- package/dist/lib/platform/sdk/domainContext.d.ts +0 -1
- package/dist/lib/platform/sdk/domainContext.js +0 -1
- package/dist/lib/platform/sdk/events.d.ts +0 -176
- package/dist/lib/platform/sdk/events.js +0 -261
- package/dist/lib/platform/sdk/eventsCore.d.ts +0 -13
- package/dist/lib/platform/sdk/eventsCore.js +0 -13
- package/dist/lib/platform/sdk/gatewayFacades.js +0 -845
- package/dist/lib/platform/sdk/graphClient.js +0 -235
- package/dist/lib/platform/sdk/harnessClient.js +0 -219
- package/dist/lib/platform/sdk/identityClient.js +0 -131
- package/dist/lib/platform/sdk/index.d.ts +0 -49
- package/dist/lib/platform/sdk/index.js +0 -49
- package/dist/lib/platform/sdk/learningClient.js +0 -53
- package/dist/lib/platform/sdk/mcpParityClient.js +0 -196
- package/dist/lib/platform/sdk/mcpParitySurface.d.ts +0 -10
- package/dist/lib/platform/sdk/mcpParitySurface.js +0 -57
- package/dist/lib/platform/sdk/ontologyClient.js +0 -161
- package/dist/lib/platform/sdk/packRuntime.d.ts +0 -1
- package/dist/lib/platform/sdk/packRuntime.js +0 -1
- package/dist/lib/platform/sdk/packsClient.js +0 -157
- package/dist/lib/platform/sdk/policyClient.js +0 -277
- package/dist/lib/platform/sdk/promptCatalog.d.ts +0 -1
- package/dist/lib/platform/sdk/promptCatalog.js +0 -1
- package/dist/lib/platform/sdk/reportsClient.d.ts +0 -34
- package/dist/lib/platform/sdk/reportsClient.js +0 -64
- package/dist/lib/platform/sdk/schemaClient.js +0 -71
- package/dist/lib/platform/sdk/sdkSurface.d.ts +0 -56
- package/dist/lib/platform/sdk/sdkSurface.js +0 -140
- package/dist/lib/platform/sdk/topicsClient.js +0 -118
- package/dist/lib/platform/sdk/types.js +0 -1
- package/dist/lib/platform/sdk/version.d.ts +0 -2
- package/dist/lib/platform/sdk/version.js +0 -2
- package/dist/lib/platform/sdk/workflowClient.js +0 -366
- package/dist/lucern/contracts/src/api-enums.contract.d.ts +0 -58
- package/dist/lucern/contracts/src/api-enums.contract.js +0 -147
- package/dist/lucern/contracts/src/auth-context.contract.d.ts +0 -8
- package/dist/lucern/contracts/src/auth-context.contract.js +0 -8
- package/dist/lucern/contracts/src/auth-session.contract.d.ts +0 -8
- package/dist/lucern/contracts/src/auth-session.contract.js +0 -8
- package/dist/lucern/contracts/src/auth.contract.d.ts +0 -88
- package/dist/lucern/contracts/src/auth.contract.js +0 -57
- package/dist/lucern/contracts/src/context-pack.contract.js +0 -169
- package/dist/lucern/contracts/src/convex-admin.contract.d.ts +0 -5
- package/dist/lucern/contracts/src/convex-admin.contract.js +0 -1
- package/dist/lucern/contracts/src/events-types.contract.d.ts +0 -8
- package/dist/lucern/contracts/src/events-types.contract.js +0 -8
- package/dist/lucern/contracts/src/events.contract.d.ts +0 -176
- package/dist/lucern/contracts/src/events.contract.js +0 -159
- package/dist/lucern/contracts/src/gateway.contract.d.ts +0 -74
- package/dist/lucern/contracts/src/gateway.contract.js +0 -19
- package/dist/lucern/contracts/src/ids.contract.d.ts +0 -7
- package/dist/lucern/contracts/src/ids.contract.js +0 -24
- package/dist/lucern/contracts/src/index.d.ts +0 -29
- package/dist/lucern/contracts/src/index.js +0 -29
- package/dist/lucern/contracts/src/lens-filter.contract.js +0 -95
- package/dist/lucern/contracts/src/lens-workflow.contract.d.ts +0 -84
- package/dist/lucern/contracts/src/lens-workflow.contract.js +0 -54
- package/dist/lucern/contracts/src/mcp-tools.contract.d.ts +0 -151
- package/dist/lucern/contracts/src/mcp-tools.contract.js +0 -3281
- package/dist/lucern/contracts/src/ontology-matching.contract.d.ts +0 -8
- package/dist/lucern/contracts/src/ontology-matching.contract.js +0 -8
- package/dist/lucern/contracts/src/prompt.contract.js +0 -24
- package/dist/lucern/contracts/src/sdk-methods.contract.d.ts +0 -358
- package/dist/lucern/contracts/src/sdk-methods.contract.js +0 -19
- package/dist/lucern/contracts/src/sdk-tools.contract.d.ts +0 -92
- package/dist/lucern/contracts/src/sdk-tools.contract.js +0 -1398
- package/dist/lucern/contracts/src/text-matching.contract.d.ts +0 -53
- package/dist/lucern/contracts/src/text-matching.contract.js +0 -277
- package/dist/lucern/contracts/src/topic-scope.contract.d.ts +0 -8
- package/dist/lucern/contracts/src/topic-scope.contract.js +0 -8
- package/dist/lucern/contracts/src/workflow-runtime.contract.d.ts +0 -161
- package/dist/lucern/contracts/src/workflow-runtime.contract.js +0 -257
- package/dist/realtime-refs.d.ts +0 -1
- package/dist/realtime-refs.js +0 -1
- package/dist/realtime.d.ts +0 -1
- package/dist/realtime.js +0 -1
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API Enum Contract Definitions
|
|
3
|
-
*
|
|
4
|
-
* Canonical enum values for all API-facing enumerations.
|
|
5
|
-
* These are co-equal with MCP contracts as external contracts.
|
|
6
|
-
* SDK types are DERIVED from these — not independently authored.
|
|
7
|
-
*
|
|
8
|
-
* CONTRACT SURFACE: Adding a new enum value is additive (non-breaking).
|
|
9
|
-
* Removing or renaming an existing value is a BREAKING CHANGE.
|
|
10
|
-
*/
|
|
11
|
-
// =============================================================================
|
|
12
|
-
// BELIEF ENUMS
|
|
13
|
-
// =============================================================================
|
|
14
|
-
/** Fork reasons — why a scored belief was branched */
|
|
15
|
-
export const FORK_REASONS = [
|
|
16
|
-
"refinement", // Belief text evolved based on new understanding
|
|
17
|
-
"contradiction_response", // Created in response to a detected contradiction
|
|
18
|
-
"scope_change", // Belief scope narrowed or broadened
|
|
19
|
-
"confidence_collapse", // Confidence dropped below viability threshold
|
|
20
|
-
"manual", // User-initiated fork without specific trigger
|
|
21
|
-
];
|
|
22
|
-
/** Confidence modulation triggers — what caused a confidence change */
|
|
23
|
-
export const CONFIDENCE_TRIGGERS = [
|
|
24
|
-
"evidence_added", // New evidence bore on the belief
|
|
25
|
-
"contradiction_detected", // A contradiction was flagged involving this belief
|
|
26
|
-
"merge_outcome", // Merge scoring determined this confidence
|
|
27
|
-
"manual", // User manually adjusted confidence
|
|
28
|
-
"decay", // Time-based confidence erosion
|
|
29
|
-
];
|
|
30
|
-
/** Belief status — lifecycle state */
|
|
31
|
-
export const BELIEF_STATUSES = [
|
|
32
|
-
"unscored", // Draft — editable in worktree (on feature branch, pre-merge)
|
|
33
|
-
"scored", // Merged — formulation frozen (merged to main)
|
|
34
|
-
"archived", // Soft-deleted — preserved in history (git rm)
|
|
35
|
-
];
|
|
36
|
-
// =============================================================================
|
|
37
|
-
// EDGE ENUMS
|
|
38
|
-
// =============================================================================
|
|
39
|
-
/** Reasoning methods — how an edge relationship was determined */
|
|
40
|
-
export const REASONING_METHODS = [
|
|
41
|
-
"deductive", // Logically entailed
|
|
42
|
-
"inductive", // Generalized from instances
|
|
43
|
-
"abductive", // Best explanation inference
|
|
44
|
-
"analogical", // Reasoning by analogy
|
|
45
|
-
"empirical", // Direct observation/measurement
|
|
46
|
-
];
|
|
47
|
-
/** Defeat types (Pollock taxonomy) — how a contradiction operates */
|
|
48
|
-
export const DEFEAT_TYPES = [
|
|
49
|
-
"rebuts", // Direct contradiction — reasons for the negation
|
|
50
|
-
"undercuts", // Breaks the inference link between evidence and belief
|
|
51
|
-
"undermines", // Attacks a premise the belief depends on
|
|
52
|
-
];
|
|
53
|
-
/** Contradiction severity levels */
|
|
54
|
-
export const CONTRADICTION_SEVERITIES = [
|
|
55
|
-
"low", // Minor tension, may not require action
|
|
56
|
-
"medium", // Moderate conflict, should be investigated
|
|
57
|
-
"high", // Significant contradiction, likely needs resolution
|
|
58
|
-
"critical", // Blocks progress — must be addressed before judgment
|
|
59
|
-
];
|
|
60
|
-
/** Contradiction resolution status */
|
|
61
|
-
export const CONTRADICTION_STATUSES = [
|
|
62
|
-
"unresolved", // Open conflict — may persist indefinitely
|
|
63
|
-
"resolved", // Conflict addressed (one belief forked, archived, or confidence adjusted)
|
|
64
|
-
"accepted", // Explicitly accepted as irreconcilable — both beliefs maintained
|
|
65
|
-
];
|
|
66
|
-
// =============================================================================
|
|
67
|
-
// WORKTREE ENUMS (git worktree lifecycle)
|
|
68
|
-
// =============================================================================
|
|
69
|
-
/** Merge outcome types — how a worktree merge resolved */
|
|
70
|
-
export const MERGE_OUTCOMES = [
|
|
71
|
-
"validated", // Beliefs confirmed — clean merge to main
|
|
72
|
-
"invalidated", // Defeat recorded — confidence collapsed (merge with revert)
|
|
73
|
-
"forked", // Beliefs split into competing versions (fork from merge point)
|
|
74
|
-
"inconclusive", // Insufficient evidence — stashed (git stash)
|
|
75
|
-
];
|
|
76
|
-
/** Worktree phases — investigation lifecycle within a checked-out worktree */
|
|
77
|
-
export const WORKTREE_PHASES = [
|
|
78
|
-
"hypothesis", // Form testable claims (write the code — commits)
|
|
79
|
-
"investigation", // Collect evidence (run the tests — more commits)
|
|
80
|
-
"evaluation", // Update credences (review the results — amend as needed)
|
|
81
|
-
"resolution", // Determine outcome (merge to main, fork, or stash)
|
|
82
|
-
];
|
|
83
|
-
// =============================================================================
|
|
84
|
-
// BRANCH ENUMS (git branch lifecycle)
|
|
85
|
-
// =============================================================================
|
|
86
|
-
/** Branch status — thematic branch lifecycle */
|
|
87
|
-
export const BRANCH_STATUSES = [
|
|
88
|
-
"dormant", // Branch exists but no active worktree (no one investigating)
|
|
89
|
-
"active", // At least one worktree is investigating this branch
|
|
90
|
-
"archived", // Branch retired — no longer a relevant thematic container
|
|
91
|
-
];
|
|
92
|
-
// =============================================================================
|
|
93
|
-
// PULL REQUEST ENUMS (git pull request lifecycle)
|
|
94
|
-
// =============================================================================
|
|
95
|
-
/** Pull request status — review lifecycle before merge */
|
|
96
|
-
export const PULL_REQUEST_STATUSES = [
|
|
97
|
-
"pending_review", // PR opened — awaiting reviewer feedback
|
|
98
|
-
"changes_requested", // Reviewer requests changes before merge
|
|
99
|
-
"approved", // Approved — ready to merge
|
|
100
|
-
"blocked", // Blocked — cannot merge until contradiction is resolved
|
|
101
|
-
];
|
|
102
|
-
// =============================================================================
|
|
103
|
-
// LAYER ENUMS
|
|
104
|
-
// =============================================================================
|
|
105
|
-
/** Epistemic layers — the hierarchy of knowledge */
|
|
106
|
-
export const EPISTEMIC_LAYERS = [
|
|
107
|
-
"L1", // Source — the given (vendored deps)
|
|
108
|
-
"L2", // Evidence — the interpreted (test suite)
|
|
109
|
-
"L3", // Belief — the structural (source files)
|
|
110
|
-
"L4", // Judgment — the committed (release tags)
|
|
111
|
-
];
|
|
112
|
-
// =============================================================================
|
|
113
|
-
// JUDGMENT ENUMS (Phase 1: new vocabulary)
|
|
114
|
-
// =============================================================================
|
|
115
|
-
/**
|
|
116
|
-
* Judgment type — classification of the determination.
|
|
117
|
-
*
|
|
118
|
-
* Phase 1: These are new enum values for the Judgment (L4) vocabulary.
|
|
119
|
-
* The existing code uses "Decision" — these are the forward-looking terms
|
|
120
|
-
* that will eventually replace the Decision vocabulary (Phase 2-3).
|
|
121
|
-
*/
|
|
122
|
-
export const JUDGMENT_TYPES = [
|
|
123
|
-
"investment_thesis", // Judgment on an investment opportunity
|
|
124
|
-
"thesis_maturity", // Judgment that a thesis is ready for IC presentation
|
|
125
|
-
"contradiction_ruling", // Judgment on how to handle an irreconcilable contradiction
|
|
126
|
-
"scope_determination", // Judgment that defines or redefines investigation scope
|
|
127
|
-
"confidence_ruling", // Judgment that overrides automated confidence for policy reasons
|
|
128
|
-
];
|
|
129
|
-
// =============================================================================
|
|
130
|
-
// SUPPORT RELATION ENUMS
|
|
131
|
-
// =============================================================================
|
|
132
|
-
/** Core edge types used in the Integration Surfaces */
|
|
133
|
-
export const INTEGRATION_EDGE_TYPES = [
|
|
134
|
-
// Support relations
|
|
135
|
-
"informs", // Evidence bears on a belief (weight = direction/strength)
|
|
136
|
-
"grounds", // Source provides raw basis for evidence
|
|
137
|
-
"answers", // Evidence or belief resolves a question
|
|
138
|
-
// Defeat relations (Pollock) — weight carries direction
|
|
139
|
-
"contradicts", // Rebuts — direct contradiction
|
|
140
|
-
"supports", // Weight carries valence (negative = weakens/undercuts)
|
|
141
|
-
// Structural relations
|
|
142
|
-
"depends_on", // Belief B requires Belief A
|
|
143
|
-
"derived_from", // Provenance lineage
|
|
144
|
-
"contains", // Hierarchical containment
|
|
145
|
-
"supersedes", // New version replaces old (lineage)
|
|
146
|
-
"tests", // Question tests a belief
|
|
147
|
-
];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @lucern/contracts — auth-context compat shim
|
|
3
|
-
*
|
|
4
|
-
* This file consolidated into ./auth.contract.ts during EK-16 T1 PR 3a.
|
|
5
|
-
* Retained here until the Lucern 1.0.0 barrel-sunset cut (D12).
|
|
6
|
-
* New code should import from "@lucern/contracts" (barrel) or "./auth.contract".
|
|
7
|
-
*/
|
|
8
|
-
export * from "./auth.contract";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @lucern/contracts — auth-context compat shim
|
|
3
|
-
*
|
|
4
|
-
* This file consolidated into ./auth.contract.ts during EK-16 T1 PR 3a.
|
|
5
|
-
* Retained here until the Lucern 1.0.0 barrel-sunset cut (D12).
|
|
6
|
-
* New code should import from "@lucern/contracts" (barrel) or "./auth.contract".
|
|
7
|
-
*/
|
|
8
|
-
export * from "./auth.contract.js";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @lucern/contracts — auth-session compat shim
|
|
3
|
-
*
|
|
4
|
-
* This file consolidated into ./auth.contract.ts during EK-16 T1 PR 3a.
|
|
5
|
-
* Retained here until the Lucern 1.0.0 barrel-sunset cut (D12).
|
|
6
|
-
* New code should import from "@lucern/contracts" (barrel) or "./auth.contract".
|
|
7
|
-
*/
|
|
8
|
-
export * from "./auth.contract";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @lucern/contracts — auth-session compat shim
|
|
3
|
-
*
|
|
4
|
-
* This file consolidated into ./auth.contract.ts during EK-16 T1 PR 3a.
|
|
5
|
-
* Retained here until the Lucern 1.0.0 barrel-sunset cut (D12).
|
|
6
|
-
* New code should import from "@lucern/contracts" (barrel) or "./auth.contract".
|
|
7
|
-
*/
|
|
8
|
-
export * from "./auth.contract.js";
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @lucern/contracts — auth (canonical support contract)
|
|
3
|
-
*
|
|
4
|
-
* Consolidated flat support surface for Lucern authentication:
|
|
5
|
-
* - Session primitives (auth modes, principal types, lifecycle)
|
|
6
|
-
* - AuthContext shape + McpTransportKind + LucernSdkClient alias
|
|
7
|
-
*
|
|
8
|
-
* Consolidated from src/auth-session.contract.ts and src/auth-context.contract.ts
|
|
9
|
-
* in EK-16 T1 PR 3a. Compat shims remain at both old paths until Lucern 1.0.0 (D12).
|
|
10
|
-
*/
|
|
11
|
-
export declare const SESSION_AUTH_MODES: readonly ["interactive_user", "service_principal", "tenant_api_key", "session_token"];
|
|
12
|
-
export type SessionAuthMode = (typeof SESSION_AUTH_MODES)[number];
|
|
13
|
-
export declare const SESSION_PRINCIPAL_TYPES: readonly ["human", "service", "agent"];
|
|
14
|
-
export type SessionPrincipalType = (typeof SESSION_PRINCIPAL_TYPES)[number];
|
|
15
|
-
export declare const SESSION_LIFECYCLE_STATUSES: readonly ["active", "expired", "revoked"];
|
|
16
|
-
export type SessionLifecycleStatus = (typeof SESSION_LIFECYCLE_STATUSES)[number];
|
|
17
|
-
export type SessionDelegationHop = {
|
|
18
|
-
principalId: string;
|
|
19
|
-
principalType: SessionPrincipalType;
|
|
20
|
-
authMode?: SessionAuthMode;
|
|
21
|
-
sessionId?: string;
|
|
22
|
-
delegatedAt?: number;
|
|
23
|
-
reason?: string;
|
|
24
|
-
};
|
|
25
|
-
export type SessionAuditOutcome = "accepted" | "rejected" | "revoked" | "expired";
|
|
26
|
-
export type SessionAuditEnvelope = {
|
|
27
|
-
sessionId: string;
|
|
28
|
-
authMode: SessionAuthMode;
|
|
29
|
-
principalId: string;
|
|
30
|
-
principalType: SessionPrincipalType;
|
|
31
|
-
tenantId: string;
|
|
32
|
-
workspaceId?: string;
|
|
33
|
-
apiKeyId?: string;
|
|
34
|
-
scopes: readonly string[];
|
|
35
|
-
roles?: readonly string[];
|
|
36
|
-
delegationChain?: readonly SessionDelegationHop[];
|
|
37
|
-
sourceSessionId?: string;
|
|
38
|
-
expiresAt?: number;
|
|
39
|
-
request?: {
|
|
40
|
-
endpoint?: string;
|
|
41
|
-
method?: string;
|
|
42
|
-
correlationId?: string;
|
|
43
|
-
};
|
|
44
|
-
result?: {
|
|
45
|
-
outcome: SessionAuditOutcome;
|
|
46
|
-
reason?: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export declare function inferSessionPrincipalType(principalId: string): SessionPrincipalType;
|
|
50
|
-
export declare function normalizeDelegationChain(args: {
|
|
51
|
-
delegationChain?: readonly SessionDelegationHop[];
|
|
52
|
-
delegatedBy?: string;
|
|
53
|
-
delegatedByType?: SessionPrincipalType;
|
|
54
|
-
delegatedAt?: number;
|
|
55
|
-
reason?: string;
|
|
56
|
-
}): SessionDelegationHop[] | undefined;
|
|
57
|
-
export declare function lastDelegator(delegationChain?: readonly SessionDelegationHop[]): string | undefined;
|
|
58
|
-
import type { ConvexAdminClient } from "./convex-admin.contract";
|
|
59
|
-
export type McpTransportKind = "stdio" | "hosted";
|
|
60
|
-
export type LucernSdkClient = unknown;
|
|
61
|
-
/**
|
|
62
|
-
* Session authentication context — injected by withAuth() middleware.
|
|
63
|
-
*
|
|
64
|
-
* Built from TenantConfig at dispatch time. Agent sessions get
|
|
65
|
-
* AGENT_IDENTITY + "agent:internal" role + unrestricted access.
|
|
66
|
-
* User sessions get Clerk userId + resolved role + tool ACLs.
|
|
67
|
-
*/
|
|
68
|
-
export type AuthContext = {
|
|
69
|
-
sessionType: "agent" | "user";
|
|
70
|
-
userId: string;
|
|
71
|
-
tenantId: string;
|
|
72
|
-
role: string;
|
|
73
|
-
allowedTopics: string[] | null;
|
|
74
|
-
groupIds: string[];
|
|
75
|
-
permittedPackKeys: string[];
|
|
76
|
-
sessionId: string;
|
|
77
|
-
principalId?: string;
|
|
78
|
-
principalType?: SessionPrincipalType;
|
|
79
|
-
workspaceId?: string;
|
|
80
|
-
scopes?: string[];
|
|
81
|
-
authMode?: SessionAuthMode;
|
|
82
|
-
roles?: string[];
|
|
83
|
-
transportKind?: McpTransportKind;
|
|
84
|
-
lucernClient?: LucernSdkClient;
|
|
85
|
-
convex?: ConvexAdminClient;
|
|
86
|
-
setDefaultScopeContext?: (scopeId: string) => Promise<unknown>;
|
|
87
|
-
matchesWorkspaceReasoningScope?: (node: unknown, scope: unknown) => boolean;
|
|
88
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @lucern/contracts — auth (canonical support contract)
|
|
3
|
-
*
|
|
4
|
-
* Consolidated flat support surface for Lucern authentication:
|
|
5
|
-
* - Session primitives (auth modes, principal types, lifecycle)
|
|
6
|
-
* - AuthContext shape + McpTransportKind + LucernSdkClient alias
|
|
7
|
-
*
|
|
8
|
-
* Consolidated from src/auth-session.contract.ts and src/auth-context.contract.ts
|
|
9
|
-
* in EK-16 T1 PR 3a. Compat shims remain at both old paths until Lucern 1.0.0 (D12).
|
|
10
|
-
*/
|
|
11
|
-
// =============================================================================
|
|
12
|
-
// SESSION PRIMITIVES
|
|
13
|
-
// (Formerly src/auth-session.contract.ts)
|
|
14
|
-
// =============================================================================
|
|
15
|
-
export const SESSION_AUTH_MODES = [
|
|
16
|
-
"interactive_user",
|
|
17
|
-
"service_principal",
|
|
18
|
-
"tenant_api_key",
|
|
19
|
-
"session_token",
|
|
20
|
-
];
|
|
21
|
-
export const SESSION_PRINCIPAL_TYPES = ["human", "service", "agent"];
|
|
22
|
-
export const SESSION_LIFECYCLE_STATUSES = [
|
|
23
|
-
"active",
|
|
24
|
-
"expired",
|
|
25
|
-
"revoked",
|
|
26
|
-
];
|
|
27
|
-
export function inferSessionPrincipalType(principalId) {
|
|
28
|
-
if (principalId.startsWith("user:")) {
|
|
29
|
-
return "human";
|
|
30
|
-
}
|
|
31
|
-
if (principalId.startsWith("agent:")) {
|
|
32
|
-
return "agent";
|
|
33
|
-
}
|
|
34
|
-
return "service";
|
|
35
|
-
}
|
|
36
|
-
export function normalizeDelegationChain(args) {
|
|
37
|
-
if (args.delegationChain && args.delegationChain.length > 0) {
|
|
38
|
-
return [...args.delegationChain];
|
|
39
|
-
}
|
|
40
|
-
if (!args.delegatedBy) {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
return [
|
|
44
|
-
{
|
|
45
|
-
principalId: args.delegatedBy,
|
|
46
|
-
principalType: args.delegatedByType ?? inferSessionPrincipalType(args.delegatedBy),
|
|
47
|
-
delegatedAt: args.delegatedAt,
|
|
48
|
-
reason: args.reason,
|
|
49
|
-
},
|
|
50
|
-
];
|
|
51
|
-
}
|
|
52
|
-
export function lastDelegator(delegationChain) {
|
|
53
|
-
if (!delegationChain || delegationChain.length === 0) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
return delegationChain[delegationChain.length - 1]?.principalId;
|
|
57
|
-
}
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context-Pack Contract v1
|
|
3
|
-
*
|
|
4
|
-
* Canonical TypeScript types and constants for the context-pack output schema.
|
|
5
|
-
* This is the external contract consumed by:
|
|
6
|
-
* - MCP tool `compile_context` (canonical compiler read)
|
|
7
|
-
* - SDK/HTTP consumers that read compiled context packs programmatically
|
|
8
|
-
* - Benchmark harnesses (context-pack-ab)
|
|
9
|
-
*
|
|
10
|
-
* BREAKING CHANGE RULES:
|
|
11
|
-
* - Adding optional fields to ContextPackV1 is NON-breaking
|
|
12
|
-
* - Removing fields or changing types is BREAKING (bump CONTEXT_PACK_SCHEMA_VERSION)
|
|
13
|
-
* - Changing section budget ratios or ranking weights is NON-breaking (tuning)
|
|
14
|
-
* - Changing the version string is BREAKING (consumers check it)
|
|
15
|
-
*/
|
|
16
|
-
// =============================================================================
|
|
17
|
-
// SCHEMA VERSION
|
|
18
|
-
// =============================================================================
|
|
19
|
-
/** Canonical version string. Consumers MUST check this field for compatibility. */
|
|
20
|
-
export const CONTEXT_PACK_SCHEMA_VERSION = "1.0.0";
|
|
21
|
-
export const CONTEXT_RANKING_PROFILES = [
|
|
22
|
-
"baseline_v1",
|
|
23
|
-
"weighted_v1",
|
|
24
|
-
];
|
|
25
|
-
export const DEFAULT_RANKING_PROFILE = "weighted_v1";
|
|
26
|
-
export const DEFAULT_COMPILATION_MODE = "standard";
|
|
27
|
-
export const CONTEXT_PACK_SECTION_KEYS = [
|
|
28
|
-
"invariants",
|
|
29
|
-
"activeBeliefs",
|
|
30
|
-
"openQuestions",
|
|
31
|
-
"recentEvidence",
|
|
32
|
-
"contradictions",
|
|
33
|
-
];
|
|
34
|
-
// =============================================================================
|
|
35
|
-
// SECTION BUDGET RATIOS
|
|
36
|
-
// =============================================================================
|
|
37
|
-
/**
|
|
38
|
-
* Token budget allocation ratios per section.
|
|
39
|
-
* These sum to 1.0 and determine how the total tokenBudget is divided.
|
|
40
|
-
*
|
|
41
|
-
* Rationale:
|
|
42
|
-
* - invariants (0.28): Highest-priority constraints, injected first
|
|
43
|
-
* - activeBeliefs (0.30): Largest section, carries domain knowledge
|
|
44
|
-
* - openQuestions (0.17): Unresolved work items guide agent behavior
|
|
45
|
-
* - recentEvidence (0.17): Implementation context for grounding
|
|
46
|
-
* - contradictions (0.08): Tension signals, smallest section
|
|
47
|
-
*/
|
|
48
|
-
export const SECTION_BUDGET_RATIOS = {
|
|
49
|
-
invariants: 0.28,
|
|
50
|
-
activeBeliefs: 0.3,
|
|
51
|
-
openQuestions: 0.17,
|
|
52
|
-
recentEvidence: 0.17,
|
|
53
|
-
contradictions: 0.08,
|
|
54
|
-
};
|
|
55
|
-
// =============================================================================
|
|
56
|
-
// TOKEN BUDGET CONSTRAINTS
|
|
57
|
-
// =============================================================================
|
|
58
|
-
/** Minimum allowed token budget. Below this, context packs lose utility. */
|
|
59
|
-
export const MIN_TOKEN_BUDGET = 400;
|
|
60
|
-
/** Maximum allowed token budget. Above this, context packs bloat prompts. */
|
|
61
|
-
export const MAX_TOKEN_BUDGET = 8000;
|
|
62
|
-
/** Default token budget when caller does not specify. */
|
|
63
|
-
export const DEFAULT_TOKEN_BUDGET = 1800;
|
|
64
|
-
/** Default max items per section. */
|
|
65
|
-
export const DEFAULT_SECTION_LIMIT = 8;
|
|
66
|
-
/** Hard ceiling on items per section. */
|
|
67
|
-
export const MAX_SECTION_LIMIT = 25;
|
|
68
|
-
/** Minimum contradiction section budget floor (tokens). */
|
|
69
|
-
export const MIN_CONTRADICTION_BUDGET = 40;
|
|
70
|
-
export const RANKING_WEIGHTS = {
|
|
71
|
-
invariants: {
|
|
72
|
-
query: 0.35,
|
|
73
|
-
recency: 0.1,
|
|
74
|
-
confidence: 0.4,
|
|
75
|
-
beliefType: 0.15,
|
|
76
|
-
},
|
|
77
|
-
activeBeliefs: {
|
|
78
|
-
query: 0.5,
|
|
79
|
-
recency: 0.2,
|
|
80
|
-
confidence: 0.2,
|
|
81
|
-
beliefType: 0.1,
|
|
82
|
-
},
|
|
83
|
-
openQuestions: {
|
|
84
|
-
query: 0.55,
|
|
85
|
-
recency: 0.2,
|
|
86
|
-
priority: 0.25,
|
|
87
|
-
},
|
|
88
|
-
recentEvidence: {
|
|
89
|
-
query: 0.6,
|
|
90
|
-
recency: 0.4,
|
|
91
|
-
},
|
|
92
|
-
contradictions: {
|
|
93
|
-
query: 0.4,
|
|
94
|
-
recency: 0.2,
|
|
95
|
-
severity: 0.4,
|
|
96
|
-
},
|
|
97
|
-
};
|
|
98
|
-
/** Recency decay half-life in days. After 30 days, recency score = 0.5. */
|
|
99
|
-
export const RECENCY_HALF_LIFE_DAYS = 30;
|
|
100
|
-
/**
|
|
101
|
-
* Ranking weight vector for the relatedEntities section.
|
|
102
|
-
* Entities are ranked by query relevance and connectivity (bridge edge count).
|
|
103
|
-
* Separate from RANKING_WEIGHTS because entities are not part of the
|
|
104
|
-
* token-budgeted injection plan.
|
|
105
|
-
*/
|
|
106
|
-
export const ENTITY_RANKING_WEIGHTS = {
|
|
107
|
-
query: 0.4,
|
|
108
|
-
connectivity: 0.6,
|
|
109
|
-
};
|
|
110
|
-
/** Default max entities to include in the context pack. */
|
|
111
|
-
export const DEFAULT_ENTITY_LIMIT = 10;
|
|
112
|
-
/** Hard ceiling on entities per context pack. */
|
|
113
|
-
export const MAX_ENTITY_LIMIT = 50;
|
|
114
|
-
// =============================================================================
|
|
115
|
-
// BELIEF TYPE BONUS MAP
|
|
116
|
-
// =============================================================================
|
|
117
|
-
/**
|
|
118
|
-
* Bonus multiplier for belief types in ranking.
|
|
119
|
-
* Invariants get 1.0, unknown types get 0.4.
|
|
120
|
-
*/
|
|
121
|
-
export const BELIEF_TYPE_BONUS = {
|
|
122
|
-
invariant: 1.0,
|
|
123
|
-
tenet: 0.8,
|
|
124
|
-
principle: 0.6,
|
|
125
|
-
};
|
|
126
|
-
export const DEFAULT_BELIEF_TYPE_BONUS = 0.4;
|
|
127
|
-
// =============================================================================
|
|
128
|
-
// PRIORITY / SEVERITY SCORE MAPS
|
|
129
|
-
// =============================================================================
|
|
130
|
-
export const PRIORITY_SCORES = {
|
|
131
|
-
critical: 1.0,
|
|
132
|
-
high: 0.85,
|
|
133
|
-
medium: 0.55,
|
|
134
|
-
low: 0.35,
|
|
135
|
-
};
|
|
136
|
-
export const DEFAULT_PRIORITY_SCORE = 0.5;
|
|
137
|
-
export const SEVERITY_SCORES = {
|
|
138
|
-
critical: 1.0,
|
|
139
|
-
high: 0.85,
|
|
140
|
-
medium: 0.6,
|
|
141
|
-
low: 0.35,
|
|
142
|
-
};
|
|
143
|
-
export const DEFAULT_SEVERITY_SCORE = 0.5;
|
|
144
|
-
// =============================================================================
|
|
145
|
-
// RESOLVED QUESTION STATUSES
|
|
146
|
-
// =============================================================================
|
|
147
|
-
/**
|
|
148
|
-
* Question statuses that are considered "resolved" (not open).
|
|
149
|
-
* Used to filter which questions appear in the openQuestions section.
|
|
150
|
-
*/
|
|
151
|
-
export const RESOLVED_QUESTION_STATUSES = [
|
|
152
|
-
"answered",
|
|
153
|
-
"archived",
|
|
154
|
-
"closed",
|
|
155
|
-
"resolved",
|
|
156
|
-
"resolved_support",
|
|
157
|
-
"resolved_contra",
|
|
158
|
-
"belief_forked",
|
|
159
|
-
];
|
|
160
|
-
// =============================================================================
|
|
161
|
-
// TOKEN ESTIMATION
|
|
162
|
-
// =============================================================================
|
|
163
|
-
/**
|
|
164
|
-
* Tokens-per-word multiplier for rough token estimation.
|
|
165
|
-
* Conservative estimate: ~1.35 tokens per whitespace-delimited word.
|
|
166
|
-
*/
|
|
167
|
-
export const TOKENS_PER_WORD = 1.35;
|
|
168
|
-
/** Minimum token estimate for any non-empty string. */
|
|
169
|
-
export const MIN_TOKEN_ESTIMATE = 8;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export interface ConvexAdminClient {
|
|
2
|
-
query<T = unknown>(functionReference: unknown, args: Record<string, unknown>): Promise<T>;
|
|
3
|
-
mutation<T = unknown>(functionReference: unknown, args: Record<string, unknown>): Promise<T>;
|
|
4
|
-
action<T = unknown>(functionReference: unknown, args: Record<string, unknown>): Promise<T>;
|
|
5
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @lucern/contracts — events-types compat shim
|
|
3
|
-
*
|
|
4
|
-
* This file consolidated into ./events.contract.ts during EK-16 T1 PR 3b.
|
|
5
|
-
* Retained here until the Lucern 1.0.0 barrel-sunset cut (D12).
|
|
6
|
-
* New code should import from "@lucern/contracts" (barrel) or "./events.contract".
|
|
7
|
-
*/
|
|
8
|
-
export * from "./events.contract";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @lucern/contracts — events-types compat shim
|
|
3
|
-
*
|
|
4
|
-
* This file consolidated into ./events.contract.ts during EK-16 T1 PR 3b.
|
|
5
|
-
* Retained here until the Lucern 1.0.0 barrel-sunset cut (D12).
|
|
6
|
-
* New code should import from "@lucern/contracts" (barrel) or "./events.contract".
|
|
7
|
-
*/
|
|
8
|
-
export * from "./events.contract.js";
|