Skip to content

feat: add GetFile, GetFileList, ClearVirtualDisplays agent OS commands #277

Open
mlikasam-askui wants to merge 5 commits into
mainfrom
feat/agent-os-getfile-getfilelist-clear-virtual-displays
Open

feat: add GetFile, GetFileList, ClearVirtualDisplays agent OS commands #277
mlikasam-askui wants to merge 5 commits into
mainfrom
feat/agent-os-getfile-getfilelist-clear-virtual-displays

Conversation

@mlikasam-askui
Copy link
Copy Markdown
Contributor

Jira: SOLENG-363, SOLENG-362

mlikasam-askui and others added 5 commits May 13, 2026 08:46
Wire up three new commands on AskUiControllerClient via _send_command:

- get_file_list(path): returns the list of file paths at the given
  directory on the device under automation.
- get_file(path): decodes the base64 payload returned by the controller
  and dispatches to Image.Image when the bytes parse as an image, or to
  str when they decode cleanly as UTF-8 text. Anything else raises a
  DesktopAgentOsError, matching the server contract that always
  base64-encodes the raw file bytes.
- clear_virtual_displays(): removes all virtual displays, leaving only
  real ones active.
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