Some checks failed
Architecture Lint / Linter Tests (pull_request) Successful in 28s
PR Checklist / pr-checklist (pull_request) Failing after 4m18s
Smoke Test / smoke (pull_request) Failing after 23s
Validate Config / YAML Lint (pull_request) Failing after 16s
Validate Config / JSON Validate (pull_request) Successful in 16s
Validate Config / Python Syntax & Import Check (pull_request) Failing after 1m30s
Validate Config / Shell Script Lint (pull_request) Failing after 1m1s
Validate Config / Cron Syntax Check (pull_request) Successful in 13s
Validate Config / Deploy Script Dry Run (pull_request) Successful in 13s
Validate Config / Playbook Schema Validation (pull_request) Successful in 25s
Architecture Lint / Lint Repository (pull_request) Has been cancelled
Validate Config / Python Test Suite (pull_request) Has been cancelled
Add #!/usr/bin/env python3 as first line to: - bin/glitch_patterns.py - bin/nostr-agent-demo.py - bin/soul_eval_gate.py - scripts/captcha_bypass_handler.py - scripts/diagram_meaning_extractor.py - scripts/visual_pr_reviewer.py All scripts now executable directly (./script.py). No functionality changes. Existing tests pass. Closes #681
13 lines
437 B
Python
13 lines
437 B
Python
#!/usr/bin/env python3
|
|
import json
|
|
from hermes_tools import browser_navigate, browser_vision
|
|
|
|
def extract_meaning():
|
|
analysis = browser_vision(
|
|
question="Analyze the provided diagram. Extract the core logic flow and map it to a 'Meaning Kernel' (entity -> relationship -> entity). Provide output in JSON."
|
|
)
|
|
return {"analysis": analysis}
|
|
|
|
if __name__ == '__main__':
|
|
print(json.dumps(extract_meaning(), indent=2))
|