mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-30 18:24:11 +01:00
Every control connection's first line carries the launch's token, written to an owner-only file (craft_control::auth), so other users and web pages can't drive the app (#480). --control binds before it writes the token, so a second launch on a taken port keeps the running app's token. While the launcher's switch names FigCraft (with the AI-MCP flag), the app listens on a free loopback port and publishes agent-connection.json (craft_control::agents); switching it off stops the listener and removes the files without a restart. A Nightly never listens.