Files
figcraft/apps
David Mann aaf4661e42 app: control channel token and the ArtCraft Launcher's agents switch (#2740)
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.
2026-11-29 14:36:45 +01:00
..