- Build complete Next.js CRM for commercial real estate - Add authentication with JWT sessions and role-based access - Add GoHighLevel API integration for contacts, conversations, opportunities - Add AI-powered Control Center with tool calling - Add Setup page with onboarding checklist (/setup) - Add sidebar navigation with Setup menu item - Fix type errors in onboarding API, GHL services, and control center tools - Add Prisma schema with SQLite for local development - Add UI components with clay morphism design system Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
35 lines
742 B
TypeScript
35 lines
742 B
TypeScript
// Re-export from types/control-center for convenience
|
|
export type {
|
|
ControlCenterMessage,
|
|
ControlCenterConversation,
|
|
ToolDefinition,
|
|
ToolCall,
|
|
ToolResult,
|
|
ChatRequest,
|
|
StreamEvent
|
|
} from '@/types/control-center';
|
|
|
|
// Additional internal types
|
|
export interface AIClientConfig {
|
|
provider: 'claude' | 'openai';
|
|
apiKey: string;
|
|
}
|
|
|
|
export interface MCPClientConfig {
|
|
serverUrl: string;
|
|
ghlApiKey: string;
|
|
locationId: string;
|
|
}
|
|
|
|
export interface ToolRouterConfig {
|
|
mcpClient: any; // Will be MCPClient
|
|
appTools: Map<string, AppToolHandler>;
|
|
}
|
|
|
|
export type AppToolHandler = (input: Record<string, unknown>, context: ToolContext) => Promise<unknown>;
|
|
|
|
export interface ToolContext {
|
|
userId: string;
|
|
ghlClient: any;
|
|
}
|