@pdpp/mcp-server 0.15.4 → 0.16.0
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/package.json +1 -1
- package/src/tools.js +1 -0
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -2112,6 +2112,7 @@ function formatFieldCapabilityFlags(capabilities) {
|
|
|
2112
2112
|
const schema = objectValue(capabilities.schema);
|
|
2113
2113
|
const type = firstString(capabilities.type, schemaType(schema));
|
|
2114
2114
|
if (type) flags.push(`t=${formatInlineValue(type)}`);
|
|
2115
|
+
if (typeof capabilities.role === 'string' && capabilities.role.length > 0) flags.push(`role=${formatInlineValue(capabilities.role)}`);
|
|
2115
2116
|
if (capabilities.granted === false) {
|
|
2116
2117
|
flags.push('g=false');
|
|
2117
2118
|
}
|