WechatOnCloud/bridge/woc_bridge/ui/locators/__init__.py
Kris 054c4676aa refactor: 重构发送校验逻辑,移除DB轮询与熔断器,改用SSE校验
主要变更:
1. 新增SSEVerifyBus实现基于推送的发送结果校验,替代原DB轮询方案
2. 移除FlowOrchestrator中的DB熔断器,避免雪崩风险
3. 重构SendTextFlow,改用SSE校验流程,删除原DB校验相关代码
4. 新增RoiSpec与ROI搜索支持,优化UI元素匹配精度
5. 更新所有分辨率配置文件,添加ROI配置与调整搜索框坐标
6. 新增WOC_DISABLE_OPENCV环境变量开关,支持纯几何定位模式
7. 清理FlowContext中废弃的before_msg_id字段
2026-07-17 23:50:03 +08:00

11 lines
472 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""L2 Locator 抽象层GeomSpec + RoiSpec + Selector + ElementHandle + LocatorRegistry。
LocatorRegistry 按 (app_version, resolution) 加载 YAML profile
返回 Selector 给 L3 ActionsActions 据此调 L1 Backend 执行点击。
"""
from woc_bridge.ui.locators.base import ElementHandle, GeomSpec, RoiSpec, Selector
from woc_bridge.ui.locators.registry import LocatorRegistry
__all__ = ["GeomSpec", "RoiSpec", "Selector", "ElementHandle", "LocatorRegistry"]