@mcpc-tech/core 0.3.20 → 0.3.21
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.cjs +107 -85
- package/index.mjs +107 -85
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -17784,7 +17784,7 @@ You must follow the <manual/>, obey the <rules/>, and use the <format/>.
|
|
|
17784
17784
|
|
|
17785
17785
|
<parameters>
|
|
17786
17786
|
\`tool\` - Which tool to execute: "man" to get schemas, or a tool name to execute
|
|
17787
|
-
\`args\` - For "man":
|
|
17787
|
+
\`args\` - For "man": { tools: ["tool1", "tool2"] }. For other tools: tool parameters that strictly adhere to the tool's JSON schema.
|
|
17788
17788
|
</parameters>
|
|
17789
17789
|
|
|
17790
17790
|
<rules>
|
|
@@ -17799,7 +17799,7 @@ Get tool schemas:
|
|
|
17799
17799
|
\`\`\`json
|
|
17800
17800
|
{
|
|
17801
17801
|
"tool": "man",
|
|
17802
|
-
"args": ["tool1", "tool2"]
|
|
17802
|
+
"args": { "tools": ["tool1", "tool2"] }
|
|
17803
17803
|
}
|
|
17804
17804
|
\`\`\`
|
|
17805
17805
|
|
|
@@ -17898,6 +17898,106 @@ var CompiledPrompts = {
|
|
|
17898
17898
|
completionMessage: () => ResponseTemplates.COMPLETION_MESSAGE
|
|
17899
17899
|
};
|
|
17900
17900
|
|
|
17901
|
+
// __mcpc__core_latest/node_modules/@mcpc/core/src/factories/args-def-factory.js
|
|
17902
|
+
function createArgsDefFactory(_name, _allToolNames, _depGroups, _predefinedSteps, _ensureStepActions) {
|
|
17903
|
+
return {
|
|
17904
|
+
forSampling: function() {
|
|
17905
|
+
return {
|
|
17906
|
+
type: "object",
|
|
17907
|
+
description: "Provide prompt for autonomous tool execution",
|
|
17908
|
+
properties: {
|
|
17909
|
+
prompt: {
|
|
17910
|
+
type: "string",
|
|
17911
|
+
description: "The task to be completed autonomously by the agentic system using available tools"
|
|
17912
|
+
},
|
|
17913
|
+
context: {
|
|
17914
|
+
type: "object",
|
|
17915
|
+
description: "Execution context, e.g., { cwd: '/path/to/dir' }. Any relevant fields allowed.",
|
|
17916
|
+
additionalProperties: true
|
|
17917
|
+
}
|
|
17918
|
+
},
|
|
17919
|
+
required: [
|
|
17920
|
+
"prompt",
|
|
17921
|
+
"context"
|
|
17922
|
+
],
|
|
17923
|
+
errorMessage: {
|
|
17924
|
+
required: {
|
|
17925
|
+
prompt: "Missing required field 'prompt'. Please provide a clear task description.",
|
|
17926
|
+
context: "Missing required field 'context'. Please provide relevant context (e.g., { cwd: '...' })."
|
|
17927
|
+
}
|
|
17928
|
+
}
|
|
17929
|
+
};
|
|
17930
|
+
},
|
|
17931
|
+
/**
|
|
17932
|
+
* Agentic schema - simplified Unix-style interface
|
|
17933
|
+
*
|
|
17934
|
+
* Only two fields:
|
|
17935
|
+
* - `tool`: which tool to execute (enum includes "man" + all tool names)
|
|
17936
|
+
* - `args`: object with parameters. For "man": { tools: ["a", "b"] }. For others: tool parameters.
|
|
17937
|
+
*/
|
|
17938
|
+
forAgentic: function(allToolNames) {
|
|
17939
|
+
const toolEnum = [
|
|
17940
|
+
"man",
|
|
17941
|
+
...allToolNames
|
|
17942
|
+
];
|
|
17943
|
+
return {
|
|
17944
|
+
type: "object",
|
|
17945
|
+
properties: {
|
|
17946
|
+
tool: {
|
|
17947
|
+
type: "string",
|
|
17948
|
+
enum: toolEnum,
|
|
17949
|
+
description: 'Which tool to execute. Use "man" to get tool schemas, or a tool name to execute.',
|
|
17950
|
+
errorMessage: {
|
|
17951
|
+
enum: `Invalid tool. Available: ${toolEnum.join(", ")}`
|
|
17952
|
+
}
|
|
17953
|
+
},
|
|
17954
|
+
args: {
|
|
17955
|
+
type: "object",
|
|
17956
|
+
description: `For "man": { tools: ["tool1", "tool2"] }. For other tools: tool parameters that strictly adhere to the tool's JSON schema.`
|
|
17957
|
+
}
|
|
17958
|
+
},
|
|
17959
|
+
required: [
|
|
17960
|
+
"tool"
|
|
17961
|
+
],
|
|
17962
|
+
additionalProperties: false
|
|
17963
|
+
};
|
|
17964
|
+
},
|
|
17965
|
+
/**
|
|
17966
|
+
* Schema for "man" command args validation
|
|
17967
|
+
* Expected format: { tools: ["tool1", "tool2"] }
|
|
17968
|
+
*/
|
|
17969
|
+
forMan: function(allToolNames) {
|
|
17970
|
+
return {
|
|
17971
|
+
type: "object",
|
|
17972
|
+
properties: {
|
|
17973
|
+
tools: {
|
|
17974
|
+
type: "array",
|
|
17975
|
+
items: {
|
|
17976
|
+
type: "string",
|
|
17977
|
+
enum: allToolNames,
|
|
17978
|
+
errorMessage: {
|
|
17979
|
+
enum: `Invalid tool name. Available: ${allToolNames.join(", ")}`
|
|
17980
|
+
}
|
|
17981
|
+
},
|
|
17982
|
+
minItems: 1,
|
|
17983
|
+
errorMessage: {
|
|
17984
|
+
minItems: "At least one tool name is required"
|
|
17985
|
+
}
|
|
17986
|
+
}
|
|
17987
|
+
},
|
|
17988
|
+
required: [
|
|
17989
|
+
"tools"
|
|
17990
|
+
],
|
|
17991
|
+
errorMessage: {
|
|
17992
|
+
required: {
|
|
17993
|
+
tools: 'Missing "tools" field. Expected: { tools: ["tool1", "tool2"] }'
|
|
17994
|
+
}
|
|
17995
|
+
}
|
|
17996
|
+
};
|
|
17997
|
+
}
|
|
17998
|
+
};
|
|
17999
|
+
}
|
|
18000
|
+
|
|
17901
18001
|
// __mcpc__core_latest/node_modules/@mcpc/core/src/utils/schema-validator.js
|
|
17902
18002
|
var import_ajv2 = require("ajv");
|
|
17903
18003
|
var import_ajv_formats2 = __toESM(require("ajv-formats"), 1);
|
|
@@ -18069,22 +18169,9 @@ var AgenticExecutor = class {
|
|
|
18069
18169
|
}
|
|
18070
18170
|
const tool2 = args.tool;
|
|
18071
18171
|
if (tool2 === "man") {
|
|
18072
|
-
const
|
|
18073
|
-
|
|
18074
|
-
|
|
18075
|
-
type: "string",
|
|
18076
|
-
enum: this.allToolNames,
|
|
18077
|
-
errorMessage: {
|
|
18078
|
-
enum: `Invalid tool name. Available: ${this.allToolNames.join(", ")}`
|
|
18079
|
-
}
|
|
18080
|
-
},
|
|
18081
|
-
minItems: 1,
|
|
18082
|
-
errorMessage: {
|
|
18083
|
-
type: 'Expected an array of tool names, e.g. ["tool1", "tool2"]',
|
|
18084
|
-
minItems: "At least one tool name is required"
|
|
18085
|
-
}
|
|
18086
|
-
};
|
|
18087
|
-
const manValidation = validateSchema(args.args ?? [], manSchema);
|
|
18172
|
+
const createArgsDef = createArgsDefFactory(this.name, this.allToolNames, {});
|
|
18173
|
+
const manSchema = createArgsDef.forMan(this.allToolNames);
|
|
18174
|
+
const manValidation = validateSchema(args.args ?? {}, manSchema);
|
|
18088
18175
|
if (!manValidation.valid) {
|
|
18089
18176
|
return {
|
|
18090
18177
|
content: [
|
|
@@ -18096,7 +18183,8 @@ var AgenticExecutor = class {
|
|
|
18096
18183
|
isError: true
|
|
18097
18184
|
};
|
|
18098
18185
|
}
|
|
18099
|
-
|
|
18186
|
+
const argsObj = args.args;
|
|
18187
|
+
return this.handleManCommand(argsObj.tools, executeSpan);
|
|
18100
18188
|
}
|
|
18101
18189
|
const toolArgs = args.args || {};
|
|
18102
18190
|
return await this.executeTool(tool2, toolArgs, executeSpan);
|
|
@@ -18273,72 +18361,6 @@ ${JSON.stringify(cleanedSchema, null, 2)}
|
|
|
18273
18361
|
}
|
|
18274
18362
|
};
|
|
18275
18363
|
|
|
18276
|
-
// __mcpc__core_latest/node_modules/@mcpc/core/src/factories/args-def-factory.js
|
|
18277
|
-
function createArgsDefFactory(_name, _allToolNames, _depGroups, _predefinedSteps, _ensureStepActions) {
|
|
18278
|
-
return {
|
|
18279
|
-
forSampling: function() {
|
|
18280
|
-
return {
|
|
18281
|
-
type: "object",
|
|
18282
|
-
description: "Provide prompt for autonomous tool execution",
|
|
18283
|
-
properties: {
|
|
18284
|
-
prompt: {
|
|
18285
|
-
type: "string",
|
|
18286
|
-
description: "The task to be completed autonomously by the agentic system using available tools"
|
|
18287
|
-
},
|
|
18288
|
-
context: {
|
|
18289
|
-
type: "object",
|
|
18290
|
-
description: "Execution context, e.g., { cwd: '/path/to/dir' }. Any relevant fields allowed.",
|
|
18291
|
-
additionalProperties: true
|
|
18292
|
-
}
|
|
18293
|
-
},
|
|
18294
|
-
required: [
|
|
18295
|
-
"prompt",
|
|
18296
|
-
"context"
|
|
18297
|
-
],
|
|
18298
|
-
errorMessage: {
|
|
18299
|
-
required: {
|
|
18300
|
-
prompt: "Missing required field 'prompt'. Please provide a clear task description.",
|
|
18301
|
-
context: "Missing required field 'context'. Please provide relevant context (e.g., { cwd: '...' })."
|
|
18302
|
-
}
|
|
18303
|
-
}
|
|
18304
|
-
};
|
|
18305
|
-
},
|
|
18306
|
-
/**
|
|
18307
|
-
* Agentic schema - simplified Unix-style interface
|
|
18308
|
-
*
|
|
18309
|
-
* Only two fields:
|
|
18310
|
-
* - `tool`: which tool to execute (enum includes "man" + all tool names)
|
|
18311
|
-
* - `args`: parameters for the tool (array for "man", object for others)
|
|
18312
|
-
*/
|
|
18313
|
-
forAgentic: function(allToolNames) {
|
|
18314
|
-
const toolEnum = [
|
|
18315
|
-
"man",
|
|
18316
|
-
...allToolNames
|
|
18317
|
-
];
|
|
18318
|
-
return {
|
|
18319
|
-
type: "object",
|
|
18320
|
-
properties: {
|
|
18321
|
-
tool: {
|
|
18322
|
-
type: "string",
|
|
18323
|
-
enum: toolEnum,
|
|
18324
|
-
description: 'Which tool to execute. Use "man" to get tool schemas, or a tool name to execute.',
|
|
18325
|
-
errorMessage: {
|
|
18326
|
-
enum: `Invalid tool. Available: ${toolEnum.join(", ")}`
|
|
18327
|
-
}
|
|
18328
|
-
},
|
|
18329
|
-
args: {
|
|
18330
|
-
description: 'For "man": array of tool names ["tool1", "tool2"]. For other tools: object with parameters.'
|
|
18331
|
-
}
|
|
18332
|
-
},
|
|
18333
|
-
required: [
|
|
18334
|
-
"tool"
|
|
18335
|
-
],
|
|
18336
|
-
additionalProperties: false
|
|
18337
|
-
};
|
|
18338
|
-
}
|
|
18339
|
-
};
|
|
18340
|
-
}
|
|
18341
|
-
|
|
18342
18364
|
// __mcpc__core_latest/node_modules/@mcpc/core/src/executors/agentic/agentic-tool-registrar.js
|
|
18343
18365
|
function registerAgenticTool(server, { description, name, allToolNames, depGroups, toolNameToDetailList }) {
|
|
18344
18366
|
const createArgsDef = createArgsDefFactory(name, allToolNames, depGroups, void 0, void 0);
|
package/index.mjs
CHANGED
|
@@ -17772,7 +17772,7 @@ You must follow the <manual/>, obey the <rules/>, and use the <format/>.
|
|
|
17772
17772
|
|
|
17773
17773
|
<parameters>
|
|
17774
17774
|
\`tool\` - Which tool to execute: "man" to get schemas, or a tool name to execute
|
|
17775
|
-
\`args\` - For "man":
|
|
17775
|
+
\`args\` - For "man": { tools: ["tool1", "tool2"] }. For other tools: tool parameters that strictly adhere to the tool's JSON schema.
|
|
17776
17776
|
</parameters>
|
|
17777
17777
|
|
|
17778
17778
|
<rules>
|
|
@@ -17787,7 +17787,7 @@ Get tool schemas:
|
|
|
17787
17787
|
\`\`\`json
|
|
17788
17788
|
{
|
|
17789
17789
|
"tool": "man",
|
|
17790
|
-
"args": ["tool1", "tool2"]
|
|
17790
|
+
"args": { "tools": ["tool1", "tool2"] }
|
|
17791
17791
|
}
|
|
17792
17792
|
\`\`\`
|
|
17793
17793
|
|
|
@@ -17886,6 +17886,106 @@ var CompiledPrompts = {
|
|
|
17886
17886
|
completionMessage: () => ResponseTemplates.COMPLETION_MESSAGE
|
|
17887
17887
|
};
|
|
17888
17888
|
|
|
17889
|
+
// __mcpc__core_latest/node_modules/@mcpc/core/src/factories/args-def-factory.js
|
|
17890
|
+
function createArgsDefFactory(_name, _allToolNames, _depGroups, _predefinedSteps, _ensureStepActions) {
|
|
17891
|
+
return {
|
|
17892
|
+
forSampling: function() {
|
|
17893
|
+
return {
|
|
17894
|
+
type: "object",
|
|
17895
|
+
description: "Provide prompt for autonomous tool execution",
|
|
17896
|
+
properties: {
|
|
17897
|
+
prompt: {
|
|
17898
|
+
type: "string",
|
|
17899
|
+
description: "The task to be completed autonomously by the agentic system using available tools"
|
|
17900
|
+
},
|
|
17901
|
+
context: {
|
|
17902
|
+
type: "object",
|
|
17903
|
+
description: "Execution context, e.g., { cwd: '/path/to/dir' }. Any relevant fields allowed.",
|
|
17904
|
+
additionalProperties: true
|
|
17905
|
+
}
|
|
17906
|
+
},
|
|
17907
|
+
required: [
|
|
17908
|
+
"prompt",
|
|
17909
|
+
"context"
|
|
17910
|
+
],
|
|
17911
|
+
errorMessage: {
|
|
17912
|
+
required: {
|
|
17913
|
+
prompt: "Missing required field 'prompt'. Please provide a clear task description.",
|
|
17914
|
+
context: "Missing required field 'context'. Please provide relevant context (e.g., { cwd: '...' })."
|
|
17915
|
+
}
|
|
17916
|
+
}
|
|
17917
|
+
};
|
|
17918
|
+
},
|
|
17919
|
+
/**
|
|
17920
|
+
* Agentic schema - simplified Unix-style interface
|
|
17921
|
+
*
|
|
17922
|
+
* Only two fields:
|
|
17923
|
+
* - `tool`: which tool to execute (enum includes "man" + all tool names)
|
|
17924
|
+
* - `args`: object with parameters. For "man": { tools: ["a", "b"] }. For others: tool parameters.
|
|
17925
|
+
*/
|
|
17926
|
+
forAgentic: function(allToolNames) {
|
|
17927
|
+
const toolEnum = [
|
|
17928
|
+
"man",
|
|
17929
|
+
...allToolNames
|
|
17930
|
+
];
|
|
17931
|
+
return {
|
|
17932
|
+
type: "object",
|
|
17933
|
+
properties: {
|
|
17934
|
+
tool: {
|
|
17935
|
+
type: "string",
|
|
17936
|
+
enum: toolEnum,
|
|
17937
|
+
description: 'Which tool to execute. Use "man" to get tool schemas, or a tool name to execute.',
|
|
17938
|
+
errorMessage: {
|
|
17939
|
+
enum: `Invalid tool. Available: ${toolEnum.join(", ")}`
|
|
17940
|
+
}
|
|
17941
|
+
},
|
|
17942
|
+
args: {
|
|
17943
|
+
type: "object",
|
|
17944
|
+
description: `For "man": { tools: ["tool1", "tool2"] }. For other tools: tool parameters that strictly adhere to the tool's JSON schema.`
|
|
17945
|
+
}
|
|
17946
|
+
},
|
|
17947
|
+
required: [
|
|
17948
|
+
"tool"
|
|
17949
|
+
],
|
|
17950
|
+
additionalProperties: false
|
|
17951
|
+
};
|
|
17952
|
+
},
|
|
17953
|
+
/**
|
|
17954
|
+
* Schema for "man" command args validation
|
|
17955
|
+
* Expected format: { tools: ["tool1", "tool2"] }
|
|
17956
|
+
*/
|
|
17957
|
+
forMan: function(allToolNames) {
|
|
17958
|
+
return {
|
|
17959
|
+
type: "object",
|
|
17960
|
+
properties: {
|
|
17961
|
+
tools: {
|
|
17962
|
+
type: "array",
|
|
17963
|
+
items: {
|
|
17964
|
+
type: "string",
|
|
17965
|
+
enum: allToolNames,
|
|
17966
|
+
errorMessage: {
|
|
17967
|
+
enum: `Invalid tool name. Available: ${allToolNames.join(", ")}`
|
|
17968
|
+
}
|
|
17969
|
+
},
|
|
17970
|
+
minItems: 1,
|
|
17971
|
+
errorMessage: {
|
|
17972
|
+
minItems: "At least one tool name is required"
|
|
17973
|
+
}
|
|
17974
|
+
}
|
|
17975
|
+
},
|
|
17976
|
+
required: [
|
|
17977
|
+
"tools"
|
|
17978
|
+
],
|
|
17979
|
+
errorMessage: {
|
|
17980
|
+
required: {
|
|
17981
|
+
tools: 'Missing "tools" field. Expected: { tools: ["tool1", "tool2"] }'
|
|
17982
|
+
}
|
|
17983
|
+
}
|
|
17984
|
+
};
|
|
17985
|
+
}
|
|
17986
|
+
};
|
|
17987
|
+
}
|
|
17988
|
+
|
|
17889
17989
|
// __mcpc__core_latest/node_modules/@mcpc/core/src/utils/schema-validator.js
|
|
17890
17990
|
import { Ajv as Ajv2 } from "ajv";
|
|
17891
17991
|
import addFormats from "ajv-formats";
|
|
@@ -18057,22 +18157,9 @@ var AgenticExecutor = class {
|
|
|
18057
18157
|
}
|
|
18058
18158
|
const tool2 = args.tool;
|
|
18059
18159
|
if (tool2 === "man") {
|
|
18060
|
-
const
|
|
18061
|
-
|
|
18062
|
-
|
|
18063
|
-
type: "string",
|
|
18064
|
-
enum: this.allToolNames,
|
|
18065
|
-
errorMessage: {
|
|
18066
|
-
enum: `Invalid tool name. Available: ${this.allToolNames.join(", ")}`
|
|
18067
|
-
}
|
|
18068
|
-
},
|
|
18069
|
-
minItems: 1,
|
|
18070
|
-
errorMessage: {
|
|
18071
|
-
type: 'Expected an array of tool names, e.g. ["tool1", "tool2"]',
|
|
18072
|
-
minItems: "At least one tool name is required"
|
|
18073
|
-
}
|
|
18074
|
-
};
|
|
18075
|
-
const manValidation = validateSchema(args.args ?? [], manSchema);
|
|
18160
|
+
const createArgsDef = createArgsDefFactory(this.name, this.allToolNames, {});
|
|
18161
|
+
const manSchema = createArgsDef.forMan(this.allToolNames);
|
|
18162
|
+
const manValidation = validateSchema(args.args ?? {}, manSchema);
|
|
18076
18163
|
if (!manValidation.valid) {
|
|
18077
18164
|
return {
|
|
18078
18165
|
content: [
|
|
@@ -18084,7 +18171,8 @@ var AgenticExecutor = class {
|
|
|
18084
18171
|
isError: true
|
|
18085
18172
|
};
|
|
18086
18173
|
}
|
|
18087
|
-
|
|
18174
|
+
const argsObj = args.args;
|
|
18175
|
+
return this.handleManCommand(argsObj.tools, executeSpan);
|
|
18088
18176
|
}
|
|
18089
18177
|
const toolArgs = args.args || {};
|
|
18090
18178
|
return await this.executeTool(tool2, toolArgs, executeSpan);
|
|
@@ -18261,72 +18349,6 @@ ${JSON.stringify(cleanedSchema, null, 2)}
|
|
|
18261
18349
|
}
|
|
18262
18350
|
};
|
|
18263
18351
|
|
|
18264
|
-
// __mcpc__core_latest/node_modules/@mcpc/core/src/factories/args-def-factory.js
|
|
18265
|
-
function createArgsDefFactory(_name, _allToolNames, _depGroups, _predefinedSteps, _ensureStepActions) {
|
|
18266
|
-
return {
|
|
18267
|
-
forSampling: function() {
|
|
18268
|
-
return {
|
|
18269
|
-
type: "object",
|
|
18270
|
-
description: "Provide prompt for autonomous tool execution",
|
|
18271
|
-
properties: {
|
|
18272
|
-
prompt: {
|
|
18273
|
-
type: "string",
|
|
18274
|
-
description: "The task to be completed autonomously by the agentic system using available tools"
|
|
18275
|
-
},
|
|
18276
|
-
context: {
|
|
18277
|
-
type: "object",
|
|
18278
|
-
description: "Execution context, e.g., { cwd: '/path/to/dir' }. Any relevant fields allowed.",
|
|
18279
|
-
additionalProperties: true
|
|
18280
|
-
}
|
|
18281
|
-
},
|
|
18282
|
-
required: [
|
|
18283
|
-
"prompt",
|
|
18284
|
-
"context"
|
|
18285
|
-
],
|
|
18286
|
-
errorMessage: {
|
|
18287
|
-
required: {
|
|
18288
|
-
prompt: "Missing required field 'prompt'. Please provide a clear task description.",
|
|
18289
|
-
context: "Missing required field 'context'. Please provide relevant context (e.g., { cwd: '...' })."
|
|
18290
|
-
}
|
|
18291
|
-
}
|
|
18292
|
-
};
|
|
18293
|
-
},
|
|
18294
|
-
/**
|
|
18295
|
-
* Agentic schema - simplified Unix-style interface
|
|
18296
|
-
*
|
|
18297
|
-
* Only two fields:
|
|
18298
|
-
* - `tool`: which tool to execute (enum includes "man" + all tool names)
|
|
18299
|
-
* - `args`: parameters for the tool (array for "man", object for others)
|
|
18300
|
-
*/
|
|
18301
|
-
forAgentic: function(allToolNames) {
|
|
18302
|
-
const toolEnum = [
|
|
18303
|
-
"man",
|
|
18304
|
-
...allToolNames
|
|
18305
|
-
];
|
|
18306
|
-
return {
|
|
18307
|
-
type: "object",
|
|
18308
|
-
properties: {
|
|
18309
|
-
tool: {
|
|
18310
|
-
type: "string",
|
|
18311
|
-
enum: toolEnum,
|
|
18312
|
-
description: 'Which tool to execute. Use "man" to get tool schemas, or a tool name to execute.',
|
|
18313
|
-
errorMessage: {
|
|
18314
|
-
enum: `Invalid tool. Available: ${toolEnum.join(", ")}`
|
|
18315
|
-
}
|
|
18316
|
-
},
|
|
18317
|
-
args: {
|
|
18318
|
-
description: 'For "man": array of tool names ["tool1", "tool2"]. For other tools: object with parameters.'
|
|
18319
|
-
}
|
|
18320
|
-
},
|
|
18321
|
-
required: [
|
|
18322
|
-
"tool"
|
|
18323
|
-
],
|
|
18324
|
-
additionalProperties: false
|
|
18325
|
-
};
|
|
18326
|
-
}
|
|
18327
|
-
};
|
|
18328
|
-
}
|
|
18329
|
-
|
|
18330
18352
|
// __mcpc__core_latest/node_modules/@mcpc/core/src/executors/agentic/agentic-tool-registrar.js
|
|
18331
18353
|
function registerAgenticTool(server, { description, name, allToolNames, depGroups, toolNameToDetailList }) {
|
|
18332
18354
|
const createArgsDef = createArgsDefFactory(name, allToolNames, depGroups, void 0, void 0);
|