← 返回列表
D

dsh-all-warmup

v0.1.0 · 2 天前发布

Global frictionless warm-up layer plugin for DeepSeek Harness: every session (top-level, every subagent depth, after compaction) runs one independent warmup call with a minimal catalog, then exposes the full original mode from the second round on.

dshdsh-plugindeepseek-harnesscordiswarmup

README

All-WarmUp

全局"无感提升"热身层插件(DeepSeek Harness)。

任何会话(任何非极简模式、所有层 subagent、压缩后)都自动走同一套流程:


用户发第一条真实消息

插件偷偷发起一次独立热身调用(Minimal 人设 + bash/str_replace_editor + "你是谁")

真实消息轮:只有极简工具对 + 白名单消息(正文只多一个折叠的"热身"条目)

模型回复 → 提升

第二轮起:完整原模式一切照旧

安装

方式一:bundle 安装(推荐)

sh
dsh plugin --profile web add dsh-all-warmup

或从 GitHub 直接安装:

sh
dsh plugin --profile web add github:brunhildzhou/dsh-all-warmup

方式二:手动挂载

  • 位置:$DSH_HOME/profiles/web/all-warmup/(6 个文件 + 测试)

  • 挂载:$DSH_HOME/profiles/web/cordis.patch.yml 一行 insert

  • 生效方式:配置文件保存后自动热重载(官方 watchUserPatches 契约),无需重启

  • 官方包零修改
  • 卸载

    删掉 cordis.patch.yml 里 all-warmup 那一行(或删除文件)→ 保存即失效。

    配置

    ```yaml

  • insert:

  • - id: all-warmup
    name: dsh-all-warmup
    config:
    excludePresets: [minimal] # 排

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-all-warmup
    Repo
    Engines
    {"node":">=22"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}