- Add ui/src/api/chat.ts with chatApi (7 methods: list/create/get/update/delete conversations + list/post messages) - Add ui/src/hooks/useChatConversations.ts with useInfiniteQuery + placeholderData + CRUD mutations - Add ui/src/hooks/useChatMessages.ts with useInfiniteQuery + sendMutation + flattened/reversed messages array - Fix [Rule 3 - Blocking]: export ChatConversation, ChatMessage, ChatConversationListResponse, ChatMessageListResponse from packages/shared/src/index.ts (types existed in types/chat.ts but were not re-exported at package root) |
||
|---|---|---|
| .. | ||
| types | ||
| validators | ||
| agent-url-key.ts | ||
| api.ts | ||
| config-schema.ts | ||
| constants.ts | ||
| index.ts | ||
| project-mentions.test.ts | ||
| project-mentions.ts | ||
| project-url-key.ts | ||