diff --git a/src/components/adminSections.tsx b/src/components/adminSections.tsx index ee05113..15faddf 100644 --- a/src/components/adminSections.tsx +++ b/src/components/adminSections.tsx @@ -193,9 +193,18 @@ export function PluginsSection() { {plugins.length === 0 && 暂无已装载插件
(插件目录在 设置 → 常规 → 插件目录;示例见 Dev 仓 plugins/example)
} {plugins.map(p => ( - api {p.manifest.apiVersion} + label={p.manifest.name + (p.manifest.version ? ` v${p.manifest.version}` : '')} + desc={[ + `工具 ${p.manifest.provides.tools?.length ?? 0}`, + `命令 ${p.manifest.provides.commands?.length ?? 0}`, + `面板 ${p.panels?.length ?? 0}`, + `意图 ${p.intents?.length ?? p.manifest.provides.intents?.length ?? 0}`, + `工作流 ${p.workflows?.length ?? 0}`, + ].join(' · ')}> + + {p.manifest.backend?.mode === 'inproc' && 内置} + api {p.manifest.apiVersion} + ))}