dsh-opencode-go-session: Injecting a Session-Stable x-opencode-session Header for OpenCode Inference Requests

OpenCode Console requires clients to carry a stable session ID in the `x-opencode-session` header for routing and prompt cache affinity. This DSH plugin listens on the `llm-pi-ai/request-headers` hook and writes the corresponding DSH session ID for each inference request into that header. By default, it applies only to `*.opencode.ai` routes, but can be configured to cover all pi-ai routes. Once enabled, no standalone UI is required; injection statistics can be viewed via the Host endpoint `/plugins/opencode-go-session/api/status`. Harness must support `llm-pi-ai/request-headers` (verified in the README at version 0.2.2-rc.3), and this plugin only covers the `dsh-llm-pi-ai` adapter path.

Read More
dsh-model-reasoning-effort: Restoring reasoning effort editing for custom pi-ai models

The official DSH "Models" settings page does not provide editing for `reasoningEfforts`, although the pi-ai adapter itself supports this field. The `dsh-model-reasoning-effort` plugin (MIT, v0.1.0) maintained by pwkazn adds a "Reasoning Effort (Custom Models)" panel at the bottom of the Settings → Models page. This is implemented by registering the `settings.models.footer` slot and does not interfere with the `provider-card` key. It supports a three-state toggle per model (Inherit / No Reasoning / Declared Effort), separating the effort level from the value sent, and allows for batch writing of all models belonging to the same provider. It adheres to adapter validation rules before writing. The write operation uses `settings.mutate` to replace the entire `models` array and includes a `revision` to prevent concurrency issues. The declaration is an assertion rather than a probe; effort levels not supported by the gateway will fail at runtime. The panel only edits the user-level `llm-pi-ai.providers.<route>.models` and does not affect the DeepSeek direct adapter. Installation command: `dsh plugin --profile web add git+https://github.com/pwkazn/dsh-model-reasoning-effort.git`

Read More
dsh-pi-ai-sync: Syncs model catalog from pi.dev, eliminating the need to manually edit node_modules

dsh-pi-ai-sync is a DSH Cordis networking plugin maintained by jiaruihuang. It fetches catalog-shaped data from pi.dev based on routing, supplementing the missing model records within the @earendil-works/pi-ai package and processing models for llm-pi-ai.providers according to settingsMode. Integrating concepts from dsh-model-sync and dsh-opencode-go-models, it addresses the rejection issue caused by missing catalogs under hybrid protocol routing. This allows new models to appear in the selector without manual modifications to node_modules; a restart of dsh is required after catalog changes. The article covers installation commands, pnpm allowBuilds, settings.yaml configuration options, and proxy startup methods.

Read More
dsh-model-refresh: Discovering and Managing Model Catalog from pi-ai Upstream

dsh-model-refresh (v0.7.2) is a DSH model inference plugin maintained by KouzakiUmi. It uses the latest pi-ai from npm as the primary source to fill in missing entries in the model catalog. It supports pending confirmation, per-provider enable/disable switches, optional safe writing and rollback of the catalog, and manual addition/removal of models via configEditor. By default it does not write to the installation directory; the consuming process must be restarted after data is written to disk. Based on the repository README, this article covers installation and integration, configuration and environment variables, and the typical usage workflow.

Read More
dsh-bundle-pi-ai-auth: DeepSeek Harness pi-ai OAuth Control and Fallback

The `dsh-bundle-pi-ai-auth` plugin provides an OAuth authentication management interface for pi-ai models in DeepSeek Harness (DSH). It supports provider activation, login (browser-based authorization), and logout (local credential cleanup) through the Provider-card control in the Web UI and command-line tools. This plugin depends on DSH version 0.1.x and related components. It serves solely as an interaction layer and does not handle low-level protocols or token refresh. After installation, the provider must be manually added in Settings before it can be used.

Read More