@roadmapperai/mcp 0.7.0 → 0.7.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.mjs +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roadmapperai/mcp",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Roadmapper AI MCP server — exposes a planning surface (themes, capabilities, tasks, sprints, PRs) to coding agents via stdio JSON-RPC. Pairs with the Roadmapper AI workspace at dashboard.roadmapperai.com.",
5
5
  "keywords": [
6
6
  "mcp",
package/server.mjs CHANGED
@@ -1902,7 +1902,14 @@ async function callTool(name, args) {
1902
1902
  session.themesListedAt = Date.now();
1903
1903
  return suggestThemeFor(args, projected);
1904
1904
  case "link_pr":
1905
- return linkPR(args, projected, seed, wsId);
1905
+ // Pass null as the seed reference. linkPR's only use of seed
1906
+ // is to look up legacy seed-bundled PR entries on a task; in
1907
+ // the live path the canonical PRs live on the projected task,
1908
+ // so seed is never the source of truth. Passing the previously-
1909
+ // undefined identifier `seed` raised "seed is not defined" at
1910
+ // runtime for every link_pr call — caught by the live test
1911
+ // drive that exposed bug #5.
1912
+ return linkPR(args, projected, null, wsId);
1906
1913
  case "archive_task":
1907
1914
  return archiveLifecycle("task", "archive", args, wsId);
1908
1915
  case "archive_capability":