v2.3.5 - SSE Transport Support
π SSE Transport Support
This release adds Server-Sent Events (SSE) transport support for real-time communication with Cubicler.
β¨ New Features
- SSE Transport Mode: Added
ssetransport option alongside existinghttpandstdiomodes - 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 modeSSE_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.