@frontmcp/plugin-dashboard 0.0.1 → 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.
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "@frontmcp/plugin-dashboard",
3
+ "version": "0.7.1",
4
+ "description": "Dashboard plugin for FrontMCP - visual monitoring and introspection of MCP servers",
5
+ "author": "AgentFront <info@agentfront.dev>",
6
+ "license": "Apache-2.0",
7
+ "keywords": [
8
+ "mcp",
9
+ "dashboard",
10
+ "monitoring",
11
+ "plugin",
12
+ "frontmcp",
13
+ "agentfront"
14
+ ],
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/agentfront/frontmcp.git",
18
+ "directory": "plugins/plugin-dashboard"
19
+ },
20
+ "bugs": {
21
+ "url": "https://github.com/agentfront/frontmcp/issues"
22
+ },
23
+ "homepage": "https://github.com/agentfront/frontmcp/blob/main/plugins/plugin-dashboard/README.md",
24
+ "publishConfig": {
25
+ "access": "public",
26
+ "registry": "https://registry.npmjs.org/"
27
+ },
28
+ "type": "module",
29
+ "main": "../index.js",
30
+ "module": "./index.mjs",
31
+ "types": "../index.d.ts",
32
+ "sideEffects": false,
33
+ "exports": {
34
+ "./package.json": "../package.json",
35
+ ".": {
36
+ "require": {
37
+ "types": "../index.d.ts",
38
+ "default": "../index.js"
39
+ },
40
+ "import": {
41
+ "types": "../index.d.ts",
42
+ "default": "./index.mjs"
43
+ }
44
+ }
45
+ },
46
+ "dependencies": {
47
+ "@frontmcp/sdk": "0.7.1",
48
+ "zod": "^4.0.0"
49
+ },
50
+ "devDependencies": {
51
+ "reflect-metadata": "^0.2.2"
52
+ }
53
+ }
@@ -0,0 +1,10 @@
1
+ import type { DashboardPluginOptions } from '../dashboard.types';
2
+ /**
3
+ * Generate the dashboard HTML page that loads UI from CDN and connects via MCP.
4
+ *
5
+ * The UI connects to the dashboard SSE endpoint and uses MCP protocol to:
6
+ * - Call dashboard:graph tool to get graph data
7
+ * - Receive real-time notifications
8
+ */
9
+ export declare function generateDashboardHtml(options: DashboardPluginOptions): string;
10
+ //# sourceMappingURL=html.generator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"html.generator.d.ts","sourceRoot":"","sources":["../../src/html/html.generator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAiBjE;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM,CAW7E"}
@@ -0,0 +1,2 @@
1
+ export { generateDashboardHtml } from './html.generator';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC"}
package/index.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ export { default, default as DashboardPlugin } from './dashboard.plugin';
2
+ export { DashboardApp } from './app';
3
+ export { DashboardPluginOptions, DashboardPluginOptionsInput, dashboardPluginOptionsSchema, defaultDashboardPluginOptions, isDashboardEnabled, } from './dashboard.types';
4
+ export { DashboardConfigToken, GraphDataProviderToken, ParentScopeToken } from './dashboard.symbol';
5
+ export type { GraphData, GraphNode, GraphEdge, GraphMetadata } from './shared/types';
6
+ export { GraphDataProvider } from './providers';
7
+ export { default as GraphTool } from './tools/graph.tool';
8
+ export { default as ListToolsTool } from './tools/list-tools.tool';
9
+ export { default as ListResourcesTool } from './tools/list-resources.tool';
10
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGzE,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAGrC,OAAO,EACL,sBAAsB,EACtB,2BAA2B,EAC3B,4BAA4B,EAC5B,6BAA6B,EAC7B,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGpG,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGhD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC"}