deepseek-harness/packages/ui/tui/tests
Turtle aeb48cc5f3 Render error cause chains at every diagnostic seam
A TUI run against an unreachable endpoint failed with only 'fetch failed':
undici wraps transport failures in a bare TypeError whose diagnosis lives
on .cause, and every diagnostic seam rendered only error.message. The
readline front door additionally rendered failed turns as pure silence.

- dsh-llm: new errorChain(value) renders the full cause chain and
  AggregateError members with circular/hostile-coercion containment.
- llm-deepseek: pre-response transport failures throw LlmError('NETWORK')
  naming the endpoint and chaining the fetch TypeError; aborts keep their
  DOMException so the loop still classifies them as cancellation.
- agent-loop: durable turn/end error messages and logger warnings render
  through errorChain; local renderThrown copies removed.
- ui-stdio: failure turn/end reasons now render ([turn failed <code>],
  [turn aborted], [turn rejected], output-token-limit); startup-failure
  logs use errorChain.
- ui-tui: agent/error notices and the startup-failure line use errorChain.
2026-07-20 12:35:10 +08:00
..
snapshots test: rename golden snapshot files to expected 2026-07-19 17:45:49 +08:00
harness.ts Merge origin/master into feat/tui-package 2026-07-19 11:37:14 +08:00
headless-terminal.ts test: rename golden snapshot files to expected 2026-07-19 17:45:49 +08:00
plugin-shape.spec.ts feat(ui): add dedicated TUI package 2026-07-17 12:01:37 +08:00
tui.snapshot.ts test: rename golden snapshot files to expected 2026-07-19 17:45:49 +08:00
tui.spec.ts Render error cause chains at every diagnostic seam 2026-07-20 12:35:10 +08:00