Module exposing: ChatThreadTable, ChatMessageTable, AgentTable, SkillTable, ScheduledTaskTable, BookmarkTable, McpServerTable, UserTable
// Source: https://github.com/keinsaasforever/better-chatbot | License: MIT | Copyright 2025 better-chatbot
// Provided via justclaw.it.com; keep this notice with the code.
import type { ModelCapability, ModelRoutingProfile } from "@/types/model";
import { TipTapMentionJsonContent } from "@/types/util";
import { UIMessage } from "ai";
import { Agent, AgentKnowledgeBaseBinding } from "app-types/agent";
import { ChatMetadata } from "app-types/chat";
import { MCPServerConfig } from "app-types/mcp";
import type {
ProblemReportContext,
ProblemReportScreenshot,
} from "app-types/problem-report";
import { Skill } from "app-types/skill";
import { UserPreferences } from "app-types/user";
import { DBEdge, DBNode, DBWorkflow } from "app-types/workflow";
import { isNotNull, sql } from "drizzle-orm
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key