v2.78.0

New Features

  • Comprehensive AI CLI Package: Add @memberjunction/ai-cli with 20+ AI agents and 30+ actions, featuring interactive chat mode, multiple output formats, and production-ready command-line access
  • Enhanced AI Prompt Tracking: Add comprehensive model selection tracking, status management, and performance metrics to AIPromptRun entity with 15+ new fields
  • Cascade Delete Management: Implement automatic dependency tracking for stored procedures to prevent runtime failures during schema changes
  • Main CLI AI Integration: Integrate all AI functionality into the main MemberJunction CLI with mj ai commands replacing standalone tools
  • Advanced Text Formatting: Add sophisticated console output formatting with word wrapping, paragraph preservation, and code highlighting

Improvements

  • Database Performance: Add stored procedure for dependency-ordered recompilation of all database procedures
  • Model Selection Logic: Enhance AI model selection with power ranking, selection strategies, and detailed tracking
  • Query Entity Management: Enable cascade deletes for Queries entity to improve data consistency
  • Angular Component Architecture: Extract component templates and styles to separate files for better maintainability
  • React Runtime Environment: Make React runtime environment-agnostic to fix server-side rendering issues
  • Progress Tracking: Add real-time progress indicators with visual feedback for long-running AI operations

Bug Fixes

  • AI Vendor Selection: Fix AI vendor selection logic and CLI progress tracking accuracy
  • AIModels View: Resolve vwAIModels view generation issues affecting model discovery
  • Component Property Consistency: Add static linting rules for React component property name consistency
  • Window Positioning: Fix dialog and window positioning issues in Kendo UI components
  • Cache Management: Improve cache key handling and hit detection for AI prompt executions