@trylighthouse/mcp-server 0.2.22 → 0.2.23
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/build/server.js +7 -4
- package/package.json +1 -1
package/build/server.js
CHANGED
|
@@ -92,7 +92,7 @@ export function createServer(apiKey) {
|
|
|
92
92
|
const api = new LighthouseAPI(apiKey);
|
|
93
93
|
const server = new McpServer({
|
|
94
94
|
name: "lighthouse",
|
|
95
|
-
version: "0.2.
|
|
95
|
+
version: "0.2.23",
|
|
96
96
|
});
|
|
97
97
|
const originalRegister = server.registerTool.bind(server);
|
|
98
98
|
server.registerTool = (name, schemaOrConfig, handler) => {
|
|
@@ -1483,7 +1483,7 @@ export function createServer(apiKey) {
|
|
|
1483
1483
|
title: "Update Task",
|
|
1484
1484
|
annotations: DESTRUCTIVE,
|
|
1485
1485
|
description: "Update a CRM task. Provide only fields you want to change. " +
|
|
1486
|
-
"assigned_to replaces all current assignees. In records, " + TASK_LINKS_PER_TYPE.charAt(0).toLowerCase() + TASK_LINKS_PER_TYPE.slice(1) + " " +
|
|
1486
|
+
"assigned_to takes an array, which replaces all current assignees, or { add: [...] } / { remove: [...] }, which change those people and keep the others. One id on its own is refused. In records, " + TASK_LINKS_PER_TYPE.charAt(0).toLowerCase() + TASK_LINKS_PER_TYPE.slice(1) + " " +
|
|
1487
1487
|
"Status values are configured per workspace and are NOT fixed: lighthouse_crm_list_options with record_type 'task' and permalink 'status' returns the allowed values, and `status` takes the option's value (not its label). " +
|
|
1488
1488
|
"status and priority answer the stored VALUE and nothing else. The words your workspace puts on those values come from lighthouse_crm_list_options(record_type:'task', permalink:'status' | 'priority'), one call that covers every task you will ever read.",
|
|
1489
1489
|
inputSchema: {
|
|
@@ -1494,9 +1494,12 @@ export function createServer(apiKey) {
|
|
|
1494
1494
|
priority: z.string().nullable().optional().describe("Priority option value from lighthouse_crm_list_options (record_type 'task', permalink 'priority'): urgent, high, medium, low or very_low unless this workspace configured its own. Speak to the user in the label, never the value. Send null to clear it."),
|
|
1495
1495
|
due_date: z.string().optional(),
|
|
1496
1496
|
assigned_to: z
|
|
1497
|
-
.
|
|
1497
|
+
.union([
|
|
1498
|
+
z.array(z.string().uuid()),
|
|
1499
|
+
z.object({ add: z.array(z.string().uuid()).optional(), remove: z.array(z.string().uuid()).optional() }),
|
|
1500
|
+
])
|
|
1498
1501
|
.optional()
|
|
1499
|
-
.describe("
|
|
1502
|
+
.describe("An array of user UUIDs, even for one person (replaces current assignees), or { add: [...] } / { remove: [...] } to change those people and keep the others"),
|
|
1500
1503
|
records: z
|
|
1501
1504
|
.record(z.array(z.string().uuid()))
|
|
1502
1505
|
.optional()
|