Skip to content
This repository was archived by the owner on Aug 4, 2026. It is now read-only.

v0.0.1

Choose a tag to compare

@sirredbeard sirredbeard released this 03 Feb 21:33

v0.0.1

Major Features:

  • Conversation history: Last 10 messages maintain context continuity across queries
  • WSL distribution detection: Recognizes Unix prompts, identifies active distros
  • Environment variable collection: Captures PYTHONPATH, NODE_ENV, DOTNET_ROOT, filtered PATH
  • Smart screenshot capture: Only when context ambiguous, skipped for strong text context
  • Windows Accessibility API fallback: Enhanced focus detection when Win32 insufficient
  • "Thinking..." placeholder: Real-time feedback during request processing
  • Actionable command execution: Imperative commands run immediately with partial progress

Performance Optimizations:

  • Tiered context detection (10ms to 100ms to 500ms) with early exit
  • Tier 1: Win32 Z-order walking for Explorer/Terminal/IDE detection (10-50ms)
  • Tier 2: File system, applications, screenshot only if needed (100-200ms)
  • Tier 3: WSL/services only for developer scenarios (500ms+)
  • Parallel execution of independent context operations

UX Improvements:

  • Removed manual screenshot button (automatic smart capture)
  • Resizable window with maximize support
  • Input re-enabled immediately (queue next message while processing)
  • TextBox cursor spacing partially mitigated (minimal properties approach)
  • Increased timeout to 5 minutes for complex multi-step operations

Technical Enhancements:

  • Pattern matching for type-safe dynamic SDK interaction
  • Comprehensive timing diagnostics (Stage 1: CLI start, Stage 2: Session, Stage 3: Model)
  • Full prompt/response logging with [CopilotService] prefix for filtering
  • WPF framework reference for UI Automation support
  • PATH filtering removes common Windows system directories

System Prompt:

  • Instructs model to avoid markdown formatting (plain conversational text)
  • Maintain context continuity from recent conversation
  • Execute imperative commands immediately (install, uninstall, start, stop)
  • Report partial progress even when later steps fail
  • Prioritize WSL environment when detected as active

Documentation:

  • Comprehensive README.md with debugging guide and known issues
  • agents.md updated with context strategy, system prompt guidelines, diagnostics
  • Known issues documented: TextBox cursor spacing bug, SDK/CLI compatibility

Files Changed:

  • CopilotService.cs: Conversation history, timing diagnostics, 300s timeout, enhanced prompt
  • ContextService.cs: Tiered detection, smart screenshots, WSL detection, env vars, UI Automation
  • MainWindow.xaml.cs: Thinking placeholder, conversation history passing, removed screenshot logic
  • MainWindow.xaml: Minimal TextBox properties, removed screenshot button, resizable window
  • CopilotTaskbarApp.csproj: WPF framework reference
  • README.md + agents.md: Complete documentation refresh