返回目录
模型与 MCP 插件

dsh-agent-team-ui-testing

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.

Stars
3
Forks
0
Issues
0
更新
5 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:bloodarea/dsh-agent-team-ui-testing

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-agent-team-ui-testing

dsh-agent-team-ui-testing — UI debugging and automated testing across ten target environments

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)

npm version GitHub stars License: MIT Plugin requires Node.js >= 22 Host systems for the Web adapter 37 tools in the current Web adapter DSH plugin Pre-release

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).

Vision and target environments

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.

Implemented cross-environment foundation

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.

How the foundation connects to targets

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.

Common capability categories

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).

Web capabilities available today

  • 37 agent tools: state inspection, structured interaction, static vision, dynamic behaviour, networking, tabs and annotations. Parameters are in the tool reference (tools.md).
  • A shared human/agent debug panel: live preview, size controls, canvas pan and zoom, element references in chat and shared annotations. See the Web debug panel.
  • Team page collaboration: page groups are scoped by workspace, provider and team root, with per-agent work/observation selections, ownership, and Lead acquire/release/transfer controls. See Web multi-tab access.
  • Capture and visual evidence: validated PNGs, explicit regions and scale, annotation overlays, pixel comparison and managed baselines. See capture (capture-p0.md) and Chrome T3 (capability-tiers.md).
  • Network and dynamic debugging: requests, WebSocket, SSE, tracing and evidence export; bounded frame capture, seven motion analyses, WAAPI control and restore, and visual/network event correlation. See network debugging (network-p0.md) and Chrome T4 (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.

Getting started

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.

Usage and verification boundaries

  • Support and availability are separate: the shared foundation exists; real adapters and local dependencies determine which targets can execute. A capability declaration, an enabled setting and a passing test are different conclusions.
  • Visual and temporal conclusions have limits: current T3/T4 use deterministic algorithms with no built-in VLM/OCR. Insufficient sampling and untested scenarios must remain explicit. See capabilities and limits (capability-tiers.md).
  • Page isolation does not isolate login state: Web page state is managed per Runtime; cookies and storage are shared within a browser profile. Review captures before sharing and do not assume all sensitive content has been removed.
  • Evidence needs independent verification: dispatched input, a successful interface call or a delivered image attachment does not by itself prove business success, a visual assertion or full-resolution image visibility to the model. See verification and reports (verification.md).

Next directions

  • Integrate real adapters for the other nine target environments, including their executors, observations and real acceptance tests.
  • Continue separating Web-specific implementation from the Host entry point using the existing common contracts; expand engines/ when a self-developed executor is needed.
  • Harden Web execution and extend dynamic, real-browser and long-running validation.
  • Build on existing team ownership and control mechanisms to improve multi-agent collaboration, human takeover and release quality.

Related projects

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.

Contributing

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.

License

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

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。