getVcsApi()->enableReleaseAssets(); $awpPrivateRepo->setBranch('main'); register_activation_hook(__FILE__, 'agentwp_boot_plugin'); register_deactivation_hook(__FILE__, 'agentwp_boot_plugin'); add_action('plugins_loaded', 'agentwp_boot_plugin'); /** * Registers all the service providers * with a Main dependency. */ function agentwp_boot_plugin(): void { $main = \WpAi\AgentWp\Main::getInstance(__FILE__); $registry = (new \WpAi\AgentWp\ProviderRegistry($main)); $registry->register([ \WpAi\AgentWp\Installer::class, \WpAi\AgentWp\Registry\Hooks::class, \WpAi\AgentWp\Page\Admin\Settings::class, \WpAi\AgentWp\Page\Admin\Chat::class, \WpAi\AgentWp\Page\Admin\DashboardWidget::class, \WpAi\AgentWp\Registry\IndexSiteData::class, \WpAi\AgentWp\Registry\IndexSiteSummary::class, \WpAi\AgentWp\Registry\IndexThemeJson::class, \WpAi\AgentWp\Registry\IndexSiteDocs::class, \WpAi\AgentWp\Registry\Router::class, \WpAi\AgentWp\Registry\WpUser::class, ]); }