@diviops/mcp-server 1.5.49 → 1.5.50
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/README.md +9 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,7 +8,15 @@ The Node.js MCP server inside the DiviOps harness. It gives Claude Code, Codex,
|
|
|
8
8
|
Claude Code <-> MCP Server (stdio) <-> WordPress REST API <-> DiviOps Agent plugin
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## 1.5.
|
|
11
|
+
## 1.5.50 candidate release note
|
|
12
|
+
|
|
13
|
+
Clarifies that the existing status tool targets standard WordPress Posts and
|
|
14
|
+
Pages, not custom post types or attachments. Free Agent 1.5.20 corrects the
|
|
15
|
+
endpoint's rejection of standard Posts while preserving edit and applicable
|
|
16
|
+
publish permissions before dry-run plans and no-op responses. Existing request
|
|
17
|
+
shapes and scheduling rules are unchanged; no Pro update is required.
|
|
18
|
+
|
|
19
|
+
## Previous 1.5.49 candidate release note
|
|
12
20
|
|
|
13
21
|
- Adds bounded staff-body source/target evidence and preflight, plus guarded Pro
|
|
14
22
|
apply dispatch to one existing isolated target body. Target records supply
|
package/dist/index.js
CHANGED
|
@@ -1940,7 +1940,7 @@ registerPluginTool("diviops_page_trash", {
|
|
|
1940
1940
|
};
|
|
1941
1941
|
});
|
|
1942
1942
|
registerPluginTool("diviops_page_update_status", {
|
|
1943
|
-
description: "Update a page's post_status. Valid statuses: publish, draft, private, pending, future. status='future' requires date_gmt (ISO 8601 UTC, must be in the future) — server writes both post_date_gmt and the site-tz post_date so WP's scheduler picks it up. status='publish' on a previously-scheduled post clears the future date so it publishes immediately. Idempotent: same-status update returns ok:true with `data.noop = true`. Pass dry_run=true to preview the standard `data.plan = { summary, changes[] }` without mutating. Replaces wp-cli `post update --post_status=...` routing. Returns the standardized envelope { ok, data?, error: { code, message, hint? } }; missing post_id returns 'not_found', edit-permission failures return 'forbidden' (HTTP 403); status enum violations and date_gmt validation failures return 'invalid_input' with `error.data` documenting the field.",
|
|
1943
|
+
description: "Update a standard WordPress post or page's post_status; custom post types and attachments are not supported. Valid statuses: publish, draft, private, pending, future. status='future' requires date_gmt (ISO 8601 UTC, must be in the future) — server writes both post_date_gmt and the site-tz post_date so WP's scheduler picks it up. status='publish' on a previously-scheduled post clears the future date so it publishes immediately. Idempotent: same-status update returns ok:true with `data.noop = true`. Pass dry_run=true to preview the standard `data.plan = { summary, changes[] }` without mutating. Replaces wp-cli `post update --post_status=...` routing. Returns the standardized envelope { ok, data?, error: { code, message, hint? } }; missing post_id returns 'not_found', edit-permission failures return 'forbidden' (HTTP 403); status enum violations and date_gmt validation failures return 'invalid_input' with `error.data` documenting the field.",
|
|
1944
1944
|
inputSchema: {
|
|
1945
1945
|
post_id: z.number().int().describe("WordPress post/page ID"),
|
|
1946
1946
|
status: z
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diviops/mcp-server",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.50",
|
|
4
4
|
"description": "MCP server exposing Divi 5 Visual Builder as tools for Claude",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
65
65
|
"body-parser": "2.3.0",
|
|
66
66
|
"fast-uri": "3.1.7",
|
|
67
|
-
"hono": "4.13.
|
|
67
|
+
"hono": "4.13.5",
|
|
68
68
|
"ip-address": "10.5.0",
|
|
69
69
|
"zod": "^4.3.6"
|
|
70
70
|
},
|