blun-king-cli 9.1.379 → 9.1.381
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/bin/turn-tool-performance-policy.cjs +6 -1
- package/blun.mjs +1 -0
- package/package.json +1 -1
|
@@ -279,11 +279,16 @@ function createDeferredToolLoader(selectedTools, deferredTools, loadedToolNames
|
|
|
279
279
|
output: `Tool schema already loaded: ${alreadyLoaded[0].name}. Invoke it now.`,
|
|
280
280
|
};
|
|
281
281
|
}
|
|
282
|
+
const loaderIndex = selectedTools.findIndex(
|
|
283
|
+
(tool) => tool?.name === DEFERRED_TOOL_LOADER_NAME,
|
|
284
|
+
);
|
|
285
|
+
if (loaderIndex >= 0) selectedTools.splice(loaderIndex, 1);
|
|
282
286
|
return {
|
|
283
287
|
isError: false,
|
|
284
288
|
output: [
|
|
285
289
|
`No eligible deferred tool is available for: ${query || '[empty query]'}.`,
|
|
286
|
-
'Do not retry ToolSearch with synonyms;
|
|
290
|
+
'Do not retry ToolSearch with synonyms; removed for this turn.',
|
|
291
|
+
'use a loaded alternative or report the integration as unavailable.',
|
|
287
292
|
].join(' '),
|
|
288
293
|
};
|
|
289
294
|
}
|
package/blun.mjs
CHANGED
|
@@ -517431,6 +517431,7 @@ var BlunTUI = class {
|
|
|
517431
517431
|
})), ...this.state.queuedMessages];
|
|
517432
517432
|
this.updateQueueDisplay();
|
|
517433
517433
|
this.state.ui.requestRender();
|
|
517434
|
+
if (this.state.queuedMessages[0]?.mode === "channel") this.channelQueueDeadline.requestDeliveryNow();
|
|
517434
517435
|
this.scheduleQueueDrain();
|
|
517435
517436
|
return false;
|
|
517436
517437
|
}
|