diff --git a/tools/gh-monitor/poll.py b/tools/gh-monitor/poll.py index 9edb715..8d7637b 100644 --- a/tools/gh-monitor/poll.py +++ b/tools/gh-monitor/poll.py @@ -62,7 +62,7 @@ def save_state(state: dict, path: Path) -> None: def gh_api(endpoint: str) -> list | dict: result = subprocess.run( - ["gh", "api", "--paginate", endpoint], + ["/usr/local/bin/gh", "api", "--paginate", endpoint], capture_output=True, text=True, ) @@ -135,7 +135,7 @@ def new_events_since(events: list[dict], cursor_ts: str, seen_ids: set) -> list[ def notify(text: str) -> None: result = subprocess.run( - ["openclaw", "system", "event", "--text", text, "--mode", "now"], + ["/Users/hansheinemann/.nvm/versions/node/v22.22.1/bin/openclaw", "system", "event", "--text", text, "--mode", "now"], capture_output=True, text=True, ) @@ -190,7 +190,7 @@ def dispatch_agent(repo_slug: str, pr: dict, event: dict) -> None: try: result = subprocess.run( [ - "openclaw", "cron", "add", + "/Users/hansheinemann/.nvm/versions/node/v22.22.1/bin/openclaw", "cron", "add", "--name", job_name, "--at", "1m", "--session", "isolated",