@frontmcp/plugin-dashboard 0.12.1 → 1.0.0-beta.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/esm/index.mjs
CHANGED
|
@@ -437,11 +437,11 @@ function safeRegex(pattern) {
|
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
// plugins/plugin-dashboard/src/tools/list-tools.tool.ts
|
|
440
|
-
var listToolsInputSchema =
|
|
440
|
+
var listToolsInputSchema = {
|
|
441
441
|
filter: z3.string().optional().describe("Filter tools by name pattern (regex supported)"),
|
|
442
442
|
includePlugins: z3.boolean().default(true).describe("Include tools from plugins"),
|
|
443
443
|
includeSchemas: z3.boolean().default(false).describe("Include input/output schemas in the response")
|
|
444
|
-
}
|
|
444
|
+
};
|
|
445
445
|
var listToolsOutputSchema = z3.object({
|
|
446
446
|
tools: z3.array(
|
|
447
447
|
z3.object({
|
|
@@ -501,10 +501,10 @@ ListToolsTool = __decorateClass([
|
|
|
501
501
|
// plugins/plugin-dashboard/src/tools/list-resources.tool.ts
|
|
502
502
|
import { Tool as Tool3, ToolContext as ToolContext3 } from "@frontmcp/sdk";
|
|
503
503
|
import { z as z4 } from "zod";
|
|
504
|
-
var listResourcesInputSchema =
|
|
504
|
+
var listResourcesInputSchema = {
|
|
505
505
|
filter: z4.string().optional().describe("Filter resources by name or URI pattern (regex supported)"),
|
|
506
506
|
includeTemplates: z4.boolean().default(true).describe("Include resource templates in the response")
|
|
507
|
-
}
|
|
507
|
+
};
|
|
508
508
|
var listResourcesOutputSchema = z4.object({
|
|
509
509
|
resources: z4.array(
|
|
510
510
|
z4.object({
|
package/esm/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontmcp/plugin-dashboard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-beta.1",
|
|
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",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@frontmcp/sdk": "0.
|
|
47
|
+
"@frontmcp/sdk": "1.0.0-beta.1",
|
|
48
48
|
"zod": "^4.0.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
package/index.js
CHANGED
|
@@ -465,11 +465,11 @@ function safeRegex(pattern) {
|
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
// plugins/plugin-dashboard/src/tools/list-tools.tool.ts
|
|
468
|
-
var listToolsInputSchema =
|
|
468
|
+
var listToolsInputSchema = {
|
|
469
469
|
filter: import_zod3.z.string().optional().describe("Filter tools by name pattern (regex supported)"),
|
|
470
470
|
includePlugins: import_zod3.z.boolean().default(true).describe("Include tools from plugins"),
|
|
471
471
|
includeSchemas: import_zod3.z.boolean().default(false).describe("Include input/output schemas in the response")
|
|
472
|
-
}
|
|
472
|
+
};
|
|
473
473
|
var listToolsOutputSchema = import_zod3.z.object({
|
|
474
474
|
tools: import_zod3.z.array(
|
|
475
475
|
import_zod3.z.object({
|
|
@@ -529,10 +529,10 @@ ListToolsTool = __decorateClass([
|
|
|
529
529
|
// plugins/plugin-dashboard/src/tools/list-resources.tool.ts
|
|
530
530
|
var import_sdk5 = require("@frontmcp/sdk");
|
|
531
531
|
var import_zod4 = require("zod");
|
|
532
|
-
var listResourcesInputSchema =
|
|
532
|
+
var listResourcesInputSchema = {
|
|
533
533
|
filter: import_zod4.z.string().optional().describe("Filter resources by name or URI pattern (regex supported)"),
|
|
534
534
|
includeTemplates: import_zod4.z.boolean().default(true).describe("Include resource templates in the response")
|
|
535
|
-
}
|
|
535
|
+
};
|
|
536
536
|
var listResourcesOutputSchema = import_zod4.z.object({
|
|
537
537
|
resources: import_zod4.z.array(
|
|
538
538
|
import_zod4.z.object({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontmcp/plugin-dashboard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-beta.1",
|
|
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",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@frontmcp/sdk": "0.
|
|
47
|
+
"@frontmcp/sdk": "1.0.0-beta.1",
|
|
48
48
|
"zod": "^4.0.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
@@ -3,11 +3,11 @@ import { z } from 'zod';
|
|
|
3
3
|
/**
|
|
4
4
|
* Input schema for the list-resources tool.
|
|
5
5
|
*/
|
|
6
|
-
export declare const listResourcesInputSchema:
|
|
6
|
+
export declare const listResourcesInputSchema: {
|
|
7
7
|
filter: z.ZodOptional<z.ZodString>;
|
|
8
8
|
includeTemplates: z.ZodDefault<z.ZodBoolean>;
|
|
9
|
-
}
|
|
10
|
-
export type ListResourcesInput = z.output<typeof listResourcesInputSchema
|
|
9
|
+
};
|
|
10
|
+
export type ListResourcesInput = z.output<z.ZodObject<typeof listResourcesInputSchema>>;
|
|
11
11
|
/**
|
|
12
12
|
* Output schema for the list-resources tool.
|
|
13
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-resources.tool.d.ts","sourceRoot":"","sources":["../../src/tools/list-resources.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,WAAW,EAAc,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;
|
|
1
|
+
{"version":3,"file":"list-resources.tool.d.ts","sourceRoot":"","sources":["../../src/tools/list-resources.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,WAAW,EAAc,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;CAGpC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC;AAExF;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;iBAWpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE7E;;GAEG;AAUH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW;IAClD,OAAO,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAwDvE"}
|
|
@@ -3,12 +3,12 @@ import { z } from 'zod';
|
|
|
3
3
|
/**
|
|
4
4
|
* Input schema for the list-tools tool.
|
|
5
5
|
*/
|
|
6
|
-
export declare const listToolsInputSchema:
|
|
6
|
+
export declare const listToolsInputSchema: {
|
|
7
7
|
filter: z.ZodOptional<z.ZodString>;
|
|
8
8
|
includePlugins: z.ZodDefault<z.ZodBoolean>;
|
|
9
9
|
includeSchemas: z.ZodDefault<z.ZodBoolean>;
|
|
10
|
-
}
|
|
11
|
-
export type ListToolsInput = z.output<typeof listToolsInputSchema
|
|
10
|
+
};
|
|
11
|
+
export type ListToolsInput = z.output<z.ZodObject<typeof listToolsInputSchema>>;
|
|
12
12
|
/**
|
|
13
13
|
* Output schema for the list-tools tool.
|
|
14
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tools.tool.d.ts","sourceRoot":"","sources":["../../src/tools/list-tools.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,WAAW,EAAc,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;
|
|
1
|
+
{"version":3,"file":"list-tools.tool.d.ts","sourceRoot":"","sources":["../../src/tools/list-tools.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,WAAW,EAAc,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;CAIhC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC;AAEhF;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;iBAYhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAErE;;GAEG;AAWH,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,WAAW;IAC9C,OAAO,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC;CAgD/D"}
|