Dreftian/Opencode-Connect ↗★ 0

dsh-plugin-opencode-connect

DeepSeek Harness adapter plugin for OpenCode Desktop and free models 适合已安装OpenCode Desktop并希望在Harness中调用其免费模型的用户。

패키지
dsh-plugin-opencode-connect
호환성
미검증
Cordis peer 범위
>=4.0.0
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 10. 18.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Dreftian/Opencode-Connect

⚙️ Configuration Options

Configuration can be specified in your Cordis / DeepSeek Harness configuration file (cordis.yml or plugin options):

dsh-plugin-opencode-connect:
  # Path to opencode or opencode-cli executable.
  # Leave empty ("") to auto-detect across standard installation paths.
  cliPath: ""

  # Background synchronization polling interval in milliseconds.
  # Default: 30000 (30 seconds)
  syncIntervalMs: 30000

  # Filter only free models provided by OpenCode Desktop.
  # Default: true
  onlyFreeModels: true

  # DeepSeek Harness LLM provider prefix ID.
  # Default: "opencode"
  providerPrefix: "opencode"

  # Human-readable provider display name.
  # Default: "OpenCode Desktop"
  providerDisplayName: "OpenCode Desktop"

  # Enable streaming of internal reasoning/thinking tokens.
  # Default: true
  enableThinking: true

  # Per-request execution timeout in milliseconds.
  # Default: 180000 (3 minutes)
  timeoutMs: 180000

  # Diagnostic log level ('debug' | 'info' | 'warn' | 'error').
  # Default: "info"
  logLevel: "info"