multica/src/gateway
Naiyuan Qing 3622f82a7b feat(gateway): add auto-connect, hub discovery via list-devices
- Add LIST_DEVICES event and "hub" device type to SDK
- Add listDevices() method to GatewayClient
- Add handleListDevices handler in Gateway
- Change Hub deviceType from "client" to "hub"
- Refactor gateway store: auto-connect WS, separate hubId selection
- Hub-init: auto-connect on mount, discover hubs on registered
- Hub-sidebar: show discovered hubs list with connect/disconnect UI

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 16:13:40 +08:00
..
public fix(gateway): extract content from payload in received messages 2026-01-30 14:46:30 +08:00
scripts Add Docker support for Gateway and SDK documentation 2026-01-28 17:56:22 +08:00
app.controller.ts docs: translate comments from Chinese to English (#15) 2026-01-30 04:01:14 +08:00
app.module.ts fix(gateway): serve PWA client under /client subpath 2026-01-30 14:35:40 +08:00
Dockerfile fix(gateway): fix Dockerfile build and copy static assets 2026-01-30 14:32:01 +08:00
events.gateway.ts feat(gateway): add auto-connect, hub discovery via list-devices 2026-02-02 16:13:40 +08:00
gateway.module.ts Implement WebSocket Gateway with NestJS and client SDK 2026-01-28 16:46:51 +08:00
index.ts Implement WebSocket Gateway with NestJS and client SDK 2026-01-28 16:46:51 +08:00
main.ts Implement WebSocket Gateway with NestJS and client SDK 2026-01-28 16:46:51 +08:00
test-client.ts refactor(sdk): unify gateway-sdk into @multica/sdk package 2026-02-02 13:43:52 +08:00