See the Platform overview for what “Requires API key” means in practice.
The chat package
The chat widget ships in its own package,@waniwani/chat: WaniwaniChat, ChatEmbed, McpAppFrame, WebMcpOverlay, the themes, embed.js and styles.css. It needs a project token (wwp_...). @waniwani/sdk does not depend on it, so a server install never downloads the chat. See Chat in React and the embed script.
Bundle sizes
@waniwani/sdk/mcpcore path: under 5 KB gzipped@waniwani/chat(full widget bundle): ~650 KB (React included; tree-shakeable when you import individual layouts)@waniwani/sdkclient + tracking: ~10 KB gzipped
Peer dependencies
@modelcontextprotocol/sdk(required for server entry points)zod(required for flow state schemas)react(only required when using@waniwani/sdk/mcp/react)skybridge(optional; only required when using@waniwani/sdk/mcp/react/skybridge)
@waniwani/chat lists its own peers: react, ai, @ai-sdk/react and zod.