This repository was archived by the owner on Aug 4, 2026. It is now read-only.
Repository navigation
Upgrades the Copilot SDK to 0.1.32 and replaces the old SendAndWaitAsync pattern with the new event-based session API. Adds bold and italic markdown rendering in chat bubbles using a compiled regex. Replaces the WinForms context menu with a native WinUI 3 tray flyout. Includes several performance and UX improvements.
SDK and chat
- Copilot SDK 0.1.32 with SendAsync + event handlers via TaskCompletionSource
- Bold and italic markdown rendering via GeneratedRegex
- Conversation history (last 10 messages) for context continuity
- SQLite chat persistence
- x:Bind DataTemplate with x:DataType for compile-time binding
Context detection
- ContextService rewritten with Toolhelp32Snapshot instead of Process.GetProcesses
- Single Shell.Application instance shared across context tiers
- TTL caches for WSL (30s) and process scans (3s)
- Tiered detection with early exit when strong context is found
- Project type sniffing via sentinel files, no process spawning
- Git branch read directly from .git/HEAD
- Clipboard text detection
- Browser URL via UI Automation
- Screenshot capture only when text context is ambiguous
Terminal and IDE detection
- cmd.exe, PowerShell, pwsh with CWD extraction and elevated prompt detection
- Windows Terminal with WSL distribution identification
- ConEmu and Cmder
- VS Code and VS Code Insiders with workspace and file context
- Visual Studio (any year) with project, file, and run state
- JetBrains Rider with project and file context
Other
- WPF FrameworkReference removed
- ConfigureAwait(false) throughout async calls
- Tray menu checkmark spacing fix
- Nullable warning fixes