@kolbo/mcp 1.120.1 → 1.120.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/generate.js +6 -0
package/package.json
CHANGED
package/src/tools/generate.js
CHANGED
|
@@ -1389,7 +1389,13 @@ function registerGenerateTools(server, client, options = {}) {
|
|
|
1389
1389
|
}
|
|
1390
1390
|
};
|
|
1391
1391
|
|
|
1392
|
+
const statusStarted = Date.now();
|
|
1392
1393
|
const results = await Promise.all(ids.map(checkOne));
|
|
1394
|
+
// One stderr line per status call. Hosts keep server stderr in their MCP
|
|
1395
|
+
// logs (Claude Code: mcp-logs-kolbo), and widget polls are otherwise
|
|
1396
|
+
// invisible there — only the model's own calls are logged. wait_seconds
|
|
1397
|
+
// marks a widget poll.
|
|
1398
|
+
process.stderr.write(`[kolbo] get_generation_status ids=${ids.length} wait=${wait ? (wait_seconds || WAIT_WINDOW_S) + 's' : 'no'}${wait_seconds ? ' (widget)' : ''} ${Date.now() - statusStarted}ms states=${results.map(r => r.state).join(',')}\n`);
|
|
1393
1399
|
await Promise.all(results.map(addDisplayNames));
|
|
1394
1400
|
|
|
1395
1401
|
const pending = results.filter(r => r.state !== 'completed' && r.state !== 'failed' && r.state !== 'cancelled');
|