* 读取被用户禁用 MCP 工具暴露的插件路径集合。
()
| 318 | * 读取被用户禁用 MCP 工具暴露的插件路径集合。 |
| 319 | */ |
| 320 | private getDisabledPluginPaths(): Set<string> { |
| 321 | const data = databaseAPI.dbGet(MCP_DISABLED_PLUGINS_DB_KEY) |
| 322 | return new Set(Array.isArray(data) ? data.filter((item) => typeof item === 'string') : []) |
| 323 | } |
| 324 | |
| 325 | /** |
| 326 | * 生成 MCP 对外暴露的工具名,格式为 plugin_tool。 |
no test coverage detected