bailynlove/web-search-opencode-responses ↗★ 1

web-search-opencode-responses

dsh WebSearchProvider over the OpenCode Zen Go Responses API server-side web_search tool 适合想换用该搜索后端的用户,需配置密钥与设置文档

パッケージ
web-search-opencode-responses
互換性
未検証
バージョン
0.1.0
最終更新
2026/08/21

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bailynlove/web-search-opencode-responses

ドキュメント

README 全文を読む ↗

Configuration

The plugin registers a settings section (web-search-opencode-responses) on the Host. Note: the dsh web Plugin configuration tab only shows cards for the provider namespaces the web client ships (DeepSeek, Shell, Agent loop) — a third-party namespace like this one has no client card yet, so configure it through the settings document instead:

  • key — visual: dsh web Settings → Models, write the OPENCODE_GO_API_KEY credential (stored in ~/.dsh/.credentials.yaml).

  • endpoint / model / key reference — edit the settings document ~/.dsh/settings.yaml, opened in the web UI by the Open configuration file button:

    web-search-opencode-responses:
      baseURL: https://opencode.ai/zen/go/v1   # optional; /responses is appended
      model: deepseek-v4-flash                  # optional; server-side search model
      apiKeyEnv: OPENCODE_GO_API_KEY            # optional; credential reference
      apiKey: ""                                # optional; literal key over the ref
    

    The file hot-reloads, so a change applies on the next search; the provider reads the section per search, no restart needed.

Equivalent static values can be authored in the plugin's cordis.patch.yml entry (the composition base); the settings document overrides it. See the Configuration field table below:

fielddefaultmeaning
apiKey–literal key; prefer the credential store
apiKeyEnvOPENCODE_GO_API_KEYcredential reference resolved per search
baseURLhttps://opencode.ai/zen/go/v1gateway endpoint; /responses appended
modeldeepseek-v4-flashResponses model with server-side search

The key resolves through dsh's credentials service first (the web Models page writes ~/.dsh/.credentials.yaml), then the launching environment; a stored secret never leaves the machine — the wire surface redacts it.