Skip to content

v0.1.3 — WebSocket Transport Migration

Choose a tag to compare

@CCLucky-uu CCLucky-uu released this 02 Jun 04:05
· 71 commits to main since this release

Breaking Changes

  • Migrate all API communication from HTTP REST to WebSocket transport
  • Remove HTTP route-based architecture (router, middleware, route
    handlers)

Added

  • WebSocket method system (src/transport/ws-methods/) with dedicated
    handlers for pipelines, agents, sessions, artifacts, logs, timeline
  • ws-handler.ts for unified WebSocket request routing
  • Frontend WebSocket client (ws-client.ts) replacing HTTP-based API
    layer
  • CLI WebSocket runtime client (ws-runtime-client.ts)
  • Isolated dev data directory to prevent cross-environment conflicts

Changed

  • All frontend entity APIs (pipeline, agent, session, artifact, run-log)
    migrated to WebSocket calls
  • CLI server runtime client refactored to use WebSocket transport
  • Pipeline management tests updated for new transport layer

Removed

  • HTTP router, middleware, and all REST route handlers (17 route files)
  • Server-side HTTP utility modules
  • Legacy server contract and route tests