rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
bloodarea/dsh-agent-team-ui-testing
Frontend GUI debugging and testing for DeepSeekHarness agents: Web/Chromium is implemented with 37 browser_* tools for structured GUI automation, visual comparison, dynamic frame analysis, annotation read/write and network debugging; Windows/Linux/macOS desktop, Android, TUI, HarmonyOS, mini programs, games and 3D (nine environments) are planned.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:bloodarea/dsh-agent-team-ui-testing
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 简体中文
AI-native infrastructure for UI debugging and automated testing across ten target environments.
Give a single Agent or an Agent Team in DeepSeekHarness (DSH) a common way to connect to targets, invoke capabilities, collaborate with humans and collect evidence. Agents operate real interfaces, observe results and produce findings humans can review.
Learn more: Complete documentation and help (docs/index.md)
Getting started (getting-started.md) · Beginner walkthrough (tutorial.md) · Developer follow-up (tutorial-advanced.md) · Architecture (architecture.md)
Current progress: pre-release. The shared cross-environment foundation is implemented; Web / Chromium is the first real target integration. Real adapters for the remaining nine target environments are pending. Available features and verification boundaries are documented in capability tiers (capability-tiers.md) and verification (verification.md).
The project brings Web, desktop, mobile, terminal, mini program, game and 3D applications into a common debugging and testing system. The upper layer describes targets, operations, observations and evidence; each adapter supplies the real capabilities of its platform.
| Target environment | Intended scope | Current real adapter |
|---|---|---|
| Web | Browser pages and Web applications | Chrome / Chromium integrated, with 37 browser_* tools |
| Linux | Native desktop, Electron, Tauri and similar applications | Pending |
| Windows | Native desktop, .NET, WinUI, Electron, Tauri and similar applications | Pending |
| macOS | Native desktop, Electron, Tauri and similar applications | Pending |
| Android | Native applications, WebView, Flutter, React Native and similar containers | Pending |
| TUI | Interactive terminal applications | Pending |
| HarmonyOS | HarmonyOS applications and containers | Pending |
| Mini programs | Platform-specific mini program containers | Pending |
| Games | Unity, Unreal, Godot, Cocos and similar runtimes | Pending |
| 3D | Three-dimensional applications and editing tools | Pending |
Linux, Windows and macOS here are native desktop testing targets. The current Web adapter already runs on all three host systems. Web has a wired Edge driver, and a real Edge launch remains unverified. Firefox is unsupported. See the target environment definitions and Web target configuration.
The project has evolved from the earlier dsh-agent-team-browser into a plugin organized around target environments, capabilities and shared infrastructure. Common contracts, configuration, dispatch and data models have been separated from the Web implementation:
| Implemented part | Responsibility and boundary |
|---|---|
| Three adapter contracts | TargetAdapter owns target sessions and lifecycle, CapabilityAdapter declares and executes capabilities, and P0Provider supplies shared data services |
| Environment-neutral core | core/ contains identity, geometry, clocks, evidence, errors, adapter registration and configuration models, without browser implementation dependencies |
| Host configuration and dispatch | integration/ resolves global, workspace and session configuration, selects adapters through the registry and checks configuration revisions and execution admission |
| Config-driven tools and Skills | Registration determines tool declaration scope; execution checks the current session's environment and capabilities; environment-specific Skills are discovered by environment |
| P0-A–E common models | Images and frames, networking, display spaces, canvas and annotations, targets and leases have shared models; acquisition and control remain environment-specific |
| Six-axis readiness | Engineering support, user enablement, dependencies, connection, target binding and capability readiness are reported separately |
| Independent algorithms and contract fixtures | Image, network and dynamic analysis retain independently testable logic modules; targets/fake verifies common contracts and is not a real platform adapter |
Web CDP integration, page queues and tool handling still have implementations in the Host entry point. engines/ remains a reserved boundary for optional self-developed executors. Every new target still needs platform adaptation, execution wiring and real acceptance testing.
flowchart TB
A["DSH Agent / Agent Team"] --> I["integration · Configuration, registration and admission"]
I --> C["core · Common contracts, models and evidence"]
I --> W["Web adapter · Integrated"]
I -.-> N["Other nine target environments · Pending"]
W --> R["Chrome / Chromium"]
F["fake · Contract tests only"] -.-> I
The agent interprets the goal, chooses methods and judges results. The plugin connects, executes, observes and preserves evidence. The target runtime runs the application. Environments can use different protocols while sharing capability and evidence semantics. See the execution chain (architecture.md) for communication, backend and runtime responsibilities, and adapter interfaces (adapters.md) for the full object contracts.
| Capability tier | Question it answers |
|---|---|
| T1 · State and interface debugging | What is the current state, and where is an interface or runtime step failing? |
| T2 · Structure and interaction debugging | Which object should be operated, is it interactable, and what changed afterward? |
| T3 · Output and presentation debugging | Do layout, colour, shape or image differences match expectations? |
| T4 · Process and behaviour debugging | How does state change over time, and do transitions, motion and workflows meet requirements? |
Choose and combine T1–T4 by question. They do not require every environment to expose DOM, JavaScript or browser tabs. P0 provides shared data across tiers; P0-E defines common multi-target management, represented as browser tabs in Web or, for a future Blender adapter, separate instances loading individual 3D assets. The common interface and tab bar are implemented; other environments leave their implementation absent. See multi-target management (multi-tab.md). The three adapter contracts define integration responsibilities. Definitions, routing and current implementations are in capability tiers (capability-tiers.md).
The current Web implementation defaults to headless and also offers a headed mode. See Web target configuration for browser dependencies, providers and profiles. See environment settings for enablement and diagnostics.
The current Web adapter needs DSH, Node.js 24.9+ and a local Chrome / Chromium binary. The plugin itself requires Node.js 22+; a DSH host follows the stricter requirement.
dsh plugin --profile web add dsh-agent-team-ui-testing
Install into the profile you use, then restart DSH. For the first exercise, open the debug view from the current session's right sidebar and keep the chat visible.
For other installation sources and version pinning, see Getting started.
engines/ when a self-developed executor is needed.| Project | Role |
|---|---|
dsh-agent-team-presets |
Reusable team/role configurations, model routes and tool policies |
dsh-agent-team-ui-testing |
UI target integration, capability execution, evidence and human/agent collaboration |
The projects are complementary. A single DSH Agent can use this plugin independently.
Contributions to common contracts, real target adapters, reproducible UI scenarios and evidence boundaries are welcome. When reporting an issue, include DSH and target runtime versions, reproduction steps, expected and actual results, and sanitized evidence. Read verification and contributing (verification.md) before making development changes.
Released under the MIT License. Copyright (c) 2026 bloodarea. Incorporated third-party code must retain applicable notices.
Repository: bloodarea/dsh-agent-team-ui-testing · Maintainer: bloodarea · Status: pre-release
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。