mcpgraph-ux 0.1.0 → 0.1.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.
- package/app/api/graph/route.ts +1 -4
- package/package.json +2 -2
package/app/api/graph/route.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { NextResponse } from 'next/server';
|
|
2
|
-
import { McpGraphApi } from 'mcpgraph';
|
|
3
|
-
|
|
4
|
-
// Infer NodeDefinition type from the API
|
|
5
|
-
type NodeDefinition = ReturnType<McpGraphApi['getConfig']>['nodes'][number];
|
|
2
|
+
import { McpGraphApi, type NodeDefinition } from 'mcpgraph';
|
|
6
3
|
|
|
7
4
|
let apiInstance: McpGraphApi | null = null;
|
|
8
5
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcpgraph-ux",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Visual interface for mcpGraph - visualize and test MCP tool execution graphs",
|
|
5
5
|
"main": "server.ts",
|
|
6
6
|
"bin": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"react": "^18.3.0",
|
|
30
30
|
"react-dom": "^18.3.0",
|
|
31
31
|
"reactflow": "^11.11.0",
|
|
32
|
-
"mcpgraph": "^0.1.
|
|
32
|
+
"mcpgraph": "^0.1.5",
|
|
33
33
|
"zod": "^3.22.4",
|
|
34
34
|
"dagre": "^0.8.5",
|
|
35
35
|
"tsx": "^4.7.0"
|