@frontmcp/plugin-dashboard 1.7.1 → 1.8.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/esm/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontmcp/plugin-dashboard",
3
- "version": "1.7.1",
3
+ "version": "1.8.0",
4
4
  "description": "Dashboard plugin for FrontMCP - visual monitoring and introspection of MCP servers",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
6
  "license": "Apache-2.0",
@@ -47,12 +47,12 @@
47
47
  }
48
48
  },
49
49
  "dependencies": {
50
- "@frontmcp/sdk": "1.7.1"
50
+ "@frontmcp/sdk": "1.8.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "reflect-metadata": "^0.2.2"
54
54
  },
55
55
  "peerDependencies": {
56
- "@frontmcp/lazy-zod": "1.7.1"
56
+ "@frontmcp/lazy-zod": "1.8.0"
57
57
  }
58
58
  }
@@ -6,5 +6,14 @@ import type { DashboardPluginOptions } from '../dashboard.types';
6
6
  * - Call dashboard:graph tool to get graph data
7
7
  * - Receive real-time notifications
8
8
  */
9
+ /**
10
+ * Build the dashboard page.
11
+ *
12
+ * The configured `auth.token` is deliberately NOT embedded here, and not put in
13
+ * the SSE query string: a URL token lands in access logs, `Referer` headers and
14
+ * browser history, and the page's own MCP POSTs never carried it anyway
15
+ * (GHSA-rgxj-434m-vxh3). The token gates the page; the dashboard's MCP scope
16
+ * uses the server's normal authentication.
17
+ */
9
18
  export declare function generateDashboardHtml(options: DashboardPluginOptions): string;
10
19
  //# sourceMappingURL=html.generator.d.ts.map
@@ -1 +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"}
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;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM,CAW7E"}
package/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export { default, default as DashboardPlugin } from './dashboard.plugin';
2
2
  export { DashboardApp } from './app';
3
3
  export { DashboardPluginOptions, DashboardPluginOptionsInput, dashboardPluginOptionsSchema, defaultDashboardPluginOptions, isDashboardEnabled, } from './dashboard.types';
4
+ export { resetDashboardOptions } from './dashboard.config-store';
4
5
  export { DashboardConfigToken, GraphDataProviderToken, ParentScopeToken } from './dashboard.symbol';
5
6
  export type { GraphData, GraphNode, GraphEdge, GraphMetadata } from './shared/types';
6
7
  export { GraphDataProvider } from './providers';
package/index.d.ts.map CHANGED
@@ -1 +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,MAA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