Documentation Index
Fetch the complete documentation index at: https://docs.nudj.cx/llms.txt
Use this file to discover all available pages before exploring further.
π‘ Release v2.350.1
ββ Moderate Complexity β’ 4 commits β’ 32 files changedIntroducing Ask Nudj Widget β bring AI-powered assistance directly into the admin panel with multi-tab chat, voice support, and conversation history. This release also fixes critical HTTP protocol compliance issues in the API proxy route that prevent header conflicts on Cloudflare-fronted deployments.
Whatβs New
- Ask Nudj Widget in Admin Panel β Get intelligent help while configuring challenges, rewards, and gamification features directly from the admin interface
- Multi-Tab Chat Management β Organize conversations into tabs, maintain separate chat histories, and switch between topics seamlessly
- Voice-Enabled Chat β Use voice commands in Ask Nudj for hands-free operation and real-time transcription
- HTTP Protocol Compliance Fix β Strip hop-by-hop headers in API proxy routes to prevent
transfer-encodingheader conflicts andInvalidArgumentErrorexceptions - Streaks Visibility Toggle Persistence β Configuration now saves correctly when toggling streak visibility in admin settings
Apps Updated
User App
β Updated - HTTP proxy reliability improvements
API
β No changes
Admin
β Updated - Ask Nudj widget, streaks persistence
MCP Server
β No changes
Website
β No changes
Games
β No changes
Detailed Changes
Admin
Admin
Ask Nudj Widget Integration
- New Multi-Tab Chat Interface β Open multiple concurrent conversations with Ask Nudj, each maintaining separate message histories
- Chat History Management β Access previous conversations, search chat history, and organize chats by date
- Background Tab Processing β Chat remains active even when switching between admin panels, enabling long-running AI operations
- Voice Integration β Leverage ElevenLabs Conversational AI SDK for bidirectional voice chat with real-time transcription
- Pin & Organize β Pin important conversations to access them quickly, minimize widget to focus on admin tasks
- Rich Chat UI β Dropdown menu for chat actions (copy, delete, mark as read), status indicators, and visual feedback
UI Refactoring
- Replaced onboarding guide carousel with integrated Ask Nudj widget
- Removed legacy
nav-user.tsxcomponent, consolidating navigation - Updated sidebar layout to accommodate Ask Nudj widget positioning
Streaks Configuration
- Fixed Streaks Visibility Toggle β Setting now persists correctly when saving community settings
- Configuration changes apply immediately without requiring page refresh
Test Coverage
- Comprehensive test suite for Ask Nudj widget tab state management
- Background tab scenario testing to ensure chat continues while switching panels
- Integration tests for community data context in chat operations
User App
User App
HTTP Protocol Compliance Fix
- Hop-by-Hop Header Stripping β API proxy route now correctly removes RFC 7230 hop-by-hop headers (
transfer-encoding,connection,keep-alive, etc.) - Production Incident Resolution β Fixes
InvalidArgumentError: invalid transfer-encoding headerthat occurred when forwarding proxied requests through Cloudflare-fronted deployments - Header Security β Strips cookies and client-supplied auth tokens from proxied requests, allowing routes to inject authentication explicitly
Implementation Details
- New
buildForwardedHeaders()utility function manages header filtering - Comprehensive test coverage for header transformation logic
- Maintains upstream host override to prevent host header conflicts
Technical Details
Ask Nudj Widget Architecture
The new Ask Nudj widget replaces the onboarding carousel with a sophisticated chat interface:- Tab State Management β
ask-nudj-tab-state.tshandles unread indicators, load states, and completion tracking per tab - Persistent Chat Sessions β Each tab maintains
clientSessionIdfor message continuity and history recovery - ElevenLabs Integration β Bidirectional voice agent using Vercel AI SDK with streaming support
- Background Processing β Tabs remain active in the background, enabling multi-task admin workflows
HTTP Proxy Header Filtering
The hop-by-hop header fix prevents a class of production errors:transfer-encoding: chunked but supplies a fixed-size body buffer, undici (Node.js HTTP client) throws InvalidArgumentError. Cloudflare-fronted tenants were most affected because Cloudflareβs intermediate proxies sometimes add transfer-encoding headers.
Contributors
@jamescockayne2 commits β’ +172/-23 linesRelease Stats
| Metric | Value |
|---|---|
| Total Commits | 4 |
| Lines Added | +3,780 |
| Lines Removed | -1,426 |
| Files Changed | 32 |
| Size | Medium π‘ |
| Complexity | Moderate ββ |
v2.350.1 deployed on May 21, 2026


