v0.6.0: beautifului 整合 + 会话/工作区/队列/权限/命令/附件全链路

- beautifului.dev 组件直连:Sidebar Nav、Tool Chips、Approval Card(抽屉化)、Streaming/Thinking、Code Block、Selection Actions、Prompt Bar、Search
This commit is contained in:
Rick Ye
2026-09-06 09:57:14 +08:00
parent 3c2e9e96c5
commit a5951849c8
96 changed files with 11828 additions and 4649 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
| 框架 | Electron + electron-vite | 三进程构建(main/preload/renderer),HMR;Electron ≥37.6(内置 Node ≥22.19,满足 pi 运行时) |
| 渲染进程 UI | React + TypeScript | |
| 样式 | Tailwind CSS v4 | |
| 组件 | shadcn/ui 风格自实现 + beautifului.dev 原语风格(Approval Card、Tool Chips、Task Rows、Streaming Text、Thinking、Prompt Bar) | copy-paste 式自有组件,不引入外部付费 |
| 组件 | beautifului.dev registry 原语(MIT,shadcn CLI 分发)+ shadcn/ui 风格自实现 | `components.json` 已配置,`npx shadcn add https://www.beautifului.dev/r/<slug>.json` 直装;已装 LoadingState / ThinkingState / ToolChips / ApprovalCard / Button / GlideMenu + foundation tokens(暗色适配见 `src/renderer/src/styles/beautifului.css`) |
| 动效 | GSAP | 消息入场、卡片展开、状态过渡 |
| 图标 | lucide-react | |
| Agent 运行时 | pi SDK(`@earendil-works/pi-coding-agent`,版本精确锁定) | 嵌主进程;`save-exact` 纪律 |