On older Linux distributions (e.g., RHEL 8 with older glibc), the native Rust addon fails to load. The proxy throws on every function call, but wrapTextWithAnsi and visibleWidth in pi-tui had no JS fallback — causing an uncaught crash during TUI rendering. Fix: Both functions now catch native throws and fall back to JS implementations (simple word-wrap and ANSI-strip length). Fixes #1418 |
||
|---|---|---|
| .. | ||
| native | ||
| pi-agent-core | ||
| pi-ai | ||
| pi-coding-agent | ||
| pi-tui | ||