Commit Graph

392 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
45ed38372c Complete renaming: update all remaining Moltbot references to OpenClaw
- Updated all namespaces from MoltbotTray to OpenClawTray
- Updated all window titles, dialog text, and UI strings
- Updated assembly metadata and comments
- Updated pipe names and window class names
- Fixed using statements and type references
- All 88 tests passing

Co-authored-by: shanselman <2892+shanselman@users.noreply.github.com>
2026-01-30 10:16:19 -08:00
copilot-swe-agent[bot]
950af189b6 Update remaining UI strings and namespaces to OpenClaw
- Updated CommandPalette namespace from Moltbot to OpenClaw
- Updated OpenClaw class name (was Moltbot)
- Updated all user-facing UI strings to use OpenClaw
- Updated XAML window titles and x:Class references
- All 88 tests passing

Co-authored-by: shanselman <2892+shanselman@users.noreply.github.com>
2026-01-30 10:16:19 -08:00
copilot-swe-agent[bot]
c3c7f4a7aa Rename all Moltbot references to OpenClaw
- Renamed all project directories and files
- Updated all namespaces and class names
- Updated deep link scheme from moltbot:// to openclaw://
- Updated AppData directories to OpenClawTray
- Updated README with OpenClaw references and added history note
- Updated all configuration and build files
- Kept mascot name "Molty" unchanged

Co-authored-by: shanselman <2892+shanselman@users.noreply.github.com>
2026-01-30 10:16:18 -08:00
copilot-swe-agent[bot]
d1c6ec6905 Initial plan 2026-01-30 10:16:18 -08:00
Scott Hanselman
5a345e6d67 Add UI thread safety for tray menu after idle
- Ensure tray icon click handlers dispatch to UI thread
- After system idle, callback context may be on wrong thread
- Add null check for DispatcherQueue
- Log crashes from ShowTrayMenuPopup to crash.log
2026-01-30 08:33:53 -08:00
Scott Hanselman
0346050995 Add crash logging and disable TrayMenu backdrop to debug idle crash
- Add UnhandledException, DomainUnhandledException, UnobservedTaskException handlers
- Log crashes to %LOCALAPPDATA%\MoltbotTray\crash.log
- Remove DesktopAcrylicBackdrop from TrayMenuWindow (suspected cause of idle crash)
- Use AcrylicBackgroundFillColorDefaultBrush instead (static brush, no compositor)

Crash is in Microsoft.UI.Windowing.Core.dll after idle - may be GC collecting
something the native layer still references.
2026-01-29 21:22:10 -08:00
Scott Hanselman
1a73560885 Fix: Only enable WindowsAppSDKSelfContained when publishing self-contained
Debug builds without RID don't support this flag
2026-01-29 17:23:16 -08:00
Scott Hanselman
d932184684 Bundle Windows App SDK in WinUI app for self-contained deployment
Users won't need to install Windows App SDK runtime separately
2026-01-29 17:22:09 -08:00
Scott Hanselman
40e2064531 Switch CI/installer to WinUI version
- Build Moltbot.Tray.WinUI instead of WinForms
- Update installer to include all WinUI dependencies (not single-file)
- Test job builds both WinForms and WinUI to verify
- Use WinUI icon path for installer
2026-01-29 17:17:55 -08:00
Scott Hanselman
09c952b78d Add Windows 11 Mica/Acrylic backdrops to all WinUI windows
- SettingsWindow, StatusDetailWindow, WebChatWindow, NotificationHistoryWindow: MicaBackdrop
- TrayMenuWindow: DesktopAcrylicBackdrop (frosted glass popup style)
- WelcomeDialog, UpdateDialog, DownloadProgressDialog: MicaBackdrop
- QuickSendDialog: DesktopAcrylicBackdrop
- Add BackdropHelper utility for advanced backdrop control (unused but available)
2026-01-29 17:16:04 -08:00
Scott Hanselman
8e4be37f45 Merge remote-tracking branch 'origin/winui-test' 2026-01-29 15:17:03 -08:00
Scott Hanselman
a41df46033 Fix SettingsWindow event handler leak 2026-01-29 10:28:25 -08:00
Scott Hanselman
83b76f8e79 Fix WelcomeDialog OOBE: use WindowEx, add icon, fix height 2026-01-29 10:18:41 -08:00
Scott Hanselman
2055c3c78b Left-click shows menu (matching WinForms behavior) 2026-01-29 10:00:23 -08:00
Scott Hanselman
23ff811f6c Fix code review issues
- GlobalHotkeyService: Properly create message-only window with message loop
- App.xaml.cs: Unsubscribe gateway events before disposal to prevent leaks
- App.xaml.cs: Add CancellationToken to deep link server for clean shutdown
- App.xaml.cs: Proper cleanup order in ExitApplication
- WebChatWindow: Store and cleanup WebView2 event handlers on close
2026-01-29 09:02:44 -08:00
Scott Hanselman
ff343e20a5 Fix crash on right-click - wrap ShowTrayMenuPopup in try-catch 2026-01-29 08:47:32 -08:00
Scott Hanselman
2b8bd561eb Improve session/channel display parity with WinForms version
- Sessions now show detailed info (type, model, channel)
- Sessions are indented under clickable header
- Channel status colors match WinForms logic (ON/READY/IDLE/ERROR)
- Pre-fetch sessions/usage before showing menu
- Capitalize channel names
2026-01-29 00:29:32 -08:00
Scott Hanselman
eae6626635 WinUI 3 port using WinUIEx TrayIcon
- Complete port of Moltbot.Tray to WinUI 3
- Custom TrayMenuWindow for proper multi-monitor positioning
- DPI-aware with PerMonitorV2 manifest
- All services ported: Logger, SettingsManager, AutoStartManager, etc.
- All windows: Settings, WebChat, StatusDetail, NotificationHistory
- Gateway connection and health monitoring working
- Fixed XAML compiler crash bug (documented in XAML_COMPILER_BUG.md)
2026-01-29 00:27:37 -08:00
Scott Hanselman
94580078ed Build separate x64 and arm64 installers
Some checks failed
Build and Test / test (push) Has been cancelled
Build and Test / build (win-arm64) (push) Has been cancelled
Build and Test / build (win-x64) (push) Has been cancelled
Build and Test / build-extension (arm64) (push) Has been cancelled
Build and Test / build-extension (x64) (push) Has been cancelled
Build and Test / release (push) Has been cancelled
- Each installer includes matching architecture tray app + Command Palette extension
- installer.iss accepts /DMyAppArch and /Dpublish parameters
- Release now includes both MoltbotTray-Setup-x64.exe and MoltbotTray-Setup-arm64.exe
2026-01-28 23:46:54 -08:00
Scott Hanselman
83d61eb641 Fix Command Palette extension and bundle in installer
Some checks failed
Build and Test / test (push) Has been cancelled
Build and Test / build (win-arm64) (push) Has been cancelled
Build and Test / build (win-x64) (push) Has been cancelled
Build and Test / build-extension (arm64) (push) Has been cancelled
Build and Test / build-extension (x64) (push) Has been cancelled
Build and Test / release (push) Has been cancelled
- Fix exe name mismatch: Moltbot.exe -> Moltbot.CommandPalette.exe in manifest
- Add AppListEntry=none to hide from Start Menu (only show in Command Palette)
- Use OpenUrlCommand from toolkit instead of custom DeepLinkCommand
- Add cmdpal-dev.ps1 script for local iteration (auto-detects arm64/x64)
- Update installer to optionally install Command Palette extension
- Add molty2.png to README
- Update CI to bundle Command Palette in installer
2026-01-28 23:33:32 -08:00
Scott Hanselman
12f7e09a10 fix: Generate proper lobster icon for exe and installer
Some checks failed
Build and Test / test (push) Has been cancelled
Build and Test / build-extension (x64) (push) Has been cancelled
Build and Test / build (win-arm64) (push) Has been cancelled
Build and Test / build (win-x64) (push) Has been cancelled
Build and Test / build-extension (arm64) (push) Has been cancelled
Build and Test / release (push) Has been cancelled
- Create multi-resolution ICO (16, 32, 48, 256px) with pixel art lobster
- Update installer to include icon file for shortcuts
- Add Output/ to gitignore
2026-01-28 22:54:27 -08:00
Scott Hanselman
bd5b27f135 feat: Add last check timestamp, about info, UI polish
- Add last check timestamp to tray tooltip (culture-aware)
- Add 'Made with lobster love' to Settings dialog (clickable → GitHub)
- Add tooltip on menu header with attribution
- Fix Settings dialog size (no scrollbars)
- Update parity table (now 10/12 features)
- Add attribution to README
2026-01-28 22:41:11 -08:00
Scott Hanselman
b1c1e5edeb docs: Fix parity table to compare against actual Mac app
Compare against magimetal/moltbot-menubar (the real macOS app).
Mac app is simpler - focused on gateway management.
Windows app has many additional features not in Mac version.
2026-01-28 22:29:15 -08:00
Scott Hanselman
fb6260ea84 docs: Fix parity table with accurate status
- Deep links now fully tested 
- Menu bar icon variants: ⚠️ (pixel art vs template)
- Native share sheet:  (Mac-specific)
- Keyboard navigation:  (not implemented)
- Activity animation: ⚠️ (badge dot only)
2026-01-28 22:27:41 -08:00
Scott Hanselman
de558fa245 feat: Complete deep link support with IPC forwarding
- Add IPC (named pipe) to forward deep links to running instance
- Add toast notifications for sent message confirmation
- moltbot://settings - Opens Settings dialog
- moltbot://chat - Opens Web Chat window
- moltbot://dashboard[/path] - Opens Dashboard in browser
- moltbot://send?message=... - Opens Quick Send with prefilled text
- moltbot://agent?message=... - Sends directly with confirmation prompt
- Document deep links in README
- Update Mac parity table (deep links now complete)
2026-01-28 22:26:07 -08:00
Scott Hanselman
40a68ec100 Modern Windows 11 UI overhaul with Mac parity
Some checks failed
Build and Test / test (push) Has been cancelled
Build and Test / build-extension (x64) (push) Has been cancelled
Build and Test / build (win-arm64) (push) Has been cancelled
Build and Test / build (win-x64) (push) Has been cancelled
Build and Test / build-extension (arm64) (push) Has been cancelled
Build and Test / release (push) Has been cancelled
- New ModernTrayMenu: Windows 11-style flyout replacing ContextMenuStrip
  - Dark/light mode auto-detection
  - Lobster branding header with accent colors
  - Clickable channel toggles (start/stop Telegram/WhatsApp)
  - Sessions link to /sessions, Cron Jobs to /cron
  - Status badges with color coding (READY/IDLE/ON/OFF)

- New ModernForm base class for all dialogs
  - Rounded corners via DWM APIs
  - Consistent theming across Settings, QuickSend, WebChat, etc.
  - Accent color support

- New WelcomeDialog for first-run experience
  - Guides users to get API token
  - Links to docs.molt.bot documentation
  - Opens Settings after onboarding

- Channel status parity: unified READY status for linked channels
- Service Health menu item (replaces Run Health Check)
- Test Notification button in Settings
- Various DPI and spacing fixes

- Updated README with screenshot and expanded feature list
2026-01-28 22:15:59 -08:00
Scott Hanselman
df3e5508a4 Fix remaining branding and documentation issues
- StatusDetailForm: CLAWDBOT → MOLTBOT header
- DEVELOPMENT.md: .NET 9 → .NET 10, fix repo URL
- src/Moltbot.Tray/README.md: Update hotkey to Ctrl+Alt+Shift+C, .NET 10, fix repo URLs
2026-01-28 20:50:51 -08:00
Scott Hanselman
164513341f Fix remote gateway support and settings dialog hotkey text
- Fix WebSocket Origin header to use actual gateway URL (not hardcoded localhost)
- Update settings dialog hotkey label to Ctrl+Alt+Shift+C
- Now properly supports ws:// and wss:// to remote servers
2026-01-28 20:48:19 -08:00
Scott Hanselman
5a6a0646f2 Update README: .NET 10, correct hotkey, fix log path, add auto-update feature 2026-01-28 20:45:38 -08:00
Scott Hanselman
67fb2a498e Rebrand Clawdbot → Moltbot, change hotkey to Ctrl+Alt+Shift+C
- Replace all 'Clawdbot' references with 'Moltbot' in UI strings
- Change global hotkey from Ctrl+Shift+Space to Ctrl+Alt+Shift+C
- Update user-agent to moltbot-windows-tray/1.0.0
- Remove stale build.bat, workflows/, ISSUE_TEMPLATE/ from old repo
2026-01-28 20:45:04 -08:00
Scott Hanselman
85263a7a8a Align with BabySmash: GitVersion v4, ContinuousDelivery mode, trusted-signing v1
Some checks failed
Build and Test / test (push) Has been cancelled
Build and Test / build (win-arm64) (push) Has been cancelled
Build and Test / build (win-x64) (push) Has been cancelled
Build and Test / build-extension (arm64) (push) Has been cancelled
Build and Test / build-extension (x64) (push) Has been cancelled
Build and Test / release (push) Has been cancelled
2026-01-28 20:20:03 -08:00
Scott Hanselman
d769866cec CI: Enable useConfigFile for GitVersion 2026-01-28 20:17:40 -08:00
Scott Hanselman
e621cd8222 Fix GitVersion config - add next-version baseline 2026-01-28 20:15:39 -08:00
Scott Hanselman
bfa0e6c0f9 Add auto-updating installer with Azure Trusted Signing
- Add Updatum NuGet package for auto-updates from GitHub Releases
- Create UpdateDialog and DownloadProgressDialog (WinForms)
- Add update check on startup in Program.cs
- Create installer.iss (Inno Setup) for Windows installer
- Add GitVersion.yml for semantic versioning
- Update CI workflow with:
  - GitVersion integration
  - Azure Trusted Signing for exe and installer
  - Inno Setup installer creation
  - Release with installer + portable ZIPs (x64 + arm64)
  - Version-stamped artifacts for Updatum compatibility
2026-01-28 20:13:53 -08:00
Scott Hanselman
72a1b163aa Fix CI: build projects separately, use Debug for extension
- Test job: build Shared, Tray, and Tests separately (avoid MSIX complexity)
- Extension job: use Debug mode (avoids PublishTrimmed issues)
- PublishSingleFile only when RuntimeIdentifier specified
2026-01-28 18:58:37 -08:00
Scott Hanselman
a353355fd2 Upgrade to .NET 10 and add GitHub Actions CI
- Upgrade all projects from .NET 9 to .NET 10
- Add .github/workflows/ci.yml with:
  - Test job: runs 88 unit tests
  - Build job: builds Tray for win-x64 and win-arm64
  - Build-extension job: builds Command Palette extension
  - Release job: creates GitHub release on version tags
- All tests passing on .NET 10
2026-01-28 18:51:25 -08:00
copilot-swe-agent[bot]
ce82916968 Add test coverage summary and complete code review
Co-authored-by: shanselman <2892+shanselman@users.noreply.github.com>
2026-01-29 02:07:07 +00:00
copilot-swe-agent[bot]
01e81bce89 Fix .NET version inconsistencies and improve test documentation
Co-authored-by: shanselman <2892+shanselman@users.noreply.github.com>
2026-01-29 02:04:35 +00:00
copilot-swe-agent[bot]
d8e6938c36 Add comprehensive unit tests for Moltbot.Shared library
Co-authored-by: shanselman <2892+shanselman@users.noreply.github.com>
2026-01-29 02:00:34 +00:00
copilot-swe-agent[bot]
28b1c77de3 Initial plan 2026-01-29 01:55:32 +00:00
Scott Hanselman
cf68f70341 Complete rename: Clawdbot -> Moltbot
- Update Logger paths to MoltbotTray
- Update build.bat output name
- Update README/DEVELOPMENT docs
- Update workflow artifacts
2026-01-28 17:36:34 -08:00
Scott Hanselman
db54ae50b2 Initial commit: Moltbot Windows Hub monorepo
- Moltbot.Tray: Windows system tray companion
- Moltbot.Shared: Gateway client library
- Moltbot.CommandPalette: PowerToys Command Palette extension

Consolidated from clawdbot-windows-tray, clawdbot-shared, and moltbot-commandpalette-extension repos.
2026-01-28 17:34:44 -08:00