codetether-agent 4.5.7

A2A-native AI coding agent for the CodeTether ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
�

ې�iT��0�ddlmZdZgd�ZGd�d�Zy)�)�annotationsa�(el, value) => { const proto = el instanceof HTMLTextAreaElement ? HTMLTextAreaElement.prototype : HTMLInputElement.prototype; const setter = Object.getOwnPropertyDescriptor(proto, 'value')?.set; if (!setter) throw new Error('native value setter not found'); el.focus(); setter.call(el, value); el.dispatchEvent(new InputEvent('input', { bubbles: true, data: value, inputType: 'insertText' })); el.dispatchEvent(new Event('change', { bubbles: true })); el.dispatchEvent(new Event('blur', { bubbles: true })); })�selected�activez
bg-sky-500/20ztext-sky-400c�*�eZdZddd�Zddd�Zd	d
d�Zy)�BrowserSessionControlsNc�� K�|j|��d{���}|r,|j|�jj||��n|j||��}|j	|�j|���d{���ddiS7�r7�
�w)N)�exact��timeout�okT)�scope�locator�first�get_by_text�nth�click)	�self�text�
timeout_ms�selector�frame_selectorr	�indexr
rs	         �Q/home/riley/A2A-Server-MCP/codetether-agent/script/browserctl/session_controls.py�
click_textz!BrowserSessionControls.click_texts������j�j��0�0��RZ�%�-�-��)�/�/�;�;�D��;�N�`e�`q�`q�rv�D�`q�aE���k�k�%� �&�&�z�&�:�:�:��d�|��1��:�s"�B�B
�A)B�B�	B�Bc���K�|j||��d{���}|j��d{���|j��d{���|jt|��d{���ddiS7�V7�@7�*7��w)NrT)�
first_locator�wait_for�scroll_into_view_if_needed�evaluate�NATIVE_FILL)rr�valuerrs     r�fill_nativez"BrowserSessionControls.fill_nativesq�����*�*�8�^�D�D����� � � ��0�0�2�2�2����{�E�2�2�2��d�|��	E�� ��2��2�sC�A7�A/�A7�A1�A7�A3�	A7�&A5�'	A7�1A7�3A7�5A7c���K�|j||��d{���}|j|���d{���|j��d{���|jd|d��j}|j��d{���|j|���d{���|j
d��d{���xsd�d|j
d��d{���t�fd�tD��d	�S7��7��7��7�t7�\7�E7�)�w)
Nr
�buttonT)�namer	�class�zaria-pressedc3�&�K�|]}|�v���
y�w�N�)�.0�token�classess  �r�	<genexpr>z4BrowserSessionControls.set_toggle.<locals>.<genexpr>s%�����hU�~C�hm�qx�hx�hU�s�)rr�active_class)	rrr�get_by_rolerr�
get_attribute�any�
ACTIVE_TOKENS)r�group_selectorrrr�groupr$r-s       @r�
set_togglez!BrowserSessionControls.set_toggles�������(�(���H�H���n�n�Z�n�0�0�0��.�.�0�0�0��"�"�8�$�d�"�C�I�I���/�/�1�1�1��l�l�:�l�.�.�.��,�,�W�5�5�;����f�.B�.B�>�.R�(R�dg�hU�GT�hU�eU�V�	V�I��0��0��1��.��5��(R�sy�C>�C0�C>�C2�C>�C4�5C>�C6�C>�C8�C>�4C:�5C>�C<�C>�2C>�4C>�6C>�8C>�:C>�<C>)�NNTr)r�strr�intr�
str | Nonerr:r	�boolrr9�return�dictr))rr8r!r8rr:r<r=)r7N)
r4r8rr8rr9rr:r<r=)�__name__�
__module__�__qualname__rr"r6r*�rrrs����VrArN)�
__future__rr r3rr*rAr�<module>rCs!��"�O��G�
�V�VrA