edynasty/dsh-opencode-go-provider
DSH OpenCode Go provider plugin
dsh-opencode-go-provider adds a single opencode-go model route over the OpenCode Go gateway for DSH rc.6. The web profile's base bundle already declares opencode-go in its provider directory, so this bundle adopts that entry instead of re-registering it and takes over the route with its own richer stale-while-revalidate model catalog, Web Connect settings card and diagnostic commands — no need to disable llm-pi-ai. It registers one provider route (llm-opencode-go bundle row), one settings namespace (refresh interval, freshness window, network timeout, deprecated grace, credential ref), a Web Connect card (connect, test, run diagnostics, disconnect) injected via dsh.client.inject, and a standalone bin for status, doctor, migration-dry-run and migration-apply. The embedded catalog derives from OpenCode's models.dev metadata with only the opencode-go record retained; the adapter dispatches per model by protocol (openai-responses / openai-completions / anthropic-messages) with no model-name-prefix guessing. The API key is resolved only at operation time and is never written into settings, the catalog, logs, errors or the package.
Install
dsh plugin --profile web add github:edynasty/dsh-opencode-go-provider#d2a447610a5dff4006ac966525effd9669342a78GitHub commit-pinned install per README (EN primary): dsh plugin --profile web add github:edynasty/dsh-opencode-go-provider#d2a447610a5dff4006ac966525effd9669342a78. The package is not published to npm (README: a sole 0.1.0 was published then unpublished on 2026-08-14 — consistent with the live registry 404) and npm is not an installation path. lib/ is committed, so the Git install loads the bundle without a build step. Uninstall: dsh plugin --profile web remove dsh-opencode-go-provider. Requirements: DSH rc.6 (0.1.0-rc.6 peer graph), Node.js ^22.19.0 or >=24.0.0, corepack-managed pnpm 11.7.0, and an OpenCode Go API key resolved only through the DSH credentials service under ref OPENCODE_GO_API_KEY.
Compatibility
DeepSeek Harness 0.1.0-rc.6; Node ^22.19.0 / >=24; pnpm 11.7.0; OpenCode Go API key via credentials service (ref OPENCODE_GO_API_KEY); coexists with the @deepseek-ai/dsh-llm-pi-ai base bundle.
Details
- Repo: edynasty/dsh-opencode-go-provider
- Category: Coding & Development
- Stars: 1
- Version: git github:edynasty/dsh-opencode-go-provider#d2a4476
- Last push: 2026-08-26
- First seen: 2026-08-14
Recent updates
opencode-go provider route; SWR model catalog from models.dev metadata; Web Connect settings card; status/doctor/migration commands; credential ref only at operation time; no-build git install.
FAQ
- How is it installed?
- As a commit-pinned Git dependency into the DSH web profile — the package is not on npm (a sole 0.1.0 was published then unpublished); lib/ is committed so no build step runs.
- Does it conflict with the base web bundle?
- No — llm-pi-ai already declares opencode-go; this bundle adopts that route entry with its own adapter, catalog and Connect card. No profile changes or disabling are required.
- Where is the API key stored?
- Only in the DSH credentials service under the ref OPENCODE_GO_API_KEY, resolved at operation time — never written into settings, the catalog, logs, errors or the package.
Alternatives
Hu9956/dsh-codex-provider · Victor-770/dsh-commandcode-provider · LiangYin233/dsh-provider-model-configurator