stagehand 4.2.2a0.dev1607__tar.gz → 4.3.0__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.
Files changed (40) hide show
  1. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/PKG-INFO +1 -1
  2. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/pyproject.toml +1 -1
  3. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/__init__.py +2 -0
  4. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/_extension/manifest.json +1 -1
  5. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/_extension/service-worker.js +478 -149
  6. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/_generated/input_types.py +52 -6
  7. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/_generated/models.py +128 -14
  8. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/_generated/protocol_version.py +1 -1
  9. stagehand-4.3.0/src/stagehand/_validation.py +139 -0
  10. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/browser.py +23 -1
  11. stagehand-4.3.0/src/stagehand/browserbase_connection.py +46 -0
  12. stagehand-4.3.0/src/stagehand/browserbase_rpc.py +114 -0
  13. stagehand-4.3.0/src/stagehand/browserbase_transport.py +145 -0
  14. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/cdp_client.py +98 -10
  15. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/client_models.py +22 -4
  16. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/client_types.py +4 -0
  17. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/extension_assets.py +9 -0
  18. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/page.py +45 -0
  19. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/rpc_client.py +58 -10
  20. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/stagehand.py +30 -7
  21. stagehand-4.2.2a0.dev1607/src/stagehand/_validation.py +0 -57
  22. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/README.md +0 -0
  23. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/_extension/blank.html +0 -0
  24. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/_extension/content-script.js +0 -0
  25. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/_extension/offscreen/service-worker-heartbeat.html +0 -0
  26. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/_extension/offscreen/service-worker-heartbeat.js +0 -0
  27. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/_extension/wake-service-worker.html +0 -0
  28. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/_extension/wake-service-worker.js +0 -0
  29. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/_generated/__init__.py +0 -0
  30. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/_sdk_identity.py +0 -0
  31. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/browser_clipboard.py +0 -0
  32. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/browser_context.py +0 -0
  33. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/browserbase_services.py +0 -0
  34. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/browserbase_session.py +0 -0
  35. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/file_upload.py +0 -0
  36. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/locator.py +0 -0
  37. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/py.typed +0 -0
  38. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/response.py +0 -0
  39. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/timeouts.py +0 -0
  40. {stagehand-4.2.2a0.dev1607 → stagehand-4.3.0}/src/stagehand/webmcp.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stagehand
3
- Version: 4.2.2a0.dev1607
3
+ Version: 4.3.0
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "stagehand"
3
- version = "4.2.2a0.dev1607"
3
+ version = "4.3.0"
4
4
  description = "Browserbase's SDK for building browser agents"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -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
  ]
@@ -31,5 +31,5 @@
31
31
  }
32
32
  ],
33
33
  "options_page": "wake-service-worker.html",
34
- "version": "1.1.1"
34
+ "version": "1.2.0"
35
35
  }