@lucern/mcp 0.3.0-alpha.17 → 0.3.0-alpha.3
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/README.md +1 -6
- package/dist/cli.js +19753 -31932
- package/dist/cli.js.map +1 -1
- package/dist/gateway.d.ts +1 -36
- package/dist/gateway.js +1221 -9046
- package/dist/gateway.js.map +1 -1
- package/dist/hosted-route.js +5033 -17121
- package/dist/hosted-route.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +19713 -31931
- package/dist/index.js.map +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +599 -6257
- package/dist/runtime.js.map +1 -1
- package/package.json +9 -11
package/dist/gateway.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { GatewayAuthContext } from '@lucern/contracts';
|
|
2
|
-
import { ConvexHttpClient } from 'convex/browser';
|
|
3
|
-
import { Permit } from 'permitio';
|
|
4
2
|
|
|
5
3
|
declare function handleBeliefCreate(args: {
|
|
6
4
|
authContext: GatewayAuthContext;
|
|
@@ -426,12 +424,6 @@ declare function handleGraphAnalysisListSuggestions(args: {
|
|
|
426
424
|
policyTraceId: string;
|
|
427
425
|
query: QueryRecord;
|
|
428
426
|
}): Promise<Response>;
|
|
429
|
-
declare function handleGraphAnalysisListChanges(args: {
|
|
430
|
-
authContext: GatewayAuthContext;
|
|
431
|
-
correlationId: string;
|
|
432
|
-
policyTraceId: string;
|
|
433
|
-
query: QueryRecord;
|
|
434
|
-
}): Promise<Response>;
|
|
435
427
|
declare function handleGraphAnalysisUpdateSuggestion(args: {
|
|
436
428
|
authContext: GatewayAuthContext;
|
|
437
429
|
correlationId: string;
|
|
@@ -526,33 +518,6 @@ declare function handleOntologyMatch(args: {
|
|
|
526
518
|
body: unknown;
|
|
527
519
|
}): Promise<Response>;
|
|
528
520
|
|
|
529
|
-
type PermitWebhookEnv = Record<string, string | undefined>;
|
|
530
|
-
type PermitProjectionClient = Pick<ConvexHttpClient, "action">;
|
|
531
|
-
declare function isPermitWebhookAuthorized(args: {
|
|
532
|
-
headers: Headers;
|
|
533
|
-
env?: PermitWebhookEnv;
|
|
534
|
-
}): boolean;
|
|
535
|
-
declare function extractPermitWebhookTenantKeys(body: unknown): string[];
|
|
536
|
-
declare function hasPermitWebhookTenantScope(body: unknown): boolean;
|
|
537
|
-
declare function handlePermitProjectionWebhook(args: {
|
|
538
|
-
request: Request;
|
|
539
|
-
body: unknown;
|
|
540
|
-
correlationId: string;
|
|
541
|
-
policyTraceId: string;
|
|
542
|
-
convexClient?: PermitProjectionClient;
|
|
543
|
-
}): Promise<Response>;
|
|
544
|
-
|
|
545
|
-
type ClerkWebhookClient = Pick<ConvexHttpClient, "query" | "mutation">;
|
|
546
|
-
declare const __testOnly: {
|
|
547
|
-
setPermitClientFactory(factory: (() => Permit) | null): void;
|
|
548
|
-
};
|
|
549
|
-
declare function handleClerkWebhook(args: {
|
|
550
|
-
request: Request;
|
|
551
|
-
correlationId: string;
|
|
552
|
-
policyTraceId: string;
|
|
553
|
-
convexClient?: ClerkWebhookClient;
|
|
554
|
-
}): Promise<Response>;
|
|
555
|
-
|
|
556
521
|
declare function handleQuestionCreate(args: {
|
|
557
522
|
authContext: GatewayAuthContext;
|
|
558
523
|
correlationId: string;
|
|
@@ -930,4 +895,4 @@ declare function handleWorktreeBulkCreate(args: {
|
|
|
930
895
|
body: unknown;
|
|
931
896
|
}): Promise<Response>;
|
|
932
897
|
|
|
933
|
-
export {
|
|
898
|
+
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, handleGraphAnalysisCompute, handleGraphAnalysisLatest, handleGraphAnalysisList, handleGraphAnalysisListSuggestions, handleGraphAnalysisSave, handleGraphAnalysisSaveSuggestions, handleGraphAnalysisUpdateSuggestion, handleGraphAnalyze, handleGraphBias, handleGraphEdgeList, handleGraphFalsify, handleGraphGaps, handleGraphNeighborhood, handleGraphNodeList, handleGraphRecommendationGet, handleGraphRecommendationStatus, handleGraphRecommendationsList, handleGraphTraverse, handleIdentityWhoami, handleOntologyBind, handleOntologyGet, handleOntologyList, handleOntologyMatch, handleOrgGraphByProvenance, handleOrgGraphNodeGet, handleOrgGraphPublished, handleOrgGraphSearch, 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, handleWorktreeListCampaigns, handleWorktreeMerge, handleWorktreePatchState, handleWorktreeSetPhase, handleWorktreeUpdate, handleWorktreeUpdateTargets };
|