@slatesvideo/mcp-server 0.5.20 → 0.5.21

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/server.js +11 -4
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -105,13 +105,20 @@ const OUTPUT_SCHEMAS = {
105
105
  message: { type: 'string' },
106
106
  },
107
107
  },
108
+ // 🚨 The op returns `error: null` and `asset: null` on every in-flight poll
109
+ // and `error: null` on every success; clients validate against this schema,
110
+ // so non-nullable types here rejected EVERY status call (user report
111
+ // 2026-09-14, twelve days after the schema shipped). 'unknown' is the
112
+ // desktop's not-found answer. mcp-instructions-smoke replays these payloads.
108
113
  slates_get_generation_status: {
109
114
  type: 'object',
110
115
  properties: {
111
- status: { type: 'string', enum: ['pending', 'processing', 'completed', 'failed', 'cancelled'] },
112
- error: { type: 'string' },
113
- asset: { type: 'object' },
114
- cost_credits: { type: 'number' },
116
+ status: { type: 'string', enum: ['pending', 'processing', 'completed', 'failed', 'cancelled', 'unknown'] },
117
+ error: { type: ['string', 'null'] },
118
+ asset: { type: ['object', 'null'] },
119
+ cost_credits: { type: ['number', 'null'] },
120
+ model: { type: 'string' },
121
+ completed_at: { type: ['string', 'null'] },
115
122
  },
116
123
  },
117
124
  slates_get_credit_balance: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slatesvideo/mcp-server",
3
- "version": "0.5.20",
3
+ "version": "0.5.21",
4
4
  "description": "MCP server for the Slates desktop app. Your AI agent (ChatGPT via Codex, Claude, Cursor, or another local MCP client) drives a local AI video studio: projects, characters, storyboards, image and video generation. Files land on disk.",
5
5
  "license": "MIT",
6
6
  "type": "module",