mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 21:12:57 -05:00
Agents: control clients can't change the agent settings
A window started with --control and no automation roots answers its control requests unconfined, so `prefs.agents` saved any readRoot, writeRoot or controlPort such a client sent. The agent folders it widened then held for every later agent session. `prefs.agents` now refuses a change whenever automation sent the request (a control or MCP request, or a pass that carries injected input), as `automation_is_acting` already does for commands that open another app. Reading the settings still works. The params text, its MCP mirror and docs/mcp.md say so.
This commit is contained in:
1 parent
d742a49341
commit
9251d4a129
5 files changed
+31
-5
No files matched your search
+1
-1
@@ -47,7 +47,7 @@ only the folders given on its command line, as before.
|
||||
Preferences › AI Integrations shows the switch's state, the port agents connect on, Control Port (0: any free
|
||||
port), the two folders and the closed-app choice. Without the `AI-MCP` flag it only says that agents use
|
||||
VectorCraft without a window. The same settings are the UI command `prefs.agents {controlPort?, readRoot?,
|
||||
writeRoot?, whenAppClosed?}`, which agents' own requests can read but not change. Started with `--control`,
|
||||
writeRoot?, whenAppClosed?}`, which agents' own requests and `--control` clients can read but not change. Started with `--control`,
|
||||
the window serves that channel for the whole run instead, and the page says so.
|
||||
|
||||
### Command catalogue (headless vs remote)
|
||||
|
||||
Reference in new issue
Block a user