diff --git a/AI_IMPLEMENTATION_PROMPT.md b/AI_IMPLEMENTATION_PROMPT.md
new file mode 100644
index 0000000..14c0fe6
--- /dev/null
+++ b/AI_IMPLEMENTATION_PROMPT.md
@@ -0,0 +1,472 @@
+# AI Implementation Prompt - BotUI Full Product Build
+
+**Budget:** $200,000 USD | **Timeline:** 15 weeks | **Version:** 6.1.0
+
+---
+
+## CONTEXT
+
+You are implementing frontend UI for General Bots Suite. ALL backend APIs already exist in BotServer - your job is purely to wire HTMX-based UI to existing endpoints.
+
+### Tech Stack
+- **Templates:** Rust Askama (HTML templates)
+- **Interactivity:** HTMX (NO custom JavaScript unless absolutely necessary)
+- **Styling:** CSS with CSS variables for theming
+- **WebSocket:** htmx-ws extension for real-time features
+- **Icons:** Use ONLY existing icons from `ui/suite/assets/icons/`
+
+### Critical Rules
+1. **HTMX ONLY** - No fetch(), no axios, no custom JS for API calls
+2. **Server-side rendering** - All HTML generated by Rust/Askama
+3. **Local assets** - NEVER use CDN links
+4. **Zero warnings** - Clean Rust compilation required
+5. **6 themes** - Use CSS variables, not hardcoded colors
+
+---
+
+## PHASE 1: CORE APPS ($45,000 - 3 weeks)
+
+### Task 1.1: Paper App (Document Editor)
+**Create:** `ui/suite/paper/paper.html`
+
+Wire these endpoints:
+```
+POST /api/paper/new → Create new document
+GET /api/paper/list → List documents
+GET /api/paper/search?q= → Search documents
+POST /api/paper/save → Save document
+POST /api/paper/autosave → Auto-save (5s delay)
+GET /api/paper/{id} → Get document
+POST /api/paper/{id}/delete → Delete document
+POST /api/paper/template/blank → Blank template
+POST /api/paper/template/meeting → Meeting notes template
+POST /api/paper/template/todo → Todo template
+POST /api/paper/template/research→ Research template
+POST /api/paper/ai/summarize → AI summarize
+POST /api/paper/ai/expand → AI expand text
+POST /api/paper/ai/improve → AI improve writing
+POST /api/paper/ai/simplify → AI simplify
+POST /api/paper/ai/translate → AI translate
+POST /api/paper/ai/custom → AI custom prompt
+GET /api/paper/export/pdf → Export PDF
+GET /api/paper/export/docx → Export DOCX
+GET /api/paper/export/md → Export Markdown
+GET /api/paper/export/html → Export HTML
+GET /api/paper/export/txt → Export Text
+```
+
+Structure:
+- Sidebar: document list + search
+- Main: rich text editor area
+- Right panel: AI assistant tools
+- Toolbar: save, templates, export
+
+---
+
+### Task 1.2: Research App
+**Create:** `ui/suite/research/research.html`
+
+Wire these endpoints:
+```
+GET /api/research/collections → List collections
+POST /api/research/collections/new → Create collection
+GET /api/research/collections/{id} → Get collection
+POST /api/research/search → Search across sources
+GET /api/research/recent → Recent searches
+GET /api/research/trending → Trending topics
+GET /api/research/prompts → Suggested prompts
+GET /api/research/export-citations → Export citations
+```
+
+---
+
+### Task 1.3: Sources App
+**Create:** `ui/suite/sources/sources.html`
+
+Wire these endpoints:
+```
+GET /api/sources/prompts → Prompt library
+GET /api/sources/templates → Template library
+GET /api/sources/news → News feed
+GET /api/sources/mcp-servers → MCP server list
+GET /api/sources/llm-tools → LLM tools list
+GET /api/sources/models → Available models
+GET /api/sources/search?q= → Search sources
+```
+
+Structure: Tab-based navigation between source types
+
+---
+
+### Task 1.4: Meet App (Video Conferencing)
+**Create:** `ui/suite/meet/meet.html`
+
+Wire these endpoints:
+```
+POST /api/meet/create → Create meeting
+GET /api/meet/rooms → List active rooms
+GET /api/meet/rooms/{room_id} → Get room details
+POST /api/meet/rooms/{room_id}/join → Join room
+POST /api/meet/transcription/{room_id} → Start transcription
+POST /api/meet/token → Get meeting token
+POST /api/meet/invite → Send invites
+WS /ws/meet → Real-time meeting
+POST /api/voice/start → Start voice
+POST /api/voice/stop → Stop voice
+```
+
+---
+
+### Task 1.5: Conversations (Enhance Chat)
+**Enhance:** `ui/suite/chat/chat.html`
+
+Add these endpoints:
+```
+POST /conversations/create → Create conversation
+POST /conversations/{id}/join → Join
+POST /conversations/{id}/leave → Leave
+GET /conversations/{id}/members → List members
+GET /conversations/{id}/messages → Get messages
+POST /conversations/{id}/messages/send → Send message
+POST /conversations/{id}/messages/{msg}/edit → Edit message
+POST /conversations/{id}/messages/{msg}/delete → Delete message
+POST /conversations/{id}/messages/{msg}/react → Add reaction
+POST /conversations/{id}/messages/{msg}/pin → Pin message
+GET /conversations/{id}/messages/search?q= → Search
+POST /conversations/{id}/calls/start → Start call
+POST /conversations/{id}/calls/join → Join call
+POST /conversations/{id}/calls/leave → Leave call
+POST /conversations/{id}/calls/mute → Mute
+POST /conversations/{id}/calls/unmute → Unmute
+POST /conversations/{id}/screen/share → Share screen
+POST /conversations/{id}/screen/stop → Stop share
+POST /conversations/{id}/recording/start → Start recording
+POST /conversations/{id}/recording/stop → Stop recording
+POST /conversations/{id}/whiteboard/create → Create whiteboard
+POST /conversations/{id}/whiteboard/collaborate → Collaborate
+```
+
+---
+
+### Task 1.6: Drive Enhancement
+**Enhance:** `ui/suite/drive/index.html`
+
+Add missing endpoints:
+```
+POST /files/copy → Copy file
+POST /files/move → Move file
+GET /files/shared → Shared with me
+GET /files/permissions → Get permissions
+GET /files/quota → Storage quota
+GET /files/sync/status → Sync status
+POST /files/sync/start → Start sync
+POST /files/sync/stop → Stop sync
+GET /files/versions → File versions
+POST /files/restore → Restore version
+POST /docs/merge → Merge documents
+POST /docs/convert → Convert format
+POST /docs/fill → Fill template
+POST /docs/export → Export document
+POST /docs/import → Import document
+```
+
+---
+
+### Task 1.7: Calendar Enhancement
+**Enhance:** `ui/suite/calendar/calendar.html`
+
+Add missing endpoints:
+```
+GET /api/calendar/events/{id} → Get event
+PUT /api/calendar/events/{id} → Update event
+DELETE /api/calendar/events/{id} → Delete event
+GET /api/calendar/export.ics → Export iCal
+POST /api/calendar/import → Import iCal
+```
+
+---
+
+### Task 1.8: Email Enhancement
+**Enhance:** `ui/suite/mail/mail.html`
+
+Add missing endpoints:
+```
+GET /api/email/accounts → List accounts
+POST /api/email/accounts/add → Add account
+DELETE /api/email/accounts/{id} → Remove account
+GET /api/email/compose → Compose form
+POST /api/email/send → Send email
+POST /api/email/draft → Save draft
+GET /api/email/folders/{account_id} → Get folders
+GET /api/email/tracking/stats → Tracking stats
+```
+
+---
+
+## PHASE 2: ADMIN PANEL ($55,000 - 4 weeks)
+
+### Task 2.1: User Management
+**Create:** `ui/suite/admin/users.html`
+
+Wire ALL user endpoints:
+```
+POST /users/create → Create user
+PUT /users/{id}/update → Update user
+DELETE /users/{id}/delete → Delete user
+GET /users/list → List users
+GET /users/search?q= → Search users
+GET /users/{id}/profile → Get profile
+GET /users/{id}/settings → Get settings
+GET /users/{id}/permissions → Get permissions
+GET /users/{id}/roles → Get roles
+GET /users/{id}/status → Get status
+GET /users/{id}/presence → Get presence
+GET /users/{id}/activity → Get activity
+POST /users/{id}/security/2fa/enable → Enable 2FA
+POST /users/{id}/security/2fa/disable → Disable 2FA
+GET /users/{id}/security/devices → List devices
+GET /users/{id}/security/sessions → List sessions
+POST /users/{id}/notifications/preferences/update → Update prefs
+```
+
+---
+
+### Task 2.2: Group Management
+**Create:** `ui/suite/admin/groups.html`
+
+Wire ALL group endpoints:
+```
+POST /groups/create → Create group
+PUT /groups/{id}/update → Update group
+DELETE /groups/{id}/delete → Delete group
+GET /groups/list → List groups
+GET /groups/search?q= → Search groups
+GET /groups/{id}/members → Get members
+POST /groups/{id}/members/add → Add member
+POST /groups/{id}/members/roles → Set member role
+DELETE /groups/{id}/members/remove → Remove member
+GET /groups/{id}/permissions → Get permissions
+GET /groups/{id}/settings → Get settings
+GET /groups/{id}/analytics → Get analytics
+POST /groups/{id}/join/request → Request join
+POST /groups/{id}/join/approve → Approve join
+POST /groups/{id}/join/reject → Reject join
+POST /groups/{id}/invites/send → Send invite
+GET /groups/{id}/invites/list → List invites
+```
+
+---
+
+### Task 2.3: DNS Management
+**Create:** `ui/suite/admin/dns.html`
+
+```
+POST /api/dns/register → Register hostname
+POST /api/dns/remove → Remove hostname
+```
+
+---
+
+### Task 2.4: Admin Shell
+**Create:** `ui/suite/admin/index.html`
+
+Sidebar navigation to: Dashboard, Users, Groups, Bots, DNS, Audit, Billing
+
+---
+
+## PHASE 3: SETTINGS ($30,000 - 2 weeks)
+
+**Create directory:** `ui/suite/settings/`
+
+Files needed:
+- `index.html` - Settings shell with sidebar nav
+- `profile.html` - User profile editing
+- `security.html` - 2FA, sessions, devices, password change
+- `appearance.html` - Theme selection (6 themes)
+- `notifications.html` - Email/push/in-app preferences
+- `storage.html` - Cloud sync configuration
+- `integrations.html` - API keys, webhooks, OAuth connections
+- `privacy.html` - Data export, account deletion
+- `billing.html` - Subscription management
+
+---
+
+## PHASE 4: MONITORING ($25,000 - 2 weeks)
+
+**Create directory:** `ui/suite/monitoring/`
+
+Files needed:
+- `index.html` - Monitoring shell
+- `services.html` - Service health grid
+- `resources.html` - CPU/Memory/Disk charts
+- `logs.html` - Real-time log viewer (WebSocket)
+- `metrics.html` - Prometheus metrics display
+- `alerts.html` - Alert rule configuration
+- `health.html` - Health check endpoints
+
+Key endpoints:
+```
+GET /api/services/status → Service health
+GET /api/analytics/dashboard → Dashboard metrics
+GET /api/analytics/metric → Individual metric
+GET /metrics → Prometheus export
+WS /ws/logs → Real-time logs
+```
+
+---
+
+## PHASE 5: AUTH ($25,000 - 2 weeks)
+
+**Enhance:** `ui/suite/auth/`
+
+- `login.html` - Add 2FA challenge flow
+- `register.html` - New user registration
+- `forgot-password.html` - Password reset request
+- `reset-password.html` - Password reset form
+
+Key endpoints:
+```
+POST /api/auth/login → Login
+POST /api/auth/register → Register
+POST /api/auth/2fa/verify → Verify 2FA code
+POST /api/auth/forgot-password → Request reset
+POST /api/auth/reset-password → Reset password
+GET /api/auth/oauth/google → Google OAuth
+GET /api/auth/oauth/microsoft → Microsoft OAuth
+```
+
+---
+
+## PHASE 6: POLISH ($20,000 - 2 weeks)
+
+1. Update `base.html` navigation with all new apps
+2. Mobile responsiveness for all views
+3. ARIA labels and keyboard navigation
+4. Extract strings for i18n preparation
+5. Error states and loading indicators
+6. Comprehensive testing
+
+---
+
+## HTMX PATTERNS TO USE
+
+### Basic GET
+```html
+
+```
+
+### Search with Debounce
+```html
+
+```
+
+### Form Submit
+```html
+
+```
+
+### Delete with Confirm
+```html
+
+```
+
+### Polling
+```html
+
+```
+
+### WebSocket
+```html
+
+```
+
+### Tabs
+```html
+
+
+```
+
+---
+
+## FILE CREATION ORDER
+
+Week 1-2:
+1. `ui/suite/paper/paper.html`
+2. `ui/suite/research/research.html`
+
+Week 3-4:
+3. `ui/suite/sources/sources.html`
+4. `ui/suite/meet/meet.html`
+
+Week 5-6:
+5. Enhance `ui/suite/chat/chat.html` (conversations)
+6. Enhance `ui/suite/drive/index.html`
+7. Enhance `ui/suite/calendar/calendar.html`
+8. Enhance `ui/suite/mail/mail.html`
+
+Week 7-8:
+9. `ui/suite/admin/index.html`
+10. `ui/suite/admin/users.html`
+11. `ui/suite/admin/groups.html`
+12. `ui/suite/admin/dns.html`
+
+Week 9-10:
+13. `ui/suite/settings/index.html`
+14. `ui/suite/settings/profile.html`
+15. `ui/suite/settings/security.html`
+16. `ui/suite/settings/appearance.html`
+17. `ui/suite/settings/notifications.html`
+18. `ui/suite/settings/storage.html`
+19. `ui/suite/settings/integrations.html`
+20. `ui/suite/settings/privacy.html`
+
+Week 11-12:
+21. `ui/suite/monitoring/index.html`
+22. `ui/suite/monitoring/services.html`
+23. `ui/suite/monitoring/logs.html`
+24. `ui/suite/monitoring/metrics.html`
+25. `ui/suite/monitoring/alerts.html`
+
+Week 13-14:
+26. `ui/suite/auth/register.html`
+27. `ui/suite/auth/forgot-password.html`
+28. Enhance `ui/suite/auth/login.html`
+
+Week 15:
+29. Update `ui/suite/base.html` navigation
+30. Polish and testing
+
+---
+
+## SUCCESS CHECKLIST
+
+- [ ] 100+ API endpoints wired to UI
+- [ ] All CRUD operations working
+- [ ] Real-time features via WebSocket
+- [ ] Mobile responsive
+- [ ] Admin panel complete
+- [ ] Settings self-service complete
+- [ ] Monitoring operational
+- [ ] OAuth working (Google, Microsoft)
+- [ ] 2FA implemented
+- [ ] Zero custom JS where HTMX works
+- [ ] All 6 themes working
+- [ ] No compilation warnings
\ No newline at end of file
diff --git a/IMPLEMENTATION_PLAN.md b/IMPLEMENTATION_PLAN.md
new file mode 100644
index 0000000..b2122d4
--- /dev/null
+++ b/IMPLEMENTATION_PLAN.md
@@ -0,0 +1,1384 @@
+# BotUI Full Product Implementation Plan
+
+**Budget:** $200,000 USD
+**Goal:** Complete enterprise-ready product for international market
+**Version:** 6.1.0
+
+---
+
+## Executive Summary
+
+This document outlines the implementation of ~100+ missing API integrations in BotUI to create a complete enterprise productivity suite. All backend APIs already exist in BotServer - this work focuses purely on frontend UI integration using HTMX patterns.
+
+---
+
+## Architecture Overview
+
+```
+┌─────────────────────────────────────────────────────────────────┐
+│ BotUI Suite │
+├─────────────┬─────────────┬─────────────┬─────────────┬─────────┤
+│ Apps │ Admin │ Settings │ Monitoring │ Auth │
+├─────────────┼─────────────┼─────────────┼─────────────┼─────────┤
+│ Chat │ Users │ Profile │ Services │ Login │
+│ Drive │ Groups │ Theme │ Resources │ OAuth │
+│ Mail │ Permissions │ Sync │ Logs │ 2FA │
+│ Calendar │ Audit │ Storage │ Metrics │ SSO │
+│ Tasks │ DNS │ API Keys │ Health │ │
+│ Meet │ Bots │ Webhooks │ Alerts │ │
+│ Paper │ │ │ │ │
+│ Research │ │ │ │ │
+│ Sources │ │ │ │ │
+│ Designer │ │ │ │ │
+│ Analytics │ │ │ │ │
+└─────────────┴─────────────┴─────────────┴─────────────┴─────────┘
+```
+
+---
+
+## Phase 1: Core Apps Completion ($45,000 - 3 weeks)
+
+### 1.1 Paper App - Document Editor
+**Location:** `ui/suite/paper/`
+**Priority:** HIGH
+**Effort:** 5 days
+
+Wire existing `/api/paper/*` endpoints:
+
+```html
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+**API Endpoints to Wire:**
+- `POST /api/paper/new`
+- `GET /api/paper/list`
+- `GET /api/paper/search`
+- `POST /api/paper/save`
+- `POST /api/paper/autosave`
+- `GET /api/paper/{id}`
+- `POST /api/paper/{id}/delete`
+- `POST /api/paper/template/*` (blank, meeting, todo, research)
+- `POST /api/paper/ai/*` (summarize, expand, improve, simplify, translate, custom)
+- `GET /api/paper/export/*` (pdf, docx, md, html, txt)
+
+---
+
+### 1.2 Research App - Knowledge Collection
+**Location:** `ui/suite/research/`
+**Priority:** HIGH
+**Effort:** 4 days
+
+```html
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+**API Endpoints to Wire:**
+- `GET /api/research/collections`
+- `POST /api/research/collections/new`
+- `GET /api/research/collections/{id}`
+- `POST /api/research/search`
+- `GET /api/research/recent`
+- `GET /api/research/trending`
+- `GET /api/research/prompts`
+- `GET /api/research/export-citations`
+
+---
+
+### 1.3 Sources App - Knowledge Management
+**Location:** `ui/suite/sources/`
+**Priority:** HIGH
+**Effort:** 4 days
+
+```html
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+**API Endpoints to Wire:**
+- `GET /api/sources/prompts`
+- `GET /api/sources/templates`
+- `GET /api/sources/news`
+- `GET /api/sources/mcp-servers`
+- `GET /api/sources/llm-tools`
+- `GET /api/sources/models`
+- `GET /api/sources/search`
+
+---
+
+### 1.4 Meet App - Video Conferencing
+**Location:** `ui/suite/meet/`
+**Priority:** HIGH
+**Effort:** 6 days
+
+```html
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+**API Endpoints to Wire:**
+- `POST /api/meet/create`
+- `GET /api/meet/rooms`
+- `GET /api/meet/rooms/{room_id}`
+- `POST /api/meet/rooms/{room_id}/join`
+- `POST /api/meet/transcription/{room_id}`
+- `POST /api/meet/token`
+- `POST /api/meet/invite`
+- `WebSocket /ws/meet`
+
+---
+
+### 1.5 Conversations System (Chat Enhancement)
+**Location:** `ui/suite/chat/` (enhancement)
+**Priority:** HIGH
+**Effort:** 8 days
+
+```html
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+**API Endpoints to Wire (40+ endpoints):**
+- `POST /conversations/create`
+- `POST /conversations/{id}/join`
+- `POST /conversations/{id}/leave`
+- `GET /conversations/{id}/members`
+- `GET /conversations/{id}/messages`
+- `POST /conversations/{id}/messages/send`
+- `POST /conversations/{id}/messages/{msg_id}/edit`
+- `POST /conversations/{id}/messages/{msg_id}/delete`
+- `POST /conversations/{id}/messages/{msg_id}/react`
+- `POST /conversations/{id}/messages/{msg_id}/pin`
+- `GET /conversations/{id}/messages/search`
+- `POST /conversations/{id}/calls/start`
+- `POST /conversations/{id}/calls/join`
+- `POST /conversations/{id}/calls/leave`
+- `POST /conversations/{id}/calls/mute`
+- `POST /conversations/{id}/calls/unmute`
+- `POST /conversations/{id}/screen/share`
+- `POST /conversations/{id}/screen/stop`
+- `POST /conversations/{id}/recording/start`
+- `POST /conversations/{id}/recording/stop`
+- `POST /conversations/{id}/whiteboard/create`
+- `POST /conversations/{id}/whiteboard/collaborate`
+
+---
+
+### 1.6 Drive App Completion
+**Location:** `ui/suite/drive/` (enhancement)
+**Priority:** MEDIUM
+**Effort:** 5 days
+
+Add missing file operations:
+
+```html
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+**API Endpoints to Wire:**
+- `POST /files/read`
+- `POST /files/write`
+- `POST /files/copy`
+- `POST /files/move`
+- `POST /files/shareFolder`
+- `GET /files/shared`
+- `GET /files/permissions`
+- `GET /files/quota`
+- `GET /files/sync/status`
+- `POST /files/sync/start`
+- `POST /files/sync/stop`
+- `GET /files/versions`
+- `POST /files/restore`
+- `POST /docs/merge`
+- `POST /docs/convert`
+- `POST /docs/fill`
+- `POST /docs/export`
+- `POST /docs/import`
+
+---
+
+### 1.7 Calendar App Completion
+**Location:** `ui/suite/calendar/` (enhancement)
+**Priority:** MEDIUM
+**Effort:** 3 days
+
+```html
+
+
+
+
+
+
+
+
+
+
+
+```
+
+**API Endpoints to Wire:**
+- `GET /api/calendar/events/{id}`
+- `PUT /api/calendar/events/{id}`
+- `DELETE /api/calendar/events/{id}`
+- `GET /api/calendar/export.ics`
+- `POST /api/calendar/import`
+
+---
+
+### 1.8 Email App Completion
+**Location:** `ui/suite/mail/` (enhancement)
+**Priority:** MEDIUM
+**Effort:** 4 days
+
+```html
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+**API Endpoints to Wire:**
+- `GET /api/email/accounts`
+- `POST /api/email/accounts/add`
+- `DELETE /api/email/accounts/{account_id}`
+- `GET /api/email/compose`
+- `POST /api/email/send`
+- `POST /api/email/draft`
+- `GET /api/email/folders/{account_id}`
+- `GET /api/email/tracking/stats`
+- `GET /api/email/tracking/status/{tracking_id}`
+
+---
+
+## Phase 2: Admin Panel ($55,000 - 4 weeks)
+
+### 2.1 User Management
+**Location:** `ui/suite/admin/users.html`
+**Priority:** CRITICAL
+**Effort:** 8 days
+
+```html
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | User |
+ Email |
+ Role |
+ Status |
+ Actions |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Security
+
+
+
Devices
+
Sessions
+
+
+
+
+
Notification Preferences
+
+
+
+```
+
+**API Endpoints to Wire:**
+- `POST /users/create`
+- `PUT /users/{user_id}/update`
+- `DELETE /users/{user_id}/delete`
+- `GET /users/list`
+- `GET /users/search`
+- `GET /users/{user_id}/profile`
+- `GET /users/{user_id}/settings`
+- `GET /users/{user_id}/permissions`
+- `GET /users/{user_id}/roles`
+- `GET /users/{user_id}/status`
+- `GET /users/{user_id}/presence`
+- `GET /users/{user_id}/activity`
+- `POST /users/{user_id}/security/2fa/enable`
+- `POST /users/{user_id}/security/2fa/disable`
+- `GET /users/{user_id}/security/devices`
+- `GET /users/{user_id}/security/sessions`
+- `POST /users/{user_id}/notifications/preferences/update`
+
+---
+
+### 2.2 Group Management
+**Location:** `ui/suite/admin/groups.html`
+**Priority:** CRITICAL
+**Effort:** 6 days
+
+```html
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+**API Endpoints to Wire:**
+- `POST /groups/create`
+- `PUT /groups/{group_id}/update`
+- `DELETE /groups/{group_id}/delete`
+- `GET /groups/list`
+- `GET /groups/search`
+- `GET /groups/{group_id}/members`
+- `POST /groups/{group_id}/members/add`
+- `POST /groups/{group_id}/members/roles`
+- `DELETE /groups/{group_id}/members/remove`
+- `GET /groups/{group_id}/permissions`
+- `GET /groups/{group_id}/settings`
+- `GET /groups/{group_id}/analytics`
+- `POST /groups/{group_id}/join/request`
+- `POST /groups/{group_id}/join/approve`
+- `POST /groups/{group_id}/join/reject`
+- `POST /groups/{group_id}/invites/send`
+- `GET /groups/{group_id}/invites/list`
+
+---
+
+### 2.3 DNS Management
+**Location:** `ui/suite/admin/dns.html`
+**Priority:** MEDIUM
+**Effort:** 2 days
+
+```html
+
+
+
+
+
+
+
+
+
+ Registered Hostnames
+
+
+
+
+
+
+
+
+```
+
+**API Endpoints to Wire:**
+- `POST /api/dns/register`
+- `POST /api/dns/remove`
+
+---
+
+### 2.4 Admin Dashboard & Navigation
+**Location:** `ui/suite/admin/index.html`
+**Priority:** HIGH
+**Effort:** 3 days
+
+```html
+
+
+
+
+
+
+
+
+```
+
+---
+
+## Phase 3: Settings Enhancement ($30,000 - 2 weeks)
+
+### 3.1 Settings Subviews Structure
+**Location:** `ui/suite/settings/`
+**Priority:** HIGH
+**Effort:** 10 days
+
+```
+ui/suite/settings/
+├── index.html # Settings shell with navigation
+├── profile.html # User profile settings
+├── security.html # 2FA, sessions, devices
+├── appearance.html # Theme, layout preferences
+├── notifications.html # Email, push, in-app
+├── storage.html # Cloud sync, quotas
+├── integrations.html # API keys, webhooks, OAuth
+├── privacy.html # Data export, deletion
+└── billing.html # Subscription, invoices
+```
+
+```html
+
+
+
+
+
+
Security Settings
+
+
+
+
Two-Factor Authentication
+
+
+
+
+
+
+
+
Active Sessions
+
+
+
+
+
+
+
+
+
+
Change Password
+
+
+
+
+
+
+
Integrations
+
+
+
+
API Keys
+
+
+
+
+
+
+
Webhooks
+
+
+
+
+
+
+
Connected Accounts
+
+
+
+
+
+
+
+
+```
+
+---
+
+## Phase 4: Monitoring Enhancement ($25,000 - 2 weeks)
+
+### 4.1 Monitoring Subviews
+**Location:** `ui/suite/monitoring/`
+**Priority:** HIGH
+**Effort:** 8 days
+
+```
+ui/suite/monitoring/
+├── index.html # Main monitoring dashboard
+├── services.html # Service health status
+├── resources.html # CPU, Memory, Disk
+├── logs.html # Real-time logs viewer
+├── metrics.html # Prometheus metrics
+├── alerts.html # Alert configuration
+└── health.html # Health check endpoints
+```
+
+```html
+
+
+
Service Health
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Alert Configuration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+**API Endpoints to Wire:**
+- `GET /api/services/status`
+- `GET /api/analytics/dashboard`
+- `GET /api/analytics/metric`
+- `GET /metrics`
+- `WebSocket /ws/logs`
+
+---
+
+## Phase 5: Authentication & Security ($25,000 - 2 weeks)
+
+### 5.1 Complete Auth Flow
+**Location:** `ui/suite/auth/`
+**Priority:** CRITICAL
+**Effort:** 8 days
+
+```html
+
+
+
+
Sign In
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Reset Password
+
+
+
+
+
+
+
+
+
+```
+
+---
+
+## Phase 6: Polish & Integration ($20,000 - 2 weeks)
+
+### 6.1 Navigation Updates
+Update `base.html` to include all new apps and admin sections:
+
+```html
+
+
+```
+
+### 6.2 Mobile Responsiveness
+- Ensure all new views are mobile-friendly
+- Add touch-friendly controls for Meet
+- Responsive tables for Admin views
+
+### 6.3 Accessibility
+- ARIA labels on all interactive elements
+- Keyboard navigation support
+- Screen reader compatibility
+
+### 6.4 Internationalization Preparation
+- Extract all strings to translation files
+- RTL layout support
+- Date/time localization
+
+---
+
+## File Structure Summary
+
+```
+botui/ui/suite/
+├── admin/
+│ ├── index.html # Admin dashboard shell
+│ ├── users.html # User management
+│ ├── groups.html # Group management
+│ ├── dns.html # DNS management
+│ ├── bots.html # Bot management
+│ ├── audit.html # Audit logs
+│ └── billing.html # Billing/subscription
+├── auth/
+│ ├── login.html # Enhanced login
+│ ├── register.html # Registration
+│ ├── forgot-password.html # Password reset request
+│ └── reset-password.html # Password reset form
+├── settings/
+│ ├── index.html # Settings shell
+│ ├── profile.html # Profile settings
+│ ├── security.html # Security settings
+│ ├── appearance.html # Theme settings
+│ ├── notifications.html # Notification prefs
+│ ├── storage.html # Storage & sync
+│ ├── integrations.html # API keys, webhooks
+│ ├── privacy.html # Privacy settings
+│ └── billing.html # User billing
+├── monitoring/
+│ ├── index.html # Monitoring shell
+│ ├── services.html # Service health
+│ ├── resources.html # System resources
+│ ├── logs.html # Log viewer
+│ ├── metrics.html # Metrics dashboard
+│ ├── alerts.html # Alert config
+│ └── health.html # Health checks
+├── paper/
+│ └── paper.html # Document editor
+├── research/
+│ └── research.html # Research collections
+├── sources/
+│ └── sources.html # Knowledge sources
+├── meet/
+│ └── meet.html # Video conferencing
+├── chat/
+│ └── conversations.html # Enhanced conversations
+├── drive/
+│ └── index.html # Enhanced (add file ops)
+├── calendar/
+│ └── calendar.html # Enhanced (add CRUD)
+└── mail/
+ └── mail.html # Enhanced (add compose)
+```
+
+---
+
+## Budget Breakdown
+
+| Phase | Description | Duration | Cost |
+|-------|-------------|----------|------|
+| 1 | Core Apps (Paper, Research, Sources, Meet, Conversations, Drive, Calendar, Email) | 3 weeks | $45,000 |
+| 2 | Admin Panel (Users, Groups, DNS, Dashboard) | 4 weeks | $55,000 |
+| 3 | Settings Enhancement | 2 weeks | $30,000 |
+| 4 | Monitoring Enhancement | 2 weeks | $25,000 |
+| 5 | Authentication & Security | 2 weeks | $25,000 |
+| 6 | Polish & Integration | 2 weeks | $20,000 |
+| **Total** | | **15 weeks** | **$200,000** |
+
+---
+
+## Technical Requirements
+
+### Developer Skills Required
+- Rust (Axum, Askama templates)
+- HTMX patterns
+- HTML5/CSS3 (responsive design)
+- WebSocket integration
+- OAuth 2.0 / OpenID Connect
+
+### Development Environment
+- Rust 1.90.0+
+- Node.js (for build tools only)
+- PostgreSQL
+- Redis
+- MinIO
+
+### Quality Standards
+- Zero warnings in Rust compilation
+- All HTMX patterns - minimal JavaScript
+- Local assets only (no CDN)
+- Mobile-responsive design
+- WCAG 2.1 AA accessibility
+- Comprehensive error handling
+
+---
+
+## Recommended Implementation Order
+
+1. **Week 1-2:** Paper App + Research App (high user value)
+2. **Week 3-4:** Sources App + Meet App (completes productivity suite)
+3. **Week 5-6:** Conversations System (enhances Chat)
+4. **Week 7-8:** User Management + Group Management (admin critical)
+5. **Week 9-10:** Settings Enhancement (user self-service)
+6. **Week 11-12:** Monitoring Enhancement (ops critical)
+7. **Week 13-14:** Auth Enhancement + DNS (security)
+8. **Week 15:** Polish, Testing, Documentation
+
+---
+
+## Success Criteria
+
+- [ ] All 100+ API endpoints wired to UI
+- [ ] Full CRUD operations for all entities
+- [ ] Real-time updates via WebSocket where applicable
+- [ ] Mobile-responsive on all views
+- [ ] Admin panel fully functional
+- [ ] User self-service settings complete
+- [ ] Monitoring dashboard operational
+- [ ] OAuth providers working (Google, Microsoft)
+- [ ] 2FA implementation complete
+- [ ] Zero JavaScript where HTMX suffices
+- [ ] Production-ready error handling
+- [ ] Internationalization-ready strings
+
+---
+
+## Notes for Developers
+
+1. **HTMX First:** Always prefer HTMX attributes over custom JavaScript
+2. **Server Rendering:** All dynamic content rendered server-side via Askama
+3. **Local Assets:** Never use CDN - all vendor JS/CSS in `ui/suite/js/vendor/`
+4. **Icons:** Use existing icons from `ui/suite/assets/icons/` - never generate new ones
+5. **Themes:** Respect the 6-theme system via CSS variables
+6. **Error Handling:** Let errors bubble up - no silent failures
+7. **Version:** All work targets version 6.1.0
\ No newline at end of file
diff --git a/PROMPT.md b/PROMPT.md
index cf5c7a7..5dd7e58 100644
--- a/PROMPT.md
+++ b/PROMPT.md
@@ -5,6 +5,19 @@
---
+## Version Management - CRITICAL
+
+**Current version is 6.1.0 - DO NOT CHANGE without explicit approval!**
+
+### Rules
+
+1. **Version is 6.1.0 across ALL workspace crates**
+2. **NEVER change version without explicit user approval**
+3. **BotUI does not have migrations - all migrations are in botserver/**
+4. **All workspace crates share version 6.1.0**
+
+---
+
## Official Icons - MANDATORY
**NEVER generate icons with LLM. ALWAYS use official SVG icons from:**
@@ -363,4 +376,6 @@ ui/minimal/index.html # Minimal chat UI
- **cargo audit**: Must pass with 0 warnings
- **No business logic**: All logic in botserver
- **Feature gates**: Unused code never compiles
-- **HTML responses**: Server returns fragments, not JSON
\ No newline at end of file
+- **HTML responses**: Server returns fragments, not JSON
+- **Version**: Always 6.1.0 - do not change without approval
+- **Theme system**: Use data-theme attribute on body, 6 themes available
\ No newline at end of file
diff --git a/ui/suite/admin/dns.html b/ui/suite/admin/dns.html
new file mode 100644
index 0000000..5b9fc0e
--- /dev/null
+++ b/ui/suite/admin/dns.html
@@ -0,0 +1,791 @@
+
+
+
+
+
+
+
+
+
+ | Hostname |
+ Type |
+ Target/IP |
+ TTL |
+ Status |
+ Created |
+ Actions |
+
+
+
+
+
+
+
+ Loading DNS records...
+
+ |
+
+
+
+
+
+
+
+
DNS Configuration Help
+
+
+
+
A Record
+
Maps a domain name to an IPv4 address. Use this to point your hostname directly to a server IP.
+
+
+
+
AAAA Record
+
Maps a domain name to an IPv6 address. Similar to A record but for IPv6 connectivity.
+
+
+
+
CNAME Record
+
Creates an alias from one domain to another. Useful for pointing subdomains to your main domain.
+
+
+
+
SSL/TLS
+
SSL certificates are automatically provisioned for registered hostnames using Let's Encrypt.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ function updateTargetPlaceholder() {
+ const recordType = document.getElementById('record-type').value;
+ const targetInput = document.getElementById('target-input');
+ const targetHelp = document.getElementById('target-help');
+
+ switch (recordType) {
+ case 'A':
+ targetInput.placeholder = '192.168.1.1';
+ targetHelp.textContent = 'Enter the IPv4 address to point to';
+ break;
+ case 'AAAA':
+ targetInput.placeholder = '2001:0db8:85a3:0000:0000:8a2e:0370:7334';
+ targetHelp.textContent = 'Enter the IPv6 address to point to';
+ break;
+ case 'CNAME':
+ targetInput.placeholder = 'target.example.com';
+ targetHelp.textContent = 'Enter the target domain name (without trailing dot)';
+ break;
+ }
+ }
+
+ function confirmRemoveHostname(hostname) {
+ document.getElementById('remove-hostname-name').textContent = hostname;
+ const removeBtn = document.getElementById('confirm-remove-btn');
+ removeBtn.setAttribute('hx-vals', JSON.stringify({ hostname: hostname }));
+ htmx.process(removeBtn);
+ document.getElementById('remove-dns-modal').showModal();
+ }
+
+ function editDnsRecord(hostname) {
+ htmx.ajax('GET', `/api/dns/edit?hostname=${encodeURIComponent(hostname)}`, {
+ target: '#edit-dns-form-container'
+ });
+ document.getElementById('edit-dns-modal').showModal();
+ }
+
+ function showToast(message) {
+ const toast = document.createElement('div');
+ toast.textContent = message;
+ toast.style.cssText = `
+ position: fixed;
+ bottom: 24px;
+ right: 24px;
+ background: var(--surface);
+ border: 1px solid var(--border);
+ padding: 12px 20px;
+ border-radius: 8px;
+ box-shadow: 0 4px 12px rgba(0,0,0,0.15);
+ z-index: 1000;
+ `;
+ document.body.appendChild(toast);
+ setTimeout(() => toast.remove(), 3000);
+ }
+
diff --git a/ui/suite/admin/groups.html b/ui/suite/admin/groups.html
new file mode 100644
index 0000000..e8cc383
--- /dev/null
+++ b/ui/suite/admin/groups.html
@@ -0,0 +1,1096 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ function setView(view, btn) {
+ const grid = document.getElementById('groups-grid');
+ document.querySelectorAll('.view-btn').forEach(b => b.classList.remove('active'));
+ btn.classList.add('active');
+
+ if (view === 'list') {
+ grid.classList.add('list-view');
+ } else {
+ grid.classList.remove('list-view');
+ }
+ }
+
+ function openDetailPanel(groupId, groupName) {
+ const panel = document.getElementById('group-detail-panel');
+ panel.dataset.groupId = groupId;
+ document.getElementById('panel-group-name').textContent = groupName;
+ panel.classList.add('open');
+
+ // Load overview by default
+ htmx.ajax('GET', `/groups/${groupId}/overview`, {target: '#group-detail-content'});
+ }
+
+ function closeDetailPanel() {
+ document.getElementById('group-detail-panel').classList.remove('open');
+ }
+
+ function switchTab(btn, tab) {
+ document.querySelectorAll('.tab-btn').forEach(b => b.classList.remove('active'));
+ btn.classList.add('active');
+
+ const groupId = document.getElementById('group-detail-panel').dataset.groupId;
+ if (groupId) {
+ htmx.ajax('GET', `/groups/${groupId}/${tab}`, {target: '#group-detail-content'});
+ }
+ }
+
+ function openAddMemberModal(groupId) {
+ document.getElementById('add-member-group-id').value = groupId;
+ const form = document.getElementById('add-member-form');
+ form.setAttribute('hx-post', `/groups/${groupId}/members/add`);
+ htmx.process(form);
+ document.getElementById('add-member-modal').showModal();
+ }
+
+ function openInviteModal(groupId) {
+ document.getElementById('invite-group-id').value = groupId;
+ const form = document.getElementById('send-invite-form');
+ form.setAttribute('hx-post', `/groups/${groupId}/invites/send`);
+ htmx.process(form);
+ document.getElementById('send-invite-modal').showModal();
+ }
+
+ function confirmDeleteGroup(groupId, groupName) {
+ document.getElementById('delete-group-name').textContent = groupName;
+ const deleteBtn = document.getElementById('confirm-delete-group-btn');
+ deleteBtn.setAttribute('hx-delete', `/groups/${groupId}/delete`);
+ htmx.process(deleteBtn);
+ document.getElementById('delete-group-modal').showModal();
+ }
+
+ function showToast(message) {
+ const toast = document.createElement('div');
+ toast.textContent = message;
+ toast.style.cssText = `
+ position: fixed;
+ bottom: 24px;
+ right: 24px;
+ background: var(--surface);
+ border: 1px solid var(--border);
+ padding: 12px 20px;
+ border-radius: 8px;
+ box-shadow: 0 4px 12px rgba(0,0,0,0.15);
+ z-index: 1000;
+ `;
+ document.body.appendChild(toast);
+ setTimeout(() => toast.remove(), 3000);
+ }
+
diff --git a/ui/suite/admin/index.html b/ui/suite/admin/index.html
new file mode 100644
index 0000000..4016571
--- /dev/null
+++ b/ui/suite/admin/index.html
@@ -0,0 +1,934 @@
+
+
+
+
+
+
+
+
+
+
+
Loading dashboard...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ --
+ Total Users
+
+
+
+
+
+ --
+ Active Groups
+
+
+
+
+
+ --
+ Running Bots
+
+
+
+
+
+ --
+ Storage Used
+
+
+
+
+
+
+
Quick Actions
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ template = document.getElementById('dashboard-template');
+ if (template) {
+ e.detail.target.innerHTML = template.innerHTML;
+ }
+ }
+ });
+
diff --git a/ui/suite/admin/users.html b/ui/suite/admin/users.html
new file mode 100644
index 0000000..cab6ecf
--- /dev/null
+++ b/ui/suite/admin/users.html
@@ -0,0 +1,897 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ function toggleSelectAll(checkbox) {
+ const checkboxes = document.querySelectorAll('#users-table-body input[type="checkbox"]');
+ checkboxes.forEach(cb => cb.checked = checkbox.checked);
+ }
+
+ function openDetailPanel(userId) {
+ const panel = document.getElementById('user-detail-panel');
+ panel.classList.add('open');
+
+ // Load user profile by default
+ htmx.ajax('GET', `/users/${userId}/profile`, {target: '#user-detail-content'});
+ }
+
+ function closeDetailPanel() {
+ document.getElementById('user-detail-panel').classList.remove('open');
+ }
+
+ function switchTab(btn, tab) {
+ // Update active tab
+ document.querySelectorAll('.tab-btn').forEach(b => b.classList.remove('active'));
+ btn.classList.add('active');
+
+ // Get current user ID from panel
+ const userId = document.getElementById('user-detail-panel').dataset.userId;
+ if (userId) {
+ htmx.ajax('GET', `/users/${userId}/${tab}`, {target: '#user-detail-content'});
+ }
+ }
+
+ function editUser(userId) {
+ htmx.ajax('GET', `/users/${userId}/edit`, {target: '#edit-user-form-container'});
+ document.getElementById('edit-user-modal').showModal();
+ }
+
+ function confirmDeleteUser(userId, userName) {
+ document.getElementById('delete-user-name').textContent = userName;
+ const deleteBtn = document.getElementById('confirm-delete-btn');
+ deleteBtn.setAttribute('hx-delete', `/users/${userId}/delete`);
+ htmx.process(deleteBtn);
+ document.getElementById('delete-user-modal').showModal();
+ }
+
+ function showToast(message) {
+ // Simple toast notification
+ const toast = document.createElement('div');
+ toast.className = 'toast';
+ toast.textContent = message;
+ toast.style.cssText = `
+ position: fixed;
+ bottom: 24px;
+ right: 24px;
+ background: var(--surface);
+ border: 1px solid var(--border);
+ padding: 12px 20px;
+ border-radius: 8px;
+ box-shadow: 0 4px 12px rgba(0,0,0,0.15);
+ z-index: 1000;
+ animation: slideIn 0.3s ease;
+ `;
+ document.body.appendChild(toast);
+ setTimeout(() => toast.remove(), 3000);
+ }
+
diff --git a/ui/suite/assets/icons/gb-gear.svg b/ui/suite/assets/icons/gb-gear.svg
index 5cb0053..8b1180a 100644
--- a/ui/suite/assets/icons/gb-gear.svg
+++ b/ui/suite/assets/icons/gb-gear.svg
@@ -1,4 +1,4 @@
-