Skip to content

Releases: Scorp1o117/dsh-reasoning-options

dsh-reasoning-options v0.6.4

Choose a tag to compare

@Scorp1o117 Scorp1o117 released this 05 Nov 07:17

适配 DeepSeek Harness 官方候选版 0.2.2-rc.1,保留此前声明的兼容版本。

更新 DSH 设置服务的兼容声明,并验证原生推理档位、网关请求头和配置协调逻辑的项目测试。

项目测试已在 0.2.1-rc.5 和 0.2.2-rc.1 依赖下通过。发布包已在隔离的 0.2.2-rc.1 Web Profile 中完成安装和启动检查。

v0.6.3 — DSH 0.2.1-rc.5

Choose a tag to compare

@Scorp1o117 Scorp1o117 released this 31 Oct 02:16

支持 DSH 0.2.1-rc.4 和 0.2.1-rc.5,保留此前声明的兼容版本。

验证:项目测试通过;在独立的 rc.4 和 rc.5 Web Profile 中安装插件并检查配置页面。原生 Desktop 未在本次实机验证。

v0.6.2 — DSH 0.2.1-rc.3

Choose a tag to compare

@Scorp1o117 Scorp1o117 released this 24 Oct 06:55

Support DSH 0.2.1-rc.3 through explicit engines.dsh and peer ranges. Preserve existing configuration and earlier supported hosts. No runtime source changes were required: the rc.2-to-rc.3 host diff (More navigation menus, New Session draft reuse, official /models listing on the API-key route) does not touch the settings or pi-ai interfaces, the native reasoning settings keep the opt-in augmentation policy, and the removed ctx.layout.entryVisibility/agentPresetNavigation APIs were not in use.

Validation: 24 Node test-runner cases plus script assertions in fresh rc.3 dependencies; official CLI isolated-profile installation from the shipped web template, configuration composition, startup and authenticated HTTP 200. Full details are in VERIFICATION.md. Web was tested; Desktop validation is separate.

v0.6.1 — DSH 0.2.1-rc.2

Choose a tag to compare

@Scorp1o117 Scorp1o117 released this 17 Oct 10:15

Support DSH 0.2.1-rc.2 through explicit engines.dsh and peer ranges, with development dependencies pinned to the target release. Preserve existing configuration and earlier supported hosts. No runtime source changes were required by the rc.1-to-rc.2 plugin API comparison.

Validation: 24 Node test-runner cases plus script assertions in fresh rc.2 dependencies; official CLI isolated-profile installation, configuration composition, startup and authenticated HTTP 200. Full details are in VERIFICATION.md. Web was tested; Desktop validation is separate.

v0.6.0 — DSH 0.2.1-rc.1

Choose a tag to compare

@Scorp1o117 Scorp1o117 released this 17 Oct 07:04

DSH 0.2.1 now provides custom-model reasoning editing. Automatic declaration filling is opt-in, so disabling reasoning in the native editor stays effective. Existing model declarations and provider defaults are preserved. OpenCode routing headers and the revision-checked provider Default helper remain available.

Validation: full tests in clean DSH 0.2.1-rc.1 dependencies; official CLI isolated-profile install, configuration composition, startup, authenticated HTTP 200, and plugin UI inspection. See VERIFICATION.md for details. New packaged Desktop 0.2.1 was not tested.

dsh-reasoning-options v0.5.0

Choose a tag to compare

@Scorp1o117 Scorp1o117 released this 12 Oct 13:33

Restore DSH's native Default reasoning behavior by stopping automatic reasoning: high injection. The plugin configuration now offers a Default option for each provider; selecting it clears the route's configured effort with a revision-checked unset.

Existing configured defaults are preserved until changed. Conversations with an explicit effort should select Default again in the model menu.

Validation: full suite passed (20 named tests plus reconciliation assertions). Real packaged Desktop pi-ai adapter requests omitted reasoning_effort under Default, sent high when explicitly selected, and completed with a non-reasoning model. Browser Default selection verified. See VERIFICATION.md.

Install: dsh plugin --profile desktop add dsh-reasoning-options@0.5.0. Restart DSH afterwards.

v0.4.1 — 推理选项:精简配置与网关匹配

Choose a tag to compare

@Scorp1o117 Scorp1o117 released this 04 Oct 06:40

配置页与插件列表名称/说明匹配 DSH 的中文和 English 语言选项,切换语言即时更新。

  • 主界面保留常用自动补齐开关,网关与检查参数收进高级设置。
  • OpenCode 网关按 URL 主机名精确匹配,避免无关地址被误识别。
  • 统一扁平控件与主题样式,保留拒绝保存时的配置草稿。

兼容目标:DSH 0.2.0-rc.2,保留现有配置。

验证:完整测试、包内容检查及差异检查通过;五插件真实 Web UI 已覆盖配置保存、语言切换、重启持久化,以及浅色/深色和 390px 窄屏布局。模型调用和安装新插件未纳入本轮 Web UI 实测。

安装:

npm install dsh-reasoning-options@0.4.1

变更:PR #1

附件提供 npm 安装包及 SHA-256 校验文件。

dsh-reasoning-options v0.4.0

Choose a tag to compare

@Scorp1o117 Scorp1o117 released this 30 Sep 03:49

配置入口统一到首页侧边栏「插件 → 已安装 → dsh-reasoning-options」,使用 DSH 官方插件详情页接口。

  • 新增独立配置页:自动推理档位、自动会话 Header、会话标识与轮询间隔。
  • 使用带 revision 的原子配置写入;拒绝写入时保留草稿并提示错误。

要求 DSH >=0.2.0-rc.2 <0.3.0;已在 DSH 0.2.0-rc.2 的 Web 与桌面 Profile 验证。现有配置无需迁移。

验证:自动化测试通过,插件详情页在 Web 正常打开;两端 Host 与前端资源检查通过。

v0.3.1 — DSH desktop compatibility

Choose a tag to compare

@Scorp1o117 Scorp1o117 released this 29 Sep 13:08

Support DeepSeek Harness 0.2.0-rc.2 and its desktop profile while retaining Web 0.1.7-rc.2 compatibility.

  • Extend the verified release/profile and peer-dependency declarations for the desktop runtime.
  • Document desktop-profile installation.
  • Verify 9 package tests and install all five plugins into an isolated 0.2.0-rc.2 profile; the Web host started and returned authenticated HTTP 200.

Install: dsh plugin --profile desktop add dsh-reasoning-options@0.3.1

v0.3.0 — reasoning levels now appear without a restart

Choose a tag to compare

@Scorp1o117 Scorp1o117 released this 25 Sep 16:12

What was broken

On DSH 0.1.7-rc.2, a model added to a llm-pi-ai gateway got no reasoning-effort picker, even though this plugin's scan found it and tried to declare it. Two separate causes:

  1. Writes from the settings event were refused. dsh emits settings/document-updated from inside the hot-reload transaction that is applying the change, and a settings write issued there is rejected outright: HMR transactions cannot be nested. Deferring does not help — async context follows the call site, so a timer or microtask inherits the same transaction.
  2. A hand-edited cordis.patch.yml was never noticed. dsh reads the patch document from disk but has no watcher for it, and the plugin only scanned at boot (10 retries over ~27s), so models added by hand stayed unpatched until a restart.

Fixes

  • Triggers now only flag the namespace; the write runs from a schedule created at plugin activation, i.e. from a clean async context.
  • Passes are serialized, so a boot retry, an event echo and a poll can no longer contend for the settings file lock (atomic-write: timed out waiting for the writer lock).
  • Periodic fallback rescan every pollIntervalMs (default 30000, 0 disables) — hand-edit the patch file and the declaration appears within one interval, no restart.
  • Every write carries the revision it was planned from; if the namespace moved underneath the pass, it is re-read and re-planned instead of overwriting the concurrent editor (models arrays are restated wholesale, so a blind write would drop their entries).
  • Docs: settings.yaml no longer exists on DSH ≥ 0.1.7-rc.2; reads and writes are the llm-pi-ai row of cordis.patch.yml.

Verified

Against a real dsh web instance in a throwaway DSH_HOME: boot scan completes the declarations, a model hand-added to the patch file is picked up on the next poll without a restart, and a Web UI save that races the pass retries on SETTINGS_CONFLICT and lands. 13 unit tests (npm test), including an AsyncLocalStorage test that pins the transaction-escape property.

dsh plugin --profile web add dsh-reasoning-options