mirror of
https://github.com/storytold/deckcraft.git
synced 2026-12-05 22:59:52 +00:00
While the launcher's Settings > AI agents switch names DeckCraft, the window serves its control channel to agents through the shared AgentLink (token in the settings folder, agent-connection.json, switch watching, retry), and plain `deckcraft-cli mcp` finds it on every tool call with the shared Live client: the open window while allowed, a headless session otherwise, the closed-app choice while DeckCraft is closed (--when-closed overrides it, --headless forces headless). The window client signs in with the challenge handshake. --connect stays one release as a deprecated alias. Agent requests, the input they queue and the window's own file service (ConfinedFiles) are held to the agent folders (Preferences > AI Integrations, Documents/ArtCraft/Agents/DeckCraft by default); the agent_folders tool names them. Preferences gets the shared Agents page; settings are saved in agents.json through `app.agents`, which refuses changes from an agent's request. Closes #2591. Part of storytold/craft-ai-integrations#195. Co-Authored-By: Claude Opus 5.5 <[email protected]>