feat(coding): add plugin capability policy registry
This commit is contained in:
@@ -303,10 +303,10 @@ const ToolDetails = memo(function ToolDetails({ details }: { details: KnownToolD
|
||||
</div>
|
||||
);
|
||||
}
|
||||
if (details.schema === 'data-service.v1') {
|
||||
if (details.schema === 'makelore-capability.v1') {
|
||||
return (
|
||||
<div className="rounded-xl bg-foreground/[0.035] p-3 text-xs">
|
||||
<p className="font-semibold">数据服务 · {details.operation}</p>
|
||||
<p className="font-semibold">插件能力 · {details.operation}</p>
|
||||
<p className="mt-1 text-muted-foreground">
|
||||
{details.success ? '成功' : details.error ?? '请求失败'} · HTTP {details.status}
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user