@ampless/mcp-server 1.0.0-beta.60 → 1.0.0-beta.61

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/dist/index.js +6 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -264,7 +264,8 @@ var createPostSchema = {
264
264
  description: "tiptap = rich text JSON tree; markdown = source string (GFM extensions enabled); html = raw HTML string (rendered verbatim, no sanitization)."
265
265
  },
266
266
  body: {
267
- description: "tiptap JSON (when format=tiptap), markdown source string (format=markdown), or raw HTML string (format=html)."
267
+ type: ["object", "array", "string"],
268
+ description: "tiptap JSON (when format=tiptap; pass a JSON object/array, NOT a stringified string), markdown source string (format=markdown), or raw HTML string (format=html)."
268
269
  },
269
270
  status: { type: "string", enum: ["draft", "published"], default: "draft" },
270
271
  excerpt: { type: "string" },
@@ -338,7 +339,10 @@ var updatePostSchema = {
338
339
  enum: ["tiptap", "markdown", "html"],
339
340
  description: "tiptap = rich text JSON tree; markdown = source string; html = raw HTML string (no sanitization)."
340
341
  },
341
- body: { description: "tiptap JSON, markdown source, or raw HTML string" },
342
+ body: {
343
+ type: ["object", "array", "string"],
344
+ description: "tiptap JSON (when format=tiptap; pass a JSON object/array, NOT a stringified string), markdown source, or raw HTML string"
345
+ },
342
346
  status: { type: "string", enum: ["draft", "published"] },
343
347
  publishedAt: { type: "string", description: "ISO 8601 timestamp" },
344
348
  tags: { type: "array", items: { type: "string" } },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampless/mcp-server",
3
- "version": "1.0.0-beta.60",
3
+ "version": "1.0.0-beta.61",
4
4
  "description": "MCP tool registry shared by @ampless/backend mcp-handler Lambda. Installed transitively via @ampless/admin / @ampless/backend; no direct install needed.",
5
5
  "publishConfig": {
6
6
  "access": "public"