Tracking the evolution from utility tool to enterprise-grade AI ecosystem.
gemini-2.5-flash with gemini-3.6-flash as the platform's primary default model in src/lib/models.ts with 1,000,000 token context window support.DEFAULT_MODEL_ID to gemini-3.6-flash so all unassigned tool queries dynamically default to the next-generation engine.app/api/ai/stream/route.ts to automatically assign gemini-3.6-flash for all non-manual agent tool streams.app/api/ai/proxy/route.ts fallback resolution to default to gemini-3.6-flash.app/api/admin/translations/ai-suggest/route.ts to route translation suggestion requests to gemini-3.6-flash.src/lib/rag.ts model fallback sequence, setting gemini-3.6-flash as the lead synthesizer for vector database search results.app/api/chat/rag/route.ts to attribute live RAG queries and token balance consumption to gemini-3.6-flash.src/hooks/useAgent.ts meeting assistant hook to utilize gemini-3.6-flash for fast, spoken-word conversational output.src/lib/voice-agent/gemini-service.ts socket connection service to stream directly through gemini-3.6-flash.src/lib/instagram/manager.ts, src/views/InstagramAgentPage.tsx, and app/api/social/instagram/settings/route.ts to gemini-3.6-flash.src/lib/whatsapp/manager.ts, src/views/WhatsAppAgentPage.tsx, and app/api/social/whatsapp/settings/route.ts to gemini-3.6-flash.database/schema.sql table definitions (whatsapp_agents, instagram_agents) and database seed routines in app/api/cron/database/route.tsx to default model_id to gemini-3.6-flash.src/components/layout/Header.tsx model selector dropdown to present Gemini 3.6 Flash as the default free tier selection.src/components/website/playground/_components/aiClient.ts stream function to default to gemini-3.6-flash.mobile/package-lock.json) and synchronized main package-lock.json dependencies.react-native-webview, managing styling, orientation, and status bar colors dynamically.react-native-safe-area-context to handle devices with notches and custom rounded screen configurations, ensuring all buttons and headers are accessible.sharedCookiesEnabled and thirdPartyCookiesEnabled) to ensure users remain logged in across mobile app launches.useBackHandler hook to capture Android hardware back button actions, navigating backward through the WebView page history instead of closing the app.onShouldStartLoadWithRequest) to keep application routes inside the WebView while opening external links (like browser links, tel:, mailto:, sms:) in their respective system applications.@react-navigation/native-stack to load the interactive web experience.native-app, platform-[os]) to allow conditional server-side styling and disables browser-based PWA installation banners inside the native wrapper.AISuiteNativeApp/1.0 to the User-Agent string to help server-side middleware and layouts detect when queries originate from the mobile application.10.0.2.2) and iOS simulator (localhost).SplashLoader.tsx) that transitions smoothly via React Native's animation driver once the underlying WebView finishes loading.package.json to start the Expo dev server, prebuild iOS/Android folders, and compile platform builds (mobile:install, mobile:start, mobile:prebuild, android, ios, mobile:build:android, mobile:build:ios).mobile folder to exclusions in the main tsconfig.json to keep separate project environments isolated.*.jks, *.p12), and provisioning files to the root .gitignore.src/views/LoginPage.tsx to wrap the "Quick demo login" block (Admin Demo and User Demo buttons) in a settings check. If `showDemoMode` is disabled in the admin dashboard settings, the demo credentials panel is cleanly hidden from the login screen.| Package | Version | Purpose |
|---|---|---|
expo | ~54.0.0 | Standard application framework context |
react-native-webview | 13.15.0 | Native WebView renderer for web integration |
react-native-safe-area-context | ~5.6.0 | Utility to query notched device inset values |
@react-navigation/native-stack | ^7.3.0 | Screen navigation manager for application screens |
/social/instagram featuring workspaces for Scheduler, DMs Auto-Reply, Comment Reply, and Settings.generate-image) and video reel generation (generate-reel) from the AI Marketing studio directly within the schedule post composer.scheduled, published, failed) with detailed error report logs./api/social/instagram/webhook) conforming to Meta Graph API Hub verification protocols./me/messages and /{comment_id}/replies) to transmit outbound replies dynamically to customers on Instagram./api/social/instagram/scheduler-cron) to scan due posts, initiate Graph API media container creation, and publish live content.instagram_agents, instagram_posts, instagram_dm_logs, and instagram_comments_logs tables with indexes, RLS, and security policies.@whiskeysockets/baileys to connect to WhatsApp Web API, managing multiple concurrent socket connections under a robust, global WhatsAppManager singleton./social/whatsapp) featuring a searchable contact sidebar, live scrollable chat logs (labeled with AI vs. Manual flags and token usage), and an instant manual messaging composer.whatsapp_agents, whatsapp_sessions, and whatsapp_logs tables with indexes, RLS, and a mock conversation seed utility in the database cron pipeline.LanguageContext.tsx and AutoTranslator.tsx to synchronously activate a backdrop-blur loading mask, preventing the "flash of untranslated text" while dynamic translation renders.useTaskPolling hook across all AI Marketing generators (Avatar Studio, Flyer/Brochure Designers, Video/Reel/Music Generators, etc.) with standard inline useEffect intervals to reduce polling overhead. Deleted the obsolete useTaskPolling.ts.isComingSoon support in navigation sidebar cards (e.g., for Instagram and Facebook agents), rendering them with 50% opacity, disabled interaction, and custom tooltip cues.top-24 for better visibility when visible.| Package | Version | Purpose |
|---|---|---|
@whiskeysockets/baileys | ^7.0.0-rc13 | Multi-device WhatsApp Web API socket adapter |
jimp | ^0.22.10 | Node.js image processing library |
PPT Playground (/ppt-playground) allowing users to construct detailed, multi-slide presentations using a visual playground./pitch-deck) into an interactive editor interface, letting users generate custom slides directly from their startup details.src/utils/pptxExporter.ts) using the pptxgenjs library to export designs, metrics, pricing tiers, and slide content directly to .pptx.presentations table to database/schema.sql to store user presentation files, complete with appropriate RLS policies, indexing, and direct pg queries in src/lib/db.ts.ChatWidget.tsx. Supports drag/file upload, image previews, and rendering via Markdown.AvatarPicker and ProductPicker into flyer, brochure, logo, and manga generators to seamlessly pass user character and product photos into Grok's image-to-video and text-to-video pipelines.isDocumentQuery) to ignore document databases for simple conversational queries, greetings, and general questions.0.1 to a robust 0.45, falling back to 0.3, while removing irrelevant latest-chunk fallbacks.src/lib/rag.ts. If primary Gemini models fail, queries fall back to OpenAI (gpt-4o-mini) and then NVIDIA NIM endpoints (llama-3.2-11b-vision-instruct / llama-3.1-8b-instruct).showDemoMode variable in system settings. Operators can toggle this via the Admin Panel to hide watch demo links, buy buttons, and discounts on the landing page.| Package | Version | Purpose |
|---|---|---|
pptxgenjs | ^4.0.1 | Native PowerPoint (.pptx) presentation builder |
src/lib/db.ts (getLanguages, saveLanguage, toggleLanguage, deleteLanguage, getTranslationKeys, getTranslationsForLanguage, getAllTranslations, saveTranslation, deleteTranslationKey) to execute direct parameterized SQL queries using the pg client.bulkSaveTranslations to execute instant PostgreSQL ON CONFLICT DO UPDATE bulk translation updates.cn) language switching and translation fallback handling in AutoTranslator.tsx, LanguageContext.tsx, and app/api/translations/route.ts to ensure seamless UI localization.src/lib/seed_translations.ts with thousands of localized strings for Chinese (cn), English (en), French (fr), Spanish (es), and Arabic (ar), covering UI elements, video creation prompts, tools descriptions, and market tags.app/api/cron/database/route.tsx to handle schema migrations and translation seeding natively using pg queries instead of relying on Supabase client endpoints.marketing_assets table with unique design history retrieval.middleware.ts) to intercept /ai-marketing designer endpoints and enforce a 50-token deduction cost check.database/schema.sql to track Paystack credentials and currency configurations in settings./api/subscription/cancel) to immediately terminate active subscriptions on Stripe, PayPal, Razorpay, and Flutterwave while updating database status to canceled.getFeatureById.Math.ceil(baseCost * 1.5)) in the UI.admin@example.com).window.location.protocol) rather than forcing HTTPS prefixes locally.subscriptions table in database/schema.sql with a gateway tracking column to track active transaction vendors.lightweight-charts library.Ctrl/Cmd + K), timeframe selectors, and collapsible side and indicator panels.database/schema.sql) with four new tables: trading_watchlists, trading_signals, trading_alerts, and trading_portfolio, with appropriate indices and row-level security.trading-terminal feature.| Package | Version | Purpose |
|---|---|---|
lightweight-charts | ^5.2.0 | High-Performance interactive charting canvas |
/dashboard/notifications) supporting notification search, read/unread filters, single/all-read marking, deletion, and rich HTML detail viewing./admin/notifications) to draft, broadcast, schedule, and pin notifications, as well as respond to user reply threads.database/schema.sql and database seed utilities with three new tables (notifications, notification_recipients, and notification_messages).db.ts) to calculate monthly recurring revenue in addition to total lifetime revenue.app/api/browser/proxy/route.ts) to rotate request user-agents and perform exponential retry backoffs.showSettings = true) for improved discoverability.webhook_events tracking system to securely prevent duplicate processing of external gateway events.database/schema.sql to centrally manage the new security columns, 2FA mechanisms, and custom domain mapping states.razorpay.ts) using direct API endpoints.gateway-factory.ts to dynamically instantiate Razorpay checkout handlers based on the active administrative configuration.AdminSettings.tsx and SettingsContext.tsx to allow platform operators to securely manage Razorpay API keys and webhook secrets.PricingPage.tsx to seamlessly render Razorpay payment flows during plan upgrades and token purchases.database/schema.sql and db.ts to securely persist the new Razorpay configuration fields within the global settings structure.AdminModelUsage.tsx), backed by dedicated tracking endpoints.AdminTokenUsage.tsx) for user-level auditing and system-wide cost analysis.AdminDomains.tsx) to oversee mapped custom domains, monitor site statuses, and manage tenant routing.app/sites/[subdomain], enabling seamless subdomains for user-generated websites.middleware.ts to securely map incoming domain requests to their respective site configurations.WebsiteDesign and WebpageTools components for a smoother drag-and-drop experience.ElementSetting properties panel and ChatSection to offer deeper customization controls for generated UI components.htmlProcessor.ts capabilities to seamlessly compile and render AI-generated blocks into the live preview canvas./api/keepalive endpoint to maintain warm serverless functions during idle periods.database/schema.sql to accommodate the new domain mapping tables and enhanced analytics tracking.gemini-2.5-flash. Generates short, conversational, human-like voice responses (1-3 sentences), automatically stripping markdown/formatting for voice synthesis.voice_agent_config, voice_calls, voice_transcripts).middleware.ts) with a global credit interceptor. Clones and parses POST API requests to verify user credits before execution./api/internal/validate-token endpoint and dynamically maps requests to their configured token cost, blocking unauthorized API overuse with clean 403 errors.x-deducted-cost and x-deducted-feature request headers.FlutterwaveGateway) with real-time webhooks (/api/webhook/flutterwave).| Package | Version | Purpose |
|---|---|---|
react-phone-number-input | ^3.4.16 | International Phone Fields & Flags |
Fabric.js and react-rnd for advanced, drag-and-drop marketing asset customization.database/schema.sql system. The database is now the single source of truth for the entire application ecosystem.npm run migrate command with a dedicated runner (migrate.ts) for seamless environment synchronization.proxy.ts to a native Next.js middleware.ts for superior routing performance and security.Zustand for high-performance, predictable client-side state across complex multi-step workflows.| Package | Version | Purpose |
|---|---|---|
fabric | ^7.3.1 | Advanced Canvas Editing |
zustand | ^5.0.13 | Global State Management |
react-rnd | ^10.5.3 | Resizable/Draggable UI |
html-to-image | ^1.11.13 | Asset Export Pipeline |
Music Generator module and its associated dependencies to reduce the overall application bundle size.system_settings table instead of transiently in session or local state. newSettingsContext and AdminSettings components to correctly sync and fetch database-backed state, resolving configuration loss across user sessions./api/admin/settings route to perform direct database updates and removed aggressive caching that previously interfered with state hydration.yet-another-react-lightbox for a sophisticated full-screen image viewing experience with zoom and gallery support. newmarketing_assets, marketing_tasks, marketing_avatars, and marketing_products tables with full RLS security.yet-another-react-lightbox ^3.31.0 — Sophisticated image gallery and lightbox component.Website Wiki transforms any URL into a structured, editable wiki document using AI-powered content refinement. newTurndown HTML-to-Markdown conversion with automatic boilerplate removal (scripts, nav, footer, aside)./api/ai/stream endpoint, ensuring full model compatibility via selectedModel.wiki-exporter.ts.BannerManager.tsx) with live preview, gradient color picker, date scheduling, CTA button configuration, and priority ordering.contentEditable-based WYSIWYG component (rich-text-editor.tsx) for banner message formatting — supports Bold, Italic, Underline, Strikethrough, Links, and keyboard shortcuts.localStorage tracking prevents dismissed banners from reappearing.--banner-height dynamically adjusts layout to prevent header/sidebar clipping when banners are active.announcement_banners — supports message, scheduling (start/end date), gradient styling, CTA buttons, priority, and enable/dismiss flags.schema.sql updated from 13.6 KB → 14.6 KB with full RLS policies for the new table.GET /api/banners — returns the highest-priority active banner within its scheduled time window./api/admin/banners — full CRUD endpoints (GET, POST, PATCH, DELETE) for banner management.POST /api/website-wiki/extract — server-side URL scraping with Turndown conversion (30K char limit for AI context).app/layout.tsx restructured with flex column layout and h-dvh overflow-hidden for proper viewport management. AnnouncementBanner renders above the main scroll container.sidebar-routes.tsx updated with Website Wiki entry under Core Tools, marked as isNew.src/scripts/list-models.js utility for debugging available Gemini API models.turndown ^7.2.4 — HTML to Markdown conversion for wiki scrapingdocx ^9.6.1 — DOCX document generation for wiki exportfile-saver ^2.0.5 — Client-side file download utility@types/turndown, @types/file-saver — TypeScript type definitionsLOWER(user_email)..env and the project to resolve the OpenAI API issue.package-lock introduced.pdf-parse with pdf2json for robust extraction./website component for site management.