Skip to content

v2.3.5 - SSE Transport Support

Choose a tag to compare

@hainayanda hainayanda released this 06 Aug 07:49
· 28 commits to main since this release

πŸŽ‰ SSE Transport Support

This release adds Server-Sent Events (SSE) transport support for real-time communication with Cubicler.

✨ New Features

  • SSE Transport Mode: Added sse transport option alongside existing http and stdio modes
  • Real-time Communication: SSE agents connect to Cubicler via Server-Sent Events for immediate dispatch
  • CubicAgentKit 2.3.4: Upgraded to latest CubicAgentKit with SSE support

πŸ”§ Configuration

New environment variables:

  • TRANSPORT_MODE=sse - Enable SSE transport mode
  • SSE_URL - SSE server URL (e.g., http://localhost:8080)
  • SSE_AGENT_ID - Unique agent identifier for SSE connection

πŸ“– Usage Example

# Environment variables
TRANSPORT_MODE=sse
SSE_URL=http://localhost:8080
SSE_AGENT_ID=my-openai-agent

# Start agent
npx @cubicler/cubicagent-openai

πŸ”„ Breaking Changes

  • Updated imports: AxiosAgentClient β†’ HttpAgentClient, ExpressAgentServer β†’ HttpAgentServer
  • These changes are backwards compatible in functionality

πŸ§ͺ Testing

  • Added comprehensive SSE transport unit tests
  • All 245+ tests passing
  • Includes error handling for missing SSE configuration

πŸ“š Documentation

  • Updated README with SSE transport examples
  • Added configuration table with transport-specific requirements
  • Docker and npm usage examples updated

This release maintains full backwards compatibility while adding powerful real-time communication capabilities.