Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
working-directory: workflows
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }} # Checkout the release tag commit
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand All @@ -54,8 +56,3 @@ jobs:
- run: uv run ruff check --no-fix --select PLE # check only for syntax errors
- run: uv build
- run: uv publish --token ${{ secrets.PYPI_API_TOKEN }}
- name: Push to stable branch (if stable release)
if: startsWith(github.ref_name, 'v') && !contains(github.ref_name, 'rc')
run: |
git checkout -b stable
git push origin stable
6 changes: 3 additions & 3 deletions workflows/workflow_use/schema/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ class SelectorWorkflowSteps(BaseWorkflowStep):
)

# PRIMARY: Text-based semantic targeting (non-brittle)
target_text: str = Field(
...,
description='Visible or accessible text to identify the element. Use hierarchical context for disambiguation (e.g., "Submit (in Personal Information)", "Edit (item 2 of 3)").',
target_text: Optional[str] = Field(
None,
description='Visible or accessible text to identify the element. Use hierarchical context for disambiguation (e.g., "Submit (in Personal Information)", "Edit (item 2 of 3)"). If None, relies on selectorStrategies fallback.',
)

# OPTIONAL: Context hints for disambiguation (stored as text, not selectors)
Expand Down
Loading