Repository navigation
v0.1.11
本版聚焦:应用内更新落位改版——版本化载荷目录 + 启动交接(删掉 powershell swap),0.1.10 无限重下死循环根因修死;新增「厨房笔记」「松林」两套主题;会话秒开与切项目性能优化;快捷键页 Ctrl+L 全局搜文件。
安装与更新
npm install -g pi-flash@latest # 首次安装与更新同命令
pi-flash需要 Node.js ≥ 22.19。
也可直接下载 zip 绿色包,解压后双击 pi-flash.exe 即用,无需 Node。
仅提供 Windows x64 版本。
0.1.10 及更早版本的应用内更新是坏的,请务必走上方 npm 命令更新(或 zip 重下):旧版自带的 updater 跑的是有缺陷的整目录 swap 方案,应用内「检查更新」装不上新版(0.1.10 实测无限重下死循环);0.1.11 起才由新的「版本化目录解压 + 启动交接」链路接管,之后应用内更新恢复可用。zip 绿色包用户同样请 npm 重装或 zip 重下,勿依赖旧版应用内更新。
新增
- 应用内更新落位改版:下载后解压进版本化载荷目录,启动时交接自证(目录名版本必须等于进程版本,防 spawn 风暴)后拉起新版,powershell swap 整体删除;0.1.10 无限重下死循环根因(swap 撞上杀软扫描窗口)随之修死;从老版本升级的机器启动时自动清理老方案残留;解压成本改在安装期一次付清,并清掉无版本戳的半截载荷;真机更新链路脚本化进测试(含三条失败注入)
- 新增「厨房笔记 kitchen」主题(MiMo 014 奶油纸凸版质感移植)与「松林 pine」主题(Pine Forest Green 移植);主题列表 kitchen 升首位、移除 ayu-light,淡色回归一行 5 槽
- 快捷键页:Ctrl+L 全局搜索文件
- 输入框压缩锁态提示前置转圈 spinner
修复
- 快捷键页内容上下居中真正生效(居中上移到 mc-body flex 层)
- 会话功能栏 icon 13→16 规范档位,与左侧控制栏小图标对齐
- 项目详情卡/搜索弹窗时间显示不再逐秒跳动(time_ago 最小粒度改到分钟)
- 轮次摘要用户发言第三行被拦腰截断(改 line_clamp(3))
- 压缩锁态提示补 12px 左缩进,与 placeholder 同一对齐线
- 松林 accent 微调降刺眼(2ecc40 → 29a83c)
改进
- 会话秒开深度优化:leaf 全文重读/磁盘计数全部后台化
- 切项目 git 刷新后台化:主线程 190-313ms → 106-126ms
This release focuses on: a reworked in-app update staging — versioned payload directory + startup handover (powershell swap removed), fixing the root cause of the 0.1.10 endless redownload loop; two new themes ("kitchen" and "pine"); faster session open and project switching; Ctrl+L global file search on the shortcuts page.
Install & Update
npm install -g pi-flash@latest # same command for first install and updates
pi-flashRequires Node.js ≥ 22.19.
Or download the zip portable build, extract and double-click pi-flash.exe — no Node needed.
Windows x64 only.
In-app update is broken on 0.1.10 and earlier — please update via the npm command above (or re-download the zip): the updater shipped with those versions uses a flawed whole-directory swap and cannot install new builds (the 0.1.10 endless redownload loop was one symptom); only from 0.1.11 does the new "versioned directory extraction + startup handover" chain take over, and in-app updates work again from this release on. Zip portable users should likewise reinstall via npm or re-download the zip instead of relying on the old in-app updater.
New
- In-app update rework: after download the payload is extracted into a versioned directory; at startup a self-verifying handover (directory name version must equal the process version, preventing spawn storms) launches the new build, and the powershell swap is gone entirely; the 0.1.10 endless redownload root cause (the swap racing into antivirus scanning) is fixed for good; machines upgrading from older builds clean up legacy leftovers at startup; extraction cost is paid once at install time, and stampless half-extracted payloads are removed; the real-machine update pipeline is scripted into tests (with three failure injections)
- Two new themes: "kitchen" (MiMo 014 cream-paper letterpress feel) and "pine" (Pine Forest Green port); kitchen moves to the front of the theme list, ayu-light removed — light themes back to one row of 5
- Shortcuts page: Ctrl+L global file search
- The compaction locked-state hint now shows a spinner up front
Fixes
- Shortcuts page vertical centering actually works (centering moved up to the mc-body flex layer)
- Session toolbar icons 13→16 spec size, aligned with the left control bar small icons
- Detail cards / search popups no longer tick seconds (time_ago minimum granularity is now minutes)
- Turn-summary user lines no longer cut in half on the third line (line_clamp(3))
- Compaction locked-state hint gets a 12px left inset, aligned with the placeholder
- Pine accent toned down (2ecc40 → 29a83c)
Improvements
- Deep session open-time optimization: leaf full-text reread and on-disk counting fully backgrounded
- Project-switch git refresh backgrounded: main thread 190-313ms → 106-126ms