DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Model Scheduler — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
M

dsh-model-scheduler

Model Scheduler

Searchable model picker plus automatic peak/off-peak model switching for the DeepSeek Harness Web GUI

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:Niobium-41-nb/dsh-model-scheduler#99d7b037f775d632c5cc5331e59c73f36f3256fa
READMECompatibilityVersions

Compatibility and provenance

Model Scheduler is published as dsh-model-scheduler and currently resolves to version 0.1.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/14/2026

Versions

0.1.1stable
9/14/2026

Related plugins

Loading related plugins…

Latest
0.1.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
9/14/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in models-usage.

Usage@linxin666/dsh-usageUsage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with the current session provider's today usage on the sidebar entryUsage Stats@ychris12138/dsh-usage-statsToken usage heatmap, provider balances, and subscription quotas for the dsh web GUICodex Connectdsh-codex-connectChatGPT OAuth and Codex models for DeepSeek Harness.Ui Usage Billing@kenz1117/dsh-ui-usage-billingUsage billing dashboard for DeepSeek Harness: sidebar cost metrics plus a full dashboard modal, priced from a current multi-provider catalog with real usage aggregated from session logs.

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.