dsh-cohub 0.13.4 → 0.13.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # dsh-cohub
2
2
 
3
- > 本文对应 **v0.13.4**;完整变更历史见 [CHANGELOG.md](./CHANGELOG.md)。
3
+ > 本文对应 **v0.13.5**;完整变更历史见 [CHANGELOG.md](./CHANGELOG.md)。
4
4
 
5
5
  DeepSeek Harness 版(对照 [OpenCode 版](../oh-my-opencode-cohub/)):中文智能体编排插件。
6
6
  把「纯调度模式 + 内置技能(代理编排体系 + co-cordis 组合创作 + 写作组)+ 多模型共识 + 运行期调度韧性」移植到 DSH 原生能力之上。
@@ -183,6 +183,11 @@ revision 冲突拒绝保存、只写显式配置的代理等。
183
183
  # name(kebab-case,不得与内置角色重名)/ description(非空)
184
184
  # / prompt(非空,未来映射为子代理 brief)/ tier(ro|ro-net|rw|rw-shell|cordis)
185
185
  # 重名检查在运行时注册逻辑中进行;本版仅配置管道,尚不影响运行时行为。
186
+ teams: [] # 团队(角色池编组):把内置角色与 customRoles 按用途分组。
187
+ # volatile:设置页可改、热生效。每项 id(kebab-case)/ name(非空)/
188
+ # members(角色名数组,至少 1 个,取自内置角色或 customRoles 的 name)必填,
189
+ # description 可选;「成员必须真实存在」「id 不得重复」由运行时校验。
190
+ activeTeam: "" # 活动团队 id;空串 = 不限制(全部角色可用)。volatile,热生效。
186
191
  ```
187
192
 
188
193
  **启用 council**(councillors 非空时自动注册 council_session 工具):
package/cordis.patch.yml CHANGED
@@ -44,6 +44,23 @@
44
44
  # prompt: 你只审查,不修改;按文件列出风险与建议
45
45
  # tier: ro
46
46
  customRoles: []
47
+ # teams / activeTeam:团队(角色池编组)——把内置角色与 customRoles 按用途分组,
48
+ # activeTeam 选择当前可用哪一组。默认 teams=[]、activeTeam="",即不限制(全部角色可用),
49
+ # 行为与旧版完全一致。teams 每项三字段必填:
50
+ # id kebab-case(^[a-z0-9]+(-[a-z0-9]+)*$),activeTeam 的取值
51
+ # name 非空显示名
52
+ # members 角色名数组,至少 1 个(取自内置角色或 customRoles 的 name)
53
+ # description 可选。「成员必须真实存在」「id 不得重复」由运行时校验,不在 schema 层;
54
+ # 本批仅配置管道,按 activeTeam 过滤可用角色由后续批次接入,因此当前对运行时行为无影响。
55
+ # 示例:
56
+ # teams:
57
+ # - id: writing
58
+ # name: 写作组
59
+ # description: 选题 → 提纲 → 成稿 → 审校
60
+ # members: [co-outliner, co-writer, co-editor]
61
+ # activeTeam: writing # 空串 "" = 不限制
62
+ teams: []
63
+ activeTeam: ""
47
64
  # delegateEnvContract: delegate 委派时是否在子代理 prompt 前注入「执行器环境契约」
48
65
  # (通用原则 + 探测式自适应,避免子代理在陌生执行环境现场盲试)。默认开;可关闭/可覆盖文本:
49
66
  # delegateEnvContract: { enabled: true } # 默认