Files
David Mann f22cac0de4 MCP: agents in the open window on the shared AgentLink and Agents page
The window now runs craft_automation's AgentLink and AgentSwitch for the
agents channel (token, challenge handshake, connection file, retry,
stop on switch-off) and forwards its requests into FigCraft's control
queue, each confined to the agent folders as before; FigCraft's own copy
of that code is gone. Preferences offer the shared Agents page (AI
agents..., with the suite's AI-MCP flag) over Prefs::agents, changed by
the new pref.agents command, which an agent's confined request can't
use. figcraft-cli mcp reads the saved settings (folders, When FigCraft
is closed), takes --when-closed, signs in to the window with the
challenge handshake, deprecates --attach and gets the agent_folders tool
(control method agent.folders). The --control server is stopped on exit.

Closes #2963.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 05:02:17 +01:00
..