| @@ -18,8 +18,46 @@ | ||
| 18 | 18 | */ |
| 19 | 19 | public function __construct() { |
| 20 | 20 | $this->addons_config = array( |
| 21 | 21 | |
| 22 | + 'mxchat-ai-search' => array( | |
| 23 | + 'title' => __('MxChat AI Search', 'mxchat'), | |
| 24 | + 'sidebar_title' => __('AI Search', 'mxchat'), | |
| 25 | + 'description' => __('Bring AI Overviews to your own site search. Visitors ask a question in your search bar and get a real answer drawn from your knowledge base, with sources — above your theme\'s normal results, as a full AI results page, or as a search box you can drop on any page.', 'mxchat'), | |
| 26 | + 'key_benefits' => array( | |
| 27 | + __('AI answers above your theme\'s search results', 'mxchat'), | |
| 28 | + __('Embeddable search box via shortcode or block', 'mxchat'), | |
| 29 | + __('Grounded in your knowledge base, with sources', 'mxchat') | |
| 30 | + ), | |
| 31 | + 'license' => 'MxChat PRO', | |
| 32 | + 'accent' => '#0ea5e9', | |
| 33 | + 'url' => 'https://mxchat.ai/add-ons/mxchat-search/', | |
| 34 | + 'plugin_file' => 'mxchat-search/mxchat-search.php', | |
| 35 | + 'config_page' => 'mxchat-search', | |
| 36 | + 'hero_features' => array( | |
| 37 | + array( | |
| 38 | + 'icon' => '<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>', | |
| 39 | + 'title' => __('AI Overview', 'mxchat'), | |
| 40 | + 'desc' => __('Answers above your normal results', 'mxchat'), | |
| 41 | + ), | |
| 42 | + array( | |
| 43 | + 'icon' => '<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><line x1="3" y1="9" x2="21" y2="9"/><line x1="7" y1="14" x2="14" y2="14"/></svg>', | |
| 44 | + 'title' => __('Drop It Anywhere', 'mxchat'), | |
| 45 | + 'desc' => __('Shortcode or block on any page', 'mxchat'), | |
| 46 | + ), | |
| 47 | + array( | |
| 48 | + 'icon' => '<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/></svg>', | |
| 49 | + 'title' => __('Your Own Content', 'mxchat'), | |
| 50 | + 'desc' => __('Grounded answers that cite sources', 'mxchat'), | |
| 51 | + ), | |
| 52 | + array( | |
| 53 | + 'icon' => '<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>', | |
| 54 | + 'title' => __('Cost Controls', 'mxchat'), | |
| 55 | + 'desc' => __('Caching, rate limits, cheaper model', 'mxchat'), | |
| 56 | + ), | |
| 57 | + ), | |
| 58 | + ), | |
| 59 | + | |
| 22 | 60 | 'mxchat-mcp' => array( |
| 23 | 61 | 'title' => __('MxChat MCP Server', 'mxchat'), |
| 24 | 62 | 'sidebar_title' => __('MCP Server', 'mxchat'), |
| 25 | 63 | 'description' => __('Turn your MxChat install into a Model Context Protocol server so Claude, ChatGPT, and Claude Code can list transcripts, push knowledge, and inspect bots directly — no per-message fees, no middleman API.', 'mxchat'), |
| @@ -30,9 +68,8 @@ | ||
| 30 | 68 | ), |
| 31 | 69 | 'license' => 'MxChat PRO', |
| 32 | 70 | 'accent' => '#7873f5', |
| 33 | 71 | 'url' => 'https://mxchat.ai/add-ons/mxchat-mcp/', |
| 34 | - 'download_url' => 'https://mxchat.ai/add-ons/mxchat-mcp/', | |
| 35 | 72 | 'plugin_file' => 'mxchat-mcp/mxchat-mcp.php', |
| 36 | 73 | 'config_page' => 'mxchat-mcp', |
| 37 | 74 | 'hero_features' => array( |
| 38 | 75 | array( |
| @@ -69,9 +106,8 @@ | ||
| 69 | 106 | ), |
| 70 | 107 | 'license' => 'MxChat PRO', |
| 71 | 108 | 'accent' => '#6366f1', |
| 72 | 109 | 'url' => 'https://mxchat.ai/add-ons/mxchat-advanced-content/', |
| 73 | - 'download_url' => 'https://mxchat.ai/add-ons/mxchat-advanced-content/', | |
| 74 | 110 | 'plugin_file' => 'mxchat-advanced-content/mxchat-advanced-content.php', |
| 75 | 111 | 'config_page' => 'mxchat-content', |
| 76 | 112 | 'hero_features' => array( |
| 77 | 113 | array( |
| @@ -367,9 +403,8 @@ | ||
| 367 | 403 | ), |
| 368 | 404 | 'license' => 'MxChat PRO', |
| 369 | 405 | 'accent' => '#10b981', |
| 370 | 406 | 'url' => 'https://mxchat.ai/add-ons/mxchat-embed/', |
| 371 | - 'download_url' => 'https://mxchat.ai/add-ons/mxchat-embed/', | |
| 372 | 407 | 'plugin_file' => 'mxchat-embed/mxchat-embed.php', |
| 373 | 408 | 'config_page' => 'mxchat-embed', |
| 374 | 409 | 'hero_features' => array( |
| 375 | 410 | array( |
| @@ -501,8 +536,45 @@ | ||
| 501 | 536 | array( |
| 502 | 537 | 'icon' => '<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="8.5" cy="7" r="4"/><line x1="20" y1="8" x2="20" y2="14"/><line x1="23" y1="11" x2="17" y2="11"/></svg>', |
| 503 | 538 | 'title' => __('Brand Safety', 'mxchat'), |
| 504 | 539 | 'desc' => __('Keep chat professional', 'mxchat'), |
| 540 | + ), | |
| 541 | + ), | |
| 542 | + ), | |
| 543 | + | |
| 544 | + 'mxchat-migration-tool' => array( | |
| 545 | + 'title' => __('MxChat Migration Tool', 'mxchat'), | |
| 546 | + 'description' => __('Move your knowledge base safely between embedding models and vector databases. Re-embed existing content when switching models, migrate between WordPress and Pinecone storage, and export your knowledge base for backup.', 'mxchat'), | |
| 547 | + 'key_benefits' => array( | |
| 548 | + __('Re-embed when switching models', 'mxchat'), | |
| 549 | + __('WordPress ↔ Pinecone migration', 'mxchat'), | |
| 550 | + __('Knowledge base export', 'mxchat') | |
| 551 | + ), | |
| 552 | + 'license' => 'MxChat PRO', | |
| 553 | + 'accent' => '#fa73e6', | |
| 554 | + 'url' => 'https://mxchat.ai/add-ons/mxchat-migration-tool/', | |
| 555 | + 'plugin_file' => 'mxchat-migration-tool/mxchat-migration-tool.php', | |
| 556 | + 'config_page' => 'mxchat-migration', | |
| 557 | + 'hero_features' => array( | |
| 558 | + array( | |
| 559 | + 'icon' => '<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 3 21 3 21 8"/><line x1="4" y1="20" x2="21" y2="3"/><polyline points="21 16 21 21 16 21"/><line x1="15" y1="15" x2="21" y2="21"/><line x1="4" y1="4" x2="9" y2="9"/></svg>', | |
| 560 | + 'title' => __('Model Migration', 'mxchat'), | |
| 561 | + 'desc' => __('Re-embed for a new model', 'mxchat'), | |
| 562 | + ), | |
| 563 | + array( | |
| 564 | + 'icon' => '<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"/><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"/></svg>', | |
| 565 | + 'title' => __('Database Moves', 'mxchat'), | |
| 566 | + 'desc' => __('WordPress ↔ Pinecone', 'mxchat'), | |
| 567 | + ), | |
| 568 | + array( | |
| 569 | + 'icon' => '<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>', | |
| 570 | + 'title' => __('KB Export', 'mxchat'), | |
| 571 | + 'desc' => __('Back up as JSON or text', 'mxchat'), | |
| 572 | + ), | |
| 573 | + array( | |
| 574 | + 'icon' => '<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="22 12 16 12 14 15 10 9 8 12 2 12"/></svg>', | |
| 575 | + 'title' => __('Progress Tracking', 'mxchat'), | |
| 576 | + 'desc' => __('Batched with live status', 'mxchat'), | |
| 505 | 577 | ), |
| 506 | 578 | ), |
| 507 | 579 | ), |
| 508 | 580 | |