中文 | English
Wingman Documentation
Welcome to the Wingman project documentation.
Documentation Navigation
Quick Start
| Document | Description |
|---|---|
| Quick Start | Build locally, run your first script |
| Build Guide | Platform dependencies, vcpkg, testing and troubleshooting (repository root) |
| VS Code Development Environment | Lua/Python completion, debugging, and task configuration |
| Configuration Management Practices | INI/JSON configuration management practices |
| Android Agent | APK acquisition and installation, capability list, on-device acceptance steps (repository root) |
| Android Agent | On-device Agent for Android (experimental), outbound TCP to the Go orchestrator, Dashboard unified dispatch and viewing |
API Reference
| Module | Description |
|---|---|
| API Overview | Overall design and naming conventions of the scripting API |
| API Index | Entry points for all modules |
| Core API | Core capabilities such as screen, input, and windows |
| Key-Value Store / Database | kv key-value store and SQLite |
| Serialization / JSON / INI | Format handling for JSON, INI, etc. |
| Script API | Script execution, tasks, and events |
| Debugger | Lua debugging interface documentation |
Usage Guides
| Guide | Description |
|---|---|
| Using the Database | How to use SQLite and kv |
| Trigger System | Automated trigger conditions and actions |
| UIA Guide | Windows UI Automation usage |
| YOLO Guide | Optional ML/ONNX model preparation and load verification |
| Asset Distribution Guide | Static assets such as template images distributed from the server to agent local storage and referenced by scripts |
| On-Device Verification Guide | macOS runtime / Linux XRecord on-device script operations and pass criteria |
Architecture and Development
| Document | Description |
|---|---|
| Architecture Overview | Boundaries of Runtime, GUI, and Orchestrator |
| Architecture Decisions | Record of key design decisions |
| Platform Support | Support matrix, per-platform API applicability and environment differences |
| Platform Abstraction Design | Cross-platform abstraction layer design |
| UIA Abstraction Design | UI Automation abstraction layer design |
| Project Structure | Directory responsibilities and module breakdown |
| Development Guide | Build, test, and contribution workflow |
| VS Code Development Environment | Repository-level editor configuration and script debugging workflow |
| Developer Tools | Local development helper tools |
| Dependencies | Dependency sources and purposes |
Example Code
| Category | Description |
|---|---|
| Examples Index | Entry point for all examples |
| Hello World | Minimal script example |
| Pixel Detection | Screen color sampling and conditional logic |
| Image Matching | Image finding example |
| Auto Loop | Continuous detection and action execution |
| Macro Recording | Recording and replaying operations |
| UI Automation | Windows control automation |
Feature Status
The default build focuses on the local Runtime, Lua scripting, and core capabilities such as screen/input/window. The following modules require additional dependencies, build toggles, or are still being iterated:
| Module | Current Status |
|---|---|
| OCR | Optional capability, depends on Tesseract/runtime configuration |
| ML/YOLO | Optional capability, AI vision detection APIs are available (cloud provider + local ONNX: aiSetup/aiSetupLocal/aiLocate/aiElements) |
| Vision | Basic image capabilities available, advanced detection enabled per build configuration |
| Debugger | Lua debugging interface exists, requires a debug plugin/configuration |
| Orchestration | Go server + Dashboard + runtime agent remote orchestration, a separate deployment chain |
Getting Help
- GitHub Issues
- GitHub Discussions
- Example scripts directory:
examples/