v4.1.1

pathwaycom/llm-appv4.1.1Jul 17, 2025by ravitemer

AI Summary

v4.1.1 enhances workspace lifecycle tracking with real-time state management, connection count tracking, and shutdown timer information.

Key Highlights

  • Workspace states: active and shutting_down
  • Real-time connection count tracking for all active hubs
  • Shutdown timer information including start time and delay
  • Automatic state transitions on connection changes
  • Live updates via SSE events for immediate UI feedback

New Features

  • Real-time workspace lifecycle tracking
  • Extended workspace cache with lifecycle metadata
  • Enhanced SSE system with workspace cache integration
  • Automatic state transitions
  • Live SSE updates

Full Release Notes


### Added

- **Real-time Workspace Lifecycle Tracking**: Enhanced workspace cache with detailed hub state management
  - Workspace states: `active` (hub running with connections) and `shutting_down` (no connections, shutdown timer active)
  - Real-time connection count tracking for all active hubs
  - Shutdown timer information including start time and delay duration
  - Automatic state transitions when connections are added/removed
  - Live updates via SSE events enable immediate UI feedback on workspace changes

### Enhanced

- **Workspace Cache**: Extended workspace entries with lifecycle metadata
  - Added `state`, `activeConnections`, `shutdownStartedAt`, and `shutdownDelay` fields
  - Improved cache update methods for atomic state management
  - Better integration between SSEManager and WorkspaceCacheManager

- **SSE System**: Enhanced real-time communication
  - SSEManager now updates workspace cache on connection changes
  - Automatic workspace state updates when shutdown timers start/cancel
  - Async connection handling for better cache integration