refactor: rename mascot to chatbot across entire codebase
Build & Deploy / build-and-push (discord-gateway) (push) Failing after 30s
Build & Deploy / build-and-push (backend) (push) Failing after 2m28s
Build & Deploy / build-and-push (proxy) (push) Successful in 2m28s

- Backend: mascot-chat module → chatbot, routes /mascot/chat → /chat
- Shared schema: pgMascotChatMessagesTable → pgChatbotMessagesTable
- Frontend: MascotProvider/useMascot → ChatbotProvider/useChatbot
- Gateway schema: update exports to match shared schema
- Docs: update all .md references (CLAUDE.md, README, specs, plans)
- All API routes, controller names, service classes, types renamed

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Developer
2026-07-28 15:00:29 +07:00
co-authored by Claude Opus 4.8
parent bd9e7d8151
commit 977a6f9653
38 changed files with 243 additions and 1221 deletions
@@ -1,5 +1,5 @@
import {
pgMascotChatMessagesTable,
pgChatbotMessagesTable,
pgMuxerJobsTable,
pgRetentionPoliciesTable,
pgUIStateTable,
@@ -7,7 +7,7 @@ import {
// Re-export shared tables
export {
pgMascotChatMessagesTable,
pgChatbotMessagesTable,
pgMuxerJobsTable,
pgRetentionPoliciesTable,
pgUIStateTable,
@@ -15,7 +15,7 @@ export {
export const muxerJobsTable = pgMuxerJobsTable;
export const uiStateTable = pgUIStateTable;
export const retentionPoliciesTable = pgRetentionPoliciesTable;
export const mascotChatMessagesTable = pgMascotChatMessagesTable;
export const chatbotMessagesTable = pgChatbotMessagesTable;
// Types
export type MuxerJob = typeof muxerJobsTable.$inferSelect;
@@ -24,6 +24,6 @@ export type UIState = typeof uiStateTable.$inferSelect;
export type UIStateInsert = typeof uiStateTable.$inferInsert;
export type RetentionPolicy = typeof retentionPoliciesTable.$inferSelect;
export type RetentionPolicyInsert = typeof retentionPoliciesTable.$inferInsert;
export type MascotChatMessage = typeof mascotChatMessagesTable.$inferSelect;
export type MascotChatMessageInsert =
typeof mascotChatMessagesTable.$inferInsert;
export type ChatbotMessage = typeof chatbotMessagesTable.$inferSelect;
export type ChatbotMessageInsert =
typeof chatbotMessagesTable.$inferInsert;