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>
17 lines
381 B
TypeScript
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";
|