Plugin Directory

Changeset 3700281


Ignore:
Timestamp:
09/17/2026 12:32:55 PM (5 weeks ago)
Author:
gopalbogati
Message:

Release 1.5.0: register Abilities API abilities so AI agents can use Wearlook over MCP

Location:
wearlook
Files:
2 added
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wearlook/tags/1.5.0/readme.txt

    r3688057 r3700281  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.4.1
     7Stable tag: 1.5.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    5656
    5757Third-party runtime source and license: see assets/vendor/mediapipe/NOTICE.txt and LICENSE.
     58
     59== AI agents (MCP) ==
     60
     61Wearlook registers three abilities with the WordPress Abilities API, available in WordPress 6.9 and later. Install the official MCP Adapter plugin and an AI assistant can use them as tools:
     62
     63* `wearlook/get-status` — report whether the try-on button is active and which AI engine is configured. Read only.
     64* `wearlook/list-garment-images` — list every image a shopper can try on for a product, including variation colourways. Read only.
     65* `wearlook/try-on` — render a person wearing one of your garments, using the AI engine you configured.
     66
     67Nothing is exposed until you install an MCP server plugin yourself. On WordPress 6.8 and earlier, or with no MCP adapter present, this code does not run at all and the plugin behaves exactly as before.
     68
     69The read-only abilities require the `edit_posts` capability. Running a try-on requires `manage_options`, because each render is billed to your own AI provider account — use the `wearlook_ability_render_capability` filter to change that. A try-on can take a person photo from your media library, or download one from a public https URL you supply; private and local addresses are refused.
    5870
    5971== External services ==
    … …  
    133145
    134146== Changelog ==
     147
     148= 1.5.0 =
     149* AI assistants can now use Wearlook over MCP. Three abilities are registered with the WordPress Abilities API on WordPress 6.9 and later: check status, list a product's try-on images, and render a try-on.
     150* Works with the official WordPress MCP Adapter. Nothing is exposed until you install an MCP server plugin yourself.
     151* Try-on over MCP requires an administrator capability, because renders are billed to your own AI provider account.
     152* No change on WordPress 6.8 and earlier — the abilities are simply not registered.
     153
    135154
    136155= 1.4.1 =
    … …  
    188207== Upgrade Notice ==
    189208
     209= 1.5.0 =
     210Wearlook can now be driven by AI assistants over MCP on WordPress 6.9+. Nothing is exposed unless you install an MCP adapter yourself.
     211
     212
    190213= 1.4.1 =
    191214Improved automatic alignment and photo-session reliability. The ZIP includes the local body-detection model; allow about 27 MB of disk space and a larger first-use download. Modern browsers with WebAssembly are recommended. Manual adjustment remains available if the model cannot load.
  • wearlook/tags/1.5.0/wearlook.php

    r3685746 r3700281  
    44 * Plugin URI:  https://wearlook.vercel.app
    55 * Description: A free virtual fitting room for any WordPress site. Visitors upload a photo and the garment fits onto them automatically — drag, resize, rotate. Works with WooCommerce products or the [wearlook] shortcode. Optional premium AI renders.
    6  * Version:     1.4.1
     6 * Version:     1.5.0
    77 * Author:      Gopal Bogati
    88 * Author URI:  https://www.linkedin.com/in/gopal-b-4164b7b8/
    … …  
    1818defined( 'ABSPATH' ) || exit;
    1919
    20 define( 'WEARLOOK_VERSION', '1.4.1' );
     20define( 'WEARLOOK_VERSION', '1.5.0' );
    2121define( 'WEARLOOK_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    2222define( 'WEARLOOK_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    … …  
    2828require_once WEARLOOK_PLUGIN_DIR . 'includes/class-wearlook-shortcode.php';
    2929require_once WEARLOOK_PLUGIN_DIR . 'includes/class-wearlook-ajax.php';
     30require_once WEARLOOK_PLUGIN_DIR . 'includes/class-wearlook-abilities.php';
    3031
    3132/**
    … …  
    9495        Wearlook_Shortcode::init();
    9596        Wearlook_Ajax::init();
     97        Wearlook_Abilities::init();
    9698} );
    9799
  • wearlook/trunk/readme.txt

    r3688057 r3700281  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.4.1
     7Stable tag: 1.5.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    5656
    5757Third-party runtime source and license: see assets/vendor/mediapipe/NOTICE.txt and LICENSE.
     58
     59== AI agents (MCP) ==
     60
     61Wearlook registers three abilities with the WordPress Abilities API, available in WordPress 6.9 and later. Install the official MCP Adapter plugin and an AI assistant can use them as tools:
     62
     63* `wearlook/get-status` — report whether the try-on button is active and which AI engine is configured. Read only.
     64* `wearlook/list-garment-images` — list every image a shopper can try on for a product, including variation colourways. Read only.
     65* `wearlook/try-on` — render a person wearing one of your garments, using the AI engine you configured.
     66
     67Nothing is exposed until you install an MCP server plugin yourself. On WordPress 6.8 and earlier, or with no MCP adapter present, this code does not run at all and the plugin behaves exactly as before.
     68
     69The read-only abilities require the `edit_posts` capability. Running a try-on requires `manage_options`, because each render is billed to your own AI provider account — use the `wearlook_ability_render_capability` filter to change that. A try-on can take a person photo from your media library, or download one from a public https URL you supply; private and local addresses are refused.
    5870
    5971== External services ==
    … …  
    133145
    134146== Changelog ==
     147
     148= 1.5.0 =
     149* AI assistants can now use Wearlook over MCP. Three abilities are registered with the WordPress Abilities API on WordPress 6.9 and later: check status, list a product's try-on images, and render a try-on.
     150* Works with the official WordPress MCP Adapter. Nothing is exposed until you install an MCP server plugin yourself.
     151* Try-on over MCP requires an administrator capability, because renders are billed to your own AI provider account.
     152* No change on WordPress 6.8 and earlier — the abilities are simply not registered.
     153
    135154
    136155= 1.4.1 =
    … …  
    188207== Upgrade Notice ==
    189208
     209= 1.5.0 =
     210Wearlook can now be driven by AI assistants over MCP on WordPress 6.9+. Nothing is exposed unless you install an MCP adapter yourself.
     211
     212
    190213= 1.4.1 =
    191214Improved automatic alignment and photo-session reliability. The ZIP includes the local body-detection model; allow about 27 MB of disk space and a larger first-use download. Modern browsers with WebAssembly are recommended. Manual adjustment remains available if the model cannot load.
  • wearlook/trunk/wearlook.php

    r3685746 r3700281  
    44 * Plugin URI:  https://wearlook.vercel.app
    55 * Description: A free virtual fitting room for any WordPress site. Visitors upload a photo and the garment fits onto them automatically — drag, resize, rotate. Works with WooCommerce products or the [wearlook] shortcode. Optional premium AI renders.
    6  * Version:     1.4.1
     6 * Version:     1.5.0
    77 * Author:      Gopal Bogati
    88 * Author URI:  https://www.linkedin.com/in/gopal-b-4164b7b8/
    … …  
    1818defined( 'ABSPATH' ) || exit;
    1919
    20 define( 'WEARLOOK_VERSION', '1.4.1' );
     20define( 'WEARLOOK_VERSION', '1.5.0' );
    2121define( 'WEARLOOK_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    2222define( 'WEARLOOK_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    … …  
    2828require_once WEARLOOK_PLUGIN_DIR . 'includes/class-wearlook-shortcode.php';
    2929require_once WEARLOOK_PLUGIN_DIR . 'includes/class-wearlook-ajax.php';
     30require_once WEARLOOK_PLUGIN_DIR . 'includes/class-wearlook-abilities.php';
    3031
    3132/**
    … …  
    9495        Wearlook_Shortcode::init();
    9596        Wearlook_Ajax::init();
     97        Wearlook_Abilities::init();
    9698} );
    9799
Note: See TracChangeset for help on using the changeset viewer.