fix: gate plugin tools from manifest availability

This commit is contained in:
Shakker
2026-05-02 05:00:32 +01:00
parent 854323a124
commit 3cf1dd982b
14 changed files with 990 additions and 243 deletions

View File

@@ -135,6 +135,44 @@
}
}
},
"toolMetadata": {
"code_execution": {
"authSignals": [
{
"provider": "xai"
}
],
"configSignals": [
{
"rootPath": "plugins.entries.xai.config",
"overlayPath": "webSearch",
"required": ["apiKey"]
},
{
"rootPath": "tools.web.search.grok",
"required": ["apiKey"]
}
]
},
"x_search": {
"authSignals": [
{
"provider": "xai"
}
],
"configSignals": [
{
"rootPath": "plugins.entries.xai.config",
"overlayPath": "webSearch",
"required": ["apiKey"]
},
{
"rootPath": "tools.web.search.grok",
"required": ["apiKey"]
}
]
}
},
"configContracts": {
"compatibilityRuntimePaths": ["tools.web.search.apiKey"]
},