Skip to content

Commit bd8b77a

Browse files
author
GitLab CI
committed
release: v0.9.1 — CLI client, GitHub Pages docs, platform guide
New Features: - CLI client commands for serve API (nav, snap, screenshot, tap, type, key, eval, title, text, hover, upload, tools, call, wait) - GitHub Pages documentation site with auto-deploy workflow - Comprehensive AI platform integration guide in README Documentation: - docs/CLI_CLIENT.md: Full CLI client reference with scripting examples - docs/site/index.html: Static documentation site for GitHub Pages - Updated IDE_SETUP.md with OpenClaw serve mode and Continue.dev - README: 'Use with AI Platforms' section (MCP + HTTP serve modes) Bug Fixes (included from recent commits): - Chrome WebSocket 403 Forbidden (Origin header) - Domain-based tab matching (never hijack unrelated tabs) - PUT for /json/new (Chrome 145+ compatibility) Version: 0.9.0 → 0.9.1
1 parent d954166 commit bd8b77a

File tree

20 files changed

+1263
-18
lines changed

20 files changed

+1263
-18
lines changed

.github/workflows/pages.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Deploy docs to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'docs/site/**'
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
concurrency:
16+
group: "pages"
17+
cancel-in-progress: false
18+
19+
jobs:
20+
deploy:
21+
environment:
22+
name: github-pages
23+
url: ${{ steps.deployment.outputs.page_url }}
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
29+
- name: Setup Pages
30+
uses: actions/configure-pages@v5
31+
32+
- name: Upload artifact
33+
uses: actions/upload-pages-artifact@v3
34+
with:
35+
path: 'docs/site'
36+
37+
- name: Deploy to GitHub Pages
38+
id: deployment
39+
uses: actions/deploy-pages@v4

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## 0.9.1
2+
3+
**CLI client commands, GitHub Pages docs, comprehensive platform guide**
4+
5+
### New Features
6+
- **CLI client commands for serve API**: `nav`, `snap`, `screenshot`, `tap`, `type`, `key`, `eval`, `title`, `text`, `hover`, `upload`, `tools`, `call`, `wait`
7+
- **GitHub Pages documentation site**: Static docs site at `docs/site/` with auto-deploy workflow
8+
9+
### Documentation
10+
- Comprehensive IDE/platform integration guide with all supported AI platforms
11+
- CLI client reference (`docs/CLI_CLIENT.md`) with scripting examples and CI/CD patterns
12+
- Updated IDE setup guide with OpenClaw serve mode and Continue.dev sections
13+
14+
### Bug Fixes
15+
- **Chrome WebSocket 403 Forbidden**: Fixed Origin header handling
16+
- **Domain-based tab matching**: Never hijack unrelated tabs
17+
- **PUT for /json/new**: Chrome 145+ requires PUT instead of GET
18+
19+
---
20+
121
## 0.9.0
222

323
**iOS native automation + React Native support + bridge reliability**

README.md

Lines changed: 81 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<p align="center">
2323
<a href="#30-second-demo">Demo</a> •
2424
<a href="#quick-start">Quick Start</a> •
25+
<a href="#use-with-ai-platforms">AI Platforms</a> •
2526
<a href="#10-platforms-one-tool">Platforms</a> •
2627
<a href="#why-not-playwright--appium--detox">vs Others</a> •
2728
<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.**
118119

119120
---
120121

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+
121199
## 10 Platforms, One Tool
122200

123201
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
177255

178256
| | flutter-skill | Playwright MCP | Appium | Detox |
179257
|---|:---:|:---:|:---:|:---:|
180-
| **MCP tools** | **237** | ~33 |||
258+
| **MCP tools** | **253** | ~33 |||
181259
| **Platforms** | **10** | 1 (web) | Mobile | React Native |
182260
| **Setup time** | 30 sec | Minutes | Hours | Hours |
183261
| **Test code needed** | ❌ None | ✅ Yes | ✅ Yes | ✅ Yes |
@@ -309,7 +387,7 @@ Then batch multiple actions in one call:
309387
</table>
310388

311389
<details>
312-
<summary><strong>237 tools — full reference</strong></summary>
390+
<summary><strong>253 tools — full reference</strong></summary>
313391

314392
**AI Explore:** `page_summary`, `explore_actions`, `boundary_test`, `explore_report`
315393

@@ -362,7 +440,7 @@ Then batch multiple actions in one call:
362440

363441
```yaml
364442
dependencies:
365-
flutter_skill: ^0.9.0
443+
flutter_skill: ^0.9.1
366444
```
367445
368446
```dart

0 commit comments

Comments
 (0)