stagehand 4.3.0a0.dev1626__tar.gz → 4.3.0a0.dev1628__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.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/PKG-INFO +1 -1
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/pyproject.toml +1 -1
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/__init__.py +2 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_extension/service-worker.js +2 -2
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_generated/protocol_version.py +1 -1
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/extension_assets.py +9 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/README.md +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_extension/blank.html +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_extension/content-script.js +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_extension/manifest.json +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_extension/offscreen/service-worker-heartbeat.html +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_extension/offscreen/service-worker-heartbeat.js +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_extension/wake-service-worker.html +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_extension/wake-service-worker.js +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_generated/__init__.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_generated/input_types.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_generated/models.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_sdk_identity.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_validation.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/browser.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/browser_clipboard.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/browser_context.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/browserbase_connection.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/browserbase_rpc.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/browserbase_services.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/browserbase_session.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/browserbase_transport.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/cdp_client.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/client_models.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/client_types.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/file_upload.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/locator.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/page.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/py.typed +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/response.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/rpc_client.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/stagehand.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/timeouts.py +0 -0
- {stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/webmcp.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stagehand
|
|
3
|
-
Version: 4.3.0a0.
|
|
3
|
+
Version: 4.3.0a0.dev1628
|
|
4
4
|
Summary: Browserbase's SDK for building browser agents
|
|
5
5
|
Keywords: ai,agent,ai-agent,browser,browser-agent,browser-automation,computer-use,headless,playwright,cdp,llm,automation,web-scraping,testing
|
|
6
6
|
Author: Browserbase
|
|
@@ -75,6 +75,7 @@ from .client_types import (
|
|
|
75
75
|
LLMGenerateOutput,
|
|
76
76
|
StagehandClientLoggingConfig,
|
|
77
77
|
)
|
|
78
|
+
from .extension_assets import get_extension_archive
|
|
78
79
|
from .file_upload import FileInput, FilePayload
|
|
79
80
|
from .locator import Locator
|
|
80
81
|
from .page import (
|
|
@@ -172,5 +173,6 @@ __all__ = [
|
|
|
172
173
|
"WebMCPTool",
|
|
173
174
|
"WebMCPToolResponse",
|
|
174
175
|
"browserbase",
|
|
176
|
+
"get_extension_archive",
|
|
175
177
|
"local_browser",
|
|
176
178
|
]
|
{stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_extension/service-worker.js
RENAMED
|
@@ -7363,7 +7363,7 @@ function isRecord$1(value) {
|
|
|
7363
7363
|
}
|
|
7364
7364
|
var package_default$1 = {
|
|
7365
7365
|
name: "@browserbasehq/stagehand-protocol",
|
|
7366
|
-
version: "3.0.0-alpha-
|
|
7366
|
+
version: "3.0.0-alpha-a38acb668fea2066cb9a2d75d222cbadd4f63ea7",
|
|
7367
7367
|
"private": true,
|
|
7368
7368
|
type: "module",
|
|
7369
7369
|
exports: {
|
|
@@ -54530,7 +54530,7 @@ var WebTracerProvider = class extends BasicTracerProvider {
|
|
|
54530
54530
|
};
|
|
54531
54531
|
var package_default = {
|
|
54532
54532
|
name: "@browserbasehq/stagehand-extension",
|
|
54533
|
-
version: "1.2.0-alpha-
|
|
54533
|
+
version: "1.2.0-alpha-a38acb668fea2066cb9a2d75d222cbadd4f63ea7",
|
|
54534
54534
|
"private": true,
|
|
54535
54535
|
type: "module",
|
|
54536
54536
|
scripts: {
|
{stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/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 = '3.0.0-alpha-
|
|
4
|
+
STAGEHAND_PROTOCOL_VERSION = '3.0.0-alpha-a38acb668fea2066cb9a2d75d222cbadd4f63ea7'
|
|
@@ -35,3 +35,12 @@ def build_extension_archive() -> bytes:
|
|
|
35
35
|
info.compress_type = zipfile.ZIP_DEFLATED
|
|
36
36
|
output.writestr(info, path.read_bytes())
|
|
37
37
|
return archive.getvalue()
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def get_extension_archive() -> bytes:
|
|
41
|
+
"""Return the ZIP archive of the extension bundled with this SDK.
|
|
42
|
+
|
|
43
|
+
Save or upload the bytes directly, or extract them to a directory for
|
|
44
|
+
Chrome's Load unpacked option. No browser session is required.
|
|
45
|
+
"""
|
|
46
|
+
return build_extension_archive()
|
|
File without changes
|
|
File without changes
|
{stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_extension/content-script.js
RENAMED
|
File without changes
|
{stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_extension/manifest.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/_generated/__init__.py
RENAMED
|
File without changes
|
{stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/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
|
|
File without changes
|
{stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/browserbase_connection.py
RENAMED
|
File without changes
|
|
File without changes
|
{stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/browserbase_services.py
RENAMED
|
File without changes
|
{stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/browserbase_session.py
RENAMED
|
File without changes
|
{stagehand-4.3.0a0.dev1626 → stagehand-4.3.0a0.dev1628}/src/stagehand/browserbase_transport.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
|