Skip to content

v0.8.2

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 05:45

pi Desktop v0.8.2

新增

  • 内置 Pi SDK 升级至 1.7.0 与终端 CLI 命令对齐(#156):内置 @earendil-works/pi-coding-agent 升级至 1.7.0(自动加载内置 llama.cpp 扩展),并在桌面端完整打通终端 Pi 常用命令。输入框支持 !cmd(执行 Shell 命令并纳入上下文)与 !!cmd(执行但排除出上下文),时间线原生展示命令输出、退出码并支持随时中断;支持 /export(导出 HTML / JSONL)、/import(导入 JSONL 会话)、/share(分享至 Radius 或私有 GitHub Gist)、/session(会话统计详情)、/copy(复制上一条回复)、/reload、/changelog、/login / /logout(可视化引导 Provider API Key / OAuth / Device Code 登录)以及 /name、/bug
  • Pi 包管理、npm 搜索与插件中心(#152、#156):在设置页与新增的独立「插件中心(Plugins)」全屏页中接入 SDK 原生 DefaultPackageManager(原生与 WSL 均可用),支持全局/项目级 pi install、pi remove、pi update、pi list、检查更新与模型目录刷新,与终端 Pi 共享同一份 settings.json 与安装目录;支持直接检索 npm 上的 pi-package 生态包并标注已配置项;新增 11 个附带中/英/俄/日四语前置配置说明的推荐扩展(含 Atlassian、Figma、GitHub PR / Watch / App Auth、Gmail @guquan-2002/pi-gmail、Lark、Linear、Notion、Slack、Web Access 等,内置适配器增至 57 个);插件页新增只读「本机账号」卡片,展示当前 gh 登录账号、git 提交作者与凭据助手(不读取或回传 Token);支持对用户/项目级扩展与 Skill 二次确认移入系统回收站,在插件页点击左侧栏当前会话可直接切回对话
  • SSH 远程工作区与运行环境(#152):新增 SSH 远程运行时与远程工作区支持,可在「设置 → 连接 → SSH 远程」管理主机配置并在右侧栏与对话中直连远端项目环境
  • AI 画布 v2、空间多模态画板与零拷贝本地媒体流:AI 画布升级支持离线 React / Tailwind 沙盒、实时 ADB 设备画面流、图表 2× 高清 PNG 导出与划选局部改写;新增可自由排版连线的**空间画板(Spatial Board)**与自定义 pi-canvas-media:// 本地流式媒体协议,支持拖入或挂载本地音频、视频、图片零拷贝直接流式播放,并补齐四语本地化
  • 交互式 Live UI 块与新图表引擎:pi-ui 新增响应式 Live 面板、函数图像(function-plot)、图片画廊(gallery)、雷达图、漏斗图与环形进度图,引入流式渲染引擎与按需懒加载 KaTeX 样式
  • 日语界面完整支持与土耳其语文档(#153、#154):新增日语(ja)全量桌面端界面、主进程托盘/提示与全部 57 个内置适配器翻译;新增土耳其语 README(README.tr.md)
  • 设置页重构与侧栏升级(#152、#155):外观、运行时、人设注入(Purge)升级为分标签页(Tabs)布局并统一自定义数字步进器、复选框与主题化下拉框;「移动连接」与「SSH 远程」归并至「连接」分组;新增 Claude 风格侧栏导航、项目与会话拖拽排序、主页 Token 用量概览与输入框项目选择器;内置终端新增右键菜单并修复双粘贴问题
  • 插件交互与适配器增强:新增 pi-decide 与 pi-plan-mode 内置适配器,支持问卷弹窗回停靠为输入框上方内联卡片、实时倒计时与编辑器弹窗

优化与修复

  • 视觉与排版打磨:统一代码块与工具预览卡片在自定义壁纸下的毛玻璃层次与边缘渐隐;精简思考强度选择器,优化窄窗口与俄语长文案的自适应布局;Sonner 通知气泡同步跟随应用深浅色主题并在设置页补齐挂载;移除重复的下拉框样式规则并区分 Review 与 Worktrees 图标
  • 浏览器、快捷键与跨平台加固:修复内置浏览器在 UI 缩放(90% / 110%)下因双重缩放乘法导致的视口偏移与裁切;支持 Esc 关闭弹层并收起铺满态浏览器,切换标签时地址栏同步刷新;修复 Pi SDK 浅拷贝 uiContext 导致 DesktopUIBridge 丢失的问题;加固 SSH 路径参数、扩展删除工作区鉴权与 WSL 异步删除/路径双向转换;修复 Google AI Plan 已处于目标修订时仍重复提示更新的问题;校准 timeline-scrubber 滚动判定线并修复 Linux Xvfb E2E 与 Vitest 清理竞态(#157)
  • 启动性能优化:图标主题、内置终端与 KaTeX 样式改为按需懒加载,缩短冷启动耗时

重要变更

  • 移除内置语音输入(codex-asr)(#155):移除内置语音录制与转写(codex-asr)及相关设置页以精简桌面端体积与依赖;启动时会自动清理旧版遗留配置项

English

New

  • Bundled Pi SDK 1.7.0 & Terminal CLI Parity (#156): Upgraded bundled @earendil-works/pi-coding-agent to 1.7.0 (including the built-in llama.cpp extension) and brought terminal Pi commands into the desktop. The composer now supports !cmd (run shell command with context) and !!cmd (run excluded from context) with live output, exit codes, and cancellation in the timeline, plus /export (HTML / JSONL), /import (JSONL), /share (Radius or private GitHub Gist), /session, /copy, /reload, /changelog, /login / /logout (guided provider API key / OAuth / device-code flows), /name, and /bug
  • Pi Package Manager, npm Search & Plugins Hub (#152, #156): Integrated the SDK's native DefaultPackageManager (native and WSL) in Settings and the new full-page Plugins hub for user/project pi install, pi remove, pi update, pi list, update checks, and model catalog refresh—sharing one settings.json and install folder with terminal Pi. Added live npm search (keywords:pi-package), 11 new recommended extension adapters (57 built-in adapters total) with setup guidance in zh/en/ru/ja (Atlassian, Figma, GitHub PR / Watch / App Auth, Gmail @guquan-2002/pi-gmail, Lark, Linear, Notion, Slack, Web Access), a read-only "Accounts on this computer" card showing gh sign-in, git author, and credential helper without reading tokens, two-click Recycle Bin deletion for user/project extensions and skills, and sidebar navigation back from Plugins when clicking the active session
  • SSH Remote Runtimes & Workspaces (#152): Added SSH remote runtime and workspace support with host management under Settings → Connections → SSH remote and a dedicated right-panel workflow
  • AI Canvas v2, Spatial Multimodal Board & Zero-Copy Local Media: Upgraded AI Canvas with offline React/Tailwind sandbox previews, live ADB device frame streaming, 2× high-res PNG chart export, and partial-selection rewrites. Added a freeform Spatial Board and a custom pi-canvas-media:// zero-copy streaming protocol so local audio, video, and images can be dropped or mounted directly without copying source files, fully localized across all four UI languages
  • Reactive Live UI Blocks & New Charts: Extended pi-ui with reactive live panels, function plots (function-plot), image galleries (gallery), radar/funnel/radial progress charts, a streaming render engine, and lazy-loaded KaTeX stylesheets
  • Japanese Localization & Turkish README (#153, #154): Added full Japanese (ja) localization across the renderer, main-process labels/tray, and all 57 built-in adapters, plus a Turkish translation of the README (README.tr.md)
  • Reorganized Settings & Sidebar Enhancements (#152, #155): Grouped Appearance, Runtime, and Agent Purge into tabbed layouts with unified themed selects, checkboxes, and number steppers; consolidated Mobile and SSH under Connections; added Claude-style sidebar navigation, drag-to-reorder projects and conversations, home token usage overview, composer project picker, and a terminal context menu with single-paste fix
  • Extension UI & Adapter Improvements: Added pi-decide and pi-plan-mode built-in adapters, docking questionnaire modals back into the inline composer card, live countdowns, and editor dialogs

Improvements & Fixes

  • Visual & Layout Polish: Unified frosted code block and tool preview surfaces over custom wallpapers; streamlined the thinking-level picker; improved narrow-window and Russian label wrapping; synced Sonner toasts with active light/dark themes and mounted toasts inside Settings; removed duplicate custom-select CSS rules and gave Review and Worktrees distinct icons
  • Browser, Keyboard & Cross-Platform Hardening: Fixed built-in browser double-scaling under UI zoom (90% / 110%) where getBoundingClientRect() compounded with html { zoom }; Esc now closes popovers and collapses the expanded browser view while the address bar stays synced across tab switches; preserved DesktopUIBridge across Pi SDK uiContext shallow clones; guarded SSH path arguments, extension-delete workspace authorization, and WSL async deletion & bidirectional path translation; stopped Google AI Plan from re-prompting updates when already on the selected revision; aligned the timeline scrubber reading line and fixed Linux Xvfb E2E & Vitest teardown races (#157)
  • Startup Performance: Lazy-loaded icon themes, the built-in terminal, and KaTeX CSS on demand

Breaking / Removed

  • Voice Input Removed (#155): Removed the built-in codex-asr voice transcription pipeline and Voice settings panel to keep the desktop core lean; legacy voice config keys are automatically cleaned up on startup

安装包见本页 Assets。更新说明以本正文为准(应用内「发现新版本」弹窗会展示)。

Installers are attached under Assets below. These notes are also shown in the in-app update dialog.