xiaobbl/dsh-opencode-go-model-list ↗★ 0
dsh-opencode-go-model-list
Serve the live opencode Go model catalog from the harness's own built-in opencode-go provider route. 适合使用OpenCode Go服务并需要自动更新模型列表的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xiaobbl/dsh-opencode-go-model-listドキュメント
README 全文を読む ↗Configuration (all optional)
- id: opencode-go-model-list
name: 'dsh-opencode-go-model-list'
config:
provider: opencode-go # the route to extend (the built-in one by default)
gatewayUrl: https://opencode.ai/zen/go/v1/models # what the plan serves
catalogUrl: https://models.dev/api.json # metadata; empty means gateway + siblings only
refreshIntervalMs: 21600000 # 6h; 0 fetches once per process start
timeoutMs: 15000
offline: false # cache only, no network
includeDeprecated: true
defaultApi: openai-completions
updateExisting: false # true rewrites shipped entries with live metadata
patchCollection: true # the live view that makes a refresh need no restart
cachePath: '' # default: $DSH_HOME/cache/opencode-go-model-list/catalog.json
extraModelIds: []
models: # per-model overrides, keyed by id
deepseek-v4.1-flash:
name: DeepSeek V4.1 Flash
contextWindow: 1000000
some-id:
skip: true
verbose: false