@miragon/design-iq-mcp 5.6.0 → 5.7.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.
package/dist/http.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { n as createMcpServer, r as todosConfigFromEnv, t as DEFAULT_ROOT } from "./tools-BdyXTS1w.js";
2
+ import { n as createMcpServer, r as todosConfigFromEnv, t as DEFAULT_ROOT } from "./tools-CRI4d2yp.js";
3
3
  import { createServer } from "node:http";
4
4
  import { timingSafeEqual } from "node:crypto";
5
5
  import { NodeStreamableHTTPServerTransport } from "@modelcontextprotocol/node";
package/dist/server.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { n as createMcpServer, r as todosConfigFromEnv, t as DEFAULT_ROOT } from "./tools-BdyXTS1w.js";
2
+ import { n as createMcpServer, r as todosConfigFromEnv, t as DEFAULT_ROOT } from "./tools-CRI4d2yp.js";
3
3
  import { existsSync } from "node:fs";
4
4
  import { resolve } from "node:path";
5
5
  import { StdioServerTransport } from "@modelcontextprotocol/server/stdio";
@@ -538,6 +538,7 @@ function extractWardley(raw) {
538
538
  edges
539
539
  };
540
540
  }
541
+ const TT_EDGE_INTERACTIONS_VERSION = 1;
541
542
  function extractTeamTopology(raw) {
542
543
  const data = JSON.parse(raw);
543
544
  const list = (v) => Array.isArray(v) ? v : [];
@@ -547,7 +548,8 @@ function extractTeamTopology(raw) {
547
548
  name: n.label ?? n.name,
548
549
  extra: n.description ? { description: n.description } : void 0
549
550
  }));
550
- const interactions = list(data.interactions).filter((i) => i !== null && typeof i === "object" && "position" in i && "size" in i).map((i) => ({
551
+ const placed = (i) => "position" in i && "size" in i;
552
+ const interactions = list(data.interactions).filter((i) => i !== null && typeof i === "object").filter((i) => data.version !== TT_EDGE_INTERACTIONS_VERSION || placed(i)).map((i) => ({
551
553
  id: i.id,
552
554
  type: "interaction",
553
555
  name: i.label,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miragon/design-iq-mcp",
3
- "version": "5.6.0",
3
+ "version": "5.7.0",
4
4
  "description": "Read-only MCP server exposing a designIQ content repo's models — BPMN processes, DMN decisions, Wardley Maps, Team Topologies, Event Storming boards, Context Maps and more — to any MCP client. Discovered from designiq.yml, views derived from the models.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -50,10 +50,10 @@
50
50
  "@modelcontextprotocol/client": "2.3.1",
51
51
  "tsdown": "0.23.1",
52
52
  "@designiq/contracts": "0.1.0",
53
- "@designiq/http-kit": "0.1.0",
54
- "@designiq/mcp-kit": "0.1.0",
55
53
  "@designiq/github-app": "0.1.0",
56
- "@designiq/notations": "0.1.0"
54
+ "@designiq/http-kit": "0.1.0",
55
+ "@designiq/notations": "0.1.0",
56
+ "@designiq/mcp-kit": "0.1.0"
57
57
  },
58
58
  "scripts": {
59
59
  "start": "node server.ts",