@respira/wordpress-mcp-server 8.2.7 → 8.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +19 -5
- package/dist/server.js.map +1 -1
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +3 -1
- package/dist/setup.js.map +1 -1
- package/dist/wordpress-client.d.ts.map +1 -1
- package/dist/wordpress-client.js +16 -2
- package/dist/wordpress-client.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ All notable changes to Respira WordPress MCP Server will be documented in this f
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [8.2.9] - 2026-08-12
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **The security tool descriptions named an advisory that had moved on.** `wordpress_update_core_security` described its `advisory_id` as "currently wordpress-wp2shell-2026" and listed 6.8.6 / 6.9.5 / 7.0.2 as the targets. The plugin catalog has carried the August 2026 core security release and its backports down to 4.7.34 since 8.6.9, and neither field was ever an enum, so nothing was blocked. Only the description was out of date, and that was enough: an agent read it, concluded the tool could not handle the August advisory, and stopped before trying. Both fields now point at `wordpress_run_security_audit` and the catalog rather than naming an advisory, so a future security release cannot make them wrong again. `advisory_ids` on the audit also now says what it actually does, which is get recorded on the receipt without changing which indicators the audit looks for.
|
|
13
|
+
|
|
14
|
+
## [8.2.8] - 2026-08-11
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **`apply_builder_patch` and `update_element`'s `unset` operation had no valid shape a strict client could use.** The write-path handling for removing a stale attribute alias (e.g. a Divi 5 button's leftover `content` key) was already correct; the served tool schema for `operations`/`updates` never documented `unset` as a real property, so a client validating against the schema had nowhere to put it. Both tool definitions now declare it, matching the plugin's REST route and native ability registry, which already did.
|
|
19
|
+
|
|
8
20
|
## [8.2.7] - 2026-08-10
|
|
9
21
|
|
|
10
22
|
### Fixed
|
package/dist/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAkBH,OAAO,KAAK,EAAE,mBAAmB,EAAe,MAAM,kBAAkB,CAAC;AAsHzE;;;;;;;;;;;;;;;;GAgBG;AACH;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,MAAM,CAoBhF;AAiID,qBAAa,sBAAsB;IACjC,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,WAAW,CAAgC;IACnD,OAAO,CAAC,KAAK,CAA2C;IACxD,OAAO,CAAC,aAAa,CAAuB;IAC5C,OAAO,CAAC,cAAc,CAAwB;IAC9C,OAAO,CAAC,YAAY,CAA4B;IAChD,8EAA8E;IAC9E,OAAO,CAAC,YAAY,CAA4B;IAChD,8EAA8E;IAC9E,OAAO,CAAC,mBAAmB,CAAS;IACpC,iFAAiF;IACjF,OAAO,CAAC,iBAAiB,CAAK;IAC9B,iFAAiF;IACjF,OAAO,CAAC,mBAAmB,CAAgC;IAE3D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CAAsB;IAEhE;;;OAGG;IACH,OAAO,CAAC,iBAAiB;IAWzB;;;OAGG;IACH,OAAO,CAAC,iBAAiB;gBA4Bb,WAAW,EAAE,mBAAmB,EAAE,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE;IA6VvE,OAAO,CAAC,cAAc;IAItB;;;;;;;;;OASG;IACH,OAAO,CAAC,oBAAoB;IAkB5B;;;;;;;;;;;OAWG;IACH,OAAO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/C,OAAO,CAAC,0BAA0B,CAAoC;IAEtE;;;;;;;;OAQG;YACW,0BAA0B;YAyC1B,oBAAoB;YA6CpB,2BAA2B;IAQzC;;;;OAIG;YACW,cAAc;IAQ5B,OAAO,CAAC,mBAAmB;IAw9C3B;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAe3C;IAEF;;;;OAIG;IACH,OAAO,CAAC,0BAA0B;YAmCpB,cAAc;IA4G5B,oEAAoE;IACpE,OAAO,CAAC,iBAAiB;IAoBzB;;;;;;;;;;;;;;;;;;;OAmBG;IACH,OAAO,CAAC,eAAe;YAuCT,gBAAgB;IAk4C9B;;OAEG;IACH,OAAO,CAAC,iBAAiB;IA0ZzB;;OAEG;IACH,OAAO,CAAC,sBAAsB;IA6UxB,GAAG;CA+CV"}
|
package/dist/server.js
CHANGED
|
@@ -3185,7 +3185,14 @@ Allowlist: css, scss, less, json. PHP / JS theme writes are intentionally out of
|
|
|
3185
3185
|
},
|
|
3186
3186
|
updates: {
|
|
3187
3187
|
type: 'object',
|
|
3188
|
-
description: 'Patch to merge into the matched element. Same shape as wordpress_update_module.updates: { content?: string, attributes?: object, ...flat_settings_keys? }. Flat keys (admin_label, background_color, font_size, ...) route through the adapter\'s deep-set helper.',
|
|
3188
|
+
description: 'Patch to merge into the matched element. Same shape as wordpress_update_module.updates: { content?: string, attributes?: object, unset?: string[], ...flat_settings_keys? }. Flat keys (admin_label, background_color, font_size, ...) route through the adapter\'s deep-set helper. `unset` is a STRUCTURED array of attribute key names to remove (e.g. ["content"] drops a stale content alias attribute so the module\'s real content attribute takes precedence) — never a single string, and never merged in as literal data.',
|
|
3189
|
+
properties: {
|
|
3190
|
+
unset: {
|
|
3191
|
+
type: 'array',
|
|
3192
|
+
items: { type: 'string' },
|
|
3193
|
+
description: 'Attribute key names to remove from the matched element (e.g. a stale content alias). A single string is also accepted and treated as a one-element list.',
|
|
3194
|
+
},
|
|
3195
|
+
},
|
|
3189
3196
|
},
|
|
3190
3197
|
},
|
|
3191
3198
|
},
|
|
@@ -3573,7 +3580,7 @@ Allowlist: css, scss, less, json. PHP / JS theme writes are intentionally out of
|
|
|
3573
3580
|
advisory_ids: {
|
|
3574
3581
|
type: 'array',
|
|
3575
3582
|
items: { type: 'string' },
|
|
3576
|
-
description: 'Optional reviewed advisory IDs
|
|
3583
|
+
description: 'Optional reviewed advisory IDs, recorded on the receipt as the scope you audited. Recorded only: this does not currently change which indicators the audit looks for.',
|
|
3577
3584
|
},
|
|
3578
3585
|
deep_scan: {
|
|
3579
3586
|
type: 'boolean',
|
|
@@ -3592,11 +3599,11 @@ Allowlist: css, scss, less, json. PHP / JS theme writes are intentionally out of
|
|
|
3592
3599
|
properties: {
|
|
3593
3600
|
advisory_id: {
|
|
3594
3601
|
type: 'string',
|
|
3595
|
-
description: 'Reviewed security advisory ID,
|
|
3602
|
+
description: 'Reviewed security advisory ID. Do not guess it: run respira_run_security_audit first and use the advisory it reports. The approved list lives in the plugin catalog and grows with each WordPress security release, so any advisory named here would go stale.',
|
|
3596
3603
|
},
|
|
3597
3604
|
target_version: {
|
|
3598
3605
|
type: 'string',
|
|
3599
|
-
description: 'Exact approved patch version on
|
|
3606
|
+
description: 'Exact approved patch version for that advisory on this site\'s own release branch, as reported by respira_run_security_audit. The plugin rejects anything outside its catalog, and it will not move a site across branches.',
|
|
3600
3607
|
},
|
|
3601
3608
|
backup_confirmed: {
|
|
3602
3609
|
type: 'boolean',
|
|
@@ -8200,7 +8207,14 @@ Allowlist: css, scss, less, json. PHP / JS theme writes are intentionally out of
|
|
|
8200
8207
|
identifier_value: { type: 'string', description: 'Value to match' },
|
|
8201
8208
|
updates: {
|
|
8202
8209
|
type: 'object',
|
|
8203
|
-
description: 'Key-value pairs of settings to update on the matched element. Do NOT put `edit_target` or `confirm_live_edit` in this object; pass them as top-level params (otherwise they get persisted as element settings).',
|
|
8210
|
+
description: 'Key-value pairs of settings to update on the matched element. Do NOT put `edit_target` or `confirm_live_edit` in this object; pass them as top-level params (otherwise they get persisted as element settings). `unset` is a STRUCTURED array of attribute key names to remove (e.g. ["content"] drops a stale content alias attribute so a different one takes precedence) — never a single string, and never treated as a value to write.',
|
|
8211
|
+
properties: {
|
|
8212
|
+
unset: {
|
|
8213
|
+
type: 'array',
|
|
8214
|
+
items: { type: 'string' },
|
|
8215
|
+
description: 'Attribute key names to remove from the matched element. A single string is also accepted and treated as a one-element list.',
|
|
8216
|
+
},
|
|
8217
|
+
},
|
|
8204
8218
|
},
|
|
8205
8219
|
edit_target: {
|
|
8206
8220
|
type: 'string',
|