Payel-git-ol/use-opencode-local-provider ↗★ 0
use-opencode-local-provider
Use the opencode local server (OpenCode Zen client channel) as a provider in dsh
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Payel-git-ol/use-opencode-local-provider说明文档
阅读完整 README ↗Configuration
| key | default | description |
|---|---|---|
opencodeBin | opencode | path to the opencode binary |
serverHost | 127.0.0.1 | host of the opencode serve instance |
serverPort | 17655 | port of the opencode serve instance |
bridgeHost | 127.0.0.1 | bind host of the local OpenAI-compatible API |
bridgePort | 17656 | port of the local OpenAI-compatible API |
providerId | opencode-local | route name in the llm-pi-ai settings |
providerName | OpenCode Local | display name in the dsh UI |
apiKeyEnv | OPENCODE_API_KEY | env var name dsh uses as the provider's key (the bridge ignores it; pi-ai still requires a credential) |
models | full OpenCode Zen catalog | model ids exposed to dsh |
directory | process.cwd() | working directory of opencode sessions |
streamTimeoutMs | 180000 | max wait for a model response |