Skip to content

Commit 832aec5

Browse files
author
GitLab CI
committed
chore: Release v0.7.0
Enhanced developer experience: doctor command, --version flag, interactive CLI tips, auto-config IDE settings, improved install scripts with POSIX compatibility and uninstall support.
1 parent f0a575e commit 832aec5

File tree

18 files changed

+1139
-169
lines changed

18 files changed

+1139
-169
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
## 0.7.0
2+
3+
**Enhanced developer experience: install scripts, CLI tips, and doctor command**
4+
5+
### Features
6+
- **`flutter-skill doctor`**: New command to check installation and environment health (Flutter/Dart SDK, devices, native tools, IDE config, tool priority rules)
7+
- **`--version` / `-v` flag**: Quick version check from CLI (`flutter-skill --version`)
8+
- **Interactive CLI tips**: Running `flutter-skill-mcp` in terminal shows helpful usage guide with examples instead of hanging
9+
- **Auto-config IDE settings**: Install script automatically writes MCP config to Claude Code (`~/.claude/settings.json`) and Cursor (`~/.cursor/mcp.json`)
10+
11+
### Install Script Improvements
12+
- One-click install auto-configures everything (IDE settings, tool priority rules, PATH)
13+
- Safe JSON merging via python3 (preserves existing settings)
14+
- POSIX-compatible output (`printf` instead of `echo -e`)
15+
- Removed `--force` npm warning during updates
16+
- Smart version verification with regex validation
17+
- Added fish shell PATH support
18+
- Windows PowerShell auto-config with `ConvertFrom-Json`/`ConvertTo-Json`
19+
20+
### New Files
21+
- `lib/src/cli/doctor.dart` - Environment health checker
22+
- `uninstall.sh` - Clean uninstall for macOS/Linux
23+
- `uninstall.ps1` - Clean uninstall for Windows
24+
25+
### Release Script
26+
- `scripts/release.sh` now auto-syncs Homebrew formula version
27+
28+
---
29+
130
## 0.6.2
231

332
**Improve pub.dev score**

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ flutter-skill launch /path/to/project
262262
1. Add dependency:
263263
```yaml
264264
dependencies:
265-
flutter_skill: ^0.6.2
265+
flutter_skill: ^0.7.0
266266
```
267267
268268
2. Initialize in main.dart:

bin/flutter_skill.dart

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,41 @@ import 'package:flutter_skill/src/cli/act.dart';
55
import 'package:flutter_skill/src/cli/server.dart';
66
import 'package:flutter_skill/src/cli/report_error.dart';
77
import 'package:flutter_skill/src/cli/setup_priority.dart';
8+
import 'package:flutter_skill/src/cli/doctor.dart';
89

910
void main(List<String> args) async {
1011
if (args.isEmpty) {
11-
print('Usage: flutter_skill <command> [arguments]');
12+
print('flutter-skill v$currentVersion - AI Agent Bridge for Flutter Apps');
13+
print('');
1214
print('Commands:');
13-
print(' launch - Launch and auto-connect to a Flutter app');
14-
print(' inspect - Inspect interactive elements');
15-
print(' act - Perform actions (tap, enter_text, etc)');
16-
print(' server - Run MCP server');
17-
print(' setup - Install tool priority rules for Claude Code');
18-
print(' report-error - Report a bug to GitHub Issues');
15+
print(' launch Launch and auto-connect to a Flutter app');
16+
print(' server Start MCP server (used by IDEs)');
17+
print(' inspect Inspect interactive elements');
18+
print(' act Perform actions (tap, enter_text, scroll)');
19+
print(' screenshot Take a screenshot of the running app');
20+
print(' doctor Check installation and environment health');
21+
print(' setup Install tool priority rules for Claude Code');
22+
print(' report-error Report a bug to GitHub Issues');
23+
print(' --version Show version');
24+
print('');
25+
print('Quick Start:');
26+
print(' flutter-skill doctor Check your environment is ready');
27+
print(' flutter-skill launch ./my_app Launch and connect to your app');
28+
print('');
29+
print('What can AI agents do with Flutter Skill?');
30+
print(' - Launch your Flutter app and auto-connect');
31+
print(' - Inspect UI: find buttons, text fields, lists');
32+
print(' - Tap, swipe, scroll, and enter text');
33+
print(' - Take screenshots to verify visual changes');
34+
print(' - Read app logs and debug issues');
35+
print(' - Hot reload after code changes');
36+
print('');
37+
print('Example: Ask your AI agent:');
38+
print(' "Launch my Flutter app and tap the login button"');
39+
print(' "Take a screenshot and check if the list is showing"');
40+
print(' "Enter \'hello@test.com\' in the email field and submit"');
41+
print('');
42+
print('Docs: https://pub.dev/packages/flutter_skill');
1943

2044
// Show setup reminder if not installed
2145
showSetupReminder();
@@ -26,6 +50,10 @@ void main(List<String> args) async {
2650
final commandArgs = args.sublist(1);
2751

2852
switch (command) {
53+
case '--version':
54+
case '-v':
55+
print(currentVersion);
56+
break;
2957
case 'launch':
3058
await runLaunch(commandArgs);
3159
// Show setup reminder after launch (only if not installed)
@@ -43,6 +71,9 @@ void main(List<String> args) async {
4371
case 'setup':
4472
await runSetupPriority(commandArgs);
4573
break;
74+
case 'doctor':
75+
await runDoctor(commandArgs);
76+
break;
4677
case 'report-error':
4778
await runReportError(commandArgs);
4879
break;

homebrew/flutter-skill.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
class FlutterSkill < Formula
22
desc "MCP Server for Flutter app automation - AI Agent control for Flutter apps"
33
homepage "https://github.com/ai-dashboad/flutter-skill"
4-
version "0.2.9"
4+
version "0.7.0"
55
license "MIT"
66

77
# Platform-specific native binaries
88
on_macos do
99
on_arm do
10-
url "https://github.com/ai-dashboad/flutter-skill/releases/download/v0.2.9/flutter-skill-macos-arm64"
10+
url "https://github.com/ai-dashboad/flutter-skill/releases/download/v0.7.0/flutter-skill-macos-arm64"
1111
sha256 "PLACEHOLDER_ARM64_SHA256"
1212
end
1313
on_intel do
14-
url "https://github.com/ai-dashboad/flutter-skill/releases/download/v0.2.9/flutter-skill-macos-x64"
14+
url "https://github.com/ai-dashboad/flutter-skill/releases/download/v0.7.0/flutter-skill-macos-x64"
1515
sha256 "PLACEHOLDER_X64_SHA256"
1616
end
1717
end
1818

1919
on_linux do
20-
url "https://github.com/ai-dashboad/flutter-skill/releases/download/v0.2.9/flutter-skill-linux-x64"
20+
url "https://github.com/ai-dashboad/flutter-skill/releases/download/v0.7.0/flutter-skill-linux-x64"
2121
sha256 "PLACEHOLDER_LINUX_SHA256"
2222
end
2323

@@ -48,7 +48,7 @@ def caveats
4848
Note: Your Flutter app needs to include the flutter_skill package.
4949
Add to pubspec.yaml:
5050
dependencies:
51-
flutter_skill: ^0.2.9
51+
flutter_skill: ^0.7.0
5252
EOS
5353
end
5454

0 commit comments

Comments
 (0)