orquesta-cli 0.2.10 → 0.2.12
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.
|
@@ -360,7 +360,7 @@ export class ConfigManager {
|
|
|
360
360
|
}
|
|
361
361
|
getLocalOnlyEndpoints() {
|
|
362
362
|
const config = this.getConfig();
|
|
363
|
-
return config.endpoints;
|
|
363
|
+
return config.endpoints.filter((ep) => ep.provider !== 'batuta' && ep.id !== 'batuta-proxy' && !/^batuta(\s|\b)/i.test(ep.name || ''));
|
|
364
364
|
}
|
|
365
365
|
getOrchestrationConfig() {
|
|
366
366
|
return this.config?.orchestration ?? {};
|
|
@@ -1158,14 +1158,27 @@ export const PlanExecuteApp = ({ llmClient: initialLlmClient, modelInfo }) => {
|
|
|
1158
1158
|
}
|
|
1159
1159
|
case 'tool_result':
|
|
1160
1160
|
return null;
|
|
1161
|
-
case 'shell_result':
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1161
|
+
case 'shell_result': {
|
|
1162
|
+
const SHELL_MAX_LINES = 8;
|
|
1163
|
+
const allLines = (entry.content || '').split('\n');
|
|
1164
|
+
const shown = allLines.slice(0, SHELL_MAX_LINES).join('\n');
|
|
1165
|
+
const extra = allLines.length - SHELL_MAX_LINES;
|
|
1166
|
+
return (React.createElement(Box, { key: entry.id, flexDirection: "column", marginLeft: 2 },
|
|
1167
|
+
React.createElement(Box, null,
|
|
1168
|
+
React.createElement(Text, { color: "gray" }, "\u23BF "),
|
|
1169
|
+
React.createElement(Text, { color: entry.success ? 'white' : 'red', dimColor: true }, shown)),
|
|
1170
|
+
extra > 0 && (React.createElement(Text, { color: "gray", dimColor: true },
|
|
1171
|
+
' ',
|
|
1172
|
+
"\u2026 +",
|
|
1173
|
+
extra,
|
|
1174
|
+
" more line",
|
|
1175
|
+
extra > 1 ? 's' : ''))));
|
|
1176
|
+
}
|
|
1165
1177
|
case 'tell_user':
|
|
1166
|
-
return (React.createElement(Box, { key: entry.id, marginTop: 1 },
|
|
1167
|
-
React.createElement(Text, { color: "
|
|
1168
|
-
React.createElement(
|
|
1178
|
+
return (React.createElement(Box, { key: entry.id, flexDirection: "column", marginTop: 1, marginBottom: 1 },
|
|
1179
|
+
React.createElement(Text, { color: "green", bold: true }, "\u25CF Response"),
|
|
1180
|
+
React.createElement(Box, { paddingLeft: 2 },
|
|
1181
|
+
React.createElement(MarkdownRenderer, { content: entry.content }))));
|
|
1169
1182
|
case 'plan_created':
|
|
1170
1183
|
return (React.createElement(Box, { key: entry.id, flexDirection: "column", marginTop: 1 },
|
|
1171
1184
|
React.createElement(Text, { color: "magenta", bold: true },
|