multica/packages/hooks/src/index.ts
Naiyuan Qing 7a21686505 refactor(hooks,ui): extract useGatewayChat hook and update shared components
Move gateway-specific chat logic into dedicated useGatewayChat hook.
useChat remains a pure state hook with no IO. Update ChatView props,
remove legacy chat.tsx and connect-prompt.tsx.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 17:50:47 +08:00

17 lines
381 B
TypeScript

export { useGatewayConnection } from "./use-gateway-connection";
export type {
ConnectionIdentity,
PageState,
UseGatewayConnectionReturn,
} from "./use-gateway-connection";
export { useChat } from "./use-chat";
export type {
Message,
ToolStatus,
ChatError,
PendingApproval,
UseChatReturn,
} from "./use-chat";
export { useGatewayChat } from "./use-gateway-chat";