Skip to content

Releases: youweichen0208/pi-web-ui

0.47.6

Choose a tag to compare

@github-actions github-actions released this 13 Sep 02:10
v0.47.6

0.47.6

0.47.5

Choose a tag to compare

@github-actions github-actions released this 13 Sep 00:44
v0.47.5

0.47.5

0.47.4

Choose a tag to compare

@github-actions github-actions released this 12 Sep 23:15
v0.47.4

0.47.4

0.47.3

Choose a tag to compare

@github-actions github-actions released this 12 Sep 17:08
v0.47.3

0.47.3

0.47.2

Choose a tag to compare

@github-actions github-actions released this 12 Sep 15:57
v0.47.2

0.47.2

0.47.1

Choose a tag to compare

@github-actions github-actions released this 11 Sep 23:51
v0.47.1

0.47.1

0.47.1

Choose a tag to compare

@github-actions github-actions released this 11 Sep 23:51
v0.47.1

0.47.1

0.47.0

Choose a tag to compare

@github-actions github-actions released this 11 Sep 17:35
fix: 项目切换延迟(Windows 明显)+ 历史对话标题脏文本

项目切换慢(server/files-service.ts、server/agent-service.ts):
- listFiles():挂文件树递归监听(fs.watch recursive)从"读完目录之前"挪到
  "把文件列表发给前端之后"。win32 上 recursive fs.watch 对大目录树(尤其带
  node_modules 的项目)的注册开销明显比 macOS 的 FSEvents 慢,原来挡在响应
  前面导致每次切项目都要硬等它注册完
- displaceActive():idle 且这次没发过消息的对话,只要没超过项目的
  MAX_OPEN_CONVERSATIONS 上限就保持 listed(不再立刻 dispose 掉运行时)。
  之前只是切走看了一眼、没打字就会被销毁,切回去要重新走一遍
  AgentSessionRuntime 创建 + SessionManager.continueRecent 磁盘恢复 +
  TerminalManager,这个开销在任何平台都存在,但 Windows 的文件 IO / 杀软
  实时扫描 / ConPTY 初始化明显更慢,所以体感上"项目切换"本身就是卡的
  (副作用:以后更多"看过但没继续聊"的对话也会出现在"运行的对话"列表里,
  是预期行为,不是 bug)

历史对话标题脏文本(web/src/skill-block.ts 等):
- 新增 skillAwarePreview():把 <skill name="...">...整个 SKILL.md 正文...
  </skill> 这种原始文本折叠成 "skill:名字 · 参数" 一行,跟聊天区折叠消息卡片
  的格式统一
- LeftPanel.tsx(历史对话标题)、GlobalSearchModal.tsx(全局搜索预览)、
  server/agent-service.ts 的 conversationTitle()(运行的对话标题,服务端
  单独维护一份同步的正则,跟前端 skill-block.ts 保持一致,两边 tsconfig
  没法共享模块)都接上这个处理;CollapsedMessage.tsx 原有的同款逻辑改为
  复用这个共享函数
- 补了 tests/unit/skill-block.test.ts 的单测