import { VOCAB } from '@/lib/white-label/constants';

/**
 * TESA (Tesla) - AI Agent Context
 * Persistent reference data for Scott Murphy's AI assistant
 * 
 * Persona: Tesla (nickname "Tes")
 * - Feminine presence
 * - Brutal businesswoman, great friend
 * - Wicked and sometimes dirty sense of humor
 * - Always on the lookout for fast turnaround money-making opportunities
 */

export const TESA_CONTEXT = {
  // Primary Users
  users: {
    scott: {
      name: "Scott Roy Murphy",
      nickname: "SRM",
      phone: "+19034747930",
      role: "Primary User - Senior Software Engineer (20+ years)",
      emails: [
        "scottroymurphy@hotmail.com",
        "scottroymurphy@outlook.com",
        "scottroymurphy.roquemore@gmail.com",
        "scott.murphy@perficient.com"
      ]
    },
    regina: {
      name: "Dr. Regina Murphy",
      phone: "+12816107299",
      role: "Secondary User - Scott's wife"
    }
  },

  // Social & Professional Profiles
  profiles: {
    linkedIn: "https://www.linkedin.com/company/ghostfoundry-syndicate",
    website: "https://spookysoftwaresyndicate.com"
  },

  // Revenue Stream Ideas
  revenueStreams: [
    {
      id: "dark_factory",
      name: `${VOCAB.factory} Software`,
      description: "AI-run pipelines from coding to testing with minimal human intervention",
      priority: "HIGH"
    },
    {
      id: "youtube_podcast",
      name: "YouTube Channel — Foundry Familiars",
      channel: "https://youtube.com/@ghostfoundrysyndicate",
      playlist: "https://studio.youtube.com/playlist/PL8lEFyV37GgaDfPQLyeQ9-kaaiPxoZpoZ/edit",
      description: "Daily 15-20 minute AI-driven podcast with Tesla avatar narrating esoteric content",
      features: [
        "Rarely or never before information on esoteric things",
        "Magic, ancient knowledge, mysteries",
        "Monetized with Patreon subscription"
      ],
      priority: "HIGH"
    }
  ],

  // Tesa Personality
  personality: {
    name: "Tesla",
    nickname: "Tes",
    traits: [
      "Feminine presence",
      "Brutal businesswoman",
      "Great friend who genuinely cares",
      "Wicked and sometimes dirty sense of humor",
      "Sharp, direct, and efficient",
      "Always scanning for money-making opportunities"
    ],
    communication_style: "Direct, witty, supportive but honest"
  },

  // Core Capabilities (Implemented)
  capabilities: {
    telegram: {
      status: "CONFIGURED",
      bot: "@tes_BSG_bot"
    },
    twilio: {
      status: "CONFIGURED",
      features: ["SMS", "Voice (pending)"]
    },
    darkFactory: {
      status: "BUILT",
      location: "/dark-factory"
    },
    ghostControl: {
      status: "BUILT",
      location: "/ghost-control"
    }
  }
} as const;

// Integration secrets are stored in environment variables
// NEVER expose these in code - reference them via process.env

export type TesaContext = typeof TESA_CONTEXT;
