Repository navigation
Releases
ComposeLintAI Designer v1.0.0 (Android App)
🎨 ComposeLintAI Designer v1.0.0 (Android App)
Design Jetpack Compose screens visually on your Android device and export clean, production-ready Kotlin/Compose projects (.zip) with SSOT tokens (AppColors, AppDimens, AppStrings) and reusable components.
✨ Highlights
- Visual drag-and-drop Compose editor with live Dark/Light preview
- Built-in Blueprints & Atomic components library with visual mini-previews
- Customizable TopBar & Bottom Navigation Bar with tab reordering
- Clean
.zipAndroid project export with On-Demand Injection & Smart Reuse - Lightweight, R8-optimized release build (~1.26 MB)
📥 Installation
Download ComposeLintAI-Designer-v1.0.0.apk from Assets below and install it on your Android device.
License Notice: While the open-source code in this repository is licensed under Apache-2.0, the ComposeLintAI Designer APK is distributed free of charge as a proprietary binary (closed-source). All rights reserved.
ComposeLintAI v1.1.9 - The Ultimate AI Governance Release 🚀
🌟 What's New in v1.1.9
- Rebranding: Renamed to ComposeLintAI to avoid conflicts with other tools.
- Agent Debt Governance: Real-time tracking of technical debt introduced by AI agents, with semantic context injection to prevent token duplication.
- Atomic Approvals: Approving a UI change now automatically and atomically approves its dependent tokens in
DesignSystem.kt. - Zero Internal APIs: Removed all
com.intellij.*.impl.*imports, ensuring 100% compatibility with the JetBrains Marketplace. - Hard-Gate Prompts: Improved AI agent prompts for surgical fixes.
- Docs & Release Cleanup: Updated all tables, removed legacy packages, and rebuilt AARs for v1.1.9.
⚠️ Important Note
- The Live Editing feature (modifying colors, dimensions, and text from your phone) may produce anomalous errors depending on your project's structure. Please review all changes in the
Changestab before approving. - All other features (Diagnostics, Agent Debts, etc.) work reliably in any project.
- If you encounter any errors while editing from your phone, please open an issue on our GitHub repository.
v1.1.8 - Security Hardened & Ultimate Stability 🚀
🛡️ v1.1.8 - Security Hardened & Ultimate Stability
This release focuses on enterprise-grade security, absolute path containment, and fixing all critical vulnerabilities reported by expert auditors.
🔒 Security Patches (P0)
- Network Restriction: The WebSocket server now strictly binds to
127.0.0.1(Loopback) to prevent unauthorized LAN access. - Origin Check (CSWSH Defense): Added strict
Originheader validation to block Cross-Site WebSocket Hijacking. - Path Containment: Implemented
assert_inside()to guarantee that no file outside the project root can be read or modified. - Atomic Dependency Approval: Registry files (like DesignSystem.kt) are now auto-approved when you approve a UI file, preventing accidental broken builds.
- Whole-Project Token Baseline: Pre-existing tokens are strictly immune to cascade rejection, even if moved to different files.
🚀 New Features & Diagnostics
- Massively Parallel Diagnostics: Scans 1,000+ Kotlin files in seconds using multi-threaded processing.
- Interactive Diagnostics UI: TreeTable layout grouped by file, with Smart Filters and AI Actions.
- AI Action Column:
- 📋 Copy Prompt (Free): Instantly generates a structured Markdown prompt for AI agents.
- 🚀 Auto-Fix: Saves a JSON request to trigger autonomous AI refactoring.
- Built-in Help Tab: A new interactive guide inside the IDE to help you get started and troubleshoot.
- CI/CD Integration: Added automated GitHub Actions for testing and releases.
📥 Direct Downloads
| Package | Download |
|---|---|
| IDE Plugin (JetBrains) | ComposeBridgeIntelliJ-1.1.8.zip |
| Android Agent | composebridge-agent-release.aar |
| Runtime | composebridge-runtime-release.aar |
| Python Server | composebridge-server-1.1.8.zip |
| All-In-One Bundle | ComposeBridge-v1.1.8-AllInOne.zip |
Built for the Jetpack Compose Community.
v1.1.7 - Critical Text Editing Fix & M8ven Optimizations
🛠️ Patch Release v1.1.7
This is a critical patch release that fixes a P0 bug and improves AI agent compatibility:
- Fixed Text Reference Path: The tool now correctly prioritizes
AppStrings.ktwhen editing reference strings (e.g.,AppStrings.Dashboard.quickAccess), preventing "Declaration not found" errors. - M8ven.ai Optimizations: Added
ToolAnnotations(read-only, destructive) to all 34 MCP tools and improved descriptions for better AI agent routing.
v1.1.6 - The Honest & Universal Release 🚀
🎉 ComposeBridge v1.1.6 - The Honest Release
This is the most stable, transparent, and feature-complete release of ComposeBridge to date. We have completely refactored the codebase, secured the editing process, and localized the UI to English.
🌟 What's New in v1.1.6?
- Universal Design Scanner: The tool detects scattered hardcoded tokens (colors, dimensions, strings) across any Kotlin project structure. It acts as the "eyes" for your AI agent to map and refactor your design system.
- Smart MCP Payload: Reduced the AI Agent context payload from 11,000+ lines to just 63 lines (99.4% saving). AI agents can now scan projects without running out of context.
- Safe Guards (
NEEDS_MANUAL_MAPPING): If the tool cannot automatically find your Color, Dimension, or Text files, it will safely pause and refuse to edit until you specify the path in the "Discovery" tab. It will never pollute your UI files. - Massive Architecture Refactoring: Eliminated "God Classes" across the Server, Plugin, and Agent (some files reduced by 96%).
- ⚡ Extreme Performance (60x Faster): Element analysis now takes ~0.15s thanks to In-Memory caching.
- 🌍 Remote Connection (Experimental): Fully documented Tailscale Funnel integration with ACL setup and dynamic QR scanning.
- 📦 OTA APK Building: Build and install your app directly from the device wirelessly.
🛡️ Critical Bug Fixes
- Dependency Guard: Prevents rejecting a design file if its tokens are still used in approved widgets.
- Clean Cache Guard: Prevents the Clean Cache button from wiping pending edits.
- Baseline Drift Fix: Rejecting a file guarantees returning to the earliest original state.
- Silent Writes Fix: All edits correctly generate
.bridge.bakbackups before modification. - Zombie Connections & Ping Timeout Fix: Hardened the WebSocket connection.
⚠️ Honest Limitations (Read before installing)
- Experimental Remote: Editing over the internet via Tailscale is experimental. It may disconnect due to network changes. USB connection is recommended.
- KMP Projects: Require source modules (not
.aarfiles) for the runtime. (See README for details). - Design System Mapping: If auto-detection fails to find your design files, you must map them manually in the Discovery tab.
📥 Direct Downloads
| Package | Download |
|---|---|
| IDE Plugin (JetBrains) | ComposeBridgeIntelliJ-1.1.6.zip |
| Android Agent | composebridge-agent-release.aar |
| Runtime | composebridge-runtime-release.aar |
| Python Server | composebridge-server-1.1.6.zip |
| All-In-One Bundle | ComposeBridge-v1.1.6-AllInOne.zip |
Built for the Jetpack Compose Community.
v1.1.5 - Critical Rollback Fix (Hotfix)
🚑 What's Fixed in v1.1.5
This is a critical hotfix addressing a flaw in the rollback mechanism discovered during deep AI-agent testing.
🛠️ Rollback & Backup Fixes
- Fixed CRLF False Positives: The server now normalizes line endings (CRLF/LF) before checksum comparisons, preventing false
EXTERNAL_MODIFICATION_DETECTEDerrors on Windows. - Stable Backup:
.bridge.bakis now created only once on the first edit. Subsequent edits will no longer overwrite the original backup, ensuring you always roll back to the true original state. - Journal Merge Fix: Consecutive edits to the same token now merge properly, preventing the loss of the original value in the journal.
- Added 2 New Regression Tests:
test_multi_edit_rollback.pynow simulates multiple consecutive edits and verifies 100% accurate rollback to the original state. (29/29 tests passing).
Update immediately to ensure safe rollback of your design tokens. 🛡️
v1.1.4 - The True Live Preview Update (60x Faster + Deep Fixes)
🚀 What's New in v1.1.4
This is the most critical and stable update yet. We've fixed the core architecture to deliver a true, seamless Live Preview experience without any lies or performance bottlenecks.
⚡ True Live Preview (No More Illusions)
- Auto-Wrap All Tokens: 100% of your project's color and dimension tokens are now
BridgeThemeRegistry-ready. Changing a token updates the UI instantly without rebuilding. - Honest Status: The MCP
set_tokentool now explicitly returnslive_applied: falseand a warning if the phone is disconnected, so you know exactly what's happening.
🛡️ Production & Debug Isolation
- Zero Impact on Release: The interactive overlay, WebSocket connections, and inspector are strictly isolated to Debug builds using
BuildConfig.DEBUG. - R8/ProGuard Ready: The agent code is completely stripped from Release APKs, ensuring your production app is lightweight and secure.
🚀 Extreme Performance (60x Faster)
- In-Memory Project Cache: Element analysis now takes ~0.15 seconds (down from 8.9s), providing an instant, lag-free experience.
🤖 AI Agent Integration (MCP)
- 27 Tools with Async Gradle:
run_gradle_buildis now non-blocking and returns ajob_id, preventing MCP client timeouts. - Zero-Config: Seamless connection with Antigravity, Cursor, and Claude Desktop.
🧹 Repo Hygiene & Stability
- Cleaned up journal logs, removed temp paths, and updated
.gitignoreto prevent future noise. - 27/27 Unit Tests Passing.
v1.1.3 - Blazing Fast Analysis (60x Faster) & AI Agent Ready
🚀 What's New in v1.1.3
This is a massive update focused on extreme performance, seamless AI agent integration, and stability.
⚡ Extreme Performance (60x Faster)
We completely rewrote the analysis engine to use an In-Memory Project Cache.
- Before: Tapping an element took ~8.9 seconds (25,000+ disk reads).
- After: Tapping an element takes ~0.15 seconds (0 disk reads on warm cache).
- Experience a truly instant, lag-free UI tuning experience directly on your phone!
🤖 AI Agent Integration (MCP)
ComposeBridge now acts as a native MCP (Model Context Protocol) Server.
- Exposes 27 tools directly to AI agents (like Antigravity, Cursor, Claude Desktop).
- Ultra-Efficient: Uses Lazy Loading, so 27 tools consume only ~176 tokens (<1% of context window).
- Auto-Refresh: When an AI agent modifies code via MCP, the IDE and phone update automatically.
- Check the
README.mdfor explicit UI steps on how to connect Antigravity/Cursor to ComposeBridge.
🔧 Critical Bug Fixes
add_tokenRegistry Fix: Tokens are now physically written toDesignSystem.kt(withBridgeThemeRegistry) instead of failing silently.set_tokenDiscovery: Color tokens are now found and updated correctly across all registry files.- UI Toolbar Update: The floating toolbar now features 5 buttons: 🎨 (Colors), 📏 (Dimensions), 📝 (Text), 🔄 (Sync with badge), and ✕ (Close).
- Auto-Sync Signal: The IDE "Changes" tab now updates instantly without manual refresh.
📦 Downloads & Installation
- IDE Plugin:
ComposeBridgeIntelliJ-1.1.3.zip - Android Agent (AAR):
composebridge-agent-release.aar - Runtime (AAR):
composebridge-runtime-release.aar - Python Server:
composebridge-server-1.1.3.zip - All-In-One Bundle:
ComposeBridge-v1.1.3-AllInOne.zip
Built for the Jetpack Compose Community. Happy Coding! 🚀
v1.1.2 - Complete Refactoring & Critical Fixes
🚀 What's New in v1.1.2
🏗️ Architectural Refactoring (5 Phases)
We have completely restructured the core of ComposeBridge for better maintainability, scalability, and performance:
- Split Monolithic Files: 4 massive files were broken down into 25+ specialized modules:
source_analyzer.py: 2,116 lines → 72 linesstate_editor.py: 1,146 lines → 86 linesmcp_server.py: 1,209 lines → 59 linesserver.py: 1,493 lines → 67 lines
- New Modules: Introduced
common/,analysis/,editor/,mcp/,network/,handlers/, andcli/packages. - Zero Circular Imports: Cleaned up all interdependent imports.
🔧 Critical Bug Fixes (P0)
- Text Editing Fixed: Resolved the issue where text editing failed after refactoring due to relative imports in
text_editor.py. - AppStrings Resolution: Fixed text extraction that was showing
AppStrings.Dainstead of the actual rendered text. - Multi-Registry Dimensions: You can now edit padding/dimensions on lines that contain multiple
BridgeDimensionRegistry.getcalls. - Release Builds: Created a lightweight
composebridge-runtimemodule to ensureassembleReleaseworks flawlessly without duplicate classes. - Auth Token: Added a dynamic token system with a
--dev-tokenfallback for local testing. - Theme Indexer: Now dynamically discovers
AppStrings.ktandDesignSystem.ktinstead of relying on hardcoded paths. - Port Conflict: Unified all ports to
8711to prevent connection drops.
✅ Verification
- 100% of Python files compile without errors.
- 15/15 Unit Tests passing.
- End-to-End (E2E) integration tests passed 100%.
- Verified text and dimension editing directly from the phone.
v1.1.1 - Critical Hotfix (Release Builds & Stability)
🚨 Critical Hotfix (v1.1.1)
Fixed
- Release Build Failure (P0): Introduced a new lightweight
composebridge-runtimemodule (9 KB) containing the design system registries. This separates debug-only tools from release builds. You must now addcomposebridge-runtime-release.aarto yourimplementationdependencies. - False Sync Error (P0): Fixed a
NameErrorinapply_state_updatethat caused the server to report failure even when the file was successfully modified. - Hardcoded Paths: Removed all hardcoded paths (
com.student.app,C:\Users\...). The tool now discovers the project structure dynamically. - Security: Replaced hardcoded auth tokens with dynamically generated tokens in
.composebridge-state/auth.json.
Improved
- MCP Tools Documentation: Rewrote all 17+ tool descriptions to include side effects, usage warnings, and parameter constraints (raising TDQS score from 3/5 to 5/5).
- README: Updated installation instructions to reflect the new
runtime+agentAAR setup.