// Morning Brief Types

export interface MorningBrief {
  id: string;
  date: string; // YYYY-MM-DD
  generatedAt: string; // ISO timestamp
  
  // Weather
  weather?: {
    location: string;
    temperature: string;
    condition: string;
    humidity: string;
    wind: string;
  };
  
  // AI News
  aiNews: {
    items: string[];
  };
  
  // Things 3 Tasks (placeholder - needs integration)
  things3Tasks?: {
    today: string[];
    overdue: string[];
  };
  
  // My actionable tasks (from Mission Control)
  myTasks: {
    pending: string[];
    inProgress: string[];
    dueToday: string[];
  };
  
  // Market sentiment
  market: {
    usIndex: string;
    crypto: string;
    sentiment: 'bullish' | 'bearish' | 'neutral';
    topNews: string[];
    events: string[];
  };
  
  // OpenClaw Use Cases (from daily research)
  openclowUseCases?: {
    topUseCases: string[];
    skillIdeas: { name: string; selected: boolean }[];
  };
}

export const defaultBrief: MorningBrief = {
  id: '',
  date: '',
  generatedAt: '',
  aiNews: { items: [] },
  things3Tasks: { today: [], overdue: [] },
  myTasks: { pending: [], inProgress: [], dueToday: [] },
  market: {
    usIndex: '',
    crypto: '',
    sentiment: 'neutral',
    topNews: [],
    events: [],
  },
  openclowUseCases: { topUseCases: [], skillIdeas: [] },
};
