@heretyc/subagent-mcp 2.8.0 → 2.8.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/dist/routing.js CHANGED
@@ -199,7 +199,7 @@ function readPairings(table, taskCategory, branch = DEFAULT_BRANCH) {
199
199
  const entries = raw.filter((e) => !!e && typeof e === "object" && typeof e.model === "string");
200
200
  return [...entries].sort((a, b) => (a.rank ?? Number.MAX_SAFE_INTEGER) - (b.rank ?? Number.MAX_SAFE_INTEGER));
201
201
  }
202
- // The fixed 10 task categories + fallback_default. Maps directly to the
202
+ // The fixed 14 task categories + fallback_default. Maps directly to the
203
203
  // routing-table category keys (param-contract.md). Immutable taxonomy.
204
204
  export const TASK_CATEGORIES = [
205
205
  "math_proof",
@@ -212,6 +212,10 @@ export const TASK_CATEGORIES = [
212
212
  "coding",
213
213
  "knowledge_synthesis",
214
214
  "mechanical",
215
+ "prompt_engineering",
216
+ "vulnerability_research",
217
+ "molecular_biology",
218
+ "ml_accelerator_design",
215
219
  "fallback_default",
216
220
  ];
217
221
  // Shared error hint blocks (resolution-matrix.md). Appended verbatim.
@@ -233,7 +237,7 @@ export function validatePresence(p) {
233
237
  // 1. task_category valid?
234
238
  if (!task_category || !TASK_CATEGORIES.includes(task_category)) {
235
239
  const got = task_category ? String(task_category) : "<none>";
236
- return `Error: task_category is required and must be one of: math_proof, security_review, debugging, quality_review, architecture, agentic_execution, data_analysis, coding, knowledge_synthesis, mechanical, fallback_default. Got: ${got}.\n${SPLIT_HINT}\n${AUTO_HINT}`;
240
+ return `Error: task_category is required and must be one of: ${TASK_CATEGORIES.join(", ")}. Got: ${got}.\n${SPLIT_HINT}\n${AUTO_HINT}`;
237
241
  }
238
242
  // 2. deadlock cannot be combined with provider/model/effort.
239
243
  if (deadlock === true && (provider || model || effort)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heretyc/subagent-mcp",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "MCP server that launches and manages local Claude Code and Codex CLI sub-agents as child processes (no direct Anthropic/OpenAI API).",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",