@kolbo/mcp 1.76.1 → 1.76.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/tools/_shared.js +5 -1
- package/src/tools/generate.js +0 -1
package/package.json
CHANGED
package/src/tools/_shared.js
CHANGED
|
@@ -639,7 +639,11 @@ async function uiCompleted(p, textPayload, extraContent) {
|
|
|
639
639
|
...chip,
|
|
640
640
|
prompt: p.prompt,
|
|
641
641
|
count: p.count || 1,
|
|
642
|
-
|
|
642
|
+
// Omitted entirely when the caller has none. A live generation card merges
|
|
643
|
+
// an incoming status payload over its own state, so an empty-but-present
|
|
644
|
+
// `settings` wiped the resolution / aspect / DNA chips off the finished
|
|
645
|
+
// card. Every reader already does `sc.settings || {}`.
|
|
646
|
+
...(p.settings ? { settings: p.settings } : {}),
|
|
643
647
|
visual_dnas: await resolveVisualDnas(p.client, (p.settings || {}).visual_dna_ids),
|
|
644
648
|
reference_images: Array.isArray(p.reference_images)
|
|
645
649
|
? p.reference_images.filter(Boolean)
|
package/src/tools/generate.js
CHANGED
|
@@ -1044,7 +1044,6 @@ function registerGenerateTools(server, client, options = {}) {
|
|
|
1044
1044
|
// generation, so 'Generations' here overwrote the real model name on
|
|
1045
1045
|
// the finished card the moment the live widget merged this payload in.
|
|
1046
1046
|
model: res.model || 'Generations', gen: { generation_id: single.generation_id },
|
|
1047
|
-
settings: {},
|
|
1048
1047
|
state: single.state,
|
|
1049
1048
|
urls: done ? urls : undefined,
|
|
1050
1049
|
thumbnail_url: res.thumbnail_url,
|