• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 21810677840 / 12
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 09 Feb 2026 02:54AM UTC
Files 98
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Feb 2026 02:51AM UTC coverage: 39.944% (-1.5%) from 41.433%
21810677840.12

push

github

web-flow
refactor: simplify MessageHub protocol from 11 to 6 message types (#88)

* refactor: simplify MessageHub protocol from 11 to 6 message types

Replace WAMP-inspired RPC+pub/sub protocol with room-based command/query/event model.

- Remove CALL/RESULT/ERROR/SUBSCRIBE/SUBSCRIBED/UNSUBSCRIBE/UNSUBSCRIBED message types
- Add COMMAND (CMD), QUERY (QRY), RESPONSE (RSP) message types alongside EVENT/PING/PONG
- New API: command/onCommand, query/onQuery, event/onEvent, joinRoom/leaveRoom
- Add RoomManager for room-based event delivery (global + session rooms)
- Migrate all 86 daemon RPC handlers to onQuery/onCommand
- Migrate all client stores, hooks, and components to new API
- Delete cache.ts (~200 lines) and subscription-manager.ts (~150 lines)
- Reduce message-hub.ts from ~1500 to ~860 lines
- Reduce router.ts from ~718 to ~375 lines
- Rewrite all shared package tests for new protocol

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: update test assertions for room-based MessageHub API

- Unit tests: sessionId → room in event spy assertions (6 files)

- Integration tests: Add event() to MockMessageHub, fix RSP vs EVENT

  ordering in WebSocket tests, waitForWebSocketMessageType helper

- RPC handlers: question.respond/saveDraft/cancel and settings.session.update

  changed from onCommand to onQuery (return values needed)

- Components: sessionId → room in sdk-message-handler assertions

- Lint: remove unused startTime variable

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: add self-delivery for server-side event handlers

Server-side event() calls now also invoke local onEvent() handlers
(self-delivery). Previously, events were only routed to WebSocket
clients via the router, so server-side listeners (e.g., test helpers,
state observers) never received events.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: add room joins in online test helpers for event delivery

Online test helpers (waitForProcessingState... (continued)

5952 of 14901 relevant lines covered (39.94%)

20.09 hits per line

Source Files on job daemon-online-convo - 21810677840.12
  • Tree
  • List 98
  • Changed 30
  • Source Changed 30
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21810677840
  • d81c85e7 on github
  • Prev Job for on dev (#21810133301.7)
  • Next Job for on dev (#21812646612.2)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc