@kolbo/mcp 1.75.4 → 1.75.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolbo/mcp",
3
- "version": "1.75.4",
3
+ "version": "1.75.5",
4
4
  "description": "Kolbo AI MCP Server - Generate images, videos, music, speech, and sound effects from Claude Code",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -476,7 +476,7 @@ function registerGenerateTools(server, client, options = {}) {
476
476
  video_urls: s.video_urls || null
477
477
  }));
478
478
  const completed = scenes.filter(s => s.status === 'completed').length;
479
- return { content: [{ type: 'text', text: JSON.stringify({
479
+ const text = JSON.stringify({
480
480
  ...creditFields(status),
481
481
  state: status.state,
482
482
  generation_id,
@@ -487,7 +487,23 @@ function registerGenerateTools(server, client, options = {}) {
487
487
  _hint: status.state === 'completed'
488
488
  ? 'All scenes terminal. Every completed scene\'s image_urls/video_urls are final.'
489
489
  : `Still running — not a failure. Each wait=true call blocks for at most ~${WAIT_WINDOW_S}s, and a video batch routinely outlasts several windows, so call get_creative_director_status again with wait=true and keep going until state is terminal. Scenes that already carry image_urls/video_urls are done; never re-run generate_creative_director.`
490
- }, null, 2) }] };
490
+ }, null, 2);
491
+ // Same text-only gap as get_generation_status/pollBatch, called out in
492
+ // this tool's own comment above ("especially parallel VIDEO scenes that
493
+ // exceed the blocking poll window") — a CD batch checked here after
494
+ // outliving one wait window rendered as a bare JSON dump, no scene
495
+ // thumbnails. Always ship the same kind:'status' grid, one item per scene.
496
+ return uiCompleted({
497
+ tool: 'get_creative_director_status', kind: 'status', client,
498
+ model: 'Generations', gen: { generation_id },
499
+ settings: {},
500
+ items: scenes.map(s => ({
501
+ id: generation_id + '-' + s.scene_number,
502
+ state: s.status,
503
+ title: s.title || ('Scene ' + s.scene_number),
504
+ url: (Array.isArray(s.image_urls) && s.image_urls[0]) || (Array.isArray(s.video_urls) && s.video_urls[0]) || undefined,
505
+ })),
506
+ }, text);
491
507
  }
492
508
  );
493
509