mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-18 16:24:38 +00:00
- The token is passed on as the app wrote it (trimmed): craft-control's server compares exactly and accepts any CONTROL_TOKEN of 32+ chars. The token file is checked as a regular file before it is opened (a FIFO would block the open). - Allow Agent Control off counts as not allowed on the CLI's side too. - A window route is dropped once no app accepts agents. - A headless session with the app's agent folders ends when the person stops letting agents in. - The launch timeout is capped and the deadline computed without overflow; the poll interval is kept between 1 ms and 1 s. - The connect error names the app's window; the guide says to remove the connection file on quit and that one process per settings folder accepts agents; the AppImage mount is compared after resolving links. - Tests for each, and a wider margin in the queued-start test.