Overview
dsh-hdc-bridge
README / EN
Package documentation
Registry summary
dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.
Read the full README on GitHubLIMITATIONS
Known limitations
- `snapshot_display` 仅支持 `.jpeg`(API 10+ 实测;API 24 真机 2800×1840 已验证) - 真机安装需签名 profile 绑定设备 UDID,否则报 `9568332 install sign info inconsistent`(应用签名问题,非插件问题) - hdc 客户端对远端失败可能仍返回退出码 0,插件以输出标记 + 落盘校验兜底 - `hdc_shell` 的命令跨三层解析(本机宿主 shell → hdc 参数拼接 → 设备端 sh),插件自 v0.8.1 起自动逐层转义保证保真(pwsh 与 POSIX 宿主一致);命令中的其余 sh 元字符(双引号、`$`、`;` 等)按设备端 sh 原语义生效,请直接传入目标语义的合法命令- **UI 输入实战经验(真机实测)**: - 混合字符串(数字→字母→数字)注入时,IME 模式切换会稳定吞掉紧跟字母后的第一个字符;规避:分段输入 + `hdc_ui_dump` 校验 + 缺失字符单独补发 - 软键盘会改变页面布局:每次点击/输入前使用最新 dump 的坐标,否则可能点到键盘区 - 键盘可能遮住按钮:先 `hdc_ui action=key key=Back` 收起键盘,再按新坐标点击
