@starreel/mcp 0.1.27 → 0.1.28
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/dist/client.js +2 -2
- package/package.json +1 -1
- package/server.json +2 -2
package/dist/client.js
CHANGED
|
@@ -96,7 +96,7 @@ export class StarReelClient {
|
|
|
96
96
|
body: JSON.stringify(body),
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
|
-
/** 短剧编排产线(网关 /v1/produce/*)。返回
|
|
99
|
+
/** 短剧编排产线(网关 /v1/produce/*)。返回 StarReel 信封里的 data。 */
|
|
100
100
|
async produce(path, init = {}) {
|
|
101
101
|
let res;
|
|
102
102
|
try {
|
|
@@ -116,7 +116,7 @@ export class StarReelClient {
|
|
|
116
116
|
}
|
|
117
117
|
if (!res.ok)
|
|
118
118
|
throw new Error(body?.message ?? body?.error ?? `HTTP ${res.status} on ${path}`);
|
|
119
|
-
return (body?.data ?? body); //
|
|
119
|
+
return (body?.data ?? body); // StarReel 信封 {code,data,message}
|
|
120
120
|
}
|
|
121
121
|
produceGet(path) {
|
|
122
122
|
return this.produce(path, { method: 'GET' });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@starreel/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.28",
|
|
4
4
|
"mcpName": "ai.starreel/starreel",
|
|
5
5
|
"description": "StarReel MCP server — drive the AI short-drama production pipeline (script → storyboards → frames → video → final cut) from Claude, Cursor, or any MCP client",
|
|
6
6
|
"license": "MIT",
|
package/server.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
|
|
3
3
|
"name": "ai.starreel/starreel",
|
|
4
4
|
"description": "Turn a script into a finished, downloadable short-drama episode — via MCP or REST.",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.28",
|
|
6
6
|
"websiteUrl": "https://starreel.ai",
|
|
7
7
|
"packages": [
|
|
8
8
|
{
|
|
9
9
|
"registryType": "npm",
|
|
10
10
|
"identifier": "@starreel/mcp",
|
|
11
|
-
"version": "0.1.
|
|
11
|
+
"version": "0.1.28",
|
|
12
12
|
"transport": { "type": "stdio" },
|
|
13
13
|
"environmentVariables": [
|
|
14
14
|
{
|