# MyLiveChat WinUI 3 Desktop — Public Beta

Thanks for trying the beta build. This is a modernised Windows agent console built on WinUI 3 and .NET 8. It is intended as a drop-in replacement for the classic WinForms console, with first-class AI support.

## How to run

1. Unzip this folder anywhere on disk (e.g. `C:\MyLiveChatWinUI`)
2. Double-click **`MyLiveChat.App.exe`**
3. Sign in with your MyLiveChat site ID, username, and password (same credentials as the web console)

No installer, no admin rights required. The .NET runtime is bundled.

**System requirements:** Windows 10 version 1809 (build 17763) or later, x64.

## What's new in this beta

### AI integration (parity with the web console)

- **AI handoff summary banner** — surfaces the bot's conversation summary at the top of any chat that had AI activity
- **Take Over from AI** button — one click stops the bot and routes the chat to you, even before the visitor speaks next
- **AI Draft Reply** button — generates a suggested reply based on the visitor's last messages and drops it straight into the input box for you to edit and send
- **AI bubble styling** — AI replies render with a blue accent + "AI" pill so you can tell bot messages apart from visitor and agent text at a glance
- **AI activity pill** — a small "AI is answering…" indicator flashes when the server pushes a bot reply; handoff state changes (queued, connected, failed) also trigger it
- **Core event handlers** — the desktop now correctly receives `SYS_AI_MESSAGE` and `SYS_AI_HANDOFF` server pushes; previous builds silently missed these

### Productivity

- **File upload** — send any file up to 20 MB to the visitor via a picker button in the chat input toolbar
- **Transcript save** — export past sessions as `.txt` or styled `.html` from the Sessions window (in addition to the existing Email and Copy-to-clipboard paths)
- **Transfer & Invite flyout** — improved to group agents by department, grey out offline agents, and show a separate "Invite to chat" sub-menu alongside "Transfer to"
- **Tray icon** — new "Open Web Console" shortcut, alongside Show/Hide, Status submenu, Mute Sound, Exit
- **Help › Send Beta Feedback** — one-click mailto with your app version, site ID, and OS pre-filled for the support team

### Under the hood

- Self-contained win-x64 (runtime bundled, no .NET install step)
- WinUI 3 + Windows App SDK 1.8
- Modern toast notifications via Windows App Notifications
- Mica backdrop on supported systems
- WebView2 integration for the Dashboard view

## Known limitations (beta)

- **No in-app language switching** — the WinUI 3 rewrite does not yet carry the XML localisation infrastructure the classic console had. The UI is English-only in this build.
- **No spell check** — tracked but not implemented.
- **Arm64 / x86 builds not provided** — x64 only for beta.

## Feedback

Use **Help › Send Beta Feedback** in the app (auto-fills version + OS info), or email **support@mylivechat.com** directly with the subject line **"WinUI3 beta feedback"**. Please include:

- Your site ID
- Your Windows build (Settings → System → About)
- Steps to reproduce, if it's a bug
- Screenshot or short screen recording, if visual

If you need the stable classic Windows console, the download page on mylivechat.com still offers it and both can run side-by-side.

---

Build timestamp: auto-generated at publish time. Check the file modified-date on `MyLiveChat.App.exe` to confirm your build matches the download page.
