@kolbo/mcp 1.113.0 → 1.113.1

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.113.0",
3
+ "version": "1.113.1",
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": {
@@ -11,7 +11,7 @@
11
11
  "smoke": "node scripts/smoke.js",
12
12
  "check-skill-bundle": "node scripts/check-skill-bundle.js",
13
13
  "check-parity": "node scripts/check-parity.js",
14
- "prepublishOnly": "node --test test/flow-tools.test.js && node --test test/widget-resource-versions.test.js && node scripts/smoke.js && node scripts/check-tool-contract.js && node --test test/blender-tools.test.js && node scripts/check-skill-bundle.js && node scripts/check-parity.js && node scripts/check-widget-fields.js && node scripts/check-widget-render.js && node scripts/check-model-catalog.js && node scripts/check-skill-tools.js && node scripts/check-doctrine-parity.js && node scripts/check-submission-contract.js && node scripts/check-install.js",
14
+ "prepublishOnly": "node --test test/flow-tools.test.js && node --test test/widget-resource-versions.test.js test/reference-preview-inline.test.js && node scripts/smoke.js && node scripts/check-tool-contract.js && node --test test/blender-tools.test.js && node scripts/check-skill-bundle.js && node scripts/check-parity.js && node scripts/check-widget-fields.js && node scripts/check-widget-render.js && node scripts/check-model-catalog.js && node scripts/check-skill-tools.js && node scripts/check-doctrine-parity.js && node scripts/check-submission-contract.js && node scripts/check-install.js",
15
15
  "check-model-catalog": "node scripts/check-model-catalog.js",
16
16
  "check-widget-fields": "node scripts/check-widget-fields.js",
17
17
  "check-widget-render": "node scripts/check-widget-render.js",
package/src/apps/html.js CHANGED
@@ -225,7 +225,11 @@ document.addEventListener('click', function (e) {
225
225
  list.push(it);
226
226
  });
227
227
  var at = peekItem(node);
228
- openPeek(at.url, at.kind, at.cap, { list: list, time: +node.getAttribute('data-peek-time') || 0 });
228
+ openPeek(at.url, at.kind, at.cap, {
229
+ list: list,
230
+ time: +node.getAttribute('data-peek-time') || 0,
231
+ inline: node.getAttribute('data-peek-inline') === 'true'
232
+ });
229
233
  }, true);
230
234
  var peekList = [];
231
235
  var peekIndex = 0;
@@ -298,7 +302,9 @@ function openPeek(url, kind, cap, opts) {
298
302
  box.hidden = false;
299
303
  document.documentElement.classList.add('k-peek-open');
300
304
  if (window.kolbo && window.kolbo.notifySize) window.kolbo.notifySize();
301
- if (peekWentFullscreen || !window.kolbo || !window.kolbo.requestDisplayMode) return;
305
+ // Reference previews stay in the chat card instead of handing placement to
306
+ // the host's fullscreen surface. Result previews keep their existing expand.
307
+ if (opts.inline || peekWentFullscreen || !window.kolbo || !window.kolbo.requestDisplayMode) return;
302
308
  try {
303
309
  window.kolbo.requestDisplayMode('fullscreen').then(function (res) {
304
310
  if (!(res && res.mode === 'fullscreen')) return;
@@ -423,7 +423,7 @@ function referenceHTML(sc) {
423
423
  for (var i = 0; i < refs.length; i++) {
424
424
  var url = esc(refs[i].url);
425
425
  var title = 'Reference ' + refs[i].kind + ' ' + (i + 1) + ' of ' + refs.length;
426
- var peek = ' data-peek="' + url + '" data-peek-kind="' + refs[i].kind + '" data-peek-cap="' + title + '"';
426
+ var peek = ' data-peek="' + url + '" data-peek-kind="' + refs[i].kind + '" data-peek-cap="' + title + '" data-peek-inline="true"';
427
427
  if (refs[i].kind === 'video') {
428
428
  // #t=0.1 so the poster is a real frame, not a black canvas.
429
429
  h += '<video class="k-ref-thumb k-peek-hit" src="' + url + '#t=0.1" muted playsinline preload="metadata" title="'