@lucern/mcp 0.2.0-alpha.9 → 0.3.0-alpha.0
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 +0 -1
- package/dist/gateway.js +12201 -1306
- package/dist/gateway.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +8347 -816
- package/dist/index.js.map +1 -1
- package/dist/runtime.js +12992 -1403
- package/dist/runtime.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -168,6 +168,7 @@ type AdditionalMcpTool = {
|
|
|
168
168
|
};
|
|
169
169
|
declare const LUCERN_MCP_RESOURCE_URIS: readonly ["lucern://schema/kernel", "lucern://schema/packs/{packId}", "lucern://schema/extensions", "lucern://graph/sample", "lucern://api/openapi", "lucern://sdk/examples", "lucern://docs/invariants"];
|
|
170
170
|
declare const LUCERN_MCP_TOOL_NAMES: BuiltinToolName[];
|
|
171
|
+
declare const LUCERN_PUBLIC_MCP_TOOL_NAMES: string[];
|
|
171
172
|
declare function createLucernMcpServer(options?: {
|
|
172
173
|
apiKey?: string;
|
|
173
174
|
sessionToken?: string;
|
|
@@ -181,6 +182,7 @@ declare function createLucernMcpServer(options?: {
|
|
|
181
182
|
onEnvelope?: (envelope: ToolExecutionEnvelope) => Promise<void> | void;
|
|
182
183
|
onAuditEvent?: (event: ToolExecutionAuditEvent) => Promise<void> | void;
|
|
183
184
|
additionalTools?: readonly AdditionalMcpTool[];
|
|
185
|
+
includeInternalTools?: boolean;
|
|
184
186
|
}): {
|
|
185
187
|
server: McpServerRuntime;
|
|
186
188
|
resources: readonly McpResourceDescriptor[];
|
|
@@ -203,6 +205,7 @@ type StandaloneMcpServerOptions = {
|
|
|
203
205
|
onEnvelope?: (envelope: ToolExecutionEnvelope) => Promise<void> | void;
|
|
204
206
|
onAuditEvent?: (event: ToolExecutionAuditEvent) => Promise<void> | void;
|
|
205
207
|
additionalTools?: readonly AdditionalMcpTool[];
|
|
208
|
+
includeInternalTools?: boolean;
|
|
206
209
|
};
|
|
207
210
|
declare function createLucernStandaloneMcpServer(options?: StandaloneMcpServerOptions): {
|
|
208
211
|
server: McpServer;
|
|
@@ -304,4 +307,4 @@ type ValidationResult = {
|
|
|
304
307
|
};
|
|
305
308
|
declare function validateContextPackSchema(payload: unknown): ValidationResult;
|
|
306
309
|
|
|
307
|
-
export { type AuthenticatedGatewayHandler, BOOTSTRAP_MCP_TOOLS, COORDINATION_MCP_TOOLS, type ContextRankingProfile, EPISTEMIC_CONTRACT_MCP_TOOLS, type JsonRecord, LUCERN_AGENT_MD, LUCERN_MCP_RESOURCE_URIS, LUCERN_MCP_TOOL_NAMES, LUCERN_OBSERVER_PROMPT_NAME, type McpAuthContext, McpObservationStore, type RemoteMcpServerOptions, SCOPE_MCP_TOOLS, type StandaloneMcpServerOptions, type ToolExecutionAuditEvent, type ToolExecutionAuthMode, type ToolExecutionEnvelope, type ToolExecutionTransportKind, type TransportParityDriftKind, buildAuthenticatedHandlerMap, buildLucernObserverPrompt, callMcpTool, classifyTransportParityDrift, closeMcpClient, createLucernAdminClient, createLucernMcpClient, createLucernMcpHttpRequestHandler, createLucernMcpServer, createLucernStandaloneMcpServer, createMcpHandlerRegistry, createToolExecutionEnvelope, executeToolWithEnvelope, initializeLucernScriptEnv, loadDiscoveryHandlers, parseToolExecutionMetadata, readArg, resolveMcpCredentials, resolveMcpSessionTenantId, runLucernMcpCli, startLucernMcpHttpServer, startLucernMcpStdioServer, validateContextPackSchema };
|
|
310
|
+
export { type AuthenticatedGatewayHandler, BOOTSTRAP_MCP_TOOLS, COORDINATION_MCP_TOOLS, type ContextRankingProfile, EPISTEMIC_CONTRACT_MCP_TOOLS, type JsonRecord, LUCERN_AGENT_MD, LUCERN_MCP_RESOURCE_URIS, LUCERN_MCP_TOOL_NAMES, LUCERN_OBSERVER_PROMPT_NAME, LUCERN_PUBLIC_MCP_TOOL_NAMES, type McpAuthContext, McpObservationStore, type RemoteMcpServerOptions, SCOPE_MCP_TOOLS, type StandaloneMcpServerOptions, type ToolExecutionAuditEvent, type ToolExecutionAuthMode, type ToolExecutionEnvelope, type ToolExecutionTransportKind, type TransportParityDriftKind, buildAuthenticatedHandlerMap, buildLucernObserverPrompt, callMcpTool, classifyTransportParityDrift, closeMcpClient, createLucernAdminClient, createLucernMcpClient, createLucernMcpHttpRequestHandler, createLucernMcpServer, createLucernStandaloneMcpServer, createMcpHandlerRegistry, createToolExecutionEnvelope, executeToolWithEnvelope, initializeLucernScriptEnv, loadDiscoveryHandlers, parseToolExecutionMetadata, readArg, resolveMcpCredentials, resolveMcpSessionTenantId, runLucernMcpCli, startLucernMcpHttpServer, startLucernMcpStdioServer, validateContextPackSchema };
|