From df5912ecfb5f21543e7e157fde871bdac9ae50c9 Mon Sep 17 00:00:00 2001 From: andzrev Date: Thu, 20 Nov 2025 09:18:11 -0500 Subject: [PATCH] feat(flutter): update CloudX Flutter SDK version to v0.18.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates Flutter agents and documentation to align with CloudX Flutter SDK v0.18.0, the first official public release. Also fixes argument parsing in install script to properly handle multiple flags. Changes: - Update SDK version references from v0.1.2 to v0.18.0 across all Flutter agent files - Update SDK_VERSION.yaml with verified commit hash (d81acbc) - Update documentation with correct version numbers - Fix install.sh argument parsing to properly handle --branch and --platform flags 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .claude/agents/flutter/cloudx-flutter-auditor.md | 4 ++-- .claude/agents/flutter/cloudx-flutter-integrator.md | 10 +++++----- CLAUDE.md | 2 +- README.md | 2 +- SDK_VERSION.yaml | 11 +++-------- docs/flutter/INTEGRATION_GUIDE.md | 2 +- docs/flutter/ORCHESTRATION.md | 2 +- scripts/install.sh | 12 +++++++----- 8 files changed, 21 insertions(+), 24 deletions(-) diff --git a/.claude/agents/flutter/cloudx-flutter-auditor.md b/.claude/agents/flutter/cloudx-flutter-auditor.md index 0f5969f..383cac9 100644 --- a/.claude/agents/flutter/cloudx-flutter-auditor.md +++ b/.claude/agents/flutter/cloudx-flutter-auditor.md @@ -29,7 +29,7 @@ You are a CloudX Flutter integration auditor. Your role is to validate that Clou grep -n "cloudx_flutter" pubspec.yaml ``` -Expected: `cloudx_flutter: ^0.1.2` or similar +Expected: `cloudx_flutter: ^0.18.0` or similar **main.dart initialization check**: ```bash @@ -277,7 +277,7 @@ Provide a structured validation report: ### 1️⃣ CloudX SDK Setup **Dependency (pubspec.yaml)** -- ✅ cloudx_flutter: ^0.1.2 present +- ✅ cloudx_flutter: ^0.18.0 present - File: `pubspec.yaml:LINE` **Initialization (main.dart)** diff --git a/.claude/agents/flutter/cloudx-flutter-integrator.md b/.claude/agents/flutter/cloudx-flutter-integrator.md index d19ff12..0a9b69c 100644 --- a/.claude/agents/flutter/cloudx-flutter-integrator.md +++ b/.claude/agents/flutter/cloudx-flutter-integrator.md @@ -22,7 +22,7 @@ You are a CloudX Flutter SDK integration specialist. Your role is to implement C 6. Ensure proper lifecycle management (destroyAd in dispose) 7. Implement error handling (and fallback triggers if applicable) -## Critical CloudX Flutter SDK APIs (v0.1.2) +## Critical CloudX Flutter SDK APIs (v0.18.0) **Initialization** (async, before runApp): ```dart @@ -169,7 +169,7 @@ Search `pubspec.yaml` for existing ad SDK dependencies: Add to `pubspec.yaml`: ```yaml dependencies: - cloudx_flutter: ^0.1.2 + cloudx_flutter: ^0.18.0 # In first-look mode: KEEP existing ad SDK dependencies (google_mobile_ads, applovin_max) # In CloudX-only mode: No other ad SDK dependencies needed ``` @@ -513,13 +513,13 @@ When integration is complete, provide a structured summary following this templa ### ✅ Integration Complete -**CloudX Flutter SDK v0.1.2 integrated** [with fallback to AdMob/AppLovin] OR [standalone (no fallback)] +**CloudX Flutter SDK v0.18.0 integrated** [with fallback to AdMob/AppLovin] OR [standalone (no fallback)] ### 📝 What Was Done **1. Dependency Added** - File: `pubspec.yaml` -- Added CloudX Flutter SDK v0.1.2 +- Added CloudX Flutter SDK v0.18.0 - [Preserved existing ad SDK dependencies / No existing ad SDK found] **2. SDK Initialization** @@ -670,7 +670,7 @@ List each file with summary of changes: Before reporting success to publisher, verify: **Code Quality:** -- [ ] pubspec.yaml has cloudx_flutter dependency (^0.1.2) +- [ ] pubspec.yaml has cloudx_flutter dependency (^0.18.0) - [ ] CloudX initialization in main.dart (before runApp) - [ ] iOS experimental flag included (allowIosExperimental: true) - [ ] Fallback managers created (if fallback SDK exists) OR standalone integration (if no fallback) diff --git a/CLAUDE.md b/CLAUDE.md index e275ba6..48e889d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -8,7 +8,7 @@ This repository contains specialized Claude Code agents for automating CloudX SD **Supported Platforms:** - **Android** (v0.6.1) - 4 agents - Production ready -- **Flutter** (v0.1.2) - 4 agents - Production ready +- **Flutter** (v0.18.0) - 4 agents - Production ready - **iOS** - Coming soon ## Architecture Overview diff --git a/README.md b/README.md index b43bb05..a53c64c 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Reduce integration time from 4-6 hours to 20 minutes with specialized AI agents | Platform | Status | SDK Version | Agents | |----------|--------|-------------|--------| | **Android** | ✅ Production | v0.6.1 | 4 agents | -| **Flutter** | ✅ Production | v0.1.2 | 4 agents | +| **Flutter** | ✅ Production | v0.18.0 | 4 agents | | **iOS** | 🚧 Coming Soon | TBD | TBD | ## Quick Start diff --git a/SDK_VERSION.yaml b/SDK_VERSION.yaml index 10ef621..07aa884 100644 --- a/SDK_VERSION.yaml +++ b/SDK_VERSION.yaml @@ -9,16 +9,11 @@ platforms: verified_against_commit: "ea8cffb" # Add BuildInfoProvider abstraction and improve test coverage flutter: - sdk_version: "0.1.2" + sdk_version: "0.18.0" flutter_sdk_min: "3.0.0" dart_sdk_min: "3.0.0" - agents_last_updated: "2025-11-04" - verified_against_commit: "0286fe1" # Initial commit - CloudX Flutter SDK (Nov 12, 2025) - # Version Context: - # - v0.1.0-0.2.0 were pre-release test versions on pub.dev (not git-tagged) - # - v0.18.0 (d81acbc) is the first official public release (Nov 12, 2025) - # - These agents were built against v0.1.2 pre-release APIs - # - TODO: Upgrade agents to v0.18.0 and validate API compatibility + agents_last_updated: "2025-11-19" + verified_against_commit: "d81acbc" # v0.18.0 - First official public release (Nov 12, 2025) # Critical API signatures that agents depend on (Platform-specific) api_signatures: diff --git a/docs/flutter/INTEGRATION_GUIDE.md b/docs/flutter/INTEGRATION_GUIDE.md index 5b4639a..44eb5c4 100644 --- a/docs/flutter/INTEGRATION_GUIDE.md +++ b/docs/flutter/INTEGRATION_GUIDE.md @@ -92,7 +92,7 @@ The agent adds this to `pubspec.yaml`: dependencies: flutter: sdk: flutter - cloudx_flutter: ^0.1.2 + cloudx_flutter: ^0.18.0 # Existing ad SDKs preserved if present # google_mobile_ads: ^3.0.0 # applovin_max: ^2.0.0 diff --git a/docs/flutter/ORCHESTRATION.md b/docs/flutter/ORCHESTRATION.md index 943ca98..8f43d72 100644 --- a/docs/flutter/ORCHESTRATION.md +++ b/docs/flutter/ORCHESTRATION.md @@ -149,7 +149,7 @@ Agent: ❌ Build failed with 3 errors: Fixes: 1. Add import statement -2. Add cloudx_flutter: ^0.1.2 to pubspec.yaml +2. Add cloudx_flutter: ^0.18.0 to pubspec.yaml 3. Run flutter pub get You: [Fix errors manually] diff --git a/scripts/install.sh b/scripts/install.sh index 52024cb..cbf7254 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -27,19 +27,21 @@ if [ -n "$CI" ] || [ -n "$GITHUB_ACTIONS" ] || [ -n "$GITLAB_CI" ] || [ -n "$CIR fi # Parse command-line arguments +MAIN_ARGS=() # Arguments to pass to main() for arg in "$@"; do case $arg in --branch=*) BRANCH="${arg#*=}" - shift ;; --platform=*) PLATFORM="${arg#*=}" - shift ;; --yes|-y|--non-interactive) NON_INTERACTIVE="true" - shift + ;; + *) + # Pass other arguments to main() (--help, --global, --local) + MAIN_ARGS+=("$arg") ;; esac done @@ -557,5 +559,5 @@ main() { fi } -# Run main function -main "$@" +# Run main function with filtered arguments +main "${MAIN_ARGS[@]}"