AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
hotfix(blocks): bump stagehand ^0.5.1 → ^3.4.0 to fix yanked litellm (#12539)
Zamil Majdy0076ad2a1a4d
diff --git a/autogpt_platform/backend/backend/blocks/stagehand/blocks.py b/autogpt_platform/backend/backend/blocks/stagehand/blocks.pyindex 6c39ee28fe..afd302c4f8 100644--- a/autogpt_platform/backend/backend/blocks/stagehand/blocks.py+++ b/autogpt_platform/backend/backend/blocks/stagehand/blocks.py@@ -1,13 +1,8 @@import logging-import signal-import threading-import warnings-from contextlib import contextmanagerfrom enum import Enum-# Monkey patch Stagehands to prevent signal handling in worker threads-import stagehand.main-from stagehand import Stagehand+from stagehand import AsyncStagehand+from stagehand.types.session_act_params import Options as ActOptionsfrom backend.blocks.llm import (MODEL_METADATA,@@ -28,46 +23,6 @@ from backend.sdk import (SchemaField,)-# Suppress false positive cleanup warning of litellm (a dependency of stagehand)-warnings.filterwarnings("ignore", module="litellm.llms.custom_httpx")--# Store the original method-original_register_signal_handlers = stagehand.main.Stagehand._register_signal_handlers---def safe_register_signal_handlers(self):- """Only register signal handlers in the main thread"""- if threading.current_thread() is threading.main_thread():- original_register_signal_handlers(self)- else:- # Skip signal handling in worker threads- pass---# Replace the method-stagehand.main.Stagehand._register_signal_handlers = safe_register_signal_handlers---@contextmanager-def disable_signal_handling():- """Context manager to temporarily disable signal handling"""- if threading.current_thread() is not threading.main_thread():- # In worker threads, temporarily replace signal.signal with a no-op- original_signal = signal.signal-- def noop_signal(*args, **kwargs):- pass-- signal.signal = noop_signal- try:- yield- finally:- signal.signal = original_signal- else:- # In main thread, don't modify anything- yield--logger = logging.getLogger(__name__)@@ -148,13 +103,10 @@ class StagehandObserveBlock(Block):instruction: str = SchemaField(description="Natural language description of elements or actions to discover.",)- iframes: bool = SchemaField(- description="Whether to search within iframes. If True, Stagehand will search for actions within iframes.",- default=True,- )- domSettleTimeoutMs: int = SchemaField(- description="Timeout in milliseconds for DOM settlement.Wait longer for dynamic content",- default=45000,+ dom_settle_timeout_ms: int = SchemaField(+ description="Timeout in ms to wait for the DOM to settle after navigation.",+ default=30000,+ advanced=True,)class Output(BlockSchemaOutput):@@ -185,32 +137,28 @@ class StagehandObserveBlock(Block):logger.debug(f"OBSERVE: Using model provider {model_credentials.provider}")- with disable_signal_handling():- stagehand = Stagehand(- api_key=stagehand_credentials.api_key.get_secret_value(),- project_id=input_data.browserbase_project_id,+ async with AsyncStagehand(+ browserbase_api_key=stagehand_credentials.api_key.get_secret_value(),+ browserbase_project_id=input_data.browserbase_project_id,+ model_api_key=model_credentials.api_key.get_secret_value(),+ ) as client:+ session = await client.sessions.start(model_name=input_data.model.provider_name,- model_api_key=model_credentials.api_key.get_secret_value(),+ dom_settle_timeout_ms=input_data.dom_settle_timeout_ms,)+ try:+ await session.navigate(url=input_data.url)- await stagehand.init()-- page = stagehand.page-- assert page is not None, "Stagehand page is not initialized"-- await page.goto(input_data.url)-- observe_results = await page.observe(- input_data.instruction,- iframes=input_data.iframes,- domSettleTimeoutMs=input_data.domSettleTimeoutMs,- )- for result in observe_results:- yield "selector", result.selector- yield "description", result.description- yield "method", result.method- yield "arguments", result.arguments+ observe_response = await session.observe(+ instruction=input_data.instruction,+ )+ for result in observe_response.data.result:+ yield "selector", result.selector+ yield "description", result.description+ yield "method", result.method+ yield "arguments", result.arguments+ finally:+ await session.end()class StagehandActBlock(Block):@@ -242,24 +190,22 @@ class StagehandActBlock(Block):description="Variables to use in the action. Variables contains data you want the action to use.",default_factory=dict,)- iframes: bool = SchemaField(- description="Whether to search within iframes. If True, Stagehand will search for actions within iframes.",- default=True,+ dom_settle_timeout_ms: int = SchemaField(+ description="Timeout in ms to wait for the DOM to settle after navigation.",+ default=30000,+ advanced=True,)- domSettleTimeoutMs: int = SchemaField(- description="Timeout in milliseconds for DOM settlement.Wait longer for dynamic content",- default=45000,- )- timeoutMs: int = SchemaField(- description="Timeout in milliseconds for DOM ready. Extended timeout for slow-loading forms",- default=60000,+ timeout_ms: int = SchemaField(+ description="Timeout in ms for each action.",+ default=30000,+ advanced=True,)class Output(BlockSchemaOutput):success: bool = SchemaField(description="Whether the action was completed successfully")- message: str = SchemaField(description="Details about the action’s execution.")+ message: str = SchemaField(description="Details about the action's execution.")action: str = SchemaField(description="Action performed")def __init__(self):@@ -282,32 +228,33 @@ class StagehandActBlock(Block):logger.debug(f"ACT: Using model provider {model_credentials.provider}")- with disable_signal_handling():- stagehand = Stagehand(- api_key=stagehand_credentials.api_key.get_secret_value(),- project_id=input_data.browserbase_project_id,+ async with AsyncStagehand(+ browserbase_api_key=stagehand_credentials.api_key.get_secret_value(),+ browserbase_project_id=input_data.browserbase_project_id,+ model_api_key=model_credentials.api_key.get_secret_value(),+ ) as client:+ session = await client.sessions.start(model_name=input_data.model.provider_name,- model_api_key=model_credentials.api_key.get_secret_value(),- )-- await stagehand.init()-- page = stagehand.page-- assert page is not None, "Stagehand page is not initialized"-- await page.goto(input_data.url)- for action in input_data.action:- action_results = await page.act(- action,- variables=input_data.variables,- iframes=input_data.iframes,- domSettleTimeoutMs=input_data.domSettleTimeoutMs,- timeoutMs=input_data.timeoutMs,+ dom_settle_timeout_ms=input_data.dom_settle_timeout_ms,)- yield "success", action_results.success- yield "message", action_results.message- yield "action", action_results.action+ try:+ await session.navigate(url=input_data.url)++ for action in input_data.action:+ act_options = ActOptions(+ variables={k: v for k, v in input_data.variables.items()},+ timeout=input_data.timeout_ms,+ )+ act_response = await session.act(+ input=action,+ options=act_options,+ )+ result = act_response.data.result+ yield "success", result.success+ yield "message", result.message+ yield "action", result.action_description+ finally:+ await session.end()class StagehandExtractBlock(Block):@@ -335,13 +282,10 @@ class StagehandExtractBlock(Block):instruction: str = SchemaField(description="Natural language description of elements or actions to discover.",)- iframes: bool = SchemaField(- description="Whether to search within iframes. If True, Stagehand will search for actions within iframes.",- default=True,- )- domSettleTimeoutMs: int = SchemaField(- description="Timeout in milliseconds for DOM settlement.Wait longer for dynamic content",- default=45000,+ dom_settle_timeout_ms: int = SchemaField(+ description="Timeout in ms to wait for the DOM to settle after navigation.",+ default=30000,+ advanced=True,)class Output(BlockSchemaOutput):@@ -367,24 +311,21 @@ class StagehandExtractBlock(Block):logger.debug(f"EXTRACT: Using model provider {model_credentials.provider}")- with disable_signal_handling():- stagehand = Stagehand(- api_key=stagehand_credentials.api_key.get_secret_value(),- project_id=input_data.browserbase_project_id,+ async with AsyncStagehand(+ browserbase_api_key=stagehand_credentials.api_key.get_secret_value(),+ browserbase_project_id=input_data.browserbase_project_id,+ model_api_key=model_credentials.api_key.get_secret_value(),+ ) as client:+ session = await client.sessions.start(model_name=input_data.model.provider_name,- model_api_key=model_credentials.api_key.get_secret_value(),+ dom_settle_timeout_ms=input_data.dom_settle_timeout_ms,)-- await stagehand.init()-- page = stagehand.page-- assert page is not None, "Stagehand page is not initialized"-- await page.goto(input_data.url)- extraction = await page.extract(- input_data.instruction,- iframes=input_data.iframes,- domSettleTimeoutMs=input_data.domSettleTimeoutMs,- )- yield "extraction", str(extraction.model_dump()["extraction"])+ try:+ await session.navigate(url=input_data.url)++ extract_response = await session.extract(+ instruction=input_data.instruction,+ )+ yield "extraction", str(extract_response.data.result)+ finally:+ await session.end()diff --git a/autogpt_platform/backend/poetry.lock b/autogpt_platform/backend/poetry.lockindex 57484288fd..1672bebcf9 100644--- a/autogpt_platform/backend/poetry.lock+++ b/autogpt_platform/backend/poetry.lock@@ -594,26 +594,6 @@ files = [{file = "bracex-2.6.tar.gz", hash = "sha256:98f1347cd77e22ee8d967a30ad4e310b233f7754dbf31ff3fceb76145ba47dc7"},]-[[package]]-name = "browserbase"-version = "1.4.0"-description = "The official Python library for the Browserbase API"-optional = false-python-versions = ">=3.8"-groups = ["main"]-files = [- {file = "browserbase-1.4.0-py3-none-any.whl", hash = "sha256:ea9f1fb4a88921975b8b9606835c441a59d8ce82ce00313a6d48bbe8e30f79fb"},- {file = "browserbase-1.4.0.tar.gz", hash = "sha256:e2ed36f513c8630b94b826042c4bb9f497c333f3bd28e5b76cb708c65b4318a0"},-]--[package.dependencies]-anyio = ">=3.5.0,<5"-distro = ">=1.7.0,<2"-httpx = ">=0.23.0,<1"-pydantic = ">=1.9.0,<3"-sniffio = "*"-typing-extensions = ">=4.10,<5"-[[package]]name = "build"version = "1.4.0"@@ -1488,94 +1468,6 @@ files = [[package.extras]devel = ["colorama", "json-spec", "jsonschema", "pylint", "pytest", "pytest-benchmark", "pytest-cache", "validictory"]-[[package]]-name = "fastuuid"-version = "0.14.0"-description = "Python bindings to Rust's UUID library."-optional = false-python-versions = ">=3.8"-groups = ["main"]-files = [- {file = "fastuuid-0.14.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:6e6243d40f6c793c3e2ee14c13769e341b90be5ef0c23c82fa6515a96145181a"},- {file = "fastuuid-0.14.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:13ec4f2c3b04271f62be2e1ce7e95ad2dd1cf97e94503a3760db739afbd48f00"},- {file = "fastuuid-0.14.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:b2fdd48b5e4236df145a149d7125badb28e0a383372add3fbaac9a6b7a394470"},- {file = "fastuuid-0.14.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f74631b8322d2780ebcf2d2d75d58045c3e9378625ec51865fe0b5620800c39d"},- {file = "fastuuid-0.14.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:83cffc144dc93eb604b87b179837f2ce2af44871a7b323f2bfed40e8acb40ba8"},- {file = "fastuuid-0.14.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1a771f135ab4523eb786e95493803942a5d1fc1610915f131b363f55af53b219"},- {file = "fastuuid-0.14.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:4edc56b877d960b4eda2c4232f953a61490c3134da94f3c28af129fb9c62a4f6"},- {file = "fastuuid-0.14.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:bcc96ee819c282e7c09b2eed2b9bd13084e3b749fdb2faf58c318d498df2efbe"},- {file = "fastuuid-0.14.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:7a3c0bca61eacc1843ea97b288d6789fbad7400d16db24e36a66c28c268cfe3d"},- {file = "fastuuid-0.14.0-cp310-cp310-win32.whl", hash = "sha256:7f2f3efade4937fae4e77efae1af571902263de7b78a0aee1a1653795a093b2a"},- {file = "fastuuid-0.14.0-cp310-cp310-win_amd64.whl", hash = "sha256:ae64ba730d179f439b0736208b4c279b8bc9c089b102aec23f86512ea458c8a4"},- {file = "fastuuid-0.14.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:73946cb950c8caf65127d4e9a325e2b6be0442a224fd51ba3b6ac44e1912ce34"},- {file = "fastuuid-0.14.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:12ac85024637586a5b69645e7ed986f7535106ed3013640a393a03e461740cb7"},- {file = "fastuuid-0.14.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:05a8dde1f395e0c9b4be515b7a521403d1e8349443e7641761af07c7ad1624b1"},- {file = "fastuuid-0.14.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:09378a05020e3e4883dfdab438926f31fea15fd17604908f3d39cbeb22a0b4dc"},- {file = "fastuuid-0.14.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bbb0c4b15d66b435d2538f3827f05e44e2baafcc003dd7d8472dc67807ab8fd8"},- {file = "fastuuid-0.14.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:cd5a7f648d4365b41dbf0e38fe8da4884e57bed4e77c83598e076ac0c93995e7"},- {file = "fastuuid-0.14.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:c0a94245afae4d7af8c43b3159d5e3934c53f47140be0be624b96acd672ceb73"},- {file = "fastuuid-0.14.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:2b29e23c97e77c3a9514d70ce343571e469098ac7f5a269320a0f0b3e193ab36"},- {file = "fastuuid-0.14.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:1e690d48f923c253f28151b3a6b4e335f2b06bf669c68a02665bc150b7839e94"},- {file = "fastuuid-0.14.0-cp311-cp311-win32.whl", hash = "sha256:a6f46790d59ab38c6aa0e35c681c0484b50dc0acf9e2679c005d61e019313c24"},- {file = "fastuuid-0.14.0-cp311-cp311-win_amd64.whl", hash = "sha256:e150eab56c95dc9e3fefc234a0eedb342fac433dacc273cd4d150a5b0871e1fa"},- {file = "fastuuid-0.14.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:77e94728324b63660ebf8adb27055e92d2e4611645bf12ed9d88d30486471d0a"},- {file = "fastuuid-0.14.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:caa1f14d2102cb8d353096bc6ef6c13b2c81f347e6ab9d6fbd48b9dea41c153d"},- {file = "fastuuid-0.14.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d23ef06f9e67163be38cece704170486715b177f6baae338110983f99a72c070"},- {file = "fastuuid-0.14.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0c9ec605ace243b6dbe3bd27ebdd5d33b00d8d1d3f580b39fdd15cd96fd71796"},- {file = "fastuuid-0.14.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:808527f2407f58a76c916d6aa15d58692a4a019fdf8d4c32ac7ff303b7d7af09"},- {file = "fastuuid-0.14.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2fb3c0d7fef6674bbeacdd6dbd386924a7b60b26de849266d1ff6602937675c8"},- {file = "fastuuid-0.14.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:ab3f5d36e4393e628a4df337c2c039069344db5f4b9d2a3c9cea48284f1dd741"},- {file = "fastuuid-0.14.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:b9a0ca4f03b7e0b01425281ffd44e99d360e15c895f1907ca105854ed85e2057"},- {file = "fastuuid-0.14.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3acdf655684cc09e60fb7e4cf524e8f42ea760031945aa8086c7eae2eeeabeb8"},- {file = "fastuuid-0.14.0-cp312-cp312-win32.whl", hash = "sha256:9579618be6280700ae36ac42c3efd157049fe4dd40ca49b021280481c78c3176"},- {file = "fastuuid-0.14.0-cp312-cp312-win_amd64.whl", hash = "sha256:d9e4332dc4ba054434a9594cbfaf7823b57993d7d8e7267831c3e059857cf397"},- {file = "fastuuid-0.14.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:77a09cb7427e7af74c594e409f7731a0cf887221de2f698e1ca0ebf0f3139021"},- {file = "fastuuid-0.14.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:9bd57289daf7b153bfa3e8013446aa144ce5e8c825e9e366d455155ede5ea2dc"},- {file = "fastuuid-0.14.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:ac60fc860cdf3c3f327374db87ab8e064c86566ca8c49d2e30df15eda1b0c2d5"},- {file = "fastuuid-0.14.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ab32f74bd56565b186f036e33129da77db8be09178cd2f5206a5d4035fb2a23f"},- {file = "fastuuid-0.14.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:33e678459cf4addaedd9936bbb038e35b3f6b2061330fd8f2f6a1d80414c0f87"},- {file = "fastuuid-0.14.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1e3cc56742f76cd25ecb98e4b82a25f978ccffba02e4bdce8aba857b6d85d87b"},- {file = "fastuuid-0.14.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:cb9a030f609194b679e1660f7e32733b7a0f332d519c5d5a6a0a580991290022"},- {file = "fastuuid-0.14.0-cp313-cp313-musllinux_1_1_i686.whl", hash = "sha256:09098762aad4f8da3a888eb9ae01c84430c907a297b97166b8abc07b640f2995"},- {file = "fastuuid-0.14.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:1383fff584fa249b16329a059c68ad45d030d5a4b70fb7c73a08d98fd53bcdab"},- {file = "fastuuid-0.14.0-cp313-cp313-win32.whl", hash = "sha256:a0809f8cc5731c066c909047f9a314d5f536c871a7a22e815cc4967c110ac9ad"},- {file = "fastuuid-0.14.0-cp313-cp313-win_amd64.whl", hash = "sha256:0df14e92e7ad3276327631c9e7cec09e32572ce82089c55cb1bb8df71cf394ed"},- {file = "fastuuid-0.14.0-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:b852a870a61cfc26c884af205d502881a2e59cc07076b60ab4a951cc0c94d1ad"},- {file = "fastuuid-0.14.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:c7502d6f54cd08024c3ea9b3514e2d6f190feb2f46e6dbcd3747882264bb5f7b"},- {file = "fastuuid-0.14.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1ca61b592120cf314cfd66e662a5b54a578c5a15b26305e1b8b618a6f22df714"},- {file = "fastuuid-0.14.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aa75b6657ec129d0abded3bec745e6f7ab642e6dba3a5272a68247e85f5f316f"},- {file = "fastuuid-0.14.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a8a0dfea3972200f72d4c7df02c8ac70bad1bb4c58d7e0ec1e6f341679073a7f"},- {file = "fastuuid-0.14.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1bf539a7a95f35b419f9ad105d5a8a35036df35fdafae48fb2fd2e5f318f0d75"},- {file = "fastuuid-0.14.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:9a133bf9cc78fdbd1179cb58a59ad0100aa32d8675508150f3658814aeefeaa4"},- {file = "fastuuid-0.14.0-cp314-cp314-musllinux_1_1_i686.whl", hash = "sha256:f54d5b36c56a2d5e1a31e73b950b28a0d83eb0c37b91d10408875a5a29494bad"},- {file = "fastuuid-0.14.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:ec27778c6ca3393ef662e2762dba8af13f4ec1aaa32d08d77f71f2a70ae9feb8"},- {file = "fastuuid-0.14.0-cp314-cp314-win32.whl", hash = "sha256:e23fc6a83f112de4be0cc1990e5b127c27663ae43f866353166f87df58e73d06"},- {file = "fastuuid-0.14.0-cp314-cp314-win_amd64.whl", hash = "sha256:df61342889d0f5e7a32f7284e55ef95103f2110fee433c2ae7c2c0956d76ac8a"},- {file = "fastuuid-0.14.0-cp38-cp38-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:47c821f2dfe95909ead0085d4cb18d5149bca704a2b03e03fb3f81a5202d8cea"},- {file = "fastuuid-0.14.0-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:3964bab460c528692c70ab6b2e469dd7a7b152fbe8c18616c58d34c93a6cf8d4"},- {file = "fastuuid-0.14.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:c501561e025b7aea3508719c5801c360c711d5218fc4ad5d77bf1c37c1a75779"},- {file = "fastuuid-0.14.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2dce5d0756f046fa792a40763f36accd7e466525c5710d2195a038f93ff96346"},- {file = "fastuuid-0.14.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:193ca10ff553cf3cc461572da83b5780fc0e3eea28659c16f89ae5202f3958d4"},- {file = "fastuuid-0.14.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:0737606764b29785566f968bd8005eace73d3666bd0862f33a760796e26d1ede"},- {file = "fastuuid-0.14.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:e0976c0dff7e222513d206e06341503f07423aceb1db0b83ff6851c008ceee06"},- {file = "fastuuid-0.14.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:6fbc49a86173e7f074b1a9ec8cf12ca0d54d8070a85a06ebf0e76c309b84f0d0"},- {file = "fastuuid-0.14.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:de01280eabcd82f7542828ecd67ebf1551d37203ecdfd7ab1f2e534edb78d505"},- {file = "fastuuid-0.14.0-cp38-cp38-win32.whl", hash = "sha256:af5967c666b7d6a377098849b07f83462c4fedbafcf8eb8bc8ff05dcbe8aa209"},- {file = "fastuuid-0.14.0-cp38-cp38-win_amd64.whl", hash = "sha256:c3091e63acf42f56a6f74dc65cfdb6f99bfc79b5913c8a9ac498eb7ca09770a8"},- {file = "fastuuid-0.14.0-cp39-cp39-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:2ec3d94e13712a133137b2805073b65ecef4a47217d5bac15d8ac62376cefdb4"},- {file = "fastuuid-0.14.0-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:139d7ff12bb400b4a0c76be64c28cbe2e2edf60b09826cbfd85f33ed3d0bbe8b"},- {file = "fastuuid-0.14.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:d55b7e96531216fc4f071909e33e35e5bfa47962ae67d9e84b00a04d6e8b7173"},- {file = "fastuuid-0.14.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c0eb25f0fd935e376ac4334927a59e7c823b36062080e2e13acbaf2af15db836"},- {file = "fastuuid-0.14.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:089c18018fdbdda88a6dafd7d139f8703a1e7c799618e33ea25eb52503d28a11"},- {file = "fastuuid-0.14.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2fc37479517d4d70c08696960fad85494a8a7a0af4e93e9a00af04d74c59f9e3"},- {file = "fastuuid-0.14.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:73657c9f778aba530bc96a943d30e1a7c80edb8278df77894fe9457540df4f85"},- {file = "fastuuid-0.14.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:d31f8c257046b5617fc6af9c69be066d2412bdef1edaa4bdf6a214cf57806105"},- {file = "fastuuid-0.14.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5816d41f81782b209843e52fdef757a361b448d782452d96abedc53d545da722"},- {file = "fastuuid-0.14.0-cp39-cp39-win32.whl", hash = "sha256:448aa6833f7a84bfe37dd47e33df83250f404d591eb83527fa2cac8d1e57d7f3"},- {file = "fastuuid-0.14.0-cp39-cp39-win_amd64.whl", hash = "sha256:84b0779c5abbdec2a9511d5ffbfcd2e53079bf889824b32be170c0d8ef5fc74c"},- {file = "fastuuid-0.14.0.tar.gz", hash = "sha256:178947fc2f995b38497a74172adee64fdeb8b7ec18f2a5934d037641ba265d26"},-]-[[package]]name = "feedparser"version = "6.0.12"@@ -2038,7 +1930,6 @@ files = [[package.dependencies]cryptography = ">=38.0.3"pyasn1-modules = ">=0.2.1"-requests = {version = ">=2.20.0,<3.0.0", optional = true, markers = "extra == \"requests\""}rsa = ">=3.1.4,<5"[package.extras]@@ -2240,34 +2131,6 @@ files = [{file = "google_crc32c-1.8.0.tar.gz", hash = "sha256:a428e25fb7691024de47fecfbff7ff957214da51eddded0da0ae0e0f03a2cf79"},]-[[package]]-name = "google-genai"-version = "1.62.0"-description = "GenAI Python SDK"-optional = false-python-versions = ">=3.10"-groups = ["main"]-files = [- {file = "google_genai-1.62.0-py3-none-any.whl", hash = "sha256:4c3daeff3d05fafee4b9a1a31f9c07f01bc22051081aa58b4d61f58d16d1bcc0"},- {file = "google_genai-1.62.0.tar.gz", hash = "sha256:709468a14c739a080bc240a4f3191df597bf64485b1ca3728e0fb67517774c18"},-]--[package.dependencies]-anyio = ">=4.8.0,<5.0.0"-distro = ">=1.7.0,<2"-google-auth = {version = ">=2.47.0,<3.0.0", extras = ["requests"]}-httpx = ">=0.28.1,<1.0.0"-pydantic = ">=2.9.0,<3.0.0"-requests = ">=2.28.1,<3.0.0"-sniffio = "*"-tenacity = ">=8.2.3,<9.2.0"-typing-extensions = ">=4.11.0,<5.0.0"-websockets = ">=13.0.0,<15.1.0"--[package.extras]-aiohttp = ["aiohttp (<3.13.3)"]-local-tokenizer = ["protobuf", "sentencepiece (>=0.2.0)"]-[[package]]name = "google-resumable-media"version = "2.8.0"@@ -2360,6 +2223,7 @@ description = "Lightweight in-process concurrent programming"optional = falsepython-versions = ">=3.10"groups = ["main"]+markers = "platform_machine == \"aarch64\" or platform_machine == \"ppc64le\" or platform_machine == \"x86_64\" or platform_machine == \"amd64\" or platform_machine == \"AMD64\" or platform_machine == \"win32\" or platform_machine == \"WIN32\""files = [{file = "greenlet-3.3.1-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:04bee4775f40ecefcdaa9d115ab44736cd4b9c5fba733575bfe9379419582e13"},{file = "greenlet-3.3.1-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:50e1457f4fed12a50e427988a07f0f9df53cf0ee8da23fab16e6732c2ec909d4"},@@ -2582,42 +2446,6 @@ files = [hpack = ">=4.1,<5"hyperframe = ">=6.1,<7"-[[package]]-name = "hf-xet"-version = "1.2.0"-description = "Fast transfer of large files with the Hugging Face Hub."-optional = false-python-versions = ">=3.8"-groups = ["main"]-markers = "platform_machine == \"x86_64\" or platform_machine == \"amd64\" or platform_machine == \"AMD64\" or platform_machine == \"arm64\" or platform_machine == \"aarch64\""-files = [- {file = "hf_xet-1.2.0-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:ceeefcd1b7aed4956ae8499e2199607765fbd1c60510752003b6cc0b8413b649"},- {file = "hf_xet-1.2.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:b70218dd548e9840224df5638fdc94bd033552963cfa97f9170829381179c813"},- {file = "hf_xet-1.2.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7d40b18769bb9a8bc82a9ede575ce1a44c75eb80e7375a01d76259089529b5dc"},- {file = "hf_xet-1.2.0-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:cd3a6027d59cfb60177c12d6424e31f4b5ff13d8e3a1247b3a584bf8977e6df5"},- {file = "hf_xet-1.2.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:6de1fc44f58f6dd937956c8d304d8c2dea264c80680bcfa61ca4a15e7b76780f"},- {file = "hf_xet-1.2.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:f182f264ed2acd566c514e45da9f2119110e48a87a327ca271027904c70c5832"},- {file = "hf_xet-1.2.0-cp313-cp313t-win_amd64.whl", hash = "sha256:293a7a3787e5c95d7be1857358a9130694a9c6021de3f27fa233f37267174382"},- {file = "hf_xet-1.2.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:10bfab528b968c70e062607f663e21e34e2bba349e8038db546646875495179e"},- {file = "hf_xet-1.2.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:2a212e842647b02eb6a911187dc878e79c4aa0aa397e88dd3b26761676e8c1f8"},- {file = "hf_xet-1.2.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:30e06daccb3a7d4c065f34fc26c14c74f4653069bb2b194e7f18f17cbe9939c0"},- {file = "hf_xet-1.2.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:29c8fc913a529ec0a91867ce3d119ac1aac966e098cf49501800c870328cc090"},- {file = "hf_xet-1.2.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e159cbfcfbb29f920db2c09ed8b660eb894640d284f102ada929b6e3dc410a"},- {file = "hf_xet-1.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:9c91d5ae931510107f148874e9e2de8a16052b6f1b3ca3c1b12f15ccb491390f"},- {file = "hf_xet-1.2.0-cp314-cp314t-win_amd64.whl", hash = "sha256:210d577732b519ac6ede149d2f2f34049d44e8622bf14eb3d63bbcd2d4b332dc"},- {file = "hf_xet-1.2.0-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:46740d4ac024a7ca9b22bebf77460ff43332868b661186a8e46c227fdae01848"},- {file = "hf_xet-1.2.0-cp37-abi3-macosx_11_0_arm64.whl", hash = "sha256:27df617a076420d8845bea087f59303da8be17ed7ec0cd7ee3b9b9f579dff0e4"},- {file = "hf_xet-1.2.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3651fd5bfe0281951b988c0facbe726aa5e347b103a675f49a3fa8144c7968fd"},- {file = "hf_xet-1.2.0-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:d06fa97c8562fb3ee7a378dd9b51e343bc5bc8190254202c9771029152f5e08c"},- {file = "hf_xet-1.2.0-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:4c1428c9ae73ec0939410ec73023c4f842927f39db09b063b9482dac5a3bb737"},- {file = "hf_xet-1.2.0-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:a55558084c16b09b5ed32ab9ed38421e2d87cf3f1f89815764d1177081b99865"},- {file = "hf_xet-1.2.0-cp37-abi3-win_amd64.whl", hash = "sha256:e6584a52253f72c9f52f9e549d5895ca7a471608495c4ecaa6cc73dba2b24d69"},- {file = "hf_xet-1.2.0.tar.gz", hash = "sha256:a8c27070ca547293b6890c4bf389f713f80e8c478631432962bb7f4bc0bd7d7f"},-]--[package.extras]-tests = ["pytest"]-[[package]]name = "hpack"version = "4.1.0"@@ -2769,42 +2597,6 @@ files = [{file = "httpx_sse-0.4.3.tar.gz", hash = "sha256:9b1ed0127459a66014aec3c56bebd93da3c1bc8bb6618c8082039a44889a755d"},]-[[package]]-name = "huggingface-hub"-version = "1.4.1"-description = "Client library to download and publish models, datasets and other repos on the huggingface.co hub"-optional = false-python-versions = ">=3.9.0"-groups = ["main"]-files = [- {file = "huggingface_hub-1.4.1-py3-none-any.whl", hash = "sha256:9931d075fb7a79af5abc487106414ec5fba2c0ae86104c0c62fd6cae38873d18"},- {file = "huggingface_hub-1.4.1.tar.gz", hash = "sha256:b41131ec35e631e7383ab26d6146b8d8972abc8b6309b963b306fbcca87f5ed5"},-]--[package.dependencies]-filelock = "*"-fsspec = ">=2023.5.0"-hf-xet = {version = ">=1.2.0,<2.0.0", markers = "platform_machine == \"x86_64\" or platform_machine == \"amd64\" or platform_machine == \"AMD64\" or platform_machine == \"arm64\" or platform_machine == \"aarch64\""}-httpx = ">=0.23.0,<1"-packaging = ">=20.9"-pyyaml = ">=5.1"-shellingham = "*"-tqdm = ">=4.42.1"-typer-slim = "*"-typing-extensions = ">=4.1.0"--[package.extras]-all = ["Jinja2", "Pillow", "authlib (>=1.3.2)", "fastapi", "fastapi", "httpx", "itsdangerous", "jedi", "libcst (>=1.4.0)", "mypy (==1.15.0)", "numpy", "pytest (>=8.4.2)", "pytest-asyncio", "pytest-cov", "pytest-env", "pytest-mock", "pytest-rerunfailures (<16.0)", "pytest-vcr", "pytest-xdist", "ruff (>=0.9.0)", "soundfile", "ty", "types-PyYAML", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3", "typing-extensions (>=4.8.0)", "urllib3 (<2.0)"]-dev = ["Jinja2", "Pillow", "authlib (>=1.3.2)", "fastapi", "fastapi", "httpx", "itsdangerous", "jedi", "libcst (>=1.4.0)", "mypy (==1.15.0)", "numpy", "pytest (>=8.4.2)", "pytest-asyncio", "pytest-cov", "pytest-env", "pytest-mock", "pytest-rerunfailures (<16.0)", "pytest-vcr", "pytest-xdist", "ruff (>=0.9.0)", "soundfile", "ty", "types-PyYAML", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3", "typing-extensions (>=4.8.0)", "urllib3 (<2.0)"]-fastai = ["fastai (>=2.4)", "fastcore (>=1.3.27)", "toml"]-hf-xet = ["hf-xet (>=1.2.0,<2.0.0)"]-mcp = ["mcp (>=1.8.0)"]-oauth = ["authlib (>=1.3.2)", "fastapi", "httpx", "itsdangerous"]-quality = ["libcst (>=1.4.0)", "mypy (==1.15.0)", "ruff (>=0.9.0)", "ty"]-testing = ["Jinja2", "Pillow", "authlib (>=1.3.2)", "fastapi", "fastapi", "httpx", "itsdangerous", "jedi", "numpy", "pytest (>=8.4.2)", "pytest-asyncio", "pytest-cov", "pytest-env", "pytest-mock", "pytest-rerunfailures (<16.0)", "pytest-vcr", "pytest-xdist", "soundfile", "urllib3 (<2.0)"]-torch = ["safetensors[torch]", "torch"]-typing = ["types-PyYAML", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3", "typing-extensions (>=4.8.0)"]-[[package]]name = "hyperframe"version = "6.1.0"@@ -3350,40 +3142,6 @@ dynamodb = ["boto3 (>=1.9.71)"]redis = ["redis (>=2.10.5)"]test-filesource = ["pyyaml (>=5.3.1)", "watchdog (>=3.0.0)"]-[[package]]-name = "litellm"-version = "1.80.0"-description = "Library to easily interface with LLM API providers"-optional = false-python-versions = "!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,>=3.8"-groups = ["main"]-files = [- {file = "litellm-1.80.0-py3-none-any.whl", hash = "sha256:fd0009758f4772257048d74bf79bb64318859adb4ea49a8b66fdbc718cd80b6e"},- {file = "litellm-1.80.0.tar.gz", hash = "sha256:eeac733eb6b226f9e5fb020f72fe13a32b3354b001dc62bcf1bc4d9b526d6231"},-]--[package.dependencies]-aiohttp = ">=3.10"-click = "*"-fastuuid = ">=0.13.0"-httpx = ">=0.23.0"-importlib-metadata = ">=6.8.0"-jinja2 = ">=3.1.2,<4.0.0"-jsonschema = ">=4.22.0,<5.0.0"-openai = ">=1.99.5"-pydantic = ">=2.5.0,<3.0.0"-python-dotenv = ">=0.2.0"-tiktoken = ">=0.7.0"-tokenizers = "*"--[package.extras]-caching = ["diskcache (>=5.6.1,<6.0.0)"]-extra-proxy = ["azure-identity (>=1.15.0,<2.0.0)", "azure-keyvault-secrets (>=4.8.0,<5.0.0)", "google-cloud-iam (>=2.19.1,<3.0.0)", "google-cloud-kms (>=2.21.3,<3.0.0)", "prisma (==0.11.0)", "redisvl (>=0.4.1,<0.5.0) ; python_version >= \"3.9\" and python_version < \"3.14\"", "resend (>=0.8.0,<0.9.0)"]-mlflow = ["mlflow (>3.1.4) ; python_version >= \"3.10\""]-proxy = ["PyJWT (>=2.8.0,<3.0.0)", "apscheduler (>=3.10.4,<4.0.0)", "azure-identity (>=1.15.0,<2.0.0)", "azure-storage-blob (>=12.25.1,<13.0.0)", "backoff", "boto3 (==1.36.0)", "cryptography", "fastapi (>=0.120.1)", "fastapi-sso (>=0.16.0,<0.17.0)", "gunicorn (>=23.0.0,<24.0.0)", "litellm-enterprise (==0.1.21)", "litellm-proxy-extras (==0.4.5)", "mcp (>=1.10.0,<2.0.0) ; python_version >= \"3.10\"", "orjson (>=3.9.7,<4.0.0)", "polars (>=1.31.0,<2.0.0) ; python_version >= \"3.10\"", "pynacl (>=1.5.0,<2.0.0)", "python-multipart (>=0.0.18,<0.0.19)", "pyyaml (>=6.0.1,<7.0.0)", "rich (==13.7.1)", "rq", "soundfile (>=0.12.1,<0.13.0)", "uvicorn (>=0.29.0,<0.30.0)", "uvloop (>=0.21.0,<0.22.0) ; sys_platform != \"win32\"", "websockets (>=13.1.0,<14.0.0)"]-semantic-router = ["semantic-router ; python_version >= \"3.9\""]-utils = ["numpydoc"]-[[package]]name = "markdown-it-py"version = "4.0.0"@@ -4857,28 +4615,6 @@ docs = ["furo (>=2025.9.25)", "proselint (>=0.14)", "sphinx (>=8.2.3)", "sphinx-test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=8.4.2)", "pytest-cov (>=7)", "pytest-mock (>=3.15.1)"]type = ["mypy (>=1.18.2)"]-[[package]]-name = "playwright"-version = "1.58.0"-description = "A high-level API to automate web browsers"-optional = false-python-versions = ">=3.9"-groups = ["main"]-files = [- {file = "playwright-1.58.0-py3-none-macosx_10_13_x86_64.whl", hash = "sha256:96e3204aac292ee639edbfdef6298b4be2ea0a55a16b7068df91adac077cc606"},- {file = "playwright-1.58.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:70c763694739d28df71ed578b9c8202bb83e8fe8fb9268c04dd13afe36301f71"},- {file = "playwright-1.58.0-py3-none-macosx_11_0_universal2.whl", hash = "sha256:185e0132578733d02802dfddfbbc35f42be23a45ff49ccae5081f25952238117"},- {file = "playwright-1.58.0-py3-none-manylinux1_x86_64.whl", hash = "sha256:c95568ba1eda83812598c1dc9be60b4406dffd60b149bc1536180ad108723d6b"},- {file = "playwright-1.58.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f9999948f1ab541d98812de25e3a8c410776aa516d948807140aff797b4bffa"},- {file = "playwright-1.58.0-py3-none-win32.whl", hash = "sha256:1e03be090e75a0fabbdaeab65ce17c308c425d879fa48bb1d7986f96bfad0b99"},- {file = "playwright-1.58.0-py3-none-win_amd64.whl", hash = "sha256:a2bf639d0ce33b3ba38de777e08697b0d8f3dc07ab6802e4ac53fb65e3907af8"},- {file = "playwright-1.58.0-py3-none-win_arm64.whl", hash = "sha256:32ffe5c303901a13a0ecab91d1c3f74baf73b84f4bedbb6b935f5bc11cc98e1b"},-]--[package.dependencies]-greenlet = ">=3.1.1,<4.0.0"-pyee = ">=13,<14"-[[package]]name = "pluggy"version = "1.6.0"@@ -5865,24 +5601,6 @@ gcp-secret-manager = ["google-cloud-secret-manager (>=2.23.1)"]toml = ["tomli (>=2.0.1)"]yaml = ["pyyaml (>=6.0.1)"]-[[package]]-name = "pyee"-version = "13.0.0"-description = "A rough port of Node.js's EventEmitter to Python with a few tricks of its own"-optional = false-python-versions = ">=3.8"-groups = ["main"]-files = [- {file = "pyee-13.0.0-py3-none-any.whl", hash = "sha256:48195a3cddb3b1515ce0695ed76036b5ccc2ef3a9f963ff9f77aec0139845498"},- {file = "pyee-13.0.0.tar.gz", hash = "sha256:b391e3c5a434d1f5118a25615001dbc8f669cf410ab67d04c4d4e07c55481c37"},-]--[package.dependencies]-typing-extensions = "*"--[package.extras]-dev = ["black", "build", "flake8", "flake8-black", "isort", "jupyter-console", "mkdocs", "mkdocs-include-markdown-plugin", "mkdocstrings[python]", "mypy", "pytest", "pytest-asyncio ; python_version >= \"3.4\"", "pytest-trio ; python_version >= \"3.7\"", "sphinx", "toml", "tox", "trio", "trio ; python_version > \"3.6\"", "trio-typing ; python_version > \"3.6\"", "twine", "twisted", "validate-pyproject[all]"]-[[package]]name = "pyflakes"version = "3.4.0"@@ -7315,32 +7033,29 @@ uvicorn = ["uvicorn (>=0.34.0)"][[package]]name = "stagehand"-version = "0.5.9"-description = "Python SDK for Stagehand"+version = "3.7.0"+description = "The official Python library for the stagehand API"optional = falsepython-versions = ">=3.9"groups = ["main"]files = [- {file = "stagehand-0.5.9-py3-none-any.whl", hash = "sha256:cc8d2a114799ea1c3d6f199e86abd6479a8b338a101fffa6824d85b542ed9071"},- {file = "stagehand-0.5.9.tar.gz", hash = "sha256:068a2825b02fbc949ab9d1cf59b80d2c17caba0259e759d807f38d0e9ab236b0"},+ {file = "stagehand-3.7.0-py3-none-macosx_10_9_x86_64.whl", hash = "sha256:4918068e6c02717c09766f1df41d5a41ac2ad9b610a30bb584a7d5d359f8d654"},+ {file = "stagehand-3.7.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:cedb940ebbd47930227f5ef82077080aeb1f77480913382183187aba98e3cca5"},+ {file = "stagehand-3.7.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:87df69bca9a611c4acae7383333f1e0cf67cc5b92be91639c65772aa59f8e6ea"},+ {file = "stagehand-3.7.0-py3-none-win_amd64.whl", hash = "sha256:09d809f3b35389b2ed0b879e8909a8ed01e1ba9330f39c08cfcefe1699197585"},+ {file = "stagehand-3.7.0.tar.gz", hash = "sha256:53cdd79111147a4c6fedcf17ef92427472beaf11ad3fcd800736ae3475a5cc54"},][package.dependencies]-anthropic = ">=0.51.0"-browserbase = ">=1.4.0"-google-genai = ">=1.40.0"-httpx = ">=0.24.0"-litellm = ">=1.72.0,<=1.80.0"-nest-asyncio = ">=1.6.0"-openai = ">=1.99.6"-playwright = ">=1.42.1"-pydantic = ">=1.10.0"-python-dotenv = ">=1.0.0"-requests = ">=2.31.0"-rich = ">=13.7.0"+anyio = ">=3.5.0,<5"+distro = ">=1.7.0,<2"+httpx = ">=0.23.0,<1"+pydantic = ">=1.9.0,<3"+sniffio = "*"+typing-extensions = ">=4.14,<5"[package.extras]-dev = ["black (>=23.3.0)", "isort (>=5.12.0)", "mypy (>=1.3.0)", "psutil (>=5.9.0)", "pytest (>=7.3.1)", "pytest-asyncio (>=0.21.0)", "pytest-cov (>=4.1.0)", "pytest-mock (>=3.10.0)", "ruff"]+aiohttp = ["aiohttp", "httpx-aiohttp (>=0.1.9)"][[package]]name = "starlette"@@ -7607,48 +7322,6 @@ files = [[package.dependencies]requests = ">=2.32.3,<3.0.0"-[[package]]-name = "tokenizers"-version = "0.22.2"-description = ""-optional = false-python-versions = ">=3.9"-groups = ["main"]-files = [- {file = "tokenizers-0.22.2-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:544dd704ae7238755d790de45ba8da072e9af3eea688f698b137915ae959281c"},- {file = "tokenizers-0.22.2-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:1e418a55456beedca4621dbab65a318981467a2b188e982a23e117f115ce5001"},- {file = "tokenizers-0.22.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2249487018adec45d6e3554c71d46eb39fa8ea67156c640f7513eb26f318cec7"},- {file = "tokenizers-0.22.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:25b85325d0815e86e0bac263506dd114578953b7b53d7de09a6485e4a160a7dd"},- {file = "tokenizers-0.22.2-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bfb88f22a209ff7b40a576d5324bf8286b519d7358663db21d6246fb17eea2d5"},- {file = "tokenizers-0.22.2-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1c774b1276f71e1ef716e5486f21e76333464f47bece56bbd554485982a9e03e"},- {file = "tokenizers-0.22.2-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:df6c4265b289083bf710dff49bc51ef252f9d5be33a45ee2bed151114a56207b"},- {file = "tokenizers-0.22.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:369cc9fc8cc10cb24143873a0d95438bb8ee257bb80c71989e3ee290e8d72c67"},- {file = "tokenizers-0.22.2-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:29c30b83d8dcd061078b05ae0cb94d3c710555fbb44861139f9f83dcca3dc3e4"},- {file = "tokenizers-0.22.2-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:37ae80a28c1d3265bb1f22464c856bd23c02a05bb211e56d0c5301a435be6c1a"},- {file = "tokenizers-0.22.2-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:791135ee325f2336f498590eb2f11dc5c295232f288e75c99a36c5dbce63088a"},- {file = "tokenizers-0.22.2-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:38337540fbbddff8e999d59970f3c6f35a82de10053206a7562f1ea02d046fa5"},- {file = "tokenizers-0.22.2-cp39-abi3-win32.whl", hash = "sha256:a6bf3f88c554a2b653af81f3204491c818ae2ac6fbc09e76ef4773351292bc92"},- {file = "tokenizers-0.22.2-cp39-abi3-win_amd64.whl", hash = "sha256:c9ea31edff2968b44a88f97d784c2f16dc0729b8b143ed004699ebca91f05c48"},- {file = "tokenizers-0.22.2-cp39-abi3-win_arm64.whl", hash = "sha256:9ce725d22864a1e965217204946f830c37876eee3b2ba6fc6255e8e903d5fcbc"},- {file = "tokenizers-0.22.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:753d47ebd4542742ef9261d9da92cd545b2cacbb48349a1225466745bb866ec4"},- {file = "tokenizers-0.22.2-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e10bf9113d209be7cd046d40fbabbaf3278ff6d18eb4da4c500443185dc1896c"},- {file = "tokenizers-0.22.2-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:64d94e84f6660764e64e7e0b22baa72f6cd942279fdbb21d46abd70d179f0195"},- {file = "tokenizers-0.22.2-pp310-pypy310_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f01a9c019878532f98927d2bacb79bbb404b43d3437455522a00a30718cdedb5"},- {file = "tokenizers-0.22.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:319f659ee992222f04e58f84cbf407cfa66a65fe3a8de44e8ad2bc53e7d99012"},- {file = "tokenizers-0.22.2-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:1e50f8554d504f617d9e9d6e4c2c2884a12b388a97c5c77f0bc6cf4cd032feee"},- {file = "tokenizers-0.22.2-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1a62ba2c5faa2dd175aaeed7b15abf18d20266189fb3406c5d0550dd34dd5f37"},- {file = "tokenizers-0.22.2-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:143b999bdc46d10febb15cbffb4207ddd1f410e2c755857b5a0797961bbdc113"},- {file = "tokenizers-0.22.2.tar.gz", hash = "sha256:473b83b915e547aa366d1eee11806deaf419e17be16310ac0a14077f1e28f917"},-]--[package.dependencies]-huggingface-hub = ">=0.16.4,<2.0"--[package.extras]-dev = ["tokenizers[testing]"]-docs = ["setuptools-rust", "sphinx", "sphinx-rtd-theme"]-testing = ["datasets", "numpy", "pytest", "pytest-asyncio", "requests", "ruff", "ty"]-[[package]]name = "tomli"version = "2.4.0"@@ -7775,25 +7448,6 @@ async = ["aiohttp (>=3.7.3,<4)", "async-lru (>=1.0.3,<3)"]dev = ["coverage (>=4.4.2)", "coveralls (>=2.1.0)", "tox (>=3.21.0)"]test = ["urllib3 (<2)", "vcrpy (>=1.10.3)"]-[[package]]-name = "typer-slim"-version = "0.21.1"-description = "Typer, build great CLIs. Easy to code. Based on Python type hints."-optional = false-python-versions = ">=3.9"-groups = ["main"]-files = [- {file = "typer_slim-0.21.1-py3-none-any.whl", hash = "sha256:6e6c31047f171ac93cc5a973c9e617dbc5ab2bddc4d0a3135dc161b4e2020e0d"},- {file = "typer_slim-0.21.1.tar.gz", hash = "sha256:73495dd08c2d0940d611c5a8c04e91c2a0a98600cbd4ee19192255a233b6dbfd"},-]--[package.dependencies]-click = ">=8.0.0"-typing-extensions = ">=3.7.4.3"--[package.extras]-standard = ["rich (>=10.11.0)", "shellingham (>=1.3.0)"]-[[package]]name = "typing-extensions"version = "4.15.0"@@ -8976,4 +8630,4 @@ cffi = ["cffi (>=1.17,<2.0) ; platform_python_implementation != \"PyPy\" and pyt[metadata]lock-version = "2.1"python-versions = ">=3.10,<3.14"-content-hash = "938e93b7de4005bdd60ce5fb542a63df79115f9e21b1cb9940a19605f00d354a"+content-hash = "1dd10577184ebff0d10997f4c6ba49484de79b7fa090946e8e5ce5c5bac3cdeb"diff --git a/autogpt_platform/backend/pyproject.toml b/autogpt_platform/backend/pyproject.tomlindex 7181c9ac55..47a071dc6f 100644--- a/autogpt_platform/backend/pyproject.toml+++ b/autogpt_platform/backend/pyproject.toml@@ -88,7 +88,7 @@ pandas = "^2.3.1"firecrawl-py = "^4.3.6"exa-py = "^1.14.20"croniter = "^6.0.0"-stagehand = "^0.5.1"+stagehand = "^3.4.0"gravitas-md2gdocs = "^0.1.0"posthog = "^7.6.0"fpdf2 = "^2.8.6"diff --git a/docs/integrations/block-integrations/stagehand/blocks.md b/docs/integrations/block-integrations/stagehand/blocks.mdindex 85cba6cc84..9ca2d7d1cb 100644--- a/docs/integrations/block-integrations/stagehand/blocks.md+++ b/docs/integrations/block-integrations/stagehand/blocks.md@@ -24,9 +24,8 @@ Configure timeouts for DOM settlement and page loading. Variables can be passed| url | URL to navigate to. | str | Yes || action | Action to perform. Suggested actions are: click, fill, type, press, scroll, select from dropdown. For multi-step actions, add an entry for each step. | List[str] | Yes || variables | Variables to use in the action. Variables contains data you want the action to use. | Dict[str, str] | No |-| iframes | Whether to search within iframes. If True, Stagehand will search for actions within iframes. | bool | No |-| domSettleTimeoutMs | Timeout in milliseconds for DOM settlement.Wait longer for dynamic content | int | No |-| timeoutMs | Timeout in milliseconds for DOM ready. Extended timeout for slow-loading forms | int | No |+| dom_settle_timeout_ms | Timeout in ms to wait for the DOM to settle after navigation. | int | No |+| timeout_ms | Timeout in ms for each action. | int | No |### Outputs@@ -34,7 +33,7 @@ Configure timeouts for DOM settlement and page loading. Variables can be passed|--------|-------------|------|| error | Error message if the operation failed | str || success | Whether the action was completed successfully | bool |-| message | Details about the action’s execution. | str |+| message | Details about the action's execution. | str || action | Action performed | str |### Possible use case@@ -68,8 +67,7 @@ Supports searching within iframes and configurable timeouts for dynamic content| model | LLM to use for Stagehand (provider is inferred) | "gpt-4.1-2025-04-14" \| "gpt-4.1-mini-2025-04-14" \| "claude-sonnet-4-5-20250929" \| "claude-sonnet-4-6" | No || url | URL to navigate to. | str | Yes || instruction | Natural language description of elements or actions to discover. | str | Yes |-| iframes | Whether to search within iframes. If True, Stagehand will search for actions within iframes. | bool | No |-| domSettleTimeoutMs | Timeout in milliseconds for DOM settlement.Wait longer for dynamic content | int | No |+| dom_settle_timeout_ms | Timeout in ms to wait for the DOM to settle after navigation. | int | No |### Outputs@@ -109,8 +107,7 @@ Use this to explore a page's interactive elements before building automated work| model | LLM to use for Stagehand (provider is inferred) | "gpt-4.1-2025-04-14" \| "gpt-4.1-mini-2025-04-14" \| "claude-sonnet-4-5-20250929" \| "claude-sonnet-4-6" | No || url | URL to navigate to. | str | Yes || instruction | Natural language description of elements or actions to discover. | str | Yes |-| iframes | Whether to search within iframes. If True, Stagehand will search for actions within iframes. | bool | No |-| domSettleTimeoutMs | Timeout in milliseconds for DOM settlement.Wait longer for dynamic content | int | No |+| dom_settle_timeout_ms | Timeout in ms to wait for the DOM to settle after navigation. | int | No |### Outputs