Skip to content

Harden UIA control collection#335

Open
rodion-m wants to merge 1 commit into
microsoft:mainfrom
rodion-m:codex/uia-safe-control-collection
Open

Harden UIA control collection#335
rodion-m wants to merge 1 commit into
microsoft:mainfrom
rodion-m:codex/uia-safe-control-collection

Conversation

@rodion-m

Copy link
Copy Markdown

Summary

  • respect depth=1 in the UIA backend by using TreeScope_Children instead of always walking all descendants
  • make UIA control collection best-effort so COM/UIA failures return partial or empty results instead of failing the MCP tool
  • document the new optional depth and best_effort parameters for control collection tools

Validation

  • python -m py_compile ufo\automator\ui_control\inspector.py ufo\client\mcp\local_servers\ui_mcp_server.py
  • git diff --check

@rodion-m

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant