Add API status example to AGENTS.md

This commit is contained in:
Tanner committed 2026-11-16 22:54:01 +00:00
1 parent ede2ee6b6f
commit f28269f71c
1 file changed
+5
+5
View File
@@ -67,3 +67,8 @@ PY
- Give enough time for the bot and world to load. - Give enough time for the bot and world to load.
- Always include the `finally` cleanup. - Always include the `finally` cleanup.
- When printing during live checks, include `time.monotonic()` to better understand the timing of events. - When printing during live checks, include `time.monotonic()` to better understand the timing of events.
- You can use the web API to monitor a live bot, for example:
```
$ for i in $(seq 1 8); do curl -fsS --max-time 2 http://127.0.0.1:3301/api/global | jq -c '{movement_status,pos,path,breaking,job_state}'; sleep 1; done (timeout 15s)
```