ó
    •Cj  ã                   ó€   • S SK r S SKJr  \S   r\S   r " S S\ R
                  5      r " S S\ R
                  5      rg)	é    N)ÚLiteral)ÚmacÚwindowsÚubuntuÚbrowser)ÚleftÚrightÚwheelÚbackÚforwardc                   ó4  • \ rS rSrSr\S\S-  4S j5       r\S\\	\	4   S-  4S j5       r
\R                  S\4S j5       r\R                  S\	S	\	S
\SS4S j5       r\R                  S\	S	\	SS4S j5       r\R                  S\	S	\	S\	S\	SS4
S j5       r\R                  S\SS4S j5       r\R                  SS j5       r\R                  S\	S	\	SS4S j5       r\R                  S\\   SS4S j5       r\R                  S\\\	\	4      SS4S j5       rSrg)ÚComputeré   zëA computer implemented with sync operations.

Subclasses provide the local runtime behind `ComputerTool`. Mouse action methods may
also accept a keyword-only `keys` argument to receive held modifier keys when the
driver supports them.
ÚreturnNc                 ó   • g©zKReturn preview tool metadata when the preview computer payload is required.N© ©Úselfs    Úa/home/rurouni/.local/share/pipx/venvs/strix-agent/lib/python3.13/site-packages/agents/computer.pyÚenvironmentÚComputer.environment   ó   € ð ó    c                 ó   • g©zPReturn preview display dimensions when the preview computer payload is required.Nr   r   s    r   Ú
dimensionsÚComputer.dimensions   r   r   c                 ó   • g©z>Return a base64-encoded PNG screenshot of the current display.Nr   r   s    r   Ú
screenshotÚComputer.screenshot   ó   € ð 	r   ÚxÚyÚbuttonc                 ó   • g©z8Click `button` at the given `(x, y)` screen coordinates.Nr   ©r   r$   r%   r&   s       r   ÚclickÚComputer.click   r#   r   c                 ó   • g©z6Double-click at the given `(x, y)` screen coordinates.Nr   ©r   r$   r%   s      r   Údouble_clickÚComputer.double_click$   r#   r   Úscroll_xÚscroll_yc                 ó   • g©z3Scroll at `(x, y)` by `(scroll_x, scroll_y)` units.Nr   ©r   r$   r%   r1   r2   s        r   ÚscrollÚComputer.scroll)   r#   r   Útextc                 ó   • g©z.Type `text` into the currently focused target.Nr   ©r   r8   s     r   ÚtypeÚComputer.type.   r#   r   c                 ó   • g©z5Wait until the computer is ready for the next action.Nr   r   s    r   ÚwaitÚComputer.wait3   r#   r   c                 ó   • g©z?Move the mouse cursor to the given `(x, y)` screen coordinates.Nr   r.   s      r   ÚmoveÚComputer.move8   r#   r   Úkeysc                 ó   • g©z1Press the provided keys, such as `["ctrl", "c"]`.Nr   ©r   rF   s     r   ÚkeypressÚComputer.keypress=   r#   r   Úpathc                 ó   • g©zHClick-and-drag the mouse along the given sequence of `(x, y)` waypoints.Nr   ©r   rL   s     r   ÚdragÚComputer.dragB   r#   r   r   ©r   N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__ÚpropertyÚEnvironmentr   ÚtupleÚintr   ÚabcÚabstractmethodÚstrr!   ÚButtonr*   r/   r6   r<   r@   rD   ÚlistrJ   rP   Ú__static_attributes__r   r   r   r   r      sä  † ñð ð˜[¨4Ñ/ó ó ðð ð˜E # s (™O¨dÑ2ó ó ðð 	×Ñð˜Có ó ðð 	×Ñðsð ˜sð ¨Fð °tó ó ðð 	×Ñð˜cð  cð ¨dó ó ðð 	×Ñð˜ð  ð ¨sð ¸cð Àdó ó ðð 	×Ñð˜ð  ó ó ðð 	×Ñóó ðð 	×Ñðcð ˜cð  dó ó ðð 	×Ñð˜T #™Yð ¨4ó ó ðð 	×Ñð˜˜e C¨ H™oÑ.ð °4ó ó ór   r   c                   ó4  • \ rS rSrSr\S\S-  4S j5       r\S\\	\	4   S-  4S j5       r
\R                  S\4S j5       r\R                  S\	S	\	S
\SS4S j5       r\R                  S\	S	\	SS4S j5       r\R                  S\	S	\	S\	S\	SS4
S j5       r\R                  S\SS4S j5       r\R                  SS j5       r\R                  S\	S	\	SS4S j5       r\R                  S\\   SS4S j5       r\R                  S\\\	\	4      SS4S j5       rSrg)ÚAsyncComputeréH   zìA computer implemented with async operations.

Subclasses provide the local runtime behind `ComputerTool`. Mouse action methods may
also accept a keyword-only `keys` argument to receive held modifier keys when the
driver supports them.
r   Nc                 ó   • gr   r   r   s    r   r   ÚAsyncComputer.environmentP   r   r   c                 ó   • gr   r   r   s    r   r   ÚAsyncComputer.dimensionsU   r   r   c              ƒ   ó   #   • g7fr    r   r   s    r   r!   ÚAsyncComputer.screenshotZ   ó
   é € ð 	ùó   ‚r$   r%   r&   c              ƒ   ó   #   • g7fr(   r   r)   s       r   r*   ÚAsyncComputer.click_   rl   rm   c              ƒ   ó   #   • g7fr-   r   r.   s      r   r/   ÚAsyncComputer.double_clickd   rl   rm   r1   r2   c              ƒ   ó   #   • g7fr4   r   r5   s        r   r6   ÚAsyncComputer.scrolli   rl   rm   r8   c              ƒ   ó   #   • g7fr:   r   r;   s     r   r<   ÚAsyncComputer.typen   rl   rm   c              ƒ   ó   #   • g7fr?   r   r   s    r   r@   ÚAsyncComputer.waits   rl   rm   c              ƒ   ó   #   • g7frC   r   r.   s      r   rD   ÚAsyncComputer.movex   rl   rm   rF   c              ƒ   ó   #   • g7frH   r   rI   s     r   rJ   ÚAsyncComputer.keypress}   rl   rm   rL   c              ƒ   ó   #   • g7frN   r   rO   s     r   rP   ÚAsyncComputer.drag‚   rl   rm   r   rR   rS   r   r   r   rd   rd   H   sä  † ñð ð˜[¨4Ñ/ó ó ðð ð˜E # s (™O¨dÑ2ó ó ðð 	×Ñð #ó ó ðð 	×Ñð˜Sð  Sð °&ð ¸Tó ó ðð 	×Ñð Cð ¨Cð °Dó ó ðð 	×Ñð˜cð  cð °Sð ÀCð ÈDó ó ðð 	×Ñð˜sð  tó ó ðð 	×Ñóó ðð 	×Ñð˜Cð  Cð ¨Dó ó ðð 	×Ñð 4¨¡9ð °ó ó ðð 	×Ñð˜t E¨#¨s¨(¡OÑ4ð ¸ó ó ór   rd   )r]   Útypingr   rZ   r`   ÚABCr   rd   r   r   r   Ú<module>r€      sB   ðÛ 
Ý àÐ;Ñ<€Ø	Ð<Ñ	=€ô=ˆsw‰wô =ô@=C—G‘Gõ =r   