feat(coding): add Pi Data Service product tools

This commit is contained in:
2026-08-26 19:58:38 +08:00
parent 44bcdf52fc
commit 1d63233cd0
12 changed files with 790 additions and 26 deletions

View File

@@ -303,6 +303,16 @@ const ToolDetails = memo(function ToolDetails({ details }: { details: KnownToolD
</div>
);
}
if (details.schema === 'data-service.v1') {
return (
<div className="rounded-xl bg-foreground/[0.035] p-3 text-xs">
<p className="font-semibold"> · {details.operation}</p>
<p className="mt-1 text-muted-foreground">
{details.success ? '成功' : details.error ?? '请求失败'} · HTTP {details.status}
</p>
</div>
);
}
return <SubagentGraph details={details} />;
});