From bcf1435e5891600521dc88c075d53b1765476b1f Mon Sep 17 00:00:00 2001 From: Lukce Date: Thu, 29 Oct 2026 18:14:27 -0400 Subject: [PATCH] WordPress plugin 1.0.1: load component 1.4.2 Pins human-machine-swapper 1.4.2 (was 1.3.0) with its sha384. The Machine reader now works on sites behind a login (staging, previews) and reads the llms.txt link from only. SRI computed from the bytes unpkg serves (jsDelivr agrees); the same method reproduces the old 1.3.0 hash. Checked in a browser: the pinned tag defines the element, a wrong hash is blocked. Co-Authored-By: Claude Opus 5.5 --- wordpress/human-machine-view/human-machine-view.php | 6 +++--- wordpress/human-machine-view/readme.txt | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/wordpress/human-machine-view/human-machine-view.php b/wordpress/human-machine-view/human-machine-view.php index 52c5f17..4d156d1 100644 --- a/wordpress/human-machine-view/human-machine-view.php +++ b/wordpress/human-machine-view/human-machine-view.php @@ -3,7 +3,7 @@ * Plugin Name: Human/Machine View — llms.txt for WordPress * Plugin URI: https://advancelabs.dev/human-machine-swapper * Description: Serves an llms.txt built from your own pages, so AI assistants read what you actually publish. Optionally adds a Human / Machine toggle so visitors can see it too. - * Version: 1.0.0 + * Version: 1.0.1 * Requires at least: 6.0 * Requires PHP: 7.4 * Author: Advance Labs @@ -36,10 +36,10 @@ define( 'HMV_CACHE_KEY', 'hmv_llms_txt' ); /** The component, pinned. A floating CDN url cannot carry an integrity hash. */ -define( 'HMV_COMPONENT_VERSION', '1.3.0' ); +define( 'HMV_COMPONENT_VERSION', '1.4.2' ); define( 'HMV_COMPONENT_SRI', - 'sha384-VetnLEfznYITII6EqUattgN+0Zd72RZXzBhdJjM/mAi6300cT3fUfvg7hN9JeMbH' + 'sha384-RHtUnGjGVEmRCkTkaHPNSKNq44cw85EyD1830mDBQhjGEOO001OMa0gcI586klsL' ); require_once plugin_dir_path( __FILE__ ) . 'includes/class-hmv-generator.php'; diff --git a/wordpress/human-machine-view/readme.txt b/wordpress/human-machine-view/readme.txt index 3488c73..d0d5cbc 100644 --- a/wordpress/human-machine-view/readme.txt +++ b/wordpress/human-machine-view/readme.txt @@ -4,7 +4,7 @@ Tags: llms.txt, ai search, seo, aeo, chatgpt Requires at least: 6.0 Tested up to: 6.7 Requires PHP: 7.4 -Stable tag: 1.0.0 +Stable tag: 1.0.1 License: Apache-2.0 License URI: https://www.apache.org/licenses/LICENSE-2.0 @@ -88,5 +88,8 @@ Yes, and open source under Apache-2.0. No account, no upsell, no data sent anywh == Changelog == += 1.0.1 = +* Loads the Human/Machine component 1.4.2 (was 1.3.0). The Machine reader now works on sites behind a login, such as staging or preview sites, and only reads the llms.txt link from the page head. + = 1.0.0 = * First release. Serves llms.txt from your published pages, adds the discovery link, and optionally shows the Human/Machine pill.