@kolbo/mcp 1.106.1 → 1.106.2
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 +1 -1
- package/src/apps/theme.js +0 -2
- package/src/apps/widgets/generation.js +4 -12
package/package.json
CHANGED
package/src/apps/theme.js
CHANGED
|
@@ -335,8 +335,6 @@ video::-webkit-media-controls-fullscreen-button { display: none !important; }
|
|
|
335
335
|
hover-only Download / Attach buttons were simply invisible. */
|
|
336
336
|
@media (hover: none) { .k-dl { opacity: 1; } }
|
|
337
337
|
.k-dl:hover { background: var(--brand); border-color: var(--brand); }
|
|
338
|
-
/* Attach-to-prompt sits immediately left of Download (30px button + 8px gap). */
|
|
339
|
-
.k-attach { right: 46px; }
|
|
340
338
|
.k-viewer { position: relative; }
|
|
341
339
|
|
|
342
340
|
/* Keep the whole completed card under the host's iframe height cap (~800px):
|
|
@@ -1040,12 +1040,10 @@ function renderLinks(urls) {
|
|
|
1040
1040
|
// Small hover download button attached to a media cell (per-item downloads —
|
|
1041
1041
|
// batch grids and CD scenes have no single "current" url for the action row).
|
|
1042
1042
|
function dlBtnHTML(u) {
|
|
1043
|
-
//
|
|
1044
|
-
//
|
|
1045
|
-
// media
|
|
1046
|
-
return '<button class="k-dl
|
|
1047
|
-
+ ICONS.upload + '</button>'
|
|
1048
|
-
+ '<button class="k-dl" data-dl="' + esc(u) + '" title="Download" aria-label="Download">' + ICONS.download + '</button>';
|
|
1043
|
+
// Download only. The "attach to prompt" button that sat beside it was
|
|
1044
|
+
// removed: no host (claude.ai, ChatGPT, Claude Code, Kolbo Code) reliably
|
|
1045
|
+
// put the media into the composer, so it read as a dead upload button.
|
|
1046
|
+
return '<button class="k-dl" data-dl="' + esc(u) + '" title="Download" aria-label="Download">' + ICONS.download + '</button>';
|
|
1049
1047
|
}
|
|
1050
1048
|
function wireDlButtons(root) {
|
|
1051
1049
|
Array.prototype.forEach.call((root || document).querySelectorAll('.k-dl[data-dl]'), function (b) {
|
|
@@ -1054,12 +1052,6 @@ function wireDlButtons(root) {
|
|
|
1054
1052
|
window.kolbo.openLink(downloadUrl(b.getAttribute('data-dl')));
|
|
1055
1053
|
};
|
|
1056
1054
|
});
|
|
1057
|
-
Array.prototype.forEach.call((root || document).querySelectorAll('.k-attach[data-attach]'), function (b) {
|
|
1058
|
-
b.onclick = function (e) {
|
|
1059
|
-
e.stopPropagation();
|
|
1060
|
-
window.kolbo.attachMedia(b.getAttribute('data-attach'));
|
|
1061
|
-
};
|
|
1062
|
-
});
|
|
1063
1055
|
}
|
|
1064
1056
|
|
|
1065
1057
|
// CD scenes render as the SAME viewer+thumbnail carousel as image batches —
|