Repository navigation
Releases: DamonBao/dsh-models-input-modalities
Release list
0.2.0-rc.2
Models Input Modalities for DeepSeek Harness 0.2.0-rc.2.
- Update the plugin API integration, host peer ranges, settings UI, and bilingual metadata for DSH 0.2.
- Keep model image-input and reasoning-level controls available in the new host.
Install @jcy2387/dsh-models-input-modalities@0.2.0-rc.2. The release workflow publishes it to npm with the rc dist-tag.
0.1.3
0.1.2 — per-model reasoning levels
The input-modality fold becomes a Model capabilities fold: per model, input modalities as before, plus a reasoning-levels claim — the per-model field the Models page deliberately leaves to settings.yaml.
- Three-way reasoning choice per model — Catalog default (field removed, inherits the installed catalog's capability), Not a reasoning model (
reasoningEfforts: false), or Declare levels, which unfolds the seven levels as a tick box plus the wire spelling dispatch sends for it (max: ultrafor gateways with their own vocabulary; a valuelessoff:is offered and sent as no parameter at all). - This is what puts levels in the picker — the composer's model picker lists exactly the levels a model declares, so a hand-declared gateway model gains its Low/Medium/High choices here and nowhere else in the UI.
- Refused before the write — a declared set with no level beyond
off, or a declared level with no wire value, names its row and keeps Save closed instead of answering a rejected settings mutation. - A seed that assumes nothing about
off— switching to declared levels starts fromlow/medium/high; on the plainreasoning_effortwire an emptyoffis the same request as naming no effort, so it is left for the author to tick and spell. - One fold, one write — both claims share the fold because both write the same stored
modelsarray under one revision fence. - Locale namespace renamed to
settings.models.modelCapabilities; card and controller moved to model-capability wording. Bilingual READMEs document the control and the YAML it writes.
中文:「输入模态」折叠区升级为「模型能力」:每模型除输入模态外,新增推理等级声明(目录默认 / 非推理模型 / 声明等级)。声明写入适配器读取的 reasoningEfforts 字典——勾选的等级即 composer 模型选择器提供的选项,每级可自定义发到网关的拼写;非法声明在保存前按行指名并禁用保存;切到声明等级时默认勾 low/medium/high,off 不预勾。
0.1.1
Published on npm as @jcy2387/dsh-models-input-modalities@0.1.1.
Highlights
- Follows the page live — the fold now subscribes to the Host's forwarded
settings/document-updatedinvalidation of its own namespace (llm-pi-ai), so adding or removing a model in the catalog above updates the modality rows in place — no closing and reopening the section. - Catch-up reads — a commit that outruns a running read is caught by revision comparison and re-read until the fold is level; the card's own write is recognised by the revision it just committed and never echoes back as a refresh.
- Drafts are never overwritten — a change that lands mid-draft parks until the draft settles: revert the edits and the fold re-reads silently, or save and the revision fence refuses the raced write and reloads behind a conflict notice. A reopen over an unsaved draft keeps it.
- Fixes — stale error copy is cleared on silent-refresh and save successes.
Install
dsh plugin --profile web add @jcy2387/dsh-models-input-modalities
dsh webRequires DeepSeek Harness >=0.1.5-alpha.1 <0.2.0 with the web profile; Node.js ^22.19.0 || >=24.0.0.
v0.1.0
First public release — published on npm as @jcy2387/dsh-models-input-modalities@0.1.0.
DSH Models Input Modalities is a DeepSeek Harness (DSH) Web client plugin that adds an Input modalities fold to every third-party (pi-ai) provider card on the Settings → Models page, declaring per model which inputs it accepts (whether images are allowed) — exactly the field the page's own forms do not expose.
Highlights
- A three-way choice per model — Provider default, Text only, or Text and image (writes
input: [text]/input: [text, image], or removes the field so the row inherits the installed catalog's modalities). - Revision-fenced writes — the whole
modelsarray is written back under the revision read when the fold was opened, with the same array semantics and conflict handling as the Models page's own cards: a concurrent edit surfaces a conflict notice and reloads instead of silently clobbering. - Field preservation — every other field of every model row survives verbatim, including fields the card never shows.
- Localized UI — English and 简体中文 follow the Web UI's locale.
Install
dsh plugin --profile web add @jcy2387/dsh-models-input-modalities
dsh webRequires DeepSeek Harness >=0.1.5-alpha.1 <0.2.0 with the web profile; Node.js ^22.19.0 || >=24.0.0.
Full Changelog: https://github.com/DamonBao/dsh-models-input-modalities/commits/v0.1.0