@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/gateway.js CHANGED
@@ -5929,6 +5929,7 @@ var INFISICAL_TENANT_SOFTWARE_SYSTEMS = [
5929
5929
  vercelProjectName: "ai-chatbot-diao",
5930
5930
  vercelTeamId: "team_mZBKwvXSSu7qxrWdg2go29sK",
5931
5931
  vercelProjectId: "prj_PihFw8kohSSw14nZs9YQV3xVo517",
5932
+ vercelWriterTokenEnv: "STACK_VERCEL_TOKEN",
5932
5933
  repository: {
5933
5934
  owner: "stack-vc",
5934
5935
  name: "front-end"
@@ -5949,6 +5950,7 @@ var INFISICAL_TENANT_SOFTWARE_SYSTEMS = [
5949
5950
  vercelProjectName: "stackos",
5950
5951
  vercelTeamId: "team_mZBKwvXSSu7qxrWdg2go29sK",
5951
5952
  vercelProjectId: "prj_rXLAL0Z6v9p1fasKbomby6GI7kau",
5953
+ vercelWriterTokenEnv: "STACK_VERCEL_TOKEN",
5952
5954
  repository: {
5953
5955
  owner: "stack-vc",
5954
5956
  name: "stackos"
@@ -5969,6 +5971,7 @@ var INFISICAL_TENANT_SOFTWARE_SYSTEMS = [
5969
5971
  vercelProjectName: "stackos-engineering-graph",
5970
5972
  vercelTeamId: "team_mZBKwvXSSu7qxrWdg2go29sK",
5971
5973
  vercelProjectId: "prj_zAU0Zn9GkbHjHI63dxW4vLpmoqTJ",
5974
+ vercelWriterTokenEnv: "STACK_VERCEL_TOKEN",
5972
5975
  repository: {
5973
5976
  owner: "stack-vc",
5974
5977
  name: "stackos-engineering-graph"
@@ -5989,6 +5992,7 @@ var INFISICAL_TENANT_SOFTWARE_SYSTEMS = [
5989
5992
  vercelProjectName: "lucern-graph",
5990
5993
  vercelTeamId: "team_vTHxxs8GAoAFUe6RWMlYt7fY",
5991
5994
  vercelProjectId: "prj_KJ8EKV8vGM5xURpqmwTwmECEGPgQ",
5995
+ vercelWriterTokenEnv: "LUCERN_VERCEL_TOKEN",
5992
5996
  repository: {
5993
5997
  owner: "LucernAI",
5994
5998
  name: "lucern-graph"
@@ -14514,6 +14518,19 @@ var createTaskArgs = z.object({
14514
14518
  tags: z.array(z.string()).optional().describe("Free-form tags."),
14515
14519
  metadata: z.record(z.unknown()).optional().describe("Structured task metadata for handoff context and routing hints.")
14516
14520
  });
14521
+ var updateTaskArgs = z.object({
14522
+ taskId: z.string().describe("Task to update."),
14523
+ title: z.string().optional().describe("Updated task title."),
14524
+ description: z.string().optional().describe("Updated task description."),
14525
+ priority: taskPrioritySchema.optional().describe("Updated priority."),
14526
+ status: taskStatusSchema2.optional().describe("Updated status."),
14527
+ linkedWorktreeId: z.string().optional().describe("Worktree this task belongs to."),
14528
+ linkedBeliefId: z.string().optional().describe("Belief this task supports."),
14529
+ linkedQuestionId: z.string().optional().describe("Question this task addresses."),
14530
+ assigneeId: z.string().optional().describe("Principal assigned to the task."),
14531
+ blockedReason: z.string().optional().describe("Reason the task is blocked or deferred."),
14532
+ metadata: z.record(z.unknown()).optional().describe("Structured task metadata for handoff context and routing hints.")
14533
+ });
14517
14534
  var createTaskInput = (input) => compactRecord4({
14518
14535
  title: input.title,
14519
14536
  topicId: input.topicId,
@@ -14600,7 +14617,8 @@ var tasksContracts = [
14600
14617
  kind: "mutation",
14601
14618
  inputProjection: taskInput
14602
14619
  },
14603
- gateway: { handler: "tasks.update" }
14620
+ gateway: { handler: "tasks.update" },
14621
+ args: updateTaskArgs
14604
14622
  }),
14605
14623
  surfaceContract({
14606
14624
  name: "complete_task",
@@ -23028,6 +23046,8 @@ function normalizeTaskRecord(value) {
23028
23046
  status: normalizeTaskStatus(record.status ?? metadata.status),
23029
23047
  priority: normalizeTaskPriority(record.priority ?? metadata.priority),
23030
23048
  taskType: normalizeTaskType(record.taskType ?? metadata.taskType),
23049
+ ...readString16(record.assigneeId) ? { assigneeId: readString16(record.assigneeId) } : {},
23050
+ ...readString16(record.blockedReason) ? { blockedReason: readString16(record.blockedReason) } : {},
23031
23051
  ...readString16(record.linkedBeliefId) ? { linkedBeliefId: readString16(record.linkedBeliefId) } : {},
23032
23052
  ...readString16(record.linkedQuestionId) ? { linkedQuestionId: readString16(record.linkedQuestionId) } : {},
23033
23053
  ...readString16(record.linkedWorktreeId) ? { linkedWorktreeId: readString16(record.linkedWorktreeId) } : {},
@@ -23070,7 +23090,7 @@ async function createTask(deps, input) {
23070
23090
  }
23071
23091
  async function updateTask(deps, input) {
23072
23092
  const taskRawId = normalizeRequiredString9(input.id, "id");
23073
- const hasPatchField = input.title !== void 0 || input.description !== void 0 || input.priority !== void 0 || input.status !== void 0 || input.linkedBeliefId !== void 0 || input.linkedQuestionId !== void 0 || input.linkedWorktreeId !== void 0 || input.metadata !== void 0;
23093
+ const hasPatchField = input.title !== void 0 || input.description !== void 0 || input.priority !== void 0 || input.status !== void 0 || input.assigneeId !== void 0 || input.blockedReason !== void 0 || input.linkedBeliefId !== void 0 || input.linkedQuestionId !== void 0 || input.linkedWorktreeId !== void 0 || input.metadata !== void 0;
23074
23094
  if (hasPatchField) {
23075
23095
  await deps.updateTask({
23076
23096
  taskRawId,
@@ -23078,6 +23098,8 @@ async function updateTask(deps, input) {
23078
23098
  ...input.description !== void 0 ? { description: readString16(input.description) } : {},
23079
23099
  ...input.priority !== void 0 ? { priority: normalizeTaskPriority(input.priority) } : {},
23080
23100
  ...input.status !== void 0 ? { status: normalizeTaskStatus(input.status) } : {},
23101
+ ...input.assigneeId !== void 0 ? { assigneeId: readString16(input.assigneeId) } : {},
23102
+ ...input.blockedReason !== void 0 ? { blockedReason: readString16(input.blockedReason) } : {},
23081
23103
  ...input.linkedBeliefId !== void 0 ? { linkedBeliefId: readString16(input.linkedBeliefId) } : {},
23082
23104
  ...input.linkedQuestionId !== void 0 ? { linkedQuestionId: readString16(input.linkedQuestionId) } : {},
23083
23105
  ...input.linkedWorktreeId !== void 0 ? { linkedWorktreeId: readString16(input.linkedWorktreeId) } : {},
@@ -23272,6 +23294,8 @@ function createGatewayTasksPort(authContext, options) {
23272
23294
  ...input.description !== void 0 ? { description: input.description } : {},
23273
23295
  ...input.priority !== void 0 ? { priority: input.priority } : {},
23274
23296
  ...input.status !== void 0 ? { status: input.status } : {},
23297
+ ...input.assigneeId !== void 0 ? { assigneeId: input.assigneeId } : {},
23298
+ ...input.blockedReason !== void 0 ? { blockedReason: input.blockedReason } : {},
23275
23299
  ...input.linkedBeliefId !== void 0 ? { linkedBeliefId: input.linkedBeliefId } : {},
23276
23300
  ...input.linkedQuestionId !== void 0 ? { linkedQuestionId: input.linkedQuestionId } : {},
23277
23301
  ...input.linkedWorktreeId !== void 0 ? { linkedWorktreeId: input.linkedWorktreeId } : {},
@@ -29156,6 +29180,8 @@ async function handleTaskUpdate(args) {
29156
29180
  description: readString32(body.description),
29157
29181
  priority: readString32(body.priority),
29158
29182
  status: readString32(body.status),
29183
+ assigneeId: readString32(body.assigneeId),
29184
+ blockedReason: readString32(body.blockedReason),
29159
29185
  linkedBeliefId: readString32(body.linkedBeliefId),
29160
29186
  linkedQuestionId: readString32(body.linkedQuestionId),
29161
29187
  linkedWorktreeId: readString32(body.linkedWorktreeId),