Mastra core 1.67 / mcp 1.18 / memory 1.30 / pg 1.25 / cli 1.30,
CopilotKit 1.72 and @ag-ui/mastra 1.1.4.
CopilotKit 1.72 adaptations: /copilot/agent uses the node-http handler,
explicit CORS on both copilot routes, integrations read from the
single-route envelope (forwardedProps), root type imports, interrupt via
useCopilotChatInternal, multimodal message content, useSingleEndpoint on
the providers. Pin @types/express v5 and declare runtime-client-gql.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Neynar retired Sign In With Neynar, so the hosted popup used for Farcaster
login and channel connect no longer completes. Replace it with Neynar managed
signers: the backend creates a signer, signs the EIP-712 signed key request
with the app custody mnemonic (viem), registers it with Neynar and renders the
approval deep link as a QR (qrcode) since the link is a bare 302 to the
farcaster:// scheme. The frontend polls the new public /auth/farcaster/signer
routes and builds the same base64 blob the popup produced, so authenticate(),
the auth provider, the stored token format and existing users/channels are
unchanged. @neynar/react is removed.
Also thread the oauth_state nonce through the Farcaster login button: since
the Apple login change, checkExists rejects logins without a matching state
cookie, which broke Farcaster login independently of the SIWN retirement.
New env vars: NEYNAR_APP_FID, NEYNAR_APP_MNEMONIC, NEYNAR_SPONSOR_SIGNERS.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R8gvBNgPqqayC9zGPB5R5a