@lucern/mcp 0.2.0-alpha.7 → 0.2.0-alpha.9
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/gateway.d.ts +2 -29
- package/dist/gateway.js +7941 -7919
- package/dist/gateway.js.map +1 -1
- package/dist/index.js +43 -9
- package/dist/index.js.map +1 -1
- package/dist/runtime.js +21 -20
- package/dist/runtime.js.map +1 -1
- package/package.json +1 -1
package/dist/gateway.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GatewayAuthContext } from '@lucern/contracts';
|
|
2
|
-
|
|
2
|
+
export { GatewayContextAuth, GatewayContextRequest, GatewayContextRouteDeps, createContextGatewayRoute } from '@lucern/server-core/http';
|
|
3
3
|
|
|
4
4
|
declare function handleBeliefCreate(args: {
|
|
5
5
|
authContext: GatewayAuthContext;
|
|
@@ -130,33 +130,6 @@ declare function handleBeliefBisect(args: {
|
|
|
130
130
|
body: unknown;
|
|
131
131
|
}): Promise<Response>;
|
|
132
132
|
|
|
133
|
-
type GatewayContextAuth = {
|
|
134
|
-
actorPrincipalId: string;
|
|
135
|
-
};
|
|
136
|
-
type GatewayContextRequest = {
|
|
137
|
-
body: Record<string, unknown>;
|
|
138
|
-
auth: GatewayContextAuth | null;
|
|
139
|
-
correlationId: string;
|
|
140
|
-
policyTraceId: string | null;
|
|
141
|
-
};
|
|
142
|
-
type GatewayContextRouteDeps = CompileContextPorts & {
|
|
143
|
-
successResponse: (data: unknown, meta: {
|
|
144
|
-
correlationId: string;
|
|
145
|
-
policyTraceId: string | null;
|
|
146
|
-
status?: number;
|
|
147
|
-
}) => Response;
|
|
148
|
-
errorResponse: (meta: {
|
|
149
|
-
code: string;
|
|
150
|
-
message: string;
|
|
151
|
-
status: number;
|
|
152
|
-
correlationId: string;
|
|
153
|
-
policyTraceId: string | null;
|
|
154
|
-
}) => Response;
|
|
155
|
-
};
|
|
156
|
-
declare function createContextGatewayRoute(deps: GatewayContextRouteDeps): {
|
|
157
|
-
post(request: GatewayContextRequest): Promise<Response>;
|
|
158
|
-
};
|
|
159
|
-
|
|
160
133
|
declare function handleContradictionFlag(args: {
|
|
161
134
|
authContext: GatewayAuthContext;
|
|
162
135
|
correlationId: string;
|
|
@@ -793,4 +766,4 @@ declare function handleWorktreeBulkCreate(args: {
|
|
|
793
766
|
body: unknown;
|
|
794
767
|
}): Promise<Response>;
|
|
795
768
|
|
|
796
|
-
export {
|
|
769
|
+
export { handleBeliefArchive, handleBeliefBatchUpdateCriticality, handleBeliefBisect, handleBeliefConfidenceHistory, handleBeliefCreate, handleBeliefCreateContract, handleBeliefFork, handleBeliefGet, handleBeliefLineage, handleBeliefLink, handleBeliefList, handleBeliefReassignTopic, handleBeliefRefine, handleBeliefRelationships, handleBeliefUnlinkEvidence, handleBeliefUpdateConfidence, handleBeliefUpdateCriticality, handleBeliefUpdateRationale, handleBeliefUpdateStatus, handleContradictionFlag, handleContradictionGet, handleContradictionList, handleEdgeBatchCreate, handleEdgeCreate, handleEdgeDelete, handleEdgeList, handleEdgeRemove, handleEdgeTraverse, handleEdgeUpdate, handleEdgesRemoveBetween, handleEventsList, handleEventsReplay, handleEvidenceClassify, handleEvidenceClassifyBatch, handleEvidenceCreate, handleEvidenceFlagIncorrect, handleEvidenceGet, handleEvidenceLink, handleEvidenceList, handleEvidenceRemove, handleEvidenceSearch, handleEvidenceUpdate, handleEvidenceUpdateStatus, handleEvidenceUpdateVerificationStatus, handleGraphAnalyze, handleGraphBias, handleGraphFalsify, handleGraphGaps, handleGraphNeighborhood, handleGraphTraverse, handleIdentityWhoami, handleOntologyBind, handleOntologyGet, handleOntologyList, handleOntologyMatch, handleQuestionAdd, handleQuestionAdvanceToConviction, handleQuestionAnswer, handleQuestionArchive, handleQuestionBatchCreate, handleQuestionCreate, handleQuestionDelete, handleQuestionFinalizeConviction, handleQuestionGet, handleQuestionGetAnswer, handleQuestionList, handleQuestionRefine, handleQuestionUpdate, handleQuestionUpdateConviction, handleQuestionUpdatePriority, handleQuestionUpdateStatus, handleSearchResources, handleSourceGet, handleSourceUpsert, handleTaskComplete, handleTaskCreate, handleTaskList, handleTaskUpdate, handleTopicBulkCreate, handleTopicCoverage, handleTopicCreate, handleTopicGet, handleTopicList, handleTopicRemove, handleTopicTree, handleTopicUpdate, handleWebhookCreate, handleWebhookDelete, handleWebhookDeliveries, handleWebhookGet, handleWebhookHealth, handleWebhookList, handleWebhookTest, handleWebhookUpdate, handleWorktreeActivate, handleWorktreeAdvancePhase, handleWorktreeBulkCreate, handleWorktreeComplete, handleWorktreeCreate, handleWorktreeList, handleWorktreeListAll, handleWorktreeMerge, handleWorktreePatchState, handleWorktreeSetPhase, handleWorktreeUpdate, handleWorktreeUpdateTargets };
|