mirror of
https://github.com/SikongJueluo/pi-extensions.git
synced 2026-10-05 11:52:55 +08:00
fix(ai-judge): truncate advice widget with visible-width awareness
- delegate widget line truncation to pi-tui truncateToWidth so ANSI styling and double-width CJK reasons count visible cells only - replace the code-point clamp that crashed the TUI when a Chinese reason rendered wider than the terminal - add @earendil-works/pi-tui peer and dev dependencies - cover CJK reasons at several terminal widths in tests
This commit is contained in:
Generated
+3
@@ -223,6 +223,9 @@ importers:
|
||||
'@earendil-works/pi-coding-agent':
|
||||
specifier: ^0.85.1
|
||||
version: 0.85.1(supports-color@7.2.0)(ws@8.21.3)(zod@4.6.5)
|
||||
'@earendil-works/pi-tui':
|
||||
specifier: ^0.85.1
|
||||
version: 0.85.1
|
||||
'@gotgenes/pi-permission-system':
|
||||
specifier: ^32.0.2
|
||||
version: 32.0.2(@earendil-works/pi-coding-agent@0.85.1)(@earendil-works/pi-tui@0.85.1)
|
||||
|
||||
Reference in New Issue
Block a user