v2.66.0
4 days ago by Craig Adam
New Features
- Child Generated Actions: Completed implementation of child generated actions, enabling automatic creation of specialized actions that inherit from parent generic actions
- Core Generated Actions: Added first two MemberJunction core generated child actions:
- "Create Conversation Record" - Creates conversation entities with full parameter support
- "Get AI Model Cost" - Retrieves AI model cost records for tracking and analysis
- Enhanced Agent Orchestration: New Loop Agent Type system prompt with support for sub-agents, actions, and complex payload change requests
Improvements
- Template Parameter Extraction: Enhanced Nunjucks template parsing with better handling of raw blocks, system placeholders, and improved parameter type detection (Scalar, Array, Object)
- AI Agent Infrastructure: Updated agent prompts with structured JSON response formats, TypeScript interface definitions, and improved task completion tracking
- Action Organization: Consolidated duplicate System action categories for cleaner metadata organization
- Server Architecture: Moved ActionEntity.server.ts to proper location in @memberjunction/core-entities-server package for better code organization
Bug Fixes
- AI Model Cost Messages: Fixed error message concatenation when AI Model Cost records are not found
- Output Data Cleanup: Cleaned up AI agent output data to only hold state attributes, excluding redundant payload information
- Type Definitions: Removed unnecessary JSDoc comments from generated type files to prevent AI tools from including excessive documentation