multica/apps/web/app/hooks
Naiyuan Qing c5bf56282f feat(web): add gateway, hub, active-agent hooks and real message state
- use-gateway: GatewayClient WebSocket lifecycle with auto-connect/disconnect
- use-hub: REST polling for Hub status and agent CRUD operations
- use-active-agent: Zustand store for cross-component selected agent state
- use-messages: replace mock data with real addUser/addAssistant/clear API

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 22:40:50 +08:00
..
use-active-agent.ts feat(web): add gateway, hub, active-agent hooks and real message state 2026-01-30 22:40:50 +08:00
use-device-id.ts fix(web): replace Zustand device store with local useDeviceId hook 2026-01-30 22:16:54 +08:00
use-gateway.ts feat(web): add gateway, hub, active-agent hooks and real message state 2026-01-30 22:40:50 +08:00
use-hub.ts feat(web): add gateway, hub, active-agent hooks and real message state 2026-01-30 22:40:50 +08:00
use-messages.ts feat(web): add gateway, hub, active-agent hooks and real message state 2026-01-30 22:40:50 +08:00
use-scroll-fade.ts feat(web): add scroll fade hint effect to chat message list 2026-01-30 22:14:19 +08:00