6fa931aa36
Testing / remote-protocol-compat (0.9.5) (push) Successful in 56s
Testing / remote-protocol-compat (0.9.3) (push) Successful in 59s
Testing / test (push) Successful in 1m1s
Build & Publish Package / publish (push) Successful in 33s
Package Extension / package-extension (push) Successful in 36s
- Gate TCP serve commands with safe-by-default policies, per-key allow tokens, per-key rate limiting, and audit labels. - Reuse authenticated encrypted remote sessions and parallelize/caches multi-browser fanout to reduce repeated handshake roundtrips. - Increase paged native-host batch size with extension-side byte budgeting to speed large tab listings safely. - Point install output at public Chrome Web Store / Firefox AMO listings by default, with --dev preserving unpacked workflows. - Share search-engine metadata between CLI and SDK and bump the package/extension version to 0.16.0. - Cover the new security, pooling, paging, install, and fanout behavior with expanded Python and extension tests.
52 lines
1.3 KiB
Python
52 lines
1.3 KiB
Python
"""Client-side command routing and BrowserTarget helpers."""
|
|
from browser_cli.client.targets import REGISTRY_PATH, is_active_local_profile, resolve_socket
|
|
from browser_cli.client.core import (
|
|
BrowserNotConnected,
|
|
BrowserTarget,
|
|
_remote_browser_targets,
|
|
_send_remote,
|
|
_send_remote_async,
|
|
active_browser_targets,
|
|
collect_browser_clients,
|
|
remote_browser_targets,
|
|
remote_browser_targets_async,
|
|
remote_target_for_alias,
|
|
remote_targets_for_alias,
|
|
send_command,
|
|
send_command_async,
|
|
)
|
|
from browser_cli.endpoints import (
|
|
_looks_like_domain,
|
|
_normalize_endpoint,
|
|
_remote_display_name,
|
|
_resolve_connect_endpoint,
|
|
display_browser_name,
|
|
)
|
|
from browser_cli.remote.transport import _recv_all, _recv_exact
|
|
|
|
__all__ = [
|
|
"BrowserNotConnected",
|
|
"BrowserTarget",
|
|
"REGISTRY_PATH",
|
|
"is_active_local_profile",
|
|
"_looks_like_domain",
|
|
"_normalize_endpoint",
|
|
"_recv_all",
|
|
"_recv_exact",
|
|
"_remote_browser_targets",
|
|
"_remote_display_name",
|
|
"_resolve_connect_endpoint",
|
|
"resolve_socket",
|
|
"_send_remote",
|
|
"_send_remote_async",
|
|
"active_browser_targets",
|
|
"collect_browser_clients",
|
|
"display_browser_name",
|
|
"remote_browser_targets",
|
|
"remote_browser_targets_async",
|
|
"remote_target_for_alias",
|
|
"remote_targets_for_alias",
|
|
"send_command",
|
|
"send_command_async",
|
|
]
|