DSH XD Pool
XDTrees/dsh-xdpool把本机 WorkBuddy 桌面 App 登录过的所有账号自动并入 DSH 模型池:多账号轮换自动容错、实时积分,模型目录按模型标注积分倍率与限时免费 / 夜间折扣。
为自定义 API 模型提供推理强度分级管理与跨会话偏好记忆:在「设置 → 模型」中内联切换 low/medium/high/max,配置写入为原子操作。
简体中文 | English
dsh-model-memory is a plugin for DeepSeek Harness (DSH) that provides reasoning effort management, channel-level retry policy control, and cross-session preference memory for custom API models.
supportsReasoningEffort and allows selecting supported tiers (low / medium / high / max).~/.dsh/settings.yaml with immediate effect.max) per custom provider channel.retryPolicy is a channel-level setting shared by all models inside the channel; updates preserve the channel's existing backoff parameters and reuse the same write path as reasoning effort (host settings service first, atomic direct file write as fallback).dsh plugin --profile web add dsh-model-memory
# 1. Clone repository
git clone https://github.com/Mutx163/dsh-model-memory.git
cd dsh-model-memory
# 2. Install dependencies & verify
pnpm install
pnpm run verify
# 3. Mount to DSH Web Profile
dsh plugin --profile web add link:/path/to/dsh-model-memory
dsh-model-memory/
├── src/
│ ├── index.ts # Plugin lifecycle and Agent default model wrapper
│ ├── memory.ts # Model & reasoning effort memory algorithm engine
│ ├── rpc.ts # /model-memory bidirectional RPC channel
│ ├── settings.ts # settings.yaml atomic configuration manager
│ ├── store.ts # Disk persistence engine (~/.dsh/model-memory.json)
│ ├── types.ts # TypeScript definitions
│ └── client/
│ └── index.ts # Web UI client components
├── test/ # Vitest unit test suites
├── cordis.patch.yml # Cordis patch layer
├── LICENSE # MIT License
├── README.md # Chinese Documentation (Default)
└── README_EN.md # English Documentation
# TypeScript typecheck
pnpm run typecheck
# Run unit tests
pnpm run test
# Full verification & build
pnpm run verify
Licensed under the MIT License.