@miragon/design-iq-mcp 5.8.1 → 5.9.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-CRI4d2yp.js";
2
+ import { n as createMcpServer, r as todosConfigFromEnv, t as DEFAULT_ROOT } from "./tools-DizBhl75.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-CRI4d2yp.js";
2
+ import { n as createMcpServer, r as todosConfigFromEnv, t as DEFAULT_ROOT } from "./tools-DizBhl75.js";
3
3
  import { existsSync } from "node:fs";
4
4
  import { resolve } from "node:path";
5
5
  import { StdioServerTransport } from "@modelcontextprotocol/server/stdio";
@@ -1047,7 +1047,15 @@ function parseAnchor(text) {
1047
1047
  if (key === "process") anchor.process = value;
1048
1048
  else if (key === "file") anchor.file = value;
1049
1049
  else if (key === "version") anchor.processVersion = value;
1050
- else if (key === "element") {
1050
+ else if (key === "type") {
1051
+ const pipe = value.indexOf(" |");
1052
+ const id = (pipe === -1 ? value : value.slice(0, pipe)).trim();
1053
+ const name = pipe === -1 ? "" : value.slice(pipe + 2).trim();
1054
+ if (id) anchor.type = {
1055
+ id,
1056
+ name: name || id
1057
+ };
1058
+ } else if (key === "element") {
1051
1059
  const pipe = value.indexOf(" | ");
1052
1060
  if (pipe === -1) anchor.elements.push({
1053
1061
  id: value.replace(/ \|$/, "").trim(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miragon/design-iq-mcp",
3
- "version": "5.8.1",
3
+ "version": "5.9.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,9 +50,9 @@
50
50
  "@modelcontextprotocol/client": "2.3.1",
51
51
  "tsdown": "0.23.1",
52
52
  "@designiq/contracts": "0.1.0",
53
+ "@designiq/github-app": "0.1.0",
53
54
  "@designiq/http-kit": "0.1.0",
54
55
  "@designiq/mcp-kit": "0.1.0",
55
- "@designiq/github-app": "0.1.0",
56
56
  "@designiq/notations": "0.1.0"
57
57
  },
58
58
  "scripts": {