pi-mono/packages
Mario Zechner fb4ecd633e
fix(tui): shorten image fallback paths and clamp width (#7262)
Image.render() previously emitted the imageFallback line without
truncateToWidth. Long absolute paths (common when callers pass a
filename) exceeded the terminal width and crashed the TUI.

- imageFallback: home-shorten paths to ~/...; OSC 8 file:// link when
  hyperlinks are available and the path is absolute
- Image.render: truncate fallback lines to the render width
- tests for shorten, hyperlink, basename, and width clamp

Co-authored-by: Moritz Hofmann <Moritz.Hofmann@aimentum.de>
2026-07-29 10:27:12 +02:00
..
agent docs(agent): add refs to harness design 2026-07-28 16:08:11 +02:00
ai feat(ai): add per-request fetch injection 2026-07-28 18:51:44 +02:00
coding-agent fix(coding-agent): enable streaming usage for llama.cpp provider (#7258) 2026-07-29 10:03:59 +02:00
evals fix(coding-agent): preserve eval run diagnostics 2026-07-27 18:00:53 +03:00
server Add [Unreleased] section for next cycle 2026-07-25 14:37:15 +02:00
storage/sqlite-node Add [Unreleased] section for next cycle 2026-07-25 14:37:15 +02:00
tui fix(tui): shorten image fallback paths and clamp width (#7262) 2026-07-29 10:27:12 +02:00