<?php
/**
 * Plugin Name:       Forme SEO AI Agent by Calvin Seng
 * Description:       AI-powered SEO audits, content planning, and optimization toolkit for WordPress. Powered by Claude.
 * Version:           1.1.0
 * Author:            Calvin Seng
 * Author URI:        https://calvinseng.com
 * License:           GPL-2.0-or-later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:       forme-seo-ai-agent
 * Requires at least: 6.0
 * Requires PHP:      8.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

define( 'FORME_SEO_VERSION',     '1.1.0' );
define( 'FORME_SEO_DIR',         plugin_dir_path( __FILE__ ) );
define( 'FORME_SEO_URL',         plugin_dir_url( __FILE__ ) );
define( 'FORME_SEO_DEFAULT_API', 'https://claude.seo.calvinseng.com' );

// Option keys
define( 'FORME_SEO_OPT_API_BASE', 'forme_seo_api_base' );
define( 'FORME_SEO_OPT_API_KEY',  'forme_seo_api_key' );
define( 'FORME_SEO_OPT_EMAIL',    'forme_seo_email' );

require_once FORME_SEO_DIR . 'includes/class-api.php';
require_once FORME_SEO_DIR . 'includes/class-admin.php';

add_action( 'plugins_loaded', function () {
	new Forme_SEO_Admin();
} );
