すべてのプラグイン

dsh-reasoning-options

dsh-reasoning-options · バージョン 0.5.0 · 2026/11/29 更新

設定、ステータスメッセージ、プラグイン一覧のメタデータは DSH の言語設定に従います。DSH 0.2.0-rc.2 では中国語と英語に対応します。言語パックのロケールはホストのフォールバック順に従います。言語は DSH 側でのみ選択でき、切り替えても未保存の設定は保持されます。

  • バージョンごとに審査
  • モデル接続
  • MIT
  • 0回ダウンロード

説明

以下はプラグイン作者による原文です。

dsh-reasoning-options

Adds seven explicit reasoning levels to custom pi-ai models while retaining DSH's native Default / Provider default choice. Default sends no reasoning effort; it does not turn thinking off at the provider.

Requires DSH 0.2.0-rc.2 or later 0.2.x, on Web and Desktop. Install with the Desktop-provided dsh command (Application → Manage dsh Command):

sole plugin --profile desktop add dsh-reasoning-options@0.5.0

Use --profile web for Web. Restart DSH after package changes. Open Plugins → Installed → dsh-reasoning-options to configure it.

Default and existing configurations

The plugin no longer inserts reasoning: high on provider routes. New routes without a configured effort show DSH's native Default choice alongside off, minimal, low, medium, high, xhigh and max. The literal string default is never sent to pi-ai or the provider.

For routes configured by an older plugin version, choose Default (omit reasoning effort) in this plugin's provider dropdown. This removes only that route's reasoning setting using a revision-checked unset. Existing configured route defaults are preserved until you change them. If a conversation has an explicit effort selected, select Default again in the conversation's model menu. Default omits effort; the provider may still think according to its own defaults.

Existing custom effort declarations and reasoningEfforts: false are retained. The plugin does not promise that every model supports every explicit level.

Other settings

  • enabled (true): add missing model declarations.
  • autoSessionHeader (true): add a missing x-opencode-session header for HTTP(S) opencode.ai and its subdomains.
  • sessionHeaderValue (dsh-session): header value; existing headers are preserved.
  • pollIntervalMs (30000): fallback rescan interval; 0 disables periodic rescans.

Writes use the public settings API, preserve namespace revisions, retry conflicts and run outside HMR transactions. Existing unrelated providers, models and headers are retained. Chinese and English follow the DSH language setting.

Validation

npm test covers declaration reconciliation, preserved route defaults, revision conflicts, HMR scheduling, configuration writes and localization.

バージョン履歴

  • 0.5.02026/11/29 · 19 KB