dsh-region-probe

只读的 Cordis Inspect provider,让 agent 能看见自己正在驱动的界面:outline() 报告运行中的壳实际渲染了哪些 UI 区域,含占用、几何与当前/历史失败状态;snapshot() 按 slot key 或 CSS 选择器返回某区域的渲染节点树(标签、角色、aria-label、自身文本、几何、计算样式);failures() 保留「哪些区域渲染失败过、是否已恢复」的历史。寻址用壳为每个 slot 已写好的锚点,无需区域清单,也覆盖以后新增或其他插件贡献的区域。无界面、无工具、无依赖、不发网络请求。

插件介绍

只读的 Cordis Inspect provider,让 agent 能看见自己正在驱动的界面:outline() 报告运行中的壳实际渲染了哪些 UI 区域,含占用、几何与当前/历史失败状态;snapshot() 按 slot key 或 CSS 选择器返回某区域的渲染节点树(标签、角色、aria-label、自身文本、几何、计算样式);failures() 保留「哪些区域渲染失败过、是否已恢复」的历史。寻址用壳为每个 slot 已写好的锚点,无需区域清单,也覆盖以后新增或其他插件贡献的区域。无界面、无工具、无依赖、不发网络请求。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:orphiczhou/dsh-region-probe

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令