odda 0.44.0__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.
- odda/__init__.py +15 -0
- odda/__main__.py +6 -0
- odda/browser.py +1989 -0
- odda/chrome_args.py +141 -0
- odda/cli.py +98 -0
- odda/coverage.py +213 -0
- odda/docs/__init__.py +1 -0
- odda/docs/dynamic-analysis.md +151 -0
- odda/docs/flows.md +51 -0
- odda/docs/proxy-scripts.md +46 -0
- odda/docs/recipes.md +306 -0
- odda/docs/request-crafting.md +97 -0
- odda/docs/userscripts.md +26 -0
- odda/flowstore.py +555 -0
- odda/logpoint.py +191 -0
- odda/mcp.py +1086 -0
- odda/proxy.py +143 -0
- odda/proxyscript.py +234 -0
- odda/request/__init__.py +16 -0
- odda/request/api.py +665 -0
- odda/request/h1.py +459 -0
- odda/request/h2.py +431 -0
- odda/request/parsing.py +135 -0
- odda/request/response.py +95 -0
- odda/request/storage.py +62 -0
- odda/request/types.py +73 -0
- odda/userscript.py +171 -0
- odda/userscripts/default/logpoint-helpers.js +79 -0
- odda/wrap.py +467 -0
- odda-0.44.0.dist-info/METADATA +164 -0
- odda-0.44.0.dist-info/RECORD +35 -0
- odda-0.44.0.dist-info/WHEEL +5 -0
- odda-0.44.0.dist-info/entry_points.txt +2 -0
- odda-0.44.0.dist-info/licenses/LICENSE +21 -0
- odda-0.44.0.dist-info/top_level.txt +1 -0
odda/__init__.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""odda - Browser automation and HTTP traffic capture CLI for AI agents."""
|
|
2
|
+
|
|
3
|
+
__version__ = "0.44.0"
|
|
4
|
+
|
|
5
|
+
#: Playwright ``page.goto`` lifecycle events accepted by navigate, in firing
|
|
6
|
+
#: order. The single source of truth for the MCP server's ``navigate``
|
|
7
|
+
#: param validation and error message; the browser layer passes the value
|
|
8
|
+
#: through to Playwright. Lives here so importing it stays lightweight —
|
|
9
|
+
#: no pull-in of the patchright-backed ``odda.browser`` module.
|
|
10
|
+
NAVIGATE_WAIT_UNTIL_EVENTS: tuple[str, ...] = (
|
|
11
|
+
"commit",
|
|
12
|
+
"domcontentloaded",
|
|
13
|
+
"load",
|
|
14
|
+
"networkidle",
|
|
15
|
+
)
|