blun-king-cli 9.1.160 → 9.1.162
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.
|
@@ -82,15 +82,15 @@ function createDeferredToolLoader(selectedTools, deferredTools, loadedToolNames
|
|
|
82
82
|
const name = String(tool?.name || '').trim();
|
|
83
83
|
if (name && !available.has(name)) available.set(name, tool);
|
|
84
84
|
}
|
|
85
|
-
const
|
|
85
|
+
const deferredCount = available.size;
|
|
86
|
+
const deferredLabel = deferredCount === 1 ? 'tool schema' : 'tool schemas';
|
|
86
87
|
|
|
87
88
|
return {
|
|
88
89
|
name: DEFERRED_TOOL_LOADER_NAME,
|
|
89
90
|
description: [
|
|
90
|
-
|
|
91
|
+
`Search ${deferredCount} deferred ${deferredLabel} without loading all definitions.`,
|
|
91
92
|
'Use select:leaf_name for one known tool, plain keywords to search, or +word to require that word in the tool name.',
|
|
92
93
|
`Loaded tools are available in the next step; the ${MAX_PERSISTENT_DEFERRED_TOOLS} most recently selected schemas remain loaded.`,
|
|
93
|
-
`Available deferred selectors: ${catalog.join(', ')}`,
|
|
94
94
|
].join('\n'),
|
|
95
95
|
parameters: {
|
|
96
96
|
type: 'object',
|