DeepSeek Harness Plugin

PerseusNana7mi/dsh-model-kit

Stars ★ 2 Downloads (30d) 2,025 Category Models & Providers Added 2026-10-16 npm dsh-model-kit

Fills missing model parameters from models.dev, imports models from configured providers, and writes per-field overrides for built-in models, with prices in USD or native CNY set as manual rates or a reference price times a multiplier.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-model-kit

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:PerseusNana7mi/dsh-model-kit

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

Model metadata assistant for DeepSeek Harness: review model capabilities and reference prices before saving them to DSH.

Designed for DSH Desktop 0.2.x. The development and integration-test baseline is 0.2.2-rc.1. See the compatibility policy.

Features

Feature Description
Model metadata Look up display names, context windows, output limits, input modalities, and recognized reasoning efforts from Models.dev.
Preview and compare Fill a draft, review conflicting sources field by field, and undo the latest fill.
Pricing Edit input, output, cache-read, and cache-write rates in native USD or CNY; use a reference rate and multiplier when appropriate.
Remember reference sources Save an explicitly confirmed price reference per target model, catalog and currency, including exact aliases. Replace or clear it, or explicitly fetch a fresh quotation next time.
Model import Discover models through a provider already configured in DSH, preview them, and append selected models.
Built-in overrides Override individual fields of inherited models or restore inheritance.
Batch review and save Review up to 100 configured models with shared fresh catalogs, select parameter and direct-price fields, and confirm fill or update writes. Multiplier references update as whole snapshots; parameter and price results are reported separately.

Reference prices come from Models.dev (USD) or basellm (native USD/CNY). Missing prices remain unknown, explicit zero remains zero, and the plugin does not convert currencies. See recommendation rules and pricing sources.

Install

The package is available as dsh-model-kit on npm. Install it with the DSH CLI paired with Desktop:

dsh plugin --profile desktop add dsh-model-kit

For a separate Web profile, change desktop to web. Fully quit Desktop from the tray and reopen it. The assistant appears under Settings → Model Kit (shown as 模型信息助手 in Chinese). Running npm install dsh-model-kit alone does not mount the plugin in a DSH profile.

For an offline install, select a prebuilt .tgz in Desktop's plugin manager. To build a local package from source, use Node.js 22.19 or newer:

npm ci
npm pack

npm pack builds and creates a local archive; it does not publish to npm. Do not install unbuilt source as a plugin.

Use

  1. Configure a provider, protocol, API endpoint, and credentials in DSH's native model settings.
  2. Open Settings → Model Kit and select a provider and model.
  3. Choose Fill model information, review the draft, and compare sources when they disagree.
  4. Optionally edit reference prices and their currency, source, or multiplier.
  5. Save the reviewed changes. Model import and built-in overrides are available in the additional model actions.

Writes use DSH's Settings API and its revision check. If another operation changes the configuration first, reload and review the draft again. See the editor guide for details; the plugin UI and the detailed guide are currently in Chinese.

Important limits

  • Saving an explicit maxTokens also sets the default output limit for requests, not just a displayed capacity.
  • Reasoning effort levels are only filled when recognized from an official model catalog. Merely knowing that a model can reason does not establish supported effort levels. Manually enabling reasoning defaults to medium, which is a plugin default rather than verified provider support.
  • Saved prices are unit rates, not a bill. Session cost calculation and integration with DSH's native usage statistics are not implemented.
  • Switching currency replaces that model's previously saved rates in the other currency. Complex or tiered prices are not converted into a fixed rate.

The plugin does not fetch catalogs or edit models automatically at startup. Catalog requests run through the host when needed; provider discovery uses DSH's configured credentials. API keys are not returned to the plugin's browser UI or sent to reference catalogs. Model fields and plugin prices are saved through Settings to the active profile's cordis.patch.yml.

Documentation and license

MIT licensed. See LICENSE and THIRD_PARTY_NOTICES.md. When reporting a problem, include the host and plugin versions, reproduction steps, and redacted errors, never API keys or a full profile configuration.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.