dsh-neotui 0.1.17 → 0.1.18
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/package.json +1 -1
- package/src/views.js +4 -1
package/package.json
CHANGED
package/src/views.js
CHANGED
|
@@ -1318,7 +1318,10 @@ export class ChatView extends Widget {
|
|
|
1318
1318
|
if (running) {
|
|
1319
1319
|
timing = ` 已经过 ${fmtDuration(Date.now() - (b.startedAt ?? Date.now()))}`;
|
|
1320
1320
|
} else if (b.startedAt !== undefined && b.endedAt !== undefined) {
|
|
1321
|
-
|
|
1321
|
+
// orphan note: the tool's own end timestamp was pruned WITH
|
|
1322
|
+
// its result, so endedAt here is the step-end stamp — the
|
|
1323
|
+
// duration is an upper bound, shown as ≤.
|
|
1324
|
+
timing = ` ${failed ? "失败" : orphan ? "结果未保留" : "已完成"},耗时 ${orphan ? "≤" : ""}${fmtDuration(b.endedAt - b.startedAt)}`;
|
|
1322
1325
|
} else if (orphan) {
|
|
1323
1326
|
timing = " 结果未保留";
|
|
1324
1327
|
}
|