Skyvern-AI / skyvern

Automate browser-based workflows with LLMs and Computer Vision
https://www.skyvern.com
GNU Affero General Public License v3.0
10.57k stars 725 forks source link

add navigation, login, extraction workflow blocks #1238

Closed LawyZheng closed 16 hours ago

LawyZheng commented 16 hours ago

[!IMPORTANT] Add NavigationBlock, ExtractionBlock, and LoginBlock to workflow models, YAML definitions, and service logic.

  • Models:
    • Add NavigationBlock, ExtractionBlock, and LoginBlock classes in block.py.
    • Extend BlockType enum with NAVIGATION, EXTRACTION, and LOGIN.
    • Update BlockSubclasses union to include new block classes.
  • YAML Definitions:
    • Add NavigationBlockYAML, ExtractionBlockYAML, and LoginBlockYAML classes in yaml.py.
    • Update BLOCK_YAML_SUBCLASSES to include new YAML block classes.
  • Service Logic:
    • Update block_yaml_to_block() in service.py to handle new block types.
    • Add logic to convert YAML definitions to block instances for NavigationBlock, ExtractionBlock, and LoginBlock.

This description was created by Ellipsis for c9345b3f5f89cf0bd2d9b8f2506d5501bfb7f4d8. It will automatically update as commits are pushed.