webctl 0.1.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- webctl/__init__.py +14 -0
- webctl/__main__.py +6 -0
- webctl/cli/__init__.py +13 -0
- webctl/cli/app.py +1095 -0
- webctl/cli/commands/__init__.py +0 -0
- webctl/cli/output.py +313 -0
- webctl/config.py +154 -0
- webctl/daemon/__init__.py +14 -0
- webctl/daemon/detectors/__init__.py +15 -0
- webctl/daemon/detectors/action.py +177 -0
- webctl/daemon/detectors/auth.py +260 -0
- webctl/daemon/detectors/cookie_banner.py +356 -0
- webctl/daemon/detectors/view_change.py +229 -0
- webctl/daemon/event_emitter.py +134 -0
- webctl/daemon/handlers/__init__.py +11 -0
- webctl/daemon/handlers/console.py +90 -0
- webctl/daemon/handlers/error_screenshot.py +51 -0
- webctl/daemon/handlers/hitl.py +161 -0
- webctl/daemon/handlers/interact.py +777 -0
- webctl/daemon/handlers/navigation.py +171 -0
- webctl/daemon/handlers/observe.py +310 -0
- webctl/daemon/handlers/registry.py +31 -0
- webctl/daemon/handlers/session.py +280 -0
- webctl/daemon/handlers/wait.py +290 -0
- webctl/daemon/server.py +200 -0
- webctl/daemon/session_manager.py +391 -0
- webctl/exceptions.py +119 -0
- webctl/protocol/__init__.py +51 -0
- webctl/protocol/client.py +76 -0
- webctl/protocol/messages.py +133 -0
- webctl/protocol/transport.py +415 -0
- webctl/query/__init__.py +37 -0
- webctl/query/ast.py +97 -0
- webctl/query/grammar.py +47 -0
- webctl/query/parser.py +136 -0
- webctl/query/resolver.py +215 -0
- webctl/security/__init__.py +8 -0
- webctl/security/domain_policy.py +135 -0
- webctl/views/__init__.py +29 -0
- webctl/views/a11y.py +352 -0
- webctl/views/dom_lite.py +179 -0
- webctl/views/export.py +130 -0
- webctl/views/filters.py +142 -0
- webctl/views/markdown.py +86 -0
- webctl/views/redaction.py +61 -0
- webctl-0.1.2.dist-info/METADATA +318 -0
- webctl-0.1.2.dist-info/RECORD +49 -0
- webctl-0.1.2.dist-info/WHEEL +4 -0
- webctl-0.1.2.dist-info/entry_points.txt +3 -0
webctl/__init__.py
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"""
|
|
2
|
+
webctl - Stateful, agent-first browser interface.
|
|
3
|
+
|
|
4
|
+
A CLI tool for automating browser interactions with accessibility-first design.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
__version__ = "0.1.0"
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def main() -> None:
|
|
11
|
+
"""Main entry point for webctl CLI."""
|
|
12
|
+
from .cli.app import app
|
|
13
|
+
|
|
14
|
+
app()
|
webctl/__main__.py
ADDED
webctl/cli/__init__.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""CLI for webctl."""
|
|
2
|
+
|
|
3
|
+
from .app import app
|
|
4
|
+
from .output import OutputFormatter, print_error, print_info, print_success, print_warning
|
|
5
|
+
|
|
6
|
+
__all__ = [
|
|
7
|
+
"app",
|
|
8
|
+
"OutputFormatter",
|
|
9
|
+
"print_error",
|
|
10
|
+
"print_success",
|
|
11
|
+
"print_warning",
|
|
12
|
+
"print_info",
|
|
13
|
+
]
|