<?php
if (!defined('ABSPATH')) {
    exit;
}

class Aysa_Agent8_V3_Proxy_Controller {
    private $admin;

    public function __construct($admin) {
        $this->admin = $admin;
    }

    public function register_hooks() {
        add_action('wp_ajax_aysa_agent8v3_message', array($this->admin, 'handle_agent8v3_message'));
        add_action('wp_ajax_aysa_agent8v3_action', array($this->admin, 'handle_agent8v3_action'));
        add_action('wp_ajax_aysa_agent8v3_modal', array($this->admin, 'handle_agent8v3_modal'));
        add_action('wp_ajax_aysa_agent8v3_approval', array($this->admin, 'handle_agent8v3_approval'));
        add_action('wp_ajax_aysa_agent8v3_state', array($this->admin, 'handle_agent8v3_state'));
        add_action('wp_ajax_aysa_agent8v3_reset', array($this->admin, 'handle_agent8v3_reset'));
        add_action('wp_ajax_aysa_agent8v3_qa_run', array($this->admin, 'handle_agent8v3_qa_run'));
        add_action('wp_ajax_aysa_agent8v3_qa_clear', array($this->admin, 'handle_agent8v3_qa_clear'));
        add_action('wp_ajax_aysa_agent8v3_qa_export', array($this->admin, 'handle_agent8v3_qa_export'));
        add_action('wp_ajax_aysa_agent8v3_qa_log', array($this->admin, 'handle_agent8v3_qa_log'));
        add_action('wp_ajax_aysa_agent8v3_qa_legacy_sync', array($this->admin, 'handle_agent8v3_qa_legacy_sync'));
    }
}
