NOirBRight/dsh-llm-opencode-go ↗★ 4

dsh-llm-opencode-go

OpenCode Go models, mixed Completions/Responses/Messages chat, and subscription usage for DeepSeek Harness 适合需要在 DSH 中接入并管理 OpenCode Go 服务的用户。

패키지
dsh-llm-opencode-go
호환성
미검증
Harness peer 범위
>=0.1.7-alpha.2
Cordis peer 범위
>=4.0.4 <5.0.0
버전
0.1.33
라이선스
MIT
최근 업데이트
2026. 9. 25.

같은 패키지 이름의 다른 저장소

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:NOirBRight/dsh-llm-opencode-go

Web configuration

Open Settings → LLM Providers → OpenCode Go. Configuration is read through the alpha2 ConfigForm for Loader entry llm-opencode-go; before a revision-fenced mutation of the volatile baseURL and models fields, the authenticated Host route validates the URL and model catalog. Credential status and writes use the same authenticated plugin RPC; API keys are write-only and never echoed or logged.

The card saves the public base URL and model catalog together with one revision-fenced ConfigForm.mutate. Fetch available models opens the picker immediately. The Host reads GET /zen/go/v1/models (OpenAI-shaped ids only) and fills name, context, vision, thinking, and protocol from a local snapshot, then from a live models.dev opencode-go overlay so newly published ids such as omen-alpha are not blank after Fetch.

When a key is stored, the card loads account quota while collapsed (and again on Fetch/Refresh). The Host reads GET <baseURL>/usage; remaining 5-hour, weekly, and monthly windows paint from a local cache on first open, then refresh in the background. The credential never crosses to the browser.

The model catalog starts collapsed and lists one row per model: a drag handle reorders rows (the order persists with the catalog), the chevron opens that row's context and capability flags, and the trash button removes it.

Plugin configuration

OpenCode Go Plugin card: API key, usage, and model catalog

The Models page lists saved opencode-go models and can select them. Current Harness releases do not expose a third-party editor slot inside that page, so this package owns its editor under LLM Providers.

Plugin configuration

OpenCode Go Plugin card: API key, usage, and model catalog

The Models page lists saved opencode-go models and can select them. Current Harness releases do not expose a third-party editor slot inside that page, so this package owns its editor under LLM Providers.