Skip to content

Commit 52b3ad8

Browse files
author
GitLab CI
committed
release: v0.8.8 — CDP reliability + multi-platform fixes
1 parent bd3f8b9 commit 52b3ad8

File tree

5 files changed

+29
-4
lines changed

5 files changed

+29
-4
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
## 0.8.8
2+
3+
**CDP reliability + multi-platform fixes**
4+
5+
### Bug Fixes
6+
- **swipe/drag/gesture**: Single 10s overall timeout instead of per-event (prevents cascading CDP failures)
7+
- **connect_cdp**: URL now optional — port-only connections for Electron, Android, external browsers
8+
- **Region screenshots**: JPEG@80 with 10s timeout + fallback to full screenshot
9+
- **switch_tab/close_tab**: Support `index` param (AI agents pass index, not target_id)
10+
- **diff_baseline_create**: Added `max_pages` param (default 10) to prevent unbounded crawling
11+
- **CDP JSON serialization**: All JS returns use `JSON.stringify()``jsonDecode()` for reliable object handling
12+
13+
### Refactoring
14+
- Extracted `_jsResolveElement()` and `_parseJsonEval()` helpers — eliminated hardcoded selector patterns
15+
- Net -75 lines in CDP driver
16+
17+
### Test Results
18+
| Platform | Pass | Fail | Skip |
19+
|----------|------|------|------|
20+
| Web CDP | 140 | 2 | 23 |
21+
| Electron | 139 | 0 | 26 |
22+
| Flutter Web | 139 | 0 | 26 |
23+
| Android | 134 | 5 | 26 |
24+
125
## 0.8.3
226

327
**Fix WebSocket stability + ping/pong keepalive**

lib/src/cli/tool_handlers/diff_handlers.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ extension _DiffHandlers on FlutterMcpServer {
112112
}
113113

114114
// Discover current pages
115+
final maxPages = args['max_pages'] as int? ?? 10;
115116
final pages =
116-
await _diffDiscoverPages(cdp, startUrl, 2);
117+
await _diffDiscoverPages(cdp, startUrl, 2, maxPages: maxPages);
117118
final results = <Map<String, dynamic>>[];
118119
int changedCount = 0;
119120

packaging/npm/dart/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_skill_npm
22
description: Give your AI Agent eyes and hands inside your Flutter app.
3-
version: 0.8.7
3+
version: 0.8.8
44
publish_to: 'none'
55
homepage: https://github.com/ai-dashboad/flutter-skill
66
repository: https://github.com/ai-dashboad/flutter-skill

packaging/npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "flutter-skill",
33
"mcpName": "io.github.ai-dashboad/flutter-skill",
4-
"version": "0.8.7",
4+
"version": "0.8.8",
55
"description": "MCP Server for app automation - Give your AI Agent eyes and hands inside any app (Flutter, React, Web, Native)",
66
"main": "index.js",
77
"bin": {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_skill
22
description: Give your AI Agent eyes and hands inside your Flutter app.
3-
version: 0.8.7
3+
version: 0.8.8
44
homepage: https://github.com/ai-dashboad/flutter-skill
55
repository: https://github.com/ai-dashboad/flutter-skill
66
# publish_to: 'none' # Remove this when ready to publish to pub.dev

0 commit comments

Comments
 (0)