multica/apps/web/hooks
Naiyuan Qing 178d71524f feat(web): add useGatewayConnection and useChat hooks
Replace Zustand global stores with hook-local state for the web app.
useGatewayConnection handles client lifecycle, identity persistence,
reconnection, and keyed reset. useChat handles message history, streaming
events, tool execution, Hub error action, and exec approval requests.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 14:43:53 +08:00
..
use-chat.ts feat(web): add useGatewayConnection and useChat hooks 2026-02-05 14:43:53 +08:00
use-gateway-connection.ts feat(web): add useGatewayConnection and useChat hooks 2026-02-05 14:43:53 +08:00