npm @agegr/pi-web 0.8.8
v0.8.8

latest releases: 0.9.3, 0.9.2, 0.9.1...
one month ago

中文

基于 v0.8.7..v0.8.8 的提交整理。本次版本重点如下:

重点更新

  • 实时会话更可靠:升级至 Pi v0.84.1 并适配新的流式增量协议,增强 SSE 重连、跨标签页恢复和失败提交恢复,减少断流、重复消息与卡住状态(05db5b2、e4fded0、6ac87ec、6a76151)。
  • 跨工作区任务更清晰:工作区选择器显示运行中/未读状态,切换时恢复上次会话;后台完成、需要人工处理时可通过声音和浏览器通知及时提醒(776fcb1、c8692e4、044af0e、3d9acf6、598c3c6)。
  • 文件产物更易查看:回复下方直接列出本轮写入的文件,HTML 默认打开预览;文件标签保留滚动与查看状态,聊天图片支持点击放大,Markdown frontmatter 以元数据卡片展示(51e0510、2e9e0d6、e851d30、5ae7152)。
  • 移动端体验重做:采用更紧凑的移动工具栏,支持 Enter 换行与 Ctrl/Cmd+Enter 发送,并修复 iOS PWA 键盘收起后的视口和旋转行为(0475e14、fcfac31、5eb71d8、99d4ea1)。

更多改进

  • 自定义模型支持 provider/model 级请求头和 developer-role 兼容设置;模型价格、思考级别、切换反馈和加载错误展示更清晰,并新增只读工具预设(d5dff1c、c3b741e、81767f4、4fc2995、d60c547)。
  • 分支导航使用分叉消息作为标签;会话统计新增活跃时间、缓存命中率;System 面板可在发送首条消息前加载系统提示词(c87a9a4、360667c、8640559、c0a6083)。
  • 改善长消息与代码流式渲染性能、滚动跟随、CJK token/TPS 估算和单波浪号显示;修复 Windows 目录浏览、worktree 路径识别与打包兼容问题(9ebe18a、5d6342a、3095198、a8ba47e、f355928、b3e1eed、6960b2a)。

English

Prepared from commits in v0.8.7..v0.8.8. Highlights of this release:

Highlights

  • More reliable live sessions: upgraded to Pi v0.84.1 and its new streaming delta protocol, with stronger SSE reconnects, cross-tab recovery, and rejected-submission recovery to prevent dropped streams, duplicate messages, and stuck states (05db5b2, e4fded0, 6ac87ec, 6a76151).
  • Clearer task activity across workspaces: the workspace selector now shows running and unread activity and restores the last session; sounds and browser notifications cover background completion and requests for attention (776fcb1, c8692e4, 044af0e, 3d9acf6, 598c3c6).
  • Faster access to generated files: files written during a turn appear below the reply, HTML opens in preview by default, file tabs preserve viewer state, chat images open in a larger preview, and Markdown frontmatter renders as a metadata card (51e0510, 2e9e0d6, e851d30, 5ae7152).
  • Reworked mobile experience: a more compact toolbar, Enter for newlines with Ctrl/Cmd+Enter to send, and fixes for the iOS PWA viewport after keyboard dismissal and device rotation (0475e14, fcfac31, 5eb71d8, 99d4ea1).

More Improvements

  • Custom models now support provider/model request headers and developer-role compatibility; pricing, thinking controls, model-switch feedback, load errors, and the new read-only tool preset are clearer (d5dff1c, c3b741e, 81767f4, 4fc2995, d60c547).
  • Branches are labeled by their diverging messages; session statistics add active time and average cache hit rate; the System panel can load the system prompt before the first message (c87a9a4, 360667c, 8640559, c0a6083).
  • Improved performance for long and streaming messages, scroll following, CJK token/TPS estimates, and single-tilde text; fixed Windows directory browsing, worktree path identity, and packaging compatibility (9ebe18a, 5d6342a, 3095198, a8ba47e, f355928, b3e1eed, 6960b2a).

Don't miss a new pi-web release

NewReleases is sending notifications on new releases.