v2.61.0

New Features

  • Revolutionary AI Agent State Management: Agents now use change-based state updates via AgentPayloadChangeRequest, preventing data loss from LLM truncation and reducing token usage by ~96%
  • 65 Social Media Actions: Comprehensive library covering HootSuite, Buffer, LinkedIn, Twitter/X, Facebook, Instagram, TikTok, and YouTube with OAuth 2.0 authentication
  • PayloadManager Class: Sophisticated state mutation handling with deep recursive processing, array operations with index preservation, and truncation detection
  • BaseOAuthAction and BaseSocialMediaAction: New base classes providing OAuth 2.0 authentication and common social media functionality
  • Full Audit Trail: All AI agent state changes are now tracked with complete history

Improvements

  • Enhanced CompanyIntegration Table: Added Name column for better identification of integrations
  • Improved Loop Agent Types: Updated system prompts to use payload change request approach
  • Better Sub-Agent State Management: Upstream agents now have guardrails for handling sub-agent state changes
  • Rate Limiting: Social media actions include exponential backoff for rate limit handling
  • Media Upload Validation: Built-in validation for media uploads across social platforms

Bug Fixes

  • State Loss Prevention: Fixed critical issue where LLMs could lose data when returning large state objects
  • Nested State Handling: Resolved issues with complex nested object and array mutations in agent payloads
  • Integration Auto-Population: Existing CompanyIntegration records now properly populated with descriptive names