feat: wire channel mode runtime config and docs

This commit is contained in:
zhi
2026-04-02 04:48:20 +00:00
parent 8073c33f2c
commit d44204fabf
9 changed files with 60 additions and 20 deletions

View File

@@ -243,9 +243,9 @@
- [ ] 评估是否需要增加 shuffle 默认配置项
#### B2.2 `plugin/rules.ts` / config 类型
- [ ] 为 multi-message mode 相关配置补类型定义
- [ ] 为 shuffle mode 相关 channel state / config 补类型定义
- [ ] 确保运行时读取配置逻辑可访问新增字段
- [x] 为 multi-message mode 相关配置补类型定义
- [x] 为 shuffle mode 相关 channel state / config 补类型定义
- [x] 确保运行时读取配置逻辑可访问新增字段
### B3. `plugin/core/` 新增 channel mode / shuffle state 模块
- [x] 新增 channel mode state 模块(如 `plugin/core/channel-modes.ts`
@@ -305,14 +305,14 @@
- [x] 命令帮助文本补充说明
### B8. `plugin/index.ts`
- [ ] 注入 channel mode / shuffle state 模块依赖
- [ ] 将新状态能力传给相关 hooks / turn-manager
- [ ] 保持初始化关系清晰,避免 mode 逻辑散落
- [x] 注入 channel mode / shuffle state 模块依赖
- [x] 将新状态能力传给相关 hooks / turn-manager
- [x] 保持初始化关系清晰,避免 mode 逻辑散落
### B9. moderator 消息模板
- [ ] 定义 multi-message mode 下的 prompt marker 发送规则
- [ ] 明确是否需要 start / end 的 moderator 确认消息
- [ ] 定义退出 multi-message mode 后的 scheduling handoff 触发格式
- [x] 定义 multi-message mode 下的 prompt marker 发送规则
- [x] 明确是否需要 start / end 的 moderator 确认消息
- [x] 定义退出 multi-message mode 后的 scheduling handoff 触发格式
### B10. 测试
#### B10.1 Multi-Message Mode