Skip to content

feat(tui): animate reasoning effort transitions - #567

Open
yltx wants to merge 6 commits into
ccch1mneyyy:mainfrom
yltx:feat/effort-switch-animation
Open

feat(tui): animate reasoning effort transitions#567
yltx wants to merge 6 commits into
ccch1mneyyy:mainfrom
yltx:feat/effort-switch-animation

Conversation

@yltx

@yltx yltx commented Aug 25, 2026

Copy link
Copy Markdown

What changed

  • Add distinct bounded prompt transitions for high, xhigh, max, and ultra, including tier-specific badge motion.
  • Resolve animation colors from the active built-in/custom/ANSI theme and the per-session /color accent.
  • Keep low-rate, viewport-aware status shimmer for max and ultra; high and xhigh remain static with no clock subscription.
  • Theme the prompt charge glyph and preserve safe discrete palette behavior for ANSI/custom colors.
  • Add an opt-in previewEfforts setting so unsupported tiers such as ultra can be visually reviewed without entering model request configuration.
  • Preserve the existing pixel whale/header and the bounded three-row prompt geometry.

Why

The prior effort feedback made the top tiers look too similar, used fixed truecolor accents rather than the active theme, and ended completely after the one-shot transition. This makes each tier visually identifiable while keeping continuous animation bounded and inactive when hidden. The preview setting also makes every visual tier testable on models that do not advertise it.

Notes

previewEfforts is UI-only for levels the active adapter does not advertise: it does not persist that selection or send it to the model.

AdamPlatin123 and others added 5 commits August 25, 2026 18:13
…y#507/ccch1mneyyy#492)

补充 ccch1mneyyy#548(已合并的退出鼠标残留闩锁):probe/reassert 的 isUnmounted
守卫已由 ccch1mneyyy#548 落地,本 PR 补上它未覆盖的两条泄漏路径:

- TerminalQuerier 加 disposed 标志:dispose 后 send()/flush() 入口拒绝
  (resolve undefined 保持调用方 inert),不再 holdRawMode 拉回 raw mode
  (?2004h ?1004h >1u >4;2m)、不再写查询字节——ccch1mneyyy#507 实证的 DECRPM/
  DA1/XTVERSION 回复在进程退出后无人消费、落入 shell 输入队列(实测
  被整行执行的副作用)就此断根
- finishExit 在清理序列落地后 settle 150ms 再 drainStdin:detach 时点
  的 drain 看不见清理落地后才到的在途回复与鼠标事件;150ms 覆盖 ssh
  慢链路回复 RTT(ccch1mneyyy#522 即 ssh 环境),吞掉在途字节不落入 shell

回归:scripts/verify-exit-mouse-residue.tsx(挂 input-terminal 组,
与 ccch1mneyyy#548 的 verify-exit-mouse-cleanup 互补)——detached 后触发 probe/
reassert/querier 三条防线,断言零 ENABLE、零查询字节、零 raw mode
重开。rebase 于 ccch1mneyyy#548 之上,两个脚本全绿。
Copilot AI lite review requested due to automatic review settings August 25, 2026 13:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@T-Auto

T-Auto commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Check if the features of #386 effort ignition are redundant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants