An empty agent folder setting meant no file access, so an agent reached
through the launcher's MCP entry could neither open nor save a file, and
nothing told it where to put files.
- default_folder(app): Documents/ArtCraft/Agents/<App> (dirs::document_dir,
else ~/Documents), only for plain app names.
- AgentSettings::folders / folders_with: the person's own folders win; an
empty setting falls back to the default, created on first use.
- The live client's headless sessions use it (LiveConfig::default_folder).
- FOLDERS_TOOL, folders_tool, folders_answer: the tool each app offers so an
agent learns the folders it may use.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ArtCraft Launcher's switch (AgentSwitch, mcp_flag, launcher_allows),
the agent settings, the connection file (agent-connection.json) and the
<id>-cli mcp side that finds the open window (Live: window while the app
accepts agents, otherwise headless or the closed-app choice; launcher
starts the app beside the CLI), behind the new feature agents. No UI
toolkit and no async runtime. Same formats as craft_automation::agents
on next, which can re-export these once the branches meet.
* feat: add craft-control (control channel protocol)
Port from solidcraft: the control channel any app may share, no UI toolkit.
- Per-launch token files (32 random bytes, user-only permissions)
- Loopback server with token-based authentication
- Client that talks to the loopback server
- Request/response types (ControlRequest, ControlResponse)
- Document watch for subscribed connections waiting on changes
- Effect type for requests still running when they finish
Desktop-only (wasm32 excluded): uses getrandom for token generation.
No external dependencies beyond serde and serde_json.
* fix: update test directory names from solidcraft-control to craft-control
* Record control crate dependencies in workspace lockfile
* re-trigger CI
* chore(lock): keep the wasm-bindgen family at the version main's runners install