@kolbo/mcp 1.96.3 → 1.97.0

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.96.3",
3
+ "version": "1.97.0",
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": {
@@ -288,7 +288,7 @@ function resolutionLabel(sc) {
288
288
  var s = sc.settings || {};
289
289
  var resolution = String(s.resolution || '');
290
290
  var model = String(sc.model || '');
291
- var draft = /-draft$/i.test(resolution) || /-draft$/i.test(model) || s.is_draft === true || sc.is_draft === true;
291
+ var draft = s.is_draft === false || sc.is_draft === false ? false : /-draft$/i.test(resolution) || /-draft$/i.test(model) || s.is_draft === true || sc.is_draft === true;
292
292
  var pixels = resolution.replace(/-draft$/i, '');
293
293
  return draft ? (pixels ? pixels + ' Draft' : 'Draft') : resolution;
294
294
  }
@@ -1387,7 +1387,7 @@ function preRefSc(toolName, a) {
1387
1387
  PRE_AUDIO_KEYS.forEach(function (k) { take(a[k], aud); });
1388
1388
  return {
1389
1389
  tool: toolName,
1390
- is_draft: /-draft$/i.test(String(a.model || '')),
1390
+ is_draft: typeof a.draft === 'boolean' ? a.draft : /-draft$/i.test(String(a.model || '')) ? true : undefined,
1391
1391
  kind: kindFromTool(toolName, null),
1392
1392
  count: a.num_images || (Array.isArray(a.prompts) ? a.prompts.length : 1),
1393
1393
  reference_images: img,
@@ -1395,7 +1395,7 @@ function preRefSc(toolName, a) {
1395
1395
  reference_audio: aud,
1396
1396
  settings: {
1397
1397
  duration: a.duration,
1398
- resolution: a.resolution,
1398
+ resolution: a.draft === true ? '480p-draft' : a.draft === false ? String(a.resolution || '').replace(/-draft$/i, '') : a.resolution,
1399
1399
  aspect_ratio: a.aspect_ratio,
1400
1400
  quality: a.quality,
1401
1401
  mode: a.mode,
@@ -1464,7 +1464,8 @@ function liveFromTimedOut(sc) {
1464
1464
  model: sc.model || originArgs.model,
1465
1465
  settings: {
1466
1466
  duration: originArgs.duration,
1467
- resolution: originArgs.resolution,
1467
+ is_draft: originArgs.draft,
1468
+ resolution: originArgs.draft === true ? '480p-draft' : originArgs.draft === false ? String(originArgs.resolution || '').replace(/-draft$/i, '') : originArgs.resolution,
1468
1469
  aspect_ratio: originArgs.aspect_ratio,
1469
1470
  quality: originArgs.quality,
1470
1471
  visual_dna_ids: originArgs.visual_dna_ids,
@@ -1492,7 +1493,8 @@ function completedFromPlain(sc) {
1492
1493
  model: sc.model || originArgs.model,
1493
1494
  settings: {
1494
1495
  duration: sc.duration || originArgs.duration,
1495
- resolution: originArgs.resolution,
1496
+ is_draft: originArgs.draft,
1497
+ resolution: originArgs.draft === true ? '480p-draft' : originArgs.draft === false ? String(originArgs.resolution || '').replace(/-draft$/i, '') : originArgs.resolution,
1496
1498
  aspect_ratio: originArgs.aspect_ratio,
1497
1499
  quality: originArgs.quality
1498
1500
  },