@mcpc-tech/core 0.2.11 → 0.2.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/index.mjs +3 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3406,6 +3406,7 @@ var PluginManager = class {
|
|
|
3406
3406
|
};
|
|
3407
3407
|
|
|
3408
3408
|
// __mcpc__core_latest/node_modules/@mcpc/core/src/utils/tool-manager.js
|
|
3409
|
+
init_schema();
|
|
3409
3410
|
var ToolManager = class {
|
|
3410
3411
|
toolRegistry = /* @__PURE__ */ new Map();
|
|
3411
3412
|
toolConfigs = /* @__PURE__ */ new Map();
|
|
@@ -3600,10 +3601,10 @@ var ToolManager = class {
|
|
|
3600
3601
|
composedTools[name] = {
|
|
3601
3602
|
name,
|
|
3602
3603
|
description: tool.description,
|
|
3603
|
-
inputSchema: tool.schema || {
|
|
3604
|
+
inputSchema: jsonSchema(tool.schema || {
|
|
3604
3605
|
type: "object",
|
|
3605
3606
|
properties: {}
|
|
3606
|
-
},
|
|
3607
|
+
}),
|
|
3607
3608
|
execute: tool.callback
|
|
3608
3609
|
};
|
|
3609
3610
|
}
|