Files
lightcraft/crates
Bruno-Alumn 8341959e5e MCP: render and screenshot PNGs go through a private temp folder (#2573)
The render_photo, render_preview and screenshot tools had the backend write their PNG to lightcraft-mcp-<pid>-<n>-<tag>.png right in the temp dir. On Linux and FreeBSD, where that is the shared /tmp, other users could read the rendered photos and screenshots, and a name someone else created first made the render fail. Each image now goes in a new lightcraft-mcp-<pid>-<random> folder, made 0700 on Unix and never reused when the name already exists, and the folder is removed with anything left in it once the image is read or the call fails. On Windows, and on macOS with its usual per-user TMPDIR, the temp dir was already private; there the PNG just sits one folder deeper.
2026-10-22 20:17:06 +02:00
..
2026-10-22 02:53:00 +00:00
2026-10-21 14:54:06 +00:00
2026-10-22 02:53:42 +00:00
2026-10-15 03:40:17 -04:00
2026-10-22 02:53:42 +00:00
2026-10-22 02:49:52 +00:00
2026-10-14 22:31:41 -04:00