preview-server.py
Tools · A check on the result · MIT
- What it does
A 46-line Python web server for the loop's screenshots: it serves the working folder on this machine only and accepts a PNG posted to /__capture, saving it under .dream-loop/captures/ with a timestamp and as latest.png, so a page can hand its own canvas to the agent. Nothing in the skill's text mentions it; the agent has to find it.
- Get it
python3 scripts/preview-server.py --directory . --port 4172 then from the page: fetch('/__capture', {method: 'POST', body: pngBlob})
- Needs
Python 3
- License
MIT
- From