@wavespeed/mcp 1.0.6 → 1.0.7

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 CHANGED
@@ -9,6 +9,13 @@
9
9
 
10
10
  # WaveSpeed MCP Server
11
11
 
12
+ <a href="https://cursor.com/install-mcp?name=wavespeed&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB3YXZlc3BlZWQvbWNwIl0sImVudiI6eyJXQVZFU1BFRURfQVBJX0tFWSI6Indza18uLi4ifX0%3D">
13
+ <picture>
14
+ <source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/deeplink/mcp-install-light.svg">
15
+ <img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Add wavespeed MCP server to Cursor" height="32"/>
16
+ </picture>
17
+ </a>
18
+
12
19
  <!-- mcp-name: ai.wavespeed/mcp -->
13
20
 
14
21
  An MCP server for the [WaveSpeed](https://wavespeed.ai) platform: run any model on the **live catalog** — image, video, audio, 3D — from Claude Code, Claude Desktop, Cursor, Cline, or any MCP client.
@@ -76,3 +83,8 @@ npm run build # tsc → dist/
76
83
  ## License
77
84
 
78
85
  [MIT](LICENSE)
86
+
87
+ ---
88
+
89
+ **[WaveSpeed AI](https://wavespeed.ai/)** — AI image & video generation platform.
90
+ Try it in the browser: **[Image generator](https://wavespeed.ai/image-generator)** · **[Video generator](https://wavespeed.ai/video-generator)**
package/dist/lib/api.js CHANGED
@@ -133,7 +133,7 @@ export async function waitForPrediction(id, opts = {}) {
133
133
  const item = await fetchPrediction(id);
134
134
  if (item.status === 'completed')
135
135
  return item;
136
- if (item.status === 'failed' || item.status === 'cancelled' || item.status === 'timeout') {
136
+ if (item.status === 'failed' || item.status === 'cancelled' || item.status === 'timeout' || item.status === 'deleted') {
137
137
  throw new Error(`Prediction ${item.status}${item.error ? `: ${item.error}` : ''} (task_id: ${id})`);
138
138
  }
139
139
  if (deadline && Date.now() > deadline) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavespeed/mcp",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "WaveSpeed MCP server \u2014 run any model on the live WaveSpeed catalog (image, video, audio, 3D) with schema introspection, local-file upload, and price quotes.",
5
5
  "type": "module",
6
6
  "bin": {