Commit 7d59498
docs: the daemon manages itself — verified the real MCP path (v0.1.2)
Drove `build_mcp_tools(config, plugin_servers=[factory])` against the installed
driver, i.e. protoAgent's actual MCP code path rather than a unit test:
- 17 tools bind as `cua-driver__*`
- the `tools: {include: [...]}` allowlist holds exactly — no leakage from the
other 21
- entry reports `tier: "managed"`
- it activates MCP with `mcp_enabled = False`, confirming a plugin's server
needs no `mcp.enabled: true`
That run also disproved this README's own step 4, added an hour ago. I claimed
the operator should run `cua-driver serve` or else the TCC grant would follow
the protoAgent process and split dev-vs-packaged. Wrong: `cua-driver mcp`
detects it lacks grants under whatever spawned it, auto-launches the CuaDriver
daemon via LaunchServices, and proxies through it — so one `permissions grant`
attaches to com.trycua.driver and holds no matter who spawns the server.
`--no-daemon-relaunch` opts out and IS the failure mode I described, which is
why the docs now say not to pass it.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U69poCC3qyCbTnaJmRzBvi1 parent 0384995 commit 7d59498
3 files changed
Lines changed: 19 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
| |||
153 | 160 | | |
154 | 161 | | |
155 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
156 | 166 | | |
157 | 167 | | |
158 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments