@lucern/mcp 0.3.0-alpha.14 → 0.3.0-alpha.15
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/cli.js +25 -4
- package/dist/cli.js.map +1 -1
- package/dist/gateway.js +28 -2
- package/dist/gateway.js.map +1 -1
- package/dist/hosted-route.js +25 -4
- package/dist/hosted-route.js.map +1 -1
- package/dist/index.js +25 -4
- package/dist/index.js.map +1 -1
- package/dist/runtime.js +19 -1
- package/dist/runtime.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/
|
|
|
12
12
|
import { McpServer, ResourceTemplate } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
13
13
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
14
14
|
import * as graphIntel_star from '@lucern/reasoning-kernel/graphIntel';
|
|
15
|
-
import { resolveInfisicalSecretFromBinding, SecretResolverError } from '@lucern/secrets';
|
|
15
|
+
import { resolveInfisicalSecretFromBinding, requestBrokeredInfisicalSecret, SecretResolverError } from '@lucern/secrets';
|
|
16
16
|
import 'crypto';
|
|
17
17
|
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
|
|
18
18
|
import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';
|
|
@@ -6653,6 +6653,7 @@ var INFISICAL_TENANT_SOFTWARE_SYSTEMS = [
|
|
|
6653
6653
|
vercelProjectName: "ai-chatbot-diao",
|
|
6654
6654
|
vercelTeamId: "team_mZBKwvXSSu7qxrWdg2go29sK",
|
|
6655
6655
|
vercelProjectId: "prj_PihFw8kohSSw14nZs9YQV3xVo517",
|
|
6656
|
+
vercelWriterTokenEnv: "STACK_VERCEL_TOKEN",
|
|
6656
6657
|
repository: {
|
|
6657
6658
|
owner: "stack-vc",
|
|
6658
6659
|
name: "front-end"
|
|
@@ -6673,6 +6674,7 @@ var INFISICAL_TENANT_SOFTWARE_SYSTEMS = [
|
|
|
6673
6674
|
vercelProjectName: "stackos",
|
|
6674
6675
|
vercelTeamId: "team_mZBKwvXSSu7qxrWdg2go29sK",
|
|
6675
6676
|
vercelProjectId: "prj_rXLAL0Z6v9p1fasKbomby6GI7kau",
|
|
6677
|
+
vercelWriterTokenEnv: "STACK_VERCEL_TOKEN",
|
|
6676
6678
|
repository: {
|
|
6677
6679
|
owner: "stack-vc",
|
|
6678
6680
|
name: "stackos"
|
|
@@ -6693,6 +6695,7 @@ var INFISICAL_TENANT_SOFTWARE_SYSTEMS = [
|
|
|
6693
6695
|
vercelProjectName: "stackos-engineering-graph",
|
|
6694
6696
|
vercelTeamId: "team_mZBKwvXSSu7qxrWdg2go29sK",
|
|
6695
6697
|
vercelProjectId: "prj_zAU0Zn9GkbHjHI63dxW4vLpmoqTJ",
|
|
6698
|
+
vercelWriterTokenEnv: "STACK_VERCEL_TOKEN",
|
|
6696
6699
|
repository: {
|
|
6697
6700
|
owner: "stack-vc",
|
|
6698
6701
|
name: "stackos-engineering-graph"
|
|
@@ -6713,6 +6716,7 @@ var INFISICAL_TENANT_SOFTWARE_SYSTEMS = [
|
|
|
6713
6716
|
vercelProjectName: "lucern-graph",
|
|
6714
6717
|
vercelTeamId: "team_vTHxxs8GAoAFUe6RWMlYt7fY",
|
|
6715
6718
|
vercelProjectId: "prj_KJ8EKV8vGM5xURpqmwTwmECEGPgQ",
|
|
6719
|
+
vercelWriterTokenEnv: "LUCERN_VERCEL_TOKEN",
|
|
6716
6720
|
repository: {
|
|
6717
6721
|
owner: "LucernAI",
|
|
6718
6722
|
name: "lucern-graph"
|
|
@@ -17974,6 +17978,19 @@ var createTaskArgs = z.object({
|
|
|
17974
17978
|
tags: z.array(z.string()).optional().describe("Free-form tags."),
|
|
17975
17979
|
metadata: z.record(z.unknown()).optional().describe("Structured task metadata for handoff context and routing hints.")
|
|
17976
17980
|
});
|
|
17981
|
+
var updateTaskArgs = z.object({
|
|
17982
|
+
taskId: z.string().describe("Task to update."),
|
|
17983
|
+
title: z.string().optional().describe("Updated task title."),
|
|
17984
|
+
description: z.string().optional().describe("Updated task description."),
|
|
17985
|
+
priority: taskPrioritySchema.optional().describe("Updated priority."),
|
|
17986
|
+
status: taskStatusSchema2.optional().describe("Updated status."),
|
|
17987
|
+
linkedWorktreeId: z.string().optional().describe("Worktree this task belongs to."),
|
|
17988
|
+
linkedBeliefId: z.string().optional().describe("Belief this task supports."),
|
|
17989
|
+
linkedQuestionId: z.string().optional().describe("Question this task addresses."),
|
|
17990
|
+
assigneeId: z.string().optional().describe("Principal assigned to the task."),
|
|
17991
|
+
blockedReason: z.string().optional().describe("Reason the task is blocked or deferred."),
|
|
17992
|
+
metadata: z.record(z.unknown()).optional().describe("Structured task metadata for handoff context and routing hints.")
|
|
17993
|
+
});
|
|
17977
17994
|
var createTaskInput = (input) => compactRecord4({
|
|
17978
17995
|
title: input.title,
|
|
17979
17996
|
topicId: input.topicId,
|
|
@@ -18060,7 +18077,8 @@ var tasksContracts = [
|
|
|
18060
18077
|
kind: "mutation",
|
|
18061
18078
|
inputProjection: taskInput
|
|
18062
18079
|
},
|
|
18063
|
-
gateway: { handler: "tasks.update" }
|
|
18080
|
+
gateway: { handler: "tasks.update" },
|
|
18081
|
+
args: updateTaskArgs
|
|
18064
18082
|
}),
|
|
18065
18083
|
surfaceContract({
|
|
18066
18084
|
name: "complete_task",
|
|
@@ -20854,6 +20872,7 @@ __export(src_exports, {
|
|
|
20854
20872
|
randomIdempotencyKey: () => randomIdempotencyKey,
|
|
20855
20873
|
readInfisicalRuntimeBootstrap: () => readInfisicalRuntimeBootstrap,
|
|
20856
20874
|
registerCustomTool: () => registerCustomTool,
|
|
20875
|
+
requestBrokeredInfisicalSecret: () => requestBrokeredInfisicalSecret,
|
|
20857
20876
|
resolveDeliveryFailureStatus: () => resolveDeliveryFailureStatus,
|
|
20858
20877
|
resolveInfisicalSecretFromBinding: () => resolveInfisicalSecretFromBinding,
|
|
20859
20878
|
resolveText: () => resolveText,
|
|
@@ -24704,6 +24723,8 @@ function createTasksFacade(config = {}) {
|
|
|
24704
24723
|
description: input.description,
|
|
24705
24724
|
priority: input.priority,
|
|
24706
24725
|
status: input.status,
|
|
24726
|
+
assigneeId: input.assigneeId,
|
|
24727
|
+
blockedReason: input.blockedReason,
|
|
24707
24728
|
linkedBeliefId: input.linkedBeliefId,
|
|
24708
24729
|
linkedQuestionId: input.linkedQuestionId,
|
|
24709
24730
|
linkedWorktreeId: input.linkedWorktreeId,
|
|
@@ -28146,7 +28167,7 @@ function createToolRegistryClient(config = {}) {
|
|
|
28146
28167
|
}
|
|
28147
28168
|
|
|
28148
28169
|
// ../sdk/src/version.ts
|
|
28149
|
-
var LUCERN_SDK_VERSION = "0.3.0-alpha.
|
|
28170
|
+
var LUCERN_SDK_VERSION = "0.3.0-alpha.15";
|
|
28150
28171
|
|
|
28151
28172
|
// ../sdk/src/workflowClient.ts
|
|
28152
28173
|
function normalizeLensQuery(value) {
|
|
@@ -34973,7 +34994,7 @@ function createLucernStandaloneMcpServer(options) {
|
|
|
34973
34994
|
});
|
|
34974
34995
|
const server = new McpServer({
|
|
34975
34996
|
name: "lucern-mcp",
|
|
34976
|
-
version: "0.3.0-alpha.
|
|
34997
|
+
version: "0.3.0-alpha.15"
|
|
34977
34998
|
});
|
|
34978
34999
|
registerTools(server, runtime);
|
|
34979
35000
|
const resources = registerResources(server, runtime, observationStore);
|