Commit ce519e8
authored
Add flutter driver tool (#223)
Towards #222 (could close it, but probably we should do some more work to validate it works well).
Adds the flutter driver tool, with a curated set of available commands. I decided to expose this as just a single tool, which mirrors exactly the flutter driver extension method.
The schema for this is pretty weird and complex - but in general Gemini seems to do OK with it.
Note that I only tested the tap/get_text commands, I think that is likely sufficient (really we just need to test we are forwarding commands through, we aren't doing anything special).
Also updates the workflow client to handle enums and use updated model names.1 parent 3bf650e commit ce519e8
File tree
9 files changed
+412
-68
lines changed- mcp_examples/bin
- pkgs/dart_mcp_server
- lib/src
- mixins
- utils
- test_fixtures/counter_app
- lib
- test/tools
9 files changed
+412
-68
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 18 | + | |
23 | 19 | | |
24 | 20 | | |
25 | 21 | | |
| |||
161 | 157 | | |
162 | 158 | | |
163 | 159 | | |
164 | | - | |
165 | | - | |
166 | 160 | | |
167 | 161 | | |
168 | 162 | | |
| |||
552 | 546 | | |
553 | 547 | | |
554 | 548 | | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
555 | 556 | | |
556 | 557 | | |
557 | 558 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
| 145 | + | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
| |||
0 commit comments