UNPKG

@bear_ai/nexus-flow

Version:

Universal AI orchestrator - portal to any flow (claude-flow, qwen-flow, copilot-flow) with queen bee coordination system

123 lines (107 loc) 5.82 kB
# Changelog All notable changes to the Nexus Flow project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [1.0.0-alpha.2] - 2025-01-10 ### Added - **New AI Provider Adapters**: Added support for three high-priority LLM providers - Mistral AI adapter with function calling and agentic capabilities - Perplexity AI adapter optimized for research and web search - Cohere adapter with advanced tool use and RAG capabilities - **Enhanced Authentication System**: Extended WebAuthManager for new providers - Web-based authentication flows for all new providers - Environment variable support (MISTRAL_API_KEY, PERPLEXITY_API_KEY, COHERE_API_KEY) - Provider-specific authentication instructions and guidance - **Updated CLI Commands**: Extended auth command support - Added new provider options to login/logout commands - Enhanced help text with all provider authentication methods - Improved error handling and user guidance - **Comprehensive Testing Suite**: Added extensive test coverage - Unit tests for individual adapter components - Integration tests for end-to-end workflows - Authentication system tests for all providers - Cross-provider coordination tests ### Enhanced Features - **Adapter Factory Integration**: All new adapters fully integrated - Priority-based provider selection (Cohere: 8, Mistral: 7, Perplexity: 6) - Capability-based routing for optimal task delegation - Proper configuration validation and error handling - **Advanced Agentic Capabilities**: Function calling and tool use support - Code execution, file operations, web search, and workflow coordination - Provider-specific optimizations (Mistral functions, Cohere tools, Perplexity research) - Real-time coordination between providers - **Performance Optimizations**: Provider-specific tuning - Mistral: Optimized for orchestration and code generation - Perplexity: Specialized for research with web search and citations - Cohere: Enhanced for analysis with RAG and tool integration ### Technical Improvements - **Type Safety**: Full TypeScript implementation for all new components - **Error Handling**: Comprehensive error handling with provider-specific messages - **Rate Limiting**: Built-in retry logic and exponential backoff - **Load Management**: Concurrent task handling with proper load balancing - **Event-Driven Architecture**: Real-time status updates and coordination events ### Provider Capabilities Matrix | Provider | Code Gen | Research | Analysis | Orchestration | Tools | Web Search | |-----------|----------|----------|----------|---------------|-------|------------| | Mistral | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | | Perplexity| ✅ | ✅✅✅ | ✅ | ❌ | ❌ | ✅✅✅ | | Cohere | ✅ | ✅ | ✅✅ | ✅ | ✅✅ | ✅ | ### Breaking Changes - Added new FlowType enum values (MISTRAL, PERPLEXITY, COHERE) - Extended authentication configuration options - New environment variables required for API access ## [1.0.0-alpha.1] - 2025-01-10 ### Added - **Initial Release** - Complete Nexus Flow architecture - **Portal Mode** - Intelligent flow routing with auto-detection - **Queen Bee Mode** - Master orchestrator with multiple delegation strategies - **Hive Mind Mode** - Collaborative multi-flow execution - **Flow Registry** - Automatic discovery and management of available flows - **Configuration System** - YAML-based configuration with validation - **CLI Interface** - Comprehensive command-line interface - **Performance Monitoring** - Success rates and execution time tracking - **Fallback Mechanisms** - Automatic retry and alternative flow routing ### Supported Flows - Claude Flow (`npx claude-flow@alpha`) - Gemini Flow (`npx @clduab11/gemini-flow`) - Qwen Flow (via Ollama) - DeepSeek Flow (via Ollama) - Codex Flow (`npx @bear_ai/codex-flow`) - Mistral Flow (via Ollama) - Custom flow support ### Features - **5 Delegation Strategies**: capability-based, load-balanced, adaptive, priority-based, round-robin - **Interactive Mode**: Step-by-step execution approval - **Dry Run Mode**: Preview routing decisions without execution - **Consensus Mode**: Multi-flow validation for critical decisions - **Auto-Discovery**: Automatic detection of installed flows - **Performance Learning**: Historical success rate optimization - **Comprehensive Logging**: Debug, info, warn, error levels with file output - **JSON Output**: Machine-readable status and configuration output ### Commands - `nexus-flow init` - Initialize configuration - `nexus-flow portal <task>` - Portal mode execution - `nexus-flow queen <task>` - Queen bee coordination - `nexus-flow hive-mind <objective>` - Collaborative execution - `nexus-flow config` - Configuration management - `nexus-flow status` - System status and health - `nexus-flow <task>` - Quick execution ### Architecture - **Modular Design** - Clean separation of concerns - **Event-Driven** - Real-time status updates and coordination - **Extensible** - Easy addition of new flows and strategies - **Type-Safe** - Full TypeScript implementation - **Cross-Platform** - Windows, macOS, Linux support ### Known Limitations - Windows file permissions handling - Limited flow health checking implementation - Simplified consensus mechanism - Basic performance metrics ### Roadmap for v1.0.0 - [ ] Enhanced flow health monitoring - [ ] Advanced consensus algorithms - [ ] Web UI dashboard - [ ] Docker containerization - [ ] Plugin system for custom integrations - [ ] Enhanced performance analytics - [ ] Flow marketplace integration