codetether-agent 4.5.7

A2A-native AI coding agent for the CodeTether ecosystem
Documentation
1
2
3
4
5
6
�

ې�i��8�ddlmZddlmZmZmZGd�d�Zy)�)�annotations)�BrowserContext�Page�
Playwrightc�,�eZdZdd�Zdd�Zdd�Zdd�Zy)	�BrowserSessionCorec�<�d|_d|_d|_g|_y)N)�
playwright�context�page�console_messages��selfs �M/home/riley/A2A-Server-MCP/codetether-agent/script/browserctl/session_core.py�__init__zBrowserSessionCore.__init__s��-1���.2���!%��	�+-���c�<�|jd|j�y)N�console)�on�_capture_console)rrs  r�_attach_pagezBrowserSessionCore._attach_page
s�����	�4�0�0�1rc��|jj|j�d|j���|jdd|jddy)Nz: i����)r
�append�type�text)r�messages  rrz#BrowserSessionCore._capture_consolesF�����$�$����~�R����~�%F�G�#'�#8�#8���#?����a� rc��PK�|jstd��|jS�w)Nzbrowser not started)r�RuntimeErrorrs r�current_pagezBrowserSessionCore.current_pages#�����y�y��4�5�5��y�y��s�$&N)�return�None)rrr r!)r r)�__name__�
__module__�__qualname__rrrr�rrrrs��.�2�@�rrN)�
__future__r�playwright.async_apirrrrr%rr�<module>r(s��"�A�A��r