v0.8.2
中文
基于 v0.8.1..v0.8.2 的提交整理。
新增
-
全屏设置页(SettingsPage)
- 分区导航:通用 / 外观 / 模型 / 技能 / MCP
- 嵌入 ModelsConfig、SkillsConfig、McpConfig 面板
- 支持分段控件与完整中英文本地化
-
外观设置
- 主题模式:浅色 / 深色 / 跟随系统
- UI 字号调节(布局条高度保持固定)
- 代码高亮主题(亮色 / 暗色分别配置)
- 代码行号开关、自动换行、代码字号
- 代码主题实时预览(appearance store 即时生效)
-
网络设置(Electron 读取,重启生效)
- HTTP(S) 代理
- 代理旁路(NO_PROXY)
- 自定义 CA 证书(
NODE_EXTRA_CA_CERTS)
-
桌面 / 通知
- 完成提示音开关
- 桌面通知(agent 运行结束)
- 通知声音独立开关
- Electron 原生 Notification IPC
-
Agent 默认行为
- 新会话默认 thinking level
- 默认展开 thinking 块
- 默认显示 todo widgets
-
终端偏好
- 自定义终端字体
- 继承 login shell 环境(PATH / 代理等)
-
Electron 高级选项
- 禁用硬件加速(GPU)
- 后台自动检查更新
-
MCP 配置管理
- 新增
/api/mcp与McpConfigUI - 支持 agent / 全局 / 项目级 MCP 服务列表
- 增删改、禁用状态、适配器状态展示
- 新增
-
项目信任流(Project Trust)
- 首次打开项目时信任确认对话框
- 未信任项目限制敏感资源访问
- 技能 / 文件访问检查加固
-
上下文用量(Context Usage)
- 估算会话 token 用量与上下文窗口
- 输入区用量环可打开 Context 面板
- 冷启动会话也能显示上下文估算
- Compact 控件迁入上下文工作区
-
PTY 会话增强
- 来源追踪、命令元数据
- 列表 / 过滤端点
- 终端面板布局与指标改进
- agent bash 与 PTY 联动(
agent-bash-pty)
-
自定义窗口控件
- 用渲染进程 caption 按钮替代系统 titleBarOverlay
- Win/Linux 标题栏留白与平台样式修复
修复
- 恢复 Electron locales,避免打包后语言包缺失
- 完善 Windows 打包(
dist:win、NSIS、locale 别名) - 修复 Win/Linux 标题栏被系统按钮遮挡
- 请求安全校验增强(project trust / 资源边界)
改进
- 包名与仓库归属迁移到
@ct-jyjntc/pi-web/ct-jyjntc/pi-web - appId 调整为
com.ct-jyjntc.pi-web - README 重写:功能总览、徽章、安装说明简化,去掉上游 fork 说明
- 设置项统一落盘到
~/.pi/agent/pi-web.json,Electron 启动时读取网络 / GPU 相关项 - 主题系统支持 system 模式,并与外观设置双向同步
- 代码高亮与文件预览跟随外观设置(主题 / 字号 / 行号 / 换行)
内部调整
- 新增模块:
appearance-store、mcp-config、project-trust、context-usage、compact-action-store、agent-bash-pty - 扩展
web-settingsschema 与/api/web-settings读写 - Electron main/preload 增加通知、主题同步、网络环境注入
- 发布版本:
@ct-jyjntc/pi-web@0.8.2
安装说明(本 Release 附件)
macOS
- 附件:
Pi-Web-0.8.2-arm64.dmg(Apple Silicon) - 签名:ad-hoc(未 Apple 公证)
- 若 Gatekeeper 拦截:
# 方式 1:右键 App → 打开 → 打开
# 方式 2:
xattr -cr "/Applications/Pi Web.app"
open "/Applications/Pi Web.app"Windows
- 附件:
Pi-Web-0.8.2-x64.exe(Windows x64 NSIS 安装包) - 双击安装,可自定义安装目录;安装后会创建桌面与开始菜单快捷方式。
- 如 SmartScreen 提示「Windows 已保护你的电脑」:点击「更多信息」→「仍要运行」。
English
Prepared from commits in v0.8.1..v0.8.2.
Added
-
Full-screen Settings page
- Sections: General / Appearance / Models / Skills / MCP
- Embeds Models, Skills, and MCP panels
- Segmented controls + full EN/ZH i18n
-
Appearance settings
- Theme mode: light / dark / system
- UI font size (chrome heights stay fixed)
- Separate light/dark code themes
- Line numbers, soft wrap, code font size
- Live preview via appearance store
-
Network settings (Electron, restart required)
- HTTP(S) proxy
- Proxy bypass (NO_PROXY)
- Custom CA cert path (
NODE_EXTRA_CA_CERTS)
-
Desktop / notifications
- Completion sound toggle
- Desktop notifications on agent end
- Separate notification sound toggle
- Electron native Notification IPC
-
Agent defaults
- Default thinking level for new sessions
- Expand thinking blocks by default
- Show todo widgets by default
-
Terminal preferences
- Custom terminal font
- Inherit login-shell environment
-
Electron advanced options
- Disable hardware acceleration
- Background auto update checks
-
MCP configuration management
/api/mcp+McpConfigUI- Agent / global / project server lists
- Create/update/remove/disable + adapter status
-
Project trust flow
- Trust dialog on first open
- Gate sensitive resources until trusted
- Hardened skills/file access checks
-
Context usage
- Token / window estimates for sessions
- Usage ring opens Context panel
- Cold-open estimation support
- Compact controls moved into context workspace
-
PTY session enhancements
- Source tracking + command metadata
- List/filter endpoints
- Terminal panel layout/metrics improvements
- Agent bash ↔ PTY integration
-
Custom window controls
- Renderer caption buttons instead of system titleBarOverlay
- Win/Linux titlebar padding / platform chrome fixes
Fixed
- Restore Electron locales after packaging
- Windows packaging polish (
dist:win, NSIS, locale aliases) - Prevent caption buttons from covering titlebar chrome
- Stronger request-security boundaries with project trust
Improved
- Package/repo ownership moved to
@ct-jyjntc/pi-web/ct-jyjntc/pi-web - appId →
com.ct-jyjntc.pi-web - README rewrite (feature overview, badges, simpler install, no fork notice)
- Settings persisted in
~/.pi/agent/pi-web.json; Electron reads network/GPU on startup - System theme mode with bidirectional appearance sync
- Code highlighting / file preview follow appearance settings
Internal
- New modules:
appearance-store,mcp-config,project-trust,context-usage,compact-action-store,agent-bash-pty - Expanded
web-settingsschema +/api/web-settings - Electron main/preload: notifications, theme sync, network env injection
- Release version:
@ct-jyjntc/pi-web@0.8.2
Install Notes
macOS
- Asset:
Pi-Web-0.8.2-arm64.dmg(Apple Silicon) - Signing: ad-hoc (not Apple notarized)
- If Gatekeeper blocks:
xattr -cr "/Applications/Pi Web.app"
open "/Applications/Pi Web.app"Windows
- Asset:
Pi-Web-0.8.2-x64.exe(Windows x64 NSIS installer) - Run the installer; you can choose the install directory. Desktop and Start Menu shortcuts are created.
- If SmartScreen says "Windows protected your PC": click "More info" → "Run anyway".