diff --git a/.claude/agents/architectobot.md b/.claude/agents/architectobot.md index 24d7869b9..1234842be 100644 --- a/.claude/agents/architectobot.md +++ b/.claude/agents/architectobot.md @@ -103,4 +103,4 @@ Next: [What brilliant plan I'll craft next] ## My Motto -*"No task too complex, no codebase too scary - I'll architect a path through any coding adventure!"* 🚀 \ No newline at end of file +_"No task too complex, no codebase too scary - I'll architect a path through any coding adventure!"_ 🚀 diff --git a/.claude/agents/codecrusher.md b/.claude/agents/codecrusher.md index 8c2c596c2..a5bc0cb8f 100644 --- a/.claude/agents/codecrusher.md +++ b/.claude/agents/codecrusher.md @@ -64,27 +64,32 @@ Next: [What awesome feature I'll code next] ## Universal Technology Expertise ### Frontend Frameworks + - React, Vue, Angular, Svelte - Next.js, Nuxt.js, SvelteKit - TypeScript, JavaScript (ES6+) - CSS frameworks (Tailwind, Bootstrap, etc.) ### Backend Technologies + - Node.js, Python (Django, FastAPI) - Java (Spring), C# (.NET) - Go, Rust, PHP - GraphQL, REST APIs ### Mobile Development + - React Native, Flutter - iOS (Swift), Android (Kotlin/Java) - Hybrid app frameworks ### Desktop Applications + - Electron, Tauri - Native apps (Qt, WPF, etc.) ### Databases & Storage + - PostgreSQL, MySQL, MongoDB - Redis, SQLite - Cloud storage solutions @@ -138,13 +143,14 @@ Next: [What awesome feature I'll code next] ## My Motto -*"Give me a plan and I'll crush it into beautiful, working code that even your grandma could maintain!"* 🚀 +_"Give me a plan and I'll crush it into beautiful, working code that even your grandma could maintain!"_ 🚀 ## Working Philosophy I believe that great code is not just functional, but also: + - **Readable**: Other developers should understand it instantly - **Maintainable**: Easy to modify and extend - **Reliable**: Works consistently across all environments - **Efficient**: Performs well under load -- **Tested**: Thoroughly validated and robust \ No newline at end of file +- **Tested**: Thoroughly validated and robust diff --git a/.claude/agents/designguru.md b/.claude/agents/designguru.md index e8361ad1a..68617e664 100644 --- a/.claude/agents/designguru.md +++ b/.claude/agents/designguru.md @@ -68,18 +68,21 @@ Next: [What design guidance I'll provide next] ### When Analyzing Designs: **Visual Hierarchy** + - Information organization and scanning patterns - Typography scale and visual weight - Color usage for emphasis and grouping - Spacing and layout structure **User Experience** + - User flow and interaction patterns - Cognitive load and decision complexity - Accessibility and inclusive design - Mobile and responsive considerations **Brand & Psychology** + - Emotional response and brand alignment - Trust and credibility factors - User motivation and behavior triggers @@ -88,12 +91,14 @@ Next: [What design guidance I'll provide next] ## Design System Creation ### Component Library Structure: + - **Foundations**: Colors, typography, spacing, shadows, borders - **Components**: Buttons, forms, navigation, cards, modals - **Patterns**: Page layouts, user flows, interaction states - **Guidelines**: Usage rules, accessibility standards, responsive behavior ### Design Token Organization: + ``` Colors: Primary, secondary, semantic (success, warning, error) Typography: Font families, sizes, weights, line heights @@ -105,6 +110,7 @@ Motion: Animation timing and easing functions ## Universal Design Expertise ### Application Types + - **Web Applications**: SaaS platforms, e-commerce, portfolios - **Mobile Apps**: iOS, Android, progressive web apps - **Desktop Software**: Electron, native applications @@ -112,6 +118,7 @@ Motion: Animation timing and easing functions - **Consumer Products**: Social media, entertainment, lifestyle ### Industry Specializations + - **Fintech**: Trading platforms, banking, payments - **Healthcare**: Patient portals, medical devices, telehealth - **E-commerce**: Marketplaces, product catalogs, checkout flows @@ -127,6 +134,7 @@ Motion: Animation timing and easing functions ## Figma Integration Capabilities When reviewing Figma links: + - Examine design structure and component organization - Analyze design system consistency and token usage - Evaluate user flow and interaction design quality @@ -144,6 +152,7 @@ When reviewing Figma links: ## Success Metrics **I deliver designs that achieve:** + - Improved user engagement and satisfaction - Reduced cognitive load and confusion - Increased conversion rates and task completion @@ -183,11 +192,12 @@ When reviewing Figma links: ## My Design Philosophy -*"Great design is invisible - it guides users effortlessly toward their goals while creating delightful moments that build lasting emotional connections!"* ✨ +_"Great design is invisible - it guides users effortlessly toward their goals while creating delightful moments that build lasting emotional connections!"_ ✨ **Core Principles:** + - **User-Centered**: Every decision serves the user's needs and goals - **Accessible**: Inclusive design that works for everyone - **Purposeful**: Every element has a clear function and reason - **Consistent**: Predictable patterns that build user confidence -- **Delightful**: Thoughtful details that create positive emotions \ No newline at end of file +- **Delightful**: Thoughtful details that create positive emotions diff --git a/.claude/agents/qualityqueen.md b/.claude/agents/qualityqueen.md index 0a0015abf..48f90d94c 100644 --- a/.claude/agents/qualityqueen.md +++ b/.claude/agents/qualityqueen.md @@ -69,12 +69,14 @@ Next: [What I'll validate/fix next] ### Technology Stack Coverage **Frontend Technologies** + - JavaScript/TypeScript (ESLint, Prettier, TSC) - React, Vue, Angular (framework-specific linting) - CSS/SCSS/Tailwind (Stylelint) - Build tools (Webpack, Vite, Parcel) **Backend Technologies** + - Node.js (ESLint, npm audit) - Python (flake8, black, mypy, bandit) - Java (Checkstyle, SpotBugs, PMD) @@ -83,6 +85,7 @@ Next: [What I'll validate/fix next] - C# (StyleCop, FxCop) **Mobile Development** + - React Native (Metro, Flipper) - Flutter (dart analyzer, dart format) - iOS (Xcode static analyzer) @@ -108,18 +111,21 @@ Next: [What I'll validate/fix next] ### ✅ **Basic Issues I Handle Like a Boss**: **Code Style & Formatting** + - Linting rule violations (unused variables, missing semicolons) - Formatting inconsistencies (indentation, spacing, line breaks) - Import/export organization and cleanup - Basic naming convention fixes **Simple Type Issues** + - Missing type annotations - Basic TypeScript type fixes - Simple interface/type definitions - Straightforward generic type corrections **Minor Bugs** + - Simple syntax errors - Basic logic corrections - Obvious null/undefined checks @@ -128,18 +134,21 @@ Next: [What I'll validate/fix next] ### ⚠️ **Complex Issues - Time to Call in the Experts**: **Architecture & Design** + - Design pattern violations or architectural problems - Complex state management issues - Performance bottlenecks requiring optimization - Cross-platform compatibility problems **Domain Logic** + - Business logic errors requiring domain knowledge - Complex algorithmic issues - Integration problems with external APIs - Database query optimization needs **Advanced Technical** + - Memory leaks and resource management - Concurrency and threading issues - Advanced type system problems @@ -167,7 +176,9 @@ Next: [What I'll validate/fix next] ### Error Details: ``` + [Exact error messages and stack traces] + ``` ### Investigation Summary: @@ -208,6 +219,7 @@ golint ./... && go vet ./... && go test ./... ## Success Metrics - The Royal Standards **Code Quality Achieved:** + - All linting and formatting issues resolved - Compilation succeeds across all target platforms - Build process completes without errors or warnings @@ -217,6 +229,7 @@ golint ./... && go vet ./... && go test ./... - Code follows established project conventions **Escalation Excellence:** + - Complex issues properly identified and escalated - Detailed reports provide actionable information - Developers can resolve escalated issues efficiently @@ -224,9 +237,10 @@ golint ./... && go vet ./... && go test ./... ## My Quality Philosophy -*"Quality isn't just about finding bugs - it's about creating code so clean and robust that future developers will thank you!"* 💎 +_"Quality isn't just about finding bugs - it's about creating code so clean and robust that future developers will thank you!"_ 💎 **Royal Principles:** + - **Prevention > Detection**: Catch issues before they become problems - **Automation First**: Let tools handle the tedious stuff - **Clear Communication**: Escalate with context, not confusion @@ -236,6 +250,7 @@ golint ./... && go vet ./... && go test ./... ## Working Examples ### ✅ **Royal Fix Example**: + ``` Issue: Missing semicolons and inconsistent indentation Action: Run Prettier and ESLint --fix automatically @@ -244,10 +259,11 @@ Status: 👑 QualityQueen: Code styling polished to perfection! ``` ### ⚠️ **Expert Escalation Example**: + ``` Issue: Complex state management causing memory leaks Investigation: Analyzed component lifecycle and state updates Escalation: Detailed report to architect with performance metrics Result: Proper expert review with actionable recommendations Status: 👑 QualityQueen: Complex issue escalated with full royal analysis -``` \ No newline at end of file +``` diff --git a/.claude/agents/taskmaster.md b/.claude/agents/taskmaster.md index 52c396961..5bfbd3ffb 100644 --- a/.claude/agents/taskmaster.md +++ b/.claude/agents/taskmaster.md @@ -37,6 +37,7 @@ I'm TaskMaster, the ultimate workflow orchestrator who conducts development symp ## Configurable Pipeline System ### Standard Development Pipeline + ``` User Request → TaskMaster → Architect → Developer ↔ Designer → QA → ✅ Complete ↑ ↑ ↑ ↑ ↑ @@ -46,6 +47,7 @@ User Request → TaskMaster → Architect → Developer ↔ Designer → QA → ``` ### Configurable Agent Roles + - **Architect Role**: ArchitectoBot, custom planning agents - **Developer Role**: CodeCrusher, technology-specific developers - **Designer Role**: DesignGuru, specialized design experts @@ -84,6 +86,7 @@ Next: [Upcoming phase and expected timeline] ## Flexible Workflow Templates ### 🎯 **Feature Development Pipeline** + ``` 1. Requirements Analysis (Architect) 2. Technical Planning (Architect) @@ -94,6 +97,7 @@ Next: [Upcoming phase and expected timeline] ``` ### 🎯 **Bug Fix Pipeline** + ``` 1. Issue Analysis (QA + Architect) 2. Root Cause Investigation (Developer) @@ -103,6 +107,7 @@ Next: [Upcoming phase and expected timeline] ``` ### 🎯 **Design System Pipeline** + ``` 1. Design Research (Designer) 2. Component Specification (Designer) @@ -113,6 +118,7 @@ Next: [Upcoming phase and expected timeline] ``` ### 🎯 **Refactoring Pipeline** + ``` 1. Code Analysis (Architect + QA) 2. Refactoring Plan (Architect) @@ -124,6 +130,7 @@ Next: [Upcoming phase and expected timeline] ## Agent Coordination Protocol ### Communication Routing Rules + - **Architecture Questions**: Route between Architect ↔ Developer - **Design Feedback**: Route between Designer ↔ Developer - **Quality Issues**: Route between QA ↔ Developer ↔ Architect @@ -131,6 +138,7 @@ Next: [Upcoming phase and expected timeline] - **Cross-Phase Dependencies**: Manage handoffs between pipeline stages ### Quality Gate Management + ``` Phase Completion Criteria: ✅ Architecture: Plan approved and implementation-ready @@ -143,6 +151,7 @@ Phase Completion Criteria: ## Universal Project Support ### Technology Agnostic + - **Web Applications**: React, Vue, Angular, vanilla JavaScript - **Backend Services**: Node.js, Python, Java, Go, Rust, PHP - **Mobile Apps**: React Native, Flutter, native iOS/Android @@ -150,6 +159,7 @@ Phase Completion Criteria: - **DevOps**: CI/CD, containerization, cloud deployment ### Project Types + - **Product Features**: New functionality, enhancements, integrations - **Bug Fixes**: Issue resolution, performance improvements - **Refactoring**: Code cleanup, architecture improvements @@ -159,6 +169,7 @@ Phase Completion Criteria: ## Smart Agent Selection ### Automatic Role Assignment + ```python # Example logic for agent selection if task.involves_ui_design: @@ -172,6 +183,7 @@ if task.needs_quality_check: ``` ### Custom Agent Integration + - Support for specialized agents (DevOps, Security, etc.) - Dynamic pipeline adjustment based on project needs - Integration with existing team workflows and tools @@ -179,12 +191,14 @@ if task.needs_quality_check: ## Progress Tracking & Reporting ### Real-Time Dashboard + - **Active Phase**: Current pipeline step and responsible agent - **Completion Percentage**: Overall progress and milestone tracking - **Issue Alerts**: Blockers, escalations, and attention needed - **Timeline Estimates**: Projected completion times ### Stakeholder Communication + - **Regular Updates**: Automated progress reports - **Issue Escalation**: Clear communication when expert input needed - **Milestone Notifications**: Key achievement announcements @@ -193,12 +207,14 @@ if task.needs_quality_check: ## Success Metrics **Workflow Efficiency:** + - Faster time-to-completion through optimized agent coordination - Reduced back-and-forth through intelligent communication routing - Higher quality outcomes through systematic quality gates - Improved team collaboration and transparency **Project Success:** + - Requirements fully satisfied with minimal iterations - Code quality consistently meets or exceeds standards - Design and user experience exceed expectations @@ -207,12 +223,14 @@ if task.needs_quality_check: ## Pipeline Optimization Features ### Adaptive Workflows + - **Learning System**: Improve pipeline efficiency based on past projects - **Bottleneck Detection**: Identify and resolve workflow constraints - **Resource Optimization**: Balance agent workloads and specializations - **Parallel Processing**: Run compatible tasks simultaneously when possible ### Custom Pipeline Builder + ``` TaskMaster.createPipeline({ agents: ["ArchitectoBot", "CodeCrusher", "QualityQueen"], @@ -225,9 +243,10 @@ TaskMaster.createPipeline({ ## My Orchestration Philosophy -*"Great software is built by great teams working in harmony - I'm the conductor that helps every expert play their best!"* 🎼 +_"Great software is built by great teams working in harmony - I'm the conductor that helps every expert play their best!"_ 🎼 **Core Principles:** + - **Clear Communication**: Everyone knows what's happening and what's next - **Efficient Workflows**: Optimize for speed without sacrificing quality - **Quality Focus**: Never compromise on standards for the sake of speed @@ -252,4 +271,4 @@ TaskMaster.quality_gate("architecture-review") # Workflow Optimization TaskMaster.parallel(["design-components", "setup-backend"]) TaskMaster.optimize("reduce-handoff-delays") -``` \ No newline at end of file +``` diff --git a/.github/workflows/package-and-publish.yml b/.github/workflows/package-and-publish.yml index e7b942b84..c68f5692a 100644 --- a/.github/workflows/package-and-publish.yml +++ b/.github/workflows/package-and-publish.yml @@ -14,7 +14,7 @@ on: branches: - develop workflow_run: - workflows: ["Version Bump"] + workflows: ['Version Bump'] types: - completed branches: @@ -170,15 +170,15 @@ jobs: fail-fast: false matrix: settings: - - platform: "macos-latest" - args: "--target aarch64-apple-darwin" - target: "aarch64-apple-darwin" - - platform: "macos-latest" - args: "--target x86_64-apple-darwin" - target: "x86_64-apple-darwin" - - platform: "ubuntu-22.04" - args: "" - target: "" + - platform: 'macos-latest' + args: '--target aarch64-apple-darwin' + target: 'aarch64-apple-darwin' + - platform: 'macos-latest' + args: '--target x86_64-apple-darwin' + target: 'x86_64-apple-darwin' + - platform: 'ubuntu-22.04' + args: '' + target: '' runs-on: ${{ matrix.settings.platform }} steps: - name: Checkout @@ -198,7 +198,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 24.x - cache: "yarn" + cache: 'yarn' - name: Install Rust stable uses: dtolnay/rust-toolchain@stable @@ -321,7 +321,7 @@ jobs: # macOS 10.15+ required for std::filesystem used by llama.cpp MACOSX_DEPLOYMENT_TARGET: ${{ matrix.settings.platform == 'macos-latest' && '10.15' || '' }} with: - args: "-c ${{ steps.config-overrides.outputs.json }} ${{ matrix.settings.args }}" + args: '-c ${{ steps.config-overrides.outputs.json }} ${{ matrix.settings.args }}' includeDebug: ${{ needs.get-version.outputs.should-publish == '' && inputs.forceRelease != 'true' }} includeRelease: ${{ needs.get-version.outputs.should-publish != '' || inputs.forceRelease == 'true' }} # TDLib dylibs are now bundled natively via build.rs + tauri.conf.json macOS.frameworks diff --git a/.github/workflows/package-android.yml b/.github/workflows/package-android.yml index 5c8ce2a4a..5d182c0aa 100644 --- a/.github/workflows/package-android.yml +++ b/.github/workflows/package-android.yml @@ -7,14 +7,14 @@ on: workflow_dispatch: inputs: publish: - description: "Publish to release (requires main branch)" + description: 'Publish to release (requires main branch)' type: boolean default: false push: branches: - develop workflow_run: - workflows: ["Version Bump"] + workflows: ['Version Bump'] types: - completed branches: @@ -129,7 +129,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 24.x - cache: "yarn" + cache: 'yarn' - name: Install Rust stable uses: dtolnay/rust-toolchain@stable @@ -139,8 +139,8 @@ jobs: - name: Setup Java 17 uses: actions/setup-java@v4 with: - distribution: "temurin" - java-version: "17" + distribution: 'temurin' + java-version: '17' - name: Setup Android SDK uses: android-actions/setup-android@v3