@zhin.js/mcp-feature 1.0.10 → 1.0.12
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/lib/definition.d.ts +1 -1
- package/package.json +3 -3
- package/src/definition.ts +1 -1
package/lib/definition.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface McpDefinition<TConfig = unknown> {
|
|
|
17
17
|
create(context: CapabilityContext<TConfig>): McpClientInstance | Promise<McpClientInstance>;
|
|
18
18
|
}
|
|
19
19
|
declare module '@zhin.js/plugin-runtime' {
|
|
20
|
-
interface PluginSetupContext<TConfig> {
|
|
20
|
+
interface PluginSetupContext<TConfig = unknown> {
|
|
21
21
|
addMcp(localName: string, definition: McpDefinition<TConfig>): void;
|
|
22
22
|
}
|
|
23
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/mcp-feature",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "Convention-based MCP client Feature for Zhin Plugin Runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"src"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@zhin.js/feature-kit": "1.0.
|
|
21
|
-
"@zhin.js/plugin-runtime": "1.1.
|
|
20
|
+
"@zhin.js/feature-kit": "1.0.12",
|
|
21
|
+
"@zhin.js/plugin-runtime": "1.1.7"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "^26.1.2",
|
package/src/definition.ts
CHANGED
|
@@ -22,7 +22,7 @@ export interface McpDefinition<TConfig = unknown> {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
declare module '@zhin.js/plugin-runtime' {
|
|
25
|
-
interface PluginSetupContext<TConfig> {
|
|
25
|
+
interface PluginSetupContext<TConfig = unknown> {
|
|
26
26
|
addMcp(localName: string, definition: McpDefinition<TConfig>): void;
|
|
27
27
|
}
|
|
28
28
|
}
|