Files
Agent-Workbench/docs/desktop-window-c-native-interaction.md
T

12 lines
1.4 KiB
Markdown
Raw 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.
# 实际Windows目录选择框记录
2026-10-31,独立端口54547,Electron主PID18984,原Node宿主PID39972。原报告见desktop-window-c-native.json和desktop-window-c-native.txt。
- 系统dialog使用Electron45.2.0实际showOpenDialog/openDirectory,没有替换dialog或shell。由真实桌面“选择项目文件夹”打开。
- computer-use/sky观察到标题“选择工作台项目”的实际Windows选择框。原生UIA树中出现重复子树,第一次字段索引和focused_element元数据与画面不同;set_value被系统拒绝,未把这次尝试算成选择成功。首次文字操作之后选择框取消,原宿主未登记新目录。
- 重新打开实际选择框,通过Ctrl+L聚焦地址栏,输入独立自有native-picked-project目录。画面与原生地址Value均核对为报告root下的同一绝对路径。
- 按Return导航后,原生地址工具栏与“文件夹”字段均显示native-picked-project。点击实际“打开项目”按钮,宿主实际登记该目录,React窗口选择该项目;未执行任何目录命令。
- 验收器保存原窗口native-picker-result.png并返回success=true;宿主最后正常停止,正式23172进程未使用。
系统输入由Windows computer-use工具完成。自动化流程的文件管理器适配器和停止确认夹具只验证调用范围,不作为原生Explorer/系统确认窗口实测。