github agegr/pi-web v0.11.1

4 hours ago

中文

基于 v0.11.0..v0.11.1 的提交整理。

npm install -g @agegr/pi-web@latest

新增

  • 文件浏览器默认显示在会话列表下方(桌面端):可拖动、可折叠的「文件 · N」区域,带自己的文件搜索;设置 › 通用 › 侧边栏里可改回「独立标签」。手机仍使用标签。文件树按项目记住展开的目录。(3fe257f)
  • 新建会话页面重排:品牌(logo、版本、更新提示)单独靠左,项目和工作树选择移到输入框正上方一行。(e2fe4fb)
  • 新命令行命令:pi-web version、update、status、stop、open。(#1139, #1154)
  • 子代理工作可在右侧面板标签中查看(只读的对话记录)。(#1129,感谢 @斑泥狼)
  • 子代理支持可选的 codemode。(#1097,感谢 Zllf)
  • 安装为 PWA 后,应用名称可在运行时配置。(#1147, #1148,感谢 TossPig)
  • 会话停在扩展对话框上时,侧边栏显示为「等待输入」。(#1145,感谢 Mango)
  • 聊天里的自定义消息可以从标题处折叠。(#1133,感谢 Brynne Taylor)
  • 附件按钮可以选择任意文件,不只是图片。(#1101, #1122)
  • CSV / TSV 文件在文件查看器里显示为表格。(#1150)
  • 压缩摘要默认折叠,与 pi 的 TUI 一致。(#1026, #1123)
  • 小地图的轮次从会话第一轮开始编号。(#791, #1151);小地图新增锁定开关,可关闭悬停预览。(#1128,感谢 Mitchell Kager)
  • 模型:显示 Kimi For Coding 用量额度 (#848, #1113);「获取模型」时保留能力元数据 (#856, #1112)。
  • 支持 obsidian://、vscode://、zoommtg:// 等常见桌面应用链接。(#1108, #1118)
  • 项目分组的显示名称可以在分组菜单里重命名。(#1047, #1125)

修复

  • 侧边栏:点击「显示更多」后选中最后一个会话,不再露出更旧的会话;折叠分组会丢弃它的「显示更多」窗口。(51dda7c, 0066d5f)
  • 运行中写入的文件、以及在编辑器或终端里的改动,文件树现在会自动刷新(运行时与窗口获得焦点时)。(#1144, #1153)
  • 新会话的第一条消息,即使切换到别的会话也会发出。(#1146, #1152)
  • 自动发现外部写入的会话文件,不用手动刷新。(#1100,感谢 arkk)
  • 回到工作区时恢复打开的文件标签。(#1107,感谢 Tiger)
  • 设置里的 httpIdleTimeoutMs 现在也作用于 Web UI。(#1127,感谢 QuickLyx)
  • 子代理:由配置文件决定启动参数 (#1138);已删除的工作树从其所属仓库回答 (#1137);允许扩展在 session_start 注册的工具 (#883, #1115)。
  • 聊天:停止按钮不再挡住压缩出现的位置 (#1131);单行提示在卡片里居中 (#1130);出错结束的回合保留展开的「处理详情」 (#906, #1124);不再重复加载同一页历史 (#1149, #1124);扩展通知中的终端二维码保持完整 (#755, #1120);display:false 的自定义消息不再显示 (#1043, #1075, #1110);压缩错误提示可以关闭 (#784, #1109);切换会话后的重试提示、上下文占比、速度和历史窗口 (#988, #1031, #877, #896, #1114);每次自定义面板按键不再重新渲染所有回答 (#1005, #1121)。
  • 已删除的项目文件夹,以及 Chat only 下扩展模型的报错更清楚。(#1061, #804, #1119)
  • 裸克隆仓库的工作树归到该克隆下。(#1049, #1116)
  • 模型列表按 pi 的 /model 顺序排列,而不是按名称。(#783, #1111)
  • 两位数有序列表序号不再被裁掉。(8347ea5)

改进

  • 侧边栏样式:会话行 28px,文字只用三种颜色,选中行有 3px 强调条,文件区头部按键顺序与文件标签一致、按键更大。(4fa6799, 02532c3, cae6201)
  • 折叠文件区、进出归档视图有动画(尊重「减少动态效果」)。(02532c3)
  • 不在 git 仓库里的文件夹不再显示工作树选择框。(02532c3)
  • 服务端启动时就开始导入 pi SDK,不等第一个请求。(#964, #1117)

内部调整

  • 构建时 Tailwind 不再扫描 .claude 工作树。(6742182)
  • 发布 npm 包 @agegr/pi-web@0.11.1。

English

Prepared from commits in v0.11.0..v0.11.1.

npm install -g @agegr/pi-web@latest

Added

  • The file browser sits below the sessions by default on desktop: a resizable, foldable "Files · N" section with its own file search. Settings › General › Sidebar switches back to a separate tab; phones always use tabs. The file tree remembers its open directories per project. (3fe257f)
  • New-session page reworked: the brand (logo, versions, update link) stands alone on the left; the project and worktree pickers move to one row right above the composer. (e2fe4fb)
  • New CLI commands: pi-web version, update, status, stop, open. (#1139, #1154)
  • View a sub-agent's work in a right-panel tab (read-only transcript). (#1129, thanks @斑泥狼)
  • Opt-in codemode support for sub-agents. (#1097, thanks Zllf)
  • The installed PWA's app name can be configured at runtime. (#1147, #1148, thanks TossPig)
  • A session parked on an extension dialog shows as awaiting input in the sidebar. (#1145, thanks Mango)
  • A custom message can be collapsed from its header. (#1133, thanks Brynne Taylor)
  • The composer's attach button accepts any file, not only images. (#1101, #1122)
  • CSV / TSV files show as a table in the file viewer. (#1150)
  • The compaction summary is collapsed by default, as in pi's TUI. (#1026, #1123)
  • Minimap turns are numbered from the session's first turn (#791, #1151); a lock toggle turns the hover preview off. (#1128, thanks Mitchell Kager)
  • Models: Kimi For Coding usage quota (#848, #1113); capability metadata is kept by Fetch models (#856, #1112).
  • Links to common desktop apps (obsidian://, vscode://, zoommtg://) are kept. (#1108, #1118)
  • A project group's display name can be renamed from its menu. (#1047, #1125)

Fixed

  • Sidebar: selecting the last revealed session after "show more" no longer shows an older one; folding a group drops its "show more" window. (51dda7c, 0066d5f)
  • The file tree reloads while a run writes files and when the window regains focus. (#1144, #1153)
  • A new session's first prompt is sent even after switching away. (#1146, #1152)
  • External session files are discovered without a manual refresh. (#1100, thanks arkk)
  • File tabs are restored when returning to a workspace. (#1107, thanks Tiger)
  • The settings' httpIdleTimeoutMs now applies to the Web UI. (#1127, thanks QuickLyx)
  • Sub-agents: the profile decides the spawn parameters (#1138); a removed worktree is answered from the repo it branched from (#1137); tools extensions register at session_start are admitted (#883, #1115).
  • Chat: Stop stays clear of the slot compaction lands in (#1131); a one-line notice is centred in its card (#1130); Process details stay open when a turn ends in an error (#906, #1124); the same older page is no longer prepended twice (#1149, #1124); terminal QR codes in extension notices stay intact (#755, #1120); display:false custom messages are hidden (#1043, #1075, #1110); the compaction error can be dismissed (#784, #1109); retry banner, context %, t/s and history window after session switches (#988, #1031, #877, #896, #1114); custom panel keystrokes no longer re-render every answer (#1005, #1121).
  • Clearer errors for a deleted project folder and for Chat only's extension models. (#1061, #804, #1119)
  • A bare clone's worktrees are grouped under the clone. (#1049, #1116)
  • Models are listed in pi's /model order, not by name. (#783, #1111)
  • Two-digit ordered list numbers are no longer clipped. (8347ea5)

Improved

  • Sidebar look: 28px session rows, three text colours only, a 3px accent bar on the selected row, and larger files header keys in the files tab's order. (4fa6799, 02532c3, cae6201)
  • Folding the files section and entering or leaving the archive are animated (reduced motion respected). (02532c3)
  • A folder outside any git repository shows no worktree box. (02532c3)
  • The server starts importing the pi SDK at startup instead of on the first request. (#964, #1117)

Internal

  • Tailwind's source scan no longer descends into .claude worktrees. (6742182)
  • Published npm package @agegr/pi-web@0.11.1.

Don't miss a new pi-web release

NewReleases is sending notifications on new releases.