feat(desktop-wake): add WeCom UIA warm-tree and ship n2-wake in 1.2.3
All checks were successful
Publish Python Package to Gitea / publish (push) Successful in 29s

Expose ensure_ui_ready via DuiLib GetAccessible inject path; package x86 native helpers for host/skill consumers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-02 08:42:38 +08:00
parent 3dc46b0555
commit 71091e38a9
29 changed files with 3088 additions and 3 deletions

View File

@@ -0,0 +1,32 @@
# native/
发版随 wheel 打包的 x86 产物(匹配 32-bit `WXWork.exe`)。
| 文件 | 说明 |
|---|---|
| `desktop-wake.exe` | 编排:激活 / SPI / 注入 / 调 `WakeProvider` |
| `wecom_wake.dll` | 载荷:DuiLib `GetAccessible` 安全子类化暖树 |
不要把 `wecom_wake_b.dll` 等临时换名文件打进发行包。
## 编译
```powershell
# 先完全退出企微(含托盘),避免 dll 被锁
powershell -File ..\native_src\build.ps1
```
## 用法
```text
desktop-wake.exe wecom 0x<hwnd_hex> --mode n2-wake
```
| mode | 用途 |
|---|---|
| `n1` | 仅进程外 UIA(冷树无效) |
| `n2` | 仅注入探针 |
| `n2-wake` | **主路径**:注入 + WakeProvider(ensure 使用) |
| `n2-hook` | 危险,默认禁止 |
验收见 `../ACCEPTANCE.md`。

Binary file not shown.

Binary file not shown.