stagehand 4.0.3a0.dev1477__tar.gz → 4.0.3a0.dev1483__tar.gz
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.
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/PKG-INFO +1 -1
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/pyproject.toml +1 -1
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_extension/service-worker.js +2 -3
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_generated/protocol_version.py +1 -1
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/browser.py +3 -16
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/README.md +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/__init__.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_extension/blank.html +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_extension/content-script.js +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_extension/manifest.json +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_extension/offscreen/service-worker-heartbeat.html +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_extension/offscreen/service-worker-heartbeat.js +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_extension/wake-service-worker.html +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_extension/wake-service-worker.js +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_generated/__init__.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_generated/input_types.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_generated/models.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_sdk_identity.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_validation.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/browser_clipboard.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/browser_context.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/browserbase_session.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/cdp_client.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/client_models.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/client_types.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/extension_assets.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/file_upload.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/locator.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/page.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/py.typed +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/response.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/rpc_client.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/stagehand.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/timeouts.py +0 -0
- {stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/webmcp.py +0 -0
{stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_extension/service-worker.js
RENAMED
|
@@ -7359,7 +7359,7 @@ function isRecord$1(value) {
|
|
|
7359
7359
|
}
|
|
7360
7360
|
var package_default$1 = {
|
|
7361
7361
|
name: "@browserbasehq/stagehand-protocol",
|
|
7362
|
-
version: "2.0.0-alpha-
|
|
7362
|
+
version: "2.0.0-alpha-537604af0e0eb2f4ee5d0cff55d7b00ae91d2a82",
|
|
7363
7363
|
"private": true,
|
|
7364
7364
|
type: "module",
|
|
7365
7365
|
scripts: {
|
|
@@ -7377,7 +7377,6 @@ var package_default$1 = {
|
|
|
7377
7377
|
devDependencies: {
|
|
7378
7378
|
"@types/chrome": "catalog:",
|
|
7379
7379
|
"@types/node": "catalog:",
|
|
7380
|
-
"chrome-launcher": "catalog:",
|
|
7381
7380
|
"oxfmt": "catalog:",
|
|
7382
7381
|
"typescript": "catalog:",
|
|
7383
7382
|
"vite": "catalog:",
|
|
@@ -53437,7 +53436,7 @@ var WebTracerProvider = class extends BasicTracerProvider {
|
|
|
53437
53436
|
};
|
|
53438
53437
|
var package_default = {
|
|
53439
53438
|
name: "@browserbasehq/stagehand-extension",
|
|
53440
|
-
version: "1.0.2-alpha-
|
|
53439
|
+
version: "1.0.2-alpha-537604af0e0eb2f4ee5d0cff55d7b00ae91d2a82",
|
|
53441
53440
|
"private": true,
|
|
53442
53441
|
type: "module",
|
|
53443
53442
|
scripts: {
|
{stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_generated/protocol_version.py
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"""Generated from packages/protocol/package.json. Do not edit."""
|
|
2
2
|
|
|
3
3
|
PROTOCOL_SEMVER_PATTERN = '^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$'
|
|
4
|
-
STAGEHAND_PROTOCOL_VERSION = '2.0.0-alpha-
|
|
4
|
+
STAGEHAND_PROTOCOL_VERSION = '2.0.0-alpha-537604af0e0eb2f4ee5d0cff55d7b00ae91d2a82'
|
|
@@ -33,8 +33,6 @@ from .client_models import (
|
|
|
33
33
|
from .extension_assets import extension_directory
|
|
34
34
|
from .timeouts import stagehand_init_deadline
|
|
35
35
|
|
|
36
|
-
_WEBMCP_CHROME_FLAG = "--enable-features=WebMCPTesting,DevToolsWebMCPSupport"
|
|
37
|
-
|
|
38
36
|
_DEFAULT_CHROME_FLAGS = (
|
|
39
37
|
"--disable-features=Translate,OptimizationHints,MediaRouter,DialMediaRouteProvider,"
|
|
40
38
|
"CalculateNativeWinOcclusion,InterestFeedContentSuggestions,"
|
|
@@ -61,6 +59,9 @@ _DEFAULT_CHROME_FLAGS = (
|
|
|
61
59
|
"--disable-prompt-on-repost",
|
|
62
60
|
"--disable-domain-reliability",
|
|
63
61
|
"--propagate-iph-for-testing",
|
|
62
|
+
"--enable-unsafe-extension-debugging",
|
|
63
|
+
"--remote-allow-origins=*",
|
|
64
|
+
"--enable-features=WebMCPTesting,DevToolsWebMCPSupport",
|
|
64
65
|
)
|
|
65
66
|
|
|
66
67
|
_BROWSER_TOKEN = object()
|
|
@@ -687,10 +688,6 @@ def _local_browser_flags(
|
|
|
687
688
|
ignored_default_args = options.ignore_default_args
|
|
688
689
|
ignored_flags = set(ignored_default_args) if isinstance(ignored_default_args, list) else set()
|
|
689
690
|
include_defaults = ignored_default_args is not True
|
|
690
|
-
stagehand_default_flags = (
|
|
691
|
-
"--enable-unsafe-extension-debugging",
|
|
692
|
-
"--remote-allow-origins=*",
|
|
693
|
-
)
|
|
694
691
|
viewport = (
|
|
695
692
|
options.viewport if options.viewport is not None else LocalViewport(width=1280, height=800)
|
|
696
693
|
)
|
|
@@ -702,22 +699,12 @@ def _local_browser_flags(
|
|
|
702
699
|
if include_defaults
|
|
703
700
|
else []
|
|
704
701
|
),
|
|
705
|
-
*(
|
|
706
|
-
[flag for flag in stagehand_default_flags if flag not in ignored_flags]
|
|
707
|
-
if include_defaults
|
|
708
|
-
else []
|
|
709
|
-
),
|
|
710
702
|
*(
|
|
711
703
|
[window_size_flag]
|
|
712
704
|
if options.viewport is not None
|
|
713
705
|
or (include_defaults and window_size_flag not in ignored_flags)
|
|
714
706
|
else []
|
|
715
707
|
),
|
|
716
|
-
*(
|
|
717
|
-
[_WEBMCP_CHROME_FLAG]
|
|
718
|
-
if include_defaults and _WEBMCP_CHROME_FLAG not in ignored_flags
|
|
719
|
-
else []
|
|
720
|
-
),
|
|
721
708
|
f"--remote-debugging-port={port}",
|
|
722
709
|
f"--user-data-dir={user_data_dir}",
|
|
723
710
|
*(["--headless"] if options.headless is True else []),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_extension/content-script.js
RENAMED
|
File without changes
|
{stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_extension/manifest.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_generated/__init__.py
RENAMED
|
File without changes
|
{stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/_generated/input_types.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stagehand-4.0.3a0.dev1477 → stagehand-4.0.3a0.dev1483}/src/stagehand/browserbase_session.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|