v1.0.5
中文
基于 v1.0.4..v1.0.5 的提交整理。
新增
-
统一 Agent 模式
- Ask / Auto / Plan / Full(yolo) 四档访问模式
- 全局持久化:模式跨会话共享,新会话自动应用
- 模式变化时同步到所有 live wrapper
- ChatInput 模式选择菜单
-
文件编辑工具(Monaco)
- 内置 Monaco 编辑器(
FileEditor) - 编辑 / 保存 / 格式化(
format-file) - LSP / 命令查询 API(
/api/lsp/query、/api/commands) - 自定义用户命令(user/project 级,
commands.ts)
- 内置 Monaco 编辑器(
-
细粒度权限策略
- allow / ask / deny 三级策略文档(
permission-policy) - 设置页权限面板(
PermissionsSettingsPanel) - 项目初始化流程(
project-init) - 兼容旧 permission-mode 迁移
- allow / ask / deny 三级策略文档(
-
工作区回合日志(Workspace Turn Journal)
- 每回合文件变更记录(edit/create/delete)
- undo / redo 工作区回合
- edit-from-here:从指定消息叶回退工作区回合
- 会话导航支持(
session-nav-store) - Context 面板 journal 刷新控件
-
快照感知 Hashline 编辑
- 持久化 hashline 快照(
hashline-snapshots) - stale-tag 恢复 + 每路径锁
- 编辑后等待格式化完成
- 语法守卫覆盖加强(
edit-syntax-guard)
- 持久化 hashline 快照(
-
AtomGit / AtomCode 网关
- AtomGit Provider(OAuth + 模型列表)
- AtomCode v1 请求签名(
atomgit-signing+ 回归测试) - gateway headers / user-agent 对齐签名要求
-
Radius Provider
- 新增 Radius provider 集成与图标
-
按模型 Thinking 等级设置
- 每个 agent 角色 / utility 模型可配 thinking level
- 会话标题生成沿用配置
- 模型切换保留偏好;provider 目录刷新联动
-
模型目录与配置扩展
- 共享 catalog 加载、内置 provider 元数据(
builtin-provider-models) - 模型覆盖(
model-overrides)、thinking-level maps - 降级刷新报告;ModelsConfig / free-model 富化重构
- 共享 catalog 加载、内置 provider 元数据(
修复 / 改进
-
安装包瘦身(平台原生依赖裁剪)
- node-pty 只保留目标平台 prebuilds
- clipboard 裁掉非目标平台包(9 个)
- tree-sitter-bash 精简为 wasm-only
- DMG 体积 190M → 172M
-
文件访问与会话生命周期加固
-
移除 Lean review 工作流(policy/hard gate/review 相关代码),保留设置骨架
-
深层模型配置 API 与 UI 统一(model detail / provider / builtin 面板)
内部调整
- 新增:
agent-mode、global-agent-mode、atomgit-provider、atomgit-signing、workspace-turn-journal、permission-policy、project-init、hashline-snapshots、format-file、commands、thinking-level-map、model-overrides、builtin-provider-models等 - 依赖新增:
monaco-editor/@monaco-editor/react - 版本:
@ct-jyjntc/pi-web@1.0.5
安装说明(本 Release 附件)
macOS
- 附件:
Pi-Web-1.0.5-arm64.dmg(Apple Silicon) - 签名:electron-builder 真实 ad-hoc(
identity: "-",未 Apple 公证) - 若 Gatekeeper 拦截:
# 方式 1:右键 App → 打开 → 打开
# 方式 2:
xattr -cr "/Applications/Pi Web.app"
open "/Applications/Pi Web.app"Windows
- 附件:
Pi-Web-1.0.5-x64.exe(Windows x64 NSIS 安装包) - 双击安装,可自定义安装目录;安装后会创建桌面与开始菜单快捷方式。
- 如 SmartScreen 提示「Windows 已保护你的电脑」:点击「更多信息」→「仍要运行」。
English
Prepared from commits in v1.0.4..v1.0.5.
Added
-
Unified agent modes
- Ask / Auto / Plan / Full (yolo)
- Persisted globally across sessions; applied to new sessions
- Synced to live wrappers on change
- Mode selector in ChatInput
-
Monaco file editing
- Built-in Monaco editor (
FileEditor) - Edit / save / format (
format-file) - LSP query + command APIs (
/api/lsp/query,/api/commands) - Custom user commands (user/project scope)
- Built-in Monaco editor (
-
Fine-grained permission policies
- allow / ask / deny policy document (
permission-policy) - Settings permission panel
- Project init flow (
project-init) - Legacy permission-mode migration
- allow / ask / deny policy document (
-
Workspace turn journal
- Per-turn file mutations (edit/create/delete)
- Undo / redo workspace turns
- edit-from-here: rollback through a given message leaf
- Session navigation support (
session-nav-store) - Journal refresh controls in Context panel
-
Snapshot-aware hashline editing
- Persisted hashline snapshots (
hashline-snapshots) - Stale-tag recovery + per-path locking
- Await formatting after edits
- Stronger syntax guard coverage
- Persisted hashline snapshots (
-
AtomGit / AtomCode gateway
- AtomGit provider (OAuth + model listing)
- AtomCode v1 request signing (
atomgit-signing+ regression tests) - Gateway headers / user-agent aligned with signing requirements
-
Radius provider integration + icon
-
Per-model thinking levels
- Configurable thinking per agent role / utility model
- Applied to session title generation
- Preferences preserved across model changes; catalog refresh on updates
-
Model catalog & config expansion
- Shared catalog loading, built-in provider metadata
- Model overrides, thinking-level maps
- Degraded refresh reporting; unified ModelsConfig / free-model enrichment
Fixed / Improved
-
Install size slimming (platform native pruning)
- node-pty keeps only target-platform prebuilds
- clipboard drops non-target platform packages (9)
- tree-sitter-bash slimmed to wasm-only
- DMG 190M → 172M
-
Hardened file access + session lifecycle
-
Removed Lean review workflow (policy/hard-gate/review code), kept settings skeleton
-
Unified deep model config APIs/UI (detail / provider / builtin panels)
Internal
- New modules:
agent-mode,global-agent-mode,atomgit-provider,atomgit-signing,workspace-turn-journal,permission-policy,project-init,hashline-snapshots,format-file,commands,thinking-level-map,model-overrides,builtin-provider-models, etc. - New deps:
monaco-editor/@monaco-editor/react - Version:
@ct-jyjntc/pi-web@1.0.5
Install Notes
macOS
- Asset:
Pi-Web-1.0.5-arm64.dmg(Apple Silicon) - Signing: electron-builder real ad-hoc (
identity: "-", not Apple notarized) - If Gatekeeper blocks:
xattr -cr "/Applications/Pi Web.app"
open "/Applications/Pi Web.app"Windows
- Asset:
Pi-Web-1.0.5-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".