From 062506b18da5328c0e37974d04012361527cd4e1 Mon Sep 17 00:00:00 2001 From: Alex Patterson Date: Wed, 21 Oct 2026 00:41:51 -0400 Subject: [PATCH 1/5] feat(chat): integrate Cloudflare Clairic (@cf/cloudflare/clairic) extraction cascade for Agent AJ --- apps/site/src/components/ChatModal.astro | 2 +- apps/site/src/pages/api/chat.ts | 1094 +++++++++++++++------- apps/site/tests/tier1-features.test.mjs | 80 ++ 3 files changed, 842 insertions(+), 334 deletions(-) diff --git a/apps/site/src/components/ChatModal.astro b/apps/site/src/components/ChatModal.astro index 75c4d902..aaa6216d 100644 --- a/apps/site/src/components/ChatModal.astro +++ b/apps/site/src/components/ChatModal.astro @@ -34,7 +34,7 @@ />

Agent AJ

-

Grounded in Sanity Content Lake & Workers AI

+

Grounded in Sanity Content Lake • Clairic & Workers AI

+
+ + +
@@ -191,6 +205,7 @@ diff --git a/apps/site/src/components/Header.astro b/apps/site/src/components/Header.astro index 1071824c..8459e84b 100644 --- a/apps/site/src/components/Header.astro +++ b/apps/site/src/components/Header.astro @@ -13,6 +13,7 @@ const desktopLinks = navLinks.filter((link) => link?.sideOnly !== true); ---