mocode-ai 1.0.1 → 1.0.2
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/dist/ui/batch.js +2 -2
- package/package.json +1 -1
package/dist/ui/batch.js
CHANGED
|
@@ -151,8 +151,8 @@ function buildExpandedLines(entries) {
|
|
|
151
151
|
return entries.map((e, index) => {
|
|
152
152
|
const result = e.resultSummary ? ` ${ui.gray}↳ ${e.resultSummary}${ui.reset}` : '';
|
|
153
153
|
const branch = index === entries.length - 1 ? '└─' : '├─';
|
|
154
|
-
const
|
|
155
|
-
return ` ${ui.dim}${branch}${ui.reset} ${
|
|
154
|
+
const failure = e.failed ? `${ui.red}×${ui.reset} ` : '';
|
|
155
|
+
return ` ${ui.dim}${branch}${ui.reset} ${failure}${ui.accent}${e.name}${ui.reset} ${ui.dim}${e.callSummary}${ui.reset}${result}\x1B[0m`;
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
158
|
function entryDetailIndent(entries, index) {
|