Files
ShowenV2/PROGRESS.md
XiuChengWu 47d6b06ced chore: upgrade Rust edition 2018 2021
- Cargo.toml: edition 2021
- plugin-sdk/Cargo.toml: edition 2021
- plugins/example-plugin/Cargo.toml: edition 2021

Rust 2021 edition 带来更好的闭包捕获规则、IntoIterator for arrays 等改进。
2026-03-31 23:21:57 +08:00

53 lines
1.9 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ShowenV2 — 项目进度
> 当前状态和待办事项的权威来源是 `CLAUDE.md`。本文件保留里程碑摘要和最近变更。
> 完整提交历史见 `.showen/PROGRESS_ARCHIVE.md`。
## 当前里程碑
**M1.2 — 进行中** 🔄
- 集成测试全部编写完毕ServiceManager 8 + HTTP路由 9 + 动态插件 15 = 32 个)
- **阻塞项**:待 Linux ARM64 运行 `cargo test --workspace` 验收 + git commit
---
**M1.1 — 完成**
- 30 个提交Phase 1 骨架 + 功能迁移 + 动态插件 + DevicePlugin 阶段一/二
- 115/115 测试通过107 核心 + 8 集成),零 warningM1.1结束时77/77M1.2期间增至115
- DevicePlugin: Display + SleepInhibit + Backlight + Cursor (Linux ARM64)
- ScreenPlugin 重构为 thin wrapper
## 最近变更 (提交 26-30)
| # | 提交 | 内容 | 负责人 |
|---|------|------|--------|
| 26 | `48d1eeb` | plugin-sdk 同步 Device 类型 | 李思琪 |
| 27 | `f060519` | DeviceCommand 添加 SetCursorVisible | 张明远 |
| 28 | `5310a92` | LinuxArm64Backend 添加光标控制 | 赵雨薇 |
| 29 | `bf41c45` | ScreenPlugin 重构为 thin wrapper | 赵雨薇 |
| 30 | `be08c63` | 新增 4 个光标控制集成测试 | 李思琪 |
## 架构概览
```
core/ (插件微内核)
ServiceManager → 生命周期/消息路由/错误策略
Plugin trait → 统一插件接口
Message enum → 类型安全消息 (Serialize/Deserialize)
动态插件层 → FFI Loader / Runtime / Self-Test
plugins/ (一切皆插件)
video/ screen/ http/ ble/ wifi/ device/
(未来: render/ avatar/ vr/ ar/ voice/ ai/ singer/)
```
## 实机验证结果
| 验证项 | 结果 |
|--------|------|
| `--validate` | 21 个视频路径全部有效 |
| 插件初始化 | 5/5 正常 start |
| HTTP API | `/api/status``/api/playlist` 正常 |
| framebuffer | fb0 480x800 检测成功 |
| Release 编译 | 9.4MB ARM aarch64 |