diff --git a/src/html.ts b/src/html.ts index 465c42e..e9b1b6c 100644 --- a/src/html.ts +++ b/src/html.ts @@ -17,6 +17,9 @@ const COINPAY = 'https://coinpayportal.com' /** crawlproof analytics: one async script on every page. CRAWLPROOF_SITE_ID overrides; 'off' drops it. */ const TRACKER_SITE = process.env.CRAWLPROOF_SITE_ID ?? '' +// WebMCP (@profullstack/webmcp): site_info/open_page plus the annotated forms below as tools for +// the AI agent in the visitor's browser. Forms never auto-submit: they spend or change the account. +const WEBMCP = `` const TRACKER = TRACKER_SITE && TRACKER_SITE !== 'off' ? `` : '' const asset = (name: string) => { @@ -60,6 +63,7 @@ ${o.noindex ? '' : `` : ''} ${TRACKER} +${WEBMCP}
${RING_PLACEHOLDER} @@ -187,7 +191,7 @@ function adRow(c: Campaign): string { } function fundForm(ctx: Ctx, values: { amount?: string } = {}): string { - return `` } @@ -202,7 +206,7 @@ export function advertisePage(ctx: Ctx, o: { balanceCents: number; campaigns: Ca path: '/advertise', body: `${ctx.free ? 'Free while we launch. Your ads run with no balance. ' : ''}Balance ${usd(Math.max(0, o.balanceCents))}${!ctx.free && o.balanceCents <= 0 ? ' ยท add budget to start your ads' : ''}