Introduction

Under DSH’s plugin-based organization, an LLM provider can be loaded as a bundle into a specific profile. For scenarios where opencode-go model routing is needed in the DSH web profile, dsh-opencode-go-provider provides a provider bundle wrapping the OpenCode Go gateway.

The following introduces its positioning, runtime requirements, installation methods, and usage with provided examples.

What is this

dsh-opencode-go-provider is an LLM provider plugin maintained by edynasty under the MIT license. It targets DeepSeek Harness (DSH) rc.6, provides a single opencode-go model route, and includes a Web Connect settings card, a stale-while-revalidate model directory, and security diagnostic commands.

A special note: this plugin is community software and has not been published to npm; the npm registry is not an installation path. The supported installation method is adding a commit-pinned Git dependency to the DSH profile.

It also states that it has no affiliation, endorsement, or sponsorship with DeepSeek, OpenCode, or any model service providers.

Runtime Requirements

Before using this plugin, you need to confirm the following environment:

  • DSH rc.6
  • Node.js ^22.19.0 || >=24.0.0
  • pnpm 11.7.0 managed by corepack
  • An OpenCode Go API key

The credential reference is named:

OPENCODE_GO_API_KEY

According to verified documentation, this API key is stored and parsed only through the DSH credentials service; it will not be written to settings, model directory, logs, error messages, or package contents.

Core Capabilities

This plugin mainly provides the following capabilities:

  • A provider route: opencode-go, for the OpenCode Go gateway.
  • A Web Connect settings card: allows connecting, testing the connection, running diagnostics, and disconnecting.
  • A stale-while-revalidate model directory: includes embedded catalog, background refresh, offline fallback, and quarantine.
  • Security diagnostic commands: status, doctor, migration-dry-run, migration-apply.
  • Credential handling: OPENCODE_GO_API_KEY is processed only through the DSH credentials service.

Installation and Activation

The installation command adds this repository to the DSH web profile as a pinned commit:

dsh plugin --profile web add github:edynasty/dsh-opencode-go-provider#d2a447610a5dff4006ac966525effd9669342a78

If removal is needed later, you can use the following uninstall command:

dsh plugin --profile web remove dsh-opencode-go-provider

Typical Usage

On the Web side, you can directly use the Connect settings card to complete connection, test connection, diagnostics, and disconnect operations.

connect and disconnect are Host-only operations; standalone bin executables will reject executing them because the DSH credential store is managed by the running Host.

If opencode-go routing was manually maintained in the old configuration, you can perform a migration check first, then execute the migration. The following command example operates on a settings.yaml:

dsh plugin --profile web exec dsh-opencode-go-provider migration-dry-run <settings.yaml>

After checking, you can apply the migration:

dsh plugin --profile web exec dsh-opencode-go-provider migration-apply --revision <64-hex> <settings.yaml>

You can also call the plugin entry directly:

dsh plugin --profile web exec dsh-opencode-go-provider

If performing local checks from the source repository, you can execute according to the local gate provided by the repository:

corepack enable
pnpm install --frozen-lockfile
pnpm run check

Use Cases and Notes

This plugin is suitable for scenarios in the DSH web profile that require opencode-go provider routing, Web Connect settings cards, and model directory management.

It is not suitable for installation as an npm package, and it is not recommended to use it directly as a regular Node.js dependency by bypassing the DSH profile.

Before installation, you should confirm that the DSH version, Node.js version, pnpm version, and OpenCode Go API key all meet the requirements. Since the plugin runs with the current dsh process permissions and involves provider configuration, credential references, and diagnostic commands, it is recommended to review the repository source code, license, dependencies, and diagnostic behavior before installation; before adopting it, you should confirm its MIT license terms.

Links

GitHub Repository:

https://github.com/edynasty/dsh-opencode-go-provider

The verified documentation for this session does not provide a separate community directory page URL, so the directory page link is not listed here.