@gethmy/mcp 2.10.0 → 2.11.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/server.ts +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gethmy/mcp",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "MCP server for Harmony Kanban board - enables AI coding agents to manage your boards",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/src/server.ts CHANGED
@@ -2287,7 +2287,11 @@ async function handleToolCall(
2287
2287
  "Pass at most one of assigneeId / agentId — a card is assigned to a human OR an agent, never both.",
2288
2288
  );
2289
2289
  }
2290
- // The backend nulls the opposite field, so only send the side being set.
2290
+ // Send only the side being set. The MCP `agentId` arg maps to the
2291
+ // backend's `assignedAgentId` field (DB column `assigned_agent_id`);
2292
+ // `assigneeId` maps straight through. When one side is set to a non-null
2293
+ // value the backend clears the other, so we never send both — that keeps
2294
+ // a card from ending up assigned to a human AND an agent at once.
2291
2295
  const updates: {
2292
2296
  assigneeId?: string | null;
2293
2297
  assignedAgentId?: string | null;