Skip to content

v0.2.2

Choose a tag to compare

@danielbill danielbill released this 21 Oct 04:54
· 140 commits to main since this release

[0.2.2] - 2026-10-21

这个版本我自己很喜欢 ——
1、增加了文件树可运行文件的运行功能,现在我可以通过文件右键菜单运行bat ps1 py js等脚本了,超级方便,哈哈哈,这下pf真的成了我的项目管理器了
2、大幅优化了搜索功能

安装与更新

npm install -g pi-flash@latest   # 首次安装与更新同命令
pi-flash

需要 Node.js ≥ 22.19。
也可直接下载 zip 绿色包,解压后双击 pi-flash.exe 即用,无需 Node。
仅提供 Windows x64 版本。

新增

  • 项目搜索重做(083):文件名 + 全文内容搜索,无索引低延迟;结果面板照 Zed 复刻:文件头圆角卡片、组头、行号右对齐动态列宽、命中高亮底色;空态 landing page、打开即聚焦、补滚动条;旧搜索弹窗退役。(bb00f49, ca86852, f54db1d, afd6179, 6fcbe25, 37b8d89, 3c1beb7, 1cc44db, e9f3474, 7d4f788)
  • 会话查询改版(013):与文件搜索同版式的查询面板(只查询、无替换);升级为全量跨项目搜索——所有项目的会话都能搜到,结果组头显示所属项目与会话名(按会话归并、副标题为绝对时间)。(66c3832, 6c3fdfb, e68722c, fec5ffd, d60635e)
  • 文件树右键【执行】(021):脚本文件一键在 PF 内置终端新标签页执行;扩展名配方表 exe/bat/ps1/js/py/sh,py 走「项目 venv → py.exe → PATH」探测链(跳过 WindowsApps 假别名)、sh 找 bash;菜单项显示解释器名,解析失败置灰并给出原因。(2a8d285)
  • 模型选择菜单四条:菜单加宽 40px(模型名与星标不再贴边);内容超高时右缘常显滚动条;↑/↓ 选中行自动滚进可视区;标星默认模型置顶。(295d149)
  • 文件树「搜索文件」tooltip 附键位 chip(Ctrl+L)。(4d8de11)

修复

  • 会话改名后侧栏标题「改回去」:改名条目被 1MB 尾窗扫描窗口扫丢(15MB 大会话必中招,真机 8 个改名会话 4 个中招)——名字扫描改搭消息计数流式扫描便车,覆盖整个会话文件,与 pi 自身口径一致。(d3cbc89)
  • 编辑器:有终端/搜索 tab 留存时,关掉最后一个文档 tab 直接回会话页,不再落进空白落单提示页。(d2c2258)
  • 会话「滚到底」悬浮按钮去虚影,加大一号(32→36px)更易点中。(9124b14)

改进

  • 「部分操作隐藏」开关覆盖面扩大:psp 控制栏与文件树操作栏的两颗最大化钮也纳入悬停显影。(e3831f7)
  • 会话面板搜索入口降级为小图标并入右侧按钮组,同样受自动隐藏控制。(1b95258, d051780)
  • 主题「厨房笔记」更名为「秋叶」。(af81ffc)

[0.2.2] - 2026-10-21

I'm quite fond of this release myself —

  1. Added a Run action for runnable files in the file tree: bat/ps1/py/js scripts can now be launched right from the file context menu. Super handy, haha — PF has truly become my project manager.
  2. Search has been greatly improved.

Install & Update

npm install -g pi-flash@latest   # same command for first install and updates
pi-flash

Requires Node.js ≥ 22.19.
You can also download the zip, unzip it and double-click pi-flash.exe — no Node needed.
Windows x64 only.

New

  • Project search overhaul (083): file name + full-text content search, low-latency with no index. The results panel mirrors Zed: rounded file-header cards, group headers, right-aligned line numbers with dynamic column width, match highlight background; landing page for the empty state, focus on open, scrollbar added; the old search dialog is retired. (bb00f49, ca86852, f54db1d, afd6179, 6fcbe25, 37b8d89, 3c1beb7, 1cc44db, e9f3474, 7d4f788)
  • Session search rebuild (013): a query panel sharing the file-search layout (search only, no replace); upgraded to full cross-project search — sessions from all projects are searchable, with results grouped per session showing the owning project and session name (absolute-time subtitles). (66c3832, 6c3fdfb, e68722c, fec5ffd, d60635e)
  • File-tree context-menu Run (021): run script files in a new built-in terminal tab with one click. An extension recipe table covers exe/bat/ps1/js/py/sh; Python resolves via project venv → py.exe → PATH (skipping WindowsApps fake aliases), sh finds bash; menu items show the interpreter name and are greyed out with a reason when resolution fails. (2a8d285)
  • Model picker, four fixes: menu widened 40px (model names no longer crowd the star); scrollbar appears when content overflows; ↑/↓ selection auto-scrolls into view; starred default model pinned to top. (295d149)
  • The file-tree "search files" tooltip now shows a keybinding chip (Ctrl+L). (4d8de11)

Bug fixes

  • Renamed sessions reverted to their old sidebar title: rename entries were dropped by the 1MB tail-window scan (15MB sessions always hit; 4 of 8 renamed sessions on real machines). Name scanning now rides the streaming message-count scan, covering the entire session file, matching pi's own semantics. (d3cbc89)
  • Editor: with terminal/search tabs still open, closing the last document tab now returns to the chat page instead of a blank placeholder. (d2c2258)
  • Chat "scroll to bottom" floating button: ghost shadow removed and enlarged (32→36px) for easier clicking. (9124b14)

Improvements

  • The "auto-hide actions" toggle now also covers the two maximize buttons in the panel control bar and file-tree action bar. (e3831f7)
  • Session panel search entry demoted to a small icon merged into the right-side button group, subject to auto-hide. (1b95258, d051780)
  • Theme "厨房笔记" (Kitchen Notes) renamed to "秋叶" (Autumn Leaves). (af81ffc)