<?php
/**
 * Plugin Name: Nomad Pipeline Audio to Draft
 * Description: Generate post drafts from audio in the WordPress block editor using WordPress AI connectors.
 * Version: 0.1.6
 * Requires at least: 7.0
 * Requires PHP: 8.0
 * Author: Carlo Daniele
 * License: GPL-2.0-or-later
 * Text Domain: nomad-pipeline-audio-to-draft
 * Domain Path: /languages
 */

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

require_once __DIR__ . '/includes/class-ability-contract.php';
require_once __DIR__ . '/includes/class-job-store.php';
require_once __DIR__ . '/includes/class-idempotency-lock.php';
require_once __DIR__ . '/includes/class-ai-processor.php';
require_once __DIR__ . '/includes/class-normalizer.php';
require_once __DIR__ . '/includes/class-block-mapper.php';
require_once __DIR__ . '/includes/class-publisher.php';
require_once __DIR__ . '/includes/class-observability.php';
require_once __DIR__ . '/includes/class-ability-execution-guards.php';
require_once __DIR__ . '/includes/class-rest-controller.php';
require_once __DIR__ . '/includes/class-nomad-pipeline-audio-to-draft-plugin.php';

register_activation_hook( __FILE__, array( 'NPATD_Job_Store', 'install' ) );

NPATD_Plugin::init();
