Skip to content

v0.8.0 β€” Production Release πŸ¦€πŸπŸŒ

Choose a tag to compare

@yygg693 yygg693 released this 18 Jul 13:55

v0.8.0 β€” Production Release πŸ¦€πŸπŸŒ

autocomputer v0.8.0 is the result of a 4-phase overhaul based on deep code audit, fixing 30+ bugs and adding major new capabilities.

Phase 0: Foundation

  • Fixed UB in window.rs (Box-based FFI + catch_unwind)
  • Removed dead crates: ac-security, ac-browser
  • Cleaned 4 unused dependencies, fixed CLI entry point
  • input.rs: +8 unit tests (26 β†’ 29 Rust tests)

Phase 1: Agent Pipeline

  • Agent ↔ Perception: ScreenContext.capture(with_ocr=True) wired to PerceptionManager
  • LLM planning: Agent.plan(goal) via litellm with structured JSON output
  • Self-correction: max_retries=3, re-captures context on failure
  • Record: speed_factor fix, from_dict() classmethod, ocr_text/window_title in serialization

Phase 2: Security

  • Audit log: ISO-8601 timestamps (chrono), error logging, config-driven retention cleanup
  • AgentExecutor.enable_security(): one-call guard, click/press auto-checked

Phase 3: Ecosystem

  • Plugin system: AutoComputerPlugin ABC + PluginRegistry with lazy entry_points discovery
  • CLI: 10 commands (version, see, monitors, serve, run, record, replay, plan, plugins-list)
  • Utils: logging, config paths, TOML loader, security config auto-find

Phase 4: Intelligence

  • ContextMemory: cross-step state persistence with LLM snapshot formatting
  • FlowGeneralizer: recorded flows β†’ parametrized templates ( variables)
  • ProfilingAgent: per-step timing breakdown (capture/ocr/execute/verify ms)

P0+P1+P2 Audit Fixes

  • AutoComputerError: proper PyO3 create_exception! macro
  • Error types: wired capture_err/input_err into actual modules
  • Smooth mouse: true coordinate interpolation at ~60fps
  • Digit/punctuation key support: parse_key now accepts 0-9, ., -, etc
  • Server: dynamic module detection, real flow scanning
  • GUI: dynamic module count from API, correct test badge

Quality

  • Rust: 29 tests / Python: 27 tests = 56 total, all passing
  • Clippy: zero warnings
  • Import chain: 19/19 modules verified
  • Privacy audit: 10/10 clean