@starreel/mcp 0.1.26 → 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 CHANGED
@@ -96,7 +96,7 @@ export class StarReelClient {
96
96
  body: JSON.stringify(body),
97
97
  });
98
98
  }
99
- /** 短剧编排产线(网关 /v1/produce/*)。返回 huobao 信封里的 data。 */
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); // huobao 信封 {code,data,message}
119
+ return (body?.data ?? body); // StarReel 信封 {code,data,message}
120
120
  }
121
121
  produceGet(path) {
122
122
  return this.produce(path, { method: 'GET' });
@@ -367,7 +367,7 @@ export function registerProduceTools(server, client) {
367
367
  in_ms: z.number().int().min(0).optional(),
368
368
  out_ms: z.number().int().min(0).optional(),
369
369
  }, async ({ storyboard_id, in_ms, out_ms }) => jsonResult(await client.producePut(`/storyboards/${storyboard_id}/trim`, { in_ms, out_ms })));
370
- server.tool('update_shot', '逐镜编辑:改单个分镜的文本内容(景别/动作/台词/画面描述/运镜/提示词等)与角色绑定(character_ids)。只传要改的字段、其余不动。' +
370
+ server.tool('update_shot', '逐镜编辑:改单个分镜的文本内容(景别/动作/台词/画面描述/运镜等)与角色绑定(character_ids)。只传要改的字段、其余不动。' +
371
371
  '**免费**(纯文本写库)。★改 dialogue 会自动失效本镜已生成的 TTS 配音与字幕(需重出 tts);' +
372
372
  '改文本不会自动重出图/视频,如需让画面跟上文本改动,改完再 regen 对应镜。用 get_storyboards 查改后结果。', {
373
373
  storyboard_id: z.number().int().positive(),
@@ -383,8 +383,6 @@ export function registerProduceTools(server, client) {
383
383
  location: z.string().optional().describe('地点'),
384
384
  time: z.string().optional().describe('时间/时段'),
385
385
  atmosphere: z.string().optional().describe('氛围'),
386
- video_prompt: z.string().optional().describe('视频生成提示词'),
387
- image_prompt: z.string().optional().describe('图像生成提示词'),
388
386
  director_note: z.string().optional().describe('导演注释'),
389
387
  shot_intent: z.string().optional().describe('这镜为什么存在(叙事意图)'),
390
388
  }, async ({ storyboard_id, ...fields }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starreel/mcp",
3
- "version": "0.1.26",
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.26",
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.26",
11
+ "version": "0.1.28",
12
12
  "transport": { "type": "stdio" },
13
13
  "environmentVariables": [
14
14
  {