@rk0429/agentic-relay 3.9.0 → 3.10.0
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.
|
@@ -2,9 +2,16 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
2
2
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
const agentSchema = z.object({
|
|
5
|
-
backend: z
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
backend: z
|
|
6
|
+
.enum(["claude", "codex", "gemini"])
|
|
7
|
+
.describe("Override automatic backend selection. If omitted, resolved from task_type via routing rules.")
|
|
8
|
+
.optional(),
|
|
9
|
+
prompt: z.string().min(1).describe("The instruction to send to the child agent."),
|
|
10
|
+
task_id: z
|
|
11
|
+
.string()
|
|
12
|
+
.min(1)
|
|
13
|
+
.describe("Task ID to link. The task auto-transitions ready → in_progress → review.")
|
|
14
|
+
.optional(),
|
|
8
15
|
task_type: z
|
|
9
16
|
.enum([
|
|
10
17
|
"orchestration",
|
|
@@ -14,13 +21,30 @@ const agentSchema = z.object({
|
|
|
14
21
|
"document_writing",
|
|
15
22
|
"code_review",
|
|
16
23
|
])
|
|
24
|
+
.describe("Determines the backend via routing rules: orchestration/document_writing/code_review → Claude, research/document_review/code_writing → Codex. Only orchestration can recursively call spawn_agents.")
|
|
25
|
+
.optional(),
|
|
26
|
+
session_id: z
|
|
27
|
+
.string()
|
|
28
|
+
.min(1)
|
|
29
|
+
.describe("Explicit session ID for the child agent. Auto-generated if omitted.")
|
|
30
|
+
.optional(),
|
|
31
|
+
system_prompt: z
|
|
32
|
+
.string()
|
|
33
|
+
.min(1)
|
|
34
|
+
.describe("Additional system prompt injected into the child agent alongside AGENTS.md content.")
|
|
17
35
|
.optional(),
|
|
18
|
-
session_id: z.string().min(1).optional(),
|
|
19
|
-
system_prompt: z.string().min(1).optional(),
|
|
20
36
|
});
|
|
21
37
|
const spawnAgentsInputSchema = {
|
|
22
|
-
agents: z
|
|
23
|
-
|
|
38
|
+
agents: z
|
|
39
|
+
.array(agentSchema)
|
|
40
|
+
.min(1)
|
|
41
|
+
.describe("One or more agent definitions to launch in parallel."),
|
|
42
|
+
max_depth: z
|
|
43
|
+
.number()
|
|
44
|
+
.int()
|
|
45
|
+
.positive()
|
|
46
|
+
.describe("Maximum recursive spawn depth. Defaults to .relay/config.json value (5 if unconfigured). Prevents infinite recursion.")
|
|
47
|
+
.optional(),
|
|
24
48
|
};
|
|
25
49
|
const taskStatusSchema = z.enum([
|
|
26
50
|
"backlog",
|
|
@@ -33,50 +57,108 @@ const taskStatusSchema = z.enum([
|
|
|
33
57
|
"archived",
|
|
34
58
|
]);
|
|
35
59
|
const createTaskInputSchema = {
|
|
36
|
-
title: z.string().min(1),
|
|
37
|
-
description: z.string().min(1),
|
|
38
|
-
parent_id: z
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
60
|
+
title: z.string().min(1).describe("Short, descriptive title for the task."),
|
|
61
|
+
description: z.string().min(1).describe("Detailed description of what the task entails."),
|
|
62
|
+
parent_id: z
|
|
63
|
+
.string()
|
|
64
|
+
.min(1)
|
|
65
|
+
.describe("ID of the parent task. Omit to create a root task.")
|
|
66
|
+
.optional(),
|
|
67
|
+
depends_on: z
|
|
68
|
+
.array(z.string().min(1))
|
|
69
|
+
.describe("IDs of sibling tasks (same parent) that must complete before this task can start.")
|
|
70
|
+
.optional(),
|
|
71
|
+
acceptance_criteria: z
|
|
72
|
+
.string()
|
|
73
|
+
.min(1)
|
|
74
|
+
.describe("Required for leaf tasks before they can transition to ready. Defines when the task is considered complete.")
|
|
75
|
+
.optional(),
|
|
76
|
+
actor_id: z
|
|
77
|
+
.string()
|
|
78
|
+
.min(1)
|
|
79
|
+
.describe("Override the actor identity for authorization. Usually auto-resolved from session context.")
|
|
80
|
+
.optional(),
|
|
42
81
|
};
|
|
43
82
|
const updateTaskStatusInputSchema = {
|
|
44
|
-
task_id: z.string().min(1),
|
|
45
|
-
status: taskStatusSchema,
|
|
46
|
-
comment: z
|
|
47
|
-
|
|
83
|
+
task_id: z.string().min(1).describe("ID of the task to transition."),
|
|
84
|
+
status: taskStatusSchema.describe("Target status. Valid transitions: backlog→ready, ready→in_progress, in_progress→review, review→done/in_progress, any→archived/superseded."),
|
|
85
|
+
comment: z
|
|
86
|
+
.string()
|
|
87
|
+
.min(1)
|
|
88
|
+
.describe("Required when rejecting a review (review → in_progress). Records feedback for the assigned agent.")
|
|
89
|
+
.optional(),
|
|
90
|
+
actor_id: z
|
|
91
|
+
.string()
|
|
92
|
+
.min(1)
|
|
93
|
+
.describe("Override the actor identity for authorization. Usually auto-resolved from session context.")
|
|
94
|
+
.optional(),
|
|
48
95
|
};
|
|
49
96
|
const assignAgentInputSchema = {
|
|
50
|
-
task_id: z.string().min(1),
|
|
51
|
-
agent_id: z
|
|
52
|
-
|
|
97
|
+
task_id: z.string().min(1).describe("ID of the task to assign."),
|
|
98
|
+
agent_id: z
|
|
99
|
+
.string()
|
|
100
|
+
.min(1)
|
|
101
|
+
.describe("ID of the agent to assign. The assigned agent gains permission to transition the task status."),
|
|
102
|
+
actor_id: z
|
|
103
|
+
.string()
|
|
104
|
+
.min(1)
|
|
105
|
+
.describe("Override the actor identity for authorization. Usually auto-resolved from session context.")
|
|
106
|
+
.optional(),
|
|
53
107
|
};
|
|
54
108
|
const listTasksInputSchema = {
|
|
55
|
-
parent_id: z
|
|
56
|
-
|
|
109
|
+
parent_id: z
|
|
110
|
+
.string()
|
|
111
|
+
.min(1)
|
|
112
|
+
.describe("Filter by parent task ID. Returns only direct children of the specified task.")
|
|
113
|
+
.optional(),
|
|
114
|
+
status: taskStatusSchema
|
|
115
|
+
.describe("Filter by task status. Returns only tasks matching the specified status.")
|
|
116
|
+
.optional(),
|
|
57
117
|
};
|
|
58
118
|
const getTaskInputSchema = {
|
|
59
|
-
task_id: z.string().min(1),
|
|
119
|
+
task_id: z.string().min(1).describe("ID of the task to retrieve."),
|
|
60
120
|
};
|
|
61
121
|
const updateTaskInputSchema = {
|
|
62
|
-
task_id: z.string().min(1),
|
|
63
|
-
title: z.string().min(1).optional(),
|
|
64
|
-
description: z.string().min(1).optional(),
|
|
65
|
-
acceptance_criteria: z
|
|
66
|
-
|
|
67
|
-
|
|
122
|
+
task_id: z.string().min(1).describe("ID of the task to update."),
|
|
123
|
+
title: z.string().min(1).describe("New title for the task.").optional(),
|
|
124
|
+
description: z.string().min(1).describe("New description for the task.").optional(),
|
|
125
|
+
acceptance_criteria: z
|
|
126
|
+
.string()
|
|
127
|
+
.min(1)
|
|
128
|
+
.describe("New acceptance criteria. Required for leaf tasks before transitioning to ready.")
|
|
129
|
+
.optional(),
|
|
130
|
+
depends_on: z
|
|
131
|
+
.array(z.string().min(1))
|
|
132
|
+
.describe("Replace the dependency list. All IDs must be sibling tasks sharing the same parent.")
|
|
133
|
+
.optional(),
|
|
134
|
+
actor_id: z
|
|
135
|
+
.string()
|
|
136
|
+
.min(1)
|
|
137
|
+
.describe("Override the actor identity for authorization. Usually auto-resolved from session context.")
|
|
138
|
+
.optional(),
|
|
68
139
|
};
|
|
69
140
|
const deleteTaskInputSchema = {
|
|
70
|
-
task_id: z.string().min(1),
|
|
71
|
-
actor_id: z
|
|
141
|
+
task_id: z.string().min(1).describe("ID of the task to archive."),
|
|
142
|
+
actor_id: z
|
|
143
|
+
.string()
|
|
144
|
+
.min(1)
|
|
145
|
+
.describe("Override the actor identity for authorization. Usually auto-resolved from session context.")
|
|
146
|
+
.optional(),
|
|
72
147
|
};
|
|
73
148
|
export function createRelayMcpServer(options) {
|
|
74
149
|
const server = new McpServer({
|
|
75
150
|
name: "agentic-relay",
|
|
76
|
-
version: "3.
|
|
151
|
+
version: "3.10.0",
|
|
77
152
|
});
|
|
78
153
|
if (options.allowSpawnAgents) {
|
|
79
|
-
server.tool("spawn_agents", "Launch one or more child agent CLI processes in parallel."
|
|
154
|
+
server.tool("spawn_agents", "Launch one or more child agent CLI processes in parallel. " +
|
|
155
|
+
"Use when a task decomposes into independent subtasks that benefit from parallel execution or different expertise (research, coding, review). " +
|
|
156
|
+
"Each agent runs as a separate CLI process; task_type determines the backend automatically. " +
|
|
157
|
+
"Link to a task via agents[].task_id for automatic status transitions (ready → in_progress → review). " +
|
|
158
|
+
"Do not use for simple, single-step tasks that the current agent can handle directly.", spawnAgentsInputSchema, {
|
|
159
|
+
destructiveHint: true,
|
|
160
|
+
openWorldHint: true,
|
|
161
|
+
}, async (args, extra) => {
|
|
80
162
|
const results = await options.service.spawnAgents(args, {
|
|
81
163
|
signal: extra.signal,
|
|
82
164
|
});
|
|
@@ -93,30 +175,57 @@ export function createRelayMcpServer(options) {
|
|
|
93
175
|
};
|
|
94
176
|
});
|
|
95
177
|
}
|
|
96
|
-
server.tool("create_task", "Create a task in the local task tree."
|
|
178
|
+
server.tool("create_task", "Create a task in the local task tree. " +
|
|
179
|
+
"Use parent_id to create child tasks under an existing task, or omit it for a root task. " +
|
|
180
|
+
"Leaf tasks (no children) require acceptance_criteria before they can transition to ready. " +
|
|
181
|
+
"Dependencies (depends_on) must reference sibling tasks sharing the same parent.", createTaskInputSchema, async (args, extra) => {
|
|
97
182
|
const task = await options.taskService.createTask(args, {
|
|
98
183
|
actorId: resolveActorId(extra.sessionId, args.actor_id),
|
|
99
184
|
});
|
|
100
185
|
return asJsonResult(task);
|
|
101
186
|
});
|
|
102
|
-
server.tool("update_task_status", "Transition a task to another lifecycle status."
|
|
187
|
+
server.tool("update_task_status", "Transition a task to another lifecycle status. " +
|
|
188
|
+
"Valid transitions: backlog→ready (requires deps done + acceptance_criteria for leaf), ready→in_progress (requires assigned agent), " +
|
|
189
|
+
"in_progress→review (requires all children done), review→done (parent agent approves), review→in_progress (rejection, comment required). " +
|
|
190
|
+
"Use update_task instead to change fields like title, description, or acceptance_criteria without changing status.", updateTaskStatusInputSchema, async (args, extra) => {
|
|
103
191
|
const task = await options.taskService.updateTaskStatus(args, {
|
|
104
192
|
actorId: resolveActorId(extra.sessionId, args.actor_id),
|
|
105
193
|
});
|
|
106
194
|
return asJsonResult(task);
|
|
107
195
|
});
|
|
108
|
-
server.tool("assign_agent", "Assign or reassign the owning agent for a task."
|
|
196
|
+
server.tool("assign_agent", "Assign or reassign the owning agent for a task. " +
|
|
197
|
+
"The assigned agent gains exclusive permission to transition the task through in_progress and review states. " +
|
|
198
|
+
"When using spawn_agents with agents[].task_id, assignment happens automatically. " +
|
|
199
|
+
"Use this tool for manual assignment or reassignment.", assignAgentInputSchema, async (args, extra) => asJsonResult(await options.taskService.assignAgent(args, {
|
|
109
200
|
actorId: resolveActorId(extra.sessionId, args.actor_id),
|
|
110
201
|
})));
|
|
111
|
-
server.tool("list_tasks", "List tasks, optionally filtered by parent or status."
|
|
112
|
-
|
|
113
|
-
|
|
202
|
+
server.tool("list_tasks", "List tasks, optionally filtered by parent or status. " +
|
|
203
|
+
"Returns a compact summary (no comments or timestamps). Use get_task for full details of a specific task. " +
|
|
204
|
+
"Prefer filtering by status or parent_id to reduce response size. " +
|
|
205
|
+
"Returns all non-archived tasks by default; use status filter to narrow results.", listTasksInputSchema, {
|
|
206
|
+
readOnlyHint: true,
|
|
207
|
+
}, async (args) => asJsonResult({ tasks: await options.taskService.listTasks(args) }));
|
|
208
|
+
server.tool("get_task", "Get the full detail of a single task including description, comments, and timestamps. " +
|
|
209
|
+
"Use this to review task deliverables, check feedback comments, or inspect the full task state. " +
|
|
210
|
+
"Use list_tasks instead when you need an overview of multiple tasks.", getTaskInputSchema, {
|
|
211
|
+
readOnlyHint: true,
|
|
212
|
+
}, async (args) => asJsonResult(await options.taskService.getTask(args.task_id)));
|
|
213
|
+
server.tool("update_task", "Update task fields such as title, description, acceptance criteria, or dependencies. " +
|
|
214
|
+
"Does not change the task status; use update_task_status for status transitions. " +
|
|
215
|
+
"Only the task initiator, assigned agent, or local-operator can update fields. " +
|
|
216
|
+
"Setting depends_on replaces the entire dependency list.", updateTaskInputSchema, {
|
|
217
|
+
idempotentHint: true,
|
|
218
|
+
}, async (args, extra) => {
|
|
114
219
|
const task = await options.taskService.updateTask(args, {
|
|
115
220
|
actorId: resolveActorId(extra.sessionId, args.actor_id),
|
|
116
221
|
});
|
|
117
222
|
return asJsonResult(task);
|
|
118
223
|
});
|
|
119
|
-
server.tool("delete_task", "Archive a task and all of its descendants
|
|
224
|
+
server.tool("delete_task", "Archive a task and all of its descendants by transitioning them to archived status. " +
|
|
225
|
+
"This is not a physical deletion; archived tasks remain in storage but are excluded from list_tasks results. " +
|
|
226
|
+
"Use this to clean up completed or abandoned task trees.", deleteTaskInputSchema, {
|
|
227
|
+
destructiveHint: true,
|
|
228
|
+
}, async (args, extra) => asJsonResult(await options.taskService.deleteTask(args, {
|
|
120
229
|
actorId: resolveActorId(extra.sessionId, args.actor_id),
|
|
121
230
|
})));
|
|
122
231
|
return server;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relay-mcp-server.js","sourceRoot":"","sources":["../../../src/interfaces/mcp/relay-mcp-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"relay-mcp-server.js","sourceRoot":"","sources":["../../../src/interfaces/mcp/relay-mcp-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC;SACP,IAAI,CAAC,CAA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