{"id":368261,"date":"2026-11-02T09:19:58","date_gmt":"2026-11-02T09:19:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ai-site-debugger\/"},"modified":"2026-11-02T09:40:56","modified_gmt":"2026-11-02T09:40:56","slug":"webosmotic-ai-site-debugger","status":"publish","type":"plugin","link":"https:\/\/arg.wordpress.org\/plugins\/webosmotic-ai-site-debugger\/","author":23559587,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.4","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"WebOsmotic AI Site Debugger","header_author":"WebOsmotic PVT LTD","header_description":"Collects WordPress debug data, redacts sensitive information, and uses Cloudflare Workers AI to explain issues and suggest fixes.","assets_banners_color":"","last_updated":"2026-11-02 09:40:56","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/webosmotic.com\/ai-site-debugger\/","header_author_uri":"https:\/\/webosmotic.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":197,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"sainawebosmotic7","date":"2026-11-02 09:40:56","revision":3779446}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[2353,94,2679,2275,8541],"plugin_category":[59],"plugin_contributors":[278857,290222],"plugin_business_model":[],"class_list":["post-368261","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-debug","plugin_tags-debugging","plugin_tags-developer","plugin_tags-troubleshooting","plugin_category-utilities-and-tools","plugin_contributors-chaitya997150","plugin_contributors-sainawebosmotic7","plugin_committers-sainawebosmotic7"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/webosmotic-ai-site-debugger.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>WebOsmotic AI Site Debugger helps WordPress administrators understand technical issues by collecting\nstructured diagnostic information from their site, redacting sensitive information locally,\nand using Cloudflare Workers AI to provide contextual explanations, likely causes, and\nrecommended troubleshooting steps.<\/p>\n\n<p>The plugin is designed as an analysis and troubleshooting tool. It does not provide a PHP\nor JavaScript editor, does not execute AI-generated code, and does not automatically modify\nor execute code on the WordPress site.<\/p>\n\n<p>AI analysis is optional. The plugin ships inert: nothing is transmitted to an external AI\nservice until the site administrator configures a connection and explicitly enables\ndata-sharing consent.<\/p>\n\n<p><strong>What makes it different<\/strong><\/p>\n\n<p>Traditional WordPress debugging tools are primarily focused on displaying logs, queries,\nerrors, or environment information. WebOsmotic AI Site Debugger adds a privacy-focused analysis\nworkflow:<\/p>\n\n<ol>\n<li>Collect relevant WordPress diagnostic information.<\/li>\n<li>Redact sensitive information on the WordPress server.<\/li>\n<li>Let the administrator preview the exact redacted payload.<\/li>\n<li>Send the approved payload to the administrator's configured Cloudflare Workers AI\nconnection.<\/li>\n<li>Return a plain-language explanation, likely causes, and ordered troubleshooting\nguidance.<\/li>\n<li>Keep a local history of previous analyses for comparison and follow-up.<\/li>\n<\/ol>\n\n<p>The plugin is intended to complement existing WordPress debugging tools rather than\nreplace them.<\/p>\n\n<p><strong>Key features<\/strong><\/p>\n\n<ul>\n<li>One-page dashboard: preview the exact redacted data, then run an AI analysis.<\/li>\n<li>Redaction engine (on by default) for paths, secrets\/keys\/salts, emails, IPs, site domain, and database credentials.<\/li>\n<li>Automatic model selection with escalation to a long-context model for large logs.<\/li>\n<li>Local history of past analyses, with search, filtering, and JSON export.<\/li>\n<li>Optional scheduled background analysis (WP-Cron, hourly\/twicedaily\/daily) with email alerts above a configurable confidence threshold.<\/li>\n<li>WP-CLI commands (<code>wp aidbg analyze<\/code>, <code>wp aidbg test<\/code>, <code>wp aidbg history<\/code>) and a REST API for automation and integrations.<\/li>\n<li>Settings export\/import for moving configuration between sites (API credentials are never included).<\/li>\n<\/ul>\n\n<h3>Requirements &amp; Cloudflare dependency<\/h3>\n\n<p><strong>WordPress<\/strong>\n* WordPress 6.2 or later.\n* PHP 7.4 or later.\n* The PHP OpenSSL extension is recommended because stored secrets are encrypted at rest when OpenSSL is available.<\/p>\n\n<p><strong>Cloudflare Workers AI<\/strong>\nWebOsmotic AI Site Debugger requires access to <strong>Cloudflare Workers AI<\/strong> for AI analysis. Cloudflare is an external service and is not bundled with WordPress or the plugin.<\/p>\n\n<p>The plugin supports two connection methods:<\/p>\n\n<ol>\n<li><p><strong>Cloudflare Worker mode (recommended)<\/strong><\/p>\n\n<ul>\n<li>A Cloudflare account with Workers AI available.<\/li>\n<li>The bundled Worker in the <code>\/worker<\/code> directory must be deployed to your own Cloudflare account.<\/li>\n<li>The Worker must have the <code>AI<\/code> Workers AI binding configured.<\/li>\n<li>A <code>SHARED_SECRET<\/code> must be configured as a Cloudflare Worker secret.<\/li>\n<li>The same shared secret and the deployed Worker URL must be entered in the plugin settings.<\/li>\n<li>Wrangler is only required when deploying\/updating the bundled Worker; it is not a runtime dependency of the WordPress plugin.<\/li>\n<\/ul><\/li>\n<li><p><strong>Direct Workers AI API mode<\/strong><\/p>\n\n<ul>\n<li>A Cloudflare account with Workers AI available.<\/li>\n<li>Your Cloudflare Account ID.<\/li>\n<li>A Cloudflare Workers AI API token with the permissions required to call the Workers AI API.<\/li>\n<li>The Account ID and API token are entered in the plugin settings.<\/li>\n<li>No Cloudflare Worker deployment is required in this mode.<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<p>The plugin does not include or provide a Cloudflare account, API token, Worker deployment, or Workers AI service.<\/p>\n\n<p>The plugin does not download, install, or execute executable code from Cloudflare or from any other external service. The optional bundled Worker is deployment source code that the site administrator deploys to their own Cloudflare account.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin sends redacted diagnostic data to <strong>Cloudflare Workers AI<\/strong>, either through a\nCloudflare Worker that <strong>you<\/strong> deploy and control (Worker mode), or directly via the\nCloudflare Workers AI REST API using an Account ID + API token you provide (Direct API mode).<\/p>\n\n<ul>\n<li><strong>What is sent:<\/strong> the redacted diagnostic payload you preview on the dashboard (environment details, active plugins\/theme, versions, and the redacted debug.log tail).<\/li>\n<li><strong>When:<\/strong> only when you click \"Run AI analysis\" or \"Test connection\", and only after you enable consent.<\/li>\n<li><strong>Where:<\/strong> your own Worker endpoint, then Cloudflare Workers AI.<\/li>\n<li>Cloudflare Terms of Service: https:\/\/www.cloudflare.com\/website-terms\/<\/li>\n<li>Cloudflare Privacy Policy: https:\/\/www.cloudflare.com\/privacypolicy\/<\/li>\n<\/ul>\n\n<p>No data is sent to the plugin author.<\/p>\n\n<p>If you enable email alerts, a summary of analysis results (not raw debug data) is sent\nvia this site's normal wp_mail() to the address you configure. If you enable scheduled\nanalysis, the same consent-gated pipeline used for a manual click runs automatically in\nthe background on the interval you choose \u2014 no additional data categories are\ncollected or sent beyond what a manual analysis already sends. The REST API and WP-CLI\ncommands trigger the same pipeline and require the same manage_options capability as\nthe dashboard; they add no new external data flow.<\/p>\n\n<!--section=installation-->\n<p><strong>Worker mode<\/strong><\/p>\n\n<ol>\n<li>Deploy the bundled Cloudflare Worker (see the <code>\/worker<\/code> directory in the plugin source) to your own Cloudflare account and configure the <code>AI<\/code> Workers AI binding.<\/li>\n<li>Set a <code>SHARED_SECRET<\/code> as a Cloudflare Worker secret.<\/li>\n<li>Install and activate the plugin.<\/li>\n<li>Go to <strong>AI Debugger \u2192 Settings<\/strong>, enter your Worker URL and the same shared secret, and click <strong>Test connection<\/strong>.<\/li>\n<li>Enable the data-sharing consent checkbox and save.<\/li>\n<li>Open <strong>AI Debugger \u2192 Dashboard<\/strong>, click <strong>Preview data<\/strong>, then <strong>Run AI analysis<\/strong>.<\/li>\n<\/ol>\n\n<p><strong>Direct Workers AI API mode<\/strong><\/p>\n\n<ol>\n<li>Install and activate the plugin.<\/li>\n<li>Go to <strong>AI Debugger \u2192 Settings<\/strong>.<\/li>\n<li>Enter your Cloudflare Account ID and Workers AI API token.<\/li>\n<li>Click <strong>Test connection<\/strong>.<\/li>\n<li>Enable the data-sharing consent checkbox and save.<\/li>\n<li>Open <strong>AI Debugger \u2192 Dashboard<\/strong>, click <strong>Preview data<\/strong>, then <strong>Run AI analysis<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20cost%20money%3F\"><h3>Does this cost money?<\/h3><\/dt>\n<dd><p>Cloudflare Workers AI includes a free daily allocation. The plugin defaults to a small\nmodel to stay within it. Heavy use may require a paid Cloudflare plan.<\/p><\/dd>\n<dt id=\"is%20my%20data%20safe%3F\"><h3>Is my data safe?<\/h3><\/dt>\n<dd><p>Redaction runs on your server before anything is transmitted, and you can preview the\nexact payload first. You control the Worker endpoint and its secret.<\/p><\/dd>\n<dt id=\"can%20i%20choose%20the%20ai%20model%3F\"><h3>Can I choose the AI model?<\/h3><\/dt>\n<dd><p>Yes \u2014 Fast, Balanced, Deep, or Code. Large logs automatically use a long-context model.<\/p><\/dd>\n<dt id=\"will%20scheduled%20analysis%20use%20up%20my%20free%20cloudflare%20allocation%3F\"><h3>Will scheduled analysis use up my free Cloudflare allocation?<\/h3><\/dt>\n<dd><p>Each scheduled run counts the same as clicking \"Run AI analysis\" manually. Scheduled\nanalysis is off by default \u2014 turn it on in Settings only once you're comfortable with\nhow much of the daily allocation a single run uses.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Added structured WordPress diagnostic collection and local sensitive-data redaction.<\/li>\n<li>Added dashboard preview and AI-assisted diagnostic analysis through Cloudflare Workers AI.<\/li>\n<li>Added Cloudflare Worker and Direct Workers AI API connection methods.<\/li>\n<li>Added local analysis history, scheduled analysis, email notifications, WP-CLI commands, REST API support, and settings import\/export.<\/li>\n<li>Added security and consent controls for external AI analysis.<\/li>\n<\/ul>","raw_excerpt":"Collects WordPress diagnostic data, redacts sensitive info locally, and uses Cloudflare Workers AI to explain issues and suggest fixes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/368261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=368261"}],"author":[{"embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sainawebosmotic7"}],"wp:attachment":[{"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=368261"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=368261"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=368261"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=368261"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=368261"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=368261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}