DSH XD Pool
XDTrees/dsh-xdpool把本机 WorkBuddy 桌面 App 登录过的所有账号自动并入 DSH 模型池:多账号轮换自动容错、实时积分,模型目录按模型标注积分倍率与限时免费 / 夜间折扣。
简体中文 | English
dsh-model-memory 是专为 DeepSeek Harness (DSH) 打造的自定义 API 模型思考等级管理、渠道重试策略与偏好持久记忆插件。
supportsReasoningEffort 并勾选档位(low / medium / high / max)。~/.dsh/settings.yaml,即时热重载。max 强度)。retryPolicy 按渠道配置,渠道内所有模型共享;更新保留渠道已有的 backoff 退避参数,写入路径与思考等级一致(宿主 settings 服务优先,缺失时回退原子文件直写)。dsh plugin --profile web add dsh-model-memory
# 1. 克隆仓库
git clone https://github.com/Mutx163/dsh-model-memory.git
cd dsh-model-memory
# 2. 安装依赖并编译验证
pnpm install
pnpm run verify
# 3. 软链接挂载至 DSH Web Profile
dsh plugin --profile web add link:/path/to/dsh-model-memory
dsh-model-memory/
├── src/
│ ├── index.ts # 插件生命周期挂载与 Agent 模型劫持
│ ├── memory.ts # 渠道与思考强度记忆算法引擎
│ ├── rpc.ts # /model-memory RPC 双向通信通道
│ ├── settings.ts # settings.yaml 渠道配置原子管理器
│ ├── store.ts # 磁盘持久化存储引擎 (~/.dsh/model-memory.json)
│ ├── types.ts # TypeScript 类型定义
│ └── client/
│ └── index.ts # Web UI 前端组件(模型设置条目内嵌与插件卡片)
├── test/ # Vitest 单元测试用例
│ ├── memory.test.ts
│ ├── settings.test.ts
│ └── store.test.ts
├── cordis.patch.yml # Cordis 补丁层定义
├── LICENSE # MIT 开源协议
├── README.md # 中文说明文档
└── README_EN.md # English Documentation
# 执行 TypeScript 类型检查
pnpm run typecheck
# 运行全套 Vitest 单元测试
pnpm run test
# 完整验证与打包构建(产物输出至 lib/)
pnpm run verify
本项目采用 MIT License 开源协议。