coherence-mcp-server 0.5.0 → 0.5.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.
@@ -273,6 +273,7 @@ TOOLS: list[Tool] = [
273
273
  "task_type": {"type": "string", "description": "Filter by type: spec, test, impl, review, code-review"},
274
274
  "limit": {"type": "number", "description": "Max tasks to return (default 20)", "default": 20},
275
275
  "offset": {"type": "number", "description": "Pagination offset", "default": 0},
276
+ "workspace_id": {"type": "string", "description": "Optional workspace to filter by (via each task's linked idea)."},
276
277
  },
277
278
  },
278
279
  ),
@@ -919,12 +920,15 @@ def dispatch(name: str, args: dict[str, Any]) -> Any:
919
920
  return {"nodes": nodes, "capabilities": caps}
920
921
  # Tasks
921
922
  case "coherence_list_tasks":
922
- return api_get("/api/agent/tasks", {
923
+ params = {
923
924
  "status": args.get("status"),
924
925
  "task_type": args.get("task_type"),
925
926
  "limit": args.get("limit", 20),
926
927
  "offset": args.get("offset", 0),
927
- })
928
+ }
929
+ if args.get("workspace_id"):
930
+ params["workspace_id"] = args["workspace_id"]
931
+ return api_get("/api/agent/tasks", params)
928
932
  case "coherence_get_task":
929
933
  return api_get(f"/api/agent/tasks/{args['task_id']}")
930
934
  case "coherence_task_next":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coherence-mcp-server",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Unified MCP server for the Coherence Network — 51 typed tools for AI agents to browse ideas, manage tasks, link identities, and navigate the universal graph.",
5
5
  "type": "module",
6
6
  "bin": {