@kolbo/mcp 1.75.2 → 1.75.3

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.2",
3
+ "version": "1.75.3",
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": {
@@ -998,26 +998,29 @@ function registerGenerateTools(server, client, options = {}) {
998
998
  // renderStatusGrid, the one path here that mixes independent
999
999
  // pending/completed/failed items in one grid instead of assuming they all
1000
1000
  // finished together.
1001
- if (ui()) {
1002
- return uiCompleted({
1003
- tool: 'get_generation_status', kind: 'status', client,
1004
- model: 'Generations', gen: { generation_id: ids[0] },
1005
- settings: {},
1006
- items: results.map(r => {
1007
- const res = r.result || {};
1008
- return {
1009
- id: r.generation_id,
1010
- state: r.state,
1011
- title: res.prompt_used || res.prompt || undefined,
1012
- url: Array.isArray(res.urls) ? res.urls[0] : undefined,
1013
- };
1014
- }),
1015
- }, text);
1016
- }
1017
-
1018
- return {
1019
- content: [{ type: 'text', text }]
1020
- };
1001
+ //
1002
+ // Always ship structuredContent, unconditionally — Kolbo Code does NOT
1003
+ // advertise MCP Apps, so gating this behind ui()/appsEnabled() (as this
1004
+ // used to) left that host with text only, and its own generic fallback
1005
+ // renderer built a plain status list with no thumbnails, exactly the
1006
+ // "black tile" class of bug already fixed the same way in media.js /
1007
+ // moodboards.js / visual_dna.js / listResult(). uiResult always embeds
1008
+ // both text and structuredContent, so hosts without a UI-app renderer
1009
+ // are unaffected — only the fallback quality changes.
1010
+ return uiCompleted({
1011
+ tool: 'get_generation_status', kind: 'status', client,
1012
+ model: 'Generations', gen: { generation_id: ids[0] },
1013
+ settings: {},
1014
+ items: results.map(r => {
1015
+ const res = r.result || {};
1016
+ return {
1017
+ id: r.generation_id,
1018
+ state: r.state,
1019
+ title: res.prompt_used || res.prompt || undefined,
1020
+ url: Array.isArray(res.urls) ? res.urls[0] : undefined,
1021
+ };
1022
+ }),
1023
+ }, text);
1021
1024
  }
1022
1025
  );
1023
1026