flutter-skill 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,6 +22,7 @@
22
22
  <p align="center">
23
23
  <a href="#30-second-demo">Demo</a> •
24
24
  <a href="#quick-start">Quick Start</a> •
25
+ <a href="#use-with-ai-platforms">AI Platforms</a> •
25
26
  <a href="#10-platforms-one-tool">Platforms</a> •
26
27
  <a href="#why-not-playwright--appium--detox">vs Others</a> •
27
28
  <a href="docs/USAGE_GUIDE.md">Docs</a>
@@ -118,6 +119,83 @@ That's it. **Zero configuration. Zero test code. Works in under 60 seconds.**
118
119
 
119
120
  ---
120
121
 
122
+ ## Use with AI Platforms
123
+
124
+ ### MCP Server Mode (IDE Integration)
125
+
126
+ Works with any MCP-compatible AI tool. One config line:
127
+
128
+ ```json
129
+ {
130
+ "mcpServers": {
131
+ "flutter-skill": {
132
+ "command": "flutter-skill",
133
+ "args": ["server"]
134
+ }
135
+ }
136
+ }
137
+ ```
138
+
139
+ | Platform | Config File | Status |
140
+ |----------|-------------|--------|
141
+ | **Cursor** | `.cursor/mcp.json` | ✅ |
142
+ | **Claude Desktop** | `claude_desktop_config.json` | ✅ |
143
+ | **Windsurf** | `~/.codeium/windsurf/mcp_config.json` | ✅ |
144
+ | **VSCode Copilot** | `.vscode/mcp.json` | ✅ |
145
+ | **Cline** | VSCode Settings → Cline → MCP | ✅ |
146
+ | **OpenClaw** | Skill or MCP config | ✅ |
147
+ | **Continue.dev** | `.continue/config.json` | ✅ |
148
+
149
+ ### HTTP Serve Mode (CLI & Automation)
150
+
151
+ For standalone browser automation, CI/CD pipelines, or remote access:
152
+
153
+ ```bash
154
+ # Start server
155
+ flutter-skill serve https://your-app.com
156
+
157
+ # Use CLI client commands (NEW in v0.9.1)
158
+ flutter-skill nav https://google.com
159
+ flutter-skill snap # Accessibility tree (99% fewer tokens)
160
+ flutter-skill screenshot /tmp/ss.jpg
161
+ flutter-skill tap "Login"
162
+ flutter-skill type "hello@example.com"
163
+ flutter-skill eval "document.title"
164
+ flutter-skill tools # List all available tools
165
+ ```
166
+
167
+ | Command | Description |
168
+ |---------|-------------|
169
+ | `nav <url>` | Navigate to URL |
170
+ | `snap` | Accessibility tree snapshot |
171
+ | `screenshot [path]` | Take screenshot |
172
+ | `tap <text\|ref\|x y>` | Tap element |
173
+ | `type <text>` | Type via keyboard |
174
+ | `key <key> [mod]` | Press key |
175
+ | `eval <js>` | Execute JavaScript |
176
+ | `title` | Get page title |
177
+ | `text` | Get visible text |
178
+ | `hover <text>` | Hover element |
179
+ | `upload <sel> <file>` | Upload file |
180
+ | `tools` | List tools |
181
+ | `call <tool> [json]` | Call any tool |
182
+
183
+ Supports `--port=N`, `--host=H` flags and `FS_PORT`/`FS_HOST` env vars.
184
+
185
+ ### Two Modes Compared
186
+
187
+ | | `server` (MCP stdio) | `serve` (HTTP) |
188
+ |---|---|---|
189
+ | **Use case** | IDE / AI agent integration | CLI / automation / CI/CD |
190
+ | **Protocol** | MCP (JSON-RPC over stdio) | HTTP REST |
191
+ | **Tools** | 253 (dynamic per page) | 246 (generic) |
192
+ | **Browser** | Auto-launches Chrome | Connects to existing Chrome |
193
+ | **Best for** | Cursor, Claude, VSCode | OpenClaw, scripts, pipelines |
194
+
195
+ > **Full CLI client reference:** [docs/CLI_CLIENT.md](docs/CLI_CLIENT.md)
196
+
197
+ ---
198
+
121
199
  ## 10 Platforms, One Tool
122
200
 
123
201
  Most testing tools work on 1-2 platforms. flutter-skill works on **10**.
@@ -177,7 +255,7 @@ Tested 15 MCP tools against production websites — **75/75 passed, zero timeout
177
255
 
178
256
  | | flutter-skill | Playwright MCP | Appium | Detox |
179
257
  |---|:---:|:---:|:---:|:---:|
180
- | **MCP tools** | **237** | ~33 | ❌ | ❌ |
258
+ | **MCP tools** | **253** | ~33 | ❌ | ❌ |
181
259
  | **Platforms** | **10** | 1 (web) | Mobile | React Native |
182
260
  | **Setup time** | 30 sec | Minutes | Hours | Hours |
183
261
  | **Test code needed** | ❌ None | ✅ Yes | ✅ Yes | ✅ Yes |
@@ -309,7 +387,7 @@ Then batch multiple actions in one call:
309
387
  </table>
310
388
 
311
389
  <details>
312
- <summary><strong>237 tools — full reference</strong></summary>
390
+ <summary><strong>253 tools — full reference</strong></summary>
313
391
 
314
392
  **AI Explore:** `page_summary`, `explore_actions`, `boundary_test`, `explore_report`
315
393
 
@@ -362,7 +440,7 @@ Then batch multiple actions in one call:
362
440
 
363
441
  ```yaml
364
442
  dependencies:
365
- flutter_skill: ^0.9.0
443
+ flutter_skill: ^0.9.1
366
444
  ```
367
445
 
368
446
  ```dart
package/dart/pubspec.yaml CHANGED
@@ -1,6 +1,6 @@
1
1
  name: flutter_skill_npm
2
2
  description: Give your AI Agent eyes and hands inside your Flutter app.
3
- version: 0.8.9
3
+ version: 0.9.1
4
4
  publish_to: 'none'
5
5
  homepage: https://github.com/ai-dashboad/flutter-skill
6
6
  repository: https://github.com/ai-dashboad/flutter-skill
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flutter-skill",
3
3
  "mcpName": "io.github.ai-dashboad/flutter-skill",
4
- "version": "0.9.0",
4
+ "version": "0.9.1",
5
5
  "description": "MCP Server for app automation - Give your AI Agent eyes and hands inside any app (Flutter, React, Web, Native)",
6
6
  "main": "index.js",
7
7
  "bin": {