@usabledev/usable-chat 1.162.3 → 1.164.0
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/cli.js +5 -2
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -285922,6 +285922,9 @@ function shouldRecoverSilentStop({
|
|
|
285922
285922
|
}) {
|
|
285923
285923
|
return !recoveryAttempted && !text3?.trim() && (lastStepHadToolErrors || lastStepHadToolActivity);
|
|
285924
285924
|
}
|
|
285925
|
+
function shouldInjectVisualizationPrompt(config3) {
|
|
285926
|
+
return !config3.localFilesystem && config3.visualizationsEnabled !== false;
|
|
285927
|
+
}
|
|
285925
285928
|
function getBuiltInDataParentToolName(toolName) {
|
|
285926
285929
|
if (!toolName.startsWith("parent_")) return null;
|
|
285927
285930
|
const parentToolName = toolName.slice("parent_".length);
|
|
@@ -288398,7 +288401,7 @@ You have access to ${capabilities.join(" and ")}. Use exa-search when you need t
|
|
|
288398
288401
|
hasContentExtraction: "exa-get-contents" in mcpTools
|
|
288399
288402
|
});
|
|
288400
288403
|
}
|
|
288401
|
-
if (
|
|
288404
|
+
if (shouldInjectVisualizationPrompt(config3)) {
|
|
288402
288405
|
systemMessageParts.push(VISUALIZATION_PROMPT);
|
|
288403
288406
|
}
|
|
288404
288407
|
if (context.registeredParentToolSchemas && DATA_TOOL_NAMES.some((n31) => context.registeredParentToolSchemas.has(n31))) {
|
|
@@ -308936,7 +308939,7 @@ init_tui_select();
|
|
|
308936
308939
|
init_model_registry();
|
|
308937
308940
|
|
|
308938
308941
|
// package.json
|
|
308939
|
-
var version2 = "1.
|
|
308942
|
+
var version2 = "1.164.0";
|
|
308940
308943
|
|
|
308941
308944
|
// src/adapters/cli/model-catalog.ts
|
|
308942
308945
|
init_codex_auth();
|