dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
DeepSeek Harness provider for a copilot-api gateway
DeepSeek Harness provider for a copilot-api gateway. Tested with Harness 0.2.1-rc.2.
dsh plugin --profile web add dsh-copilot-api
Restart Harness after the first install. The package inserts entry copilot-api-provider. No profile configuration is required.
Defaults:
baseURL: http://localhost:4141 (with or without /v1)protocol: openai-responsesGITHUB_COPILOT_API_KEYSave the key in the Models card with Save API key, in Harness credentials, or in the launch environment of that name. Configuration stores the reference name, not the key.
Use anthropic-messages as protocol for Messages.
Override the inserted entry only when a default is wrong. Keep the id copilot-api-provider, and restate every connection field you still need:
- id: copilot-api-provider
config:
baseURL: http://localhost:4141
apiKey: GITHUB_COPILOT_API_KEY
protocol: openai-responses
modelRefreshInterval: 120000
apiKey is a credential reference. apiKeyEnv is the same kind of name; when both are set, they must match. headers can be set to custom request headers. modelRefreshInterval is in milliseconds and defaults to 120000 (automatic refresh every 2 minutes); set it to 0 to disable periodic refresh.
cd /absolute/path/dsh-copilot-api
bun install
bun run build
dsh plugin --profile web add /absolute/path/dsh-copilot-api
Model mapping and overrides: docs/models.md. Headers and sessions: docs/headers.md. Development: docs/development.md.