github agegr/pi-web v0.8.5

latest releases: v0.9.1, v0.9.0, v0.8.12-beta.1...
one month ago

中文

基于 v0.8.4..v0.8.5 的提交整理。

新增

  • 新增可选的 PI_WEB_PASSWORD HTTP Basic Auth,用户名固定为 pi,覆盖网页和所有 API 端点,并完善非 loopback 监听时的安全提示(48e8300)。
  • 新增桌面端侧边栏和右侧文件面板的拖拽调整、双击复位与 localStorage 宽度持久化(9d1721f, #266)。
  • 新增俄文 README,并在各语言文档中补充语言入口(fdc28d5, #313)。

修复

  • enabledModels 支持与 Pi TUI 一致的 glob、模糊匹配和 :thinkingLevel 固定规则;启动会原子应用模型范围,并展示无匹配规则警告(faccb23, #310)。
  • 按认证能力列出 Anthropic、GitHub Copilot 等双认证提供商;切换认证方式后同步刷新列表,并以原子、类型安全的方式删除凭据(0b0d04c, #311)。
  • 模型配置改为安全的原子写入,避免并发或中断导致配置损坏(ac81a96, #295)。

改进

  • 运行状态改用仅前台标签页进行的轻量轮询,并将单会话 SSE 限制在实际运行期间,减少多浏览器窗口的长连接占用,同时保留运行结束对账(125e55d)。

内部调整

  • 修复 i18n 注册表测试的模块加载问题(7672aa0)。
  • 发布 npm 包 @agegr/pi-web@0.8.5

English

Prepared from commits in v0.8.4..v0.8.5.

Added

  • Added optional PI_WEB_PASSWORD HTTP Basic Auth with the fixed username pi, covering the web UI and every API endpoint, with clearer security warnings for non-loopback listeners (48e8300).
  • Added draggable desktop sizing for the sidebar and right file panel, including double-click reset and localStorage persistence (9d1721f, #266).
  • Added a Russian README and linked it from the language bars in the existing documentation (fdc28d5, #313).

Fixed

  • Made enabledModels follow the same glob, fuzzy-match, and :thinkingLevel pin rules as the Pi TUI; session startup now applies the scope atomically and unmatched rules surface as warnings (faccb23, #310).
  • Listed dual-auth providers such as Anthropic and GitHub Copilot by capability, synchronized both provider lists after auth changes, and made credential deletion atomic and credential-type aware (0b0d04c, #311).
  • Made model configuration writes secure and atomic to prevent corruption during concurrent or interrupted updates (ac81a96, #295).

Improved

  • Replaced cross-window running-state SSE with lightweight visible-tab polling and limited per-session SSE to active runs, reducing persistent connections while retaining terminal-state reconciliation (125e55d).

Internal

  • Fixed module loading in the i18n registry test (7672aa0).
  • Published npm package @agegr/pi-web@0.8.5.

Don't miss a new pi-web release

NewReleases is sending notifications on new releases.