@mondaydotcomorg/monday-api-mcp 1.0.7 → 1.0.9
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.
|
@@ -25,7 +25,7 @@ exports.ARG_CONFIGS = [
|
|
|
25
25
|
{
|
|
26
26
|
name: 'enableDynamicApiTools',
|
|
27
27
|
flags: ['--enable-dynamic-api-tools', '-edat'],
|
|
28
|
-
description: '(Beta) Enable dynamic API tools (
|
|
28
|
+
description: '(Beta) Enable dynamic API tools. Options: "true" (enables along with other tools), "only" (only dynamic API tools), "false" (disabled). Not supported when using read-only mode.',
|
|
29
29
|
required: false,
|
|
30
30
|
defaultValue: false,
|
|
31
31
|
},
|
|
@@ -57,7 +57,13 @@ function validateArgs(parsedArgs) {
|
|
|
57
57
|
args_config_js_1.ARG_CONFIGS.forEach((config) => {
|
|
58
58
|
if (typeof config.defaultValue === 'boolean' && parsedArgs[config.name] !== undefined) {
|
|
59
59
|
const stringValue = parsedArgs[config.name];
|
|
60
|
-
|
|
60
|
+
// Special handling for enableDynamicApiTools to support "only" option
|
|
61
|
+
if (config.name === 'enableDynamicApiTools' && stringValue.toLowerCase() === 'only') {
|
|
62
|
+
typedArgs[config.name] = 'only';
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
typedArgs[config.name] = stringValue.toLowerCase() === 'true';
|
|
66
|
+
}
|
|
61
67
|
}
|
|
62
68
|
});
|
|
63
69
|
return typedArgs;
|