@marvalt/digivalt-mcp 0.0.0-stage → 0.4.0
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 +48 -0
- package/LICENSE +674 -0
- package/README.md +66 -3
- package/dist/audit.d.ts +24 -0
- package/dist/audit.js +34 -0
- package/dist/audit.js.map +1 -0
- package/dist/blocks/serialize.d.ts +15 -0
- package/dist/blocks/serialize.js +231 -0
- package/dist/blocks/serialize.js.map +1 -0
- package/dist/catalogue/blocks.d.ts +17 -0
- package/dist/catalogue/blocks.js +37 -0
- package/dist/catalogue/blocks.js.map +1 -0
- package/dist/catalogue/shortcodes.d.ts +49 -0
- package/dist/catalogue/shortcodes.js +384 -0
- package/dist/catalogue/shortcodes.js.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +57 -0
- package/dist/cli.js.map +1 -0
- package/dist/config.d.ts +43 -0
- package/dist/config.js +131 -0
- package/dist/config.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -0
- package/dist/media.d.ts +26 -0
- package/dist/media.js +118 -0
- package/dist/media.js.map +1 -0
- package/dist/publish.d.ts +32 -0
- package/dist/publish.js +74 -0
- package/dist/publish.js.map +1 -0
- package/dist/refresh.d.ts +30 -0
- package/dist/refresh.js +93 -0
- package/dist/refresh.js.map +1 -0
- package/dist/resources/guides.d.ts +2 -0
- package/dist/resources/guides.js +51 -0
- package/dist/resources/guides.js.map +1 -0
- package/dist/server.d.ts +19 -0
- package/dist/server.js +522 -0
- package/dist/server.js.map +1 -0
- package/dist/validate/local.d.ts +17 -0
- package/dist/validate/local.js +75 -0
- package/dist/validate/local.js.map +1 -0
- package/dist/version.d.ts +3 -0
- package/dist/version.js +4 -0
- package/dist/version.js.map +1 -0
- package/dist/wp-client.d.ts +31 -0
- package/dist/wp-client.js +94 -0
- package/dist/wp-client.js.map +1 -0
- package/docs/README.md +98 -0
- package/docs/SECURITY.md +40 -0
- package/package.json +48 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.4.0] - 2026-11-13
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- `promote_page`, `publish_page`, `rollback_page`. Registered only when `DIGIVALT_MCP_PUBLISH_USER` and `DIGIVALT_MCP_PUBLISH_APP_PASSWORD` are set; they use that credential, every other tool keeps the agent user.
|
|
7
|
+
- Person approval for each: MCP elicitation prompt, or a single-use, plan-bound approval code (disabled by `DIGIVALT_MCP_REQUIRE_ELICITATION=true`).
|
|
8
|
+
- Stale-source refusal before prompting, `NO_CHANGES` check, audit fields `publisher`, `approval`, `plan_sha256`, `revision_id`.
|
|
9
|
+
- Write budget (`DIGIVALT_MCP_WRITE_LIMIT`, default 60 per 10 minutes), 500 KB and 12-level nesting caps, credential redaction in returned errors, plain-language hints for the `E_*` codes.
|
|
10
|
+
- `site_info` reports `can_publish` and the approval mode. `docs/SECURITY.md`.
|
|
11
|
+
- Live publish integration test (`DIGIVALT_MCP_IT_PUBLISH_USER` / `_PASSWORD`); test files now run one at a time.
|
|
12
|
+
|
|
13
|
+
### Requires
|
|
14
|
+
- `wp-pagesync` 2.1.0 and WordPress revisions enabled for promote.
|
|
15
|
+
|
|
16
|
+
## [0.3.0] - 2026-11-13
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
- `refresh_static_data` tool (developers): runs the app's `generate` with `VITE_PREVIEW_DRAFTS=true`, returns the overlay summary and a redacted output tail. Refuses unless `VITE_FRONTEND_ID` equals `VITE_STAGING_FRONTEND`. Offered only when started inside an app repository.
|
|
20
|
+
|
|
21
|
+
### Requires
|
|
22
|
+
- `wp-pagesync` 2.1.0 and `@marvalt/digivalt-core` 0.2.50 for the preview overlay.
|
|
23
|
+
|
|
24
|
+
## [0.2.0] - 2026-11-13
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
- Write tools: `create_page`, `update_page`, `set_seo`, `diff_page`, `discard_draft`, `upload_media`.
|
|
28
|
+
- Typed block-tree serializer (`blocks` input) that only emits blocks the frontend renders.
|
|
29
|
+
- Pre-write validation gate, staging-frontend and post-type guards.
|
|
30
|
+
- Media preflight: content-based type check, size and dimension limits, alt required, no SVG.
|
|
31
|
+
- Local audit log (`.digivalt-mcp/audit.jsonl`).
|
|
32
|
+
- Live integration tests for the write path (`DIGIVALT_MCP_IT_PUBLISHED_ID`).
|
|
33
|
+
|
|
34
|
+
### Requires
|
|
35
|
+
- `wp-pagesync` 2.0.2 or later.
|
|
36
|
+
|
|
37
|
+
## [0.1.0] - 2026-11-13
|
|
38
|
+
|
|
39
|
+
### Added
|
|
40
|
+
- Local stdio MCP server `digivalt-mcp`.
|
|
41
|
+
- Tools: `site_info`, `list_post_types`, `list_pages`, `get_page`, `list_blocks`, `list_shortcodes`, `validate_page`.
|
|
42
|
+
- Resources: workflow and layout guides, shortcode and block catalogues.
|
|
43
|
+
- Local renderability validator plus the `wp-pagesync` 2.x server validator.
|
|
44
|
+
- WordPress application-password auth and optional Cloudflare Access service token; Access blocks are detected and explained.
|
|
45
|
+
- Integration test against a real WordPress (set `DIGIVALT_MCP_IT_URL`).
|
|
46
|
+
|
|
47
|
+
### Not yet
|
|
48
|
+
- Write, media, preview, promote, publish and rollback tools.
|