DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Model Scheduler — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
M

dsh-model-scheduler

Model Scheduler

适用于 DeepSeek Harness Web GUI 的可搜索模型选择器,以及高峰/非高峰时段自动切换模型

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Niobium-41-nb/dsh-model-scheduler#99d7b037f775d632c5cc5331e59c73f36f3256fa
README兼容性版本

兼容性与来源证明

Model Scheduler 以 dsh-model-scheduler 发布,当前版本为 0.1.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/14

版本

0.1.1stable
2026/9/14

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/14
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 models-usage 分类下经过校验的插件。

Usage Stats@ychris12138/dsh-usage-statsdsh Web GUI 的令牌使用热力图、提供商余额和订阅配额Codex Connectdsh-codex-connect用于 DeepSeek Harness 的 ChatGPT OAuth 和 Codex 模型。Ui Usage Billing@kenz1117/dsh-ui-usage-billingDeepSeek Harness 的用量计费仪表板:侧边栏成本指标和完整的仪表板模态窗口,依据当前多提供商目录定价,并汇总会话日志中的实际用量。Codex Subscriptiondsh-codex-subscription通过 OAuth 在 DeepSeek Harness 中使用 ChatGPT 和 Codex 订阅,支持配额管理、安全重置、网页搜索、图像和快速模式

README

dsh-model-scheduler

A DeepSeek Harness plugin that adds two things to the Web UI:

  1. A searchable model picker. The composer's model selector becomes searchable by name/ID — useful when your deployment exposes many models.
  2. Peak / off-peak automatic switching. You assign one model for peak hours and another for off-peak hours; the deployment auto-switches between them at period boundaries, for every open session (next request) and new sessions (the saved default).

🇨🇳 中文说明见 README.zh.md。


How it works

  • The schedule is evaluated in Asia/Shanghai time (configurable).
  • Default schedule:
    • Peak (高峰): Monday–Friday, 09:00–12:00 and 14:00–18:00 Beijing time.
    • Off-peak (空闲): everything else — including all of Saturday and Sunday.
  • A host timer re-checks the period every 30 seconds; when the period crosses a boundary, it applies the period's model:
    • agentDefaultModel is updated (default for new sessions);
    • every attached non-subagent session receives a model/selection session event, so that session's next request uses the period model immediately.
  • Editing the schedule in the GUI applies immediately (force), not on the next tick.
  • Startup never overrides anything: the current period is only recorded as a baseline.
  • Models are validated with the deployment's LLM route resolution before being applied; an unavailable route logs a warning and is skipped.

Install

dsh plugin --profile web add github:Niobium-41-nb/dsh-model-scheduler

Restart dsh web (or reload the profile), then refresh the browser page. The built bundle is committed to this repository, so no build step is required on the user side.

Usage

  1. In the composer, a badge next to the model seat shows the current period (peak / off-peak). Click it to open the schedule panel.
  2. In the panel:
    • Search and pick models — search by model name, model ID, or provider name; two actions per row: Use now (switch this session, also becomes the new default) and Set as peak/off-peak model.
    • Peak model / Off-peak model — the two routes used by automatic switching.
    • Peak windows (time zones shown) — up to two time-of-day windows; an end at or before the start crosses midnight.
    • Peak days — weekday chips (default Mon–Fri; weekend is fully off-peak).
    • Enable switch — turns automatic switching on/off.
    • Switch to the current period model now — applies the current period's model immediately.
  3. Changes are saved to the shared model-scheduler settings namespace and take effect right away.

Configuration

The plugin works with zero configuration (defaults above). Everything is editable from the GUI, and the same namespace is available in cordis.yml:

- id: dsh-model-scheduler
  config:
    enabled: true
    timeZone: Asia/Shanghai
    peakDays: [1, 2, 3, 4, 5]        # 0=Sunday … 6=Saturday
    peakWindows:
      - { start: "09:00", end: "12:00" }
      - { start: "14:00", end: "18:00" }
    peakModel: { provider: "deepseek-official", model: "deepseek-chat" }
    offPeakModel: { provider: "deepseek-official", model: "deepseek-reasoner" }

The model-scheduler settings section (what the GUI edits) overrides this composition config.

Development

pnpm run host:test     # node --test on lib/tests (period engine + host apply behavior)
pnpm run bundle        # tsdown → lib/client.js (client half)
node scripts/verify-client.mjs  # smoke-check the client bundle contract

Layout:

  • lib/index.js — host plugin (apply), settings namespace model-scheduler, the 30 s timer, default + session-level switching.
  • lib/period.js — pure period engine (IANA time zone, weekday windows, midnight-crossing windows). Mirrored by src/client/period.ts.
  • src/client/* — browser half: searchable picker + schedule panel as a conversation.input.right slot, locale dictionaries (model.scheduler), stylesheet.
  • cordis.patch.yml — bundle manifest for dsh plugin add.

The published artifact is the committed build output (lib/client.js), so users install via git without prepare scripts or allowBuilds.

License

MIT — see LICENSE.