Builds PaperTrail from the base skeleton into a full evidence-verification platform for the "Built with Claude: Life Sciences" hackathon (Builder Track). New named-user features (Build Beyond the Bench): - Lab Notebook Companion — rough bench notes -> structured, searchable, grounded experiment records (lib/labNotebook, /console/lab-notebook, migration 0059) - Clinical Trial Matcher — de-identified patient notes -> ranked eligible ClinicalTrials.gov trials with per-criterion inclusion/exclusion reasoning (lib/trialMatcher, /console/trial-matcher, migrations 0060) Platform: - Deterministic verification moat (biostats recompute, exact-span grounding) - 11 biomedical evidence engines (FAERS, GWAS, Open Targets, ChEMBL, ClinVar, PharmGKB, PubTator, DDI, repurposing, biomarker, unified verifier) - Evidence Intelligence (KG, dossier, provenance/export, RWE) + enterprise governance (RBAC, /api/v1 gateway, metering, audit chain, retention) - 17 OSS projects assimilated into native TypeScript on our stack (backend/engines retained + credited in NOTICE) - Multi-format upload (PDF/DOCX/XLSX/CSV/MD/TXT), logo, marketing site - Next.js 16 upgrade, benchmark harness (honest smoke-test caveat) Licensing: Apache-2.0 (LICENSE + NOTICE).
82 lines
2.2 KiB
TypeScript
82 lines
2.2 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Lexend } from "next/font/google";
|
|
import PlausibleProvider from "next-plausible";
|
|
import { GoogleAnalytics } from '@next/third-parties/google'
|
|
import { ResearchHistoryProvider } from "@/hooks/ResearchHistoryContext";
|
|
import "./globals.css";
|
|
import Script from 'next/script';
|
|
|
|
const inter = Lexend({ subsets: ["latin"] });
|
|
|
|
let title = "GPT Researcher";
|
|
let description =
|
|
"LLM based autonomous agent that conducts local and web research on any topic and generates a comprehensive report with citations.";
|
|
let url = "https://github.com/assafelovic/gpt-researcher";
|
|
let ogimage = "/favicon.ico";
|
|
let sitename = "GPT Researcher";
|
|
|
|
export const metadata: Metadata = {
|
|
metadataBase: new URL(url),
|
|
title,
|
|
description,
|
|
manifest: '/manifest.json',
|
|
icons: {
|
|
icon: "/img/gptr-black-logo.png",
|
|
apple: '/img/gptr-black-logo.png',
|
|
},
|
|
appleWebApp: {
|
|
capable: true,
|
|
statusBarStyle: 'default',
|
|
title: title,
|
|
},
|
|
openGraph: {
|
|
images: [ogimage],
|
|
title,
|
|
description,
|
|
url: url,
|
|
siteName: sitename,
|
|
locale: "en_US",
|
|
type: "website",
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
images: [ogimage],
|
|
title,
|
|
description,
|
|
},
|
|
viewport: {
|
|
width: 'device-width',
|
|
initialScale: 1,
|
|
maximumScale: 1,
|
|
userScalable: false,
|
|
},
|
|
themeColor: '#111827',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
|
|
return (
|
|
<html className="gptr-root" lang="en" suppressHydrationWarning>
|
|
<head>
|
|
<PlausibleProvider domain="localhost:3000" />
|
|
<GoogleAnalytics gaId={process.env.NEXT_PUBLIC_GA_MEASUREMENT_ID!} />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
<link rel="apple-touch-icon" href="/img/gptr-black-logo.png" />
|
|
</head>
|
|
<body
|
|
className={`app-container ${inter.className} flex min-h-screen flex-col justify-between`}
|
|
suppressHydrationWarning
|
|
>
|
|
<ResearchHistoryProvider>
|
|
{children}
|
|
</ResearchHistoryProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|