Conversation
Introduce a CrashLog class to capture and log unhandled exceptions to crash.log in the user data directory, and notify users via a native message box. Register global exception handlers in Program.Main and App to ensure all exceptions are recorded. Expose the data directory in SettingsStore for shared use. Embed the application icon in the project file and update native methods to include MessageBox.
- Tray and taskbar icons now overlay a colored status circle reflecting proxy state (Running, Stopped, Starting/Stopping), composed at runtime for crisp DPI scaling. - Tray context menu adds Start, Stop, and Restart actions, enabled by state and marshaled to the UI thread. - Home nav item displays a matching status dot. - Theme no longer affects the tray icon; light/dark assets removed. - Title-bar icon is always the plain glyph; taskbar icon includes status. - ProxyState enum replaces IsRunning for full lifecycle tracking. - Logging is now fault-tolerant to avoid crashes during shutdown. - Centralized log text truncation helpers. - ModelCatalog and SDK logging use the fault-tolerant logger. - SseWriter exposes a static Start method for SSE headers. - Exposed StartProxy/StopProxy/RestartProxy for tray actions. - Minor UI and code cleanups.
- Merge build and release jobs in GitHub Actions; always upload artifacts, create draft releases only on main - Exclude appsettings.Development.json from publish outputs - Enable MsixTooling for proper XAML/resource publishing - Enhance CrashLog: accept message, show HRESULT, improve dialogs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tray/taskbar icon shows live proxy status; UI actions added