Files
agent/app/server
kicer 4f28071d23 fix(chat): 打字机逐字输出 + 在底部跟随/wheel暂停的滚动方案
撤回 91034eb,回到 fedfd8a 基础上重做:

- 打字机改为真逐字:chunk 默认 1(不随堆积量加速),去掉 gap/6 大步长
- chunk 与 interval 可配置:localStorage 持久化 + window.typingConfig 控制台实时调
- 递归 setTimeout 替代 setInterval,改 interval 实时生效
- 滚动方案改用 userPaused 标志(由 wheel/touchmove 设置,程序滚动不触发这二者):
  maybeAutoScroll 仅在 !userPaused && isNearBottom() 时 scrollBottom
- 在底部自动跟随;用户滚轮向上/触摸上拖立即暂停;滚回底部清暂停恢复跟随
- 去掉 state.autoScroll,按钮显隐改用 isNearBottom 判断
2026-09-02 19:40:47 +08:00
..
2026-09-02 16:40:40 +08:00
2026-09-02 10:52:04 +08:00
2026-09-02 17:20:43 +08:00
2026-09-02 11:17:43 +08:00
2026-09-02 15:07:00 +08:00
2026-09-02 10:31:42 +08:00
2026-09-02 09:57:04 +08:00
2026-09-02 09:57:04 +08:00