Merge remote-tracking branch 'origin/master' into codex/fix-math-rendering

# Conflicts:
#	packages/client/ui-primitives/README.i18n.yaml
This commit is contained in:
fz
2026-08-05 20:50:50 +08:00
549 changed files with 3651 additions and 3263 deletions

View File

@@ -1,6 +1,5 @@
// Head/tail height-cap arithmetic shared by the block primitives (TerminalBlock,
// SearchBlock) and matching the TUI transcript's collapsed tool card, so a long
// result's head and tail slices agree across every surface. The split is
// SearchBlock), so long results use consistent head and tail slices. The split is
// `ceil(maxLines / 2)` head rows and the remainder as tail rows; a result within
// the cap shows every row and hides none.