@delega-dev/mcp 1.0.5 → 1.0.6
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/index.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -169,7 +169,7 @@ server.tool(
|
|
|
169
169
|
"get_task",
|
|
170
170
|
"Get full details of a specific task including subtasks",
|
|
171
171
|
{
|
|
172
|
-
task_id: z.
|
|
172
|
+
task_id: z.union([z.string(), z.number()]).describe("The task ID (use the ID from list_tasks, e.g. '3a7d...')")
|
|
173
173
|
},
|
|
174
174
|
async ({ task_id }) => {
|
|
175
175
|
try {
|
|
@@ -208,7 +208,7 @@ server.tool(
|
|
|
208
208
|
"update_task",
|
|
209
209
|
"Update an existing task's fields",
|
|
210
210
|
{
|
|
211
|
-
task_id: z.
|
|
211
|
+
task_id: z.union([z.string(), z.number()]).describe("The task ID to update"),
|
|
212
212
|
content: z.string().optional().describe("New task title / content"),
|
|
213
213
|
description: z.string().optional().describe("New description"),
|
|
214
214
|
labels: z.array(z.string()).optional().describe("New labels"),
|
|
@@ -233,7 +233,7 @@ server.tool(
|
|
|
233
233
|
"complete_task",
|
|
234
234
|
"Mark a task as completed",
|
|
235
235
|
{
|
|
236
|
-
task_id: z.
|
|
236
|
+
task_id: z.union([z.string(), z.number()]).describe("The task ID to complete")
|
|
237
237
|
},
|
|
238
238
|
async ({ task_id }) => {
|
|
239
239
|
try {
|
|
@@ -253,7 +253,7 @@ server.tool(
|
|
|
253
253
|
"delete_task",
|
|
254
254
|
"Delete a task permanently",
|
|
255
255
|
{
|
|
256
|
-
task_id: z.
|
|
256
|
+
task_id: z.union([z.string(), z.number()]).describe("The task ID to delete")
|
|
257
257
|
},
|
|
258
258
|
async ({ task_id }) => {
|
|
259
259
|
try {
|
|
@@ -270,7 +270,7 @@ server.tool(
|
|
|
270
270
|
"add_comment",
|
|
271
271
|
"Add a comment to a task",
|
|
272
272
|
{
|
|
273
|
-
task_id: z.
|
|
273
|
+
task_id: z.union([z.string(), z.number()]).describe("The task ID to comment on"),
|
|
274
274
|
content: z.string().describe("Comment text"),
|
|
275
275
|
author: z.string().optional().describe("Comment author name")
|
|
276
276
|
},
|