caelum0x 695a365ae4 feat: PaperTrail — enterprise evidence-verification platform
Multi-tenant platform (182 pages, 228 API routes, ~30 modules) built on a
deterministic verification core: clinical-trial claims checked against
ClinicalTrials.gov registered results and raw event counts (ARR/NNT/RR+CI
recomputed in code, oracle-tested), code-enforced exact-span grounding, and
multi-source cross-verification. Auth/RBAC/multi-tenancy, document processing
at scale (unpdf + Docling), agentic workflows, Claude Science connector,
compliance/audit, billing, public API, and more.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08 07:21:22 +03:00

41 lines
1.3 KiB
TypeScript

import type { ProviderCatalogEntry } from "./types";
interface CatalogGridProps {
catalog: ProviderCatalogEntry[];
installedProviders: Set<string>;
onInstall: (provider: ProviderCatalogEntry) => void;
}
// The grid of available providers to install; each card shows the provider's
// direction and an install / "add another" action.
export function CatalogGrid({
catalog,
installedProviders,
onInstall,
}: CatalogGridProps) {
return (
<div className="mt-3 grid gap-4 sm:grid-cols-2">
{catalog.map((p) => {
const already = installedProviders.has(p.id);
return (
<div key={p.id} className="bg-white border border-ink/10 rounded-lg p-5">
<div className="flex items-center justify-between gap-2">
<div className="text-sm font-medium text-ink/80">{p.name}</div>
<span className="text-xs text-ink/40 border border-ink/10 rounded px-2 py-0.5">
{p.direction}
</span>
</div>
<p className="mt-1 text-xs text-ink/40">{p.description}</p>
<button
onClick={() => onInstall(p)}
className="mt-3 text-xs border border-ink/15 rounded px-3 py-1.5 hover:border-accent"
>
{already ? "Add another" : "Install"}
</button>
</div>
);
})}
</div>
);
}