@kolbo/mcp 1.75.6 → 1.75.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolbo/mcp",
3
- "version": "1.75.6",
3
+ "version": "1.75.7",
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": {
@@ -133,9 +133,18 @@ function boot(sc) {
133
133
  makeExpandable(el('prompt'));
134
134
  renderChips(sc);
135
135
  el('credits').textContent = sc.credits_used != null ? fmtCredits(sc.credits_used) : '';
136
- if (sc.phase === 'generating') renderGenerating(sc);
137
- else if (sc.phase === 'failed') renderError(sc.error || 'Generation failed');
138
- else renderResult(sc);
136
+ // Every legitimate completed payload sets phase:'completed' explicitly
137
+ // (uiCompleted, completedFromPlain, the visual_dna character-sheet path)
138
+ // there is no real case where "no media yet" should render as a result.
139
+ // A host that sends some OTHER phase string here (e.g. a host-side
140
+ // pre-flight envelope built before the tool call even ran) used to fall
141
+ // through straight to renderResult with no urls/scenes, rendering as a
142
+ // broken/empty "completed" card — indistinguishable from a real failure —
143
+ // for however long that phase lingered. Default anything unrecognized to
144
+ // "still working" instead of assuming it's done.
145
+ if (sc.phase === 'failed') renderError(sc.error || 'Generation failed');
146
+ else if (sc.phase === 'completed') renderResult(sc);
147
+ else renderGenerating(sc);
139
148
  window.kolbo.notifySize();
140
149
  }
141
150