blun-king-cli 9.1.380 → 9.1.382
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 -7
- 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
|
@@ -403603,13 +403603,7 @@ const BUILTIN_SLASH_COMMAND_DEFINITIONS = [
|
|
|
403603
403603
|
priority: 80,
|
|
403604
403604
|
argumentHint: "<natürlicher Auftrag>",
|
|
403605
403605
|
liveArgumentHint: loopInputHint,
|
|
403606
|
-
availability:
|
|
403607
|
-
const trimmed = args.trim();
|
|
403608
|
-
if (trimmed === "") return "always";
|
|
403609
|
-
const tokens = trimmed.split(/\s+/);
|
|
403610
|
-
const action = tokens[0]?.toLowerCase();
|
|
403611
|
-
return tokens.length === 1 && (action === "status" || action === "pause" || action === "paused" || action === "stop") ? "always" : "idle-only";
|
|
403612
|
-
}
|
|
403606
|
+
availability: "always"
|
|
403613
403607
|
},
|
|
403614
403608
|
{
|
|
403615
403609
|
name: "init",
|