Skip to content

Commit d809792

Browse files
committed
docs(core-devx): 标记 pb_webui/pb_protocol 改名验收完成并更新路线状态
2 parents 485d82f + fad373f commit d809792

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

docs/architecture/core-devx-roadmap.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Core 开发体验路线(plugin_sdk · core_commands · 热重载)
22

3-
> **状态**设计草案(M0 键名已敲定) · **分支**`feat/core-devx`
3+
> **状态**M0–M5b 已落地 · **分支**`dev`
44
> **背景**:多平台适配 ROI 低;QQ 深耕 + 参考 [GsUID Core](https://github.com/Genshin-bots/gsuid_core) 的「用户减负、统一开发、内置命令、成熟热重载」方向。
55
> **非目标**:替换 NoneBot matcher、全量代码热载、独立 WS 核心。
66
@@ -320,20 +320,20 @@ flowchart LR
320320

321321
| 步骤 | 交付 | 兼容要求 |
322322
| --- | --- | --- |
323-
| **M5a** | 目录 `src/plugins/pb_webui/`、import 全量替换、`plugin_matrix` / help 别名 | `pallas_webui` 包名在 `plugin_aliases` / 全局禁用名单保留 **1 个版本周期** 映射到 `pb_webui` |
324-
| **M5b** | 目录 `src/plugins/pb_protocol/`、测试目录同步、文档路径 | `PALLAS_PROTOCOL_*` env **继续可读**;文档标注 `PB_PROTOCOL_*` 为推荐新键 |
323+
| **M5a** | 目录 `src/plugins/pb_webui/`、import 全量替换、`plugin_matrix` / help 别名 | `pallas_webui` 包名在 `plugin_aliases` / 全局禁用名单保留 **1 个版本周期** 映射到 `pb_webui` ||
324+
| **M5b** | 目录 `src/plugins/pb_protocol/`、测试目录同步、文档路径 | `PALLAS_PROTOCOL_*` env **继续可读**;文档标注 `PB_PROTOCOL_*` 为推荐新键 ||
325325
| **M5c** | 扩展仓 `pallas-plugin-protocol``pb-plugin-protocol`(若做) | 旧 pip 包名 README 指向新包 |
326326

327-
### M5 单 PR 检查清单
327+
### M5 单 PR 检查清单(M5a/M5b 已验收)
328328

329-
- [ ] `src/plugins/<old>/``src/plugins/<new>/`
330-
- [ ] `tests/plugins/<old>/``tests/plugins/<new>/`
331-
- [ ] `docs/plugins/<old>/``docs/plugins/<new>/`
332-
- [ ] `plugin_matrix.py``plugin_aliases.py``startup_global_disable` 默认名单
333-
- [ ] `plugin_data_dir("…")``data/` 目录:启动时检测旧路径并 **一次性迁移或软链**写清 Migration 说明
334-
- [ ] 跨插件 `from src.plugins.<old>` import 全仓 grep 清零
335-
- [ ] WebUI `field_labels` / `env_sections` 中插件 id 字符串
336-
- [ ] CI / release 脚本中的硬编码包名
329+
- [x] `src/plugins/<old>/``src/plugins/<new>/`
330+
- [x] `tests/plugins/<old>/``tests/plugins/<new>/`
331+
- [x] `docs/plugins/<old>/``docs/plugins/<new>/`
332+
- [x] `plugin_matrix.py``plugin_aliases.py``startup_global_disable` 默认名单
333+
- [x] `plugin_data_dir("…")``data/` 目录:启动时检测旧路径并 **一次性迁移**`pb_*_data_dir`
334+
- [x] 跨插件 `from src.plugins.<old>` import 全仓 grep 清零
335+
- [x] WebUI `field_labels` / `env_sections` 中插件 id 字符串(section id 改为 `pb_*`
336+
- [x] CI / release 脚本中的硬编码包名(文档路径)
337337

338338
### 与 pb_core 的关系
339339

0 commit comments

Comments
 (0)