DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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 分类下经过校验的插件。

Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Our Free Model@ebony-vinyl/dsh-our-free-modelOur Free Model — 在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 DeepSeek V4.1 Flash、Kimi K3 在内的前沿模型,桌面端另有 EAC 协付渠道;2.0 起接入 LobsterAI、Qoder、TRAE、Cline、Loomy、Raccoon、MiniMax、ZCode、Gemini 十个账号渠道(原有匿名免费通道保留)(登录、账号池、积分领取、本地 OpenAI 网关与局域网转发、数据看板与运行日志),六页毛玻璃界面统一呈现。Usage@linxin666/dsh-usage用于 dsh Web GUI 的使用统计插件:检测各提供商的余额和编程套餐配额,并实时记录令牌使用情况;侧边栏 Settings 行上方显示紧凑的价格概览卡片Connect Workbuddydsh-connect-workbuddy把本机登录的 WorkBuddy 模型(国内版与国际版)接入 DeepSeek Harness:每次刷新按上游目录自动读取每个模型的积分倍率,支持逐模型图片输入开关、多账号切换与账号池自动换号,并提供每日签到、卡片与输入框里的胶囊积分读数等只读积分概览。

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.