Skip to content

refactor: foundation cleanups for the pilo-design split (1/5) - #71

Merged
devin-ai-integration[bot] merged 17 commits into
mainfrom
devin/1796538348-pilo-design-1-foundation
Dec 6, 2026
Merged

devin-ai-integration[bot] merged 17 commits into
mainfrom
devin/1796538348-pilo-design-1-foundation

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

改动说明

refactor/pilo-design 拆分为 5 个叠加 PR,本 PR 为第 1 层(1 基础清理 → 2 React 脚手架 → 3 Host 会话状态 → 4 React WebUI → 5 Web 重设计)。各层从最终代码重建提交,第 5 层的代码树与 refactor/pilo-design 完全一致。

互不依赖的基础清理,可独立合入:

  • MCP 确认改走 Pi RPC,删除 project MCP approval 的 Host 方法
  • 删除会话时清理关联数据库行
  • 补全 Host capability 契约,统一 Pi Coding Agent 包名与 Pi marker 前缀
  • 会话历史改为 tail-first 读取并支持 zstd,file link 携带 wire metadata
  • runtime 与 pilo-server 工具解耦,改用 Tokio 多线程调度器
  • 收敛 Windows verbatim 路径处理
  • 每个 Host 数据库使用 SQLite 连接池

验证方式

本分支在 macOS 本机单独通过:pnpm check / pnpm test / pnpm build、generate:themes|icons|host-api --check、cargo fmt 与 cargo clippy -D warnings(workspace 与 pilo-desktop)、cargo build -p pilo-server、cargo test -p pilo-domain -p pilo-runtime、pilo-desktop cargo test、nsh check、nsh test(nsh 0.8.0)。未做 UI 手动验证;Windows / Linux 未验证。

Link to Devin session: https://app.devin.ai/sessions/72987b754aba4242b81b54c9760f1bc4
Open in Devin Desktop: https://app.devin.ai/desktop/session/72987b754aba4242b81b54c9760f1bc4?variant=devin
Requested by: @hsingjui

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@coderabbitai

coderabbitai Bot commented Dec 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: hsingjui/pilo
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: ad0c1ee
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 71649bde-8256-4ef4-9676-3499dd0601de

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@devin-ai-integration
devin-ai-integration Bot added this pull request to stack #76 December 6, 2026 06:46
@devin-ai-integration
devin-ai-integration Bot merged commit f59bb4a into main Dec 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant