@gwdn/nexus-mcp 0.8.11 → 0.10.1
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/LICENSE +190 -0
- package/README.md +85 -34
- package/dist/server.d.ts +2 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +24 -8
- package/dist/server.js.map +1 -1
- package/dist/tools/delete-task.d.ts +31 -0
- package/dist/tools/delete-task.d.ts.map +1 -0
- package/dist/tools/delete-task.js +36 -0
- package/dist/tools/delete-task.js.map +1 -0
- package/dist/tools/dispatches.d.ts +276 -0
- package/dist/tools/dispatches.d.ts.map +1 -0
- package/dist/tools/dispatches.js +290 -0
- package/dist/tools/dispatches.js.map +1 -0
- package/dist/tools/letters.d.ts +3 -3
- package/dist/tools/update-task-status.d.ts +9 -4
- package/dist/tools/update-task-status.d.ts.map +1 -1
- package/dist/tools/update-task-status.js +17 -2
- package/dist/tools/update-task-status.js.map +1 -1
- package/package.json +20 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* task_update -- Layer 2 Coordination
|
|
3
3
|
*
|
|
4
|
-
* Updates
|
|
4
|
+
* Updates a task's status, priority, assignee, title, or description.
|
|
5
|
+
* All fields except task_id are optional — at least one must be provided.
|
|
5
6
|
* Delegates to POST /api/mcp/tasks (action: task_update).
|
|
6
7
|
*/
|
|
7
8
|
import { z } from 'zod';
|
|
@@ -10,7 +11,8 @@ export const updateTaskStatusSchema = {
|
|
|
10
11
|
task_id: z.string().uuid().describe('Task UUID to update'),
|
|
11
12
|
status: z
|
|
12
13
|
.enum(['open', 'in_progress', 'blocked', 'done', 'cancelled'])
|
|
13
|
-
.
|
|
14
|
+
.optional()
|
|
15
|
+
.describe('New task status (optional)'),
|
|
14
16
|
priority: z
|
|
15
17
|
.enum(['low', 'medium', 'high', 'urgent'])
|
|
16
18
|
.optional()
|
|
@@ -20,6 +22,17 @@ export const updateTaskStatusSchema = {
|
|
|
20
22
|
.uuid()
|
|
21
23
|
.optional()
|
|
22
24
|
.describe('UUID of the newly assigned user (optional)'),
|
|
25
|
+
title: z
|
|
26
|
+
.string()
|
|
27
|
+
.max(500)
|
|
28
|
+
.optional()
|
|
29
|
+
.describe('Updated task title (optional)'),
|
|
30
|
+
description: z
|
|
31
|
+
.string()
|
|
32
|
+
.max(100_000)
|
|
33
|
+
.nullable()
|
|
34
|
+
.optional()
|
|
35
|
+
.describe('Updated task description (optional, null to clear)'),
|
|
23
36
|
agent_id: z.string().max(200).optional().describe('Agent identifier if applicable'),
|
|
24
37
|
};
|
|
25
38
|
export async function updateTaskStatus(args) {
|
|
@@ -29,6 +42,8 @@ export async function updateTaskStatus(args) {
|
|
|
29
42
|
status: args.status,
|
|
30
43
|
priority: args.priority,
|
|
31
44
|
assignee: args.assignee,
|
|
45
|
+
title: args.title,
|
|
46
|
+
description: args.description,
|
|
32
47
|
agent_id: args.agent_id,
|
|
33
48
|
});
|
|
34
49
|
if (!result.ok) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-task-status.js","sourceRoot":"","sources":["../../src/tools/update-task-status.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"update-task-status.js","sourceRoot":"","sources":["../../src/tools/update-task-status.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IAC1D,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;SAC7D,QAAQ,EAAE;SACV,QAAQ,CAAC,4BAA4B,CAAC;IACzC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AAK,EAAE,MAAM,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;iBACvD;aACF;YACD,OAAO,EAAE,IAAI;SACd,CAAA;IACH,CAAC;IAED,OAAO;QACL,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE;SACtE;KACF,CAAA;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gwdn/nexus-mcp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "MCP server for the Nexus platform",
|
|
3
|
+
"version": "0.10.1",
|
|
4
|
+
"description": "MCP server for the Gatewarden Nexus platform — mediation layer between local agent runtimes and the Nexus HTTP API",
|
|
5
|
+
"license": "Apache-2.0",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"main": "dist/server.js",
|
|
7
8
|
"bin": {
|
|
8
9
|
"nexus-mcp": "dist/server.js"
|
|
9
10
|
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/gwnexus/nexus-mcp.git"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://nexus.gatewarden.eu",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/gwnexus/nexus-mcp/issues"
|
|
18
|
+
},
|
|
19
|
+
"author": "RelicFrog Holding UG (haftungsbeschraenkt)",
|
|
20
|
+
"keywords": [
|
|
21
|
+
"mcp",
|
|
22
|
+
"model-context-protocol",
|
|
23
|
+
"nexus",
|
|
24
|
+
"ai-agent",
|
|
25
|
+
"agent-coordination",
|
|
26
|
+
"knowledge-management"
|
|
27
|
+
],
|
|
10
28
|
"scripts": {
|
|
11
29
|
"build": "tsc && chmod +x dist/server.js",
|
|
12
30
|
"prepublishOnly": "npm run build",
|