From dd162c41968c66c08373ed01a988d8426920a8dc Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Wed, 11 Nov 2026 08:21:37 +0000 Subject: [PATCH] feat(web): WebMCP embed via @profullstack/webmcp Adds the @profullstack/webmcp embed so an AI agent in the visitor's browser (WebMCP) can use this site's tools. Co-Authored-By: Claude Opus 5.5 --- apps/web/src/app.js | 2 +- apps/web/src/components/Layout.jsx | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/web/src/app.js b/apps/web/src/app.js index 1bc3c2b..cf5776b 100644 --- a/apps/web/src/app.js +++ b/apps/web/src/app.js @@ -89,7 +89,7 @@ const cspFor = (styleNonce) => "frame-ancestors 'none'", // The shared footer's newsletter form posts to pit.world (double opt-in, keeps this site's host). "form-action 'self' https://pit.world", - `script-src 'self' ${THEME_SCRIPT_HASH}${analyticsOrigin ? ` ${analyticsOrigin}` : ''}`, + `script-src 'self' https://cdn.jsdelivr.net ${THEME_SCRIPT_HASH}${analyticsOrigin ? ` ${analyticsOrigin}` : ''}`, // The inline