5 Commits

  • v3.8.0: AI Monitoring — self-healing watchdog with 3-tier response system
    - HealthWatcher thread: monitors proxy /health every 5s
    - LogAnalyzer thread: tails cc-debug.log for 18 failure signal patterns
    - Tier 1 rule engine: 14 rules for instant auto-recovery (< 1s)
    - Tier 2 incident store: JSON pattern database with success rates
    - Tier 3 AI diagnostic agent: calls configurable provider/model for novel failures
    - AIMonitoringWindow GUI: ON/OFF toggle, provider/model/API key selector, incident log
    - 30 fault types catalogued across 5 categories (A-E)
    - Enhanced /health endpoint with memory_mb, uptime_s, requests_total
    - Auto-restart proxy, auto-clear schema cache, kill stale processes
    - Safety: rate-limited AI calls, restart caps, cooldowns per pattern
    - AI Monitoring design spec (AI-MONITORING-DESIGN.md)
    - 54 self-test patterns passing
  • v3.7.0: Intelligence Routing — self-healing parser system
    Layer 1 (FIX 23): Deep URL extraction from nested JSON in explore_agent blocks.
    Layer 2 (FIX 24): Auto-proceed on require_escalation / request_escalation_permission.
    Layer 3 (FIX 25): Intent-based command synthesis with 5 heuristics when all parsers fail.
    
    Module-level _build_explore_cmd() for reuse across parser + stream path.
    54 self-test patterns (up from 41).
  • v3.6.0 — Performance & Stability Hardening
    P0: Connection pooling (http.client reuse per host), stream idle timeout
        (300s via selectors) on all streaming paths (OA/CC/Gemini/auto-continue)
    P1: Retry-After header support on all retry paths, preemptive OAuth token
        refresh (5min before expiry)
    P2: oa_convert_tools(strict=) for Responses vs Chat Completions, filter
        null/empty tool names
    P3: Response store TTL (600s eviction), bounded stream buffers (8MB cap),
        response.failed/error urgent flush, dual logging (proxy.log)
    
    .deb: v3.6.0 (71KB) — v3.5.0 and v3.3.0 kept as fallback
  • v3.5.0 — Major Release: Command Code Multi-Format Parser, AI Assist, Self-Revive Watchdog
    CC Adapter (17 fixes):
    - Multi-format tool-call parser chain: DSML → bash → explore → XML → raw JSON → fallback
    - Three-tier argument parser (direct/unescape/unicode_escape)
    - Recursive double/triple-wrap unwrapping (_unwrap_cmd)
    - Post-extraction sanitizer validation
    - DSML tag support (current CC model format)
    - Self-revive watchdog (50 restarts, progressive backoff)
    - Debug-to-file logging (cc-debug.log)
    - Inline self-test (19 tests via --self-test)
    - ErrorAnalyzer with 4xx learning on retry
    - Schema cache with 24h TTL
    
    Launcher:
    - AI Assist integration
    - Updated usage dashboard
    - Reasoning controls per-provider
    - Updated cleanup patterns
    
    .deb: v3.5.0 (70KB) — v3.3.0 kept as fallback
  • Initial commit: Codex Launcher — Any AI Provider
    Multi-provider integration for OpenAI Codex CLI/Desktop.
    
    - Translation proxy: Responses API ↔ Chat Completions / Anthropic Messages
    - GTK launcher with endpoint management, provider presets, Desktop/CLI launch
    - Codex Default mode (built-in OAuth, zero config)
    - Browser UA injection for Cloudflare-protected providers
    - Streaming SSE, tool calls, reasoning content support
    - Profile backup/import, model auto-fetch, bulk import
    - Zero pip dependencies (pure Python stdlib + GTK)