Skip to content

Commit e67299e

Browse files
committed
chore: Release v0.9.33
fix dart format CI check across all files
1 parent 1807c10 commit e67299e

29 files changed

Lines changed: 119 additions & 67 deletions

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## 0.9.33
2+
3+
**fix dart format CI check across all files**
4+
5+
### Changes
6+
- TODO: Add your changes here
7+
8+
---
9+
110
## 0.9.32
211

312
**fix dart format in CI**

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ Then batch multiple actions in one call:
440440

441441
```yaml
442442
dependencies:
443-
flutter_skill: ^0.9.32
443+
flutter_skill: ^0.9.33
444444
```
445445
446446
```dart

intellij-plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group = "com.aidashboad"
8-
version = "0.9.32"
8+
version = "0.9.33"
99

1010
repositories {
1111
mavenCentral()

intellij-plugin/src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<idea-plugin>
22
<id>com.aidashboad.flutterskill</id>
33
<name>Flutter Skill - AI App Automation</name>
4-
<version>0.9.32</version>
4+
<version>0.9.33</version>
55
<vendor email="support@ai-dashboad.com" url="https://github.com/ai-dashboad/flutter-skill">ai-dashboad</vendor>
66

77
<description><![CDATA[

lib/src/bridge/cdp_driver.dart

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,8 @@ end tell
494494
if (!dest.existsSync()) dest.createSync(recursive: true);
495495
try {
496496
await for (final entity in src.list()) {
497-
final name = entity.uri.pathSegments.lastWhere((s) => s.isNotEmpty, orElse: () => '');
497+
final name = entity.uri.pathSegments
498+
.lastWhere((s) => s.isNotEmpty, orElse: () => '');
498499
if (name.isEmpty) continue;
499500
if (entity is File) {
500501
try {
@@ -654,7 +655,8 @@ end tell
654655

655656
// Chrome is still running — verify the debug port actually opened.
656657
final portOpened = await _pollCdpPort(
657-
timeout: const Duration(seconds: 4), interval: const Duration(milliseconds: 200));
658+
timeout: const Duration(seconds: 4),
659+
interval: const Duration(milliseconds: 200));
658660
if (!portOpened) {
659661
// Chrome silently ignored --remote-debugging-port (Chrome 145+ behaviour).
660662
// Kill this instance, then try session-copy profile (copies user's cookies/storage
@@ -682,7 +684,8 @@ end tell
682684
timeout: const Duration(seconds: 6),
683685
interval: const Duration(milliseconds: 200),
684686
);
685-
if (sessionPortOpened) return; // Session copy worked with debug port open.
687+
if (sessionPortOpened)
688+
return; // Session copy worked with debug port open.
686689
try {
687690
_chromeProcess?.kill();
688691
} catch (_) {}
@@ -3095,7 +3098,8 @@ end tell
30953098
Future<String?> _discoverTarget() async {
30963099
// Chrome 146+ consent port: HTTP endpoints not available, use WebSocket CDP.
30973100
if (_isChrome146ConsentPort) {
3098-
return _discoverTargetViaConsentPort(timeout: const Duration(seconds: 30));
3101+
return _discoverTargetViaConsentPort(
3102+
timeout: const Duration(seconds: 30));
30993103
}
31003104

31013105
// Try multiple times as Chrome may still be starting

lib/src/bridge/web_bridge_proxy.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ class WebBridgeProxy {
156156

157157
// Read the SDK script — try common locations
158158
String? sdkSource;
159-
final home = Platform.environment['HOME'] ??
160-
Platform.environment['USERPROFILE'];
159+
final home =
160+
Platform.environment['HOME'] ?? Platform.environment['USERPROFILE'];
161161
final candidates = [
162162
// Relative to the flutter-skill package
163163
'sdks/web/flutter-skill.js',

lib/src/cli/init.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,8 @@ Future<void> _configureMCP() async {
470470
print('');
471471
print('🤖 Configuring AI agent MCP...');
472472

473-
final home = Platform.environment['HOME'] ??
474-
Platform.environment['USERPROFILE'];
473+
final home =
474+
Platform.environment['HOME'] ?? Platform.environment['USERPROFILE'];
475475
if (home == null) {
476476
print(' Warning: Could not determine home directory');
477477
return;

lib/src/cli/quickstart.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,8 +773,8 @@ Future<String?> _findFlutter() async {
773773
if (inPath != null) return 'flutter';
774774

775775
// Check common locations
776-
final home = Platform.environment['HOME'] ??
777-
Platform.environment['USERPROFILE'];
776+
final home =
777+
Platform.environment['HOME'] ?? Platform.environment['USERPROFILE'];
778778
final candidates = [
779779
if (home != null) ...[
780780
'$home/development/flutter/bin/flutter',

lib/src/cli/server.dart

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ part 'tool_handlers/bug_report_handlers.dart';
6868
part 'tool_handlers/fixture_handlers.dart';
6969
part 'tool_handlers/explore_handlers.dart';
7070

71-
const String currentVersion = '0.9.32';
71+
const String currentVersion = '0.9.33';
7272

7373
/// Session information for multi-session support
7474
class SessionInfo {
@@ -1020,8 +1020,8 @@ class FlutterMcpServer {
10201020
'no isolates found',
10211021
'connection refused',
10221022
'timeout',
1023-
'rpcerror', // errors from target app, not flutter-skill itself
1024-
'server error', // RPC server errors from target app
1023+
'rpcerror', // errors from target app, not flutter-skill itself
1024+
'server error', // RPC server errors from target app
10251025
];
10261026

10271027
// Check if it's a critical error
@@ -1067,7 +1067,8 @@ class FlutterMcpServer {
10671067
// ==================== CLI Error Formatting ====================
10681068

10691069
/// Print a structured, actionable CLI error to stderr.
1070-
void _printCliError(String title, String detail, {List<String> fixes = const []}) {
1070+
void _printCliError(String title, String detail,
1071+
{List<String> fixes = const []}) {
10711072
stderr.writeln('');
10721073
stderr.writeln('❌ $title');
10731074
stderr.writeln('');
@@ -1086,8 +1087,8 @@ void _printCliError(String title, String detail, {List<String> fixes = const []}
10861087

10871088
/// Acquire a lock file to prevent multiple server instances
10881089
Future<File?> _acquireLock() async {
1089-
final home = Platform.environment['HOME'] ??
1090-
Platform.environment['USERPROFILE'];
1090+
final home =
1091+
Platform.environment['HOME'] ?? Platform.environment['USERPROFILE'];
10911092
if (home == null) return null;
10921093

10931094
final lockFile = File('$home/.flutter_skill.lock');

lib/src/cli/tool_handlers/bf_screenshot.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ extension _BfScreenshot on FlutterMcpServer {
88
// Default to lower quality and max width to prevent token overflow
99
final quality = (args['quality'] as num?)?.toDouble() ?? 0.8;
1010
final maxWidth = args['max_width'] as int? ?? 800;
11-
final saveToFile =
12-
args['save_to_file'] ?? true; // Save to file by default to avoid token overflow
11+
final saveToFile = args['save_to_file'] ??
12+
true; // Save to file by default to avoid token overflow
1313

1414
var imageBase64 =
1515
await client!.takeScreenshot(quality: quality, maxWidth: maxWidth);

0 commit comments

Comments
 (0)