@cmssy/mcp-server 0.131.1 → 0.132.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.
Files changed (2) hide show
  1. package/README.md +6 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -190,14 +190,16 @@ and catches marker mistakes before anything writes to the DB.
190
190
  }
191
191
  ```
192
192
 
193
- Three ops: `insert_before`, `insert_after`, `replace_section`. Every
194
- marker must match **exactly once** - 0 or 2+ matches error out with the
193
+ Four ops: `insert_before`, `insert_after`, `replace_section`, `replace_all`.
194
+ Every marker must match **exactly once** - 0 or 2+ matches error out with the
195
195
  actual count (no silent half-applied state). For `replace_section`,
196
- `startMarker` is inclusive and `endMarker` is exclusive.
196
+ `startMarker` is inclusive and `endMarker` is exclusive. `replace_all` sets the
197
+ whole string and takes `expected`, the current value - refused if it moved.
197
198
 
198
199
  Requires `@cmssy/cli`-registered workspace with `PAGES_EDIT` permission.
199
200
  Default `fieldPath` is `"content"` (the HTML body on docs-article); override
200
- if patching a different string field.
201
+ if patching a different string field. Dot segments reach a nested string, e.g.
202
+ `tabs.0.label` for the first tab's label.
201
203
 
202
204
  ### Model Tools (Custom Data Models)
203
205
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmssy/mcp-server",
3
- "version": "0.131.1",
3
+ "version": "0.132.0",
4
4
  "description": "MCP server for Cmssy - hosted headless CMS with native commerce, run by your AI agent",
5
5
  "mcpName": "io.github.cmssy-io/cmssy-mcp",
6
6
  "homepage": "https://cmssy.com",
@@ -38,7 +38,7 @@
38
38
  "packageManager": "pnpm@11.1.2",
39
39
  "license": "MIT",
40
40
  "dependencies": {
41
- "@cmssy/ai-tools": "0.103.0",
41
+ "@cmssy/ai-tools": "0.104.0",
42
42
  "@cmssy/types": "0.71.0",
43
43
  "@modelcontextprotocol/sdk": "^1.29.0",
44
44
  "zod": "^4.3.6"