Payel-git-ol/use-opencode-local-provider0

use-opencode-local-provider

Use the opencode local server (OpenCode Zen client channel) as a provider in dsh

包名
use-opencode-local-provider
版本
0.1.0
许可证
MIT
最近更新
2026年8月19日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Payel-git-ol/use-opencode-local-provider

Configuration

keydefaultdescription
opencodeBinopencodepath to the opencode binary
serverHost127.0.0.1host of the opencode serve instance
serverPort17655port of the opencode serve instance
bridgeHost127.0.0.1bind host of the local OpenAI-compatible API
bridgePort17656port of the local OpenAI-compatible API
providerIdopencode-localroute name in the llm-pi-ai settings
providerNameOpenCode Localdisplay name in the dsh UI
apiKeyEnvOPENCODE_API_KEYenv var name dsh uses as the provider's key (the bridge ignores it; pi-ai still requires a credential)
modelsfull OpenCode Zen catalogmodel ids exposed to dsh
directoryprocess.cwd()working directory of opencode sessions
streamTimeoutMs180000max wait for a model response