812 B
812 B
Toys
Small utilities in scripts/ that build on the 9P API.
inbox_refresh.py
Auto-refreshes the /AnviLLM/inbox window in Acme whenever a new message arrives. Listens to anvillm/events for UserRecv events and rewrites the inbox window body via the Acme 9P filesystem.
python3 scripts/inbox_refresh.py
Requires an open /AnviLLM/inbox window in Acme.
msgtrace.py
Real-time message sequence diagram generator. Listens to anvillm/events for UserSend/BotSend events and renders a PlantUML sequence diagram in a local web UI. Useful for visualizing inter-agent communication.
python3 scripts/msgtrace.py
# Open http://localhost:8089
The web UI auto-refreshes every 2 seconds, supports pan/zoom, and has a reset button to clear the trace. Requires plantuml in PATH.