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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/views.js +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-neotui",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Neo-TUI: mouse-driven terminal UI client for DeepSeek Harness (B-tier per dsh-tui-design.md)",
5
5
  "type": "module",
6
6
  "bin": {
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
- timing = ` ${failed ? "失败" : orphan ? "结果未保留" : "已完成"},耗时 ${fmtDuration(b.endedAt - b.startedAt)}`;
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
  }