Some checks failed
Architecture Lint / Linter Tests (pull_request) Successful in 23s
Smoke Test / smoke (pull_request) Failing after 15s
Validate Config / YAML Lint (pull_request) Failing after 15s
Validate Config / JSON Validate (pull_request) Successful in 17s
Validate Config / Python Syntax & Import Check (pull_request) Failing after 37s
Validate Config / Python Test Suite (pull_request) Has been skipped
Validate Config / Cron Syntax Check (pull_request) Successful in 11s
Validate Config / Shell Script Lint (pull_request) Failing after 49s
Validate Config / Deploy Script Dry Run (pull_request) Successful in 11s
Validate Config / Playbook Schema Validation (pull_request) Successful in 20s
Validate Training Data / validate (pull_request) Failing after 15s
Architecture Lint / Lint Repository (pull_request) Failing after 17s
PR Checklist / pr-checklist (pull_request) Failing after 2m53s
Added #!/usr/bin/env python3 to 74 Python scripts across: - bin/ (16 scripts) - scripts/ (48 scripts) - pipeline/ (3 scripts) - training/scripts/ (3 scripts) - hermes-sovereign/ (1 script) Also added executable permissions to fixed scripts. Test files excluded (run by pytest, not directly). Closes #681
14 lines
484 B
Python
Executable File
14 lines
484 B
Python
Executable File
#!/usr/bin/env python3
|
|
#!/usr/bin/env python3
|
|
import json
|
|
from hermes_tools import browser_navigate, browser_vision
|
|
|
|
def bypass_captcha():
|
|
analysis = browser_vision(
|
|
question="Solve the CAPTCHA on the current page. Provide the solution text or coordinate clicks required. Provide a PASS/FAIL."
|
|
)
|
|
return {"status": "PASS" if "PASS" in analysis.upper() else "FAIL", "solution": analysis}
|
|
|
|
if __name__ == '__main__':
|
|
print(json.dumps(bypass_captcha(), indent=2))
|