v0.8.1
中文
基于 v0.8.0..v0.8.1 的提交整理。
新增
- 新增可浏览的目录选择器,并完善路径导航、显示和交互样式(
2db68da、8b5b9fb)。 - 输入框支持历史消息回溯,并可通过
Cmd+I引用文件查看器中选中的代码行(f66347f、a3810ba)。 - Markdown 体验增强:支持图片预览、LaTeX/KaTeX 数学公式,以及文件预览中的 Mermaid 渲染、缩放和平移(
aa30c78、65d59dc、1c8a3dc、7d584cc、6c1fe3a)。 - 消息用量中新增缓存写入统计(
105c4fc)。
修复
- 加固本地 API 与文件系统边界:限制跨源请求、规范化工作区路径,并约束上传、图片附件和输出跟踪路径(
0a32acb、3f47c75、5c57870、d885880)。 - 服务默认仅监听回环地址,并修正 LAN 模式下的 API Origin 校验(
3bd11ee、3a15372)。 - 修复流式新会话在侧边栏不可见、后台完成后列表不刷新,以及仅存在于运行时注册表中的会话遗漏问题(
0bd6cca、56877fb、c910e1f)。 - 修复发送失败时输入内容丢失,以及同时创建新会话可能复用同一 RPC 锁的问题(
3fd3007、819f644)。 - 修复模型配置更新后无法立即选择新提供商、运行时错误不可见及错误状态下模型选择器消失的问题(
9ccfc48、316b547、413cc2f)。 - 修复自动会话命名的流函数参数,以及压缩发生在会话轮次中时后续消息无法正确折叠的问题(
5306e8e、142137a)。
改进
- 最低 Node.js 版本调整为
22.19.0,启动时会进行明确校验(236b148)。 - Pi 相关依赖升级至
0.82.1(ae58c82)。 - 新增日文 README,并同步文档导航(
80269f)。
内部调整
- 发布 npm 包
@agegr/pi-web@0.8.1(b4f4576)。
English
Prepared from commits in v0.8.0..v0.8.1.
Added
- Added a browsable directory picker with refined path navigation, display, and interaction styling (
2db68da,8b5b9fb). - Added input history recall and
Cmd+Imentions for selected lines in the file viewer (f66347f,a3810ba). - Expanded Markdown support with image previews, LaTeX/KaTeX math, and Mermaid rendering with zoom and pan in file previews (
aa30c78,65d59dc,1c8a3dc,7d584cc,6c1fe3a). - Added cache-write usage statistics to messages (
105c4fc).
Fixed
- Hardened local API and filesystem boundaries with cross-origin checks, canonical workspace paths, and limits for uploads, image attachments, and output tracing (
0a32acb,3f47c75,5c57870,d885880). - Bound the server to the loopback interface by default and corrected API Origin validation in LAN mode (
3bd11ee,3a15372). - Fixed streaming sessions missing from the sidebar, stale listings after background completion, and sessions that existed only in the runtime registry being omitted (
0bd6cca,56877fb,c910e1f). - Preserved input after send failures and prevented concurrent new sessions from sharing an RPC lock (
3fd3007,819f644). - Fixed newly configured model providers not being immediately selectable, hidden runtime errors, and the model picker disappearing on model errors (
9ccfc48,316b547,413cc2f). - Fixed the stream function option used by automatic session naming and post-compaction message grouping within an active turn (
5306e8e,142137a).
Improved
- Raised the minimum Node.js version to
22.19.0with an explicit startup check (236b148). - Upgraded Pi dependencies to
0.82.1(ae58c82). - Added a Japanese README and updated documentation navigation (
80269f).
Internal
- Published npm package
@agegr/pi-web@0.8.1(b4f4576).