Skip to content

Release v1.2.0: WP-CLI Abilities & WordPress Core Support - #1

Merged
pluginslab merged 4 commits into
mainfrom
release/1.2.0
Jan 7, 2026
Merged

pluginslab merged 4 commits into
mainfrom
release/1.2.0

Conversation

@pluginslab

Copy link
Copy Markdown
Owner

Summary

This release adds 4 new WP-CLI-inspired abilities and support for WordPress 6.9 core abilities.

New Abilities (6 total)

WP-CLI-inspired:

  • transient-flush - Delete expired/all transients
  • cron-list - List scheduled cron events with overdue detection
  • rewrite-flush - Flush permalink rewrite rules
  • revision-cleanup - Delete old revisions with dry-run/preview mode

WordPress 6.9 Core Wrappers:

  • core/get-site-info - Site name, URL, version, tagline
  • core/get-environment-info - Environment type, PHP version, DB info

Improvements

  • Abilities browser now displays both Neural Admin and WordPress core abilities
  • Smart confirmation for revision cleanup (preview mode skips confirmation)
  • Chat session persistence across page refreshes
  • Better keyword separation to avoid triggering multiple abilities

Bug Fixes

  • Fixed HTTP method for destructive abilities (now uses POST as required by Abilities API)

Stats

  • Total abilities: 12 (10 custom + 2 core wrappers)
  • 21 files changed, 1650 insertions

- Bump version to 1.2.0 across all files
- Add keyboard shortcut hint (Cmd/Ctrl+Enter) below send button
- Shows platform-appropriate shortcut key
- Create sw.js with ServiceWorkerMLCEngineHandler from WebLLM
- Update model-loader.js to support both SW and fallback page modes
- Add webpack.config.js to build SW as separate entry point
- Update class-admin-page.php to pass swUrl to JavaScript
- Add 'Persistent' badge in ModelStatus when using SW mode
- Update info text to explain SW benefits
- Add styles for persistent mode badge with pulse animation

The model now stays loaded in GPU memory as you navigate wp-admin.
Fallback to page-mode if Service Worker is unavailable.
Safari's Service Workers cannot access WebGPU APIs, causing the model
loading to hang. Added Safari detection to automatically fall back to
page mode on Safari while still using SW mode on Chrome/Edge.
….2.0)

New abilities:
- transient-flush: Delete expired/all transients
- cron-list: List scheduled cron events with overdue detection
- rewrite-flush: Flush permalink rewrite rules
- revision-cleanup: Delete old revisions with dry-run/preview mode

WordPress 6.9 core abilities:
- core/get-site-info wrapper for chat interface
- core/get-environment-info wrapper for chat interface

Improvements:
- Abilities browser shows both Neural Admin and core abilities
- Smart confirmation (preview mode skips confirmation)
- Chat session persistence across page refreshes
- Better keyword separation to avoid multi-ability triggers
- Fixed HTTP method for destructive abilities (POST not DELETE)
@pluginslab
pluginslab merged commit 476b1c9 into main Jan 7, 2026
@pluginslab
pluginslab deleted the release/1.2.0 branch February 13, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant