hu568/dsh-plugin-cluster-preset ↗★ 0

@dsh-external/dsh-cluster-preset

DSH「集群模式」agent preset:主控智能体自主编排 5 个具名专家(explore/librarian/oracle/metis/momus)与 2 个通用委派,并行扇出并回收验证;附「智能体寿命论」阶段提示器(按上下文占用折算年龄,20/30/40/60 岁各提示一次) 适合需要多专家智能体协同,并监控上下文占用折算寿命的复杂任务。

パッケージ
@dsh-external/dsh-cluster-preset
互換性
未検証
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/28

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hu568/dsh-plugin-cluster-preset

ドキュメント

README 全文を読む ↗

配置

在 build-preset.mjs 的 cluster-lifecycle-reminder 行加 config 即可:

- id: cluster-lifecycle-reminder
  name: ./cluster-preset/lifecycle-reminder.js
  config:
    subjectPreset: cluster        # 只对本预设生效;null = 所有会话
    includeSubagents: true        # 子智能体也提示(它们才是真吃上下文的)
    explain: true                 # 在系统提示里加一段说明 + 实时年龄
    theoreticalWindow: 1000000    # 标称上限;省略则用实际生效窗口
    stages:                       # 省略则用内置四档
      - age: 20
        label: 轻量任务可以完成
        lines:
          - 【寿命论 · 壮年 1/4】理论年龄 20 岁。
          - ''
          - 趁窗口还干净,把关键结论固化下来。

任何非法值都会让挂载失败并给出具体原因(fail-loud),而不是被静默忽略。