multica/packages/store/src/index.ts
Naiyuan Qing eef26d8675 refactor(frontend): complete migration of all hooks and components to packages
- Create gateway store in @multica/store (WS connection independent of components)
- Gateway auto-connects when hub is ready, messages handled internally
- Move scroll-fade hook to @multica/ui/hooks
- Move Chat component to @multica/ui/components
- Add setConfig() call in web layout for URL injection
- Delete all web-local hooks, components, and lib/config
- Web app is now a pure shell: layout.tsx + page.tsx

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 11:07:57 +08:00

8 lines
376 B
TypeScript

export { useHubStore } from "./hub"
export type { HubInfo, Agent, HubStatus, HubStore } from "./hub"
export { useHubInit } from "./hub-init"
export { useDeviceId } from "./device-id"
export { useMessagesStore } from "./messages"
export type { Message, MessagesStore } from "./messages"
export { useGatewayStore } from "./gateway"
export type { GatewayStore } from "./gateway"