| @@ -1,12 +1,12 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: ZIP AI |
| 4 | - * Description: ZIP AI is a conversational AI agent that builds, edits, and manages your WordPress site by chat - create pages, edit blocks, and run site operations right inside wp-admin. Requires a block (FSE) theme; does not work with classic themes. | |
| 4 | + * Description: ZIP AI is a conversational AI agent that builds, edits, and manages your WordPress site by chat - create pages, edit blocks, and run site operations right inside wp-admin. Works with Astra and block (FSE) themes. | |
| 5 | 5 | * Author: Brainstorm Force |
| 6 | 6 | * Author URI: https://brainstormforce.com/ |
| 7 | 7 | * Plugin URI: https://zipwp.com/ |
| 8 | - * Version: 0.0.7 | |
| 8 | + * Version: 0.0.13 | |
| 9 | 9 | * Requires at least: 6.4 |
| 10 | 10 | * Tested up to: 7.0 |
| 11 | 11 | * Requires PHP: 7.4 |
| 12 | 12 | * License: GPLv2 or later |
| @@ -16,10 +16,12 @@ | ||
| 16 | 16 | * |
| 17 | 17 | * External Services: |
| 18 | 18 | * This plugin connects to the ZIP AI platform (https://credits.zipwp.com) |
| 19 | 19 | * to provide AI-powered site management. Chat messages, site structure data (page titles, |
| 20 | - * plugin names, post counts), and site identity are sent to this service after user | |
| 21 | - * authentication. No page/post content, visitor data, or payment details are transmitted. | |
| 20 | + * plugin names, post counts), site identity, and the results of the WordPress tools the | |
| 21 | + * agent runs at your request (which can include post and page content, option values, and | |
| 22 | + * command output) are sent to this service after user authentication. No visitor data or | |
| 23 | + * payment details are transmitted. | |
| 22 | 24 | * Terms of Service: https://store.brainstormforce.com/terms-and-conditions/ |
| 23 | 25 | * Privacy Policy: https://store.brainstormforce.com/privacy-policy/ |
| 24 | 26 | * |
| 25 | 27 | * @package zip-ai |
| @@ -34,14 +36,6 @@ | ||
| 34 | 36 | if ( defined( 'ZIPAI_MCP_DIR' ) ) { |
| 35 | 37 | return; |
| 36 | 38 | } |
| 37 | 39 | |
| 38 | -// Load Composer autoloader first. | |
| 39 | -$vendor_autoload = plugin_dir_path( __FILE__ ) . 'vendor/autoload.php'; | |
| 40 | -if ( file_exists( $vendor_autoload ) ) { | |
| 41 | - require_once $vendor_autoload; | |
| 42 | -} | |
| 43 | - | |
| 44 | -// Load the ZipWP MCP Plugin. | |
| 45 | -if ( apply_filters( 'zip_ai_load_library', true ) ) { | |
| 46 | - require_once 'loader.php'; | |
| 47 | -} | |
| 40 | +// Load the plugin (registers the autoloader and boots everything). | |
| 41 | +require_once __DIR__ . '/loader.php'; | |