fix(uixt): fix uixt__input not working and add comprehensive unit tests

- Fix parameter mapping issue where AI model's 'content' parameter wasn't mapped to 'text' field
- Add mapParameterName function to handle parameter name mapping (content->text, key->keycode)
- Add comprehensive unit tests for convertProcessedArgs and mapParameterName functions
- Update existing test cases to match new parameter format (x,y for single coords, from_x,from_y,to_x,to_y for drag)

This resolves the issue where uixt__input action was not working due to parameter name mismatch.
This commit is contained in:
lilong.129
2025-06-07 15:03:16 +08:00
parent 334c0dc141
commit 460570f651
5 changed files with 355 additions and 91 deletions

View File

@@ -1 +1 @@
v5.0.0-beta-2506062218
v5.0.0-beta-2506071503